@remnawave/backend-contract 3.3.2 → 3.4.0
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/api/controllers/node-plugins.d.ts +11 -0
- package/build/backend/api/controllers/node-plugins.d.ts.map +1 -1
- package/build/backend/api/controllers/node-plugins.js +12 -0
- package/build/backend/api/routes.d.ts +11 -0
- package/build/backend/api/routes.d.ts.map +1 -1
- package/build/backend/api/routes.js +11 -0
- package/build/backend/commands/node-plugins/actions/index.d.ts +1 -0
- package/build/backend/commands/node-plugins/actions/index.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/actions/index.js +1 -0
- package/build/backend/commands/node-plugins/actions/sync-node-plugin.command.d.ts +11 -0
- package/build/backend/commands/node-plugins/actions/sync-node-plugin.command.d.ts.map +1 -0
- package/build/backend/commands/node-plugins/actions/sync-node-plugin.command.js +15 -0
- package/build/backend/commands/node-plugins/index.d.ts +1 -0
- package/build/backend/commands/node-plugins/index.d.ts.map +1 -1
- package/build/backend/commands/node-plugins/index.js +1 -0
- package/build/backend/commands/node-plugins/shared-lists/create-shared-list.command.d.ts +19 -0
- package/build/backend/commands/node-plugins/shared-lists/create-shared-list.command.d.ts.map +1 -0
- package/build/backend/commands/node-plugins/shared-lists/create-shared-list.command.js +20 -0
- package/build/backend/commands/node-plugins/shared-lists/delete-shared-list.command.d.ts +11 -0
- package/build/backend/commands/node-plugins/shared-lists/delete-shared-list.command.d.ts.map +1 -0
- package/build/backend/commands/node-plugins/shared-lists/delete-shared-list.command.js +16 -0
- package/build/backend/commands/node-plugins/shared-lists/get-shared-list.command.d.ts +18 -0
- package/build/backend/commands/node-plugins/shared-lists/get-shared-list.command.d.ts.map +1 -0
- package/build/backend/commands/node-plugins/shared-lists/get-shared-list.command.js +19 -0
- package/build/backend/commands/node-plugins/shared-lists/get-shared-lists.command.d.ts +18 -0
- package/build/backend/commands/node-plugins/shared-lists/get-shared-lists.command.d.ts.map +1 -0
- package/build/backend/commands/node-plugins/shared-lists/get-shared-lists.command.js +19 -0
- package/build/backend/commands/node-plugins/shared-lists/index.d.ts +7 -0
- package/build/backend/commands/node-plugins/shared-lists/index.d.ts.map +1 -0
- package/build/backend/commands/node-plugins/shared-lists/index.js +22 -0
- package/build/backend/commands/node-plugins/shared-lists/sync-shared-list.command.d.ts +11 -0
- package/build/backend/commands/node-plugins/shared-lists/sync-shared-list.command.d.ts.map +1 -0
- package/build/backend/commands/node-plugins/shared-lists/sync-shared-list.command.js +16 -0
- package/build/backend/commands/node-plugins/shared-lists/update-shared-list.command.d.ts +19 -0
- package/build/backend/commands/node-plugins/shared-lists/update-shared-list.command.d.ts.map +1 -0
- package/build/backend/commands/node-plugins/shared-lists/update-shared-list.command.js +20 -0
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +126 -108
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.d.ts +45 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +45 -0
- package/build/backend/models/index.d.ts +1 -0
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +1 -0
- package/build/backend/models/resolved-proxy-config.schema.d.ts +207 -107
- package/build/backend/models/resolved-proxy-config.schema.d.ts.map +1 -1
- package/build/backend/models/resolved-proxy-config.schema.js +19 -35
- package/build/backend/models/shared-list.schema.d.ts +12 -0
- package/build/backend/models/shared-list.schema.d.ts.map +1 -0
- package/build/backend/models/shared-list.schema.js +21 -0
- package/build/frontend/api/controllers/node-plugins.js +12 -0
- package/build/frontend/api/routes.js +11 -0
- package/build/frontend/commands/node-plugins/actions/index.js +1 -0
- package/build/frontend/commands/node-plugins/actions/sync-node-plugin.command.js +15 -0
- package/build/frontend/commands/node-plugins/index.js +1 -0
- package/build/frontend/commands/node-plugins/shared-lists/create-shared-list.command.js +20 -0
- package/build/frontend/commands/node-plugins/shared-lists/delete-shared-list.command.js +16 -0
- package/build/frontend/commands/node-plugins/shared-lists/get-shared-list.command.js +19 -0
- package/build/frontend/commands/node-plugins/shared-lists/get-shared-lists.command.js +19 -0
- package/build/frontend/commands/node-plugins/shared-lists/index.js +22 -0
- package/build/frontend/commands/node-plugins/shared-lists/sync-shared-list.command.js +16 -0
- package/build/frontend/commands/node-plugins/shared-lists/update-shared-list.command.js +20 -0
- package/build/frontend/constants/errors/errors.js +45 -0
- package/build/frontend/models/index.js +1 -0
- package/build/frontend/models/resolved-proxy-config.schema.js +19 -35
- package/build/frontend/models/shared-list.schema.js +21 -0
- package/package.json +1 -1
package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts
CHANGED
|
@@ -70,116 +70,10 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
70
70
|
}, z.core.$strip>>;
|
|
71
71
|
}, z.core.$strip>;
|
|
72
72
|
headers: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>;
|
|
73
|
-
resolvedProxyConfigs: z.ZodArray<z.ZodObject<{
|
|
73
|
+
resolvedProxyConfigs: z.ZodArray<z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
74
74
|
finalRemark: z.ZodString;
|
|
75
75
|
address: z.ZodString;
|
|
76
76
|
port: z.ZodInt;
|
|
77
|
-
protocol: z.ZodEnum<{
|
|
78
|
-
vless: "vless";
|
|
79
|
-
trojan: "trojan";
|
|
80
|
-
shadowsocks: "shadowsocks";
|
|
81
|
-
hysteria: "hysteria";
|
|
82
|
-
}>;
|
|
83
|
-
protocolOptions: z.ZodUnion<readonly [z.ZodObject<{
|
|
84
|
-
encryption: z.ZodString;
|
|
85
|
-
id: z.ZodString;
|
|
86
|
-
flow: z.ZodEnum<{
|
|
87
|
-
"": "";
|
|
88
|
-
"xtls-rprx-vision": "xtls-rprx-vision";
|
|
89
|
-
"xtls-rprx-vision-udp443": "xtls-rprx-vision-udp443";
|
|
90
|
-
}>;
|
|
91
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
92
|
-
password: z.ZodString;
|
|
93
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
94
|
-
method: z.ZodString;
|
|
95
|
-
password: z.ZodString;
|
|
96
|
-
uot: z.ZodBoolean;
|
|
97
|
-
uotVersion: z.ZodInt;
|
|
98
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
99
|
-
version: z.ZodInt;
|
|
100
|
-
}, z.core.$strip>]>;
|
|
101
|
-
transport: z.ZodEnum<{
|
|
102
|
-
hysteria: "hysteria";
|
|
103
|
-
tcp: "tcp";
|
|
104
|
-
xhttp: "xhttp";
|
|
105
|
-
ws: "ws";
|
|
106
|
-
httpupgrade: "httpupgrade";
|
|
107
|
-
grpc: "grpc";
|
|
108
|
-
kcp: "kcp";
|
|
109
|
-
}>;
|
|
110
|
-
transportOptions: z.ZodUnion<readonly [z.ZodObject<{
|
|
111
|
-
header: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
112
|
-
type: z.ZodLiteral<"none">;
|
|
113
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
114
|
-
type: z.ZodLiteral<"http">;
|
|
115
|
-
request: z.ZodOptional<z.ZodObject<{
|
|
116
|
-
version: z.ZodOptional<z.ZodString>;
|
|
117
|
-
method: z.ZodOptional<z.ZodString>;
|
|
118
|
-
path: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
119
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
120
|
-
}, z.core.$strip>>;
|
|
121
|
-
response: z.ZodOptional<z.ZodObject<{
|
|
122
|
-
version: z.ZodOptional<z.ZodString>;
|
|
123
|
-
status: z.ZodOptional<z.ZodString>;
|
|
124
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
125
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
126
|
-
}, z.core.$strip>>;
|
|
127
|
-
}, z.core.$strip>], "type">>;
|
|
128
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
129
|
-
path: z.ZodNullable<z.ZodString>;
|
|
130
|
-
host: z.ZodNullable<z.ZodString>;
|
|
131
|
-
mode: z.ZodEnum<{
|
|
132
|
-
auto: "auto";
|
|
133
|
-
"packet-up": "packet-up";
|
|
134
|
-
"stream-up": "stream-up";
|
|
135
|
-
"stream-one": "stream-one";
|
|
136
|
-
}>;
|
|
137
|
-
extra: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
138
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
139
|
-
path: z.ZodNullable<z.ZodString>;
|
|
140
|
-
host: z.ZodNullable<z.ZodString>;
|
|
141
|
-
headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
142
|
-
heartbeatPeriod: z.ZodNullable<z.ZodNumber>;
|
|
143
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
144
|
-
path: z.ZodNullable<z.ZodString>;
|
|
145
|
-
host: z.ZodNullable<z.ZodString>;
|
|
146
|
-
headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
147
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
148
|
-
authority: z.ZodNullable<z.ZodString>;
|
|
149
|
-
serviceName: z.ZodNullable<z.ZodString>;
|
|
150
|
-
multiMode: z.ZodBoolean;
|
|
151
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
152
|
-
clientMtu: z.ZodInt;
|
|
153
|
-
clientTti: z.ZodInt;
|
|
154
|
-
congestion: z.ZodBoolean;
|
|
155
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
156
|
-
version: z.ZodInt;
|
|
157
|
-
auth: z.ZodString;
|
|
158
|
-
}, z.core.$strip>]>;
|
|
159
|
-
security: z.ZodEnum<{
|
|
160
|
-
none: "none";
|
|
161
|
-
tls: "tls";
|
|
162
|
-
reality: "reality";
|
|
163
|
-
}>;
|
|
164
|
-
securityOptions: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
165
|
-
pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
|
|
166
|
-
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
167
|
-
alpn: z.ZodNullable<z.ZodString>;
|
|
168
|
-
enableSessionResumption: z.ZodBoolean;
|
|
169
|
-
fingerprint: z.ZodNullable<z.ZodString>;
|
|
170
|
-
serverName: z.ZodNullable<z.ZodString>;
|
|
171
|
-
echConfigList: z.ZodNullable<z.ZodString>;
|
|
172
|
-
echForceQuery: z.ZodNullable<z.ZodString>;
|
|
173
|
-
echSockopt: z.ZodNullable<z.ZodUnknown>;
|
|
174
|
-
cipherSuites: z.ZodNullable<z.ZodString>;
|
|
175
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
176
|
-
fingerprint: z.ZodString;
|
|
177
|
-
publicKey: z.ZodString;
|
|
178
|
-
shortId: z.ZodNullable<z.ZodString>;
|
|
179
|
-
serverName: z.ZodString;
|
|
180
|
-
spiderX: z.ZodNullable<z.ZodString>;
|
|
181
|
-
mldsa65Verify: z.ZodNullable<z.ZodString>;
|
|
182
|
-
}, z.core.$strip>]>>;
|
|
183
77
|
streamOverrides: z.ZodObject<{
|
|
184
78
|
finalMask: z.ZodNullable<z.ZodUnknown>;
|
|
185
79
|
sockopt: z.ZodNullable<z.ZodUnknown>;
|
|
@@ -257,7 +151,131 @@ export declare namespace GetRawSubscriptionByShortUuidCommand {
|
|
|
257
151
|
vlessRouteId: z.ZodNullable<z.ZodInt>;
|
|
258
152
|
rawInbound: z.ZodNullable<z.ZodUnknown>;
|
|
259
153
|
}, z.core.$strip>;
|
|
260
|
-
}, z.core.$strip
|
|
154
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
155
|
+
protocol: z.ZodLiteral<"vless">;
|
|
156
|
+
protocolOptions: z.ZodObject<{
|
|
157
|
+
encryption: z.ZodString;
|
|
158
|
+
id: z.ZodString;
|
|
159
|
+
flow: z.ZodEnum<{
|
|
160
|
+
"": "";
|
|
161
|
+
"xtls-rprx-vision": "xtls-rprx-vision";
|
|
162
|
+
"xtls-rprx-vision-udp443": "xtls-rprx-vision-udp443";
|
|
163
|
+
}>;
|
|
164
|
+
}, z.core.$strip>;
|
|
165
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
166
|
+
protocol: z.ZodLiteral<"trojan">;
|
|
167
|
+
protocolOptions: z.ZodObject<{
|
|
168
|
+
password: z.ZodString;
|
|
169
|
+
}, z.core.$strip>;
|
|
170
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
171
|
+
protocol: z.ZodLiteral<"shadowsocks">;
|
|
172
|
+
protocolOptions: z.ZodObject<{
|
|
173
|
+
method: z.ZodString;
|
|
174
|
+
password: z.ZodString;
|
|
175
|
+
uot: z.ZodBoolean;
|
|
176
|
+
uotVersion: z.ZodInt;
|
|
177
|
+
}, z.core.$strip>;
|
|
178
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
179
|
+
protocol: z.ZodLiteral<"hysteria">;
|
|
180
|
+
protocolOptions: z.ZodObject<{
|
|
181
|
+
version: z.ZodInt;
|
|
182
|
+
}, z.core.$strip>;
|
|
183
|
+
}, z.core.$strip>], "protocol">>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
184
|
+
transport: z.ZodLiteral<"tcp">;
|
|
185
|
+
transportOptions: z.ZodObject<{
|
|
186
|
+
header: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
187
|
+
type: z.ZodLiteral<"none">;
|
|
188
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
189
|
+
type: z.ZodLiteral<"http">;
|
|
190
|
+
request: z.ZodOptional<z.ZodObject<{
|
|
191
|
+
version: z.ZodOptional<z.ZodString>;
|
|
192
|
+
method: z.ZodOptional<z.ZodString>;
|
|
193
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
194
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
195
|
+
}, z.core.$strip>>;
|
|
196
|
+
response: z.ZodOptional<z.ZodObject<{
|
|
197
|
+
version: z.ZodOptional<z.ZodString>;
|
|
198
|
+
status: z.ZodOptional<z.ZodString>;
|
|
199
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
200
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
201
|
+
}, z.core.$strip>>;
|
|
202
|
+
}, z.core.$strip>], "type">>;
|
|
203
|
+
}, z.core.$strip>;
|
|
204
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
205
|
+
transport: z.ZodLiteral<"xhttp">;
|
|
206
|
+
transportOptions: z.ZodObject<{
|
|
207
|
+
path: z.ZodNullable<z.ZodString>;
|
|
208
|
+
host: z.ZodNullable<z.ZodString>;
|
|
209
|
+
mode: z.ZodEnum<{
|
|
210
|
+
auto: "auto";
|
|
211
|
+
"packet-up": "packet-up";
|
|
212
|
+
"stream-up": "stream-up";
|
|
213
|
+
"stream-one": "stream-one";
|
|
214
|
+
}>;
|
|
215
|
+
extra: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
216
|
+
}, z.core.$strip>;
|
|
217
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
218
|
+
transport: z.ZodLiteral<"ws">;
|
|
219
|
+
transportOptions: z.ZodObject<{
|
|
220
|
+
path: z.ZodNullable<z.ZodString>;
|
|
221
|
+
host: z.ZodNullable<z.ZodString>;
|
|
222
|
+
headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
223
|
+
heartbeatPeriod: z.ZodNullable<z.ZodNumber>;
|
|
224
|
+
}, z.core.$strip>;
|
|
225
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
226
|
+
transport: z.ZodLiteral<"httpupgrade">;
|
|
227
|
+
transportOptions: z.ZodObject<{
|
|
228
|
+
path: z.ZodNullable<z.ZodString>;
|
|
229
|
+
host: z.ZodNullable<z.ZodString>;
|
|
230
|
+
headers: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
231
|
+
}, z.core.$strip>;
|
|
232
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
233
|
+
transport: z.ZodLiteral<"grpc">;
|
|
234
|
+
transportOptions: z.ZodObject<{
|
|
235
|
+
authority: z.ZodNullable<z.ZodString>;
|
|
236
|
+
serviceName: z.ZodNullable<z.ZodString>;
|
|
237
|
+
multiMode: z.ZodBoolean;
|
|
238
|
+
}, z.core.$strip>;
|
|
239
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
240
|
+
transport: z.ZodLiteral<"kcp">;
|
|
241
|
+
transportOptions: z.ZodObject<{
|
|
242
|
+
clientMtu: z.ZodInt;
|
|
243
|
+
clientTti: z.ZodInt;
|
|
244
|
+
congestion: z.ZodBoolean;
|
|
245
|
+
}, z.core.$strip>;
|
|
246
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
247
|
+
transport: z.ZodLiteral<"hysteria">;
|
|
248
|
+
transportOptions: z.ZodObject<{
|
|
249
|
+
version: z.ZodInt;
|
|
250
|
+
auth: z.ZodString;
|
|
251
|
+
}, z.core.$strip>;
|
|
252
|
+
}, z.core.$strip>], "transport">>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
253
|
+
security: z.ZodLiteral<"tls">;
|
|
254
|
+
securityOptions: z.ZodObject<{
|
|
255
|
+
pinnedPeerCertSha256: z.ZodNullable<z.ZodString>;
|
|
256
|
+
verifyPeerCertByName: z.ZodNullable<z.ZodString>;
|
|
257
|
+
alpn: z.ZodNullable<z.ZodString>;
|
|
258
|
+
enableSessionResumption: z.ZodBoolean;
|
|
259
|
+
fingerprint: z.ZodNullable<z.ZodString>;
|
|
260
|
+
serverName: z.ZodNullable<z.ZodString>;
|
|
261
|
+
echConfigList: z.ZodNullable<z.ZodString>;
|
|
262
|
+
echForceQuery: z.ZodNullable<z.ZodString>;
|
|
263
|
+
echSockopt: z.ZodNullable<z.ZodUnknown>;
|
|
264
|
+
cipherSuites: z.ZodNullable<z.ZodString>;
|
|
265
|
+
}, z.core.$strip>;
|
|
266
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
267
|
+
security: z.ZodLiteral<"reality">;
|
|
268
|
+
securityOptions: z.ZodObject<{
|
|
269
|
+
fingerprint: z.ZodString;
|
|
270
|
+
publicKey: z.ZodString;
|
|
271
|
+
shortId: z.ZodNullable<z.ZodString>;
|
|
272
|
+
serverName: z.ZodString;
|
|
273
|
+
spiderX: z.ZodNullable<z.ZodString>;
|
|
274
|
+
mldsa65Verify: z.ZodNullable<z.ZodString>;
|
|
275
|
+
}, z.core.$strip>;
|
|
276
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
277
|
+
security: z.ZodLiteral<"none">;
|
|
278
|
+
}, z.core.$strip>], "security">>>;
|
|
261
279
|
}, z.core.$strip>;
|
|
262
280
|
}, z.core.$strip>;
|
|
263
281
|
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
@@ -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,8CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,kBAAkB;;qBAM7B,CAAC;IAEI,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,8CAK3B,CAAC;IAEK,MAAM,kBAAkB;;qBAE7B,CAAC;IAEI,MAAM,kBAAkB;;qBAM7B,CAAC;IAEI,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAoBzB,CAAC;IAEH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAC9D,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -1254,5 +1254,50 @@ export declare const ERRORS: {
|
|
|
1254
1254
|
readonly message: "Node integration name already exists";
|
|
1255
1255
|
readonly httpCode: 400;
|
|
1256
1256
|
};
|
|
1257
|
+
readonly SHARED_LIST_NOT_FOUND: {
|
|
1258
|
+
readonly code: "A245";
|
|
1259
|
+
readonly message: "Shared list not found";
|
|
1260
|
+
readonly httpCode: 404;
|
|
1261
|
+
};
|
|
1262
|
+
readonly SHARED_LIST_NAME_ALREADY_EXISTS: {
|
|
1263
|
+
readonly code: "A246";
|
|
1264
|
+
readonly message: "Shared list name already exists";
|
|
1265
|
+
readonly httpCode: 400;
|
|
1266
|
+
};
|
|
1267
|
+
readonly GET_ALL_SHARED_LISTS_ERROR: {
|
|
1268
|
+
readonly code: "A247";
|
|
1269
|
+
readonly message: "Get all shared lists error";
|
|
1270
|
+
readonly httpCode: 500;
|
|
1271
|
+
};
|
|
1272
|
+
readonly GET_SHARED_LIST_BY_NAME_ERROR: {
|
|
1273
|
+
readonly code: "A248";
|
|
1274
|
+
readonly message: "Get shared list by name error";
|
|
1275
|
+
readonly httpCode: 500;
|
|
1276
|
+
};
|
|
1277
|
+
readonly CREATE_SHARED_LIST_ERROR: {
|
|
1278
|
+
readonly code: "A249";
|
|
1279
|
+
readonly message: "Create shared list error";
|
|
1280
|
+
readonly httpCode: 500;
|
|
1281
|
+
};
|
|
1282
|
+
readonly UPDATE_SHARED_LIST_ERROR: {
|
|
1283
|
+
readonly code: "A250";
|
|
1284
|
+
readonly message: "Update shared list error";
|
|
1285
|
+
readonly httpCode: 500;
|
|
1286
|
+
};
|
|
1287
|
+
readonly DELETE_SHARED_LIST_ERROR: {
|
|
1288
|
+
readonly code: "A251";
|
|
1289
|
+
readonly message: "Delete shared list error";
|
|
1290
|
+
readonly httpCode: 500;
|
|
1291
|
+
};
|
|
1292
|
+
readonly INVALID_SHARED_LIST_CONFIG: {
|
|
1293
|
+
readonly code: "A252";
|
|
1294
|
+
readonly message: "Invalid shared list config";
|
|
1295
|
+
readonly httpCode: 400;
|
|
1296
|
+
readonly withMessage: (message: string) => {
|
|
1297
|
+
code: string;
|
|
1298
|
+
message: string;
|
|
1299
|
+
httpCode: number;
|
|
1300
|
+
};
|
|
1301
|
+
};
|
|
1257
1302
|
};
|
|
1258
1303
|
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAsqBN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA6HN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAkDN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA8GN,MAAM;;;;;;CAM3B,CAAC"}
|
|
@@ -1225,4 +1225,49 @@ exports.ERRORS = {
|
|
|
1225
1225
|
message: 'Node integration name already exists',
|
|
1226
1226
|
httpCode: 400,
|
|
1227
1227
|
},
|
|
1228
|
+
SHARED_LIST_NOT_FOUND: {
|
|
1229
|
+
code: 'A245',
|
|
1230
|
+
message: 'Shared list not found',
|
|
1231
|
+
httpCode: 404,
|
|
1232
|
+
},
|
|
1233
|
+
SHARED_LIST_NAME_ALREADY_EXISTS: {
|
|
1234
|
+
code: 'A246',
|
|
1235
|
+
message: 'Shared list name already exists',
|
|
1236
|
+
httpCode: 400,
|
|
1237
|
+
},
|
|
1238
|
+
GET_ALL_SHARED_LISTS_ERROR: {
|
|
1239
|
+
code: 'A247',
|
|
1240
|
+
message: 'Get all shared lists error',
|
|
1241
|
+
httpCode: 500,
|
|
1242
|
+
},
|
|
1243
|
+
GET_SHARED_LIST_BY_NAME_ERROR: {
|
|
1244
|
+
code: 'A248',
|
|
1245
|
+
message: 'Get shared list by name error',
|
|
1246
|
+
httpCode: 500,
|
|
1247
|
+
},
|
|
1248
|
+
CREATE_SHARED_LIST_ERROR: {
|
|
1249
|
+
code: 'A249',
|
|
1250
|
+
message: 'Create shared list error',
|
|
1251
|
+
httpCode: 500,
|
|
1252
|
+
},
|
|
1253
|
+
UPDATE_SHARED_LIST_ERROR: {
|
|
1254
|
+
code: 'A250',
|
|
1255
|
+
message: 'Update shared list error',
|
|
1256
|
+
httpCode: 500,
|
|
1257
|
+
},
|
|
1258
|
+
DELETE_SHARED_LIST_ERROR: {
|
|
1259
|
+
code: 'A251',
|
|
1260
|
+
message: 'Delete shared list error',
|
|
1261
|
+
httpCode: 500,
|
|
1262
|
+
},
|
|
1263
|
+
INVALID_SHARED_LIST_CONFIG: {
|
|
1264
|
+
code: 'A252',
|
|
1265
|
+
message: 'Invalid shared list config',
|
|
1266
|
+
httpCode: 400,
|
|
1267
|
+
withMessage: (message) => ({
|
|
1268
|
+
code: 'A252',
|
|
1269
|
+
message,
|
|
1270
|
+
httpCode: 400,
|
|
1271
|
+
}),
|
|
1272
|
+
},
|
|
1228
1273
|
};
|
|
@@ -24,6 +24,7 @@ export * from './nodes.schema';
|
|
|
24
24
|
export * from './remnawave-settings';
|
|
25
25
|
export * from './resolved-proxy-config.schema';
|
|
26
26
|
export * from './response-rules';
|
|
27
|
+
export * from './shared-list.schema';
|
|
27
28
|
export * from './snippets.schema';
|
|
28
29
|
export * from './subscripion-page-config.schema';
|
|
29
30
|
export * from './subscription-info.schema';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../models/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,c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AAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uCAAuC,CAAC;AACtD,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kBAAkB,CAAC;AACjC,cAAc,iCAAiC,CAAC;AAChD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC"}
|
|
@@ -40,6 +40,7 @@ __exportStar(require("./nodes.schema"), exports);
|
|
|
40
40
|
__exportStar(require("./remnawave-settings"), exports);
|
|
41
41
|
__exportStar(require("./resolved-proxy-config.schema"), exports);
|
|
42
42
|
__exportStar(require("./response-rules"), exports);
|
|
43
|
+
__exportStar(require("./shared-list.schema"), exports);
|
|
43
44
|
__exportStar(require("./snippets.schema"), exports);
|
|
44
45
|
__exportStar(require("./subscripion-page-config.schema"), exports);
|
|
45
46
|
__exportStar(require("./subscription-info.schema"), exports);
|