@serve.zone/interfaces 1.0.52 → 1.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/data/cluster.d.ts +2 -1
- package/dist_ts/data/deployment.d.ts +4 -0
- package/dist_ts/data/image.d.ts +2 -0
- package/dist_ts/requests/image.d.ts +10 -0
- package/dist_ts/requests/version.d.ts +0 -17
- package/package.json +1 -1
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/data/cluster.ts +2 -1
- package/ts/data/deployment.ts +4 -0
- package/ts/data/image.ts +2 -0
- package/ts/requests/image.ts +14 -0
- package/ts/requests/version.ts +0 -21
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@serve.zone/interfaces',
|
|
6
|
-
version: '1.0.
|
|
6
|
+
version: '1.0.55',
|
|
7
7
|
description: 'interfaces for working with containers'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHdDQUF3QztDQUN0RCxDQUFBIn0=
|
package/dist_ts/data/image.d.ts
CHANGED
|
@@ -10,6 +10,16 @@ export interface IRequest_GetAllImages extends plugins.typedrequestInterfaces.im
|
|
|
10
10
|
images: IImage[];
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
+
export interface IRequest_GetImageMetadata extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_GetImageMetadata> {
|
|
14
|
+
method: 'getImageMetadata';
|
|
15
|
+
request: {
|
|
16
|
+
jwt: string;
|
|
17
|
+
imageId: string;
|
|
18
|
+
};
|
|
19
|
+
response: {
|
|
20
|
+
image: IImage;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
13
23
|
export interface IRequest_CreateImage extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_CreateImage> {
|
|
14
24
|
method: 'createImage';
|
|
15
25
|
request: {
|
|
@@ -4,20 +4,3 @@ export interface IRequest_Any_Cloudly_VersionManager_InformCloudlyAboutNewContai
|
|
|
4
4
|
request: versionInterfaces.IContainerVersionData;
|
|
5
5
|
response: {};
|
|
6
6
|
}
|
|
7
|
-
export interface IRequest_Cloudly_Coreflow_VersionManager_InformCoreflowAboutNewContainerVersion {
|
|
8
|
-
method: 'informCoreflowAboutNewContainerVersion';
|
|
9
|
-
request: versionInterfaces.IContainerVersionData;
|
|
10
|
-
response: {};
|
|
11
|
-
}
|
|
12
|
-
export interface IRequest_Any_Cloudly_VersionManager_GetLatestContainerVersion {
|
|
13
|
-
method: 'getLatestContainerVersion';
|
|
14
|
-
request: {
|
|
15
|
-
dockerImageUrl: string;
|
|
16
|
-
};
|
|
17
|
-
response: versionInterfaces.IContainerVersionData;
|
|
18
|
-
}
|
|
19
|
-
export interface IRequest_Any_Cloudly_VersionManager_ListAllContainerVersions {
|
|
20
|
-
method: 'listAllContainerVersions';
|
|
21
|
-
request: {};
|
|
22
|
-
response: versionInterfaces.IContainerVersionData[];
|
|
23
|
-
}
|
package/package.json
CHANGED
package/ts/00_commitinfo_data.ts
CHANGED
package/ts/data/cluster.ts
CHANGED
|
@@ -4,8 +4,9 @@ import { type IDockerRegistryInfo } from '../data/docker.js';
|
|
|
4
4
|
import type { IServer } from './server.js';
|
|
5
5
|
|
|
6
6
|
export interface IClusterIdentifier {
|
|
7
|
+
clusterId: string;
|
|
7
8
|
clusterName: string;
|
|
8
|
-
|
|
9
|
+
jwt: string;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
export interface ICluster {
|
package/ts/data/deployment.ts
CHANGED
package/ts/data/image.ts
CHANGED
package/ts/requests/image.ts
CHANGED
|
@@ -15,6 +15,20 @@ export interface IRequest_GetAllImages extends plugins.typedrequestInterfaces.im
|
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
+
export interface IRequest_GetImageMetadata extends plugins.typedrequestInterfaces.implementsTR<
|
|
19
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
20
|
+
IRequest_GetImageMetadata
|
|
21
|
+
> {
|
|
22
|
+
method: 'getImageMetadata';
|
|
23
|
+
request: {
|
|
24
|
+
jwt: string;
|
|
25
|
+
imageId: string;
|
|
26
|
+
};
|
|
27
|
+
response: {
|
|
28
|
+
image: IImage;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
18
32
|
export interface IRequest_CreateImage extends plugins.typedrequestInterfaces.implementsTR<
|
|
19
33
|
plugins.typedrequestInterfaces.ITypedRequest,
|
|
20
34
|
IRequest_CreateImage
|
package/ts/requests/version.ts
CHANGED
|
@@ -6,24 +6,3 @@ export interface IRequest_Any_Cloudly_VersionManager_InformCloudlyAboutNewContai
|
|
|
6
6
|
request: versionInterfaces.IContainerVersionData;
|
|
7
7
|
response: {};
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
// Containers
|
|
11
|
-
export interface IRequest_Cloudly_Coreflow_VersionManager_InformCoreflowAboutNewContainerVersion {
|
|
12
|
-
method: 'informCoreflowAboutNewContainerVersion';
|
|
13
|
-
request: versionInterfaces.IContainerVersionData;
|
|
14
|
-
response: {};
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface IRequest_Any_Cloudly_VersionManager_GetLatestContainerVersion {
|
|
18
|
-
method: 'getLatestContainerVersion';
|
|
19
|
-
request: {
|
|
20
|
-
dockerImageUrl: string;
|
|
21
|
-
};
|
|
22
|
-
response: versionInterfaces.IContainerVersionData;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface IRequest_Any_Cloudly_VersionManager_ListAllContainerVersions {
|
|
26
|
-
method: 'listAllContainerVersions';
|
|
27
|
-
request: {};
|
|
28
|
-
response: versionInterfaces.IContainerVersionData[];
|
|
29
|
-
}
|