@remnawave/backend-contract 2.8.4 → 2.8.5
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 +11 -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 +11 -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 +11 -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 +11 -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 +11 -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 +20 -0
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.js +1 -0
- package/build/backend/commands/hosts/get-all.command.d.ts +11 -0
- package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/get-one.command.d.ts +11 -0
- package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/reorder.command.d.ts +7 -0
- package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.d.ts +27 -0
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.js +1 -0
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +15 -0
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/constants/hosts/index.d.ts +1 -0
- package/build/backend/constants/hosts/index.d.ts.map +1 -1
- package/build/backend/constants/hosts/index.js +1 -0
- package/build/backend/constants/hosts/mihomo-ip-version.d.ts +10 -0
- package/build/backend/constants/hosts/mihomo-ip-version.d.ts.map +1 -0
- package/build/backend/constants/hosts/mihomo-ip-version.js +11 -0
- package/build/backend/models/hosts.schema.d.ts +9 -0
- package/build/backend/models/hosts.schema.d.ts.map +1 -1
- package/build/backend/models/hosts.schema.js +2 -1
- package/build/backend/models/resolved-proxy-config.schema.d.ts +31 -0
- package/build/backend/models/resolved-proxy-config.schema.d.ts.map +1 -1
- package/build/backend/models/resolved-proxy-config.schema.js +1 -0
- package/build/frontend/commands/hosts/create.command.js +1 -0
- package/build/frontend/commands/hosts/update.command.js +1 -0
- package/build/frontend/constants/hosts/index.js +1 -0
- package/build/frontend/constants/hosts/mihomo-ip-version.js +11 -0
- package/build/frontend/models/hosts.schema.js +2 -1
- package/build/frontend/models/resolved-proxy-config.schema.js +1 -0
- package/package.json +1 -1
|
@@ -53,6 +53,13 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
53
53
|
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
54
54
|
shuffleHost: z.ZodBoolean;
|
|
55
55
|
mihomoX25519: z.ZodBoolean;
|
|
56
|
+
mihomoIpVersion: z.ZodNullable<z.ZodNativeEnum<{
|
|
57
|
+
readonly DUAL: "dual";
|
|
58
|
+
readonly IPV4: "ipv4";
|
|
59
|
+
readonly IPV6: "ipv6";
|
|
60
|
+
readonly IPV4_PREFER: "ipv4-prefer";
|
|
61
|
+
readonly IPV6_PREFER: "ipv6-prefer";
|
|
62
|
+
}>>;
|
|
56
63
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
57
64
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
58
65
|
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
@@ -92,6 +99,7 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
92
99
|
verifyPeerCertByName: string | null;
|
|
93
100
|
shuffleHost: boolean;
|
|
94
101
|
mihomoX25519: boolean;
|
|
102
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
95
103
|
xrayJsonTemplateUuid: string | null;
|
|
96
104
|
excludedInternalSquads: string[];
|
|
97
105
|
xHttpExtraParams?: unknown;
|
|
@@ -122,6 +130,7 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
122
130
|
verifyPeerCertByName: string | null;
|
|
123
131
|
shuffleHost: boolean;
|
|
124
132
|
mihomoX25519: boolean;
|
|
133
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
125
134
|
xrayJsonTemplateUuid: string | null;
|
|
126
135
|
excludedInternalSquads: string[];
|
|
127
136
|
isDisabled?: boolean | undefined;
|
|
@@ -164,6 +173,7 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
164
173
|
verifyPeerCertByName: string | null;
|
|
165
174
|
shuffleHost: boolean;
|
|
166
175
|
mihomoX25519: boolean;
|
|
176
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
167
177
|
xrayJsonTemplateUuid: string | null;
|
|
168
178
|
excludedInternalSquads: string[];
|
|
169
179
|
xHttpExtraParams?: unknown;
|
|
@@ -196,6 +206,7 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
196
206
|
verifyPeerCertByName: string | null;
|
|
197
207
|
shuffleHost: boolean;
|
|
198
208
|
mihomoX25519: boolean;
|
|
209
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
199
210
|
xrayJsonTemplateUuid: string | null;
|
|
200
211
|
excludedInternalSquads: string[];
|
|
201
212
|
isDisabled?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/delete-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAAmC,CAAC;IAC7C,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"delete-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/delete-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAAmC,CAAC;IAC7C,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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"}
|
|
@@ -53,6 +53,13 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
53
53
|
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
54
54
|
shuffleHost: z.ZodBoolean;
|
|
55
55
|
mihomoX25519: z.ZodBoolean;
|
|
56
|
+
mihomoIpVersion: z.ZodNullable<z.ZodNativeEnum<{
|
|
57
|
+
readonly DUAL: "dual";
|
|
58
|
+
readonly IPV4: "ipv4";
|
|
59
|
+
readonly IPV6: "ipv6";
|
|
60
|
+
readonly IPV4_PREFER: "ipv4-prefer";
|
|
61
|
+
readonly IPV6_PREFER: "ipv6-prefer";
|
|
62
|
+
}>>;
|
|
56
63
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
57
64
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
58
65
|
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
@@ -92,6 +99,7 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
92
99
|
verifyPeerCertByName: string | null;
|
|
93
100
|
shuffleHost: boolean;
|
|
94
101
|
mihomoX25519: boolean;
|
|
102
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
95
103
|
xrayJsonTemplateUuid: string | null;
|
|
96
104
|
excludedInternalSquads: string[];
|
|
97
105
|
xHttpExtraParams?: unknown;
|
|
@@ -122,6 +130,7 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
122
130
|
verifyPeerCertByName: string | null;
|
|
123
131
|
shuffleHost: boolean;
|
|
124
132
|
mihomoX25519: boolean;
|
|
133
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
125
134
|
xrayJsonTemplateUuid: string | null;
|
|
126
135
|
excludedInternalSquads: string[];
|
|
127
136
|
isDisabled?: boolean | undefined;
|
|
@@ -164,6 +173,7 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
164
173
|
verifyPeerCertByName: string | null;
|
|
165
174
|
shuffleHost: boolean;
|
|
166
175
|
mihomoX25519: boolean;
|
|
176
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
167
177
|
xrayJsonTemplateUuid: string | null;
|
|
168
178
|
excludedInternalSquads: string[];
|
|
169
179
|
xHttpExtraParams?: unknown;
|
|
@@ -196,6 +206,7 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
196
206
|
verifyPeerCertByName: string | null;
|
|
197
207
|
shuffleHost: boolean;
|
|
198
208
|
mihomoX25519: boolean;
|
|
209
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
199
210
|
xrayJsonTemplateUuid: string | null;
|
|
200
211
|
excludedInternalSquads: string[];
|
|
201
212
|
isDisabled?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"disable-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/disable-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,2BAAoC,CAAC;IAC9C,MAAM,OAAO,2BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"disable-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/disable-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,uBAAuB,CAAC;IAC9B,MAAM,GAAG,2BAAoC,CAAC;IAC9C,MAAM,OAAO,2BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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"}
|
|
@@ -53,6 +53,13 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
53
53
|
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
54
54
|
shuffleHost: z.ZodBoolean;
|
|
55
55
|
mihomoX25519: z.ZodBoolean;
|
|
56
|
+
mihomoIpVersion: z.ZodNullable<z.ZodNativeEnum<{
|
|
57
|
+
readonly DUAL: "dual";
|
|
58
|
+
readonly IPV4: "ipv4";
|
|
59
|
+
readonly IPV6: "ipv6";
|
|
60
|
+
readonly IPV4_PREFER: "ipv4-prefer";
|
|
61
|
+
readonly IPV6_PREFER: "ipv6-prefer";
|
|
62
|
+
}>>;
|
|
56
63
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
57
64
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
58
65
|
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
@@ -92,6 +99,7 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
92
99
|
verifyPeerCertByName: string | null;
|
|
93
100
|
shuffleHost: boolean;
|
|
94
101
|
mihomoX25519: boolean;
|
|
102
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
95
103
|
xrayJsonTemplateUuid: string | null;
|
|
96
104
|
excludedInternalSquads: string[];
|
|
97
105
|
xHttpExtraParams?: unknown;
|
|
@@ -122,6 +130,7 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
122
130
|
verifyPeerCertByName: string | null;
|
|
123
131
|
shuffleHost: boolean;
|
|
124
132
|
mihomoX25519: boolean;
|
|
133
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
125
134
|
xrayJsonTemplateUuid: string | null;
|
|
126
135
|
excludedInternalSquads: string[];
|
|
127
136
|
isDisabled?: boolean | undefined;
|
|
@@ -164,6 +173,7 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
164
173
|
verifyPeerCertByName: string | null;
|
|
165
174
|
shuffleHost: boolean;
|
|
166
175
|
mihomoX25519: boolean;
|
|
176
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
167
177
|
xrayJsonTemplateUuid: string | null;
|
|
168
178
|
excludedInternalSquads: string[];
|
|
169
179
|
xHttpExtraParams?: unknown;
|
|
@@ -196,6 +206,7 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
196
206
|
verifyPeerCertByName: string | null;
|
|
197
207
|
shuffleHost: boolean;
|
|
198
208
|
mihomoX25519: boolean;
|
|
209
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
199
210
|
xrayJsonTemplateUuid: string | null;
|
|
200
211
|
excludedInternalSquads: string[];
|
|
201
212
|
isDisabled?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/enable-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAAmC,CAAC;IAC7C,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"enable-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/enable-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,sBAAsB,CAAC;IAC7B,MAAM,GAAG,0BAAmC,CAAC;IAC7C,MAAM,OAAO,0BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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"}
|
|
@@ -59,6 +59,13 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
59
59
|
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
60
60
|
shuffleHost: z.ZodBoolean;
|
|
61
61
|
mihomoX25519: z.ZodBoolean;
|
|
62
|
+
mihomoIpVersion: z.ZodNullable<z.ZodNativeEnum<{
|
|
63
|
+
readonly DUAL: "dual";
|
|
64
|
+
readonly IPV4: "ipv4";
|
|
65
|
+
readonly IPV6: "ipv6";
|
|
66
|
+
readonly IPV4_PREFER: "ipv4-prefer";
|
|
67
|
+
readonly IPV6_PREFER: "ipv6-prefer";
|
|
68
|
+
}>>;
|
|
62
69
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
63
70
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
64
71
|
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
@@ -98,6 +105,7 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
98
105
|
verifyPeerCertByName: string | null;
|
|
99
106
|
shuffleHost: boolean;
|
|
100
107
|
mihomoX25519: boolean;
|
|
108
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
101
109
|
xrayJsonTemplateUuid: string | null;
|
|
102
110
|
excludedInternalSquads: string[];
|
|
103
111
|
xHttpExtraParams?: unknown;
|
|
@@ -128,6 +136,7 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
128
136
|
verifyPeerCertByName: string | null;
|
|
129
137
|
shuffleHost: boolean;
|
|
130
138
|
mihomoX25519: boolean;
|
|
139
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
131
140
|
xrayJsonTemplateUuid: string | null;
|
|
132
141
|
excludedInternalSquads: string[];
|
|
133
142
|
isDisabled?: boolean | undefined;
|
|
@@ -170,6 +179,7 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
170
179
|
verifyPeerCertByName: string | null;
|
|
171
180
|
shuffleHost: boolean;
|
|
172
181
|
mihomoX25519: boolean;
|
|
182
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
173
183
|
xrayJsonTemplateUuid: string | null;
|
|
174
184
|
excludedInternalSquads: string[];
|
|
175
185
|
xHttpExtraParams?: unknown;
|
|
@@ -202,6 +212,7 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
202
212
|
verifyPeerCertByName: string | null;
|
|
203
213
|
shuffleHost: boolean;
|
|
204
214
|
mihomoX25519: boolean;
|
|
215
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
205
216
|
xrayJsonTemplateUuid: string | null;
|
|
206
217
|
excludedInternalSquads: string[];
|
|
207
218
|
isDisabled?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-inbound-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-inbound-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,GAAG,+BAAkC,CAAC;IAC5C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAIxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"set-inbound-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-inbound-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,4BAA4B,CAAC;IACnC,MAAM,GAAG,+BAAkC,CAAC;IAC5C,MAAM,OAAO,+BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;MAIxB,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"}
|
|
@@ -56,6 +56,13 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
56
56
|
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
57
57
|
shuffleHost: z.ZodBoolean;
|
|
58
58
|
mihomoX25519: z.ZodBoolean;
|
|
59
|
+
mihomoIpVersion: z.ZodNullable<z.ZodNativeEnum<{
|
|
60
|
+
readonly DUAL: "dual";
|
|
61
|
+
readonly IPV4: "ipv4";
|
|
62
|
+
readonly IPV6: "ipv6";
|
|
63
|
+
readonly IPV4_PREFER: "ipv4-prefer";
|
|
64
|
+
readonly IPV6_PREFER: "ipv6-prefer";
|
|
65
|
+
}>>;
|
|
59
66
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
60
67
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
61
68
|
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
@@ -95,6 +102,7 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
95
102
|
verifyPeerCertByName: string | null;
|
|
96
103
|
shuffleHost: boolean;
|
|
97
104
|
mihomoX25519: boolean;
|
|
105
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
98
106
|
xrayJsonTemplateUuid: string | null;
|
|
99
107
|
excludedInternalSquads: string[];
|
|
100
108
|
xHttpExtraParams?: unknown;
|
|
@@ -125,6 +133,7 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
125
133
|
verifyPeerCertByName: string | null;
|
|
126
134
|
shuffleHost: boolean;
|
|
127
135
|
mihomoX25519: boolean;
|
|
136
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
128
137
|
xrayJsonTemplateUuid: string | null;
|
|
129
138
|
excludedInternalSquads: string[];
|
|
130
139
|
isDisabled?: boolean | undefined;
|
|
@@ -167,6 +176,7 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
167
176
|
verifyPeerCertByName: string | null;
|
|
168
177
|
shuffleHost: boolean;
|
|
169
178
|
mihomoX25519: boolean;
|
|
179
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
170
180
|
xrayJsonTemplateUuid: string | null;
|
|
171
181
|
excludedInternalSquads: string[];
|
|
172
182
|
xHttpExtraParams?: unknown;
|
|
@@ -199,6 +209,7 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
199
209
|
verifyPeerCertByName: string | null;
|
|
200
210
|
shuffleHost: boolean;
|
|
201
211
|
mihomoX25519: boolean;
|
|
212
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
202
213
|
xrayJsonTemplateUuid: string | null;
|
|
203
214
|
excludedInternalSquads: string[];
|
|
204
215
|
isDisabled?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-port-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-port-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,4BAA+B,CAAC;IACzC,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"set-port-to-many-hosts.command.d.ts","sourceRoot":"","sources":["../../../../../commands/hosts/bulk/set-port-to-many-hosts.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,yBAAyB,CAAC;IAChC,MAAM,GAAG,4BAA+B,CAAC;IACzC,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;MAGxB,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"}
|
|
@@ -59,6 +59,13 @@ export declare namespace CreateHostCommand {
|
|
|
59
59
|
vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
60
60
|
shuffleHost: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
61
61
|
mihomoX25519: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
62
|
+
mihomoIpVersion: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<{
|
|
63
|
+
readonly DUAL: "dual";
|
|
64
|
+
readonly IPV4: "ipv4";
|
|
65
|
+
readonly IPV6: "ipv6";
|
|
66
|
+
readonly IPV4_PREFER: "ipv4-prefer";
|
|
67
|
+
readonly IPV6_PREFER: "ipv6-prefer";
|
|
68
|
+
}>>>;
|
|
62
69
|
nodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
63
70
|
xrayJsonTemplateUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
71
|
excludedInternalSquads: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -100,6 +107,7 @@ export declare namespace CreateHostCommand {
|
|
|
100
107
|
verifyPeerCertByName?: string | null | undefined;
|
|
101
108
|
shuffleHost?: boolean | undefined;
|
|
102
109
|
mihomoX25519?: boolean | undefined;
|
|
110
|
+
mihomoIpVersion?: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null | undefined;
|
|
103
111
|
xrayJsonTemplateUuid?: string | null | undefined;
|
|
104
112
|
excludedInternalSquads?: string[] | undefined;
|
|
105
113
|
excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
|
|
@@ -133,6 +141,7 @@ export declare namespace CreateHostCommand {
|
|
|
133
141
|
verifyPeerCertByName?: string | null | undefined;
|
|
134
142
|
shuffleHost?: boolean | undefined;
|
|
135
143
|
mihomoX25519?: boolean | undefined;
|
|
144
|
+
mihomoIpVersion?: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null | undefined;
|
|
136
145
|
xrayJsonTemplateUuid?: string | null | undefined;
|
|
137
146
|
excludedInternalSquads?: string[] | undefined;
|
|
138
147
|
excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
|
|
@@ -180,6 +189,13 @@ export declare namespace CreateHostCommand {
|
|
|
180
189
|
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
181
190
|
shuffleHost: z.ZodBoolean;
|
|
182
191
|
mihomoX25519: z.ZodBoolean;
|
|
192
|
+
mihomoIpVersion: z.ZodNullable<z.ZodNativeEnum<{
|
|
193
|
+
readonly DUAL: "dual";
|
|
194
|
+
readonly IPV4: "ipv4";
|
|
195
|
+
readonly IPV6: "ipv6";
|
|
196
|
+
readonly IPV4_PREFER: "ipv4-prefer";
|
|
197
|
+
readonly IPV6_PREFER: "ipv6-prefer";
|
|
198
|
+
}>>;
|
|
183
199
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
184
200
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
185
201
|
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
@@ -219,6 +235,7 @@ export declare namespace CreateHostCommand {
|
|
|
219
235
|
verifyPeerCertByName: string | null;
|
|
220
236
|
shuffleHost: boolean;
|
|
221
237
|
mihomoX25519: boolean;
|
|
238
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
222
239
|
xrayJsonTemplateUuid: string | null;
|
|
223
240
|
excludedInternalSquads: string[];
|
|
224
241
|
xHttpExtraParams?: unknown;
|
|
@@ -249,6 +266,7 @@ export declare namespace CreateHostCommand {
|
|
|
249
266
|
verifyPeerCertByName: string | null;
|
|
250
267
|
shuffleHost: boolean;
|
|
251
268
|
mihomoX25519: boolean;
|
|
269
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
252
270
|
xrayJsonTemplateUuid: string | null;
|
|
253
271
|
excludedInternalSquads: string[];
|
|
254
272
|
isDisabled?: boolean | undefined;
|
|
@@ -291,6 +309,7 @@ export declare namespace CreateHostCommand {
|
|
|
291
309
|
verifyPeerCertByName: string | null;
|
|
292
310
|
shuffleHost: boolean;
|
|
293
311
|
mihomoX25519: boolean;
|
|
312
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
294
313
|
xrayJsonTemplateUuid: string | null;
|
|
295
314
|
excludedInternalSquads: string[];
|
|
296
315
|
xHttpExtraParams?: unknown;
|
|
@@ -323,6 +342,7 @@ export declare namespace CreateHostCommand {
|
|
|
323
342
|
verifyPeerCertByName: string | null;
|
|
324
343
|
shuffleHost: boolean;
|
|
325
344
|
mihomoX25519: boolean;
|
|
345
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
326
346
|
xrayJsonTemplateUuid: string | null;
|
|
327
347
|
excludedInternalSquads: string[];
|
|
328
348
|
isDisabled?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"create.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/create.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA0ExB,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"}
|
|
@@ -65,6 +65,7 @@ var CreateHostCommand;
|
|
|
65
65
|
vlessRouteId: zod_1.z.optional(zod_1.z.number().int().min(0).max(65535).nullable()),
|
|
66
66
|
shuffleHost: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
|
67
67
|
mihomoX25519: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
|
68
|
+
mihomoIpVersion: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.MIHOMO_IP_VERSION).nullable()),
|
|
68
69
|
nodes: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid())),
|
|
69
70
|
xrayJsonTemplateUuid: zod_1.z.optional(zod_1.z.string().uuid().nullable()),
|
|
70
71
|
excludedInternalSquads: zod_1.z
|
|
@@ -45,6 +45,13 @@ export declare namespace GetAllHostsCommand {
|
|
|
45
45
|
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
46
46
|
shuffleHost: z.ZodBoolean;
|
|
47
47
|
mihomoX25519: z.ZodBoolean;
|
|
48
|
+
mihomoIpVersion: z.ZodNullable<z.ZodNativeEnum<{
|
|
49
|
+
readonly DUAL: "dual";
|
|
50
|
+
readonly IPV4: "ipv4";
|
|
51
|
+
readonly IPV6: "ipv6";
|
|
52
|
+
readonly IPV4_PREFER: "ipv4-prefer";
|
|
53
|
+
readonly IPV6_PREFER: "ipv6-prefer";
|
|
54
|
+
}>>;
|
|
48
55
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
49
56
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
50
57
|
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
@@ -84,6 +91,7 @@ export declare namespace GetAllHostsCommand {
|
|
|
84
91
|
verifyPeerCertByName: string | null;
|
|
85
92
|
shuffleHost: boolean;
|
|
86
93
|
mihomoX25519: boolean;
|
|
94
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
87
95
|
xrayJsonTemplateUuid: string | null;
|
|
88
96
|
excludedInternalSquads: string[];
|
|
89
97
|
xHttpExtraParams?: unknown;
|
|
@@ -114,6 +122,7 @@ export declare namespace GetAllHostsCommand {
|
|
|
114
122
|
verifyPeerCertByName: string | null;
|
|
115
123
|
shuffleHost: boolean;
|
|
116
124
|
mihomoX25519: boolean;
|
|
125
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
117
126
|
xrayJsonTemplateUuid: string | null;
|
|
118
127
|
excludedInternalSquads: string[];
|
|
119
128
|
isDisabled?: boolean | undefined;
|
|
@@ -156,6 +165,7 @@ export declare namespace GetAllHostsCommand {
|
|
|
156
165
|
verifyPeerCertByName: string | null;
|
|
157
166
|
shuffleHost: boolean;
|
|
158
167
|
mihomoX25519: boolean;
|
|
168
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
159
169
|
xrayJsonTemplateUuid: string | null;
|
|
160
170
|
excludedInternalSquads: string[];
|
|
161
171
|
xHttpExtraParams?: unknown;
|
|
@@ -188,6 +198,7 @@ export declare namespace GetAllHostsCommand {
|
|
|
188
198
|
verifyPeerCertByName: string | null;
|
|
189
199
|
shuffleHost: boolean;
|
|
190
200
|
mihomoX25519: boolean;
|
|
201
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
191
202
|
xrayJsonTemplateUuid: string | null;
|
|
192
203
|
excludedInternalSquads: string[];
|
|
193
204
|
isDisabled?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-all.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/get-all.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,eAAqB,CAAC;IAC/B,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAA+D,CAAC;IAErF,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -53,6 +53,13 @@ export declare namespace GetOneHostCommand {
|
|
|
53
53
|
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
54
54
|
shuffleHost: z.ZodBoolean;
|
|
55
55
|
mihomoX25519: z.ZodBoolean;
|
|
56
|
+
mihomoIpVersion: z.ZodNullable<z.ZodNativeEnum<{
|
|
57
|
+
readonly DUAL: "dual";
|
|
58
|
+
readonly IPV4: "ipv4";
|
|
59
|
+
readonly IPV6: "ipv6";
|
|
60
|
+
readonly IPV4_PREFER: "ipv4-prefer";
|
|
61
|
+
readonly IPV6_PREFER: "ipv6-prefer";
|
|
62
|
+
}>>;
|
|
56
63
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
57
64
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
58
65
|
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
@@ -92,6 +99,7 @@ export declare namespace GetOneHostCommand {
|
|
|
92
99
|
verifyPeerCertByName: string | null;
|
|
93
100
|
shuffleHost: boolean;
|
|
94
101
|
mihomoX25519: boolean;
|
|
102
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
95
103
|
xrayJsonTemplateUuid: string | null;
|
|
96
104
|
excludedInternalSquads: string[];
|
|
97
105
|
xHttpExtraParams?: unknown;
|
|
@@ -122,6 +130,7 @@ export declare namespace GetOneHostCommand {
|
|
|
122
130
|
verifyPeerCertByName: string | null;
|
|
123
131
|
shuffleHost: boolean;
|
|
124
132
|
mihomoX25519: boolean;
|
|
133
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
125
134
|
xrayJsonTemplateUuid: string | null;
|
|
126
135
|
excludedInternalSquads: string[];
|
|
127
136
|
isDisabled?: boolean | undefined;
|
|
@@ -164,6 +173,7 @@ export declare namespace GetOneHostCommand {
|
|
|
164
173
|
verifyPeerCertByName: string | null;
|
|
165
174
|
shuffleHost: boolean;
|
|
166
175
|
mihomoX25519: boolean;
|
|
176
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
167
177
|
xrayJsonTemplateUuid: string | null;
|
|
168
178
|
excludedInternalSquads: string[];
|
|
169
179
|
xHttpExtraParams?: unknown;
|
|
@@ -196,6 +206,7 @@ export declare namespace GetOneHostCommand {
|
|
|
196
206
|
verifyPeerCertByName: string | null;
|
|
197
207
|
shuffleHost: boolean;
|
|
198
208
|
mihomoX25519: boolean;
|
|
209
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
199
210
|
xrayJsonTemplateUuid: string | null;
|
|
200
211
|
excludedInternalSquads: string[];
|
|
201
212
|
isDisabled?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/get-one.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-one.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/get-one.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,0BAA6B,CAAC;IACvC,MAAM,OAAO,QAAe,CAAC;IAE7B,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,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"}
|
|
@@ -45,6 +45,13 @@ export declare namespace ReorderHostCommand {
|
|
|
45
45
|
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
46
46
|
shuffleHost: z.ZodBoolean;
|
|
47
47
|
mihomoX25519: z.ZodBoolean;
|
|
48
|
+
mihomoIpVersion: z.ZodNullable<z.ZodNativeEnum<{
|
|
49
|
+
readonly DUAL: "dual";
|
|
50
|
+
readonly IPV4: "ipv4";
|
|
51
|
+
readonly IPV6: "ipv6";
|
|
52
|
+
readonly IPV4_PREFER: "ipv4-prefer";
|
|
53
|
+
readonly IPV6_PREFER: "ipv6-prefer";
|
|
54
|
+
}>>;
|
|
48
55
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
49
56
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
50
57
|
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"reorder.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/reorder.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,kBAAkB,CAAC;IACzB,MAAM,GAAG,8BAAiC,CAAC;IAC3C,MAAM,OAAO,8BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -44,6 +44,13 @@ export declare namespace UpdateHostCommand {
|
|
|
44
44
|
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
45
45
|
shuffleHost: z.ZodBoolean;
|
|
46
46
|
mihomoX25519: z.ZodBoolean;
|
|
47
|
+
mihomoIpVersion: z.ZodNullable<z.ZodNativeEnum<{
|
|
48
|
+
readonly DUAL: "dual";
|
|
49
|
+
readonly IPV4: "ipv4";
|
|
50
|
+
readonly IPV6: "ipv6";
|
|
51
|
+
readonly IPV4_PREFER: "ipv4-prefer";
|
|
52
|
+
readonly IPV6_PREFER: "ipv6-prefer";
|
|
53
|
+
}>>;
|
|
47
54
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
48
55
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
49
56
|
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
@@ -111,6 +118,13 @@ export declare namespace UpdateHostCommand {
|
|
|
111
118
|
verifyPeerCertByName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
112
119
|
shuffleHost: z.ZodOptional<z.ZodBoolean>;
|
|
113
120
|
mihomoX25519: z.ZodOptional<z.ZodBoolean>;
|
|
121
|
+
mihomoIpVersion: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<{
|
|
122
|
+
readonly DUAL: "dual";
|
|
123
|
+
readonly IPV4: "ipv4";
|
|
124
|
+
readonly IPV6: "ipv6";
|
|
125
|
+
readonly IPV4_PREFER: "ipv4-prefer";
|
|
126
|
+
readonly IPV6_PREFER: "ipv6-prefer";
|
|
127
|
+
}>>>;
|
|
114
128
|
nodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
115
129
|
xrayJsonTemplateUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
116
130
|
excludedInternalSquads: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -153,6 +167,7 @@ export declare namespace UpdateHostCommand {
|
|
|
153
167
|
verifyPeerCertByName?: string | null | undefined;
|
|
154
168
|
shuffleHost?: boolean | undefined;
|
|
155
169
|
mihomoX25519?: boolean | undefined;
|
|
170
|
+
mihomoIpVersion?: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null | undefined;
|
|
156
171
|
xrayJsonTemplateUuid?: string | null | undefined;
|
|
157
172
|
excludedInternalSquads?: string[] | undefined;
|
|
158
173
|
excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
|
|
@@ -187,6 +202,7 @@ export declare namespace UpdateHostCommand {
|
|
|
187
202
|
verifyPeerCertByName?: string | null | undefined;
|
|
188
203
|
shuffleHost?: boolean | undefined;
|
|
189
204
|
mihomoX25519?: boolean | undefined;
|
|
205
|
+
mihomoIpVersion?: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null | undefined;
|
|
190
206
|
xrayJsonTemplateUuid?: string | null | undefined;
|
|
191
207
|
excludedInternalSquads?: string[] | undefined;
|
|
192
208
|
excludeFromSubscriptionTypes?: ("STASH" | "SINGBOX" | "MIHOMO" | "XRAY_JSON" | "CLASH" | "XRAY_BASE64")[] | undefined;
|
|
@@ -234,6 +250,13 @@ export declare namespace UpdateHostCommand {
|
|
|
234
250
|
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
235
251
|
shuffleHost: z.ZodBoolean;
|
|
236
252
|
mihomoX25519: z.ZodBoolean;
|
|
253
|
+
mihomoIpVersion: z.ZodNullable<z.ZodNativeEnum<{
|
|
254
|
+
readonly DUAL: "dual";
|
|
255
|
+
readonly IPV4: "ipv4";
|
|
256
|
+
readonly IPV6: "ipv6";
|
|
257
|
+
readonly IPV4_PREFER: "ipv4-prefer";
|
|
258
|
+
readonly IPV6_PREFER: "ipv6-prefer";
|
|
259
|
+
}>>;
|
|
237
260
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
238
261
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
239
262
|
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
@@ -273,6 +296,7 @@ export declare namespace UpdateHostCommand {
|
|
|
273
296
|
verifyPeerCertByName: string | null;
|
|
274
297
|
shuffleHost: boolean;
|
|
275
298
|
mihomoX25519: boolean;
|
|
299
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
276
300
|
xrayJsonTemplateUuid: string | null;
|
|
277
301
|
excludedInternalSquads: string[];
|
|
278
302
|
xHttpExtraParams?: unknown;
|
|
@@ -303,6 +327,7 @@ export declare namespace UpdateHostCommand {
|
|
|
303
327
|
verifyPeerCertByName: string | null;
|
|
304
328
|
shuffleHost: boolean;
|
|
305
329
|
mihomoX25519: boolean;
|
|
330
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
306
331
|
xrayJsonTemplateUuid: string | null;
|
|
307
332
|
excludedInternalSquads: string[];
|
|
308
333
|
isDisabled?: boolean | undefined;
|
|
@@ -345,6 +370,7 @@ export declare namespace UpdateHostCommand {
|
|
|
345
370
|
verifyPeerCertByName: string | null;
|
|
346
371
|
shuffleHost: boolean;
|
|
347
372
|
mihomoX25519: boolean;
|
|
373
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
348
374
|
xrayJsonTemplateUuid: string | null;
|
|
349
375
|
excludedInternalSquads: string[];
|
|
350
376
|
xHttpExtraParams?: unknown;
|
|
@@ -377,6 +403,7 @@ export declare namespace UpdateHostCommand {
|
|
|
377
403
|
verifyPeerCertByName: string | null;
|
|
378
404
|
shuffleHost: boolean;
|
|
379
405
|
mihomoX25519: boolean;
|
|
406
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
380
407
|
xrayJsonTemplateUuid: string | null;
|
|
381
408
|
excludedInternalSquads: string[];
|
|
382
409
|
isDisabled?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"update.command.d.ts","sourceRoot":"","sources":["../../../../commands/hosts/update.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA8ExB,CAAC;IACH,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"}
|
|
@@ -70,6 +70,7 @@ var UpdateHostCommand;
|
|
|
70
70
|
verifyPeerCertByName: zod_1.z.optional(zod_1.z.string().nullable()),
|
|
71
71
|
shuffleHost: zod_1.z.optional(zod_1.z.boolean()),
|
|
72
72
|
mihomoX25519: zod_1.z.optional(zod_1.z.boolean()),
|
|
73
|
+
mihomoIpVersion: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.MIHOMO_IP_VERSION).nullable()),
|
|
73
74
|
nodes: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid())),
|
|
74
75
|
xrayJsonTemplateUuid: zod_1.z.optional(zod_1.z.string().uuid().nullable()),
|
|
75
76
|
excludedInternalSquads: zod_1.z
|
package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts
CHANGED
|
@@ -409,6 +409,13 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
409
409
|
securityOptions: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
410
410
|
pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
|
|
411
411
|
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
412
|
+
mihomoIpVersion: z.ZodNullable<z.ZodNativeEnum<{
|
|
413
|
+
readonly DUAL: "dual";
|
|
414
|
+
readonly IPV4: "ipv4";
|
|
415
|
+
readonly IPV6: "ipv6";
|
|
416
|
+
readonly IPV4_PREFER: "ipv4-prefer";
|
|
417
|
+
readonly IPV6_PREFER: "ipv6-prefer";
|
|
418
|
+
}>>;
|
|
412
419
|
alpn: z.ZodNullable<z.ZodString>;
|
|
413
420
|
enableSessionResumption: z.ZodBoolean;
|
|
414
421
|
fingerprint: z.ZodNullable<z.ZodString>;
|
|
@@ -420,6 +427,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
420
427
|
fingerprint: string | null;
|
|
421
428
|
pinnedPeerCertSha256: string | null;
|
|
422
429
|
verifyPeerCertByName: string | null;
|
|
430
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
423
431
|
enableSessionResumption: boolean;
|
|
424
432
|
serverName: string | null;
|
|
425
433
|
echConfigList: string | null;
|
|
@@ -429,6 +437,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
429
437
|
fingerprint: string | null;
|
|
430
438
|
pinnedPeerCertSha256: string | null;
|
|
431
439
|
verifyPeerCertByName: string | null;
|
|
440
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
432
441
|
enableSessionResumption: boolean;
|
|
433
442
|
serverName: string | null;
|
|
434
443
|
echConfigList: string | null;
|
|
@@ -623,6 +632,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
623
632
|
fingerprint: string | null;
|
|
624
633
|
pinnedPeerCertSha256: string | null;
|
|
625
634
|
verifyPeerCertByName: string | null;
|
|
635
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
626
636
|
enableSessionResumption: boolean;
|
|
627
637
|
serverName: string | null;
|
|
628
638
|
echConfigList: string | null;
|
|
@@ -730,6 +740,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
730
740
|
fingerprint: string | null;
|
|
731
741
|
pinnedPeerCertSha256: string | null;
|
|
732
742
|
verifyPeerCertByName: string | null;
|
|
743
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
733
744
|
enableSessionResumption: boolean;
|
|
734
745
|
serverName: string | null;
|
|
735
746
|
echConfigList: string | null;
|
|
@@ -883,6 +894,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
883
894
|
fingerprint: string | null;
|
|
884
895
|
pinnedPeerCertSha256: string | null;
|
|
885
896
|
verifyPeerCertByName: string | null;
|
|
897
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
886
898
|
enableSessionResumption: boolean;
|
|
887
899
|
serverName: string | null;
|
|
888
900
|
echConfigList: string | null;
|
|
@@ -1036,6 +1048,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
1036
1048
|
fingerprint: string | null;
|
|
1037
1049
|
pinnedPeerCertSha256: string | null;
|
|
1038
1050
|
verifyPeerCertByName: string | null;
|
|
1051
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
1039
1052
|
enableSessionResumption: boolean;
|
|
1040
1053
|
serverName: string | null;
|
|
1041
1054
|
echConfigList: string | null;
|
|
@@ -1191,6 +1204,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
1191
1204
|
fingerprint: string | null;
|
|
1192
1205
|
pinnedPeerCertSha256: string | null;
|
|
1193
1206
|
verifyPeerCertByName: string | null;
|
|
1207
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
1194
1208
|
enableSessionResumption: boolean;
|
|
1195
1209
|
serverName: string | null;
|
|
1196
1210
|
echConfigList: string | null;
|
|
@@ -1346,6 +1360,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
1346
1360
|
fingerprint: string | null;
|
|
1347
1361
|
pinnedPeerCertSha256: string | null;
|
|
1348
1362
|
verifyPeerCertByName: string | null;
|
|
1363
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
1349
1364
|
enableSessionResumption: boolean;
|
|
1350
1365
|
serverName: string | null;
|
|
1351
1366
|
echConfigList: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-raw-subscription-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oCAAoC,CAAC;IAC3C,MAAM,GAAG,+BAA+C,CAAC;IACzD,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,kBAAkB;;;;;;MAM7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-raw-subscription-by-short-uuid.command.d.ts","sourceRoot":"","sources":["../../../../../commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,oCAAoC,CAAC;IAC3C,MAAM,GAAG,+BAA+C,CAAC;IACzD,MAAM,OAAO,QAAoB,CAAC;IAElC,MAAM,eAAe,8CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,kBAAkB;;;;;;MAM7B,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAazB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../constants/hosts/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../constants/hosts/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC"}
|
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./alpn"), exports);
|
|
18
18
|
__exportStar(require("./fingerprints"), exports);
|
|
19
|
+
__exportStar(require("./mihomo-ip-version"), exports);
|
|
19
20
|
__exportStar(require("./security-layers"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const MIHOMO_IP_VERSION: {
|
|
2
|
+
readonly DUAL: "dual";
|
|
3
|
+
readonly IPV4: "ipv4";
|
|
4
|
+
readonly IPV6: "ipv6";
|
|
5
|
+
readonly IPV4_PREFER: "ipv4-prefer";
|
|
6
|
+
readonly IPV6_PREFER: "ipv6-prefer";
|
|
7
|
+
};
|
|
8
|
+
export type TMihomoIpVersion = (typeof MIHOMO_IP_VERSION)[keyof typeof MIHOMO_IP_VERSION];
|
|
9
|
+
export declare const MIHOMO_IP_VERSION_VALUES: ("dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer")[];
|
|
10
|
+
//# sourceMappingURL=mihomo-ip-version.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mihomo-ip-version.d.ts","sourceRoot":"","sources":["../../../../constants/hosts/mihomo-ip-version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB;;;;;;CAMpB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAC1F,eAAO,MAAM,wBAAwB,8DAAmC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MIHOMO_IP_VERSION_VALUES = exports.MIHOMO_IP_VERSION = void 0;
|
|
4
|
+
exports.MIHOMO_IP_VERSION = {
|
|
5
|
+
DUAL: 'dual',
|
|
6
|
+
IPV4: 'ipv4',
|
|
7
|
+
IPV6: 'ipv6',
|
|
8
|
+
IPV4_PREFER: 'ipv4-prefer',
|
|
9
|
+
IPV6_PREFER: 'ipv6-prefer',
|
|
10
|
+
};
|
|
11
|
+
exports.MIHOMO_IP_VERSION_VALUES = Object.values(exports.MIHOMO_IP_VERSION);
|
|
@@ -40,6 +40,13 @@ export declare const HostsSchema: z.ZodObject<{
|
|
|
40
40
|
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
41
41
|
shuffleHost: z.ZodBoolean;
|
|
42
42
|
mihomoX25519: z.ZodBoolean;
|
|
43
|
+
mihomoIpVersion: z.ZodNullable<z.ZodNativeEnum<{
|
|
44
|
+
readonly DUAL: "dual";
|
|
45
|
+
readonly IPV4: "ipv4";
|
|
46
|
+
readonly IPV6: "ipv6";
|
|
47
|
+
readonly IPV4_PREFER: "ipv4-prefer";
|
|
48
|
+
readonly IPV6_PREFER: "ipv6-prefer";
|
|
49
|
+
}>>;
|
|
43
50
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
44
51
|
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
45
52
|
excludedInternalSquads: z.ZodArray<z.ZodString, "many">;
|
|
@@ -79,6 +86,7 @@ export declare const HostsSchema: z.ZodObject<{
|
|
|
79
86
|
verifyPeerCertByName: string | null;
|
|
80
87
|
shuffleHost: boolean;
|
|
81
88
|
mihomoX25519: boolean;
|
|
89
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
82
90
|
xrayJsonTemplateUuid: string | null;
|
|
83
91
|
excludedInternalSquads: string[];
|
|
84
92
|
xHttpExtraParams?: unknown;
|
|
@@ -109,6 +117,7 @@ export declare const HostsSchema: z.ZodObject<{
|
|
|
109
117
|
verifyPeerCertByName: string | null;
|
|
110
118
|
shuffleHost: boolean;
|
|
111
119
|
mihomoX25519: boolean;
|
|
120
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
112
121
|
xrayJsonTemplateUuid: string | null;
|
|
113
122
|
excludedInternalSquads: string[];
|
|
114
123
|
isDisabled?: boolean | undefined;
|
|
@@ -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;AAKxB,eAAO,MAAM,WAAW
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuCtB,CAAC"}
|
|
@@ -2,8 +2,8 @@
|
|
|
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");
|
|
6
5
|
const hosts_1 = require("../constants/hosts");
|
|
6
|
+
const constants_1 = require("../constants");
|
|
7
7
|
exports.HostsSchema = zod_1.z.object({
|
|
8
8
|
uuid: zod_1.z.string().uuid(),
|
|
9
9
|
viewPosition: zod_1.z.number().int(),
|
|
@@ -35,6 +35,7 @@ exports.HostsSchema = zod_1.z.object({
|
|
|
35
35
|
verifyPeerCertByName: zod_1.z.string().nullable(),
|
|
36
36
|
shuffleHost: zod_1.z.boolean(),
|
|
37
37
|
mihomoX25519: zod_1.z.boolean(),
|
|
38
|
+
mihomoIpVersion: zod_1.z.nativeEnum(hosts_1.MIHOMO_IP_VERSION).nullable(),
|
|
38
39
|
nodes: zod_1.z.array(zod_1.z.string().uuid()),
|
|
39
40
|
xrayJsonTemplateUuid: zod_1.z.string().uuid().nullable(),
|
|
40
41
|
excludedInternalSquads: zod_1.z.array(zod_1.z.string().uuid()),
|
|
@@ -233,6 +233,13 @@ export declare const HysteriaTransportOptionsSchema: z.ZodObject<{
|
|
|
233
233
|
export declare const TlsSecurityOptionsSchema: z.ZodObject<{
|
|
234
234
|
pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
|
|
235
235
|
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
236
|
+
mihomoIpVersion: z.ZodNullable<z.ZodNativeEnum<{
|
|
237
|
+
readonly DUAL: "dual";
|
|
238
|
+
readonly IPV4: "ipv4";
|
|
239
|
+
readonly IPV6: "ipv6";
|
|
240
|
+
readonly IPV4_PREFER: "ipv4-prefer";
|
|
241
|
+
readonly IPV6_PREFER: "ipv6-prefer";
|
|
242
|
+
}>>;
|
|
236
243
|
alpn: z.ZodNullable<z.ZodString>;
|
|
237
244
|
enableSessionResumption: z.ZodBoolean;
|
|
238
245
|
fingerprint: z.ZodNullable<z.ZodString>;
|
|
@@ -244,6 +251,7 @@ export declare const TlsSecurityOptionsSchema: z.ZodObject<{
|
|
|
244
251
|
fingerprint: string | null;
|
|
245
252
|
pinnedPeerCertSha256: string | null;
|
|
246
253
|
verifyPeerCertByName: string | null;
|
|
254
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
247
255
|
enableSessionResumption: boolean;
|
|
248
256
|
serverName: string | null;
|
|
249
257
|
echConfigList: string | null;
|
|
@@ -253,6 +261,7 @@ export declare const TlsSecurityOptionsSchema: z.ZodObject<{
|
|
|
253
261
|
fingerprint: string | null;
|
|
254
262
|
pinnedPeerCertSha256: string | null;
|
|
255
263
|
verifyPeerCertByName: string | null;
|
|
264
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
256
265
|
enableSessionResumption: boolean;
|
|
257
266
|
serverName: string | null;
|
|
258
267
|
echConfigList: string | null;
|
|
@@ -718,6 +727,13 @@ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security",
|
|
|
718
727
|
securityOptions: z.ZodObject<{
|
|
719
728
|
pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
|
|
720
729
|
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
730
|
+
mihomoIpVersion: z.ZodNullable<z.ZodNativeEnum<{
|
|
731
|
+
readonly DUAL: "dual";
|
|
732
|
+
readonly IPV4: "ipv4";
|
|
733
|
+
readonly IPV6: "ipv6";
|
|
734
|
+
readonly IPV4_PREFER: "ipv4-prefer";
|
|
735
|
+
readonly IPV6_PREFER: "ipv6-prefer";
|
|
736
|
+
}>>;
|
|
721
737
|
alpn: z.ZodNullable<z.ZodString>;
|
|
722
738
|
enableSessionResumption: z.ZodBoolean;
|
|
723
739
|
fingerprint: z.ZodNullable<z.ZodString>;
|
|
@@ -729,6 +745,7 @@ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security",
|
|
|
729
745
|
fingerprint: string | null;
|
|
730
746
|
pinnedPeerCertSha256: string | null;
|
|
731
747
|
verifyPeerCertByName: string | null;
|
|
748
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
732
749
|
enableSessionResumption: boolean;
|
|
733
750
|
serverName: string | null;
|
|
734
751
|
echConfigList: string | null;
|
|
@@ -738,6 +755,7 @@ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security",
|
|
|
738
755
|
fingerprint: string | null;
|
|
739
756
|
pinnedPeerCertSha256: string | null;
|
|
740
757
|
verifyPeerCertByName: string | null;
|
|
758
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
741
759
|
enableSessionResumption: boolean;
|
|
742
760
|
serverName: string | null;
|
|
743
761
|
echConfigList: string | null;
|
|
@@ -750,6 +768,7 @@ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security",
|
|
|
750
768
|
fingerprint: string | null;
|
|
751
769
|
pinnedPeerCertSha256: string | null;
|
|
752
770
|
verifyPeerCertByName: string | null;
|
|
771
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
753
772
|
enableSessionResumption: boolean;
|
|
754
773
|
serverName: string | null;
|
|
755
774
|
echConfigList: string | null;
|
|
@@ -762,6 +781,7 @@ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security",
|
|
|
762
781
|
fingerprint: string | null;
|
|
763
782
|
pinnedPeerCertSha256: string | null;
|
|
764
783
|
verifyPeerCertByName: string | null;
|
|
784
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
765
785
|
enableSessionResumption: boolean;
|
|
766
786
|
serverName: string | null;
|
|
767
787
|
echConfigList: string | null;
|
|
@@ -1097,6 +1117,13 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
|
|
|
1097
1117
|
securityOptions: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1098
1118
|
pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
|
|
1099
1119
|
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
1120
|
+
mihomoIpVersion: z.ZodNullable<z.ZodNativeEnum<{
|
|
1121
|
+
readonly DUAL: "dual";
|
|
1122
|
+
readonly IPV4: "ipv4";
|
|
1123
|
+
readonly IPV6: "ipv6";
|
|
1124
|
+
readonly IPV4_PREFER: "ipv4-prefer";
|
|
1125
|
+
readonly IPV6_PREFER: "ipv6-prefer";
|
|
1126
|
+
}>>;
|
|
1100
1127
|
alpn: z.ZodNullable<z.ZodString>;
|
|
1101
1128
|
enableSessionResumption: z.ZodBoolean;
|
|
1102
1129
|
fingerprint: z.ZodNullable<z.ZodString>;
|
|
@@ -1108,6 +1135,7 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
|
|
|
1108
1135
|
fingerprint: string | null;
|
|
1109
1136
|
pinnedPeerCertSha256: string | null;
|
|
1110
1137
|
verifyPeerCertByName: string | null;
|
|
1138
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
1111
1139
|
enableSessionResumption: boolean;
|
|
1112
1140
|
serverName: string | null;
|
|
1113
1141
|
echConfigList: string | null;
|
|
@@ -1117,6 +1145,7 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
|
|
|
1117
1145
|
fingerprint: string | null;
|
|
1118
1146
|
pinnedPeerCertSha256: string | null;
|
|
1119
1147
|
verifyPeerCertByName: string | null;
|
|
1148
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
1120
1149
|
enableSessionResumption: boolean;
|
|
1121
1150
|
serverName: string | null;
|
|
1122
1151
|
echConfigList: string | null;
|
|
@@ -1311,6 +1340,7 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
|
|
|
1311
1340
|
fingerprint: string | null;
|
|
1312
1341
|
pinnedPeerCertSha256: string | null;
|
|
1313
1342
|
verifyPeerCertByName: string | null;
|
|
1343
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
1314
1344
|
enableSessionResumption: boolean;
|
|
1315
1345
|
serverName: string | null;
|
|
1316
1346
|
echConfigList: string | null;
|
|
@@ -1418,6 +1448,7 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
|
|
|
1418
1448
|
fingerprint: string | null;
|
|
1419
1449
|
pinnedPeerCertSha256: string | null;
|
|
1420
1450
|
verifyPeerCertByName: string | null;
|
|
1451
|
+
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
1421
1452
|
enableSessionResumption: boolean;
|
|
1422
1453
|
serverName: string | null;
|
|
1423
1454
|
echConfigList: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolved-proxy-config.schema.d.ts","sourceRoot":"","sources":["../../../models/resolved-proxy-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAIrC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;EAEtC,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;EAK3C,CAAC;AA4BH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEpC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;EAKtC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;EAKnC,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;EAI5C,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAIrC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;EAIpC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;EAExC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;EAGzC,CAAC;AAEH,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"resolved-proxy-config.schema.d.ts","sourceRoot":"","sources":["../../../models/resolved-proxy-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAIrC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;EAEtC,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;EAK3C,CAAC;AA4BH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEpC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;EAKtC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;EAKnC,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;EAI5C,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAIrC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;EAIpC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;EAExC,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;EAGzC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUnC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;EAOvC,CAAC;AAsBH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKhC,CAAC;AAqCH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQjC,CAAC;AAgBH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIhC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAanC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0CpC,CAAC"}
|
|
@@ -78,6 +78,7 @@ exports.HysteriaTransportOptionsSchema = zod_1.z.object({
|
|
|
78
78
|
exports.TlsSecurityOptionsSchema = zod_1.z.object({
|
|
79
79
|
pinnedPeerCertSha256: zod_1.z.string().nullable(),
|
|
80
80
|
verifyPeerCertByName: zod_1.z.string().nullable(),
|
|
81
|
+
mihomoIpVersion: zod_1.z.nativeEnum(constants_1.MIHOMO_IP_VERSION).nullable(),
|
|
81
82
|
alpn: zod_1.z.string().nullable(),
|
|
82
83
|
enableSessionResumption: zod_1.z.boolean(),
|
|
83
84
|
fingerprint: zod_1.z.string().nullable(),
|
|
@@ -65,6 +65,7 @@ var CreateHostCommand;
|
|
|
65
65
|
vlessRouteId: zod_1.z.optional(zod_1.z.number().int().min(0).max(65535).nullable()),
|
|
66
66
|
shuffleHost: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
|
67
67
|
mihomoX25519: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
|
68
|
+
mihomoIpVersion: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.MIHOMO_IP_VERSION).nullable()),
|
|
68
69
|
nodes: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid())),
|
|
69
70
|
xrayJsonTemplateUuid: zod_1.z.optional(zod_1.z.string().uuid().nullable()),
|
|
70
71
|
excludedInternalSquads: zod_1.z
|
|
@@ -70,6 +70,7 @@ var UpdateHostCommand;
|
|
|
70
70
|
verifyPeerCertByName: zod_1.z.optional(zod_1.z.string().nullable()),
|
|
71
71
|
shuffleHost: zod_1.z.optional(zod_1.z.boolean()),
|
|
72
72
|
mihomoX25519: zod_1.z.optional(zod_1.z.boolean()),
|
|
73
|
+
mihomoIpVersion: zod_1.z.optional(zod_1.z.nativeEnum(constants_1.MIHOMO_IP_VERSION).nullable()),
|
|
73
74
|
nodes: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid())),
|
|
74
75
|
xrayJsonTemplateUuid: zod_1.z.optional(zod_1.z.string().uuid().nullable()),
|
|
75
76
|
excludedInternalSquads: zod_1.z
|
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./alpn"), exports);
|
|
18
18
|
__exportStar(require("./fingerprints"), exports);
|
|
19
|
+
__exportStar(require("./mihomo-ip-version"), exports);
|
|
19
20
|
__exportStar(require("./security-layers"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MIHOMO_IP_VERSION_VALUES = exports.MIHOMO_IP_VERSION = void 0;
|
|
4
|
+
exports.MIHOMO_IP_VERSION = {
|
|
5
|
+
DUAL: 'dual',
|
|
6
|
+
IPV4: 'ipv4',
|
|
7
|
+
IPV6: 'ipv6',
|
|
8
|
+
IPV4_PREFER: 'ipv4-prefer',
|
|
9
|
+
IPV6_PREFER: 'ipv6-prefer',
|
|
10
|
+
};
|
|
11
|
+
exports.MIHOMO_IP_VERSION_VALUES = Object.values(exports.MIHOMO_IP_VERSION);
|
|
@@ -2,8 +2,8 @@
|
|
|
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");
|
|
6
5
|
const hosts_1 = require("../constants/hosts");
|
|
6
|
+
const constants_1 = require("../constants");
|
|
7
7
|
exports.HostsSchema = zod_1.z.object({
|
|
8
8
|
uuid: zod_1.z.string().uuid(),
|
|
9
9
|
viewPosition: zod_1.z.number().int(),
|
|
@@ -35,6 +35,7 @@ exports.HostsSchema = zod_1.z.object({
|
|
|
35
35
|
verifyPeerCertByName: zod_1.z.string().nullable(),
|
|
36
36
|
shuffleHost: zod_1.z.boolean(),
|
|
37
37
|
mihomoX25519: zod_1.z.boolean(),
|
|
38
|
+
mihomoIpVersion: zod_1.z.nativeEnum(hosts_1.MIHOMO_IP_VERSION).nullable(),
|
|
38
39
|
nodes: zod_1.z.array(zod_1.z.string().uuid()),
|
|
39
40
|
xrayJsonTemplateUuid: zod_1.z.string().uuid().nullable(),
|
|
40
41
|
excludedInternalSquads: zod_1.z.array(zod_1.z.string().uuid()),
|
|
@@ -78,6 +78,7 @@ exports.HysteriaTransportOptionsSchema = zod_1.z.object({
|
|
|
78
78
|
exports.TlsSecurityOptionsSchema = zod_1.z.object({
|
|
79
79
|
pinnedPeerCertSha256: zod_1.z.string().nullable(),
|
|
80
80
|
verifyPeerCertByName: zod_1.z.string().nullable(),
|
|
81
|
+
mihomoIpVersion: zod_1.z.nativeEnum(constants_1.MIHOMO_IP_VERSION).nullable(),
|
|
81
82
|
alpn: zod_1.z.string().nullable(),
|
|
82
83
|
enableSessionResumption: zod_1.z.boolean(),
|
|
83
84
|
fingerprint: zod_1.z.string().nullable(),
|