@serve.zone/interfaces 30.17.0 → 31.0.0
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/changelog.md +10 -0
- package/dist_ts/00_commitinfo_data.js +2 -2
- package/dist_ts/requests/config.d.ts +0 -11
- package/dist_ts/requests/config.js +1 -2
- package/dist_ts/requests/index.d.ts +1 -2
- package/dist_ts/requests/index.js +2 -3
- package/dist_ts/requests/status.d.ts +0 -10
- package/package.json +2 -2
- package/readme.md +0 -1
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/requests/config.ts +0 -16
- package/ts/requests/index.ts +0 -2
- package/ts/requests/status.ts +0 -15
- package/dist_ts/data/server.d.ts +0 -29
- package/dist_ts/data/server.js +0 -3
- package/dist_ts/requests/server.d.ts +0 -37
- package/dist_ts/requests/server.js +0 -2
- package/ts/data/server.ts +0 -36
- package/ts/requests/server.ts +0 -47
package/changelog.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-09-16 - 31.0.0
|
|
4
|
+
|
|
5
|
+
### Breaking Changes
|
|
6
|
+
|
|
7
|
+
- Coreflow retirement, step 1 (dead contracts): remove the TypedRequest contracts that were declared for the Coreflow server lifecycle but are not wired end to end anywhere in the workspace.
|
|
8
|
+
- Remove `requests.server` entirely (deleted `ts/requests/server.ts`): `IRequest_Any_Cloudly_ServerStatus` (method `getOrSendServerMetrics`) had zero references outside its own declaration, and `IRequest_TriggerServerAction` (method `triggerServerAction`) had only an unsubscribed handler in `@serve.zone/api` with no caller and no Cloudly route.
|
|
9
|
+
- Remove `IRequest_Any_Cloudly_GetServerConfig` (method `getServerConfig`) from `requests.config`: Cloudly never registered a handler for it, so every call threw.
|
|
10
|
+
- Remove `IRequest_Coreflow_Cloudly_CoreflowManagerStatusupdate` (method `cloudlyStatus`) from `requests.status`: zero references; reconciliation reporting is covered by `IRequest_Coreflow_Cloudly_ReportReconciliationStatus`.
|
|
11
|
+
- Remove `ts/data/server.ts` with `IServer` and `IServerMetrics`: both were only reachable from the removed request contracts and were never re-exported from `data/index.ts`.
|
|
12
|
+
|
|
3
13
|
## 2026-09-16 - 30.17.0
|
|
4
14
|
|
|
5
15
|
### Features
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@serve.zone/interfaces',
|
|
6
|
-
version: '
|
|
6
|
+
version: '31.0.0',
|
|
7
7
|
description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
|
|
8
8
|
};
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHVGQUF1RjtDQUNyRyxDQUFBIn0=
|
|
@@ -1,20 +1,9 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
2
|
import * as clusterInterfaces from '../data/cluster.js';
|
|
3
|
-
import * as serverInterfaces from '../data/server.js';
|
|
4
3
|
import * as userInterfaces from '../data/user.js';
|
|
5
4
|
import type { IService } from '../data/service.js';
|
|
6
5
|
import type { IPlatformBinding, IPlatformProviderConfig } from '../platform/types.js';
|
|
7
6
|
import type { ICorestoreCredentialPublicationGrantV1 } from '../runtime.corestore.js';
|
|
8
|
-
export interface IRequest_Any_Cloudly_GetServerConfig extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_GetServerConfig> {
|
|
9
|
-
method: 'getServerConfig';
|
|
10
|
-
request: {
|
|
11
|
-
identity: userInterfaces.IIdentity;
|
|
12
|
-
serverId: string;
|
|
13
|
-
};
|
|
14
|
-
response: {
|
|
15
|
-
configData: serverInterfaces.IServer;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
7
|
export interface IRequest_Any_Cloudly_GetClusterConfig extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_GetClusterConfig> {
|
|
19
8
|
method: 'getClusterConfig';
|
|
20
9
|
request: {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
2
|
import * as clusterInterfaces from '../data/cluster.js';
|
|
3
|
-
import * as serverInterfaces from '../data/server.js';
|
|
4
3
|
import * as userInterfaces from '../data/user.js';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvcmVxdWVzdHMvY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxPQUFPLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sS0FBSyxpQkFBaUIsTUFBTSxvQkFBb0IsQ0FBQztBQUN4RCxPQUFPLEtBQUssY0FBYyxNQUFNLGlCQUFpQixDQUFDIn0=
|
|
@@ -28,14 +28,13 @@ import * as platformRequests from './platform.js';
|
|
|
28
28
|
import * as routingRequests from './routing.js';
|
|
29
29
|
import * as runtimeSessionRequests from './runtimesession.js';
|
|
30
30
|
import * as secretRequests from './secret.js';
|
|
31
|
-
import * as serverRequests from './server.js';
|
|
32
31
|
import * as serviceRequests from './service.js';
|
|
33
32
|
import * as settingsRequests from './settings.js';
|
|
34
33
|
import * as statusRequests from './status.js';
|
|
35
34
|
import * as taskRequests from './task.js';
|
|
36
35
|
import * as versionRequests from './version.js';
|
|
37
36
|
import * as webPushRequests from './webpush.js';
|
|
38
|
-
export { adminRequests as admin, appStoreRequests as appstore, baremetalRequests as baremetal, baseOsRequests as baseos, backupRequests as backup, certificateRequests as certificate, clusterRequests as cluster, configRequests as config, coreMailRequests as coremail, coreMailAdminRequests as coremailAdmin, corestoreRequests as corestore, deploymentRequests as deployment, dnsRequests as dns, domainRequests as domain, externalRegistryRequests as externalRegistry, gatewayRequests as gateway, hostedAppRequests as hostedapp, identityRequests as identity, imageRequests as image, informRequests as inform, logRequests as log, mailRequests as mail, migrationRequests as migration, networkRequests as network, nodeRequests as node, palletRequests as pallet, platformRequests as platform, routingRequests as routing, runtimeSessionRequests as runtimesession, secretRequests as secret,
|
|
37
|
+
export { adminRequests as admin, appStoreRequests as appstore, baremetalRequests as baremetal, baseOsRequests as baseos, backupRequests as backup, certificateRequests as certificate, clusterRequests as cluster, configRequests as config, coreMailRequests as coremail, coreMailAdminRequests as coremailAdmin, corestoreRequests as corestore, deploymentRequests as deployment, dnsRequests as dns, domainRequests as domain, externalRegistryRequests as externalRegistry, gatewayRequests as gateway, hostedAppRequests as hostedapp, identityRequests as identity, imageRequests as image, informRequests as inform, logRequests as log, mailRequests as mail, migrationRequests as migration, networkRequests as network, nodeRequests as node, palletRequests as pallet, platformRequests as platform, routingRequests as routing, runtimeSessionRequests as runtimesession, secretRequests as secret, serviceRequests as service, settingsRequests as settings, statusRequests as status, taskRequests as task, versionRequests as version, webPushRequests as webpush, };
|
|
39
38
|
export * from './inform.js';
|
|
40
39
|
export * from './hostedapp.js';
|
|
41
40
|
export * from './mail.js';
|
|
@@ -29,16 +29,15 @@ import * as platformRequests from './platform.js';
|
|
|
29
29
|
import * as routingRequests from './routing.js';
|
|
30
30
|
import * as runtimeSessionRequests from './runtimesession.js';
|
|
31
31
|
import * as secretRequests from './secret.js';
|
|
32
|
-
import * as serverRequests from './server.js';
|
|
33
32
|
import * as serviceRequests from './service.js';
|
|
34
33
|
import * as settingsRequests from './settings.js';
|
|
35
34
|
import * as statusRequests from './status.js';
|
|
36
35
|
import * as taskRequests from './task.js';
|
|
37
36
|
import * as versionRequests from './version.js';
|
|
38
37
|
import * as webPushRequests from './webpush.js';
|
|
39
|
-
export { adminRequests as admin, appStoreRequests as appstore, baremetalRequests as baremetal, baseOsRequests as baseos, backupRequests as backup, certificateRequests as certificate, clusterRequests as cluster, configRequests as config, coreMailRequests as coremail, coreMailAdminRequests as coremailAdmin, corestoreRequests as corestore, deploymentRequests as deployment, dnsRequests as dns, domainRequests as domain, externalRegistryRequests as externalRegistry, gatewayRequests as gateway, hostedAppRequests as hostedapp, identityRequests as identity, imageRequests as image, informRequests as inform, logRequests as log, mailRequests as mail, migrationRequests as migration, networkRequests as network, nodeRequests as node, palletRequests as pallet, platformRequests as platform, routingRequests as routing, runtimeSessionRequests as runtimesession, secretRequests as secret,
|
|
38
|
+
export { adminRequests as admin, appStoreRequests as appstore, baremetalRequests as baremetal, baseOsRequests as baseos, backupRequests as backup, certificateRequests as certificate, clusterRequests as cluster, configRequests as config, coreMailRequests as coremail, coreMailAdminRequests as coremailAdmin, corestoreRequests as corestore, deploymentRequests as deployment, dnsRequests as dns, domainRequests as domain, externalRegistryRequests as externalRegistry, gatewayRequests as gateway, hostedAppRequests as hostedapp, identityRequests as identity, imageRequests as image, informRequests as inform, logRequests as log, mailRequests as mail, migrationRequests as migration, networkRequests as network, nodeRequests as node, palletRequests as pallet, platformRequests as platform, routingRequests as routing, runtimeSessionRequests as runtimesession, secretRequests as secret, serviceRequests as service, settingsRequests as settings, statusRequests as status, taskRequests as task, versionRequests as version, webPushRequests as webpush, };
|
|
40
39
|
export * from './inform.js';
|
|
41
40
|
export * from './hostedapp.js';
|
|
42
41
|
export * from './mail.js';
|
|
43
42
|
export * from './webpush.js';
|
|
44
|
-
//# sourceMappingUR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FDO0FBQy9CLGNBQWMsV0FBVyxDQUFDO0FBQzFCLGNBQWMsY0FBYyxDQUFDIn0=
|
|
@@ -8,16 +8,6 @@ type TReportReconciliationRolloutIdentity = {
|
|
|
8
8
|
rolloutId?: never;
|
|
9
9
|
rolloutGeneration?: never;
|
|
10
10
|
};
|
|
11
|
-
/**
|
|
12
|
-
* a status update dashboard
|
|
13
|
-
*/
|
|
14
|
-
export interface IRequest_Coreflow_Cloudly_CoreflowManagerStatusupdate extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Coreflow_Cloudly_CoreflowManagerStatusupdate> {
|
|
15
|
-
method: 'cloudlyStatus';
|
|
16
|
-
request: {
|
|
17
|
-
identity: userInterfaces.IIdentity;
|
|
18
|
-
};
|
|
19
|
-
response: {};
|
|
20
|
-
}
|
|
21
11
|
export interface IRequest_Coreflow_Cloudly_ReportReconciliationStatus extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Coreflow_Cloudly_ReportReconciliationStatus> {
|
|
22
12
|
method: 'reportReconciliationStatus';
|
|
23
13
|
request: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serve.zone/interfaces",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "31.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.",
|
|
6
6
|
"exports": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@git.zone/tsbuild": "^4.4.3",
|
|
31
31
|
"@git.zone/tsdoc": "^2.2.0",
|
|
32
32
|
"@git.zone/tsrun": "^2.0.6",
|
|
33
|
-
"@git.zone/tstest": "6.1.
|
|
33
|
+
"@git.zone/tstest": "6.1.1",
|
|
34
34
|
"@types/node": "26.5.0"
|
|
35
35
|
},
|
|
36
36
|
"files": [
|
package/readme.md
CHANGED
package/ts/00_commitinfo_data.ts
CHANGED
package/ts/requests/config.ts
CHANGED
|
@@ -1,26 +1,10 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
2
|
import * as clusterInterfaces from '../data/cluster.js';
|
|
3
|
-
import * as serverInterfaces from '../data/server.js';
|
|
4
3
|
import * as userInterfaces from '../data/user.js';
|
|
5
4
|
import type { IService } from '../data/service.js';
|
|
6
5
|
import type { IPlatformBinding, IPlatformProviderConfig } from '../platform/types.js';
|
|
7
6
|
import type { ICorestoreCredentialPublicationGrantV1 } from '../runtime.corestore.js';
|
|
8
7
|
|
|
9
|
-
export interface IRequest_Any_Cloudly_GetServerConfig
|
|
10
|
-
extends plugins.typedrequestInterfaces.implementsTR<
|
|
11
|
-
plugins.typedrequestInterfaces.ITypedRequest,
|
|
12
|
-
IRequest_Any_Cloudly_GetServerConfig
|
|
13
|
-
> {
|
|
14
|
-
method: 'getServerConfig';
|
|
15
|
-
request: {
|
|
16
|
-
identity: userInterfaces.IIdentity;
|
|
17
|
-
serverId: string;
|
|
18
|
-
};
|
|
19
|
-
response: {
|
|
20
|
-
configData: serverInterfaces.IServer;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
|
|
24
8
|
export interface IRequest_Any_Cloudly_GetClusterConfig
|
|
25
9
|
extends plugins.typedrequestInterfaces.implementsTR<
|
|
26
10
|
plugins.typedrequestInterfaces.ITypedRequest,
|
package/ts/requests/index.ts
CHANGED
|
@@ -30,7 +30,6 @@ import * as platformRequests from './platform.js';
|
|
|
30
30
|
import * as routingRequests from './routing.js';
|
|
31
31
|
import * as runtimeSessionRequests from './runtimesession.js';
|
|
32
32
|
import * as secretRequests from './secret.js';
|
|
33
|
-
import * as serverRequests from './server.js';
|
|
34
33
|
import * as serviceRequests from './service.js';
|
|
35
34
|
import * as settingsRequests from './settings.js';
|
|
36
35
|
import * as statusRequests from './status.js';
|
|
@@ -69,7 +68,6 @@ export {
|
|
|
69
68
|
routingRequests as routing,
|
|
70
69
|
runtimeSessionRequests as runtimesession,
|
|
71
70
|
secretRequests as secret,
|
|
72
|
-
serverRequests as server,
|
|
73
71
|
serviceRequests as service,
|
|
74
72
|
settingsRequests as settings,
|
|
75
73
|
statusRequests as status,
|
package/ts/requests/status.ts
CHANGED
|
@@ -12,21 +12,6 @@ type TReportReconciliationRolloutIdentity =
|
|
|
12
12
|
rolloutGeneration?: never;
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
-
/**
|
|
16
|
-
* a status update dashboard
|
|
17
|
-
*/
|
|
18
|
-
export interface IRequest_Coreflow_Cloudly_CoreflowManagerStatusupdate
|
|
19
|
-
extends plugins.typedrequestInterfaces.implementsTR<
|
|
20
|
-
plugins.typedrequestInterfaces.ITypedRequest,
|
|
21
|
-
IRequest_Coreflow_Cloudly_CoreflowManagerStatusupdate
|
|
22
|
-
> {
|
|
23
|
-
method: 'cloudlyStatus';
|
|
24
|
-
request: {
|
|
25
|
-
identity: userInterfaces.IIdentity;
|
|
26
|
-
};
|
|
27
|
-
response: {};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
15
|
export interface IRequest_Coreflow_Cloudly_ReportReconciliationStatus
|
|
31
16
|
extends plugins.typedrequestInterfaces.implementsTR<
|
|
32
17
|
plugins.typedrequestInterfaces.ITypedRequest,
|
package/dist_ts/data/server.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import * as plugins from '../plugins.js';
|
|
2
|
-
export interface IServerMetrics {
|
|
3
|
-
serverId: string;
|
|
4
|
-
cpuUsageInPercent: number;
|
|
5
|
-
memoryUsageinMB: number;
|
|
6
|
-
memoryAvailableInMB: number;
|
|
7
|
-
containerCount: number;
|
|
8
|
-
containerMetrics: Array<{
|
|
9
|
-
containerId: string;
|
|
10
|
-
containerName: string;
|
|
11
|
-
cpuUsageInPercent: number;
|
|
12
|
-
memoryUsageInMB: number;
|
|
13
|
-
}>;
|
|
14
|
-
}
|
|
15
|
-
export interface IServer {
|
|
16
|
-
id: string;
|
|
17
|
-
data: {
|
|
18
|
-
type: 'baremetal' | 'hetzner';
|
|
19
|
-
assignedClusterId: string;
|
|
20
|
-
/**
|
|
21
|
-
* a list of debian packages to be installed
|
|
22
|
-
*/
|
|
23
|
-
requiredDebianPackages: string[];
|
|
24
|
-
/**
|
|
25
|
-
* a list of SSH keys to deploy
|
|
26
|
-
*/
|
|
27
|
-
sshKeys: plugins.tsclass.network.ISshKey[];
|
|
28
|
-
};
|
|
29
|
-
}
|
package/dist_ts/data/server.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import * as plugins from '../plugins.js';
|
|
2
|
-
import {} from './docker.js';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvZGF0YS9zZXJ2ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE9BQU8sTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUE0QixNQUFNLGFBQWEsQ0FBQyJ9
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import type { IServerMetrics } from '../data/server.js';
|
|
2
|
-
import * as plugins from '../plugins.js';
|
|
3
|
-
/**
|
|
4
|
-
* This request can be used between any two players
|
|
5
|
-
* Examples:
|
|
6
|
-
* WebApp -> Cloudly (get metrics)
|
|
7
|
-
* Cloudly -> Webapp (send metrics)
|
|
8
|
-
* Cloudly -> Coreflow (get metrics)
|
|
9
|
-
* Coreflow -> Cloudly (send metrics)
|
|
10
|
-
*/
|
|
11
|
-
export interface IRequest_Any_Cloudly_ServerStatus extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_ServerStatus> {
|
|
12
|
-
method: 'getOrSendServerMetrics';
|
|
13
|
-
request: {
|
|
14
|
-
getOrSend: 'get' | 'send';
|
|
15
|
-
serverMetrics?: IServerMetrics;
|
|
16
|
-
};
|
|
17
|
-
response: {
|
|
18
|
-
serverMetrics?: IServerMetrics;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* this request can be used between any two players
|
|
23
|
-
* Examples:
|
|
24
|
-
* WebApp -> Cloudly
|
|
25
|
-
* Cloudly -> Coreflow
|
|
26
|
-
* Cloudly -> HostingProvider
|
|
27
|
-
*/
|
|
28
|
-
export interface IRequest_TriggerServerAction extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_TriggerServerAction> {
|
|
29
|
-
method: 'triggerServerAction';
|
|
30
|
-
request: {
|
|
31
|
-
actionName: 'reboot' | 'rebuild';
|
|
32
|
-
payload: any;
|
|
33
|
-
};
|
|
34
|
-
response: {
|
|
35
|
-
actionConfirmed: boolean;
|
|
36
|
-
};
|
|
37
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import * as plugins from '../plugins.js';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvcmVxdWVzdHMvc2VydmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sS0FBSyxPQUFPLE1BQU0sZUFBZSxDQUFDIn0=
|
package/ts/data/server.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as plugins from '../plugins.js';
|
|
2
|
-
|
|
3
|
-
import { type IDockerRegistryInfo } from './docker.js';
|
|
4
|
-
|
|
5
|
-
export interface IServerMetrics {
|
|
6
|
-
serverId: string;
|
|
7
|
-
cpuUsageInPercent: number;
|
|
8
|
-
memoryUsageinMB: number;
|
|
9
|
-
memoryAvailableInMB: number;
|
|
10
|
-
containerCount: number;
|
|
11
|
-
containerMetrics: Array<{
|
|
12
|
-
containerId: string;
|
|
13
|
-
containerName: string;
|
|
14
|
-
cpuUsageInPercent: number;
|
|
15
|
-
memoryUsageInMB: number;
|
|
16
|
-
}>;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export interface IServer {
|
|
20
|
-
id: string;
|
|
21
|
-
data: {
|
|
22
|
-
type: 'baremetal' | 'hetzner';
|
|
23
|
-
|
|
24
|
-
assignedClusterId: string;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* a list of debian packages to be installed
|
|
28
|
-
*/
|
|
29
|
-
requiredDebianPackages: string[];
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* a list of SSH keys to deploy
|
|
33
|
-
*/
|
|
34
|
-
sshKeys: plugins.tsclass.network.ISshKey[];
|
|
35
|
-
};
|
|
36
|
-
}
|
package/ts/requests/server.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import type { IServerMetrics } from '../data/server.js';
|
|
2
|
-
import * as plugins from '../plugins.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* This request can be used between any two players
|
|
6
|
-
* Examples:
|
|
7
|
-
* WebApp -> Cloudly (get metrics)
|
|
8
|
-
* Cloudly -> Webapp (send metrics)
|
|
9
|
-
* Cloudly -> Coreflow (get metrics)
|
|
10
|
-
* Coreflow -> Cloudly (send metrics)
|
|
11
|
-
*/
|
|
12
|
-
export interface IRequest_Any_Cloudly_ServerStatus
|
|
13
|
-
extends plugins.typedrequestInterfaces.implementsTR<
|
|
14
|
-
plugins.typedrequestInterfaces.ITypedRequest,
|
|
15
|
-
IRequest_Any_Cloudly_ServerStatus
|
|
16
|
-
> {
|
|
17
|
-
method: 'getOrSendServerMetrics',
|
|
18
|
-
request: {
|
|
19
|
-
getOrSend: 'get' | 'send';
|
|
20
|
-
serverMetrics?: IServerMetrics;
|
|
21
|
-
},
|
|
22
|
-
response: {
|
|
23
|
-
serverMetrics?: IServerMetrics;
|
|
24
|
-
},
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* this request can be used between any two players
|
|
29
|
-
* Examples:
|
|
30
|
-
* WebApp -> Cloudly
|
|
31
|
-
* Cloudly -> Coreflow
|
|
32
|
-
* Cloudly -> HostingProvider
|
|
33
|
-
*/
|
|
34
|
-
export interface IRequest_TriggerServerAction
|
|
35
|
-
extends plugins.typedrequestInterfaces.implementsTR<
|
|
36
|
-
plugins.typedrequestInterfaces.ITypedRequest,
|
|
37
|
-
IRequest_TriggerServerAction
|
|
38
|
-
> {
|
|
39
|
-
method: 'triggerServerAction';
|
|
40
|
-
request: {
|
|
41
|
-
actionName: 'reboot' | 'rebuild';
|
|
42
|
-
payload: any;
|
|
43
|
-
};
|
|
44
|
-
response: {
|
|
45
|
-
actionConfirmed: boolean;
|
|
46
|
-
};
|
|
47
|
-
}
|