@serve.zone/interfaces 1.0.27 → 1.0.30
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.
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/data/cloudlyconfig.d.ts +3 -3
- package/dist_ts/data/cluster.d.ts +2 -0
- package/dist_ts/data/cluster.js +2 -1
- package/dist_ts/data/server.d.ts +2 -6
- package/dist_ts/data/server.js +2 -1
- package/package.json +3 -3
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/data/cloudlyconfig.ts +3 -3
- package/ts/data/cluster.ts +4 -0
- package/ts/data/server.ts +3 -7
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@serve.zone/interfaces',
|
|
6
|
-
version: '1.0.
|
|
6
|
+
version: '1.0.30',
|
|
7
7
|
description: 'interfaces for working with containers'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHdDQUF3QztDQUN0RCxDQUFBIn0=
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
2
|
export interface ICloudlyConfig {
|
|
3
3
|
cfToken?: string;
|
|
4
|
-
|
|
4
|
+
hetznerToken?: string;
|
|
5
5
|
environment?: 'production' | 'integration';
|
|
6
|
-
gitlabUser?: string;
|
|
7
|
-
gitlabToken?: string;
|
|
8
6
|
letsEncryptEmail?: string;
|
|
9
7
|
letsEncryptPrivateKey?: string;
|
|
8
|
+
jwtKeypair?: plugins.tsclass.network.IJwtKeypair;
|
|
10
9
|
mongoDescriptor?: plugins.tsclass.database.IMongoDescriptor;
|
|
10
|
+
s3Descriptor?: plugins.tsclass.storage.IS3Descriptor;
|
|
11
11
|
publicUrl?: string;
|
|
12
12
|
publicPort?: string;
|
|
13
13
|
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 {
|
package/dist_ts/data/cluster.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
1
2
|
import {} from '../data/docker.js';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2x1c3Rlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2RhdGEvY2x1c3Rlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLGVBQWUsQ0FBQztBQUV6QyxPQUFPLEVBQXFELE1BQU0sbUJBQW1CLENBQUMifQ==
|
package/dist_ts/data/server.d.ts
CHANGED
|
@@ -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
|
}
|
package/dist_ts/data/server.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
1
2
|
import {} from './docker.js';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
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.
|
|
3
|
+
"version": "1.0.30",
|
|
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.
|
|
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.
|
|
20
|
+
"@tsclass/tsclass": "^4.0.51"
|
|
21
21
|
},
|
|
22
22
|
"browserslist": [
|
|
23
23
|
"last 1 chrome versions"
|
package/ts/00_commitinfo_data.ts
CHANGED
package/ts/data/cloudlyconfig.ts
CHANGED
|
@@ -2,13 +2,13 @@ import * as plugins from '../plugins.js';
|
|
|
2
2
|
|
|
3
3
|
export interface ICloudlyConfig {
|
|
4
4
|
cfToken?: string;
|
|
5
|
-
|
|
5
|
+
hetznerToken?: string;
|
|
6
6
|
environment?: 'production' | 'integration';
|
|
7
|
-
gitlabUser?: string;
|
|
8
|
-
gitlabToken?: string;
|
|
9
7
|
letsEncryptEmail?: string;
|
|
10
8
|
letsEncryptPrivateKey?: string;
|
|
9
|
+
jwtKeypair?: plugins.tsclass.network.IJwtKeypair;
|
|
11
10
|
mongoDescriptor?: plugins.tsclass.database.IMongoDescriptor;
|
|
11
|
+
s3Descriptor?: plugins.tsclass.storage.IS3Descriptor;
|
|
12
12
|
publicUrl?: string;
|
|
13
13
|
publicPort?: string;
|
|
14
14
|
sslMode?: 'none' | 'letsencrypt' | 'external';
|
package/ts/data/cluster.ts
CHANGED
|
@@ -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
|
}
|