@remnawave/backend-contract 2.6.16 → 2.6.18
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/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +12 -0
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +12 -0
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +12 -0
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +12 -0
- package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +12 -0
- package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.d.ts +22 -0
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.js +3 -0
- package/build/backend/commands/hosts/get-all.command.d.ts +12 -0
- package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/get-one.command.d.ts +12 -0
- package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/reorder.command.d.ts +8 -0
- package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.d.ts +30 -0
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.js +3 -0
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts +11 -0
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts +20 -0
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map +1 -1
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts +18 -0
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts.map +1 -1
- package/build/backend/models/hosts.schema.d.ts +10 -0
- package/build/backend/models/hosts.schema.d.ts.map +1 -1
- package/build/backend/models/hosts.schema.js +2 -0
- package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts +3 -0
- package/build/backend/models/response-rules/response-rule-modifications.schema.d.ts.map +1 -1
- package/build/backend/models/response-rules/response-rule-modifications.schema.js +6 -0
- package/build/backend/models/response-rules/response-rule.schema.d.ts +10 -0
- package/build/backend/models/response-rules/response-rule.schema.d.ts.map +1 -1
- package/build/backend/models/response-rules/response-rules-config.schema.d.ts +7 -0
- package/build/backend/models/response-rules/response-rules-config.schema.d.ts.map +1 -1
- package/build/backend/models/subscription-settings.schema.d.ts +9 -0
- package/build/backend/models/subscription-settings.schema.d.ts.map +1 -1
- package/build/backend/models/xray-json-advanced/remnawave-injector.schema.d.ts +24 -8
- package/build/backend/models/xray-json-advanced/remnawave-injector.schema.d.ts.map +1 -1
- package/build/backend/models/xray-json-advanced/remnawave-injector.schema.js +3 -1
- package/build/frontend/commands/hosts/create.command.js +3 -0
- package/build/frontend/commands/hosts/update.command.js +3 -0
- package/build/frontend/models/hosts.schema.js +2 -0
- package/build/frontend/models/response-rules/response-rule-modifications.schema.js +6 -0
- package/build/frontend/models/xray-json-advanced/remnawave-injector.schema.js +3 -1
- package/package.json +1 -1
|
@@ -111,6 +111,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
111
111
|
applyHeadersToEnd: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
112
112
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
113
113
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
114
|
+
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
114
115
|
}, "strip", z.ZodTypeAny, {
|
|
115
116
|
headers?: {
|
|
116
117
|
value: string;
|
|
@@ -119,6 +120,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
119
120
|
applyHeadersToEnd?: boolean | undefined;
|
|
120
121
|
subscriptionTemplate?: string | undefined;
|
|
121
122
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
123
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
122
124
|
}, {
|
|
123
125
|
headers?: {
|
|
124
126
|
value: string;
|
|
@@ -127,6 +129,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
127
129
|
applyHeadersToEnd?: boolean | undefined;
|
|
128
130
|
subscriptionTemplate?: string | undefined;
|
|
129
131
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
132
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
130
133
|
}>>;
|
|
131
134
|
}, "strip", z.ZodTypeAny, {
|
|
132
135
|
enabled: boolean;
|
|
@@ -148,6 +151,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
148
151
|
applyHeadersToEnd?: boolean | undefined;
|
|
149
152
|
subscriptionTemplate?: string | undefined;
|
|
150
153
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
154
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
151
155
|
} | undefined;
|
|
152
156
|
}, {
|
|
153
157
|
enabled: boolean;
|
|
@@ -169,6 +173,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
169
173
|
applyHeadersToEnd?: boolean | undefined;
|
|
170
174
|
subscriptionTemplate?: string | undefined;
|
|
171
175
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
176
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
172
177
|
} | undefined;
|
|
173
178
|
}>, "many">;
|
|
174
179
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -193,6 +198,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
193
198
|
applyHeadersToEnd?: boolean | undefined;
|
|
194
199
|
subscriptionTemplate?: string | undefined;
|
|
195
200
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
201
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
196
202
|
} | undefined;
|
|
197
203
|
}[];
|
|
198
204
|
settings?: {
|
|
@@ -220,6 +226,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
220
226
|
applyHeadersToEnd?: boolean | undefined;
|
|
221
227
|
subscriptionTemplate?: string | undefined;
|
|
222
228
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
229
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
223
230
|
} | undefined;
|
|
224
231
|
}[];
|
|
225
232
|
settings?: {
|
|
@@ -285,6 +292,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
285
292
|
applyHeadersToEnd?: boolean | undefined;
|
|
286
293
|
subscriptionTemplate?: string | undefined;
|
|
287
294
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
295
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
288
296
|
} | undefined;
|
|
289
297
|
}[];
|
|
290
298
|
settings?: {
|
|
@@ -340,6 +348,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
340
348
|
applyHeadersToEnd?: boolean | undefined;
|
|
341
349
|
subscriptionTemplate?: string | undefined;
|
|
342
350
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
351
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
343
352
|
} | undefined;
|
|
344
353
|
}[];
|
|
345
354
|
settings?: {
|
|
@@ -397,6 +406,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
397
406
|
applyHeadersToEnd?: boolean | undefined;
|
|
398
407
|
subscriptionTemplate?: string | undefined;
|
|
399
408
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
409
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
400
410
|
} | undefined;
|
|
401
411
|
}[];
|
|
402
412
|
settings?: {
|
|
@@ -454,6 +464,7 @@ export declare namespace GetSubscriptionSettingsCommand {
|
|
|
454
464
|
applyHeadersToEnd?: boolean | undefined;
|
|
455
465
|
subscriptionTemplate?: string | undefined;
|
|
456
466
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
467
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
457
468
|
} | undefined;
|
|
458
469
|
}[];
|
|
459
470
|
settings?: {
|
package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/get-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,+BAAqC,CAAC;IAC/C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/get-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,+BAAqC,CAAC;IAC/C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts
CHANGED
|
@@ -110,6 +110,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
110
110
|
applyHeadersToEnd: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
111
111
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
112
112
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
113
|
+
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
113
114
|
}, "strip", z.ZodTypeAny, {
|
|
114
115
|
headers?: {
|
|
115
116
|
value: string;
|
|
@@ -118,6 +119,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
118
119
|
applyHeadersToEnd?: boolean | undefined;
|
|
119
120
|
subscriptionTemplate?: string | undefined;
|
|
120
121
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
122
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
121
123
|
}, {
|
|
122
124
|
headers?: {
|
|
123
125
|
value: string;
|
|
@@ -126,6 +128,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
126
128
|
applyHeadersToEnd?: boolean | undefined;
|
|
127
129
|
subscriptionTemplate?: string | undefined;
|
|
128
130
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
131
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
129
132
|
}>>;
|
|
130
133
|
}, "strip", z.ZodTypeAny, {
|
|
131
134
|
enabled: boolean;
|
|
@@ -147,6 +150,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
147
150
|
applyHeadersToEnd?: boolean | undefined;
|
|
148
151
|
subscriptionTemplate?: string | undefined;
|
|
149
152
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
153
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
150
154
|
} | undefined;
|
|
151
155
|
}, {
|
|
152
156
|
enabled: boolean;
|
|
@@ -168,6 +172,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
168
172
|
applyHeadersToEnd?: boolean | undefined;
|
|
169
173
|
subscriptionTemplate?: string | undefined;
|
|
170
174
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
175
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
171
176
|
} | undefined;
|
|
172
177
|
}>, "many">;
|
|
173
178
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -192,6 +197,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
192
197
|
applyHeadersToEnd?: boolean | undefined;
|
|
193
198
|
subscriptionTemplate?: string | undefined;
|
|
194
199
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
200
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
195
201
|
} | undefined;
|
|
196
202
|
}[];
|
|
197
203
|
settings?: {
|
|
@@ -219,6 +225,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
219
225
|
applyHeadersToEnd?: boolean | undefined;
|
|
220
226
|
subscriptionTemplate?: string | undefined;
|
|
221
227
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
228
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
222
229
|
} | undefined;
|
|
223
230
|
}[];
|
|
224
231
|
settings?: {
|
|
@@ -280,6 +287,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
280
287
|
applyHeadersToEnd?: boolean | undefined;
|
|
281
288
|
subscriptionTemplate?: string | undefined;
|
|
282
289
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
290
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
283
291
|
} | undefined;
|
|
284
292
|
}[];
|
|
285
293
|
settings?: {
|
|
@@ -333,6 +341,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
333
341
|
applyHeadersToEnd?: boolean | undefined;
|
|
334
342
|
subscriptionTemplate?: string | undefined;
|
|
335
343
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
344
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
336
345
|
} | undefined;
|
|
337
346
|
}[];
|
|
338
347
|
settings?: {
|
|
@@ -454,6 +463,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
454
463
|
applyHeadersToEnd: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
455
464
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
456
465
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
466
|
+
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
457
467
|
}, "strip", z.ZodTypeAny, {
|
|
458
468
|
headers?: {
|
|
459
469
|
value: string;
|
|
@@ -462,6 +472,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
462
472
|
applyHeadersToEnd?: boolean | undefined;
|
|
463
473
|
subscriptionTemplate?: string | undefined;
|
|
464
474
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
475
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
465
476
|
}, {
|
|
466
477
|
headers?: {
|
|
467
478
|
value: string;
|
|
@@ -470,6 +481,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
470
481
|
applyHeadersToEnd?: boolean | undefined;
|
|
471
482
|
subscriptionTemplate?: string | undefined;
|
|
472
483
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
484
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
473
485
|
}>>;
|
|
474
486
|
}, "strip", z.ZodTypeAny, {
|
|
475
487
|
enabled: boolean;
|
|
@@ -491,6 +503,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
491
503
|
applyHeadersToEnd?: boolean | undefined;
|
|
492
504
|
subscriptionTemplate?: string | undefined;
|
|
493
505
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
506
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
494
507
|
} | undefined;
|
|
495
508
|
}, {
|
|
496
509
|
enabled: boolean;
|
|
@@ -512,6 +525,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
512
525
|
applyHeadersToEnd?: boolean | undefined;
|
|
513
526
|
subscriptionTemplate?: string | undefined;
|
|
514
527
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
528
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
515
529
|
} | undefined;
|
|
516
530
|
}>, "many">;
|
|
517
531
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -536,6 +550,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
536
550
|
applyHeadersToEnd?: boolean | undefined;
|
|
537
551
|
subscriptionTemplate?: string | undefined;
|
|
538
552
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
553
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
539
554
|
} | undefined;
|
|
540
555
|
}[];
|
|
541
556
|
settings?: {
|
|
@@ -563,6 +578,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
563
578
|
applyHeadersToEnd?: boolean | undefined;
|
|
564
579
|
subscriptionTemplate?: string | undefined;
|
|
565
580
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
581
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
566
582
|
} | undefined;
|
|
567
583
|
}[];
|
|
568
584
|
settings?: {
|
|
@@ -628,6 +644,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
628
644
|
applyHeadersToEnd?: boolean | undefined;
|
|
629
645
|
subscriptionTemplate?: string | undefined;
|
|
630
646
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
647
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
631
648
|
} | undefined;
|
|
632
649
|
}[];
|
|
633
650
|
settings?: {
|
|
@@ -683,6 +700,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
683
700
|
applyHeadersToEnd?: boolean | undefined;
|
|
684
701
|
subscriptionTemplate?: string | undefined;
|
|
685
702
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
703
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
686
704
|
} | undefined;
|
|
687
705
|
}[];
|
|
688
706
|
settings?: {
|
|
@@ -740,6 +758,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
740
758
|
applyHeadersToEnd?: boolean | undefined;
|
|
741
759
|
subscriptionTemplate?: string | undefined;
|
|
742
760
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
761
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
743
762
|
} | undefined;
|
|
744
763
|
}[];
|
|
745
764
|
settings?: {
|
|
@@ -797,6 +816,7 @@ export declare namespace UpdateSubscriptionSettingsCommand {
|
|
|
797
816
|
applyHeadersToEnd?: boolean | undefined;
|
|
798
817
|
subscriptionTemplate?: string | undefined;
|
|
799
818
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
819
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
800
820
|
} | undefined;
|
|
801
821
|
}[];
|
|
802
822
|
settings?: {
|
package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/update-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,+BAAwC,CAAC;IAClD,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"update-subscription-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/subscription-settings/update-subscription-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,yBAAiB,iCAAiC,CAAC;IACxC,MAAM,GAAG,+BAAwC,CAAC;IAClD,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoCxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -77,6 +77,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
77
77
|
applyHeadersToEnd: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
78
78
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
79
79
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
80
|
+
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
80
81
|
}, "strip", z.ZodTypeAny, {
|
|
81
82
|
headers?: {
|
|
82
83
|
value: string;
|
|
@@ -85,6 +86,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
85
86
|
applyHeadersToEnd?: boolean | undefined;
|
|
86
87
|
subscriptionTemplate?: string | undefined;
|
|
87
88
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
89
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
88
90
|
}, {
|
|
89
91
|
headers?: {
|
|
90
92
|
value: string;
|
|
@@ -93,6 +95,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
93
95
|
applyHeadersToEnd?: boolean | undefined;
|
|
94
96
|
subscriptionTemplate?: string | undefined;
|
|
95
97
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
98
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
96
99
|
}>>;
|
|
97
100
|
}, "strip", z.ZodTypeAny, {
|
|
98
101
|
enabled: boolean;
|
|
@@ -114,6 +117,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
114
117
|
applyHeadersToEnd?: boolean | undefined;
|
|
115
118
|
subscriptionTemplate?: string | undefined;
|
|
116
119
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
120
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
117
121
|
} | undefined;
|
|
118
122
|
}, {
|
|
119
123
|
enabled: boolean;
|
|
@@ -135,6 +139,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
135
139
|
applyHeadersToEnd?: boolean | undefined;
|
|
136
140
|
subscriptionTemplate?: string | undefined;
|
|
137
141
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
142
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
138
143
|
} | undefined;
|
|
139
144
|
}>, "many">;
|
|
140
145
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -159,6 +164,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
159
164
|
applyHeadersToEnd?: boolean | undefined;
|
|
160
165
|
subscriptionTemplate?: string | undefined;
|
|
161
166
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
167
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
162
168
|
} | undefined;
|
|
163
169
|
}[];
|
|
164
170
|
settings?: {
|
|
@@ -186,6 +192,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
186
192
|
applyHeadersToEnd?: boolean | undefined;
|
|
187
193
|
subscriptionTemplate?: string | undefined;
|
|
188
194
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
195
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
189
196
|
} | undefined;
|
|
190
197
|
}[];
|
|
191
198
|
settings?: {
|
|
@@ -215,6 +222,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
215
222
|
applyHeadersToEnd?: boolean | undefined;
|
|
216
223
|
subscriptionTemplate?: string | undefined;
|
|
217
224
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
225
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
218
226
|
} | undefined;
|
|
219
227
|
}[];
|
|
220
228
|
settings?: {
|
|
@@ -244,6 +252,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
244
252
|
applyHeadersToEnd?: boolean | undefined;
|
|
245
253
|
subscriptionTemplate?: string | undefined;
|
|
246
254
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
255
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
247
256
|
} | undefined;
|
|
248
257
|
}[];
|
|
249
258
|
settings?: {
|
|
@@ -330,6 +339,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
330
339
|
applyHeadersToEnd: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
331
340
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
332
341
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
342
|
+
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
333
343
|
}, "strip", z.ZodTypeAny, {
|
|
334
344
|
headers?: {
|
|
335
345
|
value: string;
|
|
@@ -338,6 +348,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
338
348
|
applyHeadersToEnd?: boolean | undefined;
|
|
339
349
|
subscriptionTemplate?: string | undefined;
|
|
340
350
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
351
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
341
352
|
}, {
|
|
342
353
|
headers?: {
|
|
343
354
|
value: string;
|
|
@@ -346,6 +357,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
346
357
|
applyHeadersToEnd?: boolean | undefined;
|
|
347
358
|
subscriptionTemplate?: string | undefined;
|
|
348
359
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
360
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
349
361
|
}>>;
|
|
350
362
|
}, "strip", z.ZodTypeAny, {
|
|
351
363
|
enabled: boolean;
|
|
@@ -367,6 +379,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
367
379
|
applyHeadersToEnd?: boolean | undefined;
|
|
368
380
|
subscriptionTemplate?: string | undefined;
|
|
369
381
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
382
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
370
383
|
} | undefined;
|
|
371
384
|
}, {
|
|
372
385
|
enabled: boolean;
|
|
@@ -388,6 +401,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
388
401
|
applyHeadersToEnd?: boolean | undefined;
|
|
389
402
|
subscriptionTemplate?: string | undefined;
|
|
390
403
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
404
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
391
405
|
} | undefined;
|
|
392
406
|
}>>;
|
|
393
407
|
inputHeaders: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -415,6 +429,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
415
429
|
applyHeadersToEnd?: boolean | undefined;
|
|
416
430
|
subscriptionTemplate?: string | undefined;
|
|
417
431
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
432
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
418
433
|
} | undefined;
|
|
419
434
|
} | null;
|
|
420
435
|
inputHeaders: Record<string, string>;
|
|
@@ -442,6 +457,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
442
457
|
applyHeadersToEnd?: boolean | undefined;
|
|
443
458
|
subscriptionTemplate?: string | undefined;
|
|
444
459
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
460
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
445
461
|
} | undefined;
|
|
446
462
|
} | null;
|
|
447
463
|
inputHeaders: Record<string, string>;
|
|
@@ -471,6 +487,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
471
487
|
applyHeadersToEnd?: boolean | undefined;
|
|
472
488
|
subscriptionTemplate?: string | undefined;
|
|
473
489
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
490
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
474
491
|
} | undefined;
|
|
475
492
|
} | null;
|
|
476
493
|
inputHeaders: Record<string, string>;
|
|
@@ -500,6 +517,7 @@ export declare namespace TestSrrMatcherCommand {
|
|
|
500
517
|
applyHeadersToEnd?: boolean | undefined;
|
|
501
518
|
subscriptionTemplate?: string | undefined;
|
|
502
519
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
520
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
503
521
|
} | undefined;
|
|
504
522
|
} | null;
|
|
505
523
|
inputHeaders: Record<string, string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-srr-matcher.command.d.ts","sourceRoot":"","sources":["../../../../../commands/system/testers/test-srr-matcher.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,mCAAsC,CAAC;IAChD,MAAM,OAAO,mCAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IACK,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"test-srr-matcher.command.d.ts","sourceRoot":"","sources":["../../../../../commands/system/testers/test-srr-matcher.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,qBAAqB,CAAC;IAC5B,MAAM,GAAG,mCAAsC,CAAC;IAChD,MAAM,OAAO,mCAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IACK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -41,6 +41,14 @@ export declare const HostsSchema: z.ZodObject<{
|
|
|
41
41
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
42
42
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
43
43
|
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
44
|
+
excludeFromSubscriptionTypes: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
|
|
45
|
+
readonly XRAY_JSON: "XRAY_JSON";
|
|
46
|
+
readonly XRAY_BASE64: "XRAY_BASE64";
|
|
47
|
+
readonly MIHOMO: "MIHOMO";
|
|
48
|
+
readonly STASH: "STASH";
|
|
49
|
+
readonly CLASH: "CLASH";
|
|
50
|
+
readonly SINGBOX: "SINGBOX";
|
|
51
|
+
}>, "many">>;
|
|
44
52
|
}, "strip", z.ZodTypeAny, {
|
|
45
53
|
nodes: string[];
|
|
46
54
|
path: string | null;
|
|
@@ -73,6 +81,7 @@ export declare const HostsSchema: z.ZodObject<{
|
|
|
73
81
|
xHttpExtraParams?: unknown;
|
|
74
82
|
muxParams?: unknown;
|
|
75
83
|
sockoptParams?: unknown;
|
|
84
|
+
excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
|
|
76
85
|
}, {
|
|
77
86
|
nodes: string[];
|
|
78
87
|
path: string | null;
|
|
@@ -105,5 +114,6 @@ export declare const HostsSchema: z.ZodObject<{
|
|
|
105
114
|
overrideSniFromAddress?: boolean | undefined;
|
|
106
115
|
keepSniBlank?: boolean | undefined;
|
|
107
116
|
allowInsecure?: boolean | undefined;
|
|
117
|
+
excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
|
|
108
118
|
}>;
|
|
109
119
|
//# sourceMappingURL=hosts.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hosts.schema.d.ts","sourceRoot":"","sources":["../../../models/hosts.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"hosts.schema.d.ts","sourceRoot":"","sources":["../../../models/hosts.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoCtB,CAAC"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HostsSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const constants_1 = require("../constants");
|
|
5
6
|
const hosts_1 = require("../constants/hosts");
|
|
6
7
|
exports.HostsSchema = zod_1.z.object({
|
|
7
8
|
uuid: zod_1.z.string().uuid(),
|
|
@@ -35,4 +36,5 @@ exports.HostsSchema = zod_1.z.object({
|
|
|
35
36
|
nodes: zod_1.z.array(zod_1.z.string().uuid()),
|
|
36
37
|
xrayJsonTemplateUuid: zod_1.z.string().uuid().nullable(),
|
|
37
38
|
excludedInternalSquads: zod_1.z.array(zod_1.z.string().uuid()),
|
|
39
|
+
excludeFromSubscriptionTypes: zod_1.z.array(zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_TEMPLATE_TYPE)).optional(),
|
|
38
40
|
});
|
|
@@ -13,6 +13,7 @@ export declare const ResponseRuleModificationsSchema: z.ZodOptional<z.ZodObject<
|
|
|
13
13
|
applyHeadersToEnd: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
14
14
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
15
15
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
16
17
|
}, "strip", z.ZodTypeAny, {
|
|
17
18
|
headers?: {
|
|
18
19
|
value: string;
|
|
@@ -21,6 +22,7 @@ export declare const ResponseRuleModificationsSchema: z.ZodOptional<z.ZodObject<
|
|
|
21
22
|
applyHeadersToEnd?: boolean | undefined;
|
|
22
23
|
subscriptionTemplate?: string | undefined;
|
|
23
24
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
25
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
24
26
|
}, {
|
|
25
27
|
headers?: {
|
|
26
28
|
value: string;
|
|
@@ -29,5 +31,6 @@ export declare const ResponseRuleModificationsSchema: z.ZodOptional<z.ZodObject<
|
|
|
29
31
|
applyHeadersToEnd?: boolean | undefined;
|
|
30
32
|
subscriptionTemplate?: string | undefined;
|
|
31
33
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
34
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
32
35
|
}>>;
|
|
33
36
|
//# sourceMappingURL=response-rule-modifications.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response-rule-modifications.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rule-modifications.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,+BAA+B
|
|
1
|
+
{"version":3,"file":"response-rule-modifications.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rule-modifications.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2GvC,CAAC"}
|
|
@@ -62,6 +62,12 @@ exports.ResponseRuleModificationsSchema = zod_1.default
|
|
|
62
62
|
.describe(JSON.stringify({
|
|
63
63
|
markdownDescription: "Each Host may have its own Xray Json Template. If you set this flag to **true**, the Xray Json Template defined by the SRR will be used. **The Host's Xray Json Template will be ignored.**",
|
|
64
64
|
})),
|
|
65
|
+
ignoreServeJsonAtBaseSubscription: zod_1.default
|
|
66
|
+
.boolean()
|
|
67
|
+
.optional()
|
|
68
|
+
.describe(JSON.stringify({
|
|
69
|
+
markdownDescription: 'If you set this flag to **true**, the **Serve JSON at Base Subscription** setting will be ignored (set to **false**).',
|
|
70
|
+
})),
|
|
65
71
|
})
|
|
66
72
|
.optional()
|
|
67
73
|
.describe(JSON.stringify({
|
|
@@ -61,6 +61,7 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
|
|
|
61
61
|
applyHeadersToEnd: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
62
62
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
63
63
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
64
|
+
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
64
65
|
}, "strip", z.ZodTypeAny, {
|
|
65
66
|
headers?: {
|
|
66
67
|
value: string;
|
|
@@ -69,6 +70,7 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
|
|
|
69
70
|
applyHeadersToEnd?: boolean | undefined;
|
|
70
71
|
subscriptionTemplate?: string | undefined;
|
|
71
72
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
73
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
72
74
|
}, {
|
|
73
75
|
headers?: {
|
|
74
76
|
value: string;
|
|
@@ -77,6 +79,7 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
|
|
|
77
79
|
applyHeadersToEnd?: boolean | undefined;
|
|
78
80
|
subscriptionTemplate?: string | undefined;
|
|
79
81
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
82
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
80
83
|
}>>;
|
|
81
84
|
}, "strip", z.ZodTypeAny, {
|
|
82
85
|
enabled: boolean;
|
|
@@ -98,6 +101,7 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
|
|
|
98
101
|
applyHeadersToEnd?: boolean | undefined;
|
|
99
102
|
subscriptionTemplate?: string | undefined;
|
|
100
103
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
104
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
101
105
|
} | undefined;
|
|
102
106
|
}, {
|
|
103
107
|
enabled: boolean;
|
|
@@ -119,6 +123,7 @@ export declare const ResponseRuleSchemaBase: z.ZodObject<{
|
|
|
119
123
|
applyHeadersToEnd?: boolean | undefined;
|
|
120
124
|
subscriptionTemplate?: string | undefined;
|
|
121
125
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
126
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
122
127
|
} | undefined;
|
|
123
128
|
}>;
|
|
124
129
|
export declare const ResponseRuleSchema: z.ZodObject<{
|
|
@@ -183,6 +188,7 @@ export declare const ResponseRuleSchema: z.ZodObject<{
|
|
|
183
188
|
applyHeadersToEnd: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
184
189
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
185
190
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
191
|
+
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
186
192
|
}, "strip", z.ZodTypeAny, {
|
|
187
193
|
headers?: {
|
|
188
194
|
value: string;
|
|
@@ -191,6 +197,7 @@ export declare const ResponseRuleSchema: z.ZodObject<{
|
|
|
191
197
|
applyHeadersToEnd?: boolean | undefined;
|
|
192
198
|
subscriptionTemplate?: string | undefined;
|
|
193
199
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
200
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
194
201
|
}, {
|
|
195
202
|
headers?: {
|
|
196
203
|
value: string;
|
|
@@ -199,6 +206,7 @@ export declare const ResponseRuleSchema: z.ZodObject<{
|
|
|
199
206
|
applyHeadersToEnd?: boolean | undefined;
|
|
200
207
|
subscriptionTemplate?: string | undefined;
|
|
201
208
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
209
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
202
210
|
}>>;
|
|
203
211
|
}, "strip", z.ZodTypeAny, {
|
|
204
212
|
enabled: boolean;
|
|
@@ -220,6 +228,7 @@ export declare const ResponseRuleSchema: z.ZodObject<{
|
|
|
220
228
|
applyHeadersToEnd?: boolean | undefined;
|
|
221
229
|
subscriptionTemplate?: string | undefined;
|
|
222
230
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
231
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
223
232
|
} | undefined;
|
|
224
233
|
}, {
|
|
225
234
|
enabled: boolean;
|
|
@@ -241,6 +250,7 @@ export declare const ResponseRuleSchema: z.ZodObject<{
|
|
|
241
250
|
applyHeadersToEnd?: boolean | undefined;
|
|
242
251
|
subscriptionTemplate?: string | undefined;
|
|
243
252
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
253
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
244
254
|
} | undefined;
|
|
245
255
|
}>;
|
|
246
256
|
//# sourceMappingURL=response-rule.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response-rule.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rule.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"response-rule.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rule.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgDjC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqB9B,CAAC"}
|
|
@@ -72,6 +72,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
72
72
|
applyHeadersToEnd: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
73
73
|
subscriptionTemplate: z.ZodOptional<z.ZodString>;
|
|
74
74
|
ignoreHostXrayJsonTemplate: z.ZodOptional<z.ZodBoolean>;
|
|
75
|
+
ignoreServeJsonAtBaseSubscription: z.ZodOptional<z.ZodBoolean>;
|
|
75
76
|
}, "strip", z.ZodTypeAny, {
|
|
76
77
|
headers?: {
|
|
77
78
|
value: string;
|
|
@@ -80,6 +81,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
80
81
|
applyHeadersToEnd?: boolean | undefined;
|
|
81
82
|
subscriptionTemplate?: string | undefined;
|
|
82
83
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
84
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
83
85
|
}, {
|
|
84
86
|
headers?: {
|
|
85
87
|
value: string;
|
|
@@ -88,6 +90,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
88
90
|
applyHeadersToEnd?: boolean | undefined;
|
|
89
91
|
subscriptionTemplate?: string | undefined;
|
|
90
92
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
93
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
91
94
|
}>>;
|
|
92
95
|
}, "strip", z.ZodTypeAny, {
|
|
93
96
|
enabled: boolean;
|
|
@@ -109,6 +112,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
109
112
|
applyHeadersToEnd?: boolean | undefined;
|
|
110
113
|
subscriptionTemplate?: string | undefined;
|
|
111
114
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
115
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
112
116
|
} | undefined;
|
|
113
117
|
}, {
|
|
114
118
|
enabled: boolean;
|
|
@@ -130,6 +134,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
130
134
|
applyHeadersToEnd?: boolean | undefined;
|
|
131
135
|
subscriptionTemplate?: string | undefined;
|
|
132
136
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
137
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
133
138
|
} | undefined;
|
|
134
139
|
}>, "many">;
|
|
135
140
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -154,6 +159,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
154
159
|
applyHeadersToEnd?: boolean | undefined;
|
|
155
160
|
subscriptionTemplate?: string | undefined;
|
|
156
161
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
162
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
157
163
|
} | undefined;
|
|
158
164
|
}[];
|
|
159
165
|
settings?: {
|
|
@@ -181,6 +187,7 @@ export declare const ResponseRulesConfigSchema: z.ZodObject<{
|
|
|
181
187
|
applyHeadersToEnd?: boolean | undefined;
|
|
182
188
|
subscriptionTemplate?: string | undefined;
|
|
183
189
|
ignoreHostXrayJsonTemplate?: boolean | undefined;
|
|
190
|
+
ignoreServeJsonAtBaseSubscription?: boolean | undefined;
|
|
184
191
|
} | undefined;
|
|
185
192
|
}[];
|
|
186
193
|
settings?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response-rules-config.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rules-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"response-rules-config.schema.d.ts","sourceRoot":"","sources":["../../../../models/response-rules/response-rules-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBpC,CAAC"}
|