@serve.zone/interfaces 19.0.0 → 19.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 +8 -0
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/data/gateway.d.ts +15 -0
- package/package.json +1 -1
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/data/gateway.ts +15 -0
package/changelog.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-07-24 - 19.1.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- add explicit ingress trust policy to gateway routes (gateway)
|
|
8
|
+
- Adds optional directHub and smartVpn ingress flags to gateway route contracts.
|
|
9
|
+
- Updates gateway contract coverage to assert explicit ingress settings for managed routes.
|
|
10
|
+
|
|
3
11
|
## 2026-07-24 - 19.0.0
|
|
4
12
|
|
|
5
13
|
### Breaking Changes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@serve.zone/interfaces',
|
|
6
|
-
version: '19.
|
|
6
|
+
version: '19.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=
|
|
@@ -364,6 +364,21 @@ export interface IGatewayRouteConfig {
|
|
|
364
364
|
priority?: number;
|
|
365
365
|
/** Declares a canonical gateway-managed route purpose. */
|
|
366
366
|
managedRouteKind?: TManagedRouteKind;
|
|
367
|
+
/**
|
|
368
|
+
* Trusted ingress paths that may reach this route without public edge ingress.
|
|
369
|
+
*
|
|
370
|
+
* Omission is accepted only for compatibility with clients predating this
|
|
371
|
+
* contract. New and updated managed routes should set both values explicitly.
|
|
372
|
+
*/
|
|
373
|
+
ingress?: {
|
|
374
|
+
/**
|
|
375
|
+
* Accept connections made directly to a listener on the gateway hub.
|
|
376
|
+
* This must not be enabled by default for newly-created routes.
|
|
377
|
+
*/
|
|
378
|
+
directHub: boolean;
|
|
379
|
+
/** Accept authenticated SmartVPN connections carrying trusted VPN metadata. */
|
|
380
|
+
smartVpn: boolean;
|
|
381
|
+
};
|
|
367
382
|
remoteIngress?: {
|
|
368
383
|
enabled: boolean;
|
|
369
384
|
edgeFilter?: string[];
|
package/package.json
CHANGED
package/ts/00_commitinfo_data.ts
CHANGED
package/ts/data/gateway.ts
CHANGED
|
@@ -411,6 +411,21 @@ export interface IGatewayRouteConfig {
|
|
|
411
411
|
priority?: number;
|
|
412
412
|
/** Declares a canonical gateway-managed route purpose. */
|
|
413
413
|
managedRouteKind?: TManagedRouteKind;
|
|
414
|
+
/**
|
|
415
|
+
* Trusted ingress paths that may reach this route without public edge ingress.
|
|
416
|
+
*
|
|
417
|
+
* Omission is accepted only for compatibility with clients predating this
|
|
418
|
+
* contract. New and updated managed routes should set both values explicitly.
|
|
419
|
+
*/
|
|
420
|
+
ingress?: {
|
|
421
|
+
/**
|
|
422
|
+
* Accept connections made directly to a listener on the gateway hub.
|
|
423
|
+
* This must not be enabled by default for newly-created routes.
|
|
424
|
+
*/
|
|
425
|
+
directHub: boolean;
|
|
426
|
+
/** Accept authenticated SmartVPN connections carrying trusted VPN metadata. */
|
|
427
|
+
smartVpn: boolean;
|
|
428
|
+
};
|
|
414
429
|
remoteIngress?: {
|
|
415
430
|
enabled: boolean;
|
|
416
431
|
edgeFilter?: string[];
|