@serve.zone/interfaces 1.0.59 → 1.0.62

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.
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '1.0.59',
6
+ version: '1.0.62',
7
7
  description: 'interfaces for working with containers'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHdDQUF3QztDQUN0RCxDQUFBIn0=
@@ -4,7 +4,7 @@ export interface IImage {
4
4
  name: string;
5
5
  description: string;
6
6
  versions: Array<{
7
- version: string;
7
+ versionString: string;
8
8
  storagePath?: string;
9
9
  size: number;
10
10
  createdAt: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
1
  import * as plugins from '../plugins.js';
3
2
  import type { IImage } from '../data/index.js';
4
3
  export interface IRequest_GetAllImages extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_GetAllImages> {
@@ -32,22 +31,21 @@ export interface IRequest_CreateImage extends plugins.typedrequestInterfaces.imp
32
31
  };
33
32
  }
34
33
  export interface IRequest_PushImageVersion extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_PushImageVersion> {
35
- method: 'pushImage';
34
+ method: 'pushImageVersion';
36
35
  request: {
37
36
  jwt: string;
38
- name: string;
39
- version: string;
40
- imageStream?: plugins.typedrequestInterfaces.IVirtualStream;
41
- chunk: Buffer;
37
+ imageId: string;
38
+ versionString: string;
39
+ imageStream: plugins.typedrequestInterfaces.IVirtualStream;
42
40
  };
43
41
  response: {};
44
42
  }
45
43
  export interface IRequest_PullImageVersion extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_PullImageVersion> {
46
- method: 'pullImage';
44
+ method: 'pullImageVersion';
47
45
  request: {
48
46
  jwt: string;
49
- name: string;
50
- version: string;
47
+ imageId: string;
48
+ versionString: string;
51
49
  };
52
50
  response: {
53
51
  imageStream: plugins.typedrequestInterfaces.IVirtualStream;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/interfaces",
3
- "version": "1.0.59",
3
+ "version": "1.0.62",
4
4
  "private": false,
5
5
  "description": "interfaces for working with containers",
6
6
  "main": "dist_ts/index.js",
@@ -12,7 +12,7 @@
12
12
  "@git.zone/tsbundle": "^2.0.8",
13
13
  "@git.zone/tstest": "^1.0.90",
14
14
  "@push.rocks/tapbundle": "^5.0.23",
15
- "@types/node": "^20.12.12"
15
+ "@types/node": "^20.12.14"
16
16
  },
17
17
  "dependencies": {
18
18
  "@api.global/typedrequest-interfaces": "^3.0.19",
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '1.0.59',
6
+ version: '1.0.62',
7
7
  description: 'interfaces for working with containers'
8
8
  }
package/ts/data/image.ts CHANGED
@@ -6,7 +6,7 @@ export interface IImage {
6
6
  name: string;
7
7
  description: string;
8
8
  versions: Array<{
9
- version: string;
9
+ versionString: string;
10
10
  storagePath?: string;
11
11
  size: number;
12
12
  createdAt: number;
@@ -49,13 +49,12 @@ export interface IRequest_PushImageVersion extends plugins.typedrequestInterface
49
49
  plugins.typedrequestInterfaces.ITypedRequest,
50
50
  IRequest_PushImageVersion
51
51
  > {
52
- method: 'pushImage';
52
+ method: 'pushImageVersion';
53
53
  request: {
54
54
  jwt: string;
55
- name: string;
56
- version: string;
57
- imageStream?: plugins.typedrequestInterfaces.IVirtualStream;
58
- chunk: Buffer;
55
+ imageId: string;
56
+ versionString: string;
57
+ imageStream: plugins.typedrequestInterfaces.IVirtualStream;
59
58
  };
60
59
  response: {
61
60
  };
@@ -65,11 +64,11 @@ export interface IRequest_PullImageVersion extends plugins.typedrequestInterface
65
64
  plugins.typedrequestInterfaces.ITypedRequest,
66
65
  IRequest_PullImageVersion
67
66
  > {
68
- method: 'pullImage';
67
+ method: 'pullImageVersion';
69
68
  request: {
70
69
  jwt: string;
71
- name: string;
72
- version: string;
70
+ imageId: string;
71
+ versionString: string;
73
72
  };
74
73
  response: {
75
74
  imageStream: plugins.typedrequestInterfaces.IVirtualStream;