@remnawave/backend-contract 2.3.46 → 2.3.48
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/models/subscription-page-config/subscription-page-config.schema.d.ts +29 -82
- package/build/backend/models/subscription-page-config/subscription-page-config.schema.d.ts.map +1 -1
- package/build/backend/models/subscription-page-config/subscription-page-config.schema.js +18 -8
- package/build/frontend/models/subscription-page-config/subscription-page-config.schema.js +18 -8
- package/package.json +1 -1
|
@@ -66,26 +66,11 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
66
66
|
}>;
|
|
67
67
|
svgIcon: z.ZodString;
|
|
68
68
|
apps: z.ZodArray<z.ZodObject<{
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
name: z.ZodString;
|
|
72
|
-
featured: z.ZodBoolean;
|
|
73
|
-
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
name: string;
|
|
75
|
-
featured: boolean;
|
|
76
|
-
}, {
|
|
77
|
-
name: string;
|
|
78
|
-
featured: boolean;
|
|
79
|
-
}>;
|
|
80
|
-
subscriptionLinkSettings: z.ZodObject<{
|
|
81
|
-
encodeBase64: z.ZodBoolean;
|
|
82
|
-
}, "strip", z.ZodTypeAny, {
|
|
83
|
-
encodeBase64: boolean;
|
|
84
|
-
}, {
|
|
85
|
-
encodeBase64: boolean;
|
|
86
|
-
}>;
|
|
69
|
+
name: z.ZodString;
|
|
70
|
+
featured: z.ZodBoolean;
|
|
87
71
|
blocks: z.ZodArray<z.ZodObject<{
|
|
88
72
|
svgIcon: z.ZodString;
|
|
73
|
+
svgIconColor: z.ZodEnum<["dark", "gray", "red", "pink", "grape", "violet", "indigo", "blue", "cyan", "green", "lime", "yellow", "orange", "teal"]>;
|
|
89
74
|
title: z.ZodObject<{
|
|
90
75
|
en: z.ZodString;
|
|
91
76
|
ru: z.ZodOptional<z.ZodString>;
|
|
@@ -186,6 +171,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
186
171
|
fr?: string | undefined;
|
|
187
172
|
};
|
|
188
173
|
svgIcon: string;
|
|
174
|
+
svgIconColor: "dark" | "gray" | "red" | "pink" | "grape" | "violet" | "indigo" | "blue" | "cyan" | "green" | "lime" | "yellow" | "orange" | "teal";
|
|
189
175
|
buttons: {
|
|
190
176
|
type: "external" | "subscriptionLink";
|
|
191
177
|
link: string;
|
|
@@ -214,6 +200,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
214
200
|
fr?: string | undefined;
|
|
215
201
|
};
|
|
216
202
|
svgIcon: string;
|
|
203
|
+
svgIconColor: "dark" | "gray" | "red" | "pink" | "grape" | "violet" | "indigo" | "blue" | "cyan" | "green" | "lime" | "yellow" | "orange" | "teal";
|
|
217
204
|
buttons: {
|
|
218
205
|
type: "external" | "subscriptionLink";
|
|
219
206
|
link: string;
|
|
@@ -228,14 +215,8 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
228
215
|
}[];
|
|
229
216
|
}>, "many">;
|
|
230
217
|
}, "strip", z.ZodTypeAny, {
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
name: string;
|
|
234
|
-
featured: boolean;
|
|
235
|
-
};
|
|
236
|
-
subscriptionLinkSettings: {
|
|
237
|
-
encodeBase64: boolean;
|
|
238
|
-
};
|
|
218
|
+
name: string;
|
|
219
|
+
featured: boolean;
|
|
239
220
|
blocks: {
|
|
240
221
|
title: {
|
|
241
222
|
en: string;
|
|
@@ -252,6 +233,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
252
233
|
fr?: string | undefined;
|
|
253
234
|
};
|
|
254
235
|
svgIcon: string;
|
|
236
|
+
svgIconColor: "dark" | "gray" | "red" | "pink" | "grape" | "violet" | "indigo" | "blue" | "cyan" | "green" | "lime" | "yellow" | "orange" | "teal";
|
|
255
237
|
buttons: {
|
|
256
238
|
type: "external" | "subscriptionLink";
|
|
257
239
|
link: string;
|
|
@@ -266,14 +248,8 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
266
248
|
}[];
|
|
267
249
|
}[];
|
|
268
250
|
}, {
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
name: string;
|
|
272
|
-
featured: boolean;
|
|
273
|
-
};
|
|
274
|
-
subscriptionLinkSettings: {
|
|
275
|
-
encodeBase64: boolean;
|
|
276
|
-
};
|
|
251
|
+
name: string;
|
|
252
|
+
featured: boolean;
|
|
277
253
|
blocks: {
|
|
278
254
|
title: {
|
|
279
255
|
en: string;
|
|
@@ -290,6 +266,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
290
266
|
fr?: string | undefined;
|
|
291
267
|
};
|
|
292
268
|
svgIcon: string;
|
|
269
|
+
svgIconColor: "dark" | "gray" | "red" | "pink" | "grape" | "violet" | "indigo" | "blue" | "cyan" | "green" | "lime" | "yellow" | "orange" | "teal";
|
|
293
270
|
buttons: {
|
|
294
271
|
type: "external" | "subscriptionLink";
|
|
295
272
|
link: string;
|
|
@@ -314,14 +291,8 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
314
291
|
fr?: string | undefined;
|
|
315
292
|
};
|
|
316
293
|
apps: {
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
name: string;
|
|
320
|
-
featured: boolean;
|
|
321
|
-
};
|
|
322
|
-
subscriptionLinkSettings: {
|
|
323
|
-
encodeBase64: boolean;
|
|
324
|
-
};
|
|
294
|
+
name: string;
|
|
295
|
+
featured: boolean;
|
|
325
296
|
blocks: {
|
|
326
297
|
title: {
|
|
327
298
|
en: string;
|
|
@@ -338,6 +309,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
338
309
|
fr?: string | undefined;
|
|
339
310
|
};
|
|
340
311
|
svgIcon: string;
|
|
312
|
+
svgIconColor: "dark" | "gray" | "red" | "pink" | "grape" | "violet" | "indigo" | "blue" | "cyan" | "green" | "lime" | "yellow" | "orange" | "teal";
|
|
341
313
|
buttons: {
|
|
342
314
|
type: "external" | "subscriptionLink";
|
|
343
315
|
link: string;
|
|
@@ -362,14 +334,8 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
362
334
|
fr?: string | undefined;
|
|
363
335
|
};
|
|
364
336
|
apps: {
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
name: string;
|
|
368
|
-
featured: boolean;
|
|
369
|
-
};
|
|
370
|
-
subscriptionLinkSettings: {
|
|
371
|
-
encodeBase64: boolean;
|
|
372
|
-
};
|
|
337
|
+
name: string;
|
|
338
|
+
featured: boolean;
|
|
373
339
|
blocks: {
|
|
374
340
|
title: {
|
|
375
341
|
en: string;
|
|
@@ -386,6 +352,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
386
352
|
fr?: string | undefined;
|
|
387
353
|
};
|
|
388
354
|
svgIcon: string;
|
|
355
|
+
svgIconColor: "dark" | "gray" | "red" | "pink" | "grape" | "violet" | "indigo" | "blue" | "cyan" | "green" | "lime" | "yellow" | "orange" | "teal";
|
|
389
356
|
buttons: {
|
|
390
357
|
type: "external" | "subscriptionLink";
|
|
391
358
|
link: string;
|
|
@@ -419,14 +386,8 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
419
386
|
fr?: string | undefined;
|
|
420
387
|
};
|
|
421
388
|
apps: {
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
name: string;
|
|
425
|
-
featured: boolean;
|
|
426
|
-
};
|
|
427
|
-
subscriptionLinkSettings: {
|
|
428
|
-
encodeBase64: boolean;
|
|
429
|
-
};
|
|
389
|
+
name: string;
|
|
390
|
+
featured: boolean;
|
|
430
391
|
blocks: {
|
|
431
392
|
title: {
|
|
432
393
|
en: string;
|
|
@@ -443,6 +404,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
443
404
|
fr?: string | undefined;
|
|
444
405
|
};
|
|
445
406
|
svgIcon: string;
|
|
407
|
+
svgIconColor: "dark" | "gray" | "red" | "pink" | "grape" | "violet" | "indigo" | "blue" | "cyan" | "green" | "lime" | "yellow" | "orange" | "teal";
|
|
446
408
|
buttons: {
|
|
447
409
|
type: "external" | "subscriptionLink";
|
|
448
410
|
link: string;
|
|
@@ -476,14 +438,8 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
476
438
|
fr?: string | undefined;
|
|
477
439
|
};
|
|
478
440
|
apps: {
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
name: string;
|
|
482
|
-
featured: boolean;
|
|
483
|
-
};
|
|
484
|
-
subscriptionLinkSettings: {
|
|
485
|
-
encodeBase64: boolean;
|
|
486
|
-
};
|
|
441
|
+
name: string;
|
|
442
|
+
featured: boolean;
|
|
487
443
|
blocks: {
|
|
488
444
|
title: {
|
|
489
445
|
en: string;
|
|
@@ -500,6 +456,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
500
456
|
fr?: string | undefined;
|
|
501
457
|
};
|
|
502
458
|
svgIcon: string;
|
|
459
|
+
svgIconColor: "dark" | "gray" | "red" | "pink" | "grape" | "violet" | "indigo" | "blue" | "cyan" | "green" | "lime" | "yellow" | "orange" | "teal";
|
|
503
460
|
buttons: {
|
|
504
461
|
type: "external" | "subscriptionLink";
|
|
505
462
|
link: string;
|
|
@@ -533,14 +490,8 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
533
490
|
fr?: string | undefined;
|
|
534
491
|
};
|
|
535
492
|
apps: {
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
name: string;
|
|
539
|
-
featured: boolean;
|
|
540
|
-
};
|
|
541
|
-
subscriptionLinkSettings: {
|
|
542
|
-
encodeBase64: boolean;
|
|
543
|
-
};
|
|
493
|
+
name: string;
|
|
494
|
+
featured: boolean;
|
|
544
495
|
blocks: {
|
|
545
496
|
title: {
|
|
546
497
|
en: string;
|
|
@@ -557,6 +508,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
557
508
|
fr?: string | undefined;
|
|
558
509
|
};
|
|
559
510
|
svgIcon: string;
|
|
511
|
+
svgIconColor: "dark" | "gray" | "red" | "pink" | "grape" | "violet" | "indigo" | "blue" | "cyan" | "green" | "lime" | "yellow" | "orange" | "teal";
|
|
560
512
|
buttons: {
|
|
561
513
|
type: "external" | "subscriptionLink";
|
|
562
514
|
link: string;
|
|
@@ -590,14 +542,8 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
590
542
|
fr?: string | undefined;
|
|
591
543
|
};
|
|
592
544
|
apps: {
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
name: string;
|
|
596
|
-
featured: boolean;
|
|
597
|
-
};
|
|
598
|
-
subscriptionLinkSettings: {
|
|
599
|
-
encodeBase64: boolean;
|
|
600
|
-
};
|
|
545
|
+
name: string;
|
|
546
|
+
featured: boolean;
|
|
601
547
|
blocks: {
|
|
602
548
|
title: {
|
|
603
549
|
en: string;
|
|
@@ -614,6 +560,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
614
560
|
fr?: string | undefined;
|
|
615
561
|
};
|
|
616
562
|
svgIcon: string;
|
|
563
|
+
svgIconColor: "dark" | "gray" | "red" | "pink" | "grape" | "violet" | "indigo" | "blue" | "cyan" | "green" | "lime" | "yellow" | "orange" | "teal";
|
|
617
564
|
buttons: {
|
|
618
565
|
type: "external" | "subscriptionLink";
|
|
619
566
|
link: string;
|
package/build/backend/models/subscription-page-config/subscription-page-config.schema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription-page-config.schema.d.ts","sourceRoot":"","sources":["../../../../models/subscription-page-config/subscription-page-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;EAM9B,CAAC;
|
|
1
|
+
{"version":3,"file":"subscription-page-config.schema.d.ts","sourceRoot":"","sources":["../../../../models/subscription-page-config/subscription-page-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;EAM9B,CAAC;AAkDH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAStC,CAAC;AAEP,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
|
|
@@ -19,19 +19,29 @@ const ButtonSchema = zod_1.z.object({
|
|
|
19
19
|
});
|
|
20
20
|
const BlockSchema = zod_1.z.object({
|
|
21
21
|
svgIcon: zod_1.z.string(),
|
|
22
|
+
svgIconColor: zod_1.z.enum([
|
|
23
|
+
'dark',
|
|
24
|
+
'gray',
|
|
25
|
+
'red',
|
|
26
|
+
'pink',
|
|
27
|
+
'grape',
|
|
28
|
+
'violet',
|
|
29
|
+
'indigo',
|
|
30
|
+
'blue',
|
|
31
|
+
'cyan',
|
|
32
|
+
'green',
|
|
33
|
+
'lime',
|
|
34
|
+
'yellow',
|
|
35
|
+
'orange',
|
|
36
|
+
'teal',
|
|
37
|
+
]),
|
|
22
38
|
title: exports.LocalizedTextSchema,
|
|
23
39
|
description: exports.LocalizedTextSchema,
|
|
24
40
|
buttons: zod_1.z.array(ButtonSchema),
|
|
25
41
|
});
|
|
26
42
|
const PlatformAppSchema = zod_1.z.object({
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
name: zod_1.z.string(),
|
|
30
|
-
featured: zod_1.z.boolean(),
|
|
31
|
-
}),
|
|
32
|
-
subscriptionLinkSettings: zod_1.z.object({
|
|
33
|
-
encodeBase64: zod_1.z.boolean(),
|
|
34
|
-
}),
|
|
43
|
+
name: zod_1.z.string(),
|
|
44
|
+
featured: zod_1.z.boolean(),
|
|
35
45
|
blocks: zod_1.z.array(BlockSchema),
|
|
36
46
|
});
|
|
37
47
|
const PlatformSchema = zod_1.z.object({
|
|
@@ -19,19 +19,29 @@ const ButtonSchema = zod_1.z.object({
|
|
|
19
19
|
});
|
|
20
20
|
const BlockSchema = zod_1.z.object({
|
|
21
21
|
svgIcon: zod_1.z.string(),
|
|
22
|
+
svgIconColor: zod_1.z.enum([
|
|
23
|
+
'dark',
|
|
24
|
+
'gray',
|
|
25
|
+
'red',
|
|
26
|
+
'pink',
|
|
27
|
+
'grape',
|
|
28
|
+
'violet',
|
|
29
|
+
'indigo',
|
|
30
|
+
'blue',
|
|
31
|
+
'cyan',
|
|
32
|
+
'green',
|
|
33
|
+
'lime',
|
|
34
|
+
'yellow',
|
|
35
|
+
'orange',
|
|
36
|
+
'teal',
|
|
37
|
+
]),
|
|
22
38
|
title: exports.LocalizedTextSchema,
|
|
23
39
|
description: exports.LocalizedTextSchema,
|
|
24
40
|
buttons: zod_1.z.array(ButtonSchema),
|
|
25
41
|
});
|
|
26
42
|
const PlatformAppSchema = zod_1.z.object({
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
name: zod_1.z.string(),
|
|
30
|
-
featured: zod_1.z.boolean(),
|
|
31
|
-
}),
|
|
32
|
-
subscriptionLinkSettings: zod_1.z.object({
|
|
33
|
-
encodeBase64: zod_1.z.boolean(),
|
|
34
|
-
}),
|
|
43
|
+
name: zod_1.z.string(),
|
|
44
|
+
featured: zod_1.z.boolean(),
|
|
35
45
|
blocks: zod_1.z.array(BlockSchema),
|
|
36
46
|
});
|
|
37
47
|
const PlatformSchema = zod_1.z.object({
|