@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 +10 -0
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/requests/status.d.ts +9 -1
- package/package.json +1 -1
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/requests/status.ts +24 -12
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.
|
|
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
package/ts/00_commitinfo_data.ts
CHANGED
package/ts/requests/status.ts
CHANGED
|
@@ -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
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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
|
}
|