fix(core): update
This commit is contained in:
parent
8f245af9c4
commit
fb80aee1eb
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@serve.zone/interfaces',
|
name: '@serve.zone/interfaces',
|
||||||
version: '1.0.70',
|
version: '1.0.71',
|
||||||
description: 'interfaces for working with containers'
|
description: 'interfaces for working with containers'
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
import type { IServiceRessources } from "./docker.js";
|
import type { IServiceRessources } from './docker.js';
|
||||||
|
|
||||||
export interface IService {
|
export interface IService {
|
||||||
|
id: string;
|
||||||
|
data: {
|
||||||
name: string;
|
name: string;
|
||||||
imageId: string;
|
|
||||||
environment: { [key: string]: string };
|
environment: { [key: string]: string };
|
||||||
secretBundleId: string;
|
secretBundleId: string;
|
||||||
scaleFactor: number;
|
scaleFactor: number;
|
||||||
@ -15,4 +16,5 @@ export interface IService {
|
|||||||
domains: string[];
|
domains: string[];
|
||||||
deploymentIds: string[];
|
deploymentIds: string[];
|
||||||
deploymentDirectiveIds: string[];
|
deploymentDirectiveIds: string[];
|
||||||
|
};
|
||||||
}
|
}
|
@ -1,6 +1,9 @@
|
|||||||
import type { ICluster } from '../data/cluster.js';
|
import type { ICluster } from '../data/cluster.js';
|
||||||
import * as plugins from '../plugins.js';
|
import * as plugins from '../plugins.js';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* get all clusters
|
||||||
|
*/
|
||||||
export interface IRequest_GetAllClusters extends plugins.typedrequestInterfaces.implementsTR<
|
export interface IRequest_GetAllClusters extends plugins.typedrequestInterfaces.implementsTR<
|
||||||
plugins.typedrequestInterfaces.ITypedRequest,
|
plugins.typedrequestInterfaces.ITypedRequest,
|
||||||
IRequest_GetAllClusters
|
IRequest_GetAllClusters
|
||||||
@ -28,6 +31,9 @@ export interface IRequest_CreateCluster extends plugins.typedrequestInterfaces.i
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* updates a cluster
|
||||||
|
*/
|
||||||
export interface IRequest_UpdateCluster extends plugins.typedrequestInterfaces.implementsTR<
|
export interface IRequest_UpdateCluster extends plugins.typedrequestInterfaces.implementsTR<
|
||||||
plugins.typedrequestInterfaces.ITypedRequest,
|
plugins.typedrequestInterfaces.ITypedRequest,
|
||||||
IRequest_UpdateCluster
|
IRequest_UpdateCluster
|
||||||
@ -42,7 +48,9 @@ export interface IRequest_UpdateCluster extends plugins.typedrequestInterfaces.i
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// delete cluster
|
/**
|
||||||
|
* deletes a cluster
|
||||||
|
*/
|
||||||
export interface IRequest_DeleteCluster extends plugins.typedrequestInterfaces.implementsTR<
|
export interface IRequest_DeleteCluster extends plugins.typedrequestInterfaces.implementsTR<
|
||||||
plugins.typedrequestInterfaces.ITypedRequest,
|
plugins.typedrequestInterfaces.ITypedRequest,
|
||||||
IRequest_DeleteCluster
|
IRequest_DeleteCluster
|
||||||
|
Loading…
Reference in New Issue
Block a user