fix(core): update
This commit is contained in:
parent
39e5dbccbc
commit
1fe584bb96
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@serve.zone/interfaces',
|
||||
version: '1.0.52',
|
||||
version: '1.0.53',
|
||||
description: 'interfaces for working with containers'
|
||||
}
|
||||
|
@ -1,5 +1,9 @@
|
||||
import * as plugins from '../plugins.js';
|
||||
|
||||
/**
|
||||
* results from a DeploymentDirective
|
||||
* tracks the status of a deployment
|
||||
*/
|
||||
export interface IDeployment {
|
||||
id: string;
|
||||
deploymentDirectiveId: string;
|
||||
|
@ -8,6 +8,8 @@ export interface IImage {
|
||||
versions: Array<{
|
||||
version: string;
|
||||
storagePath?: string;
|
||||
size: number;
|
||||
createdAt: number;
|
||||
}>;
|
||||
};
|
||||
}
|
||||
|
@ -15,6 +15,20 @@ export interface IRequest_GetAllImages extends plugins.typedrequestInterfaces.im
|
||||
};
|
||||
}
|
||||
|
||||
export interface IRequest_GetImageMetadata extends plugins.typedrequestInterfaces.implementsTR<
|
||||
plugins.typedrequestInterfaces.ITypedRequest,
|
||||
IRequest_GetImageMetadata
|
||||
> {
|
||||
method: 'getImageMetadata';
|
||||
request: {
|
||||
jwt: string;
|
||||
imageId: string;
|
||||
};
|
||||
response: {
|
||||
image: IImage;
|
||||
};
|
||||
}
|
||||
|
||||
export interface IRequest_CreateImage extends plugins.typedrequestInterfaces.implementsTR<
|
||||
plugins.typedrequestInterfaces.ITypedRequest,
|
||||
IRequest_CreateImage
|
||||
|
@ -6,24 +6,3 @@ export interface IRequest_Any_Cloudly_VersionManager_InformCloudlyAboutNewContai
|
||||
request: versionInterfaces.IContainerVersionData;
|
||||
response: {};
|
||||
}
|
||||
|
||||
// Containers
|
||||
export interface IRequest_Cloudly_Coreflow_VersionManager_InformCoreflowAboutNewContainerVersion {
|
||||
method: 'informCoreflowAboutNewContainerVersion';
|
||||
request: versionInterfaces.IContainerVersionData;
|
||||
response: {};
|
||||
}
|
||||
|
||||
export interface IRequest_Any_Cloudly_VersionManager_GetLatestContainerVersion {
|
||||
method: 'getLatestContainerVersion';
|
||||
request: {
|
||||
dockerImageUrl: string;
|
||||
};
|
||||
response: versionInterfaces.IContainerVersionData;
|
||||
}
|
||||
|
||||
export interface IRequest_Any_Cloudly_VersionManager_ListAllContainerVersions {
|
||||
method: 'listAllContainerVersions';
|
||||
request: {};
|
||||
response: versionInterfaces.IContainerVersionData[];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user