interfaces/ts/requests/cluster.ts

28 lines
703 B
TypeScript
Raw Normal View History

2024-02-02 11:46:59 +00:00
import type { IClusterConfig } from '../data/cluster.js';
import * as plugins from '../plugins.js';
export interface IRequest_CreateCluster extends plugins.typedrequestInterfaces.implementsTR<
plugins.typedrequestInterfaces.ITypedRequest,
IRequest_CreateCluster
> {
method: 'createCluster';
request: {
clusterName: string;
};
response: {
clusterConfig: IClusterConfig;
};
}
export interface IRequest_UpdateCluster extends plugins.typedrequestInterfaces.implementsTR<
plugins.typedrequestInterfaces.ITypedRequest,
IRequest_UpdateCluster
> {
method: 'updateCluster';
request: {
clusterConfig: IClusterConfig;
};
response: {
clusterConfig: IClusterConfig;
};
}