@serve.zone/interfaces 7.17.0 → 7.19.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,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-06-11 - 7.19.0
4
+
5
+ ### Features
6
+
7
+ - add per-node dcrouter target host mapping (settings)
8
+ - Adds optional dcrouterTargetHostsByNode setting for mapping swarm node hostnames to gateway-reachable targets.
9
+
10
+ ## 2026-06-11 - 7.18.0
11
+
12
+ ### Features
13
+
14
+ - add getCurrentRouting request contract (requests/routing)
15
+ - Adds a Coretraffic/Coreflow request interface for retrieving the current routing table
16
+ - Defines reverseConfigs response payload for reverse proxy configuration hydration
17
+
3
18
  ## 2026-06-10 - 7.17.0
4
19
 
5
20
  ### Features
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '7.17.0',
6
+ version: '7.19.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,6 +9,7 @@ export interface ICloudlySettings {
9
9
  backupExternalTargetType?: string;
10
10
  backupExternalTargetConfig?: string;
11
11
  backupNodeCacheKeepDays?: string;
12
+ dcrouterTargetHostsByNode?: string;
12
13
  baseosJoinToken?: string;
13
14
  corebuildWorkerUrl?: string;
14
15
  corebuildWorkerToken?: string;
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/interfaces",
3
- "version": "7.17.0",
3
+ "version": "7.19.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.17.0',
6
+ version: '7.19.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
8
8
  }
@@ -24,6 +24,11 @@ export interface ICloudlySettings {
24
24
  // Node-local archive cache retention in days (corestore prune; default 30)
25
25
  backupNodeCacheKeepDays?: string;
26
26
 
27
+ // JSON map of swarm node hostname -> gateway-reachable IP/host. Routes for
28
+ // services pinned to a node target that node's coretraffic instead of the
29
+ // static dcrouterTargetHost (e.g. {"cloudlyworkergrasberg":"192.168.190.108"}).
30
+ dcrouterTargetHostsByNode?: string;
31
+
27
32
  // BaseOS enrollment
28
33
  baseosJoinToken?: string;
29
34
 
@@ -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
+ }