@serve.zone/interfaces 1.0.27 → 1.0.29

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.27',
6
+ version: '1.0.29',
7
7
  description: 'interfaces for working with containers'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHdDQUF3QztDQUN0RCxDQUFBIn0=
@@ -1,13 +1,12 @@
1
1
  import * as plugins from '../plugins.js';
2
2
  export interface ICloudlyConfig {
3
3
  cfToken?: string;
4
- digitalOceanToken?: string;
4
+ hetznerToken?: string;
5
5
  environment?: 'production' | 'integration';
6
- gitlabUser?: string;
7
- gitlabToken?: string;
8
6
  letsEncryptEmail?: string;
9
7
  letsEncryptPrivateKey?: string;
10
8
  mongoDescriptor?: plugins.tsclass.database.IMongoDescriptor;
9
+ s3Descriptor?: plugins.tsclass.storage.IS3Descriptor;
11
10
  publicUrl?: string;
12
11
  publicPort?: string;
13
12
  sslMode?: 'none' | 'letsencrypt' | 'external';
@@ -1,3 +1,4 @@
1
+ import * as plugins from '../plugins.js';
1
2
  import { type IServiceRessources } from '../data/docker.js';
2
3
  import type { IServer } from './server.js';
3
4
  export interface IClusterIdentifier {
@@ -30,6 +31,7 @@ export interface ICluster {
30
31
  serverAddress: string;
31
32
  serverSecret: string;
32
33
  };
34
+ sshKeys: plugins.tsclass.network.ISshKey[];
33
35
  };
34
36
  }
35
37
  export interface IService {
@@ -1,2 +1,3 @@
1
+ import * as plugins from '../plugins.js';
1
2
  import {} from '../data/docker.js';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2x1c3Rlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2RhdGEvY2x1c3Rlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQXFELE1BQU0sbUJBQW1CLENBQUMifQ==
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2x1c3Rlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2RhdGEvY2x1c3Rlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLGVBQWUsQ0FBQztBQUV6QyxPQUFPLEVBQXFELE1BQU0sbUJBQW1CLENBQUMifQ==
@@ -1,3 +1,4 @@
1
+ import * as plugins from '../plugins.js';
1
2
  export interface IServerMetrics {
2
3
  serverId: string;
3
4
  cpuUsageInPercent: number;
@@ -20,10 +21,5 @@ export interface IServer {
20
21
  /**
21
22
  * a list of SSH keys to deploy
22
23
  */
23
- sshKeys: ISshKey[];
24
- }
25
- export interface ISshKey {
26
- keyName: string;
27
- public: string;
28
- private?: string;
24
+ sshKeys: plugins.tsclass.network.ISshKey[];
29
25
  }
@@ -1,2 +1,3 @@
1
+ import * as plugins from '../plugins.js';
1
2
  import {} from './docker.js';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvZGF0YS9zZXJ2ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUE0QixNQUFNLGFBQWEsQ0FBQyJ9
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvZGF0YS9zZXJ2ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE9BQU8sTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUE0QixNQUFNLGFBQWEsQ0FBQyJ9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/interfaces",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "private": false,
5
5
  "description": "interfaces for working with containers",
6
6
  "main": "dist_ts/index.js",
@@ -12,12 +12,12 @@
12
12
  "@git.zone/tsbundle": "^2.0.8",
13
13
  "@git.zone/tstest": "^1.0.77",
14
14
  "@push.rocks/tapbundle": "^5.0.8",
15
- "@types/node": "^20.11.16"
15
+ "@types/node": "^20.11.17"
16
16
  },
17
17
  "dependencies": {
18
18
  "@apiglobal/typedrequest-interfaces": "^2.0.1",
19
19
  "@push.rocks/smartlog-interfaces": "^3.0.0",
20
- "@tsclass/tsclass": "^4.0.46"
20
+ "@tsclass/tsclass": "^4.0.50"
21
21
  },
22
22
  "browserslist": [
23
23
  "last 1 chrome versions"
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '1.0.27',
6
+ version: '1.0.29',
7
7
  description: 'interfaces for working with containers'
8
8
  }
@@ -2,13 +2,12 @@ import * as plugins from '../plugins.js';
2
2
 
3
3
  export interface ICloudlyConfig {
4
4
  cfToken?: string;
5
- digitalOceanToken?: string;
5
+ hetznerToken?: string;
6
6
  environment?: 'production' | 'integration';
7
- gitlabUser?: string;
8
- gitlabToken?: string;
9
7
  letsEncryptEmail?: string;
10
8
  letsEncryptPrivateKey?: string;
11
9
  mongoDescriptor?: plugins.tsclass.database.IMongoDescriptor;
10
+ s3Descriptor?: plugins.tsclass.storage.IS3Descriptor;
12
11
  publicUrl?: string;
13
12
  publicPort?: string;
14
13
  sslMode?: 'none' | 'letsencrypt' | 'external';
@@ -1,3 +1,5 @@
1
+ import * as plugins from '../plugins.js';
2
+
1
3
  import { type IDockerRegistryInfo, type IServiceRessources } from '../data/docker.js';
2
4
  import type { IServer } from './server.js';
3
5
 
@@ -36,6 +38,8 @@ export interface ICluster {
36
38
  serverAddress: string;
37
39
  serverSecret: string;
38
40
  };
41
+
42
+ sshKeys: plugins.tsclass.network.ISshKey[];
39
43
  };
40
44
  }
41
45
 
package/ts/data/server.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import * as plugins from '../plugins.js';
2
+
1
3
  import { type IDockerRegistryInfo } from './docker.js';
2
4
 
3
5
  export interface IServerMetrics {
@@ -25,11 +27,5 @@ export interface IServer {
25
27
  /**
26
28
  * a list of SSH keys to deploy
27
29
  */
28
- sshKeys: ISshKey[];
29
- }
30
-
31
- export interface ISshKey {
32
- keyName: string;
33
- public: string;
34
- private?: string;
30
+ sshKeys: plugins.tsclass.network.ISshKey[];
35
31
  }