@remnawave/backend-contract 2.8.7 → 2.8.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 -5
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.d.ts +5 -5
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.d.ts +5 -5
- package/build/backend/commands/hosts/bulk/set-inbound-to-many-hosts.command.d.ts +5 -5
- package/build/backend/commands/hosts/bulk/set-port-to-many-hosts.command.d.ts +5 -5
- package/build/backend/commands/hosts/create.command.d.ts +8 -8
- package/build/backend/commands/hosts/create.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/create.command.js +4 -5
- package/build/backend/commands/hosts/get-all.command.d.ts +5 -5
- package/build/backend/commands/hosts/get-one.command.d.ts +5 -5
- package/build/backend/commands/hosts/reorder.command.d.ts +1 -1
- package/build/backend/commands/hosts/update.command.d.ts +9 -9
- package/build/backend/commands/hosts/update.command.d.ts.map +1 -1
- package/build/backend/commands/hosts/update.command.js +4 -5
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +9 -9
- package/build/backend/models/hosts.schema.d.ts +3 -3
- package/build/backend/models/hosts.schema.js +1 -1
- package/build/backend/models/resolved-proxy-config.schema.d.ts +8 -8
- package/build/backend/models/resolved-proxy-config.schema.js +1 -1
- package/build/frontend/commands/hosts/create.command.js +4 -5
- package/build/frontend/commands/hosts/update.command.js +4 -5
- package/build/frontend/models/hosts.schema.js +1 -1
- package/build/frontend/models/resolved-proxy-config.schema.js +1 -1
- package/package.json +1 -1
|
@@ -44,7 +44,7 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
44
44
|
configProfileInboundUuid: string | null;
|
|
45
45
|
}>;
|
|
46
46
|
serverDescription: z.ZodNullable<z.ZodString>;
|
|
47
|
-
|
|
47
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
48
48
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
49
49
|
overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
|
|
50
50
|
keepSniBlank: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -73,9 +73,9 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
73
73
|
}>, "many">>;
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
75
|
nodes: string[];
|
|
76
|
+
tags: string[];
|
|
76
77
|
path: string | null;
|
|
77
78
|
uuid: string;
|
|
78
|
-
tag: string | null;
|
|
79
79
|
port: number;
|
|
80
80
|
viewPosition: number;
|
|
81
81
|
remark: string;
|
|
@@ -111,7 +111,6 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
111
111
|
nodes: string[];
|
|
112
112
|
path: string | null;
|
|
113
113
|
uuid: string;
|
|
114
|
-
tag: string | null;
|
|
115
114
|
port: number;
|
|
116
115
|
viewPosition: number;
|
|
117
116
|
remark: string;
|
|
@@ -133,6 +132,7 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
133
132
|
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
134
133
|
xrayJsonTemplateUuid: string | null;
|
|
135
134
|
excludedInternalSquads: string[];
|
|
135
|
+
tags?: string[] | undefined;
|
|
136
136
|
isDisabled?: boolean | undefined;
|
|
137
137
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
138
138
|
xHttpExtraParams?: unknown;
|
|
@@ -147,9 +147,9 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
147
147
|
}, "strip", z.ZodTypeAny, {
|
|
148
148
|
response: {
|
|
149
149
|
nodes: string[];
|
|
150
|
+
tags: string[];
|
|
150
151
|
path: string | null;
|
|
151
152
|
uuid: string;
|
|
152
|
-
tag: string | null;
|
|
153
153
|
port: number;
|
|
154
154
|
viewPosition: number;
|
|
155
155
|
remark: string;
|
|
@@ -187,7 +187,6 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
187
187
|
nodes: string[];
|
|
188
188
|
path: string | null;
|
|
189
189
|
uuid: string;
|
|
190
|
-
tag: string | null;
|
|
191
190
|
port: number;
|
|
192
191
|
viewPosition: number;
|
|
193
192
|
remark: string;
|
|
@@ -209,6 +208,7 @@ export declare namespace BulkDeleteHostsCommand {
|
|
|
209
208
|
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
210
209
|
xrayJsonTemplateUuid: string | null;
|
|
211
210
|
excludedInternalSquads: string[];
|
|
211
|
+
tags?: string[] | undefined;
|
|
212
212
|
isDisabled?: boolean | undefined;
|
|
213
213
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
214
214
|
xHttpExtraParams?: unknown;
|
|
@@ -44,7 +44,7 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
44
44
|
configProfileInboundUuid: string | null;
|
|
45
45
|
}>;
|
|
46
46
|
serverDescription: z.ZodNullable<z.ZodString>;
|
|
47
|
-
|
|
47
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
48
48
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
49
49
|
overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
|
|
50
50
|
keepSniBlank: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -73,9 +73,9 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
73
73
|
}>, "many">>;
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
75
|
nodes: string[];
|
|
76
|
+
tags: string[];
|
|
76
77
|
path: string | null;
|
|
77
78
|
uuid: string;
|
|
78
|
-
tag: string | null;
|
|
79
79
|
port: number;
|
|
80
80
|
viewPosition: number;
|
|
81
81
|
remark: string;
|
|
@@ -111,7 +111,6 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
111
111
|
nodes: string[];
|
|
112
112
|
path: string | null;
|
|
113
113
|
uuid: string;
|
|
114
|
-
tag: string | null;
|
|
115
114
|
port: number;
|
|
116
115
|
viewPosition: number;
|
|
117
116
|
remark: string;
|
|
@@ -133,6 +132,7 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
133
132
|
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
134
133
|
xrayJsonTemplateUuid: string | null;
|
|
135
134
|
excludedInternalSquads: string[];
|
|
135
|
+
tags?: string[] | undefined;
|
|
136
136
|
isDisabled?: boolean | undefined;
|
|
137
137
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
138
138
|
xHttpExtraParams?: unknown;
|
|
@@ -147,9 +147,9 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
147
147
|
}, "strip", z.ZodTypeAny, {
|
|
148
148
|
response: {
|
|
149
149
|
nodes: string[];
|
|
150
|
+
tags: string[];
|
|
150
151
|
path: string | null;
|
|
151
152
|
uuid: string;
|
|
152
|
-
tag: string | null;
|
|
153
153
|
port: number;
|
|
154
154
|
viewPosition: number;
|
|
155
155
|
remark: string;
|
|
@@ -187,7 +187,6 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
187
187
|
nodes: string[];
|
|
188
188
|
path: string | null;
|
|
189
189
|
uuid: string;
|
|
190
|
-
tag: string | null;
|
|
191
190
|
port: number;
|
|
192
191
|
viewPosition: number;
|
|
193
192
|
remark: string;
|
|
@@ -209,6 +208,7 @@ export declare namespace BulkDisableHostsCommand {
|
|
|
209
208
|
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
210
209
|
xrayJsonTemplateUuid: string | null;
|
|
211
210
|
excludedInternalSquads: string[];
|
|
211
|
+
tags?: string[] | undefined;
|
|
212
212
|
isDisabled?: boolean | undefined;
|
|
213
213
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
214
214
|
xHttpExtraParams?: unknown;
|
|
@@ -44,7 +44,7 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
44
44
|
configProfileInboundUuid: string | null;
|
|
45
45
|
}>;
|
|
46
46
|
serverDescription: z.ZodNullable<z.ZodString>;
|
|
47
|
-
|
|
47
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
48
48
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
49
49
|
overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
|
|
50
50
|
keepSniBlank: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -73,9 +73,9 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
73
73
|
}>, "many">>;
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
75
|
nodes: string[];
|
|
76
|
+
tags: string[];
|
|
76
77
|
path: string | null;
|
|
77
78
|
uuid: string;
|
|
78
|
-
tag: string | null;
|
|
79
79
|
port: number;
|
|
80
80
|
viewPosition: number;
|
|
81
81
|
remark: string;
|
|
@@ -111,7 +111,6 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
111
111
|
nodes: string[];
|
|
112
112
|
path: string | null;
|
|
113
113
|
uuid: string;
|
|
114
|
-
tag: string | null;
|
|
115
114
|
port: number;
|
|
116
115
|
viewPosition: number;
|
|
117
116
|
remark: string;
|
|
@@ -133,6 +132,7 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
133
132
|
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
134
133
|
xrayJsonTemplateUuid: string | null;
|
|
135
134
|
excludedInternalSquads: string[];
|
|
135
|
+
tags?: string[] | undefined;
|
|
136
136
|
isDisabled?: boolean | undefined;
|
|
137
137
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
138
138
|
xHttpExtraParams?: unknown;
|
|
@@ -147,9 +147,9 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
147
147
|
}, "strip", z.ZodTypeAny, {
|
|
148
148
|
response: {
|
|
149
149
|
nodes: string[];
|
|
150
|
+
tags: string[];
|
|
150
151
|
path: string | null;
|
|
151
152
|
uuid: string;
|
|
152
|
-
tag: string | null;
|
|
153
153
|
port: number;
|
|
154
154
|
viewPosition: number;
|
|
155
155
|
remark: string;
|
|
@@ -187,7 +187,6 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
187
187
|
nodes: string[];
|
|
188
188
|
path: string | null;
|
|
189
189
|
uuid: string;
|
|
190
|
-
tag: string | null;
|
|
191
190
|
port: number;
|
|
192
191
|
viewPosition: number;
|
|
193
192
|
remark: string;
|
|
@@ -209,6 +208,7 @@ export declare namespace BulkEnableHostsCommand {
|
|
|
209
208
|
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
210
209
|
xrayJsonTemplateUuid: string | null;
|
|
211
210
|
excludedInternalSquads: string[];
|
|
211
|
+
tags?: string[] | undefined;
|
|
212
212
|
isDisabled?: boolean | undefined;
|
|
213
213
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
214
214
|
xHttpExtraParams?: unknown;
|
|
@@ -50,7 +50,7 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
50
50
|
configProfileInboundUuid: string | null;
|
|
51
51
|
}>;
|
|
52
52
|
serverDescription: z.ZodNullable<z.ZodString>;
|
|
53
|
-
|
|
53
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
54
54
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
55
55
|
overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
|
|
56
56
|
keepSniBlank: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -79,9 +79,9 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
79
79
|
}>, "many">>;
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
81
|
nodes: string[];
|
|
82
|
+
tags: string[];
|
|
82
83
|
path: string | null;
|
|
83
84
|
uuid: string;
|
|
84
|
-
tag: string | null;
|
|
85
85
|
port: number;
|
|
86
86
|
viewPosition: number;
|
|
87
87
|
remark: string;
|
|
@@ -117,7 +117,6 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
117
117
|
nodes: string[];
|
|
118
118
|
path: string | null;
|
|
119
119
|
uuid: string;
|
|
120
|
-
tag: string | null;
|
|
121
120
|
port: number;
|
|
122
121
|
viewPosition: number;
|
|
123
122
|
remark: string;
|
|
@@ -139,6 +138,7 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
139
138
|
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
140
139
|
xrayJsonTemplateUuid: string | null;
|
|
141
140
|
excludedInternalSquads: string[];
|
|
141
|
+
tags?: string[] | undefined;
|
|
142
142
|
isDisabled?: boolean | undefined;
|
|
143
143
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
144
144
|
xHttpExtraParams?: unknown;
|
|
@@ -153,9 +153,9 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
153
153
|
}, "strip", z.ZodTypeAny, {
|
|
154
154
|
response: {
|
|
155
155
|
nodes: string[];
|
|
156
|
+
tags: string[];
|
|
156
157
|
path: string | null;
|
|
157
158
|
uuid: string;
|
|
158
|
-
tag: string | null;
|
|
159
159
|
port: number;
|
|
160
160
|
viewPosition: number;
|
|
161
161
|
remark: string;
|
|
@@ -193,7 +193,6 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
193
193
|
nodes: string[];
|
|
194
194
|
path: string | null;
|
|
195
195
|
uuid: string;
|
|
196
|
-
tag: string | null;
|
|
197
196
|
port: number;
|
|
198
197
|
viewPosition: number;
|
|
199
198
|
remark: string;
|
|
@@ -215,6 +214,7 @@ export declare namespace SetInboundToManyHostsCommand {
|
|
|
215
214
|
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
216
215
|
xrayJsonTemplateUuid: string | null;
|
|
217
216
|
excludedInternalSquads: string[];
|
|
217
|
+
tags?: string[] | undefined;
|
|
218
218
|
isDisabled?: boolean | undefined;
|
|
219
219
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
220
220
|
xHttpExtraParams?: unknown;
|
|
@@ -47,7 +47,7 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
47
47
|
configProfileInboundUuid: string | null;
|
|
48
48
|
}>;
|
|
49
49
|
serverDescription: z.ZodNullable<z.ZodString>;
|
|
50
|
-
|
|
50
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
51
51
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
52
52
|
overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
|
|
53
53
|
keepSniBlank: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -76,9 +76,9 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
76
76
|
}>, "many">>;
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
78
|
nodes: string[];
|
|
79
|
+
tags: string[];
|
|
79
80
|
path: string | null;
|
|
80
81
|
uuid: string;
|
|
81
|
-
tag: string | null;
|
|
82
82
|
port: number;
|
|
83
83
|
viewPosition: number;
|
|
84
84
|
remark: string;
|
|
@@ -114,7 +114,6 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
114
114
|
nodes: string[];
|
|
115
115
|
path: string | null;
|
|
116
116
|
uuid: string;
|
|
117
|
-
tag: string | null;
|
|
118
117
|
port: number;
|
|
119
118
|
viewPosition: number;
|
|
120
119
|
remark: string;
|
|
@@ -136,6 +135,7 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
136
135
|
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
137
136
|
xrayJsonTemplateUuid: string | null;
|
|
138
137
|
excludedInternalSquads: string[];
|
|
138
|
+
tags?: string[] | undefined;
|
|
139
139
|
isDisabled?: boolean | undefined;
|
|
140
140
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
141
141
|
xHttpExtraParams?: unknown;
|
|
@@ -150,9 +150,9 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
150
150
|
}, "strip", z.ZodTypeAny, {
|
|
151
151
|
response: {
|
|
152
152
|
nodes: string[];
|
|
153
|
+
tags: string[];
|
|
153
154
|
path: string | null;
|
|
154
155
|
uuid: string;
|
|
155
|
-
tag: string | null;
|
|
156
156
|
port: number;
|
|
157
157
|
viewPosition: number;
|
|
158
158
|
remark: string;
|
|
@@ -190,7 +190,6 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
190
190
|
nodes: string[];
|
|
191
191
|
path: string | null;
|
|
192
192
|
uuid: string;
|
|
193
|
-
tag: string | null;
|
|
194
193
|
port: number;
|
|
195
194
|
viewPosition: number;
|
|
196
195
|
remark: string;
|
|
@@ -212,6 +211,7 @@ export declare namespace SetPortToManyHostsCommand {
|
|
|
212
211
|
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
213
212
|
xrayJsonTemplateUuid: string | null;
|
|
214
213
|
excludedInternalSquads: string[];
|
|
214
|
+
tags?: string[] | undefined;
|
|
215
215
|
isDisabled?: boolean | undefined;
|
|
216
216
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
217
217
|
xHttpExtraParams?: unknown;
|
|
@@ -50,7 +50,7 @@ export declare namespace CreateHostCommand {
|
|
|
50
50
|
sockoptParams: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
51
51
|
finalMask: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
52
52
|
serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
-
|
|
53
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
54
54
|
isHidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
55
55
|
overrideSniFromAddress: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
56
56
|
keepSniBlank: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
@@ -86,8 +86,8 @@ export declare namespace CreateHostCommand {
|
|
|
86
86
|
configProfileInboundUuid: string;
|
|
87
87
|
};
|
|
88
88
|
nodes?: string[] | undefined;
|
|
89
|
+
tags?: string[] | undefined;
|
|
89
90
|
path?: string | undefined;
|
|
90
|
-
tag?: string | null | undefined;
|
|
91
91
|
sni?: string | undefined;
|
|
92
92
|
host?: string | undefined;
|
|
93
93
|
alpn?: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null | undefined;
|
|
@@ -120,8 +120,8 @@ export declare namespace CreateHostCommand {
|
|
|
120
120
|
configProfileInboundUuid: string;
|
|
121
121
|
};
|
|
122
122
|
nodes?: string[] | undefined;
|
|
123
|
+
tags?: string[] | undefined;
|
|
123
124
|
path?: string | undefined;
|
|
124
|
-
tag?: string | null | undefined;
|
|
125
125
|
sni?: string | undefined;
|
|
126
126
|
host?: string | undefined;
|
|
127
127
|
alpn?: "h3" | "h2" | "http/1.1" | "h2,http/1.1" | "h3,h2,http/1.1" | "h3,h2" | null | undefined;
|
|
@@ -180,7 +180,7 @@ export declare namespace CreateHostCommand {
|
|
|
180
180
|
configProfileInboundUuid: string | null;
|
|
181
181
|
}>;
|
|
182
182
|
serverDescription: z.ZodNullable<z.ZodString>;
|
|
183
|
-
|
|
183
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
184
184
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
185
185
|
overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
|
|
186
186
|
keepSniBlank: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -209,9 +209,9 @@ export declare namespace CreateHostCommand {
|
|
|
209
209
|
}>, "many">>;
|
|
210
210
|
}, "strip", z.ZodTypeAny, {
|
|
211
211
|
nodes: string[];
|
|
212
|
+
tags: string[];
|
|
212
213
|
path: string | null;
|
|
213
214
|
uuid: string;
|
|
214
|
-
tag: string | null;
|
|
215
215
|
port: number;
|
|
216
216
|
viewPosition: number;
|
|
217
217
|
remark: string;
|
|
@@ -247,7 +247,6 @@ export declare namespace CreateHostCommand {
|
|
|
247
247
|
nodes: string[];
|
|
248
248
|
path: string | null;
|
|
249
249
|
uuid: string;
|
|
250
|
-
tag: string | null;
|
|
251
250
|
port: number;
|
|
252
251
|
viewPosition: number;
|
|
253
252
|
remark: string;
|
|
@@ -269,6 +268,7 @@ export declare namespace CreateHostCommand {
|
|
|
269
268
|
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
270
269
|
xrayJsonTemplateUuid: string | null;
|
|
271
270
|
excludedInternalSquads: string[];
|
|
271
|
+
tags?: string[] | undefined;
|
|
272
272
|
isDisabled?: boolean | undefined;
|
|
273
273
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
274
274
|
xHttpExtraParams?: unknown;
|
|
@@ -283,9 +283,9 @@ export declare namespace CreateHostCommand {
|
|
|
283
283
|
}, "strip", z.ZodTypeAny, {
|
|
284
284
|
response: {
|
|
285
285
|
nodes: string[];
|
|
286
|
+
tags: string[];
|
|
286
287
|
path: string | null;
|
|
287
288
|
uuid: string;
|
|
288
|
-
tag: string | null;
|
|
289
289
|
port: number;
|
|
290
290
|
viewPosition: number;
|
|
291
291
|
remark: string;
|
|
@@ -323,7 +323,6 @@ export declare namespace CreateHostCommand {
|
|
|
323
323
|
nodes: string[];
|
|
324
324
|
path: string | null;
|
|
325
325
|
uuid: string;
|
|
326
|
-
tag: string | null;
|
|
327
326
|
port: number;
|
|
328
327
|
viewPosition: number;
|
|
329
328
|
remark: string;
|
|
@@ -345,6 +344,7 @@ export declare namespace CreateHostCommand {
|
|
|
345
344
|
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
346
345
|
xrayJsonTemplateUuid: string | null;
|
|
347
346
|
excludedInternalSquads: string[];
|
|
347
|
+
tags?: string[] | undefined;
|
|
348
348
|
isDisabled?: boolean | undefined;
|
|
349
349
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
350
350
|
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;AAaxB,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;AAaxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyExB,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,13 +50,12 @@ var CreateHostCommand;
|
|
|
50
50
|
message: 'Server description must be less than 30 characters',
|
|
51
51
|
})
|
|
52
52
|
.nullable()),
|
|
53
|
-
|
|
54
|
-
.
|
|
53
|
+
tags: zod_1.z.optional(zod_1.z
|
|
54
|
+
.array(zod_1.z
|
|
55
55
|
.string()
|
|
56
56
|
.regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
|
|
57
|
-
.max(
|
|
58
|
-
.
|
|
59
|
-
.describe('Optional. Host tag for categorization. Max 32 characters, uppercase letters, numbers, underscores and colons are allowed.'),
|
|
57
|
+
.max(36, 'Each tag must be less than 36 characters'))
|
|
58
|
+
.max(10, 'Maximum 10 tags')),
|
|
60
59
|
isHidden: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
|
61
60
|
overrideSniFromAddress: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
|
62
61
|
keepSniBlank: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
|
@@ -36,7 +36,7 @@ export declare namespace GetAllHostsCommand {
|
|
|
36
36
|
configProfileInboundUuid: string | null;
|
|
37
37
|
}>;
|
|
38
38
|
serverDescription: z.ZodNullable<z.ZodString>;
|
|
39
|
-
|
|
39
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
40
40
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
41
41
|
overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
|
|
42
42
|
keepSniBlank: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -65,9 +65,9 @@ export declare namespace GetAllHostsCommand {
|
|
|
65
65
|
}>, "many">>;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
67
|
nodes: string[];
|
|
68
|
+
tags: string[];
|
|
68
69
|
path: string | null;
|
|
69
70
|
uuid: string;
|
|
70
|
-
tag: string | null;
|
|
71
71
|
port: number;
|
|
72
72
|
viewPosition: number;
|
|
73
73
|
remark: string;
|
|
@@ -103,7 +103,6 @@ export declare namespace GetAllHostsCommand {
|
|
|
103
103
|
nodes: string[];
|
|
104
104
|
path: string | null;
|
|
105
105
|
uuid: string;
|
|
106
|
-
tag: string | null;
|
|
107
106
|
port: number;
|
|
108
107
|
viewPosition: number;
|
|
109
108
|
remark: string;
|
|
@@ -125,6 +124,7 @@ export declare namespace GetAllHostsCommand {
|
|
|
125
124
|
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
126
125
|
xrayJsonTemplateUuid: string | null;
|
|
127
126
|
excludedInternalSquads: string[];
|
|
127
|
+
tags?: string[] | undefined;
|
|
128
128
|
isDisabled?: boolean | undefined;
|
|
129
129
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
130
130
|
xHttpExtraParams?: unknown;
|
|
@@ -139,9 +139,9 @@ export declare namespace GetAllHostsCommand {
|
|
|
139
139
|
}, "strip", z.ZodTypeAny, {
|
|
140
140
|
response: {
|
|
141
141
|
nodes: string[];
|
|
142
|
+
tags: string[];
|
|
142
143
|
path: string | null;
|
|
143
144
|
uuid: string;
|
|
144
|
-
tag: string | null;
|
|
145
145
|
port: number;
|
|
146
146
|
viewPosition: number;
|
|
147
147
|
remark: string;
|
|
@@ -179,7 +179,6 @@ export declare namespace GetAllHostsCommand {
|
|
|
179
179
|
nodes: string[];
|
|
180
180
|
path: string | null;
|
|
181
181
|
uuid: string;
|
|
182
|
-
tag: string | null;
|
|
183
182
|
port: number;
|
|
184
183
|
viewPosition: number;
|
|
185
184
|
remark: string;
|
|
@@ -201,6 +200,7 @@ export declare namespace GetAllHostsCommand {
|
|
|
201
200
|
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
202
201
|
xrayJsonTemplateUuid: string | null;
|
|
203
202
|
excludedInternalSquads: string[];
|
|
203
|
+
tags?: string[] | undefined;
|
|
204
204
|
isDisabled?: boolean | undefined;
|
|
205
205
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
206
206
|
xHttpExtraParams?: unknown;
|
|
@@ -44,7 +44,7 @@ export declare namespace GetOneHostCommand {
|
|
|
44
44
|
configProfileInboundUuid: string | null;
|
|
45
45
|
}>;
|
|
46
46
|
serverDescription: z.ZodNullable<z.ZodString>;
|
|
47
|
-
|
|
47
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
48
48
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
49
49
|
overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
|
|
50
50
|
keepSniBlank: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -73,9 +73,9 @@ export declare namespace GetOneHostCommand {
|
|
|
73
73
|
}>, "many">>;
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
75
75
|
nodes: string[];
|
|
76
|
+
tags: string[];
|
|
76
77
|
path: string | null;
|
|
77
78
|
uuid: string;
|
|
78
|
-
tag: string | null;
|
|
79
79
|
port: number;
|
|
80
80
|
viewPosition: number;
|
|
81
81
|
remark: string;
|
|
@@ -111,7 +111,6 @@ export declare namespace GetOneHostCommand {
|
|
|
111
111
|
nodes: string[];
|
|
112
112
|
path: string | null;
|
|
113
113
|
uuid: string;
|
|
114
|
-
tag: string | null;
|
|
115
114
|
port: number;
|
|
116
115
|
viewPosition: number;
|
|
117
116
|
remark: string;
|
|
@@ -133,6 +132,7 @@ export declare namespace GetOneHostCommand {
|
|
|
133
132
|
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
134
133
|
xrayJsonTemplateUuid: string | null;
|
|
135
134
|
excludedInternalSquads: string[];
|
|
135
|
+
tags?: string[] | undefined;
|
|
136
136
|
isDisabled?: boolean | undefined;
|
|
137
137
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
138
138
|
xHttpExtraParams?: unknown;
|
|
@@ -147,9 +147,9 @@ export declare namespace GetOneHostCommand {
|
|
|
147
147
|
}, "strip", z.ZodTypeAny, {
|
|
148
148
|
response: {
|
|
149
149
|
nodes: string[];
|
|
150
|
+
tags: string[];
|
|
150
151
|
path: string | null;
|
|
151
152
|
uuid: string;
|
|
152
|
-
tag: string | null;
|
|
153
153
|
port: number;
|
|
154
154
|
viewPosition: number;
|
|
155
155
|
remark: string;
|
|
@@ -187,7 +187,6 @@ export declare namespace GetOneHostCommand {
|
|
|
187
187
|
nodes: string[];
|
|
188
188
|
path: string | null;
|
|
189
189
|
uuid: string;
|
|
190
|
-
tag: string | null;
|
|
191
190
|
port: number;
|
|
192
191
|
viewPosition: number;
|
|
193
192
|
remark: string;
|
|
@@ -209,6 +208,7 @@ export declare namespace GetOneHostCommand {
|
|
|
209
208
|
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
210
209
|
xrayJsonTemplateUuid: string | null;
|
|
211
210
|
excludedInternalSquads: string[];
|
|
211
|
+
tags?: string[] | undefined;
|
|
212
212
|
isDisabled?: boolean | undefined;
|
|
213
213
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
214
214
|
xHttpExtraParams?: unknown;
|
|
@@ -36,7 +36,7 @@ export declare namespace ReorderHostCommand {
|
|
|
36
36
|
configProfileInboundUuid: string | null;
|
|
37
37
|
}>;
|
|
38
38
|
serverDescription: z.ZodNullable<z.ZodString>;
|
|
39
|
-
|
|
39
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
40
40
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
41
41
|
overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
|
|
42
42
|
keepSniBlank: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -35,7 +35,7 @@ export declare namespace UpdateHostCommand {
|
|
|
35
35
|
configProfileInboundUuid: string | null;
|
|
36
36
|
}>;
|
|
37
37
|
serverDescription: z.ZodNullable<z.ZodString>;
|
|
38
|
-
|
|
38
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
39
39
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
40
40
|
overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
|
|
41
41
|
keepSniBlank: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -109,7 +109,7 @@ export declare namespace UpdateHostCommand {
|
|
|
109
109
|
sockoptParams: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
110
110
|
finalMask: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
111
111
|
serverDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
112
|
-
|
|
112
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
113
113
|
isHidden: z.ZodOptional<z.ZodBoolean>;
|
|
114
114
|
overrideSniFromAddress: z.ZodOptional<z.ZodBoolean>;
|
|
115
115
|
keepSniBlank: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -139,8 +139,8 @@ export declare namespace UpdateHostCommand {
|
|
|
139
139
|
}, "strip", z.ZodTypeAny, {
|
|
140
140
|
uuid: string;
|
|
141
141
|
nodes?: string[] | undefined;
|
|
142
|
+
tags?: string[] | undefined;
|
|
142
143
|
path?: string | undefined;
|
|
143
|
-
tag?: string | null | undefined;
|
|
144
144
|
port?: number | undefined;
|
|
145
145
|
remark?: string | undefined;
|
|
146
146
|
address?: string | undefined;
|
|
@@ -174,8 +174,8 @@ export declare namespace UpdateHostCommand {
|
|
|
174
174
|
}, {
|
|
175
175
|
uuid: string;
|
|
176
176
|
nodes?: string[] | undefined;
|
|
177
|
+
tags?: string[] | undefined;
|
|
177
178
|
path?: string | undefined;
|
|
178
|
-
tag?: string | null | undefined;
|
|
179
179
|
port?: number | undefined;
|
|
180
180
|
remark?: string | undefined;
|
|
181
181
|
address?: string | undefined;
|
|
@@ -241,7 +241,7 @@ export declare namespace UpdateHostCommand {
|
|
|
241
241
|
configProfileInboundUuid: string | null;
|
|
242
242
|
}>;
|
|
243
243
|
serverDescription: z.ZodNullable<z.ZodString>;
|
|
244
|
-
|
|
244
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
245
245
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
246
246
|
overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
|
|
247
247
|
keepSniBlank: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -270,9 +270,9 @@ export declare namespace UpdateHostCommand {
|
|
|
270
270
|
}>, "many">>;
|
|
271
271
|
}, "strip", z.ZodTypeAny, {
|
|
272
272
|
nodes: string[];
|
|
273
|
+
tags: string[];
|
|
273
274
|
path: string | null;
|
|
274
275
|
uuid: string;
|
|
275
|
-
tag: string | null;
|
|
276
276
|
port: number;
|
|
277
277
|
viewPosition: number;
|
|
278
278
|
remark: string;
|
|
@@ -308,7 +308,6 @@ export declare namespace UpdateHostCommand {
|
|
|
308
308
|
nodes: string[];
|
|
309
309
|
path: string | null;
|
|
310
310
|
uuid: string;
|
|
311
|
-
tag: string | null;
|
|
312
311
|
port: number;
|
|
313
312
|
viewPosition: number;
|
|
314
313
|
remark: string;
|
|
@@ -330,6 +329,7 @@ export declare namespace UpdateHostCommand {
|
|
|
330
329
|
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
331
330
|
xrayJsonTemplateUuid: string | null;
|
|
332
331
|
excludedInternalSquads: string[];
|
|
332
|
+
tags?: string[] | undefined;
|
|
333
333
|
isDisabled?: boolean | undefined;
|
|
334
334
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
335
335
|
xHttpExtraParams?: unknown;
|
|
@@ -344,9 +344,9 @@ export declare namespace UpdateHostCommand {
|
|
|
344
344
|
}, "strip", z.ZodTypeAny, {
|
|
345
345
|
response: {
|
|
346
346
|
nodes: string[];
|
|
347
|
+
tags: string[];
|
|
347
348
|
path: string | null;
|
|
348
349
|
uuid: string;
|
|
349
|
-
tag: string | null;
|
|
350
350
|
port: number;
|
|
351
351
|
viewPosition: number;
|
|
352
352
|
remark: string;
|
|
@@ -384,7 +384,6 @@ export declare namespace UpdateHostCommand {
|
|
|
384
384
|
nodes: string[];
|
|
385
385
|
path: string | null;
|
|
386
386
|
uuid: string;
|
|
387
|
-
tag: string | null;
|
|
388
387
|
port: number;
|
|
389
388
|
viewPosition: number;
|
|
390
389
|
remark: string;
|
|
@@ -406,6 +405,7 @@ export declare namespace UpdateHostCommand {
|
|
|
406
405
|
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
407
406
|
xrayJsonTemplateUuid: string | null;
|
|
408
407
|
excludedInternalSquads: string[];
|
|
408
|
+
tags?: string[] | undefined;
|
|
409
409
|
isDisabled?: boolean | undefined;
|
|
410
410
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
411
411
|
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;AAaxB,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;AAaxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,GAAG,eAAwB,CAAC;IAClC,MAAM,OAAO,eAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA6ExB,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"}
|
|
@@ -55,13 +55,12 @@ var UpdateHostCommand;
|
|
|
55
55
|
message: 'Server description must be less than 30 characters',
|
|
56
56
|
})
|
|
57
57
|
.nullable()),
|
|
58
|
-
|
|
59
|
-
.
|
|
58
|
+
tags: zod_1.z.optional(zod_1.z
|
|
59
|
+
.array(zod_1.z
|
|
60
60
|
.string()
|
|
61
61
|
.regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
|
|
62
|
-
.max(
|
|
63
|
-
.
|
|
64
|
-
.describe('Optional. Host tag for categorization. Max 32 characters, uppercase letters, numbers, underscores and colons are allowed.'),
|
|
62
|
+
.max(36, 'Each tag must be less than 36 characters'))
|
|
63
|
+
.max(10, 'Maximum 10 tags')),
|
|
65
64
|
isHidden: zod_1.z.optional(zod_1.z.boolean()),
|
|
66
65
|
overrideSniFromAddress: zod_1.z.optional(zod_1.z.boolean()),
|
|
67
66
|
keepSniBlank: zod_1.z.optional(zod_1.z.boolean()),
|
package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts
CHANGED
|
@@ -493,7 +493,7 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
493
493
|
}>;
|
|
494
494
|
metadata: z.ZodObject<{
|
|
495
495
|
uuid: z.ZodString;
|
|
496
|
-
|
|
496
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
497
497
|
excludeFromSubscriptionTypes: z.ZodArray<z.ZodNativeEnum<{
|
|
498
498
|
readonly XRAY_JSON: "XRAY_JSON";
|
|
499
499
|
readonly XRAY_BASE64: "XRAY_BASE64";
|
|
@@ -512,8 +512,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
512
512
|
vlessRouteId: z.ZodNullable<z.ZodNumber>;
|
|
513
513
|
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
|
514
514
|
}, "strip", z.ZodTypeAny, {
|
|
515
|
+
tags: string[];
|
|
515
516
|
uuid: string;
|
|
516
|
-
tag: string | null;
|
|
517
517
|
viewPosition: number;
|
|
518
518
|
remark: string;
|
|
519
519
|
isDisabled: boolean;
|
|
@@ -525,8 +525,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
525
525
|
inboundTag: string;
|
|
526
526
|
rawInbound?: unknown;
|
|
527
527
|
}, {
|
|
528
|
+
tags: string[];
|
|
528
529
|
uuid: string;
|
|
529
|
-
tag: string | null;
|
|
530
530
|
viewPosition: number;
|
|
531
531
|
remark: string;
|
|
532
532
|
isDisabled: boolean;
|
|
@@ -540,8 +540,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
540
540
|
}>;
|
|
541
541
|
}, "strip", z.ZodTypeAny, {
|
|
542
542
|
metadata: {
|
|
543
|
+
tags: string[];
|
|
543
544
|
uuid: string;
|
|
544
|
-
tag: string | null;
|
|
545
545
|
viewPosition: number;
|
|
546
546
|
remark: string;
|
|
547
547
|
isDisabled: boolean;
|
|
@@ -648,8 +648,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
648
648
|
mux?: unknown;
|
|
649
649
|
}, {
|
|
650
650
|
metadata: {
|
|
651
|
+
tags: string[];
|
|
651
652
|
uuid: string;
|
|
652
|
-
tag: string | null;
|
|
653
653
|
viewPosition: number;
|
|
654
654
|
remark: string;
|
|
655
655
|
isDisabled: boolean;
|
|
@@ -802,8 +802,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
802
802
|
};
|
|
803
803
|
resolvedProxyConfigs: {
|
|
804
804
|
metadata: {
|
|
805
|
+
tags: string[];
|
|
805
806
|
uuid: string;
|
|
806
|
-
tag: string | null;
|
|
807
807
|
viewPosition: number;
|
|
808
808
|
remark: string;
|
|
809
809
|
isDisabled: boolean;
|
|
@@ -956,8 +956,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
956
956
|
};
|
|
957
957
|
resolvedProxyConfigs: {
|
|
958
958
|
metadata: {
|
|
959
|
+
tags: string[];
|
|
959
960
|
uuid: string;
|
|
960
|
-
tag: string | null;
|
|
961
961
|
viewPosition: number;
|
|
962
962
|
remark: string;
|
|
963
963
|
isDisabled: boolean;
|
|
@@ -1112,8 +1112,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
1112
1112
|
};
|
|
1113
1113
|
resolvedProxyConfigs: {
|
|
1114
1114
|
metadata: {
|
|
1115
|
+
tags: string[];
|
|
1115
1116
|
uuid: string;
|
|
1116
|
-
tag: string | null;
|
|
1117
1117
|
viewPosition: number;
|
|
1118
1118
|
remark: string;
|
|
1119
1119
|
isDisabled: boolean;
|
|
@@ -1268,8 +1268,8 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
1268
1268
|
};
|
|
1269
1269
|
resolvedProxyConfigs: {
|
|
1270
1270
|
metadata: {
|
|
1271
|
+
tags: string[];
|
|
1271
1272
|
uuid: string;
|
|
1272
|
-
tag: string | null;
|
|
1273
1273
|
viewPosition: number;
|
|
1274
1274
|
remark: string;
|
|
1275
1275
|
isDisabled: boolean;
|
|
@@ -31,7 +31,7 @@ export declare const HostsSchema: z.ZodObject<{
|
|
|
31
31
|
configProfileInboundUuid: string | null;
|
|
32
32
|
}>;
|
|
33
33
|
serverDescription: z.ZodNullable<z.ZodString>;
|
|
34
|
-
|
|
34
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
35
35
|
isHidden: z.ZodDefault<z.ZodBoolean>;
|
|
36
36
|
overrideSniFromAddress: z.ZodDefault<z.ZodBoolean>;
|
|
37
37
|
keepSniBlank: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -60,9 +60,9 @@ export declare const HostsSchema: z.ZodObject<{
|
|
|
60
60
|
}>, "many">>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
nodes: string[];
|
|
63
|
+
tags: string[];
|
|
63
64
|
path: string | null;
|
|
64
65
|
uuid: string;
|
|
65
|
-
tag: string | null;
|
|
66
66
|
port: number;
|
|
67
67
|
viewPosition: number;
|
|
68
68
|
remark: string;
|
|
@@ -98,7 +98,6 @@ export declare const HostsSchema: z.ZodObject<{
|
|
|
98
98
|
nodes: string[];
|
|
99
99
|
path: string | null;
|
|
100
100
|
uuid: string;
|
|
101
|
-
tag: string | null;
|
|
102
101
|
port: number;
|
|
103
102
|
viewPosition: number;
|
|
104
103
|
remark: string;
|
|
@@ -120,6 +119,7 @@ export declare const HostsSchema: z.ZodObject<{
|
|
|
120
119
|
mihomoIpVersion: "dual" | "ipv4" | "ipv6" | "ipv4-prefer" | "ipv6-prefer" | null;
|
|
121
120
|
xrayJsonTemplateUuid: string | null;
|
|
122
121
|
excludedInternalSquads: string[];
|
|
122
|
+
tags?: string[] | undefined;
|
|
123
123
|
isDisabled?: boolean | undefined;
|
|
124
124
|
securityLayer?: "DEFAULT" | "TLS" | "NONE" | undefined;
|
|
125
125
|
xHttpExtraParams?: unknown;
|
|
@@ -26,7 +26,7 @@ exports.HostsSchema = zod_1.z.object({
|
|
|
26
26
|
configProfileInboundUuid: zod_1.z.string().uuid().nullable(),
|
|
27
27
|
}),
|
|
28
28
|
serverDescription: zod_1.z.string().max(30).nullable(),
|
|
29
|
-
|
|
29
|
+
tags: zod_1.z.array(zod_1.z.string()).default([]),
|
|
30
30
|
isHidden: zod_1.z.boolean().default(false),
|
|
31
31
|
overrideSniFromAddress: zod_1.z.boolean().default(false),
|
|
32
32
|
keepSniBlank: zod_1.z.boolean().default(false),
|
|
@@ -820,7 +820,7 @@ export declare const SecurityVariantSchema: z.ZodDiscriminatedUnion<"security",
|
|
|
820
820
|
}>]>;
|
|
821
821
|
export declare const ProxyEntryMetadataSchema: z.ZodObject<{
|
|
822
822
|
uuid: z.ZodString;
|
|
823
|
-
|
|
823
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
824
824
|
excludeFromSubscriptionTypes: z.ZodArray<z.ZodNativeEnum<{
|
|
825
825
|
readonly XRAY_JSON: "XRAY_JSON";
|
|
826
826
|
readonly XRAY_BASE64: "XRAY_BASE64";
|
|
@@ -839,8 +839,8 @@ export declare const ProxyEntryMetadataSchema: z.ZodObject<{
|
|
|
839
839
|
vlessRouteId: z.ZodNullable<z.ZodNumber>;
|
|
840
840
|
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
|
841
841
|
}, "strip", z.ZodTypeAny, {
|
|
842
|
+
tags: string[];
|
|
842
843
|
uuid: string;
|
|
843
|
-
tag: string | null;
|
|
844
844
|
viewPosition: number;
|
|
845
845
|
remark: string;
|
|
846
846
|
isDisabled: boolean;
|
|
@@ -852,8 +852,8 @@ export declare const ProxyEntryMetadataSchema: z.ZodObject<{
|
|
|
852
852
|
inboundTag: string;
|
|
853
853
|
rawInbound?: unknown;
|
|
854
854
|
}, {
|
|
855
|
+
tags: string[];
|
|
855
856
|
uuid: string;
|
|
856
|
-
tag: string | null;
|
|
857
857
|
viewPosition: number;
|
|
858
858
|
remark: string;
|
|
859
859
|
isDisabled: boolean;
|
|
@@ -1181,7 +1181,7 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
|
|
|
1181
1181
|
}>;
|
|
1182
1182
|
metadata: z.ZodObject<{
|
|
1183
1183
|
uuid: z.ZodString;
|
|
1184
|
-
|
|
1184
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
1185
1185
|
excludeFromSubscriptionTypes: z.ZodArray<z.ZodNativeEnum<{
|
|
1186
1186
|
readonly XRAY_JSON: "XRAY_JSON";
|
|
1187
1187
|
readonly XRAY_BASE64: "XRAY_BASE64";
|
|
@@ -1200,8 +1200,8 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
|
|
|
1200
1200
|
vlessRouteId: z.ZodNullable<z.ZodNumber>;
|
|
1201
1201
|
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
|
1202
1202
|
}, "strip", z.ZodTypeAny, {
|
|
1203
|
+
tags: string[];
|
|
1203
1204
|
uuid: string;
|
|
1204
|
-
tag: string | null;
|
|
1205
1205
|
viewPosition: number;
|
|
1206
1206
|
remark: string;
|
|
1207
1207
|
isDisabled: boolean;
|
|
@@ -1213,8 +1213,8 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
|
|
|
1213
1213
|
inboundTag: string;
|
|
1214
1214
|
rawInbound?: unknown;
|
|
1215
1215
|
}, {
|
|
1216
|
+
tags: string[];
|
|
1216
1217
|
uuid: string;
|
|
1217
|
-
tag: string | null;
|
|
1218
1218
|
viewPosition: number;
|
|
1219
1219
|
remark: string;
|
|
1220
1220
|
isDisabled: boolean;
|
|
@@ -1228,8 +1228,8 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
|
|
|
1228
1228
|
}>;
|
|
1229
1229
|
}, "strip", z.ZodTypeAny, {
|
|
1230
1230
|
metadata: {
|
|
1231
|
+
tags: string[];
|
|
1231
1232
|
uuid: string;
|
|
1232
|
-
tag: string | null;
|
|
1233
1233
|
viewPosition: number;
|
|
1234
1234
|
remark: string;
|
|
1235
1235
|
isDisabled: boolean;
|
|
@@ -1336,8 +1336,8 @@ export declare const ResolvedProxyConfigSchema: z.ZodObject<{
|
|
|
1336
1336
|
mux?: unknown;
|
|
1337
1337
|
}, {
|
|
1338
1338
|
metadata: {
|
|
1339
|
+
tags: string[];
|
|
1339
1340
|
uuid: string;
|
|
1340
|
-
tag: string | null;
|
|
1341
1341
|
viewPosition: number;
|
|
1342
1342
|
remark: string;
|
|
1343
1343
|
isDisabled: boolean;
|
|
@@ -170,7 +170,7 @@ exports.SecurityVariantSchema = zod_1.z.discriminatedUnion('security', [
|
|
|
170
170
|
]);
|
|
171
171
|
exports.ProxyEntryMetadataSchema = zod_1.z.object({
|
|
172
172
|
uuid: zod_1.z.string().uuid(),
|
|
173
|
-
|
|
173
|
+
tags: zod_1.z.array(zod_1.z.string()),
|
|
174
174
|
excludeFromSubscriptionTypes: zod_1.z.array(zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_TEMPLATE_TYPE)),
|
|
175
175
|
inboundTag: zod_1.z.string(),
|
|
176
176
|
configProfileUuid: zod_1.z.string().uuid().nullable(),
|
|
@@ -50,13 +50,12 @@ var CreateHostCommand;
|
|
|
50
50
|
message: 'Server description must be less than 30 characters',
|
|
51
51
|
})
|
|
52
52
|
.nullable()),
|
|
53
|
-
|
|
54
|
-
.
|
|
53
|
+
tags: zod_1.z.optional(zod_1.z
|
|
54
|
+
.array(zod_1.z
|
|
55
55
|
.string()
|
|
56
56
|
.regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
|
|
57
|
-
.max(
|
|
58
|
-
.
|
|
59
|
-
.describe('Optional. Host tag for categorization. Max 32 characters, uppercase letters, numbers, underscores and colons are allowed.'),
|
|
57
|
+
.max(36, 'Each tag must be less than 36 characters'))
|
|
58
|
+
.max(10, 'Maximum 10 tags')),
|
|
60
59
|
isHidden: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
|
61
60
|
overrideSniFromAddress: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
|
62
61
|
keepSniBlank: zod_1.z.optional(zod_1.z.boolean().default(false)),
|
|
@@ -55,13 +55,12 @@ var UpdateHostCommand;
|
|
|
55
55
|
message: 'Server description must be less than 30 characters',
|
|
56
56
|
})
|
|
57
57
|
.nullable()),
|
|
58
|
-
|
|
59
|
-
.
|
|
58
|
+
tags: zod_1.z.optional(zod_1.z
|
|
59
|
+
.array(zod_1.z
|
|
60
60
|
.string()
|
|
61
61
|
.regex(/^[A-Z0-9_:]+$/, 'Tag can only contain uppercase letters, numbers, underscores and colons')
|
|
62
|
-
.max(
|
|
63
|
-
.
|
|
64
|
-
.describe('Optional. Host tag for categorization. Max 32 characters, uppercase letters, numbers, underscores and colons are allowed.'),
|
|
62
|
+
.max(36, 'Each tag must be less than 36 characters'))
|
|
63
|
+
.max(10, 'Maximum 10 tags')),
|
|
65
64
|
isHidden: zod_1.z.optional(zod_1.z.boolean()),
|
|
66
65
|
overrideSniFromAddress: zod_1.z.optional(zod_1.z.boolean()),
|
|
67
66
|
keepSniBlank: zod_1.z.optional(zod_1.z.boolean()),
|
|
@@ -26,7 +26,7 @@ exports.HostsSchema = zod_1.z.object({
|
|
|
26
26
|
configProfileInboundUuid: zod_1.z.string().uuid().nullable(),
|
|
27
27
|
}),
|
|
28
28
|
serverDescription: zod_1.z.string().max(30).nullable(),
|
|
29
|
-
|
|
29
|
+
tags: zod_1.z.array(zod_1.z.string()).default([]),
|
|
30
30
|
isHidden: zod_1.z.boolean().default(false),
|
|
31
31
|
overrideSniFromAddress: zod_1.z.boolean().default(false),
|
|
32
32
|
keepSniBlank: zod_1.z.boolean().default(false),
|
|
@@ -170,7 +170,7 @@ exports.SecurityVariantSchema = zod_1.z.discriminatedUnion('security', [
|
|
|
170
170
|
]);
|
|
171
171
|
exports.ProxyEntryMetadataSchema = zod_1.z.object({
|
|
172
172
|
uuid: zod_1.z.string().uuid(),
|
|
173
|
-
|
|
173
|
+
tags: zod_1.z.array(zod_1.z.string()),
|
|
174
174
|
excludeFromSubscriptionTypes: zod_1.z.array(zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_TEMPLATE_TYPE)),
|
|
175
175
|
inboundTag: zod_1.z.string(),
|
|
176
176
|
configProfileUuid: zod_1.z.string().uuid().nullable(),
|