@remnawave/backend-contract 2.3.6 → 2.3.8
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 +5 -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 +5 -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 +5 -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 +5 -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 +5 -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 +8 -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 +5 -0
- package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/get-one.command.d.ts +5 -0
- package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/reorder.command.d.ts +1 -0
- package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.d.ts +9 -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 +7 -0
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.js +1 -0
- package/build/backend/constants/cache-keys/cache-keys.constants.d.ts +2 -0
- package/build/backend/constants/cache-keys/cache-keys.constants.d.ts.map +1 -1
- package/build/backend/constants/cache-keys/cache-keys.constants.js +2 -0
- package/build/backend/models/hosts.schema.d.ts +3 -0
- package/build/backend/models/hosts.schema.d.ts.map +1 -1
- package/build/backend/models/hosts.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/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.js +1 -0
- package/build/frontend/constants/cache-keys/cache-keys.constants.js +2 -0
- package/build/frontend/models/hosts.schema.js +1 -0
- package/package.json +1 -1
|
@@ -51,6 +51,7 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
51
51
|
shuffleHost: z.ZodBoolean;
|
|
52
52
|
mihomoX25519: z.ZodBoolean;
|
|
53
53
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
54
|
+
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
54
55
|
}, "strip", z.ZodTypeAny, {
|
|
55
56
|
nodes: string[];
|
|
56
57
|
path: string | null;
|
|
@@ -77,6 +78,7 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
77
78
|
allowInsecure: boolean;
|
|
78
79
|
shuffleHost: boolean;
|
|
79
80
|
mihomoX25519: boolean;
|
|
81
|
+
xrayJsonTemplateUuid: string | null;
|
|
80
82
|
xHttpExtraParams?: unknown;
|
|
81
83
|
muxParams?: unknown;
|
|
82
84
|
sockoptParams?: unknown;
|
|
@@ -101,6 +103,7 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
101
103
|
vlessRouteId: number | null;
|
|
102
104
|
shuffleHost: boolean;
|
|
103
105
|
mihomoX25519: boolean;
|
|
106
|
+
xrayJsonTemplateUuid: string | null;
|
|
104
107
|
isDisabled?: boolean | undefined;
|
|
105
108
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
106
109
|
xHttpExtraParams?: unknown;
|
|
@@ -137,6 +140,7 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
137
140
|
allowInsecure: boolean;
|
|
138
141
|
shuffleHost: boolean;
|
|
139
142
|
mihomoX25519: boolean;
|
|
143
|
+
xrayJsonTemplateUuid: string | null;
|
|
140
144
|
xHttpExtraParams?: unknown;
|
|
141
145
|
muxParams?: unknown;
|
|
142
146
|
sockoptParams?: unknown;
|
|
@@ -163,6 +167,7 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
163
167
|
vlessRouteId: number | null;
|
|
164
168
|
shuffleHost: boolean;
|
|
165
169
|
mihomoX25519: boolean;
|
|
170
|
+
xrayJsonTemplateUuid: string | null;
|
|
166
171
|
isDisabled?: boolean | undefined;
|
|
167
172
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
168
173
|
xHttpExtraParams?: unknown;
|
|
@@ -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"}
|
|
@@ -51,6 +51,7 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
51
51
|
shuffleHost: z.ZodBoolean;
|
|
52
52
|
mihomoX25519: z.ZodBoolean;
|
|
53
53
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
54
|
+
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
54
55
|
}, "strip", z.ZodTypeAny, {
|
|
55
56
|
nodes: string[];
|
|
56
57
|
path: string | null;
|
|
@@ -77,6 +78,7 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
77
78
|
allowInsecure: boolean;
|
|
78
79
|
shuffleHost: boolean;
|
|
79
80
|
mihomoX25519: boolean;
|
|
81
|
+
xrayJsonTemplateUuid: string | null;
|
|
80
82
|
xHttpExtraParams?: unknown;
|
|
81
83
|
muxParams?: unknown;
|
|
82
84
|
sockoptParams?: unknown;
|
|
@@ -101,6 +103,7 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
101
103
|
vlessRouteId: number | null;
|
|
102
104
|
shuffleHost: boolean;
|
|
103
105
|
mihomoX25519: boolean;
|
|
106
|
+
xrayJsonTemplateUuid: string | null;
|
|
104
107
|
isDisabled?: boolean | undefined;
|
|
105
108
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
106
109
|
xHttpExtraParams?: unknown;
|
|
@@ -137,6 +140,7 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
137
140
|
allowInsecure: boolean;
|
|
138
141
|
shuffleHost: boolean;
|
|
139
142
|
mihomoX25519: boolean;
|
|
143
|
+
xrayJsonTemplateUuid: string | null;
|
|
140
144
|
xHttpExtraParams?: unknown;
|
|
141
145
|
muxParams?: unknown;
|
|
142
146
|
sockoptParams?: unknown;
|
|
@@ -163,6 +167,7 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
163
167
|
vlessRouteId: number | null;
|
|
164
168
|
shuffleHost: boolean;
|
|
165
169
|
mihomoX25519: boolean;
|
|
170
|
+
xrayJsonTemplateUuid: string | null;
|
|
166
171
|
isDisabled?: boolean | undefined;
|
|
167
172
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
168
173
|
xHttpExtraParams?: unknown;
|
|
@@ -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"}
|
|
@@ -51,6 +51,7 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
51
51
|
shuffleHost: z.ZodBoolean;
|
|
52
52
|
mihomoX25519: z.ZodBoolean;
|
|
53
53
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
54
|
+
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
54
55
|
}, "strip", z.ZodTypeAny, {
|
|
55
56
|
nodes: string[];
|
|
56
57
|
path: string | null;
|
|
@@ -77,6 +78,7 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
77
78
|
allowInsecure: boolean;
|
|
78
79
|
shuffleHost: boolean;
|
|
79
80
|
mihomoX25519: boolean;
|
|
81
|
+
xrayJsonTemplateUuid: string | null;
|
|
80
82
|
xHttpExtraParams?: unknown;
|
|
81
83
|
muxParams?: unknown;
|
|
82
84
|
sockoptParams?: unknown;
|
|
@@ -101,6 +103,7 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
101
103
|
vlessRouteId: number | null;
|
|
102
104
|
shuffleHost: boolean;
|
|
103
105
|
mihomoX25519: boolean;
|
|
106
|
+
xrayJsonTemplateUuid: string | null;
|
|
104
107
|
isDisabled?: boolean | undefined;
|
|
105
108
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
106
109
|
xHttpExtraParams?: unknown;
|
|
@@ -137,6 +140,7 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
137
140
|
allowInsecure: boolean;
|
|
138
141
|
shuffleHost: boolean;
|
|
139
142
|
mihomoX25519: boolean;
|
|
143
|
+
xrayJsonTemplateUuid: string | null;
|
|
140
144
|
xHttpExtraParams?: unknown;
|
|
141
145
|
muxParams?: unknown;
|
|
142
146
|
sockoptParams?: unknown;
|
|
@@ -163,6 +167,7 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
163
167
|
vlessRouteId: number | null;
|
|
164
168
|
shuffleHost: boolean;
|
|
165
169
|
mihomoX25519: boolean;
|
|
170
|
+
xrayJsonTemplateUuid: string | null;
|
|
166
171
|
isDisabled?: boolean | undefined;
|
|
167
172
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
168
173
|
xHttpExtraParams?: unknown;
|
|
@@ -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"}
|
|
@@ -57,6 +57,7 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
57
57
|
shuffleHost: z.ZodBoolean;
|
|
58
58
|
mihomoX25519: z.ZodBoolean;
|
|
59
59
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
60
|
+
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
60
61
|
}, "strip", z.ZodTypeAny, {
|
|
61
62
|
nodes: string[];
|
|
62
63
|
path: string | null;
|
|
@@ -83,6 +84,7 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
83
84
|
allowInsecure: boolean;
|
|
84
85
|
shuffleHost: boolean;
|
|
85
86
|
mihomoX25519: boolean;
|
|
87
|
+
xrayJsonTemplateUuid: string | null;
|
|
86
88
|
xHttpExtraParams?: unknown;
|
|
87
89
|
muxParams?: unknown;
|
|
88
90
|
sockoptParams?: unknown;
|
|
@@ -107,6 +109,7 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
107
109
|
vlessRouteId: number | null;
|
|
108
110
|
shuffleHost: boolean;
|
|
109
111
|
mihomoX25519: boolean;
|
|
112
|
+
xrayJsonTemplateUuid: string | null;
|
|
110
113
|
isDisabled?: boolean | undefined;
|
|
111
114
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
112
115
|
xHttpExtraParams?: unknown;
|
|
@@ -143,6 +146,7 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
143
146
|
allowInsecure: boolean;
|
|
144
147
|
shuffleHost: boolean;
|
|
145
148
|
mihomoX25519: boolean;
|
|
149
|
+
xrayJsonTemplateUuid: string | null;
|
|
146
150
|
xHttpExtraParams?: unknown;
|
|
147
151
|
muxParams?: unknown;
|
|
148
152
|
sockoptParams?: unknown;
|
|
@@ -169,6 +173,7 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
169
173
|
vlessRouteId: number | null;
|
|
170
174
|
shuffleHost: boolean;
|
|
171
175
|
mihomoX25519: boolean;
|
|
176
|
+
xrayJsonTemplateUuid: string | null;
|
|
172
177
|
isDisabled?: boolean | undefined;
|
|
173
178
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
174
179
|
xHttpExtraParams?: unknown;
|
|
@@ -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"}
|
|
@@ -54,6 +54,7 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
54
54
|
shuffleHost: z.ZodBoolean;
|
|
55
55
|
mihomoX25519: z.ZodBoolean;
|
|
56
56
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
57
|
+
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
57
58
|
}, "strip", z.ZodTypeAny, {
|
|
58
59
|
nodes: string[];
|
|
59
60
|
path: string | null;
|
|
@@ -80,6 +81,7 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
80
81
|
allowInsecure: boolean;
|
|
81
82
|
shuffleHost: boolean;
|
|
82
83
|
mihomoX25519: boolean;
|
|
84
|
+
xrayJsonTemplateUuid: string | null;
|
|
83
85
|
xHttpExtraParams?: unknown;
|
|
84
86
|
muxParams?: unknown;
|
|
85
87
|
sockoptParams?: unknown;
|
|
@@ -104,6 +106,7 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
104
106
|
vlessRouteId: number | null;
|
|
105
107
|
shuffleHost: boolean;
|
|
106
108
|
mihomoX25519: boolean;
|
|
109
|
+
xrayJsonTemplateUuid: string | null;
|
|
107
110
|
isDisabled?: boolean | undefined;
|
|
108
111
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
109
112
|
xHttpExtraParams?: unknown;
|
|
@@ -140,6 +143,7 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
140
143
|
allowInsecure: boolean;
|
|
141
144
|
shuffleHost: boolean;
|
|
142
145
|
mihomoX25519: boolean;
|
|
146
|
+
xrayJsonTemplateUuid: string | null;
|
|
143
147
|
xHttpExtraParams?: unknown;
|
|
144
148
|
muxParams?: unknown;
|
|
145
149
|
sockoptParams?: unknown;
|
|
@@ -166,6 +170,7 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
166
170
|
vlessRouteId: number | null;
|
|
167
171
|
shuffleHost: boolean;
|
|
168
172
|
mihomoX25519: boolean;
|
|
173
|
+
xrayJsonTemplateUuid: string | null;
|
|
169
174
|
isDisabled?: boolean | undefined;
|
|
170
175
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
171
176
|
xHttpExtraParams?: unknown;
|
|
@@ -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"}
|
|
@@ -57,6 +57,7 @@ export declare namespace CreateHostCommand {
|
|
|
57
57
|
shuffleHost: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
58
58
|
mihomoX25519: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
59
59
|
nodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
60
|
+
xrayJsonTemplateUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
61
|
}, "strip", z.ZodTypeAny, {
|
|
61
62
|
port: number;
|
|
62
63
|
remark: string;
|
|
@@ -84,6 +85,7 @@ export declare namespace CreateHostCommand {
|
|
|
84
85
|
allowInsecure?: boolean | undefined;
|
|
85
86
|
shuffleHost?: boolean | undefined;
|
|
86
87
|
mihomoX25519?: boolean | undefined;
|
|
88
|
+
xrayJsonTemplateUuid?: string | null | undefined;
|
|
87
89
|
}, {
|
|
88
90
|
port: number;
|
|
89
91
|
remark: string;
|
|
@@ -111,6 +113,7 @@ export declare namespace CreateHostCommand {
|
|
|
111
113
|
allowInsecure?: boolean | undefined;
|
|
112
114
|
shuffleHost?: boolean | undefined;
|
|
113
115
|
mihomoX25519?: boolean | undefined;
|
|
116
|
+
xrayJsonTemplateUuid?: string | null | undefined;
|
|
114
117
|
}>;
|
|
115
118
|
type Request = z.infer<typeof RequestSchema>;
|
|
116
119
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -153,6 +156,7 @@ export declare namespace CreateHostCommand {
|
|
|
153
156
|
shuffleHost: z.ZodBoolean;
|
|
154
157
|
mihomoX25519: z.ZodBoolean;
|
|
155
158
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
159
|
+
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
156
160
|
}, "strip", z.ZodTypeAny, {
|
|
157
161
|
nodes: string[];
|
|
158
162
|
path: string | null;
|
|
@@ -179,6 +183,7 @@ export declare namespace CreateHostCommand {
|
|
|
179
183
|
allowInsecure: boolean;
|
|
180
184
|
shuffleHost: boolean;
|
|
181
185
|
mihomoX25519: boolean;
|
|
186
|
+
xrayJsonTemplateUuid: string | null;
|
|
182
187
|
xHttpExtraParams?: unknown;
|
|
183
188
|
muxParams?: unknown;
|
|
184
189
|
sockoptParams?: unknown;
|
|
@@ -203,6 +208,7 @@ export declare namespace CreateHostCommand {
|
|
|
203
208
|
vlessRouteId: number | null;
|
|
204
209
|
shuffleHost: boolean;
|
|
205
210
|
mihomoX25519: boolean;
|
|
211
|
+
xrayJsonTemplateUuid: string | null;
|
|
206
212
|
isDisabled?: boolean | undefined;
|
|
207
213
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
208
214
|
xHttpExtraParams?: unknown;
|
|
@@ -239,6 +245,7 @@ export declare namespace CreateHostCommand {
|
|
|
239
245
|
allowInsecure: boolean;
|
|
240
246
|
shuffleHost: boolean;
|
|
241
247
|
mihomoX25519: boolean;
|
|
248
|
+
xrayJsonTemplateUuid: string | null;
|
|
242
249
|
xHttpExtraParams?: unknown;
|
|
243
250
|
muxParams?: unknown;
|
|
244
251
|
sockoptParams?: unknown;
|
|
@@ -265,6 +272,7 @@ export declare namespace CreateHostCommand {
|
|
|
265
272
|
vlessRouteId: number | null;
|
|
266
273
|
shuffleHost: boolean;
|
|
267
274
|
mihomoX25519: boolean;
|
|
275
|
+
xrayJsonTemplateUuid: string | null;
|
|
268
276
|
isDisabled?: boolean | undefined;
|
|
269
277
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
270
278
|
xHttpExtraParams?: unknown;
|
|
@@ -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;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
|
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;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAgExB,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"}
|
|
@@ -63,6 +63,7 @@ var CreateHostCommand;
|
|
|
63
63
|
shuffleHost: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
|
64
64
|
mihomoX25519: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
|
65
65
|
nodes: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid())),
|
|
66
|
+
xrayJsonTemplateUuid: zod_1.z.optional(zod_1.z.string().uuid().nullable()),
|
|
66
67
|
});
|
|
67
68
|
CreateHostCommand.ResponseSchema = zod_1.z.object({
|
|
68
69
|
response: models_1.HostsSchema,
|
|
@@ -43,6 +43,7 @@ export declare namespace GetAllHostsCommand {
|
|
|
43
43
|
shuffleHost: z.ZodBoolean;
|
|
44
44
|
mihomoX25519: z.ZodBoolean;
|
|
45
45
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
46
|
+
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
46
47
|
}, "strip", z.ZodTypeAny, {
|
|
47
48
|
nodes: string[];
|
|
48
49
|
path: string | null;
|
|
@@ -69,6 +70,7 @@ export declare namespace GetAllHostsCommand {
|
|
|
69
70
|
allowInsecure: boolean;
|
|
70
71
|
shuffleHost: boolean;
|
|
71
72
|
mihomoX25519: boolean;
|
|
73
|
+
xrayJsonTemplateUuid: string | null;
|
|
72
74
|
xHttpExtraParams?: unknown;
|
|
73
75
|
muxParams?: unknown;
|
|
74
76
|
sockoptParams?: unknown;
|
|
@@ -93,6 +95,7 @@ export declare namespace GetAllHostsCommand {
|
|
|
93
95
|
vlessRouteId: number | null;
|
|
94
96
|
shuffleHost: boolean;
|
|
95
97
|
mihomoX25519: boolean;
|
|
98
|
+
xrayJsonTemplateUuid: string | null;
|
|
96
99
|
isDisabled?: boolean | undefined;
|
|
97
100
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
98
101
|
xHttpExtraParams?: unknown;
|
|
@@ -129,6 +132,7 @@ export declare namespace GetAllHostsCommand {
|
|
|
129
132
|
allowInsecure: boolean;
|
|
130
133
|
shuffleHost: boolean;
|
|
131
134
|
mihomoX25519: boolean;
|
|
135
|
+
xrayJsonTemplateUuid: string | null;
|
|
132
136
|
xHttpExtraParams?: unknown;
|
|
133
137
|
muxParams?: unknown;
|
|
134
138
|
sockoptParams?: unknown;
|
|
@@ -155,6 +159,7 @@ export declare namespace GetAllHostsCommand {
|
|
|
155
159
|
vlessRouteId: number | null;
|
|
156
160
|
shuffleHost: boolean;
|
|
157
161
|
mihomoX25519: boolean;
|
|
162
|
+
xrayJsonTemplateUuid: string | null;
|
|
158
163
|
isDisabled?: boolean | undefined;
|
|
159
164
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
160
165
|
xHttpExtraParams?: unknown;
|
|
@@ -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"}
|
|
@@ -51,6 +51,7 @@ export declare namespace GetOneHostCommand {
|
|
|
51
51
|
shuffleHost: z.ZodBoolean;
|
|
52
52
|
mihomoX25519: z.ZodBoolean;
|
|
53
53
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
54
|
+
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
54
55
|
}, "strip", z.ZodTypeAny, {
|
|
55
56
|
nodes: string[];
|
|
56
57
|
path: string | null;
|
|
@@ -77,6 +78,7 @@ export declare namespace GetOneHostCommand {
|
|
|
77
78
|
allowInsecure: boolean;
|
|
78
79
|
shuffleHost: boolean;
|
|
79
80
|
mihomoX25519: boolean;
|
|
81
|
+
xrayJsonTemplateUuid: string | null;
|
|
80
82
|
xHttpExtraParams?: unknown;
|
|
81
83
|
muxParams?: unknown;
|
|
82
84
|
sockoptParams?: unknown;
|
|
@@ -101,6 +103,7 @@ export declare namespace GetOneHostCommand {
|
|
|
101
103
|
vlessRouteId: number | null;
|
|
102
104
|
shuffleHost: boolean;
|
|
103
105
|
mihomoX25519: boolean;
|
|
106
|
+
xrayJsonTemplateUuid: string | null;
|
|
104
107
|
isDisabled?: boolean | undefined;
|
|
105
108
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
106
109
|
xHttpExtraParams?: unknown;
|
|
@@ -137,6 +140,7 @@ export declare namespace GetOneHostCommand {
|
|
|
137
140
|
allowInsecure: boolean;
|
|
138
141
|
shuffleHost: boolean;
|
|
139
142
|
mihomoX25519: boolean;
|
|
143
|
+
xrayJsonTemplateUuid: string | null;
|
|
140
144
|
xHttpExtraParams?: unknown;
|
|
141
145
|
muxParams?: unknown;
|
|
142
146
|
sockoptParams?: unknown;
|
|
@@ -163,6 +167,7 @@ export declare namespace GetOneHostCommand {
|
|
|
163
167
|
vlessRouteId: number | null;
|
|
164
168
|
shuffleHost: boolean;
|
|
165
169
|
mihomoX25519: boolean;
|
|
170
|
+
xrayJsonTemplateUuid: string | null;
|
|
166
171
|
isDisabled?: boolean | undefined;
|
|
167
172
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
168
173
|
xHttpExtraParams?: unknown;
|
|
@@ -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"}
|
|
@@ -43,6 +43,7 @@ export declare namespace ReorderHostCommand {
|
|
|
43
43
|
shuffleHost: z.ZodBoolean;
|
|
44
44
|
mihomoX25519: z.ZodBoolean;
|
|
45
45
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
46
|
+
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
46
47
|
}, "uuid" | "viewPosition">, "strip", z.ZodTypeAny, {
|
|
47
48
|
uuid: string;
|
|
48
49
|
viewPosition: number;
|
|
@@ -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"}
|
|
@@ -42,6 +42,7 @@ export declare namespace UpdateHostCommand {
|
|
|
42
42
|
shuffleHost: z.ZodBoolean;
|
|
43
43
|
mihomoX25519: z.ZodBoolean;
|
|
44
44
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
45
|
+
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
45
46
|
}, "uuid"> & {
|
|
46
47
|
inbound: z.ZodOptional<z.ZodObject<{
|
|
47
48
|
configProfileUuid: z.ZodString;
|
|
@@ -96,6 +97,7 @@ export declare namespace UpdateHostCommand {
|
|
|
96
97
|
shuffleHost: z.ZodOptional<z.ZodBoolean>;
|
|
97
98
|
mihomoX25519: z.ZodOptional<z.ZodBoolean>;
|
|
98
99
|
nodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
100
|
+
xrayJsonTemplateUuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
101
|
}, "strip", z.ZodTypeAny, {
|
|
100
102
|
uuid: string;
|
|
101
103
|
nodes?: string[] | undefined;
|
|
@@ -124,6 +126,7 @@ export declare namespace UpdateHostCommand {
|
|
|
124
126
|
allowInsecure?: boolean | undefined;
|
|
125
127
|
shuffleHost?: boolean | undefined;
|
|
126
128
|
mihomoX25519?: boolean | undefined;
|
|
129
|
+
xrayJsonTemplateUuid?: string | null | undefined;
|
|
127
130
|
}, {
|
|
128
131
|
uuid: string;
|
|
129
132
|
nodes?: string[] | undefined;
|
|
@@ -152,6 +155,7 @@ export declare namespace UpdateHostCommand {
|
|
|
152
155
|
allowInsecure?: boolean | undefined;
|
|
153
156
|
shuffleHost?: boolean | undefined;
|
|
154
157
|
mihomoX25519?: boolean | undefined;
|
|
158
|
+
xrayJsonTemplateUuid?: string | null | undefined;
|
|
155
159
|
}>;
|
|
156
160
|
type Request = z.infer<typeof RequestSchema>;
|
|
157
161
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -194,6 +198,7 @@ export declare namespace UpdateHostCommand {
|
|
|
194
198
|
shuffleHost: z.ZodBoolean;
|
|
195
199
|
mihomoX25519: z.ZodBoolean;
|
|
196
200
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
201
|
+
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
197
202
|
}, "strip", z.ZodTypeAny, {
|
|
198
203
|
nodes: string[];
|
|
199
204
|
path: string | null;
|
|
@@ -220,6 +225,7 @@ export declare namespace UpdateHostCommand {
|
|
|
220
225
|
allowInsecure: boolean;
|
|
221
226
|
shuffleHost: boolean;
|
|
222
227
|
mihomoX25519: boolean;
|
|
228
|
+
xrayJsonTemplateUuid: string | null;
|
|
223
229
|
xHttpExtraParams?: unknown;
|
|
224
230
|
muxParams?: unknown;
|
|
225
231
|
sockoptParams?: unknown;
|
|
@@ -244,6 +250,7 @@ export declare namespace UpdateHostCommand {
|
|
|
244
250
|
vlessRouteId: number | null;
|
|
245
251
|
shuffleHost: boolean;
|
|
246
252
|
mihomoX25519: boolean;
|
|
253
|
+
xrayJsonTemplateUuid: string | null;
|
|
247
254
|
isDisabled?: boolean | undefined;
|
|
248
255
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
249
256
|
xHttpExtraParams?: unknown;
|
|
@@ -280,6 +287,7 @@ export declare namespace UpdateHostCommand {
|
|
|
280
287
|
allowInsecure: boolean;
|
|
281
288
|
shuffleHost: boolean;
|
|
282
289
|
mihomoX25519: boolean;
|
|
290
|
+
xrayJsonTemplateUuid: string | null;
|
|
283
291
|
xHttpExtraParams?: unknown;
|
|
284
292
|
muxParams?: unknown;
|
|
285
293
|
sockoptParams?: unknown;
|
|
@@ -306,6 +314,7 @@ export declare namespace UpdateHostCommand {
|
|
|
306
314
|
vlessRouteId: number | null;
|
|
307
315
|
shuffleHost: boolean;
|
|
308
316
|
mihomoX25519: boolean;
|
|
317
|
+
xrayJsonTemplateUuid: string | null;
|
|
309
318
|
isDisabled?: boolean | undefined;
|
|
310
319
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
311
320
|
xHttpExtraParams?: unknown;
|
|
@@ -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;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa
|
|
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;AAMxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoExB,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"}
|
|
@@ -68,6 +68,7 @@ var UpdateHostCommand;
|
|
|
68
68
|
shuffleHost: zod_1.z.optional(zod_1.z.boolean()),
|
|
69
69
|
mihomoX25519: zod_1.z.optional(zod_1.z.boolean()),
|
|
70
70
|
nodes: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid())),
|
|
71
|
+
xrayJsonTemplateUuid: zod_1.z.optional(zod_1.z.string().uuid().nullable()),
|
|
71
72
|
});
|
|
72
73
|
UpdateHostCommand.ResponseSchema = zod_1.z.object({
|
|
73
74
|
response: models_1.HostsSchema,
|
package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts
CHANGED
|
@@ -282,6 +282,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
282
282
|
vlessRouteId: number | null;
|
|
283
283
|
inboundTag: string;
|
|
284
284
|
}>>;
|
|
285
|
+
xrayJsonTemplate: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>>;
|
|
285
286
|
}, "strip", z.ZodTypeAny, {
|
|
286
287
|
password: {
|
|
287
288
|
trojanPassword: string;
|
|
@@ -335,6 +336,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
335
336
|
vlessRouteId: number | null;
|
|
336
337
|
inboundTag: string;
|
|
337
338
|
} | undefined;
|
|
339
|
+
xrayJsonTemplate?: {} | null | undefined;
|
|
338
340
|
}, {
|
|
339
341
|
password: {
|
|
340
342
|
trojanPassword: string;
|
|
@@ -388,6 +390,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
388
390
|
vlessRouteId: number | null;
|
|
389
391
|
inboundTag: string;
|
|
390
392
|
} | undefined;
|
|
393
|
+
xrayJsonTemplate?: {} | null | undefined;
|
|
391
394
|
}>, "many">;
|
|
392
395
|
}, "strip", z.ZodTypeAny, {
|
|
393
396
|
headers: Record<string, string | undefined>;
|
|
@@ -488,6 +491,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
488
491
|
vlessRouteId: number | null;
|
|
489
492
|
inboundTag: string;
|
|
490
493
|
} | undefined;
|
|
494
|
+
xrayJsonTemplate?: {} | null | undefined;
|
|
491
495
|
}[];
|
|
492
496
|
}, {
|
|
493
497
|
headers: Record<string, string | undefined>;
|
|
@@ -588,6 +592,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
588
592
|
vlessRouteId: number | null;
|
|
589
593
|
inboundTag: string;
|
|
590
594
|
} | undefined;
|
|
595
|
+
xrayJsonTemplate?: {} | null | undefined;
|
|
591
596
|
}[];
|
|
592
597
|
}>;
|
|
593
598
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -690,6 +695,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
690
695
|
vlessRouteId: number | null;
|
|
691
696
|
inboundTag: string;
|
|
692
697
|
} | undefined;
|
|
698
|
+
xrayJsonTemplate?: {} | null | undefined;
|
|
693
699
|
}[];
|
|
694
700
|
};
|
|
695
701
|
}, {
|
|
@@ -792,6 +798,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
792
798
|
vlessRouteId: number | null;
|
|
793
799
|
inboundTag: string;
|
|
794
800
|
} | undefined;
|
|
801
|
+
xrayJsonTemplate?: {} | null | undefined;
|
|
795
802
|
}[];
|
|
796
803
|
};
|
|
797
804
|
}>;
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAoFzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -6,10 +6,12 @@ export declare const CACHE_KEYS: {
|
|
|
6
6
|
readonly PASSKEY_REGISTRATION_OPTIONS: (uuid: string) => string;
|
|
7
7
|
readonly PASSKEY_AUTHENTICATION_OPTIONS: (uuid: string) => string;
|
|
8
8
|
readonly REMNAWAVE_SETTINGS: "remnawave_settings";
|
|
9
|
+
readonly SHORT_UUID_RANGE: "short_uuid_range";
|
|
9
10
|
};
|
|
10
11
|
export declare const CACHE_KEYS_TTL: {
|
|
11
12
|
readonly REMNAWAVE_SETTINGS: 86400000;
|
|
12
13
|
readonly EXTERNAL_SQUAD_SETTINGS: 3600000;
|
|
13
14
|
readonly SUBSCRIPTION_SETTINGS: 3600000;
|
|
15
|
+
readonly SHORT_UUID_RANGE: 86400000;
|
|
14
16
|
};
|
|
15
17
|
//# sourceMappingURL=cache-keys.constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache-keys.constants.d.ts","sourceRoot":"","sources":["../../../../constants/cache-keys/cache-keys.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE,eAAO,MAAM,UAAU;;6CAEa,MAAM;2CACR,MAAM,QAAQ,yBAAyB;kDAEhC,MAAM;oDACJ,MAAM
|
|
1
|
+
{"version":3,"file":"cache-keys.constants.d.ts","sourceRoot":"","sources":["../../../../constants/cache-keys/cache-keys.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAErE,eAAO,MAAM,UAAU;;6CAEa,MAAM;2CACR,MAAM,QAAQ,yBAAyB;kDAEhC,MAAM;oDACJ,MAAM;;;CAGvC,CAAC;AAEX,eAAO,MAAM,cAAc;;;;;CAKjB,CAAC"}
|
|
@@ -8,9 +8,11 @@ exports.CACHE_KEYS = {
|
|
|
8
8
|
PASSKEY_REGISTRATION_OPTIONS: (uuid) => `passkey_registration_options:${uuid}`,
|
|
9
9
|
PASSKEY_AUTHENTICATION_OPTIONS: (uuid) => `passkey_authentication_options:${uuid}`,
|
|
10
10
|
REMNAWAVE_SETTINGS: 'remnawave_settings',
|
|
11
|
+
SHORT_UUID_RANGE: 'short_uuid_range',
|
|
11
12
|
};
|
|
12
13
|
exports.CACHE_KEYS_TTL = {
|
|
13
14
|
REMNAWAVE_SETTINGS: 86400000, // 1 day
|
|
14
15
|
EXTERNAL_SQUAD_SETTINGS: 3600000, // 1 hour
|
|
15
16
|
SUBSCRIPTION_SETTINGS: 3600000, // 1 hour
|
|
17
|
+
SHORT_UUID_RANGE: 86400000, // 1 day
|
|
16
18
|
};
|
|
@@ -38,6 +38,7 @@ export declare const HostsSchema: z.ZodObject<{
|
|
|
38
38
|
shuffleHost: z.ZodBoolean;
|
|
39
39
|
mihomoX25519: z.ZodBoolean;
|
|
40
40
|
nodes: z.ZodArray<z.ZodString, "many">;
|
|
41
|
+
xrayJsonTemplateUuid: z.ZodNullable<z.ZodString>;
|
|
41
42
|
}, "strip", z.ZodTypeAny, {
|
|
42
43
|
nodes: string[];
|
|
43
44
|
path: string | null;
|
|
@@ -64,6 +65,7 @@ export declare const HostsSchema: z.ZodObject<{
|
|
|
64
65
|
allowInsecure: boolean;
|
|
65
66
|
shuffleHost: boolean;
|
|
66
67
|
mihomoX25519: boolean;
|
|
68
|
+
xrayJsonTemplateUuid: string | null;
|
|
67
69
|
xHttpExtraParams?: unknown;
|
|
68
70
|
muxParams?: unknown;
|
|
69
71
|
sockoptParams?: unknown;
|
|
@@ -88,6 +90,7 @@ export declare const HostsSchema: z.ZodObject<{
|
|
|
88
90
|
vlessRouteId: number | null;
|
|
89
91
|
shuffleHost: boolean;
|
|
90
92
|
mihomoX25519: boolean;
|
|
93
|
+
xrayJsonTemplateUuid: string | null;
|
|
91
94
|
isDisabled?: boolean | undefined;
|
|
92
95
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
93
96
|
xHttpExtraParams?: unknown;
|
|
@@ -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;AAIxB,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;AAIxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiCtB,CAAC"}
|
|
@@ -63,6 +63,7 @@ var CreateHostCommand;
|
|
|
63
63
|
shuffleHost: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
|
64
64
|
mihomoX25519: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
|
65
65
|
nodes: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid())),
|
|
66
|
+
xrayJsonTemplateUuid: zod_1.z.optional(zod_1.z.string().uuid().nullable()),
|
|
66
67
|
});
|
|
67
68
|
CreateHostCommand.ResponseSchema = zod_1.z.object({
|
|
68
69
|
response: models_1.HostsSchema,
|
|
@@ -68,6 +68,7 @@ var UpdateHostCommand;
|
|
|
68
68
|
shuffleHost: zod_1.z.optional(zod_1.z.boolean()),
|
|
69
69
|
mihomoX25519: zod_1.z.optional(zod_1.z.boolean()),
|
|
70
70
|
nodes: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid())),
|
|
71
|
+
xrayJsonTemplateUuid: zod_1.z.optional(zod_1.z.string().uuid().nullable()),
|
|
71
72
|
});
|
|
72
73
|
UpdateHostCommand.ResponseSchema = zod_1.z.object({
|
|
73
74
|
response: models_1.HostsSchema,
|
|
@@ -8,9 +8,11 @@ exports.CACHE_KEYS = {
|
|
|
8
8
|
PASSKEY_REGISTRATION_OPTIONS: (uuid) => `passkey_registration_options:${uuid}`,
|
|
9
9
|
PASSKEY_AUTHENTICATION_OPTIONS: (uuid) => `passkey_authentication_options:${uuid}`,
|
|
10
10
|
REMNAWAVE_SETTINGS: 'remnawave_settings',
|
|
11
|
+
SHORT_UUID_RANGE: 'short_uuid_range',
|
|
11
12
|
};
|
|
12
13
|
exports.CACHE_KEYS_TTL = {
|
|
13
14
|
REMNAWAVE_SETTINGS: 86400000, // 1 day
|
|
14
15
|
EXTERNAL_SQUAD_SETTINGS: 3600000, // 1 hour
|
|
15
16
|
SUBSCRIPTION_SETTINGS: 3600000, // 1 hour
|
|
17
|
+
SHORT_UUID_RANGE: 86400000, // 1 day
|
|
16
18
|
};
|