@remnawave/backend-contract 2.2.19 → 2.2.21
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/remnawave-settings/get-remnawave-settings.command.d.ts +33 -7
- package/build/backend/commands/remnawave-settings/get-remnawave-settings.command.d.ts.map +1 -1
- package/build/backend/commands/remnawave-settings/update-remnawave-settings.command.d.ts +56 -12
- package/build/backend/commands/remnawave-settings/update-remnawave-settings.command.d.ts.map +1 -1
- package/build/backend/commands/remnawave-settings/update-remnawave-settings.command.js +1 -0
- package/build/backend/constants/errors/errors.d.ts +10 -0
- package/build/backend/constants/errors/errors.d.ts.map +1 -1
- package/build/backend/constants/errors/errors.js +10 -0
- package/build/backend/models/remnawave-settings/branding-settings.schema.d.ts +13 -0
- package/build/backend/models/remnawave-settings/branding-settings.schema.d.ts.map +1 -0
- package/build/backend/models/remnawave-settings/branding-settings.schema.js +11 -0
- package/build/backend/models/remnawave-settings/index.d.ts +1 -0
- package/build/backend/models/remnawave-settings/index.d.ts.map +1 -1
- package/build/backend/models/remnawave-settings/index.js +1 -0
- package/build/backend/models/remnawave-settings/oauth2-settings.schema.js +1 -1
- package/build/backend/models/remnawave-settings/passkey-settings.schema.js +2 -2
- package/build/backend/models/remnawave-settings/remnawave-settings.schema.d.ts +23 -5
- package/build/backend/models/remnawave-settings/remnawave-settings.schema.d.ts.map +1 -1
- package/build/backend/models/remnawave-settings/remnawave-settings.schema.js +2 -0
- package/build/backend/models/remnawave-settings/tg-auth-settings.schema.d.ts +3 -3
- package/build/backend/models/remnawave-settings/tg-auth-settings.schema.js +1 -1
- package/build/frontend/commands/remnawave-settings/update-remnawave-settings.command.js +1 -0
- package/build/frontend/constants/errors/errors.js +10 -0
- package/build/frontend/models/remnawave-settings/branding-settings.schema.js +11 -0
- package/build/frontend/models/remnawave-settings/index.js +1 -0
- package/build/frontend/models/remnawave-settings/oauth2-settings.schema.js +1 -1
- package/build/frontend/models/remnawave-settings/passkey-settings.schema.js +2 -2
- package/build/frontend/models/remnawave-settings/remnawave-settings.schema.js +2 -0
- package/build/frontend/models/remnawave-settings/tg-auth-settings.schema.js +1 -1
- package/package.json +1 -1
|
@@ -114,15 +114,15 @@ export declare namespace GetRemnawaveSettingsCommand {
|
|
|
114
114
|
tgAuthSettings: z.ZodNullable<z.ZodObject<{
|
|
115
115
|
enabled: z.ZodBoolean;
|
|
116
116
|
botToken: z.ZodNullable<z.ZodString>;
|
|
117
|
-
adminIds: z.ZodArray<z.
|
|
117
|
+
adminIds: z.ZodArray<z.ZodString, "many">;
|
|
118
118
|
}, "strip", z.ZodTypeAny, {
|
|
119
119
|
enabled: boolean;
|
|
120
120
|
botToken: string | null;
|
|
121
|
-
adminIds:
|
|
121
|
+
adminIds: string[];
|
|
122
122
|
}, {
|
|
123
123
|
enabled: boolean;
|
|
124
124
|
botToken: string | null;
|
|
125
|
-
adminIds:
|
|
125
|
+
adminIds: string[];
|
|
126
126
|
}>>;
|
|
127
127
|
passwordSettings: z.ZodNullable<z.ZodObject<{
|
|
128
128
|
enabled: z.ZodBoolean;
|
|
@@ -131,6 +131,16 @@ export declare namespace GetRemnawaveSettingsCommand {
|
|
|
131
131
|
}, {
|
|
132
132
|
enabled: boolean;
|
|
133
133
|
}>>;
|
|
134
|
+
brandingSettings: z.ZodNullable<z.ZodObject<{
|
|
135
|
+
title: z.ZodNullable<z.ZodString>;
|
|
136
|
+
logoUrl: z.ZodNullable<z.ZodString>;
|
|
137
|
+
}, "strip", z.ZodTypeAny, {
|
|
138
|
+
title: string | null;
|
|
139
|
+
logoUrl: string | null;
|
|
140
|
+
}, {
|
|
141
|
+
title: string | null;
|
|
142
|
+
logoUrl: string | null;
|
|
143
|
+
}>>;
|
|
134
144
|
}, "strip", z.ZodTypeAny, {
|
|
135
145
|
passkeySettings: {
|
|
136
146
|
enabled: boolean;
|
|
@@ -161,11 +171,15 @@ export declare namespace GetRemnawaveSettingsCommand {
|
|
|
161
171
|
tgAuthSettings: {
|
|
162
172
|
enabled: boolean;
|
|
163
173
|
botToken: string | null;
|
|
164
|
-
adminIds:
|
|
174
|
+
adminIds: string[];
|
|
165
175
|
} | null;
|
|
166
176
|
passwordSettings: {
|
|
167
177
|
enabled: boolean;
|
|
168
178
|
} | null;
|
|
179
|
+
brandingSettings: {
|
|
180
|
+
title: string | null;
|
|
181
|
+
logoUrl: string | null;
|
|
182
|
+
} | null;
|
|
169
183
|
}, {
|
|
170
184
|
passkeySettings: {
|
|
171
185
|
enabled: boolean;
|
|
@@ -196,11 +210,15 @@ export declare namespace GetRemnawaveSettingsCommand {
|
|
|
196
210
|
tgAuthSettings: {
|
|
197
211
|
enabled: boolean;
|
|
198
212
|
botToken: string | null;
|
|
199
|
-
adminIds:
|
|
213
|
+
adminIds: string[];
|
|
200
214
|
} | null;
|
|
201
215
|
passwordSettings: {
|
|
202
216
|
enabled: boolean;
|
|
203
217
|
} | null;
|
|
218
|
+
brandingSettings: {
|
|
219
|
+
title: string | null;
|
|
220
|
+
logoUrl: string | null;
|
|
221
|
+
} | null;
|
|
204
222
|
}>;
|
|
205
223
|
}, "strip", z.ZodTypeAny, {
|
|
206
224
|
response: {
|
|
@@ -233,11 +251,15 @@ export declare namespace GetRemnawaveSettingsCommand {
|
|
|
233
251
|
tgAuthSettings: {
|
|
234
252
|
enabled: boolean;
|
|
235
253
|
botToken: string | null;
|
|
236
|
-
adminIds:
|
|
254
|
+
adminIds: string[];
|
|
237
255
|
} | null;
|
|
238
256
|
passwordSettings: {
|
|
239
257
|
enabled: boolean;
|
|
240
258
|
} | null;
|
|
259
|
+
brandingSettings: {
|
|
260
|
+
title: string | null;
|
|
261
|
+
logoUrl: string | null;
|
|
262
|
+
} | null;
|
|
241
263
|
};
|
|
242
264
|
}, {
|
|
243
265
|
response: {
|
|
@@ -270,11 +292,15 @@ export declare namespace GetRemnawaveSettingsCommand {
|
|
|
270
292
|
tgAuthSettings: {
|
|
271
293
|
enabled: boolean;
|
|
272
294
|
botToken: string | null;
|
|
273
|
-
adminIds:
|
|
295
|
+
adminIds: string[];
|
|
274
296
|
} | null;
|
|
275
297
|
passwordSettings: {
|
|
276
298
|
enabled: boolean;
|
|
277
299
|
} | null;
|
|
300
|
+
brandingSettings: {
|
|
301
|
+
title: string | null;
|
|
302
|
+
logoUrl: string | null;
|
|
303
|
+
} | null;
|
|
278
304
|
};
|
|
279
305
|
}>;
|
|
280
306
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-remnawave-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/remnawave-settings/get-remnawave-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,4BAAmC,CAAC;IAC7C,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"get-remnawave-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/remnawave-settings/get-remnawave-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,yBAAiB,2BAA2B,CAAC;IAClC,MAAM,GAAG,4BAAmC,CAAC;IAC7C,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -113,15 +113,15 @@ export declare namespace UpdateRemnawaveSettingsCommand {
|
|
|
113
113
|
tgAuthSettings: z.ZodOptional<z.ZodObject<{
|
|
114
114
|
enabled: z.ZodBoolean;
|
|
115
115
|
botToken: z.ZodNullable<z.ZodString>;
|
|
116
|
-
adminIds: z.ZodArray<z.
|
|
116
|
+
adminIds: z.ZodArray<z.ZodString, "many">;
|
|
117
117
|
}, "strip", z.ZodTypeAny, {
|
|
118
118
|
enabled: boolean;
|
|
119
119
|
botToken: string | null;
|
|
120
|
-
adminIds:
|
|
120
|
+
adminIds: string[];
|
|
121
121
|
}, {
|
|
122
122
|
enabled: boolean;
|
|
123
123
|
botToken: string | null;
|
|
124
|
-
adminIds:
|
|
124
|
+
adminIds: string[];
|
|
125
125
|
}>>;
|
|
126
126
|
passwordSettings: z.ZodOptional<z.ZodObject<{
|
|
127
127
|
enabled: z.ZodBoolean;
|
|
@@ -130,6 +130,16 @@ export declare namespace UpdateRemnawaveSettingsCommand {
|
|
|
130
130
|
}, {
|
|
131
131
|
enabled: boolean;
|
|
132
132
|
}>>;
|
|
133
|
+
brandingSettings: z.ZodOptional<z.ZodObject<{
|
|
134
|
+
title: z.ZodNullable<z.ZodString>;
|
|
135
|
+
logoUrl: z.ZodNullable<z.ZodString>;
|
|
136
|
+
}, "strip", z.ZodTypeAny, {
|
|
137
|
+
title: string | null;
|
|
138
|
+
logoUrl: string | null;
|
|
139
|
+
}, {
|
|
140
|
+
title: string | null;
|
|
141
|
+
logoUrl: string | null;
|
|
142
|
+
}>>;
|
|
133
143
|
}, "strip", z.ZodTypeAny, {
|
|
134
144
|
passkeySettings?: {
|
|
135
145
|
enabled: boolean;
|
|
@@ -160,11 +170,15 @@ export declare namespace UpdateRemnawaveSettingsCommand {
|
|
|
160
170
|
tgAuthSettings?: {
|
|
161
171
|
enabled: boolean;
|
|
162
172
|
botToken: string | null;
|
|
163
|
-
adminIds:
|
|
173
|
+
adminIds: string[];
|
|
164
174
|
} | undefined;
|
|
165
175
|
passwordSettings?: {
|
|
166
176
|
enabled: boolean;
|
|
167
177
|
} | undefined;
|
|
178
|
+
brandingSettings?: {
|
|
179
|
+
title: string | null;
|
|
180
|
+
logoUrl: string | null;
|
|
181
|
+
} | undefined;
|
|
168
182
|
}, {
|
|
169
183
|
passkeySettings?: {
|
|
170
184
|
enabled: boolean;
|
|
@@ -195,11 +209,15 @@ export declare namespace UpdateRemnawaveSettingsCommand {
|
|
|
195
209
|
tgAuthSettings?: {
|
|
196
210
|
enabled: boolean;
|
|
197
211
|
botToken: string | null;
|
|
198
|
-
adminIds:
|
|
212
|
+
adminIds: string[];
|
|
199
213
|
} | undefined;
|
|
200
214
|
passwordSettings?: {
|
|
201
215
|
enabled: boolean;
|
|
202
216
|
} | undefined;
|
|
217
|
+
brandingSettings?: {
|
|
218
|
+
title: string | null;
|
|
219
|
+
logoUrl: string | null;
|
|
220
|
+
} | undefined;
|
|
203
221
|
}>;
|
|
204
222
|
type Request = z.infer<typeof RequestSchema>;
|
|
205
223
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -313,15 +331,15 @@ export declare namespace UpdateRemnawaveSettingsCommand {
|
|
|
313
331
|
tgAuthSettings: z.ZodNullable<z.ZodObject<{
|
|
314
332
|
enabled: z.ZodBoolean;
|
|
315
333
|
botToken: z.ZodNullable<z.ZodString>;
|
|
316
|
-
adminIds: z.ZodArray<z.
|
|
334
|
+
adminIds: z.ZodArray<z.ZodString, "many">;
|
|
317
335
|
}, "strip", z.ZodTypeAny, {
|
|
318
336
|
enabled: boolean;
|
|
319
337
|
botToken: string | null;
|
|
320
|
-
adminIds:
|
|
338
|
+
adminIds: string[];
|
|
321
339
|
}, {
|
|
322
340
|
enabled: boolean;
|
|
323
341
|
botToken: string | null;
|
|
324
|
-
adminIds:
|
|
342
|
+
adminIds: string[];
|
|
325
343
|
}>>;
|
|
326
344
|
passwordSettings: z.ZodNullable<z.ZodObject<{
|
|
327
345
|
enabled: z.ZodBoolean;
|
|
@@ -330,6 +348,16 @@ export declare namespace UpdateRemnawaveSettingsCommand {
|
|
|
330
348
|
}, {
|
|
331
349
|
enabled: boolean;
|
|
332
350
|
}>>;
|
|
351
|
+
brandingSettings: z.ZodNullable<z.ZodObject<{
|
|
352
|
+
title: z.ZodNullable<z.ZodString>;
|
|
353
|
+
logoUrl: z.ZodNullable<z.ZodString>;
|
|
354
|
+
}, "strip", z.ZodTypeAny, {
|
|
355
|
+
title: string | null;
|
|
356
|
+
logoUrl: string | null;
|
|
357
|
+
}, {
|
|
358
|
+
title: string | null;
|
|
359
|
+
logoUrl: string | null;
|
|
360
|
+
}>>;
|
|
333
361
|
}, "strip", z.ZodTypeAny, {
|
|
334
362
|
passkeySettings: {
|
|
335
363
|
enabled: boolean;
|
|
@@ -360,11 +388,15 @@ export declare namespace UpdateRemnawaveSettingsCommand {
|
|
|
360
388
|
tgAuthSettings: {
|
|
361
389
|
enabled: boolean;
|
|
362
390
|
botToken: string | null;
|
|
363
|
-
adminIds:
|
|
391
|
+
adminIds: string[];
|
|
364
392
|
} | null;
|
|
365
393
|
passwordSettings: {
|
|
366
394
|
enabled: boolean;
|
|
367
395
|
} | null;
|
|
396
|
+
brandingSettings: {
|
|
397
|
+
title: string | null;
|
|
398
|
+
logoUrl: string | null;
|
|
399
|
+
} | null;
|
|
368
400
|
}, {
|
|
369
401
|
passkeySettings: {
|
|
370
402
|
enabled: boolean;
|
|
@@ -395,11 +427,15 @@ export declare namespace UpdateRemnawaveSettingsCommand {
|
|
|
395
427
|
tgAuthSettings: {
|
|
396
428
|
enabled: boolean;
|
|
397
429
|
botToken: string | null;
|
|
398
|
-
adminIds:
|
|
430
|
+
adminIds: string[];
|
|
399
431
|
} | null;
|
|
400
432
|
passwordSettings: {
|
|
401
433
|
enabled: boolean;
|
|
402
434
|
} | null;
|
|
435
|
+
brandingSettings: {
|
|
436
|
+
title: string | null;
|
|
437
|
+
logoUrl: string | null;
|
|
438
|
+
} | null;
|
|
403
439
|
}>;
|
|
404
440
|
}, "strip", z.ZodTypeAny, {
|
|
405
441
|
response: {
|
|
@@ -432,11 +468,15 @@ export declare namespace UpdateRemnawaveSettingsCommand {
|
|
|
432
468
|
tgAuthSettings: {
|
|
433
469
|
enabled: boolean;
|
|
434
470
|
botToken: string | null;
|
|
435
|
-
adminIds:
|
|
471
|
+
adminIds: string[];
|
|
436
472
|
} | null;
|
|
437
473
|
passwordSettings: {
|
|
438
474
|
enabled: boolean;
|
|
439
475
|
} | null;
|
|
476
|
+
brandingSettings: {
|
|
477
|
+
title: string | null;
|
|
478
|
+
logoUrl: string | null;
|
|
479
|
+
} | null;
|
|
440
480
|
};
|
|
441
481
|
}, {
|
|
442
482
|
response: {
|
|
@@ -469,11 +509,15 @@ export declare namespace UpdateRemnawaveSettingsCommand {
|
|
|
469
509
|
tgAuthSettings: {
|
|
470
510
|
enabled: boolean;
|
|
471
511
|
botToken: string | null;
|
|
472
|
-
adminIds:
|
|
512
|
+
adminIds: string[];
|
|
473
513
|
} | null;
|
|
474
514
|
passwordSettings: {
|
|
475
515
|
enabled: boolean;
|
|
476
516
|
} | null;
|
|
517
|
+
brandingSettings: {
|
|
518
|
+
title: string | null;
|
|
519
|
+
logoUrl: string | null;
|
|
520
|
+
} | null;
|
|
477
521
|
};
|
|
478
522
|
}>;
|
|
479
523
|
type Response = z.infer<typeof ResponseSchema>;
|
package/build/backend/commands/remnawave-settings/update-remnawave-settings.command.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-remnawave-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/remnawave-settings/update-remnawave-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"update-remnawave-settings.command.d.ts","sourceRoot":"","sources":["../../../../commands/remnawave-settings/update-remnawave-settings.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,GAAG,4BAAsC,CAAC;IAChD,MAAM,OAAO,4BAAM,CAAC;IAEpB,MAAM,eAAe,2CAI3B,CAAC;IAEK,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAMxB,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"}
|
|
@@ -15,6 +15,7 @@ var UpdateRemnawaveSettingsCommand;
|
|
|
15
15
|
oauth2Settings: models_1.Oauth2SettingsSchema.optional(),
|
|
16
16
|
tgAuthSettings: models_1.TgAuthSettingsSchema.optional(),
|
|
17
17
|
passwordSettings: models_1.PasswordAuthSettingsSchema.optional(),
|
|
18
|
+
brandingSettings: models_1.BrandingSettingsSchema.optional(),
|
|
18
19
|
});
|
|
19
20
|
UpdateRemnawaveSettingsCommand.ResponseSchema = zod_1.z.object({
|
|
20
21
|
response: models_1.RemnawaveSettingsSchema,
|
|
@@ -1024,5 +1024,15 @@ export declare const ERRORS: {
|
|
|
1024
1024
|
readonly message: "Delete passkey error";
|
|
1025
1025
|
readonly httpCode: 500;
|
|
1026
1026
|
};
|
|
1027
|
+
readonly VALIDATE_REMNAAWAVE_SETTINGS_ERROR: {
|
|
1028
|
+
readonly code: "A199";
|
|
1029
|
+
readonly message: "Validate Remnawave settings error";
|
|
1030
|
+
readonly httpCode: 500;
|
|
1031
|
+
readonly withMessage: (message: string) => {
|
|
1032
|
+
code: string;
|
|
1033
|
+
message: string;
|
|
1034
|
+
httpCode: number;
|
|
1035
|
+
};
|
|
1036
|
+
};
|
|
1027
1037
|
};
|
|
1028
1038
|
//# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4IN,MAAM
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../constants/errors/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAwJY,MAAM;;;;;;;;;;wCAUN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA4IN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA0rBN,MAAM;;;;;;CAM3B,CAAC"}
|
|
@@ -995,4 +995,14 @@ exports.ERRORS = {
|
|
|
995
995
|
message: 'Delete passkey error',
|
|
996
996
|
httpCode: 500,
|
|
997
997
|
},
|
|
998
|
+
VALIDATE_REMNAAWAVE_SETTINGS_ERROR: {
|
|
999
|
+
code: 'A199',
|
|
1000
|
+
message: 'Validate Remnawave settings error',
|
|
1001
|
+
httpCode: 500,
|
|
1002
|
+
withMessage: (message) => ({
|
|
1003
|
+
code: 'A199',
|
|
1004
|
+
message,
|
|
1005
|
+
httpCode: 500,
|
|
1006
|
+
}),
|
|
1007
|
+
},
|
|
998
1008
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const BrandingSettingsSchema: z.ZodObject<{
|
|
3
|
+
title: z.ZodNullable<z.ZodString>;
|
|
4
|
+
logoUrl: z.ZodNullable<z.ZodString>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
title: string | null;
|
|
7
|
+
logoUrl: string | null;
|
|
8
|
+
}, {
|
|
9
|
+
title: string | null;
|
|
10
|
+
logoUrl: string | null;
|
|
11
|
+
}>;
|
|
12
|
+
export type TBrandingSettings = z.infer<typeof BrandingSettingsSchema>;
|
|
13
|
+
//# sourceMappingURL=branding-settings.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"branding-settings.schema.d.ts","sourceRoot":"","sources":["../../../../models/remnawave-settings/branding-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.BrandingSettingsSchema = void 0;
|
|
7
|
+
const zod_1 = __importDefault(require("zod"));
|
|
8
|
+
exports.BrandingSettingsSchema = zod_1.default.object({
|
|
9
|
+
title: zod_1.default.nullable(zod_1.default.string()),
|
|
10
|
+
logoUrl: zod_1.default.nullable(zod_1.default.string().url()),
|
|
11
|
+
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../models/remnawave-settings/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../models/remnawave-settings/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC"}
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./branding-settings.schema"), exports);
|
|
17
18
|
__exportStar(require("./oauth2-settings.schema"), exports);
|
|
18
19
|
__exportStar(require("./passkey-settings.schema"), exports);
|
|
19
20
|
__exportStar(require("./password-auth-settings.schema"), exports);
|
|
@@ -20,7 +20,7 @@ exports.Oauth2SettingsSchema = zod_1.default.object({
|
|
|
20
20
|
plainDomain: zod_1.default.nullable(zod_1.default.string().refine((val) => val === 'localhost' ||
|
|
21
21
|
(0, isFQDN_1.default)(val, {
|
|
22
22
|
require_tld: true,
|
|
23
|
-
}), 'Must be a valid fully qualified domain name (FQDN), e.g. "
|
|
23
|
+
}), 'Must be a valid fully qualified domain name (FQDN), e.g. "remna.st"')),
|
|
24
24
|
allowedEmails: zod_1.default.array(zod_1.default.string()),
|
|
25
25
|
}),
|
|
26
26
|
yandex: zod_1.default.object({
|
|
@@ -12,7 +12,7 @@ exports.PasskeySettingsSchema = zod_1.default.object({
|
|
|
12
12
|
rpId: zod_1.default.nullable(zod_1.default.string().refine((val) => val === 'localhost' ||
|
|
13
13
|
(0, isFQDN_1.default)(val, {
|
|
14
14
|
require_tld: true,
|
|
15
|
-
}), 'Must be a valid fully qualified domain name (FQDN), e.g. "
|
|
15
|
+
}), 'Must be a valid fully qualified domain name (FQDN), e.g. "remna.st"')),
|
|
16
16
|
origin: zod_1.default.nullable(zod_1.default.string().refine((val) => /^http[s]?:\/\/localhost:\d+$/.test(val) ||
|
|
17
17
|
(0, isURL_1.default)(val, {
|
|
18
18
|
protocols: ['http', 'https'],
|
|
@@ -21,5 +21,5 @@ exports.PasskeySettingsSchema = zod_1.default.object({
|
|
|
21
21
|
allow_fragments: false,
|
|
22
22
|
allow_query_components: false,
|
|
23
23
|
allow_trailing_dot: false,
|
|
24
|
-
}), 'Must be a valid URL, e.g. "https://
|
|
24
|
+
}), 'Must be a valid URL, e.g. "https://remna.st"')),
|
|
25
25
|
});
|
|
@@ -109,15 +109,15 @@ export declare const RemnawaveSettingsSchema: z.ZodObject<{
|
|
|
109
109
|
tgAuthSettings: z.ZodNullable<z.ZodObject<{
|
|
110
110
|
enabled: z.ZodBoolean;
|
|
111
111
|
botToken: z.ZodNullable<z.ZodString>;
|
|
112
|
-
adminIds: z.ZodArray<z.
|
|
112
|
+
adminIds: z.ZodArray<z.ZodString, "many">;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
114
|
enabled: boolean;
|
|
115
115
|
botToken: string | null;
|
|
116
|
-
adminIds:
|
|
116
|
+
adminIds: string[];
|
|
117
117
|
}, {
|
|
118
118
|
enabled: boolean;
|
|
119
119
|
botToken: string | null;
|
|
120
|
-
adminIds:
|
|
120
|
+
adminIds: string[];
|
|
121
121
|
}>>;
|
|
122
122
|
passwordSettings: z.ZodNullable<z.ZodObject<{
|
|
123
123
|
enabled: z.ZodBoolean;
|
|
@@ -126,6 +126,16 @@ export declare const RemnawaveSettingsSchema: z.ZodObject<{
|
|
|
126
126
|
}, {
|
|
127
127
|
enabled: boolean;
|
|
128
128
|
}>>;
|
|
129
|
+
brandingSettings: z.ZodNullable<z.ZodObject<{
|
|
130
|
+
title: z.ZodNullable<z.ZodString>;
|
|
131
|
+
logoUrl: z.ZodNullable<z.ZodString>;
|
|
132
|
+
}, "strip", z.ZodTypeAny, {
|
|
133
|
+
title: string | null;
|
|
134
|
+
logoUrl: string | null;
|
|
135
|
+
}, {
|
|
136
|
+
title: string | null;
|
|
137
|
+
logoUrl: string | null;
|
|
138
|
+
}>>;
|
|
129
139
|
}, "strip", z.ZodTypeAny, {
|
|
130
140
|
passkeySettings: {
|
|
131
141
|
enabled: boolean;
|
|
@@ -156,11 +166,15 @@ export declare const RemnawaveSettingsSchema: z.ZodObject<{
|
|
|
156
166
|
tgAuthSettings: {
|
|
157
167
|
enabled: boolean;
|
|
158
168
|
botToken: string | null;
|
|
159
|
-
adminIds:
|
|
169
|
+
adminIds: string[];
|
|
160
170
|
} | null;
|
|
161
171
|
passwordSettings: {
|
|
162
172
|
enabled: boolean;
|
|
163
173
|
} | null;
|
|
174
|
+
brandingSettings: {
|
|
175
|
+
title: string | null;
|
|
176
|
+
logoUrl: string | null;
|
|
177
|
+
} | null;
|
|
164
178
|
}, {
|
|
165
179
|
passkeySettings: {
|
|
166
180
|
enabled: boolean;
|
|
@@ -191,11 +205,15 @@ export declare const RemnawaveSettingsSchema: z.ZodObject<{
|
|
|
191
205
|
tgAuthSettings: {
|
|
192
206
|
enabled: boolean;
|
|
193
207
|
botToken: string | null;
|
|
194
|
-
adminIds:
|
|
208
|
+
adminIds: string[];
|
|
195
209
|
} | null;
|
|
196
210
|
passwordSettings: {
|
|
197
211
|
enabled: boolean;
|
|
198
212
|
} | null;
|
|
213
|
+
brandingSettings: {
|
|
214
|
+
title: string | null;
|
|
215
|
+
logoUrl: string | null;
|
|
216
|
+
} | null;
|
|
199
217
|
}>;
|
|
200
218
|
export type TRemnawaveSettings = z.infer<typeof RemnawaveSettingsSchema>;
|
|
201
219
|
//# sourceMappingURL=remnawave-settings.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remnawave-settings.schema.d.ts","sourceRoot":"","sources":["../../../../models/remnawave-settings/remnawave-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"remnawave-settings.schema.d.ts","sourceRoot":"","sources":["../../../../models/remnawave-settings/remnawave-settings.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMlC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.RemnawaveSettingsSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const password_auth_settings_schema_1 = require("./password-auth-settings.schema");
|
|
6
|
+
const branding_settings_schema_1 = require("./branding-settings.schema");
|
|
6
7
|
const passkey_settings_schema_1 = require("./passkey-settings.schema");
|
|
7
8
|
const tg_auth_settings_schema_1 = require("./tg-auth-settings.schema");
|
|
8
9
|
const oauth2_settings_schema_1 = require("./oauth2-settings.schema");
|
|
@@ -11,4 +12,5 @@ exports.RemnawaveSettingsSchema = zod_1.z.object({
|
|
|
11
12
|
oauth2Settings: zod_1.z.nullable(oauth2_settings_schema_1.Oauth2SettingsSchema),
|
|
12
13
|
tgAuthSettings: zod_1.z.nullable(tg_auth_settings_schema_1.TgAuthSettingsSchema),
|
|
13
14
|
passwordSettings: zod_1.z.nullable(password_auth_settings_schema_1.PasswordAuthSettingsSchema),
|
|
15
|
+
brandingSettings: zod_1.z.nullable(branding_settings_schema_1.BrandingSettingsSchema),
|
|
14
16
|
});
|
|
@@ -2,15 +2,15 @@ import z from 'zod';
|
|
|
2
2
|
export declare const TgAuthSettingsSchema: z.ZodObject<{
|
|
3
3
|
enabled: z.ZodBoolean;
|
|
4
4
|
botToken: z.ZodNullable<z.ZodString>;
|
|
5
|
-
adminIds: z.ZodArray<z.
|
|
5
|
+
adminIds: z.ZodArray<z.ZodString, "many">;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
7
|
enabled: boolean;
|
|
8
8
|
botToken: string | null;
|
|
9
|
-
adminIds:
|
|
9
|
+
adminIds: string[];
|
|
10
10
|
}, {
|
|
11
11
|
enabled: boolean;
|
|
12
12
|
botToken: string | null;
|
|
13
|
-
adminIds:
|
|
13
|
+
adminIds: string[];
|
|
14
14
|
}>;
|
|
15
15
|
export type TTgAuthSettings = z.infer<typeof TgAuthSettingsSchema>;
|
|
16
16
|
//# sourceMappingURL=tg-auth-settings.schema.d.ts.map
|
|
@@ -8,5 +8,5 @@ const zod_1 = __importDefault(require("zod"));
|
|
|
8
8
|
exports.TgAuthSettingsSchema = zod_1.default.object({
|
|
9
9
|
enabled: zod_1.default.boolean(),
|
|
10
10
|
botToken: zod_1.default.nullable(zod_1.default.string()),
|
|
11
|
-
adminIds: zod_1.default.array(zod_1.default.
|
|
11
|
+
adminIds: zod_1.default.array(zod_1.default.string()),
|
|
12
12
|
});
|
|
@@ -15,6 +15,7 @@ var UpdateRemnawaveSettingsCommand;
|
|
|
15
15
|
oauth2Settings: models_1.Oauth2SettingsSchema.optional(),
|
|
16
16
|
tgAuthSettings: models_1.TgAuthSettingsSchema.optional(),
|
|
17
17
|
passwordSettings: models_1.PasswordAuthSettingsSchema.optional(),
|
|
18
|
+
brandingSettings: models_1.BrandingSettingsSchema.optional(),
|
|
18
19
|
});
|
|
19
20
|
UpdateRemnawaveSettingsCommand.ResponseSchema = zod_1.z.object({
|
|
20
21
|
response: models_1.RemnawaveSettingsSchema,
|
|
@@ -995,4 +995,14 @@ exports.ERRORS = {
|
|
|
995
995
|
message: 'Delete passkey error',
|
|
996
996
|
httpCode: 500,
|
|
997
997
|
},
|
|
998
|
+
VALIDATE_REMNAAWAVE_SETTINGS_ERROR: {
|
|
999
|
+
code: 'A199',
|
|
1000
|
+
message: 'Validate Remnawave settings error',
|
|
1001
|
+
httpCode: 500,
|
|
1002
|
+
withMessage: (message) => ({
|
|
1003
|
+
code: 'A199',
|
|
1004
|
+
message,
|
|
1005
|
+
httpCode: 500,
|
|
1006
|
+
}),
|
|
1007
|
+
},
|
|
998
1008
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.BrandingSettingsSchema = void 0;
|
|
7
|
+
const zod_1 = __importDefault(require("zod"));
|
|
8
|
+
exports.BrandingSettingsSchema = zod_1.default.object({
|
|
9
|
+
title: zod_1.default.nullable(zod_1.default.string()),
|
|
10
|
+
logoUrl: zod_1.default.nullable(zod_1.default.string().url()),
|
|
11
|
+
});
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./branding-settings.schema"), exports);
|
|
17
18
|
__exportStar(require("./oauth2-settings.schema"), exports);
|
|
18
19
|
__exportStar(require("./passkey-settings.schema"), exports);
|
|
19
20
|
__exportStar(require("./password-auth-settings.schema"), exports);
|
|
@@ -20,7 +20,7 @@ exports.Oauth2SettingsSchema = zod_1.default.object({
|
|
|
20
20
|
plainDomain: zod_1.default.nullable(zod_1.default.string().refine((val) => val === 'localhost' ||
|
|
21
21
|
(0, isFQDN_1.default)(val, {
|
|
22
22
|
require_tld: true,
|
|
23
|
-
}), 'Must be a valid fully qualified domain name (FQDN), e.g. "
|
|
23
|
+
}), 'Must be a valid fully qualified domain name (FQDN), e.g. "remna.st"')),
|
|
24
24
|
allowedEmails: zod_1.default.array(zod_1.default.string()),
|
|
25
25
|
}),
|
|
26
26
|
yandex: zod_1.default.object({
|
|
@@ -12,7 +12,7 @@ exports.PasskeySettingsSchema = zod_1.default.object({
|
|
|
12
12
|
rpId: zod_1.default.nullable(zod_1.default.string().refine((val) => val === 'localhost' ||
|
|
13
13
|
(0, isFQDN_1.default)(val, {
|
|
14
14
|
require_tld: true,
|
|
15
|
-
}), 'Must be a valid fully qualified domain name (FQDN), e.g. "
|
|
15
|
+
}), 'Must be a valid fully qualified domain name (FQDN), e.g. "remna.st"')),
|
|
16
16
|
origin: zod_1.default.nullable(zod_1.default.string().refine((val) => /^http[s]?:\/\/localhost:\d+$/.test(val) ||
|
|
17
17
|
(0, isURL_1.default)(val, {
|
|
18
18
|
protocols: ['http', 'https'],
|
|
@@ -21,5 +21,5 @@ exports.PasskeySettingsSchema = zod_1.default.object({
|
|
|
21
21
|
allow_fragments: false,
|
|
22
22
|
allow_query_components: false,
|
|
23
23
|
allow_trailing_dot: false,
|
|
24
|
-
}), 'Must be a valid URL, e.g. "https://
|
|
24
|
+
}), 'Must be a valid URL, e.g. "https://remna.st"')),
|
|
25
25
|
});
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.RemnawaveSettingsSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const password_auth_settings_schema_1 = require("./password-auth-settings.schema");
|
|
6
|
+
const branding_settings_schema_1 = require("./branding-settings.schema");
|
|
6
7
|
const passkey_settings_schema_1 = require("./passkey-settings.schema");
|
|
7
8
|
const tg_auth_settings_schema_1 = require("./tg-auth-settings.schema");
|
|
8
9
|
const oauth2_settings_schema_1 = require("./oauth2-settings.schema");
|
|
@@ -11,4 +12,5 @@ exports.RemnawaveSettingsSchema = zod_1.z.object({
|
|
|
11
12
|
oauth2Settings: zod_1.z.nullable(oauth2_settings_schema_1.Oauth2SettingsSchema),
|
|
12
13
|
tgAuthSettings: zod_1.z.nullable(tg_auth_settings_schema_1.TgAuthSettingsSchema),
|
|
13
14
|
passwordSettings: zod_1.z.nullable(password_auth_settings_schema_1.PasswordAuthSettingsSchema),
|
|
15
|
+
brandingSettings: zod_1.z.nullable(branding_settings_schema_1.BrandingSettingsSchema),
|
|
14
16
|
});
|
|
@@ -8,5 +8,5 @@ const zod_1 = __importDefault(require("zod"));
|
|
|
8
8
|
exports.TgAuthSettingsSchema = zod_1.default.object({
|
|
9
9
|
enabled: zod_1.default.boolean(),
|
|
10
10
|
botToken: zod_1.default.nullable(zod_1.default.string()),
|
|
11
|
-
adminIds: zod_1.default.array(zod_1.default.
|
|
11
|
+
adminIds: zod_1.default.array(zod_1.default.string()),
|
|
12
12
|
});
|