@remnawave/backend-contract 2.1.65 → 2.1.67

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.
Files changed (29) hide show
  1. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts +5 -0
  2. package/build/backend/commands/hosts/bulk/delete-many-hosts.command.d.ts.map +1 -1
  3. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +5 -0
  4. package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts.map +1 -1
  5. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +5 -0
  6. package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts.map +1 -1
  7. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +5 -0
  8. package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts.map +1 -1
  9. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +5 -0
  10. package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts.map +1 -1
  11. package/build/backend/commands/hosts/create.command.d.ts +8 -0
  12. package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
  13. package/build/backend/commands/hosts/create.command.js +1 -0
  14. package/build/backend/commands/hosts/get-all.command.d.ts +5 -0
  15. package/build/backend/commands/hosts/get-all.command.d.ts.map +1 -1
  16. package/build/backend/commands/hosts/get-one.command.d.ts +5 -0
  17. package/build/backend/commands/hosts/get-one.command.d.ts.map +1 -1
  18. package/build/backend/commands/hosts/reorder.command.d.ts +1 -0
  19. package/build/backend/commands/hosts/reorder.command.d.ts.map +1 -1
  20. package/build/backend/commands/hosts/update.command.d.ts +9 -0
  21. package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
  22. package/build/backend/commands/hosts/update.command.js +1 -0
  23. package/build/backend/models/hosts.schema.d.ts +3 -0
  24. package/build/backend/models/hosts.schema.d.ts.map +1 -1
  25. package/build/backend/models/hosts.schema.js +1 -0
  26. package/build/frontend/commands/hosts/create.command.js +1 -0
  27. package/build/frontend/commands/hosts/update.command.js +1 -0
  28. package/build/frontend/models/hosts.schema.js +1 -0
  29. package/package.json +1 -1
@@ -50,7 +50,9 @@ export declare namespace BulkDeleteHostsCommand {
50
50
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
51
51
  shuffleHost: z.ZodBoolean;
52
52
  mihomoX25519: z.ZodBoolean;
53
+ nodes: z.ZodArray<z.ZodString, "many">;
53
54
  }, "strip", z.ZodTypeAny, {
55
+ nodes: string[];
54
56
  path: string | null;
55
57
  uuid: string;
56
58
  tag: string | null;
@@ -79,6 +81,7 @@ export declare namespace BulkDeleteHostsCommand {
79
81
  muxParams?: unknown;
80
82
  sockoptParams?: unknown;
81
83
  }, {
84
+ nodes: string[];
82
85
  path: string | null;
83
86
  uuid: string;
84
87
  tag: string | null;
@@ -109,6 +112,7 @@ export declare namespace BulkDeleteHostsCommand {
109
112
  }>, "many">;
110
113
  }, "strip", z.ZodTypeAny, {
111
114
  response: {
115
+ nodes: string[];
112
116
  path: string | null;
113
117
  uuid: string;
114
118
  tag: string | null;
@@ -139,6 +143,7 @@ export declare namespace BulkDeleteHostsCommand {
139
143
  }[];
140
144
  }, {
141
145
  response: {
146
+ nodes: string[];
142
147
  path: string | null;
143
148
  uuid: string;
144
149
  tag: string | null;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
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"}
@@ -50,7 +50,9 @@ export declare namespace BulkDisableHostsCommand {
50
50
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
51
51
  shuffleHost: z.ZodBoolean;
52
52
  mihomoX25519: z.ZodBoolean;
53
+ nodes: z.ZodArray<z.ZodString, "many">;
53
54
  }, "strip", z.ZodTypeAny, {
55
+ nodes: string[];
54
56
  path: string | null;
55
57
  uuid: string;
56
58
  tag: string | null;
@@ -79,6 +81,7 @@ export declare namespace BulkDisableHostsCommand {
79
81
  muxParams?: unknown;
80
82
  sockoptParams?: unknown;
81
83
  }, {
84
+ nodes: string[];
82
85
  path: string | null;
83
86
  uuid: string;
84
87
  tag: string | null;
@@ -109,6 +112,7 @@ export declare namespace BulkDisableHostsCommand {
109
112
  }>, "many">;
110
113
  }, "strip", z.ZodTypeAny, {
111
114
  response: {
115
+ nodes: string[];
112
116
  path: string | null;
113
117
  uuid: string;
114
118
  tag: string | null;
@@ -139,6 +143,7 @@ export declare namespace BulkDisableHostsCommand {
139
143
  }[];
140
144
  }, {
141
145
  response: {
146
+ nodes: string[];
142
147
  path: string | null;
143
148
  uuid: string;
144
149
  tag: string | null;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
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"}
@@ -50,7 +50,9 @@ export declare namespace BulkEnableHostsCommand {
50
50
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
51
51
  shuffleHost: z.ZodBoolean;
52
52
  mihomoX25519: z.ZodBoolean;
53
+ nodes: z.ZodArray<z.ZodString, "many">;
53
54
  }, "strip", z.ZodTypeAny, {
55
+ nodes: string[];
54
56
  path: string | null;
55
57
  uuid: string;
56
58
  tag: string | null;
@@ -79,6 +81,7 @@ export declare namespace BulkEnableHostsCommand {
79
81
  muxParams?: unknown;
80
82
  sockoptParams?: unknown;
81
83
  }, {
84
+ nodes: string[];
82
85
  path: string | null;
83
86
  uuid: string;
84
87
  tag: string | null;
@@ -109,6 +112,7 @@ export declare namespace BulkEnableHostsCommand {
109
112
  }>, "many">;
110
113
  }, "strip", z.ZodTypeAny, {
111
114
  response: {
115
+ nodes: string[];
112
116
  path: string | null;
113
117
  uuid: string;
114
118
  tag: string | null;
@@ -139,6 +143,7 @@ export declare namespace BulkEnableHostsCommand {
139
143
  }[];
140
144
  }, {
141
145
  response: {
146
+ nodes: string[];
142
147
  path: string | null;
143
148
  uuid: string;
144
149
  tag: string | null;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
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"}
@@ -56,7 +56,9 @@ export declare namespace SetInboundToManyHostsCommand {
56
56
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
57
57
  shuffleHost: z.ZodBoolean;
58
58
  mihomoX25519: z.ZodBoolean;
59
+ nodes: z.ZodArray<z.ZodString, "many">;
59
60
  }, "strip", z.ZodTypeAny, {
61
+ nodes: string[];
60
62
  path: string | null;
61
63
  uuid: string;
62
64
  tag: string | null;
@@ -85,6 +87,7 @@ export declare namespace SetInboundToManyHostsCommand {
85
87
  muxParams?: unknown;
86
88
  sockoptParams?: unknown;
87
89
  }, {
90
+ nodes: string[];
88
91
  path: string | null;
89
92
  uuid: string;
90
93
  tag: string | null;
@@ -115,6 +118,7 @@ export declare namespace SetInboundToManyHostsCommand {
115
118
  }>, "many">;
116
119
  }, "strip", z.ZodTypeAny, {
117
120
  response: {
121
+ nodes: string[];
118
122
  path: string | null;
119
123
  uuid: string;
120
124
  tag: string | null;
@@ -145,6 +149,7 @@ export declare namespace SetInboundToManyHostsCommand {
145
149
  }[];
146
150
  }, {
147
151
  response: {
152
+ nodes: string[];
148
153
  path: string | null;
149
154
  uuid: string;
150
155
  tag: string | null;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
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"}
@@ -53,7 +53,9 @@ export declare namespace SetPortToManyHostsCommand {
53
53
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
54
54
  shuffleHost: z.ZodBoolean;
55
55
  mihomoX25519: z.ZodBoolean;
56
+ nodes: z.ZodArray<z.ZodString, "many">;
56
57
  }, "strip", z.ZodTypeAny, {
58
+ nodes: string[];
57
59
  path: string | null;
58
60
  uuid: string;
59
61
  tag: string | null;
@@ -82,6 +84,7 @@ export declare namespace SetPortToManyHostsCommand {
82
84
  muxParams?: unknown;
83
85
  sockoptParams?: unknown;
84
86
  }, {
87
+ nodes: string[];
85
88
  path: string | null;
86
89
  uuid: string;
87
90
  tag: string | null;
@@ -112,6 +115,7 @@ export declare namespace SetPortToManyHostsCommand {
112
115
  }>, "many">;
113
116
  }, "strip", z.ZodTypeAny, {
114
117
  response: {
118
+ nodes: string[];
115
119
  path: string | null;
116
120
  uuid: string;
117
121
  tag: string | null;
@@ -142,6 +146,7 @@ export declare namespace SetPortToManyHostsCommand {
142
146
  }[];
143
147
  }, {
144
148
  response: {
149
+ nodes: string[];
145
150
  path: string | null;
146
151
  uuid: string;
147
152
  tag: string | null;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
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"}
@@ -56,6 +56,7 @@ export declare namespace CreateHostCommand {
56
56
  vlessRouteId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
57
57
  shuffleHost: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
58
58
  mihomoX25519: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
59
+ nodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
59
60
  }, "strip", z.ZodTypeAny, {
60
61
  port: number;
61
62
  remark: string;
@@ -64,6 +65,7 @@ export declare namespace CreateHostCommand {
64
65
  configProfileUuid: string;
65
66
  configProfileInboundUuid: string;
66
67
  };
68
+ nodes?: string[] | undefined;
67
69
  path?: string | undefined;
68
70
  tag?: string | null | undefined;
69
71
  sni?: string | undefined;
@@ -90,6 +92,7 @@ export declare namespace CreateHostCommand {
90
92
  configProfileUuid: string;
91
93
  configProfileInboundUuid: string;
92
94
  };
95
+ nodes?: string[] | undefined;
93
96
  path?: string | undefined;
94
97
  tag?: string | null | undefined;
95
98
  sni?: string | undefined;
@@ -149,7 +152,9 @@ export declare namespace CreateHostCommand {
149
152
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
150
153
  shuffleHost: z.ZodBoolean;
151
154
  mihomoX25519: z.ZodBoolean;
155
+ nodes: z.ZodArray<z.ZodString, "many">;
152
156
  }, "strip", z.ZodTypeAny, {
157
+ nodes: string[];
153
158
  path: string | null;
154
159
  uuid: string;
155
160
  tag: string | null;
@@ -178,6 +183,7 @@ export declare namespace CreateHostCommand {
178
183
  muxParams?: unknown;
179
184
  sockoptParams?: unknown;
180
185
  }, {
186
+ nodes: string[];
181
187
  path: string | null;
182
188
  uuid: string;
183
189
  tag: string | null;
@@ -208,6 +214,7 @@ export declare namespace CreateHostCommand {
208
214
  }>;
209
215
  }, "strip", z.ZodTypeAny, {
210
216
  response: {
217
+ nodes: string[];
211
218
  path: string | null;
212
219
  uuid: string;
213
220
  tag: string | null;
@@ -238,6 +245,7 @@ export declare namespace CreateHostCommand {
238
245
  };
239
246
  }, {
240
247
  response: {
248
+ nodes: string[];
241
249
  path: string | null;
242
250
  uuid: string;
243
251
  tag: string | null;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA8DxB,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"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA+DxB,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"}
@@ -62,6 +62,7 @@ var CreateHostCommand;
62
62
  vlessRouteId: zod_1.z.optional(zod_1.z.number().int().min(0).max(65535).nullable()),
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
+ nodes: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid())),
65
66
  });
66
67
  CreateHostCommand.ResponseSchema = zod_1.z.object({
67
68
  response: models_1.HostsSchema,
@@ -42,7 +42,9 @@ export declare namespace GetAllHostsCommand {
42
42
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
43
43
  shuffleHost: z.ZodBoolean;
44
44
  mihomoX25519: z.ZodBoolean;
45
+ nodes: z.ZodArray<z.ZodString, "many">;
45
46
  }, "strip", z.ZodTypeAny, {
47
+ nodes: string[];
46
48
  path: string | null;
47
49
  uuid: string;
48
50
  tag: string | null;
@@ -71,6 +73,7 @@ export declare namespace GetAllHostsCommand {
71
73
  muxParams?: unknown;
72
74
  sockoptParams?: unknown;
73
75
  }, {
76
+ nodes: string[];
74
77
  path: string | null;
75
78
  uuid: string;
76
79
  tag: string | null;
@@ -101,6 +104,7 @@ export declare namespace GetAllHostsCommand {
101
104
  }>, "many">;
102
105
  }, "strip", z.ZodTypeAny, {
103
106
  response: {
107
+ nodes: string[];
104
108
  path: string | null;
105
109
  uuid: string;
106
110
  tag: string | null;
@@ -131,6 +135,7 @@ export declare namespace GetAllHostsCommand {
131
135
  }[];
132
136
  }, {
133
137
  response: {
138
+ nodes: string[];
134
139
  path: string | null;
135
140
  uuid: string;
136
141
  tag: string | null;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
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"}
@@ -50,7 +50,9 @@ export declare namespace GetOneHostCommand {
50
50
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
51
51
  shuffleHost: z.ZodBoolean;
52
52
  mihomoX25519: z.ZodBoolean;
53
+ nodes: z.ZodArray<z.ZodString, "many">;
53
54
  }, "strip", z.ZodTypeAny, {
55
+ nodes: string[];
54
56
  path: string | null;
55
57
  uuid: string;
56
58
  tag: string | null;
@@ -79,6 +81,7 @@ export declare namespace GetOneHostCommand {
79
81
  muxParams?: unknown;
80
82
  sockoptParams?: unknown;
81
83
  }, {
84
+ nodes: string[];
82
85
  path: string | null;
83
86
  uuid: string;
84
87
  tag: string | null;
@@ -109,6 +112,7 @@ export declare namespace GetOneHostCommand {
109
112
  }>;
110
113
  }, "strip", z.ZodTypeAny, {
111
114
  response: {
115
+ nodes: string[];
112
116
  path: string | null;
113
117
  uuid: string;
114
118
  tag: string | null;
@@ -139,6 +143,7 @@ export declare namespace GetOneHostCommand {
139
143
  };
140
144
  }, {
141
145
  response: {
146
+ nodes: string[];
142
147
  path: string | null;
143
148
  uuid: string;
144
149
  tag: string | null;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
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"}
@@ -42,6 +42,7 @@ export declare namespace ReorderHostCommand {
42
42
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
43
43
  shuffleHost: z.ZodBoolean;
44
44
  mihomoX25519: z.ZodBoolean;
45
+ nodes: z.ZodArray<z.ZodString, "many">;
45
46
  }, "uuid" | "viewPosition">, "strip", z.ZodTypeAny, {
46
47
  uuid: string;
47
48
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
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"}
@@ -41,6 +41,7 @@ export declare namespace UpdateHostCommand {
41
41
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
42
42
  shuffleHost: z.ZodBoolean;
43
43
  mihomoX25519: z.ZodBoolean;
44
+ nodes: z.ZodArray<z.ZodString, "many">;
44
45
  }, "uuid"> & {
45
46
  inbound: z.ZodOptional<z.ZodObject<{
46
47
  configProfileUuid: z.ZodString;
@@ -94,8 +95,10 @@ export declare namespace UpdateHostCommand {
94
95
  allowInsecure: z.ZodOptional<z.ZodBoolean>;
95
96
  shuffleHost: z.ZodOptional<z.ZodBoolean>;
96
97
  mihomoX25519: z.ZodOptional<z.ZodBoolean>;
98
+ nodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
97
99
  }, "strip", z.ZodTypeAny, {
98
100
  uuid: string;
101
+ nodes?: string[] | undefined;
99
102
  path?: string | undefined;
100
103
  tag?: string | null | undefined;
101
104
  port?: number | undefined;
@@ -123,6 +126,7 @@ export declare namespace UpdateHostCommand {
123
126
  mihomoX25519?: boolean | undefined;
124
127
  }, {
125
128
  uuid: string;
129
+ nodes?: string[] | undefined;
126
130
  path?: string | undefined;
127
131
  tag?: string | null | undefined;
128
132
  port?: number | undefined;
@@ -189,7 +193,9 @@ export declare namespace UpdateHostCommand {
189
193
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
190
194
  shuffleHost: z.ZodBoolean;
191
195
  mihomoX25519: z.ZodBoolean;
196
+ nodes: z.ZodArray<z.ZodString, "many">;
192
197
  }, "strip", z.ZodTypeAny, {
198
+ nodes: string[];
193
199
  path: string | null;
194
200
  uuid: string;
195
201
  tag: string | null;
@@ -218,6 +224,7 @@ export declare namespace UpdateHostCommand {
218
224
  muxParams?: unknown;
219
225
  sockoptParams?: unknown;
220
226
  }, {
227
+ nodes: string[];
221
228
  path: string | null;
222
229
  uuid: string;
223
230
  tag: string | null;
@@ -248,6 +255,7 @@ export declare namespace UpdateHostCommand {
248
255
  }>;
249
256
  }, "strip", z.ZodTypeAny, {
250
257
  response: {
258
+ nodes: string[];
251
259
  path: string | null;
252
260
  uuid: string;
253
261
  tag: string | null;
@@ -278,6 +286,7 @@ export declare namespace UpdateHostCommand {
278
286
  };
279
287
  }, {
280
288
  response: {
289
+ nodes: string[];
281
290
  path: string | null;
282
291
  uuid: string;
283
292
  tag: string | null;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkExB,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"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmExB,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"}
@@ -67,6 +67,7 @@ var UpdateHostCommand;
67
67
  allowInsecure: zod_1.z.optional(zod_1.z.boolean()),
68
68
  shuffleHost: zod_1.z.optional(zod_1.z.boolean()),
69
69
  mihomoX25519: zod_1.z.optional(zod_1.z.boolean()),
70
+ nodes: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid())),
70
71
  });
71
72
  UpdateHostCommand.ResponseSchema = zod_1.z.object({
72
73
  response: models_1.HostsSchema,
@@ -37,7 +37,9 @@ export declare const HostsSchema: z.ZodObject<{
37
37
  allowInsecure: z.ZodDefault<z.ZodBoolean>;
38
38
  shuffleHost: z.ZodBoolean;
39
39
  mihomoX25519: z.ZodBoolean;
40
+ nodes: z.ZodArray<z.ZodString, "many">;
40
41
  }, "strip", z.ZodTypeAny, {
42
+ nodes: string[];
41
43
  path: string | null;
42
44
  uuid: string;
43
45
  tag: string | null;
@@ -66,6 +68,7 @@ export declare const HostsSchema: z.ZodObject<{
66
68
  muxParams?: unknown;
67
69
  sockoptParams?: unknown;
68
70
  }, {
71
+ nodes: string[];
69
72
  path: string | null;
70
73
  uuid: string;
71
74
  tag: string | null;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BtB,CAAC"}
1
+ {"version":3,"file":"hosts.schema.d.ts","sourceRoot":"","sources":["../../../models/hosts.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCtB,CAAC"}
@@ -31,4 +31,5 @@ exports.HostsSchema = zod_1.z.object({
31
31
  allowInsecure: zod_1.z.boolean().default(false),
32
32
  shuffleHost: zod_1.z.boolean(),
33
33
  mihomoX25519: zod_1.z.boolean(),
34
+ nodes: zod_1.z.array(zod_1.z.string().uuid()),
34
35
  });
@@ -62,6 +62,7 @@ var CreateHostCommand;
62
62
  vlessRouteId: zod_1.z.optional(zod_1.z.number().int().min(0).max(65535).nullable()),
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
+ nodes: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid())),
65
66
  });
66
67
  CreateHostCommand.ResponseSchema = zod_1.z.object({
67
68
  response: models_1.HostsSchema,
@@ -67,6 +67,7 @@ var UpdateHostCommand;
67
67
  allowInsecure: zod_1.z.optional(zod_1.z.boolean()),
68
68
  shuffleHost: zod_1.z.optional(zod_1.z.boolean()),
69
69
  mihomoX25519: zod_1.z.optional(zod_1.z.boolean()),
70
+ nodes: zod_1.z.optional(zod_1.z.array(zod_1.z.string().uuid())),
70
71
  });
71
72
  UpdateHostCommand.ResponseSchema = zod_1.z.object({
72
73
  response: models_1.HostsSchema,
@@ -31,4 +31,5 @@ exports.HostsSchema = zod_1.z.object({
31
31
  allowInsecure: zod_1.z.boolean().default(false),
32
32
  shuffleHost: zod_1.z.boolean(),
33
33
  mihomoX25519: zod_1.z.boolean(),
34
+ nodes: zod_1.z.array(zod_1.z.string().uuid()),
34
35
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "2.1.65",
3
+ "version": "2.1.67",
4
4
  "public": true,
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",