@serve.zone/interfaces 5.3.0 → 5.4.3
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/.smartconfig.json +32 -0
- package/changelog.md +26 -0
- package/dist_ts/00_commitinfo_data.js +9 -0
- package/{dist_ts_interfaces → dist_ts}/data/baremetal.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/cloudlyconfig.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/cluster.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/clusternode.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/config.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/deployment.js +1 -1
- package/dist_ts/data/dns.d.ts +85 -0
- package/dist_ts/data/dns.js +2 -0
- package/{dist_ts_interfaces → dist_ts}/data/docker.js +1 -1
- package/dist_ts/data/domain.d.ts +102 -0
- package/dist_ts/data/domain.js +2 -0
- package/{dist_ts_interfaces → dist_ts}/data/event.js +1 -1
- package/dist_ts/data/externalregistry.d.ts +92 -0
- package/{dist_ts_interfaces → dist_ts}/data/externalregistry.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/image.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/index.d.ts +3 -0
- package/dist_ts/data/index.js +22 -0
- package/{dist_ts_interfaces → dist_ts}/data/secretbundle.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/secretgroup.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/server.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/service.d.ts +14 -0
- package/{dist_ts_interfaces → dist_ts}/data/service.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/settings.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/status.js +1 -1
- package/dist_ts/data/taskexecution.d.ts +72 -0
- package/dist_ts/data/taskexecution.js +2 -0
- package/{dist_ts_interfaces → dist_ts}/data/traffic.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/user.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/data/version.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/index.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/platformservice/aibridge.js +1 -1
- package/dist_ts/platformservice/index.js +7 -0
- package/{dist_ts_interfaces → dist_ts}/platformservice/letter.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/platformservice/mta.js +1 -1
- package/dist_ts/platformservice/pushnotification.js +2 -0
- package/{dist_ts_interfaces → dist_ts}/platformservice/sms.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/plugins.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/admin.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/baremetal.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/certificate.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/cluster.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/config.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/deployment.js +1 -1
- package/dist_ts/requests/dns.d.ts +63 -0
- package/dist_ts/requests/dns.js +2 -0
- package/dist_ts/requests/domain.d.ts +69 -0
- package/dist_ts/requests/domain.js +2 -0
- package/{dist_ts_interfaces → dist_ts}/requests/externalregistry.d.ts +13 -0
- package/dist_ts/requests/externalregistry.js +4 -0
- package/{dist_ts_interfaces → dist_ts}/requests/identity.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/image.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/index.d.ts +5 -1
- package/dist_ts/requests/index.js +28 -0
- package/{dist_ts_interfaces → dist_ts}/requests/inform.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/log.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/network.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/node.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/routing.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/secretbundle.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/secretgroup.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/server.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/service.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/settings.js +1 -1
- package/{dist_ts_interfaces → dist_ts}/requests/status.js +1 -1
- package/dist_ts/requests/task.d.ts +65 -0
- package/dist_ts/requests/task.js +4 -0
- package/{dist_ts_interfaces → dist_ts}/requests/version.js +1 -1
- package/license +1 -1
- package/package.json +42 -17
- package/readme.md +13 -375
- package/{ts_interfaces → ts}/00_commitinfo_data.ts +2 -2
- package/ts/data/dns.ts +100 -0
- package/ts/data/domain.ts +124 -0
- package/ts/data/externalregistry.ts +110 -0
- package/{ts_interfaces → ts}/data/index.ts +3 -0
- package/{ts_interfaces → ts}/data/service.ts +14 -0
- package/ts/data/taskexecution.ts +84 -0
- package/ts/requests/dns.ts +93 -0
- package/ts/requests/domain.ts +99 -0
- package/{ts_interfaces → ts}/requests/externalregistry.ts +17 -0
- package/{ts_interfaces → ts}/requests/index.ts +8 -0
- package/ts/requests/task.ts +95 -0
- package/cli.js +0 -4
- package/dist_ts_interfaces/00_commitinfo_data.js +0 -9
- package/dist_ts_interfaces/data/externalregistry.d.ts +0 -10
- package/dist_ts_interfaces/data/index.js +0 -19
- package/dist_ts_interfaces/platformservice/index.js +0 -7
- package/dist_ts_interfaces/platformservice/pushnotification.js +0 -2
- package/dist_ts_interfaces/requests/externalregistry.js +0 -4
- package/dist_ts_interfaces/requests/index.js +0 -24
- package/ts_interfaces/data/externalregistry.ts +0 -12
- package/ts_interfaces/readme.md +0 -391
- package/ts_interfaces/tspublish.json +0 -13
- /package/{dist_ts_interfaces → dist_ts}/00_commitinfo_data.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/baremetal.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/cloudlyconfig.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/cluster.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/clusternode.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/config.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/deployment.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/docker.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/event.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/image.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/secretbundle.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/secretgroup.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/server.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/settings.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/status.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/traffic.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/user.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/data/version.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/index.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/platformservice/aibridge.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/platformservice/index.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/platformservice/letter.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/platformservice/mta.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/platformservice/pushnotification.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/platformservice/sms.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/plugins.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/admin.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/baremetal.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/certificate.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/cluster.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/config.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/deployment.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/identity.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/image.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/inform.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/log.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/network.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/node.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/routing.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/secretbundle.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/secretgroup.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/server.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/service.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/settings.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/status.d.ts +0 -0
- /package/{dist_ts_interfaces → dist_ts}/requests/version.d.ts +0 -0
- /package/{ts_interfaces → ts}/data/baremetal.ts +0 -0
- /package/{ts_interfaces → ts}/data/cloudlyconfig.ts +0 -0
- /package/{ts_interfaces → ts}/data/cluster.ts +0 -0
- /package/{ts_interfaces → ts}/data/clusternode.ts +0 -0
- /package/{ts_interfaces → ts}/data/config.ts +0 -0
- /package/{ts_interfaces → ts}/data/deployment.ts +0 -0
- /package/{ts_interfaces → ts}/data/docker.ts +0 -0
- /package/{ts_interfaces → ts}/data/event.ts +0 -0
- /package/{ts_interfaces → ts}/data/image.ts +0 -0
- /package/{ts_interfaces → ts}/data/secretbundle.ts +0 -0
- /package/{ts_interfaces → ts}/data/secretgroup.ts +0 -0
- /package/{ts_interfaces → ts}/data/server.ts +0 -0
- /package/{ts_interfaces → ts}/data/settings.ts +0 -0
- /package/{ts_interfaces → ts}/data/status.ts +0 -0
- /package/{ts_interfaces → ts}/data/traffic.ts +0 -0
- /package/{ts_interfaces → ts}/data/user.ts +0 -0
- /package/{ts_interfaces → ts}/data/version.ts +0 -0
- /package/{ts_interfaces → ts}/index.ts +0 -0
- /package/{ts_interfaces → ts}/platformservice/00readme.md +0 -0
- /package/{ts_interfaces → ts}/platformservice/aibridge.ts +0 -0
- /package/{ts_interfaces → ts}/platformservice/index.ts +0 -0
- /package/{ts_interfaces → ts}/platformservice/letter.ts +0 -0
- /package/{ts_interfaces → ts}/platformservice/mta.ts +0 -0
- /package/{ts_interfaces → ts}/platformservice/pushnotification.ts +0 -0
- /package/{ts_interfaces → ts}/platformservice/sms.ts +0 -0
- /package/{ts_interfaces → ts}/plugins.ts +0 -0
- /package/{ts_interfaces → ts}/requests/admin.ts +0 -0
- /package/{ts_interfaces → ts}/requests/baremetal.ts +0 -0
- /package/{ts_interfaces → ts}/requests/certificate.ts +0 -0
- /package/{ts_interfaces → ts}/requests/cluster.ts +0 -0
- /package/{ts_interfaces → ts}/requests/config.ts +0 -0
- /package/{ts_interfaces → ts}/requests/deployment.ts +0 -0
- /package/{ts_interfaces → ts}/requests/identity.ts +0 -0
- /package/{ts_interfaces → ts}/requests/image.ts +0 -0
- /package/{ts_interfaces → ts}/requests/inform.ts +0 -0
- /package/{ts_interfaces → ts}/requests/log.ts +0 -0
- /package/{ts_interfaces → ts}/requests/network.ts +0 -0
- /package/{ts_interfaces → ts}/requests/node.ts +0 -0
- /package/{ts_interfaces → ts}/requests/routing.ts +0 -0
- /package/{ts_interfaces → ts}/requests/secretbundle.ts +0 -0
- /package/{ts_interfaces → ts}/requests/secretgroup.ts +0 -0
- /package/{ts_interfaces → ts}/requests/server.ts +0 -0
- /package/{ts_interfaces → ts}/requests/service.ts +0 -0
- /package/{ts_interfaces → ts}/requests/settings.ts +0 -0
- /package/{ts_interfaces → ts}/requests/status.ts +0 -0
- /package/{ts_interfaces → ts}/requests/version.ts +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"@git.zone/cli": {
|
|
3
|
+
"projectType": "npm",
|
|
4
|
+
"module": {
|
|
5
|
+
"githost": "code.foss.global",
|
|
6
|
+
"gitscope": "serve.zone",
|
|
7
|
+
"gitrepo": "interfaces",
|
|
8
|
+
"description": "Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.",
|
|
9
|
+
"npmPackagename": "@serve.zone/interfaces",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"projectDomain": "serve.zone",
|
|
12
|
+
"keywords": [
|
|
13
|
+
"serve.zone",
|
|
14
|
+
"interfaces",
|
|
15
|
+
"typedrequest",
|
|
16
|
+
"contracts",
|
|
17
|
+
"typescript",
|
|
18
|
+
"infrastructure"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"release": {
|
|
22
|
+
"registries": [
|
|
23
|
+
"https://verdaccio.lossless.digital",
|
|
24
|
+
"https://registry.npmjs.org"
|
|
25
|
+
],
|
|
26
|
+
"accessLevel": "public"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"@git.zone/tsdoc": {
|
|
30
|
+
"legal": "\n## License and Legal Information\n\nThis repository contains open-source code that is licensed under the MIT License. A copy of the MIT License can be found in the [license](license) file within this repository. \n\n**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.\n\n### Trademarks\n\nThis project is owned and maintained by Task Venture Capital GmbH. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH and are not included within the scope of the MIT license granted herein. Use of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines, and any usage must be approved in writing by Task Venture Capital GmbH.\n\n### Company Information\n\nTask Venture Capital GmbH \nRegistered at District court Bremen HRB 35230 HB, Germany\n\nFor any legal inquiries or if you require further information, please contact us via email at hello@task.vc.\n\nBy using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works.\n"
|
|
31
|
+
}
|
|
32
|
+
}
|
package/changelog.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 2026-04-25 - 5.4.3 - fix(repo)
|
|
4
|
+
no changes to commit
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
## 2026-04-25 - 5.4.2 - fix(repository)
|
|
8
|
+
no changes to commit
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## 2026-04-25 - 5.4.1 - fix(project)
|
|
12
|
+
no changes to commit
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## 2026-04-25 - 5.4.0 - feat(package)
|
|
16
|
+
initialize standalone @serve.zone/interfaces package with shared TypeScript contracts
|
|
17
|
+
|
|
18
|
+
- add exported data, request, and platformservice interface namespaces for the serve.zone ecosystem
|
|
19
|
+
- set up package metadata, build and test scripts, and release configuration for publishing
|
|
20
|
+
- add a basic test to verify the package's public namespace exports
|
|
21
|
+
|
|
22
|
+
## 2026-04-25 - 5.3.1 - refactor(package)
|
|
23
|
+
extract serve.zone interfaces into dedicated package repository
|
|
24
|
+
|
|
25
|
+
- initialize the standalone `@serve.zone/interfaces` repository from Cloudly's current interface source tree
|
|
26
|
+
- add package metadata, build/test scripts, and `.smartconfig.json` release configuration
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* autocreated commitinfo by @push.rocks/commitinfo
|
|
3
|
+
*/
|
|
4
|
+
export const commitinfo = {
|
|
5
|
+
name: '@serve.zone/interfaces',
|
|
6
|
+
version: '5.4.3',
|
|
7
|
+
description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHVGQUF1RjtDQUNyRyxDQUFBIn0=
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFyZW1ldGFsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvZGF0YS9iYXJlbWV0YWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE9BQU8sTUFBTSxlQUFlLENBQUMifQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xvdWRseWNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2RhdGEvY2xvdWRseWNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLGVBQWUsQ0FBQyJ9
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
2
|
import {} from '../data/docker.js';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2x1c3Rlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2RhdGEvY2x1c3Rlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLGVBQWUsQ0FBQztBQUV6QyxPQUFPLEVBQTRCLE1BQU0sbUJBQW1CLENBQUMifQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2x1c3Rlcm5vZGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9kYXRhL2NsdXN0ZXJub2RlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxPQUFPLE1BQU0sZUFBZSxDQUFDIn0=
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvZGF0YS9jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVwbG95bWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2RhdGEvZGVwbG95bWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLGVBQWUsQ0FBQyJ9
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
export type TDnsRecordType = 'A' | 'AAAA' | 'CNAME' | 'MX' | 'TXT' | 'NS' | 'SOA' | 'SRV' | 'CAA' | 'PTR';
|
|
2
|
+
export interface IDnsEntry {
|
|
3
|
+
id: string;
|
|
4
|
+
data: {
|
|
5
|
+
/**
|
|
6
|
+
* The DNS record type
|
|
7
|
+
*/
|
|
8
|
+
type: TDnsRecordType;
|
|
9
|
+
/**
|
|
10
|
+
* The DNS record name (e.g., www, @, mail)
|
|
11
|
+
* @ represents the root domain
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* The value of the DNS record
|
|
16
|
+
* - For A/AAAA: IP address
|
|
17
|
+
* - For CNAME: Target domain
|
|
18
|
+
* - For MX: Mail server hostname
|
|
19
|
+
* - For TXT: Text value
|
|
20
|
+
* - For NS: Nameserver hostname
|
|
21
|
+
* - For SRV: Target hostname
|
|
22
|
+
* - For CAA: CAA record value
|
|
23
|
+
* - For PTR: Domain name
|
|
24
|
+
*/
|
|
25
|
+
value: string;
|
|
26
|
+
/**
|
|
27
|
+
* Time to live in seconds
|
|
28
|
+
* Default: 3600 (1 hour)
|
|
29
|
+
*/
|
|
30
|
+
ttl: number;
|
|
31
|
+
/**
|
|
32
|
+
* Priority (used for MX and SRV records)
|
|
33
|
+
* Lower values have higher priority
|
|
34
|
+
*/
|
|
35
|
+
priority?: number;
|
|
36
|
+
/**
|
|
37
|
+
* The DNS zone this entry belongs to
|
|
38
|
+
* e.g., example.com
|
|
39
|
+
* @deprecated Use domainId instead
|
|
40
|
+
*/
|
|
41
|
+
zone: string;
|
|
42
|
+
/**
|
|
43
|
+
* The domain ID this DNS entry belongs to
|
|
44
|
+
* Links to the Domain entity
|
|
45
|
+
*/
|
|
46
|
+
domainId?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Additional fields for SRV records
|
|
49
|
+
*/
|
|
50
|
+
weight?: number;
|
|
51
|
+
port?: number;
|
|
52
|
+
/**
|
|
53
|
+
* Whether this DNS entry is active
|
|
54
|
+
*/
|
|
55
|
+
active: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Optional description for documentation
|
|
58
|
+
*/
|
|
59
|
+
description?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Timestamp when the entry was created
|
|
62
|
+
*/
|
|
63
|
+
createdAt?: number;
|
|
64
|
+
/**
|
|
65
|
+
* Timestamp when the entry was last updated
|
|
66
|
+
*/
|
|
67
|
+
updatedAt?: number;
|
|
68
|
+
/**
|
|
69
|
+
* Whether this DNS entry was auto-generated
|
|
70
|
+
*/
|
|
71
|
+
isAutoGenerated?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* The service ID that created this DNS entry (for auto-generated entries)
|
|
74
|
+
*/
|
|
75
|
+
sourceServiceId?: string;
|
|
76
|
+
/**
|
|
77
|
+
* The source type of this DNS entry
|
|
78
|
+
* - manual: Created by user through UI/API
|
|
79
|
+
* - service: Auto-generated from service configuration
|
|
80
|
+
* - system: Created by system processes
|
|
81
|
+
* - external: Synced from external DNS providers
|
|
82
|
+
*/
|
|
83
|
+
sourceType?: 'manual' | 'service' | 'system' | 'external';
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9ja2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvZGF0YS9kb2NrZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE9BQU8sTUFBTSxlQUFlLENBQUMifQ==
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
export type TDomainStatus = 'active' | 'pending' | 'expired' | 'suspended' | 'transferred';
|
|
2
|
+
export type TDomainVerificationStatus = 'verified' | 'pending' | 'failed' | 'not_required';
|
|
3
|
+
export interface IDomain {
|
|
4
|
+
id: string;
|
|
5
|
+
data: {
|
|
6
|
+
/**
|
|
7
|
+
* The domain name (e.g., example.com)
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* Description or notes about the domain
|
|
12
|
+
*/
|
|
13
|
+
description?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Current status of the domain
|
|
16
|
+
*/
|
|
17
|
+
status: TDomainStatus;
|
|
18
|
+
/**
|
|
19
|
+
* Domain verification status
|
|
20
|
+
*/
|
|
21
|
+
verificationStatus: TDomainVerificationStatus;
|
|
22
|
+
/**
|
|
23
|
+
* Nameservers for the domain
|
|
24
|
+
*/
|
|
25
|
+
nameservers: string[];
|
|
26
|
+
/**
|
|
27
|
+
* Domain registrar information
|
|
28
|
+
*/
|
|
29
|
+
registrar?: {
|
|
30
|
+
name: string;
|
|
31
|
+
url?: string;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Domain registration date (timestamp)
|
|
35
|
+
*/
|
|
36
|
+
registeredAt?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Domain expiration date (timestamp)
|
|
39
|
+
*/
|
|
40
|
+
expiresAt?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Whether auto-renewal is enabled
|
|
43
|
+
*/
|
|
44
|
+
autoRenew: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* DNSSEC enabled
|
|
47
|
+
*/
|
|
48
|
+
dnssecEnabled?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Tags for categorization
|
|
51
|
+
*/
|
|
52
|
+
tags?: string[];
|
|
53
|
+
/**
|
|
54
|
+
* Whether this domain is primary for the organization
|
|
55
|
+
*/
|
|
56
|
+
isPrimary?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* SSL certificate status
|
|
59
|
+
*/
|
|
60
|
+
sslStatus?: 'active' | 'pending' | 'expired' | 'none';
|
|
61
|
+
/**
|
|
62
|
+
* Cloudly activation state controls whether we actively manage DNS/certificates
|
|
63
|
+
* - available: discovered/imported, not actively managed
|
|
64
|
+
* - activated: actively managed (DNS edits allowed, certs considered)
|
|
65
|
+
* - ignored: explicitly ignored from management/automation
|
|
66
|
+
*/
|
|
67
|
+
activationState?: 'available' | 'activated' | 'ignored';
|
|
68
|
+
/**
|
|
69
|
+
* Last verification attempt timestamp
|
|
70
|
+
*/
|
|
71
|
+
lastVerificationAt?: number;
|
|
72
|
+
/**
|
|
73
|
+
* Verification method used
|
|
74
|
+
*/
|
|
75
|
+
verificationMethod?: 'dns' | 'http' | 'email' | 'manual';
|
|
76
|
+
/**
|
|
77
|
+
* Verification token (for DNS/HTTP verification)
|
|
78
|
+
*/
|
|
79
|
+
verificationToken?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Cloudflare zone ID if managed by Cloudflare
|
|
82
|
+
*/
|
|
83
|
+
cloudflareZoneId?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Sync metadata
|
|
86
|
+
*/
|
|
87
|
+
syncSource?: 'cloudflare' | 'manual' | null;
|
|
88
|
+
lastSyncAt?: number;
|
|
89
|
+
/**
|
|
90
|
+
* Whether domain is managed externally
|
|
91
|
+
*/
|
|
92
|
+
isExternal?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Creation timestamp
|
|
95
|
+
*/
|
|
96
|
+
createdAt?: number;
|
|
97
|
+
/**
|
|
98
|
+
* Last update timestamp
|
|
99
|
+
*/
|
|
100
|
+
updatedAt?: number;
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9kYXRhL2V2ZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxPQUFPLE1BQU0sZUFBZSxDQUFDIn0=
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
export interface IExternalRegistry {
|
|
2
|
+
id: string;
|
|
3
|
+
data: {
|
|
4
|
+
/**
|
|
5
|
+
* Registry type
|
|
6
|
+
*/
|
|
7
|
+
type: 'docker' | 'npm';
|
|
8
|
+
/**
|
|
9
|
+
* Human-readable name for the registry
|
|
10
|
+
*/
|
|
11
|
+
name: string;
|
|
12
|
+
/**
|
|
13
|
+
* Registry URL (e.g., https://registry.gitlab.com, docker.io)
|
|
14
|
+
*/
|
|
15
|
+
url: string;
|
|
16
|
+
/**
|
|
17
|
+
* Username for authentication (optional for token-based or public registries)
|
|
18
|
+
*/
|
|
19
|
+
username?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Password, access token, or API key for authentication (optional for public registries)
|
|
22
|
+
*/
|
|
23
|
+
password?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Optional description
|
|
26
|
+
*/
|
|
27
|
+
description?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Whether this is the default registry for its type
|
|
30
|
+
*/
|
|
31
|
+
isDefault?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Authentication type
|
|
34
|
+
*/
|
|
35
|
+
authType?: 'none' | 'basic' | 'token' | 'oauth2';
|
|
36
|
+
/**
|
|
37
|
+
* Allow insecure registry connections (HTTP or self-signed certs)
|
|
38
|
+
*/
|
|
39
|
+
insecure?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Optional namespace/organization for the registry
|
|
42
|
+
*/
|
|
43
|
+
namespace?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Proxy configuration
|
|
46
|
+
*/
|
|
47
|
+
proxy?: {
|
|
48
|
+
http?: string;
|
|
49
|
+
https?: string;
|
|
50
|
+
noProxy?: string;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Registry-specific configuration
|
|
54
|
+
*/
|
|
55
|
+
config?: {
|
|
56
|
+
/**
|
|
57
|
+
* For Docker registries
|
|
58
|
+
*/
|
|
59
|
+
dockerConfig?: {
|
|
60
|
+
email?: string;
|
|
61
|
+
serverAddress?: string;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* For npm registries
|
|
65
|
+
*/
|
|
66
|
+
npmConfig?: {
|
|
67
|
+
scope?: string;
|
|
68
|
+
alwaysAuth?: boolean;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Status of the registry connection
|
|
73
|
+
*/
|
|
74
|
+
status?: 'active' | 'inactive' | 'error' | 'unverified';
|
|
75
|
+
/**
|
|
76
|
+
* Last error message if status is 'error'
|
|
77
|
+
*/
|
|
78
|
+
lastError?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Timestamp when the registry was last successfully verified
|
|
81
|
+
*/
|
|
82
|
+
lastVerified?: number;
|
|
83
|
+
/**
|
|
84
|
+
* Timestamp when the registry was created
|
|
85
|
+
*/
|
|
86
|
+
createdAt?: number;
|
|
87
|
+
/**
|
|
88
|
+
* Timestamp when the registry was last updated
|
|
89
|
+
*/
|
|
90
|
+
updatedAt?: number;
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXh0ZXJuYWxyZWdpc3RyeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2RhdGEvZXh0ZXJuYWxyZWdpc3RyeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLGVBQWUsQ0FBQyJ9
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9kYXRhL2ltYWdlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxPQUFPLE1BQU0sZUFBZSxDQUFDIn0=
|
|
@@ -2,7 +2,9 @@ export * from './cloudlyconfig.js';
|
|
|
2
2
|
export * from './cluster.js';
|
|
3
3
|
export * from './config.js';
|
|
4
4
|
export * from './deployment.js';
|
|
5
|
+
export * from './dns.js';
|
|
5
6
|
export * from './docker.js';
|
|
7
|
+
export * from './domain.js';
|
|
6
8
|
export * from './event.js';
|
|
7
9
|
export * from './externalregistry.js';
|
|
8
10
|
export * from './image.js';
|
|
@@ -13,6 +15,7 @@ export * from './clusternode.js';
|
|
|
13
15
|
export * from './settings.js';
|
|
14
16
|
export * from './service.js';
|
|
15
17
|
export * from './status.js';
|
|
18
|
+
export * from './taskexecution.js';
|
|
16
19
|
export * from './traffic.js';
|
|
17
20
|
export * from './user.js';
|
|
18
21
|
export * from './version.js';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export * from './cloudlyconfig.js';
|
|
2
|
+
export * from './cluster.js';
|
|
3
|
+
export * from './config.js';
|
|
4
|
+
export * from './deployment.js';
|
|
5
|
+
export * from './dns.js';
|
|
6
|
+
export * from './docker.js';
|
|
7
|
+
export * from './domain.js';
|
|
8
|
+
export * from './event.js';
|
|
9
|
+
export * from './externalregistry.js';
|
|
10
|
+
export * from './image.js';
|
|
11
|
+
export * from './secretbundle.js';
|
|
12
|
+
export * from './secretgroup.js';
|
|
13
|
+
export * from './baremetal.js';
|
|
14
|
+
export * from './clusternode.js';
|
|
15
|
+
export * from './settings.js';
|
|
16
|
+
export * from './service.js';
|
|
17
|
+
export * from './status.js';
|
|
18
|
+
export * from './taskexecution.js';
|
|
19
|
+
export * from './traffic.js';
|
|
20
|
+
export * from './user.js';
|
|
21
|
+
export * from './version.js';
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9kYXRhL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyxjQUFjLENBQUM7QUFDN0IsY0FBYyxhQUFhLENBQUM7QUFDNUIsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLFVBQVUsQ0FBQztBQUN6QixjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxrQkFBa0IsQ0FBQztBQUNqQyxjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxlQUFlLENBQUM7QUFDOUIsY0FBYyxjQUFjLENBQUM7QUFDN0IsY0FBYyxhQUFhLENBQUM7QUFDNUIsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLGNBQWMsQ0FBQyJ9
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjcmV0YnVuZGxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvZGF0YS9zZWNyZXRidW5kbGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjcmV0Z3JvdXAuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9kYXRhL3NlY3JldGdyb3VwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
2
|
import {} from './docker.js';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvZGF0YS9zZXJ2ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE9BQU8sTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUE0QixNQUFNLGFBQWEsQ0FBQyJ9
|
|
@@ -52,8 +52,22 @@ export interface IService {
|
|
|
52
52
|
};
|
|
53
53
|
resources?: IServiceRessources;
|
|
54
54
|
domains: {
|
|
55
|
+
/**
|
|
56
|
+
* Optional domain ID to specify which domain to use
|
|
57
|
+
* If not specified, will use the default domain or require manual configuration
|
|
58
|
+
*/
|
|
59
|
+
domainId?: string;
|
|
60
|
+
/**
|
|
61
|
+
* The subdomain name (e.g., 'api', 'www', '@' for root)
|
|
62
|
+
*/
|
|
55
63
|
name: string;
|
|
64
|
+
/**
|
|
65
|
+
* The port to expose (defaults to ports.web if not specified)
|
|
66
|
+
*/
|
|
56
67
|
port?: number;
|
|
68
|
+
/**
|
|
69
|
+
* The protocol for this domain entry
|
|
70
|
+
*/
|
|
57
71
|
protocol?: 'http' | 'https' | 'ssh';
|
|
58
72
|
}[];
|
|
59
73
|
deploymentIds: string[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2RhdGEvc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V0dGluZ3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9kYXRhL3NldHRpbmdzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxPQUFPLE1BQU0sZUFBZSxDQUFDIn0=
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdHVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvZGF0YS9zdGF0dXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE9BQU8sTUFBTSxlQUFlLENBQUMifQ==
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Task execution tracking for the task management system
|
|
3
|
+
* Tasks themselves are hard-coded using @push.rocks/taskbuffer
|
|
4
|
+
* This interface tracks execution history and outcomes
|
|
5
|
+
*/
|
|
6
|
+
export interface ITaskExecution {
|
|
7
|
+
id: string;
|
|
8
|
+
data: {
|
|
9
|
+
/**
|
|
10
|
+
* Name of the task being executed
|
|
11
|
+
*/
|
|
12
|
+
taskName: string;
|
|
13
|
+
/**
|
|
14
|
+
* Optional description of what the task does
|
|
15
|
+
*/
|
|
16
|
+
taskDescription?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Category for grouping tasks
|
|
19
|
+
*/
|
|
20
|
+
category?: 'maintenance' | 'deployment' | 'backup' | 'monitoring' | 'cleanup' | 'system' | 'security';
|
|
21
|
+
/**
|
|
22
|
+
* Timestamp when the task started
|
|
23
|
+
*/
|
|
24
|
+
startedAt: number;
|
|
25
|
+
/**
|
|
26
|
+
* Timestamp when the task completed
|
|
27
|
+
*/
|
|
28
|
+
completedAt?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Current status of the task execution
|
|
31
|
+
*/
|
|
32
|
+
status: 'running' | 'completed' | 'failed' | 'cancelled';
|
|
33
|
+
/**
|
|
34
|
+
* Duration in milliseconds
|
|
35
|
+
*/
|
|
36
|
+
duration?: number;
|
|
37
|
+
/**
|
|
38
|
+
* How the task was triggered
|
|
39
|
+
*/
|
|
40
|
+
triggeredBy: 'schedule' | 'manual' | 'system';
|
|
41
|
+
/**
|
|
42
|
+
* User ID if manually triggered
|
|
43
|
+
*/
|
|
44
|
+
userId?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Execution logs
|
|
47
|
+
*/
|
|
48
|
+
logs: Array<{
|
|
49
|
+
timestamp: number;
|
|
50
|
+
message: string;
|
|
51
|
+
severity: 'info' | 'warning' | 'error' | 'success';
|
|
52
|
+
}>;
|
|
53
|
+
/**
|
|
54
|
+
* Task-specific metrics
|
|
55
|
+
*/
|
|
56
|
+
metrics?: {
|
|
57
|
+
[key: string]: any;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Final result/output of the task
|
|
61
|
+
*/
|
|
62
|
+
result?: any;
|
|
63
|
+
/**
|
|
64
|
+
* Error details if the task failed
|
|
65
|
+
*/
|
|
66
|
+
error?: {
|
|
67
|
+
message: string;
|
|
68
|
+
stack?: string;
|
|
69
|
+
code?: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
2
|
export {};
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhZmZpYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2RhdGEvdHJhZmZpYy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLGVBQWUsQ0FBQztBQUl6QyxPQUFPLEVBQTRCLENBQUMifQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2RhdGEvdXNlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3RzL2RhdGEvdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -2,4 +2,4 @@ import * as data from './data/index.js';
|
|
|
2
2
|
import * as platformservice from './platformservice/index.js';
|
|
3
3
|
import * as requests from './requests/index.js';
|
|
4
4
|
export { data, platformservice, requests };
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssSUFBSSxNQUFNLGlCQUFpQixDQUFDO0FBQ3hDLE9BQU8sS0FBSyxlQUFlLE1BQU0sNEJBQTRCLENBQUM7QUFDOUQsT0FBTyxLQUFLLFFBQVEsTUFBTSxxQkFBcUIsQ0FBQztBQUVoRCxPQUFPLEVBQ0wsSUFBSSxFQUNKLGVBQWUsRUFDZixRQUFRLEVBQ1QsQ0FBQSJ9
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWlicmlkZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9wbGF0Zm9ybXNlcnZpY2UvYWlicmlkZ2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE9BQU8sTUFBTSxlQUFlLENBQUMifQ==
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as aibridge from './aibridge.js';
|
|
2
|
+
import * as letter from './letter.js';
|
|
3
|
+
import * as mta from './mta.js';
|
|
4
|
+
import * as pushnotification from './pushnotification.js';
|
|
5
|
+
import * as sms from './sms.js';
|
|
6
|
+
export { aibridge, letter, mta, pushnotification, sms, };
|
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9wbGF0Zm9ybXNlcnZpY2UvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLFFBQVEsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxLQUFLLE1BQU0sTUFBTSxhQUFhLENBQUM7QUFDdEMsT0FBTyxLQUFLLEdBQUcsTUFBTSxVQUFVLENBQUM7QUFDaEMsT0FBTyxLQUFLLGdCQUFnQixNQUFNLHVCQUF1QixDQUFDO0FBQzFELE9BQU8sS0FBSyxHQUFHLE1BQU0sVUFBVSxDQUFDO0FBRWhDLE9BQU8sRUFDTCxRQUFRLEVBQ1IsTUFBTSxFQUNOLEdBQUcsRUFDSCxnQkFBZ0IsRUFDaEIsR0FBRyxHQUNKLENBQUEifQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGV0dGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvcGxhdGZvcm1zZXJ2aWNlL2xldHRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLGVBQWUsQ0FBQyJ9
|