@serve.zone/interfaces 7.17.0 → 7.18.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-11 - 7.18.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- add getCurrentRouting request contract (requests/routing)
|
|
8
|
+
- Adds a Coretraffic/Coreflow request interface for retrieving the current routing table
|
|
9
|
+
- Defines reverseConfigs response payload for reverse proxy configuration hydration
|
|
10
|
+
|
|
3
11
|
## 2026-06-10 - 7.17.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
|
+
version: '7.18.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=
|
|
@@ -9,3 +9,15 @@ export interface IRequest_Coreflow_Coretraffic_RoutingUpdate {
|
|
|
9
9
|
errorText: string;
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* Coretraffic pulls the current routing table when it (re)connects.
|
|
14
|
+
* Coretraffic holds routes only in memory, so a proxy restart would
|
|
15
|
+
* otherwise serve nothing until the next coreflow reconcile pushes.
|
|
16
|
+
*/
|
|
17
|
+
export interface IRequest_Coretraffic_Coreflow_GetCurrentRouting {
|
|
18
|
+
method: 'getCurrentRouting';
|
|
19
|
+
request: Record<string, never>;
|
|
20
|
+
response: {
|
|
21
|
+
reverseConfigs: IReverseProxyConfig[];
|
|
22
|
+
};
|
|
23
|
+
}
|
package/package.json
CHANGED
package/ts/00_commitinfo_data.ts
CHANGED
package/ts/requests/routing.ts
CHANGED
|
@@ -10,3 +10,16 @@ export interface IRequest_Coreflow_Coretraffic_RoutingUpdate {
|
|
|
10
10
|
errorText: string;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Coretraffic pulls the current routing table when it (re)connects.
|
|
16
|
+
* Coretraffic holds routes only in memory, so a proxy restart would
|
|
17
|
+
* otherwise serve nothing until the next coreflow reconcile pushes.
|
|
18
|
+
*/
|
|
19
|
+
export interface IRequest_Coretraffic_Coreflow_GetCurrentRouting {
|
|
20
|
+
method: 'getCurrentRouting';
|
|
21
|
+
request: Record<string, never>;
|
|
22
|
+
response: {
|
|
23
|
+
reverseConfigs: IReverseProxyConfig[];
|
|
24
|
+
};
|
|
25
|
+
}
|