fix(core): update
This commit is contained in:
parent
39e5dbccbc
commit
1fe584bb96
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@serve.zone/interfaces',
|
name: '@serve.zone/interfaces',
|
||||||
version: '1.0.52',
|
version: '1.0.53',
|
||||||
description: 'interfaces for working with containers'
|
description: 'interfaces for working with containers'
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
import * as plugins from '../plugins.js';
|
import * as plugins from '../plugins.js';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* results from a DeploymentDirective
|
||||||
|
* tracks the status of a deployment
|
||||||
|
*/
|
||||||
export interface IDeployment {
|
export interface IDeployment {
|
||||||
id: string;
|
id: string;
|
||||||
deploymentDirectiveId: string;
|
deploymentDirectiveId: string;
|
||||||
|
@ -8,6 +8,8 @@ export interface IImage {
|
|||||||
versions: Array<{
|
versions: Array<{
|
||||||
version: string;
|
version: string;
|
||||||
storagePath?: 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<
|
export interface IRequest_CreateImage extends plugins.typedrequestInterfaces.implementsTR<
|
||||||
plugins.typedrequestInterfaces.ITypedRequest,
|
plugins.typedrequestInterfaces.ITypedRequest,
|
||||||
IRequest_CreateImage
|
IRequest_CreateImage
|
||||||
|
@ -6,24 +6,3 @@ export interface IRequest_Any_Cloudly_VersionManager_InformCloudlyAboutNewContai
|
|||||||
request: versionInterfaces.IContainerVersionData;
|
request: versionInterfaces.IContainerVersionData;
|
||||||
response: {};
|
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