@serve.zone/interfaces 21.0.0 → 21.1.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,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-07-29 - 21.1.0
4
+
5
+ ### Features
6
+
7
+ - bind reconciliation reports to immutable image rollouts (status)
8
+ - Adds a both-or-neither `rolloutId` and `rolloutGeneration` pair to
9
+ `reportReconciliationStatus` requests.
10
+ - Enables Cloudly to ignore delayed immutable-image reports from superseded
11
+ rollouts instead of mutating the current rollout state.
12
+
3
13
  ## 2026-07-29 - 21.0.0
4
14
 
5
15
  ### Breaking Changes
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '21.0.0',
6
+ version: '21.1.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,6 +1,13 @@
1
1
  import * as plugins from '../plugins.js';
2
2
  import * as serviceInterfaces from '../data/service.js';
3
3
  import * as userInterfaces from '../data/user.js';
4
+ type TReportReconciliationRolloutIdentity = {
5
+ rolloutId: string;
6
+ rolloutGeneration: number;
7
+ } | {
8
+ rolloutId?: never;
9
+ rolloutGeneration?: never;
10
+ };
4
11
  /**
5
12
  * a status update dashboard
6
13
  */
@@ -24,6 +31,7 @@ export interface IRequest_Coreflow_Cloudly_ReportReconciliationStatus extends pl
24
31
  message?: string;
25
32
  errorText?: string;
26
33
  reportedAt?: number;
27
- };
34
+ } & TReportReconciliationRolloutIdentity;
28
35
  response: {};
29
36
  }
37
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/interfaces",
3
- "version": "21.0.0",
3
+ "version": "21.1.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: '21.0.0',
6
+ version: '21.1.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
8
8
  }
@@ -2,6 +2,16 @@ import * as plugins from '../plugins.js';
2
2
  import * as serviceInterfaces from '../data/service.js';
3
3
  import * as userInterfaces from '../data/user.js';
4
4
 
5
+ type TReportReconciliationRolloutIdentity =
6
+ | {
7
+ rolloutId: string;
8
+ rolloutGeneration: number;
9
+ }
10
+ | {
11
+ rolloutId?: never;
12
+ rolloutGeneration?: never;
13
+ };
14
+
5
15
  /**
6
16
  * a status update dashboard
7
17
  */
@@ -23,17 +33,19 @@ export interface IRequest_Coreflow_Cloudly_ReportReconciliationStatus
23
33
  IRequest_Coreflow_Cloudly_ReportReconciliationStatus
24
34
  > {
25
35
  method: 'reportReconciliationStatus';
26
- request: {
27
- identity: userInterfaces.IIdentity;
28
- serviceId: string;
29
- serviceName?: string;
30
- stage: string;
31
- stageKey?: string;
32
- status: serviceInterfaces.TServiceReconciliationStatus;
33
- domainName?: string;
34
- message?: string;
35
- errorText?: string;
36
- reportedAt?: number;
37
- };
36
+ request:
37
+ & {
38
+ identity: userInterfaces.IIdentity;
39
+ serviceId: string;
40
+ serviceName?: string;
41
+ stage: string;
42
+ stageKey?: string;
43
+ status: serviceInterfaces.TServiceReconciliationStatus;
44
+ domainName?: string;
45
+ message?: string;
46
+ errorText?: string;
47
+ reportedAt?: number;
48
+ }
49
+ & TReportReconciliationRolloutIdentity;
38
50
  response: {};
39
51
  }