增加单一源保护全局策略

This commit is contained in:
2026-06-15 00:14:40 +08:00
parent bffd4ecb98
commit b860ef37e8
12 changed files with 210 additions and 14 deletions
+2
View File
@@ -282,6 +282,7 @@ export interface GatewayRunnerPolicy {
failoverPolicy?: Record<string, unknown>;
hardStopPolicy?: Record<string, unknown>;
priorityDemotePolicy?: Record<string, unknown>;
singleSourcePolicy?: Record<string, unknown>;
metadata?: Record<string, unknown>;
status: 'active' | 'disabled' | string;
createdAt: string;
@@ -295,6 +296,7 @@ export interface GatewayRunnerPolicyUpsertRequest {
failoverPolicy?: Record<string, unknown>;
hardStopPolicy?: Record<string, unknown>;
priorityDemotePolicy?: Record<string, unknown>;
singleSourcePolicy?: Record<string, unknown>;
metadata?: Record<string, unknown>;
status?: 'active' | 'disabled' | string;
}