@serve.zone/interfaces 7.8.0 → 7.10.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 +16 -0
- package/dist_ts/00_commitinfo_data.js +2 -2
- package/dist_ts/data/deployment.d.ts +6 -0
- package/dist_ts/data/settings.d.ts +1 -0
- package/dist_ts/requests/deployment.d.ts +2 -0
- package/package.json +1 -1
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/data/deployment.ts +7 -0
- package/ts/data/settings.ts +3 -0
- package/ts/requests/deployment.ts +2 -0
package/changelog.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-06-10 - 7.10.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- add deployment archive retention setting (settings)
|
|
8
|
+
- Adds optional deploymentArchiveRetentionDays to ICloudlySettings for configuring archived deployment record retention.
|
|
9
|
+
- Documents the default retention period as 90 days.
|
|
10
|
+
|
|
11
|
+
## 2026-06-10 - 7.9.0
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
- add archived deployment metadata and query support (deployment)
|
|
16
|
+
- Add optional archivedAt timestamp to deployment data for retained archived records.
|
|
17
|
+
- Add optional includeArchived flag to getDeployments requests.
|
|
18
|
+
|
|
3
19
|
## 2026-06-10 - 7.8.0
|
|
4
20
|
|
|
5
21
|
### Features
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@serve.zone/interfaces',
|
|
6
|
-
version: '7.
|
|
6
|
+
version: '7.10.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=
|
|
@@ -62,4 +62,10 @@ export interface IDeployment {
|
|
|
62
62
|
memoryUsedMB: number;
|
|
63
63
|
lastUpdated: number;
|
|
64
64
|
};
|
|
65
|
+
/**
|
|
66
|
+
* Set when the deployment disappeared from runtime snapshots. Archived
|
|
67
|
+
* deployments are kept for lookup and log retention (default 90 days)
|
|
68
|
+
* and are excluded from active runtime views.
|
|
69
|
+
*/
|
|
70
|
+
archivedAt?: number;
|
|
65
71
|
}
|
|
@@ -21,6 +21,8 @@ export interface IReq_Any_Cloudly_GetDeployments extends plugins.typedrequestInt
|
|
|
21
21
|
method: 'getDeployments';
|
|
22
22
|
request: {
|
|
23
23
|
identity: IIdentity;
|
|
24
|
+
/** Include archived deployments (default: active only). */
|
|
25
|
+
includeArchived?: boolean;
|
|
24
26
|
};
|
|
25
27
|
response: {
|
|
26
28
|
deployments: IDeployment[];
|
package/package.json
CHANGED
package/ts/00_commitinfo_data.ts
CHANGED
package/ts/data/deployment.ts
CHANGED
|
@@ -81,4 +81,11 @@ export interface IDeployment {
|
|
|
81
81
|
memoryUsedMB: number;
|
|
82
82
|
lastUpdated: number;
|
|
83
83
|
};
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Set when the deployment disappeared from runtime snapshots. Archived
|
|
87
|
+
* deployments are kept for lookup and log retention (default 90 days)
|
|
88
|
+
* and are excluded from active runtime views.
|
|
89
|
+
*/
|
|
90
|
+
archivedAt?: number;
|
|
84
91
|
}
|
package/ts/data/settings.ts
CHANGED
|
@@ -9,6 +9,9 @@ export interface ICloudlySettings {
|
|
|
9
9
|
hetznerToken?: string;
|
|
10
10
|
cloudflareToken?: string;
|
|
11
11
|
|
|
12
|
+
// Retention for archived deployment records in days (default 90)
|
|
13
|
+
deploymentArchiveRetentionDays?: string;
|
|
14
|
+
|
|
12
15
|
// BaseOS enrollment
|
|
13
16
|
baseosJoinToken?: string;
|
|
14
17
|
|
|
@@ -32,6 +32,8 @@ extends plugins.typedrequestInterfaces.implementsTR<
|
|
|
32
32
|
method: 'getDeployments';
|
|
33
33
|
request: {
|
|
34
34
|
identity: IIdentity;
|
|
35
|
+
/** Include archived deployments (default: active only). */
|
|
36
|
+
includeArchived?: boolean;
|
|
35
37
|
};
|
|
36
38
|
response: {
|
|
37
39
|
deployments: IDeployment[];
|