@serve.zone/interfaces 7.6.0 → 7.7.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,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-06-10 - 7.7.0
4
+
5
+ ### Features
6
+
7
+ - add reporter node scoping to deployment snapshots (deployment)
8
+ - Adds optional reporterNodeNames to deployment snapshot requests to identify the node hostnames a report is authoritative for.
9
+ - Preserves existing full-service replacement behavior when reporterNodeNames is omitted.
10
+
3
11
  ## 2026-06-10 - 7.6.0
4
12
 
5
13
  ### Features
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '7.6.0',
6
+ version: '7.7.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHVGQUF1RjtDQUNyRyxDQUFBIn0=
@@ -302,6 +302,13 @@ export interface IReq_Coreflow_Cloudly_ReportDeploymentSnapshots extends plugins
302
302
  serviceId: string;
303
303
  serviceName?: string;
304
304
  deployments: IDeployment[];
305
+ /**
306
+ * Node hostnames this snapshot is authoritative for (the reporter's swarm).
307
+ * Cloudly prunes stale deployments for the service only on these nodes, so
308
+ * reports from different swarms/nodes do not delete each other's records.
309
+ * When absent, the snapshot replaces all persisted deployments of the service.
310
+ */
311
+ reporterNodeNames?: string[];
305
312
  reportedAt: number;
306
313
  };
307
314
  response: Record<string, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/interfaces",
3
- "version": "7.6.0",
3
+ "version": "7.7.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.6.0',
6
+ version: '7.7.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
8
8
  }
@@ -443,6 +443,13 @@ extends plugins.typedrequestInterfaces.implementsTR<
443
443
  serviceId: string;
444
444
  serviceName?: string;
445
445
  deployments: IDeployment[];
446
+ /**
447
+ * Node hostnames this snapshot is authoritative for (the reporter's swarm).
448
+ * Cloudly prunes stale deployments for the service only on these nodes, so
449
+ * reports from different swarms/nodes do not delete each other's records.
450
+ * When absent, the snapshot replaces all persisted deployments of the service.
451
+ */
452
+ reporterNodeNames?: string[];
446
453
  reportedAt: number;
447
454
  };
448
455
  response: Record<string, never>;