@serve.zone/interfaces 7.23.0 → 7.25.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-16 - 7.25.0
4
+
5
+ ### Features
6
+
7
+ - add Cloudly base service reconciliation request contracts (requests)
8
+ - Add reconciliation result and TypedRequest interfaces for triggering and reporting base service reconciliation.
9
+ - Use a type-only import for identity interfaces in admin request contracts.
10
+ - Bump @git.zone/tsdoc to ^2.1.1 and @types/node to ^25.9.2.
11
+
12
+ ## 2026-06-12 - 7.24.0
13
+
14
+ ### Features
15
+
16
+ - add live health status to node resource usage entries (node)
17
+ - INodeDeploymentResourceUsage gains an optional healthStatus reported by coreflow's in-process health prober.
18
+
3
19
  ## 2026-06-12 - 7.23.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.23.0',
6
+ version: '7.25.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHVGQUF1RjtDQUNyRyxDQUFBIn0=
@@ -1,5 +1,5 @@
1
1
  import * as plugins from '../plugins.js';
2
- import * as userInterfaces from '../data/user.js';
2
+ import type { IIdentity } from '../data/user.js';
3
3
  export interface IReq_Admin_LoginWithUsernameAndPassword extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Admin_LoginWithUsernameAndPassword> {
4
4
  method: 'adminLoginWithUsernameAndPassword';
5
5
  request: {
@@ -7,6 +7,30 @@ export interface IReq_Admin_LoginWithUsernameAndPassword extends plugins.typedre
7
7
  password: string;
8
8
  };
9
9
  response: {
10
- identity: userInterfaces.IIdentity;
10
+ identity: IIdentity;
11
+ };
12
+ }
13
+ export interface ICoreflowBaseServiceReconciliationResult {
14
+ status: 'fulfilled' | 'rejected';
15
+ nodeNames: string[];
16
+ message?: string;
17
+ }
18
+ export interface IReq_Any_Cloudly_ReconcileBaseServices extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Any_Cloudly_ReconcileBaseServices> {
19
+ method: 'reconcileBaseServices';
20
+ request: {
21
+ identity: IIdentity;
22
+ };
23
+ response: {
24
+ triggeredCoreflows: number;
25
+ successfulCoreflows: number;
26
+ failedCoreflows: number;
27
+ results: ICoreflowBaseServiceReconciliationResult[];
28
+ };
29
+ }
30
+ export interface IReq_Cloudly_Coreflow_ReconcileBaseServices extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Cloudly_Coreflow_ReconcileBaseServices> {
31
+ method: 'coreflowReconcileBaseServices';
32
+ request: Record<string, never>;
33
+ response: {
34
+ success: boolean;
11
35
  };
12
36
  }
@@ -1,3 +1,2 @@
1
1
  import * as plugins from '../plugins.js';
2
- import * as userInterfaces from '../data/user.js';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRtaW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9yZXF1ZXN0cy9hZG1pbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEtBQUssY0FBYyxNQUFNLGlCQUFpQixDQUFDIn0=
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRtaW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9yZXF1ZXN0cy9hZG1pbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssT0FBTyxNQUFNLGVBQWUsQ0FBQyJ9
@@ -153,6 +153,8 @@ export interface INodeDeploymentResourceUsage {
153
153
  deploymentId: string;
154
154
  cpuUsagePercent: number;
155
155
  memoryUsedMB: number;
156
+ /** Live verdict from coreflow's in-process health prober, when available. */
157
+ healthStatus?: 'healthy' | 'unhealthy' | 'unknown';
156
158
  }
157
159
  /**
158
160
  * Admin UI asks Cloudly for a node's live per-deployment resource usage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/interfaces",
3
- "version": "7.23.0",
3
+ "version": "7.25.0",
4
4
  "private": false,
5
5
  "description": "Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.",
6
6
  "exports": {
@@ -16,10 +16,10 @@
16
16
  },
17
17
  "devDependencies": {
18
18
  "@git.zone/tsbuild": "^4.4.2",
19
- "@git.zone/tsdoc": "^2.0.6",
19
+ "@git.zone/tsdoc": "^2.1.1",
20
20
  "@git.zone/tsrun": "^2.0.4",
21
21
  "@git.zone/tstest": "^3.6.6",
22
- "@types/node": "^25.9.1"
22
+ "@types/node": "^25.9.2"
23
23
  },
24
24
  "files": [
25
25
  "ts/**/*",
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '7.23.0',
6
+ version: '7.25.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
8
8
  }
@@ -1,5 +1,5 @@
1
1
  import * as plugins from '../plugins.js';
2
- import * as userInterfaces from '../data/user.js';
2
+ import type { IIdentity } from '../data/user.js';
3
3
 
4
4
  export interface IReq_Admin_LoginWithUsernameAndPassword extends plugins.typedrequestInterfaces.implementsTR<
5
5
  plugins.typedrequestInterfaces.ITypedRequest,
@@ -11,6 +11,39 @@ export interface IReq_Admin_LoginWithUsernameAndPassword extends plugins.typedre
11
11
  password: string;
12
12
  };
13
13
  response: {
14
- identity: userInterfaces.IIdentity;
14
+ identity: IIdentity;
15
15
  }
16
- }
16
+ }
17
+
18
+ export interface ICoreflowBaseServiceReconciliationResult {
19
+ status: 'fulfilled' | 'rejected';
20
+ nodeNames: string[];
21
+ message?: string;
22
+ }
23
+
24
+ export interface IReq_Any_Cloudly_ReconcileBaseServices extends plugins.typedrequestInterfaces.implementsTR<
25
+ plugins.typedrequestInterfaces.ITypedRequest,
26
+ IReq_Any_Cloudly_ReconcileBaseServices
27
+ > {
28
+ method: 'reconcileBaseServices';
29
+ request: {
30
+ identity: IIdentity;
31
+ };
32
+ response: {
33
+ triggeredCoreflows: number;
34
+ successfulCoreflows: number;
35
+ failedCoreflows: number;
36
+ results: ICoreflowBaseServiceReconciliationResult[];
37
+ };
38
+ }
39
+
40
+ export interface IReq_Cloudly_Coreflow_ReconcileBaseServices extends plugins.typedrequestInterfaces.implementsTR<
41
+ plugins.typedrequestInterfaces.ITypedRequest,
42
+ IReq_Cloudly_Coreflow_ReconcileBaseServices
43
+ > {
44
+ method: 'coreflowReconcileBaseServices';
45
+ request: Record<string, never>;
46
+ response: {
47
+ success: boolean;
48
+ };
49
+ }
@@ -193,6 +193,8 @@ export interface INodeDeploymentResourceUsage {
193
193
  deploymentId: string;
194
194
  cpuUsagePercent: number;
195
195
  memoryUsedMB: number;
196
+ /** Live verdict from coreflow's in-process health prober, when available. */
197
+ healthStatus?: 'healthy' | 'unhealthy' | 'unknown';
196
198
  }
197
199
 
198
200
  /**