@serve.zone/interfaces 1.1.0 → 1.1.2

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.1.0',
6
+ version: '1.1.2',
7
7
  description: 'interfaces for working with containers'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHdDQUF3QztDQUN0RCxDQUFBIn0=
@@ -2,14 +2,11 @@ import * as plugins from '../plugins.js';
2
2
  export interface IRequest_SendPushNotification extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_SendPushNotification> {
3
3
  method: 'sendPushNotification';
4
4
  request: {
5
- data: {
6
- deviceToken: string;
7
- message: string;
8
- };
5
+ deviceToken: string;
6
+ message: string;
9
7
  };
10
8
  response: {
11
- data: {
12
- success: boolean;
13
- };
9
+ ok: boolean;
10
+ status: string;
14
11
  };
15
12
  }
@@ -11,10 +11,10 @@ export interface IRequest_GetAllImages extends plugins.typedrequestInterfaces.im
11
11
  };
12
12
  }
13
13
  /**
14
- * get all kinds of image metadata
14
+ * gets a single image
15
15
  */
16
- export interface IRequest_GetImageMetadata extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_GetImageMetadata> {
17
- method: 'getImageMetadata';
16
+ export interface IRequest_GetImage extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_GetImage> {
17
+ method: 'getImage';
18
18
  request: {
19
19
  identity: userInterfaces.IIdentity;
20
20
  imageId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/interfaces",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
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.1.0',
6
+ version: '1.1.2',
7
7
  description: 'interfaces for working with containers'
8
8
  }
@@ -6,14 +6,11 @@ export interface IRequest_SendPushNotification extends plugins.typedrequestInter
6
6
  > {
7
7
  method: 'sendPushNotification';
8
8
  request: {
9
- data: {
10
- deviceToken: string;
11
- message: string;
12
- };
9
+ deviceToken: string;
10
+ message: string;
13
11
  }
14
12
  response: {
15
- data: {
16
- success: boolean;
17
- };
13
+ ok: boolean;
14
+ status: string;
18
15
  }
19
16
  }
@@ -17,13 +17,13 @@ export interface IRequest_GetAllImages extends plugins.typedrequestInterfaces.im
17
17
  }
18
18
 
19
19
  /**
20
- * get all kinds of image metadata
20
+ * gets a single image
21
21
  */
22
- export interface IRequest_GetImageMetadata extends plugins.typedrequestInterfaces.implementsTR<
22
+ export interface IRequest_GetImage extends plugins.typedrequestInterfaces.implementsTR<
23
23
  plugins.typedrequestInterfaces.ITypedRequest,
24
- IRequest_GetImageMetadata
24
+ IRequest_GetImage
25
25
  > {
26
- method: 'getImageMetadata';
26
+ method: 'getImage';
27
27
  request: {
28
28
  identity: userInterfaces.IIdentity;
29
29
  imageId: string;