@remnawave/subscription-page-types 0.0.4 → 0.0.6
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 +60 -46
- 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 +2 -1
- package/build/backend/models/subscription-page-config/subscription-page-config.validator.js +2 -2
- package/build/frontend/models/subscription-page-config/subscription-page-config.schema.js +2 -1
- package/build/frontend/models/subscription-page-config/subscription-page-config.validator.js +2 -2
- package/package.json +1 -1
|
@@ -44,6 +44,7 @@ declare const ButtonSchema: z.ZodObject<{
|
|
|
44
44
|
svgIconKey: z.ZodString;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
46
|
type: "external" | "subscriptionLink";
|
|
47
|
+
svgIconKey: string;
|
|
47
48
|
link: string;
|
|
48
49
|
text: {
|
|
49
50
|
en: string;
|
|
@@ -52,9 +53,9 @@ declare const ButtonSchema: z.ZodObject<{
|
|
|
52
53
|
fa?: string | undefined;
|
|
53
54
|
fr?: string | undefined;
|
|
54
55
|
};
|
|
55
|
-
svgIconKey: string;
|
|
56
56
|
}, {
|
|
57
57
|
type: "external" | "subscriptionLink";
|
|
58
|
+
svgIconKey: string;
|
|
58
59
|
link: string;
|
|
59
60
|
text: {
|
|
60
61
|
en: string;
|
|
@@ -63,7 +64,6 @@ declare const ButtonSchema: z.ZodObject<{
|
|
|
63
64
|
fa?: string | undefined;
|
|
64
65
|
fr?: string | undefined;
|
|
65
66
|
};
|
|
66
|
-
svgIconKey: string;
|
|
67
67
|
}>;
|
|
68
68
|
declare const BlockSchema: z.ZodObject<{
|
|
69
69
|
svgIconKey: z.ZodString;
|
|
@@ -131,6 +131,7 @@ declare const BlockSchema: z.ZodObject<{
|
|
|
131
131
|
svgIconKey: z.ZodString;
|
|
132
132
|
}, "strip", z.ZodTypeAny, {
|
|
133
133
|
type: "external" | "subscriptionLink";
|
|
134
|
+
svgIconKey: string;
|
|
134
135
|
link: string;
|
|
135
136
|
text: {
|
|
136
137
|
en: string;
|
|
@@ -139,9 +140,9 @@ declare const BlockSchema: z.ZodObject<{
|
|
|
139
140
|
fa?: string | undefined;
|
|
140
141
|
fr?: string | undefined;
|
|
141
142
|
};
|
|
142
|
-
svgIconKey: string;
|
|
143
143
|
}, {
|
|
144
144
|
type: "external" | "subscriptionLink";
|
|
145
|
+
svgIconKey: string;
|
|
145
146
|
link: string;
|
|
146
147
|
text: {
|
|
147
148
|
en: string;
|
|
@@ -150,7 +151,6 @@ declare const BlockSchema: z.ZodObject<{
|
|
|
150
151
|
fa?: string | undefined;
|
|
151
152
|
fr?: string | undefined;
|
|
152
153
|
};
|
|
153
|
-
svgIconKey: string;
|
|
154
154
|
}>, "many">;
|
|
155
155
|
}, "strip", z.ZodTypeAny, {
|
|
156
156
|
svgIconKey: string;
|
|
@@ -171,6 +171,7 @@ declare const BlockSchema: z.ZodObject<{
|
|
|
171
171
|
};
|
|
172
172
|
buttons: {
|
|
173
173
|
type: "external" | "subscriptionLink";
|
|
174
|
+
svgIconKey: string;
|
|
174
175
|
link: string;
|
|
175
176
|
text: {
|
|
176
177
|
en: string;
|
|
@@ -179,7 +180,6 @@ declare const BlockSchema: z.ZodObject<{
|
|
|
179
180
|
fa?: string | undefined;
|
|
180
181
|
fr?: string | undefined;
|
|
181
182
|
};
|
|
182
|
-
svgIconKey: string;
|
|
183
183
|
}[];
|
|
184
184
|
}, {
|
|
185
185
|
svgIconKey: string;
|
|
@@ -200,6 +200,7 @@ declare const BlockSchema: z.ZodObject<{
|
|
|
200
200
|
};
|
|
201
201
|
buttons: {
|
|
202
202
|
type: "external" | "subscriptionLink";
|
|
203
|
+
svgIconKey: string;
|
|
203
204
|
link: string;
|
|
204
205
|
text: {
|
|
205
206
|
en: string;
|
|
@@ -208,7 +209,6 @@ declare const BlockSchema: z.ZodObject<{
|
|
|
208
209
|
fa?: string | undefined;
|
|
209
210
|
fr?: string | undefined;
|
|
210
211
|
};
|
|
211
|
-
svgIconKey: string;
|
|
212
212
|
}[];
|
|
213
213
|
}>;
|
|
214
214
|
declare const PlatformAppSchema: z.ZodObject<{
|
|
@@ -280,6 +280,7 @@ declare const PlatformAppSchema: z.ZodObject<{
|
|
|
280
280
|
svgIconKey: z.ZodString;
|
|
281
281
|
}, "strip", z.ZodTypeAny, {
|
|
282
282
|
type: "external" | "subscriptionLink";
|
|
283
|
+
svgIconKey: string;
|
|
283
284
|
link: string;
|
|
284
285
|
text: {
|
|
285
286
|
en: string;
|
|
@@ -288,9 +289,9 @@ declare const PlatformAppSchema: z.ZodObject<{
|
|
|
288
289
|
fa?: string | undefined;
|
|
289
290
|
fr?: string | undefined;
|
|
290
291
|
};
|
|
291
|
-
svgIconKey: string;
|
|
292
292
|
}, {
|
|
293
293
|
type: "external" | "subscriptionLink";
|
|
294
|
+
svgIconKey: string;
|
|
294
295
|
link: string;
|
|
295
296
|
text: {
|
|
296
297
|
en: string;
|
|
@@ -299,7 +300,6 @@ declare const PlatformAppSchema: z.ZodObject<{
|
|
|
299
300
|
fa?: string | undefined;
|
|
300
301
|
fr?: string | undefined;
|
|
301
302
|
};
|
|
302
|
-
svgIconKey: string;
|
|
303
303
|
}>, "many">;
|
|
304
304
|
}, "strip", z.ZodTypeAny, {
|
|
305
305
|
svgIconKey: string;
|
|
@@ -320,6 +320,7 @@ declare const PlatformAppSchema: z.ZodObject<{
|
|
|
320
320
|
};
|
|
321
321
|
buttons: {
|
|
322
322
|
type: "external" | "subscriptionLink";
|
|
323
|
+
svgIconKey: string;
|
|
323
324
|
link: string;
|
|
324
325
|
text: {
|
|
325
326
|
en: string;
|
|
@@ -328,7 +329,6 @@ declare const PlatformAppSchema: z.ZodObject<{
|
|
|
328
329
|
fa?: string | undefined;
|
|
329
330
|
fr?: string | undefined;
|
|
330
331
|
};
|
|
331
|
-
svgIconKey: string;
|
|
332
332
|
}[];
|
|
333
333
|
}, {
|
|
334
334
|
svgIconKey: string;
|
|
@@ -349,6 +349,7 @@ declare const PlatformAppSchema: z.ZodObject<{
|
|
|
349
349
|
};
|
|
350
350
|
buttons: {
|
|
351
351
|
type: "external" | "subscriptionLink";
|
|
352
|
+
svgIconKey: string;
|
|
352
353
|
link: string;
|
|
353
354
|
text: {
|
|
354
355
|
en: string;
|
|
@@ -357,7 +358,6 @@ declare const PlatformAppSchema: z.ZodObject<{
|
|
|
357
358
|
fa?: string | undefined;
|
|
358
359
|
fr?: string | undefined;
|
|
359
360
|
};
|
|
360
|
-
svgIconKey: string;
|
|
361
361
|
}[];
|
|
362
362
|
}>, "many">;
|
|
363
363
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -382,6 +382,7 @@ declare const PlatformAppSchema: z.ZodObject<{
|
|
|
382
382
|
};
|
|
383
383
|
buttons: {
|
|
384
384
|
type: "external" | "subscriptionLink";
|
|
385
|
+
svgIconKey: string;
|
|
385
386
|
link: string;
|
|
386
387
|
text: {
|
|
387
388
|
en: string;
|
|
@@ -390,7 +391,6 @@ declare const PlatformAppSchema: z.ZodObject<{
|
|
|
390
391
|
fa?: string | undefined;
|
|
391
392
|
fr?: string | undefined;
|
|
392
393
|
};
|
|
393
|
-
svgIconKey: string;
|
|
394
394
|
}[];
|
|
395
395
|
}[];
|
|
396
396
|
}, {
|
|
@@ -415,6 +415,7 @@ declare const PlatformAppSchema: z.ZodObject<{
|
|
|
415
415
|
};
|
|
416
416
|
buttons: {
|
|
417
417
|
type: "external" | "subscriptionLink";
|
|
418
|
+
svgIconKey: string;
|
|
418
419
|
link: string;
|
|
419
420
|
text: {
|
|
420
421
|
en: string;
|
|
@@ -423,7 +424,6 @@ declare const PlatformAppSchema: z.ZodObject<{
|
|
|
423
424
|
fa?: string | undefined;
|
|
424
425
|
fr?: string | undefined;
|
|
425
426
|
};
|
|
426
|
-
svgIconKey: string;
|
|
427
427
|
}[];
|
|
428
428
|
}[];
|
|
429
429
|
}>;
|
|
@@ -517,6 +517,7 @@ declare const PlatformSchema: z.ZodObject<{
|
|
|
517
517
|
svgIconKey: z.ZodString;
|
|
518
518
|
}, "strip", z.ZodTypeAny, {
|
|
519
519
|
type: "external" | "subscriptionLink";
|
|
520
|
+
svgIconKey: string;
|
|
520
521
|
link: string;
|
|
521
522
|
text: {
|
|
522
523
|
en: string;
|
|
@@ -525,9 +526,9 @@ declare const PlatformSchema: z.ZodObject<{
|
|
|
525
526
|
fa?: string | undefined;
|
|
526
527
|
fr?: string | undefined;
|
|
527
528
|
};
|
|
528
|
-
svgIconKey: string;
|
|
529
529
|
}, {
|
|
530
530
|
type: "external" | "subscriptionLink";
|
|
531
|
+
svgIconKey: string;
|
|
531
532
|
link: string;
|
|
532
533
|
text: {
|
|
533
534
|
en: string;
|
|
@@ -536,7 +537,6 @@ declare const PlatformSchema: z.ZodObject<{
|
|
|
536
537
|
fa?: string | undefined;
|
|
537
538
|
fr?: string | undefined;
|
|
538
539
|
};
|
|
539
|
-
svgIconKey: string;
|
|
540
540
|
}>, "many">;
|
|
541
541
|
}, "strip", z.ZodTypeAny, {
|
|
542
542
|
svgIconKey: string;
|
|
@@ -557,6 +557,7 @@ declare const PlatformSchema: z.ZodObject<{
|
|
|
557
557
|
};
|
|
558
558
|
buttons: {
|
|
559
559
|
type: "external" | "subscriptionLink";
|
|
560
|
+
svgIconKey: string;
|
|
560
561
|
link: string;
|
|
561
562
|
text: {
|
|
562
563
|
en: string;
|
|
@@ -565,7 +566,6 @@ declare const PlatformSchema: z.ZodObject<{
|
|
|
565
566
|
fa?: string | undefined;
|
|
566
567
|
fr?: string | undefined;
|
|
567
568
|
};
|
|
568
|
-
svgIconKey: string;
|
|
569
569
|
}[];
|
|
570
570
|
}, {
|
|
571
571
|
svgIconKey: string;
|
|
@@ -586,6 +586,7 @@ declare const PlatformSchema: z.ZodObject<{
|
|
|
586
586
|
};
|
|
587
587
|
buttons: {
|
|
588
588
|
type: "external" | "subscriptionLink";
|
|
589
|
+
svgIconKey: string;
|
|
589
590
|
link: string;
|
|
590
591
|
text: {
|
|
591
592
|
en: string;
|
|
@@ -594,7 +595,6 @@ declare const PlatformSchema: z.ZodObject<{
|
|
|
594
595
|
fa?: string | undefined;
|
|
595
596
|
fr?: string | undefined;
|
|
596
597
|
};
|
|
597
|
-
svgIconKey: string;
|
|
598
598
|
}[];
|
|
599
599
|
}>, "many">;
|
|
600
600
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -619,6 +619,7 @@ declare const PlatformSchema: z.ZodObject<{
|
|
|
619
619
|
};
|
|
620
620
|
buttons: {
|
|
621
621
|
type: "external" | "subscriptionLink";
|
|
622
|
+
svgIconKey: string;
|
|
622
623
|
link: string;
|
|
623
624
|
text: {
|
|
624
625
|
en: string;
|
|
@@ -627,7 +628,6 @@ declare const PlatformSchema: z.ZodObject<{
|
|
|
627
628
|
fa?: string | undefined;
|
|
628
629
|
fr?: string | undefined;
|
|
629
630
|
};
|
|
630
|
-
svgIconKey: string;
|
|
631
631
|
}[];
|
|
632
632
|
}[];
|
|
633
633
|
}, {
|
|
@@ -652,6 +652,7 @@ declare const PlatformSchema: z.ZodObject<{
|
|
|
652
652
|
};
|
|
653
653
|
buttons: {
|
|
654
654
|
type: "external" | "subscriptionLink";
|
|
655
|
+
svgIconKey: string;
|
|
655
656
|
link: string;
|
|
656
657
|
text: {
|
|
657
658
|
en: string;
|
|
@@ -660,7 +661,6 @@ declare const PlatformSchema: z.ZodObject<{
|
|
|
660
661
|
fa?: string | undefined;
|
|
661
662
|
fr?: string | undefined;
|
|
662
663
|
};
|
|
663
|
-
svgIconKey: string;
|
|
664
664
|
}[];
|
|
665
665
|
}[];
|
|
666
666
|
}>, "many">;
|
|
@@ -695,6 +695,7 @@ declare const PlatformSchema: z.ZodObject<{
|
|
|
695
695
|
};
|
|
696
696
|
buttons: {
|
|
697
697
|
type: "external" | "subscriptionLink";
|
|
698
|
+
svgIconKey: string;
|
|
698
699
|
link: string;
|
|
699
700
|
text: {
|
|
700
701
|
en: string;
|
|
@@ -703,7 +704,6 @@ declare const PlatformSchema: z.ZodObject<{
|
|
|
703
704
|
fa?: string | undefined;
|
|
704
705
|
fr?: string | undefined;
|
|
705
706
|
};
|
|
706
|
-
svgIconKey: string;
|
|
707
707
|
}[];
|
|
708
708
|
}[];
|
|
709
709
|
}[];
|
|
@@ -738,6 +738,7 @@ declare const PlatformSchema: z.ZodObject<{
|
|
|
738
738
|
};
|
|
739
739
|
buttons: {
|
|
740
740
|
type: "external" | "subscriptionLink";
|
|
741
|
+
svgIconKey: string;
|
|
741
742
|
link: string;
|
|
742
743
|
text: {
|
|
743
744
|
en: string;
|
|
@@ -746,7 +747,6 @@ declare const PlatformSchema: z.ZodObject<{
|
|
|
746
747
|
fa?: string | undefined;
|
|
747
748
|
fr?: string | undefined;
|
|
748
749
|
};
|
|
749
|
-
svgIconKey: string;
|
|
750
750
|
}[];
|
|
751
751
|
}[];
|
|
752
752
|
}[];
|
|
@@ -766,13 +766,14 @@ declare const BrandingSettingsSchema: z.ZodObject<{
|
|
|
766
766
|
}>;
|
|
767
767
|
declare const UiConfigSchema: z.ZodObject<{
|
|
768
768
|
subscriptionInfo: z.ZodObject<{
|
|
769
|
-
block: z.ZodEnum<["collapsed", "expanded"]>;
|
|
769
|
+
block: z.ZodEnum<["collapsed", "expanded", "cards", "hidden"]>;
|
|
770
770
|
}, "strip", z.ZodTypeAny, {
|
|
771
|
-
block: "collapsed" | "expanded";
|
|
771
|
+
block: "collapsed" | "expanded" | "cards" | "hidden";
|
|
772
772
|
}, {
|
|
773
|
-
block: "collapsed" | "expanded";
|
|
773
|
+
block: "collapsed" | "expanded" | "cards" | "hidden";
|
|
774
774
|
}>;
|
|
775
775
|
installationGuides: z.ZodObject<{
|
|
776
|
+
block: z.ZodDefault<z.ZodEnum<["cards", "accordion", "minimal", "timeline"]>>;
|
|
776
777
|
headerText: z.ZodObject<{
|
|
777
778
|
en: z.ZodString;
|
|
778
779
|
ru: z.ZodOptional<z.ZodString>;
|
|
@@ -793,6 +794,7 @@ declare const UiConfigSchema: z.ZodObject<{
|
|
|
793
794
|
fr?: string | undefined;
|
|
794
795
|
}>;
|
|
795
796
|
}, "strip", z.ZodTypeAny, {
|
|
797
|
+
block: "cards" | "accordion" | "minimal" | "timeline";
|
|
796
798
|
headerText: {
|
|
797
799
|
en: string;
|
|
798
800
|
ru?: string | undefined;
|
|
@@ -808,6 +810,7 @@ declare const UiConfigSchema: z.ZodObject<{
|
|
|
808
810
|
fa?: string | undefined;
|
|
809
811
|
fr?: string | undefined;
|
|
810
812
|
};
|
|
813
|
+
block?: "cards" | "accordion" | "minimal" | "timeline" | undefined;
|
|
811
814
|
}>;
|
|
812
815
|
connectionKeys: z.ZodObject<{
|
|
813
816
|
headerText: z.ZodObject<{
|
|
@@ -848,9 +851,10 @@ declare const UiConfigSchema: z.ZodObject<{
|
|
|
848
851
|
}>;
|
|
849
852
|
}, "strip", z.ZodTypeAny, {
|
|
850
853
|
subscriptionInfo: {
|
|
851
|
-
block: "collapsed" | "expanded";
|
|
854
|
+
block: "collapsed" | "expanded" | "cards" | "hidden";
|
|
852
855
|
};
|
|
853
856
|
installationGuides: {
|
|
857
|
+
block: "cards" | "accordion" | "minimal" | "timeline";
|
|
854
858
|
headerText: {
|
|
855
859
|
en: string;
|
|
856
860
|
ru?: string | undefined;
|
|
@@ -870,7 +874,7 @@ declare const UiConfigSchema: z.ZodObject<{
|
|
|
870
874
|
};
|
|
871
875
|
}, {
|
|
872
876
|
subscriptionInfo: {
|
|
873
|
-
block: "collapsed" | "expanded";
|
|
877
|
+
block: "collapsed" | "expanded" | "cards" | "hidden";
|
|
874
878
|
};
|
|
875
879
|
installationGuides: {
|
|
876
880
|
headerText: {
|
|
@@ -880,6 +884,7 @@ declare const UiConfigSchema: z.ZodObject<{
|
|
|
880
884
|
fa?: string | undefined;
|
|
881
885
|
fr?: string | undefined;
|
|
882
886
|
};
|
|
887
|
+
block?: "cards" | "accordion" | "minimal" | "timeline" | undefined;
|
|
883
888
|
};
|
|
884
889
|
connectionKeys: {
|
|
885
890
|
headerText: {
|
|
@@ -911,13 +916,14 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
911
916
|
}>;
|
|
912
917
|
uiConfig: z.ZodObject<{
|
|
913
918
|
subscriptionInfo: z.ZodObject<{
|
|
914
|
-
block: z.ZodEnum<["collapsed", "expanded"]>;
|
|
919
|
+
block: z.ZodEnum<["collapsed", "expanded", "cards", "hidden"]>;
|
|
915
920
|
}, "strip", z.ZodTypeAny, {
|
|
916
|
-
block: "collapsed" | "expanded";
|
|
921
|
+
block: "collapsed" | "expanded" | "cards" | "hidden";
|
|
917
922
|
}, {
|
|
918
|
-
block: "collapsed" | "expanded";
|
|
923
|
+
block: "collapsed" | "expanded" | "cards" | "hidden";
|
|
919
924
|
}>;
|
|
920
925
|
installationGuides: z.ZodObject<{
|
|
926
|
+
block: z.ZodDefault<z.ZodEnum<["cards", "accordion", "minimal", "timeline"]>>;
|
|
921
927
|
headerText: z.ZodObject<{
|
|
922
928
|
en: z.ZodString;
|
|
923
929
|
ru: z.ZodOptional<z.ZodString>;
|
|
@@ -938,6 +944,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
938
944
|
fr?: string | undefined;
|
|
939
945
|
}>;
|
|
940
946
|
}, "strip", z.ZodTypeAny, {
|
|
947
|
+
block: "cards" | "accordion" | "minimal" | "timeline";
|
|
941
948
|
headerText: {
|
|
942
949
|
en: string;
|
|
943
950
|
ru?: string | undefined;
|
|
@@ -953,6 +960,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
953
960
|
fa?: string | undefined;
|
|
954
961
|
fr?: string | undefined;
|
|
955
962
|
};
|
|
963
|
+
block?: "cards" | "accordion" | "minimal" | "timeline" | undefined;
|
|
956
964
|
}>;
|
|
957
965
|
connectionKeys: z.ZodObject<{
|
|
958
966
|
headerText: z.ZodObject<{
|
|
@@ -993,9 +1001,10 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
993
1001
|
}>;
|
|
994
1002
|
}, "strip", z.ZodTypeAny, {
|
|
995
1003
|
subscriptionInfo: {
|
|
996
|
-
block: "collapsed" | "expanded";
|
|
1004
|
+
block: "collapsed" | "expanded" | "cards" | "hidden";
|
|
997
1005
|
};
|
|
998
1006
|
installationGuides: {
|
|
1007
|
+
block: "cards" | "accordion" | "minimal" | "timeline";
|
|
999
1008
|
headerText: {
|
|
1000
1009
|
en: string;
|
|
1001
1010
|
ru?: string | undefined;
|
|
@@ -1015,7 +1024,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1015
1024
|
};
|
|
1016
1025
|
}, {
|
|
1017
1026
|
subscriptionInfo: {
|
|
1018
|
-
block: "collapsed" | "expanded";
|
|
1027
|
+
block: "collapsed" | "expanded" | "cards" | "hidden";
|
|
1019
1028
|
};
|
|
1020
1029
|
installationGuides: {
|
|
1021
1030
|
headerText: {
|
|
@@ -1025,6 +1034,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1025
1034
|
fa?: string | undefined;
|
|
1026
1035
|
fr?: string | undefined;
|
|
1027
1036
|
};
|
|
1037
|
+
block?: "cards" | "accordion" | "minimal" | "timeline" | undefined;
|
|
1028
1038
|
};
|
|
1029
1039
|
connectionKeys: {
|
|
1030
1040
|
headerText: {
|
|
@@ -1135,6 +1145,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1135
1145
|
svgIconKey: z.ZodString;
|
|
1136
1146
|
}, "strip", z.ZodTypeAny, {
|
|
1137
1147
|
type: "external" | "subscriptionLink";
|
|
1148
|
+
svgIconKey: string;
|
|
1138
1149
|
link: string;
|
|
1139
1150
|
text: {
|
|
1140
1151
|
en: string;
|
|
@@ -1143,9 +1154,9 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1143
1154
|
fa?: string | undefined;
|
|
1144
1155
|
fr?: string | undefined;
|
|
1145
1156
|
};
|
|
1146
|
-
svgIconKey: string;
|
|
1147
1157
|
}, {
|
|
1148
1158
|
type: "external" | "subscriptionLink";
|
|
1159
|
+
svgIconKey: string;
|
|
1149
1160
|
link: string;
|
|
1150
1161
|
text: {
|
|
1151
1162
|
en: string;
|
|
@@ -1154,7 +1165,6 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1154
1165
|
fa?: string | undefined;
|
|
1155
1166
|
fr?: string | undefined;
|
|
1156
1167
|
};
|
|
1157
|
-
svgIconKey: string;
|
|
1158
1168
|
}>, "many">;
|
|
1159
1169
|
}, "strip", z.ZodTypeAny, {
|
|
1160
1170
|
svgIconKey: string;
|
|
@@ -1175,6 +1185,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1175
1185
|
};
|
|
1176
1186
|
buttons: {
|
|
1177
1187
|
type: "external" | "subscriptionLink";
|
|
1188
|
+
svgIconKey: string;
|
|
1178
1189
|
link: string;
|
|
1179
1190
|
text: {
|
|
1180
1191
|
en: string;
|
|
@@ -1183,7 +1194,6 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1183
1194
|
fa?: string | undefined;
|
|
1184
1195
|
fr?: string | undefined;
|
|
1185
1196
|
};
|
|
1186
|
-
svgIconKey: string;
|
|
1187
1197
|
}[];
|
|
1188
1198
|
}, {
|
|
1189
1199
|
svgIconKey: string;
|
|
@@ -1204,6 +1214,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1204
1214
|
};
|
|
1205
1215
|
buttons: {
|
|
1206
1216
|
type: "external" | "subscriptionLink";
|
|
1217
|
+
svgIconKey: string;
|
|
1207
1218
|
link: string;
|
|
1208
1219
|
text: {
|
|
1209
1220
|
en: string;
|
|
@@ -1212,7 +1223,6 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1212
1223
|
fa?: string | undefined;
|
|
1213
1224
|
fr?: string | undefined;
|
|
1214
1225
|
};
|
|
1215
|
-
svgIconKey: string;
|
|
1216
1226
|
}[];
|
|
1217
1227
|
}>, "many">;
|
|
1218
1228
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1237,6 +1247,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1237
1247
|
};
|
|
1238
1248
|
buttons: {
|
|
1239
1249
|
type: "external" | "subscriptionLink";
|
|
1250
|
+
svgIconKey: string;
|
|
1240
1251
|
link: string;
|
|
1241
1252
|
text: {
|
|
1242
1253
|
en: string;
|
|
@@ -1245,7 +1256,6 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1245
1256
|
fa?: string | undefined;
|
|
1246
1257
|
fr?: string | undefined;
|
|
1247
1258
|
};
|
|
1248
|
-
svgIconKey: string;
|
|
1249
1259
|
}[];
|
|
1250
1260
|
}[];
|
|
1251
1261
|
}, {
|
|
@@ -1270,6 +1280,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1270
1280
|
};
|
|
1271
1281
|
buttons: {
|
|
1272
1282
|
type: "external" | "subscriptionLink";
|
|
1283
|
+
svgIconKey: string;
|
|
1273
1284
|
link: string;
|
|
1274
1285
|
text: {
|
|
1275
1286
|
en: string;
|
|
@@ -1278,7 +1289,6 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1278
1289
|
fa?: string | undefined;
|
|
1279
1290
|
fr?: string | undefined;
|
|
1280
1291
|
};
|
|
1281
|
-
svgIconKey: string;
|
|
1282
1292
|
}[];
|
|
1283
1293
|
}[];
|
|
1284
1294
|
}>, "many">;
|
|
@@ -1313,6 +1323,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1313
1323
|
};
|
|
1314
1324
|
buttons: {
|
|
1315
1325
|
type: "external" | "subscriptionLink";
|
|
1326
|
+
svgIconKey: string;
|
|
1316
1327
|
link: string;
|
|
1317
1328
|
text: {
|
|
1318
1329
|
en: string;
|
|
@@ -1321,7 +1332,6 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1321
1332
|
fa?: string | undefined;
|
|
1322
1333
|
fr?: string | undefined;
|
|
1323
1334
|
};
|
|
1324
|
-
svgIconKey: string;
|
|
1325
1335
|
}[];
|
|
1326
1336
|
}[];
|
|
1327
1337
|
}[];
|
|
@@ -1356,6 +1366,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1356
1366
|
};
|
|
1357
1367
|
buttons: {
|
|
1358
1368
|
type: "external" | "subscriptionLink";
|
|
1369
|
+
svgIconKey: string;
|
|
1359
1370
|
link: string;
|
|
1360
1371
|
text: {
|
|
1361
1372
|
en: string;
|
|
@@ -1364,7 +1375,6 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1364
1375
|
fa?: string | undefined;
|
|
1365
1376
|
fr?: string | undefined;
|
|
1366
1377
|
};
|
|
1367
|
-
svgIconKey: string;
|
|
1368
1378
|
}[];
|
|
1369
1379
|
}[];
|
|
1370
1380
|
}[];
|
|
@@ -1401,6 +1411,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1401
1411
|
};
|
|
1402
1412
|
buttons: {
|
|
1403
1413
|
type: "external" | "subscriptionLink";
|
|
1414
|
+
svgIconKey: string;
|
|
1404
1415
|
link: string;
|
|
1405
1416
|
text: {
|
|
1406
1417
|
en: string;
|
|
@@ -1409,7 +1420,6 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1409
1420
|
fa?: string | undefined;
|
|
1410
1421
|
fr?: string | undefined;
|
|
1411
1422
|
};
|
|
1412
|
-
svgIconKey: string;
|
|
1413
1423
|
}[];
|
|
1414
1424
|
}[];
|
|
1415
1425
|
}[];
|
|
@@ -1423,9 +1433,10 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1423
1433
|
};
|
|
1424
1434
|
uiConfig: {
|
|
1425
1435
|
subscriptionInfo: {
|
|
1426
|
-
block: "collapsed" | "expanded";
|
|
1436
|
+
block: "collapsed" | "expanded" | "cards" | "hidden";
|
|
1427
1437
|
};
|
|
1428
1438
|
installationGuides: {
|
|
1439
|
+
block: "cards" | "accordion" | "minimal" | "timeline";
|
|
1429
1440
|
headerText: {
|
|
1430
1441
|
en: string;
|
|
1431
1442
|
ru?: string | undefined;
|
|
@@ -1477,6 +1488,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1477
1488
|
};
|
|
1478
1489
|
buttons: {
|
|
1479
1490
|
type: "external" | "subscriptionLink";
|
|
1491
|
+
svgIconKey: string;
|
|
1480
1492
|
link: string;
|
|
1481
1493
|
text: {
|
|
1482
1494
|
en: string;
|
|
@@ -1485,7 +1497,6 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1485
1497
|
fa?: string | undefined;
|
|
1486
1498
|
fr?: string | undefined;
|
|
1487
1499
|
};
|
|
1488
|
-
svgIconKey: string;
|
|
1489
1500
|
}[];
|
|
1490
1501
|
}[];
|
|
1491
1502
|
}[];
|
|
@@ -1499,7 +1510,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1499
1510
|
};
|
|
1500
1511
|
uiConfig: {
|
|
1501
1512
|
subscriptionInfo: {
|
|
1502
|
-
block: "collapsed" | "expanded";
|
|
1513
|
+
block: "collapsed" | "expanded" | "cards" | "hidden";
|
|
1503
1514
|
};
|
|
1504
1515
|
installationGuides: {
|
|
1505
1516
|
headerText: {
|
|
@@ -1509,6 +1520,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1509
1520
|
fa?: string | undefined;
|
|
1510
1521
|
fr?: string | undefined;
|
|
1511
1522
|
};
|
|
1523
|
+
block?: "cards" | "accordion" | "minimal" | "timeline" | undefined;
|
|
1512
1524
|
};
|
|
1513
1525
|
connectionKeys: {
|
|
1514
1526
|
headerText: {
|
|
@@ -1553,6 +1565,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1553
1565
|
};
|
|
1554
1566
|
buttons: {
|
|
1555
1567
|
type: "external" | "subscriptionLink";
|
|
1568
|
+
svgIconKey: string;
|
|
1556
1569
|
link: string;
|
|
1557
1570
|
text: {
|
|
1558
1571
|
en: string;
|
|
@@ -1561,7 +1574,6 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1561
1574
|
fa?: string | undefined;
|
|
1562
1575
|
fr?: string | undefined;
|
|
1563
1576
|
};
|
|
1564
|
-
svgIconKey: string;
|
|
1565
1577
|
}[];
|
|
1566
1578
|
}[];
|
|
1567
1579
|
}[];
|
|
@@ -1575,9 +1587,10 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1575
1587
|
};
|
|
1576
1588
|
uiConfig: {
|
|
1577
1589
|
subscriptionInfo: {
|
|
1578
|
-
block: "collapsed" | "expanded";
|
|
1590
|
+
block: "collapsed" | "expanded" | "cards" | "hidden";
|
|
1579
1591
|
};
|
|
1580
1592
|
installationGuides: {
|
|
1593
|
+
block: "cards" | "accordion" | "minimal" | "timeline";
|
|
1581
1594
|
headerText: {
|
|
1582
1595
|
en: string;
|
|
1583
1596
|
ru?: string | undefined;
|
|
@@ -1629,6 +1642,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1629
1642
|
};
|
|
1630
1643
|
buttons: {
|
|
1631
1644
|
type: "external" | "subscriptionLink";
|
|
1645
|
+
svgIconKey: string;
|
|
1632
1646
|
link: string;
|
|
1633
1647
|
text: {
|
|
1634
1648
|
en: string;
|
|
@@ -1637,7 +1651,6 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1637
1651
|
fa?: string | undefined;
|
|
1638
1652
|
fr?: string | undefined;
|
|
1639
1653
|
};
|
|
1640
|
-
svgIconKey: string;
|
|
1641
1654
|
}[];
|
|
1642
1655
|
}[];
|
|
1643
1656
|
}[];
|
|
@@ -1651,7 +1664,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1651
1664
|
};
|
|
1652
1665
|
uiConfig: {
|
|
1653
1666
|
subscriptionInfo: {
|
|
1654
|
-
block: "collapsed" | "expanded";
|
|
1667
|
+
block: "collapsed" | "expanded" | "cards" | "hidden";
|
|
1655
1668
|
};
|
|
1656
1669
|
installationGuides: {
|
|
1657
1670
|
headerText: {
|
|
@@ -1661,6 +1674,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1661
1674
|
fa?: string | undefined;
|
|
1662
1675
|
fr?: string | undefined;
|
|
1663
1676
|
};
|
|
1677
|
+
block?: "cards" | "accordion" | "minimal" | "timeline" | undefined;
|
|
1664
1678
|
};
|
|
1665
1679
|
connectionKeys: {
|
|
1666
1680
|
headerText: {
|
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;AAYxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;EAM9B,CAAC;AAEH,QAAA,MAAM,gBAAgB,uCAGrB,CAAC;AAEF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKhB,CAAC;AAEH,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8Bf,CAAC;AAEH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIrB,CAAC;AAEH,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIlB,CAAC;AAEH,QAAA,MAAM,sBAAsB;;;;;;;;;;;;EAI1B,CAAC;AAEH,QAAA,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"subscription-page-config.schema.d.ts","sourceRoot":"","sources":["../../../../models/subscription-page-config/subscription-page-config.schema.ts"],"names":[],"mappings":"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"}
|
|
@@ -61,9 +61,10 @@ const BrandingSettingsSchema = zod_1.z.object({
|
|
|
61
61
|
});
|
|
62
62
|
const UiConfigSchema = zod_1.z.object({
|
|
63
63
|
subscriptionInfo: zod_1.z.object({
|
|
64
|
-
block: zod_1.z.enum(['collapsed', 'expanded']),
|
|
64
|
+
block: zod_1.z.enum(['collapsed', 'expanded', 'cards', 'hidden']),
|
|
65
65
|
}),
|
|
66
66
|
installationGuides: zod_1.z.object({
|
|
67
|
+
block: zod_1.z.enum(['cards', 'accordion', 'minimal', 'timeline']).default('cards'),
|
|
67
68
|
headerText: exports.LocalizedTextSchema,
|
|
68
69
|
}),
|
|
69
70
|
connectionKeys: zod_1.z.object({
|
|
@@ -36,11 +36,11 @@ const validateSvgReferences = (data, ctx) => {
|
|
|
36
36
|
if (obj === null || typeof obj !== 'object')
|
|
37
37
|
return;
|
|
38
38
|
for (const [key, value] of Object.entries(obj)) {
|
|
39
|
-
if (key === '
|
|
39
|
+
if (key === 'svgIconKey' && typeof value === 'string') {
|
|
40
40
|
if (!validKeys.has(value)) {
|
|
41
41
|
ctx.addIssue({
|
|
42
42
|
code: zod_1.z.ZodIssueCode.custom,
|
|
43
|
-
message: `Unknown
|
|
43
|
+
message: `Unknown svgIconKey '${value}' at ${path}.${key}. Available: ${[...validKeys].join(', ')}`,
|
|
44
44
|
path: [path, key],
|
|
45
45
|
});
|
|
46
46
|
}
|
|
@@ -61,9 +61,10 @@ const BrandingSettingsSchema = zod_1.z.object({
|
|
|
61
61
|
});
|
|
62
62
|
const UiConfigSchema = zod_1.z.object({
|
|
63
63
|
subscriptionInfo: zod_1.z.object({
|
|
64
|
-
block: zod_1.z.enum(['collapsed', 'expanded']),
|
|
64
|
+
block: zod_1.z.enum(['collapsed', 'expanded', 'cards', 'hidden']),
|
|
65
65
|
}),
|
|
66
66
|
installationGuides: zod_1.z.object({
|
|
67
|
+
block: zod_1.z.enum(['cards', 'accordion', 'minimal', 'timeline']).default('cards'),
|
|
67
68
|
headerText: exports.LocalizedTextSchema,
|
|
68
69
|
}),
|
|
69
70
|
connectionKeys: zod_1.z.object({
|
package/build/frontend/models/subscription-page-config/subscription-page-config.validator.js
CHANGED
|
@@ -36,11 +36,11 @@ const validateSvgReferences = (data, ctx) => {
|
|
|
36
36
|
if (obj === null || typeof obj !== 'object')
|
|
37
37
|
return;
|
|
38
38
|
for (const [key, value] of Object.entries(obj)) {
|
|
39
|
-
if (key === '
|
|
39
|
+
if (key === 'svgIconKey' && typeof value === 'string') {
|
|
40
40
|
if (!validKeys.has(value)) {
|
|
41
41
|
ctx.addIssue({
|
|
42
42
|
code: zod_1.z.ZodIssueCode.custom,
|
|
43
|
-
message: `Unknown
|
|
43
|
+
message: `Unknown svgIconKey '${value}' at ${path}.${key}. Available: ${[...validKeys].join(', ')}`,
|
|
44
44
|
path: [path, key],
|
|
45
45
|
});
|
|
46
46
|
}
|