@serve.zone/interfaces 1.0.61 → 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.61',
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> {
@@ -35,10 +34,9 @@ export interface IRequest_PushImageVersion extends plugins.typedrequestInterface
35
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
  }
@@ -46,8 +44,8 @@ export interface IRequest_PullImageVersion extends plugins.typedrequestInterface
46
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.61",
3
+ "version": "1.0.62",
4
4
  "private": false,
5
5
  "description": "interfaces for working with containers",
6
6
  "main": "dist_ts/index.js",
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '1.0.61',
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;
@@ -52,10 +52,9 @@ export interface IRequest_PushImageVersion extends plugins.typedrequestInterface
52
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
  };
@@ -68,8 +67,8 @@ export interface IRequest_PullImageVersion extends plugins.typedrequestInterface
68
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;