@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 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.8.0',
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHVGQUF1RjtDQUNyRyxDQUFBIn0=
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
  }
@@ -5,6 +5,7 @@
5
5
  export interface ICloudlySettings {
6
6
  hetznerToken?: string;
7
7
  cloudflareToken?: string;
8
+ deploymentArchiveRetentionDays?: string;
8
9
  baseosJoinToken?: string;
9
10
  corebuildWorkerUrl?: string;
10
11
  corebuildWorkerToken?: string;
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/interfaces",
3
- "version": "7.8.0",
3
+ "version": "7.10.0",
4
4
  "private": false,
5
5
  "description": "Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.",
6
6
  "exports": {
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '7.8.0',
6
+ version: '7.10.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
8
8
  }
@@ -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
  }
@@ -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[];