@serve.zone/interfaces 1.0.37 → 1.0.41

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.37',
6
+ version: '1.0.41',
7
7
  description: 'interfaces for working with containers'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHdDQUF3QztDQUN0RCxDQUFBIn0=
@@ -16,6 +16,7 @@ export interface IServer {
16
16
  id: string;
17
17
  data: {
18
18
  type: 'baremetal' | 'hetzner';
19
+ assignedClusterId: string;
19
20
  /**
20
21
  * a list of debian packages to be installed
21
22
  */
@@ -5,7 +5,8 @@ import type { IService } from '../data/service.js';
5
5
  export interface IRequest_Any_Cloudly_GetServerConfig extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_GetServerConfig> {
6
6
  method: 'getServerConfig';
7
7
  request: {
8
- clusterIdentifier: clusterInterfaces.IClusterIdentifier;
8
+ jwt: string;
9
+ serverId: string;
9
10
  };
10
11
  response: {
11
12
  configData: serverInterfaces.IServer;
@@ -14,6 +15,7 @@ export interface IRequest_Any_Cloudly_GetServerConfig extends plugins.typedreque
14
15
  export interface IRequest_Any_Cloudly_GetClusterConfig extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_GetClusterConfig> {
15
16
  method: 'getClusterConfig';
16
17
  request: {
18
+ jwt: string;
17
19
  clusterIdentifier: clusterInterfaces.IClusterIdentifier;
18
20
  };
19
21
  response: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/interfaces",
3
- "version": "1.0.37",
3
+ "version": "1.0.41",
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.37',
6
+ version: '1.0.41',
7
7
  description: 'interfaces for working with containers'
8
8
  }
package/ts/data/server.ts CHANGED
@@ -21,6 +21,8 @@ export interface IServer {
21
21
  data: {
22
22
  type: 'baremetal' | 'hetzner';
23
23
 
24
+ assignedClusterId: string;
25
+
24
26
  /**
25
27
  * a list of debian packages to be installed
26
28
  */
@@ -10,7 +10,8 @@ extends plugins.typedrequestInterfaces.implementsTR<
10
10
  > {
11
11
  method: 'getServerConfig';
12
12
  request: {
13
- clusterIdentifier: clusterInterfaces.IClusterIdentifier;
13
+ jwt: string;
14
+ serverId: string;
14
15
  };
15
16
  response: {
16
17
  configData: serverInterfaces.IServer;
@@ -24,6 +25,7 @@ extends plugins.typedrequestInterfaces.implementsTR<
24
25
  > {
25
26
  method: 'getClusterConfig';
26
27
  request: {
28
+ jwt: string;
27
29
  clusterIdentifier: clusterInterfaces.IClusterIdentifier;
28
30
  };
29
31
  response: {