@remnawave/subscription-page-types 0.1.1 → 0.1.3
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/constants/button-types.constant.d.ts +1 -0
- package/build/backend/constants/button-types.constant.d.ts.map +1 -1
- package/build/backend/constants/button-types.constant.js +5 -1
- package/build/backend/constants/installation-guide-blocks.constant.d.ts +1 -0
- package/build/backend/constants/installation-guide-blocks.constant.d.ts.map +1 -1
- package/build/backend/constants/installation-guide-blocks.constant.js +5 -1
- package/build/backend/constants/subscription-info-blocks.constant.d.ts +1 -0
- package/build/backend/constants/subscription-info-blocks.constant.d.ts.map +1 -1
- package/build/backend/constants/subscription-info-blocks.constant.js +5 -1
- package/build/backend/models/subscription-page-config/subscription-page-config.schema.d.ts +17 -0
- 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 +1 -0
- package/build/frontend/constants/button-types.constant.js +5 -1
- package/build/frontend/constants/installation-guide-blocks.constant.js +5 -1
- package/build/frontend/constants/subscription-info-blocks.constant.js +5 -1
- package/build/frontend/models/subscription-page-config/subscription-page-config.schema.js +1 -0
- package/package.json +1 -1
|
@@ -4,4 +4,5 @@ export declare const BUTTON_TYPES: {
|
|
|
4
4
|
};
|
|
5
5
|
export type TButtonType = (typeof BUTTON_TYPES)[keyof typeof BUTTON_TYPES];
|
|
6
6
|
export declare const BUTTON_TYPES_VALUES: ("external" | "subscriptionLink")[];
|
|
7
|
+
export declare const isButtonType: (value: string) => value is TButtonType;
|
|
7
8
|
//# sourceMappingURL=button-types.constant.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-types.constant.d.ts","sourceRoot":"","sources":["../../../constants/button-types.constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE3E,eAAO,MAAM,mBAAmB,qCAA8B,CAAC"}
|
|
1
|
+
{"version":3,"file":"button-types.constant.d.ts","sourceRoot":"","sources":["../../../constants/button-types.constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE3E,eAAO,MAAM,mBAAmB,qCAA8B,CAAC;AAE/D,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,KAAG,KAAK,IAAI,WAErD,CAAC"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BUTTON_TYPES_VALUES = exports.BUTTON_TYPES = void 0;
|
|
3
|
+
exports.isButtonType = exports.BUTTON_TYPES_VALUES = exports.BUTTON_TYPES = void 0;
|
|
4
4
|
exports.BUTTON_TYPES = {
|
|
5
5
|
EXTERNAL: 'external',
|
|
6
6
|
SUBSCRIPTION_LINK: 'subscriptionLink',
|
|
7
7
|
};
|
|
8
8
|
exports.BUTTON_TYPES_VALUES = Object.values(exports.BUTTON_TYPES);
|
|
9
|
+
const isButtonType = (value) => {
|
|
10
|
+
return exports.BUTTON_TYPES_VALUES.includes(value);
|
|
11
|
+
};
|
|
12
|
+
exports.isButtonType = isButtonType;
|
|
@@ -6,4 +6,5 @@ export declare const INSTALLATION_GUIDE_BLOCKS_VARIANTS: {
|
|
|
6
6
|
};
|
|
7
7
|
export type TInstallationGuideBlockVariant = (typeof INSTALLATION_GUIDE_BLOCKS_VARIANTS)[keyof typeof INSTALLATION_GUIDE_BLOCKS_VARIANTS];
|
|
8
8
|
export declare const INSTALLATION_GUIDE_BLOCKS_VARIANTS_VALUES: ("cards" | "accordion" | "minimal" | "timeline")[];
|
|
9
|
+
export declare const isInstallationGuideBlockVariant: (value: string) => value is TInstallationGuideBlockVariant;
|
|
9
10
|
//# sourceMappingURL=installation-guide-blocks.constant.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installation-guide-blocks.constant.d.ts","sourceRoot":"","sources":["../../../constants/installation-guide-blocks.constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kCAAkC;;;;;CAKrC,CAAC;AAEX,MAAM,MAAM,8BAA8B,GACtC,CAAC,OAAO,kCAAkC,CAAC,CAAC,MAAM,OAAO,kCAAkC,CAAC,CAAC;AAEjG,eAAO,MAAM,yCAAyC,oDAErD,CAAC"}
|
|
1
|
+
{"version":3,"file":"installation-guide-blocks.constant.d.ts","sourceRoot":"","sources":["../../../constants/installation-guide-blocks.constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kCAAkC;;;;;CAKrC,CAAC;AAEX,MAAM,MAAM,8BAA8B,GACtC,CAAC,OAAO,kCAAkC,CAAC,CAAC,MAAM,OAAO,kCAAkC,CAAC,CAAC;AAEjG,eAAO,MAAM,yCAAyC,oDAErD,CAAC;AAEF,eAAO,MAAM,+BAA+B,GACxC,OAAO,MAAM,KACd,KAAK,IAAI,8BAIX,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS_VALUES = exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS = void 0;
|
|
3
|
+
exports.isInstallationGuideBlockVariant = exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS_VALUES = exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS = void 0;
|
|
4
4
|
exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS = {
|
|
5
5
|
CARDS: 'cards',
|
|
6
6
|
ACCORDION: 'accordion',
|
|
@@ -8,3 +8,7 @@ exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS = {
|
|
|
8
8
|
TIMELINE: 'timeline',
|
|
9
9
|
};
|
|
10
10
|
exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS_VALUES = Object.values(exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS);
|
|
11
|
+
const isInstallationGuideBlockVariant = (value) => {
|
|
12
|
+
return exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS_VALUES.includes(value);
|
|
13
|
+
};
|
|
14
|
+
exports.isInstallationGuideBlockVariant = isInstallationGuideBlockVariant;
|
|
@@ -6,4 +6,5 @@ export declare const SUBSCRIPTION_INFO_BLOCK_VARIANTS: {
|
|
|
6
6
|
};
|
|
7
7
|
export type TSubscriptionInfoBlockVariant = (typeof SUBSCRIPTION_INFO_BLOCK_VARIANTS)[keyof typeof SUBSCRIPTION_INFO_BLOCK_VARIANTS];
|
|
8
8
|
export declare const SUBSCRIPTION_INFO_BLOCK_VARIANTS_VALUES: ("cards" | "collapsed" | "expanded" | "hidden")[];
|
|
9
|
+
export declare const isSubscriptionInfoBlockVariant: (value: string) => value is TSubscriptionInfoBlockVariant;
|
|
9
10
|
//# sourceMappingURL=subscription-info-blocks.constant.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription-info-blocks.constant.d.ts","sourceRoot":"","sources":["../../../constants/subscription-info-blocks.constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC;;;;;CAKnC,CAAC;AAEX,MAAM,MAAM,6BAA6B,GACrC,CAAC,OAAO,gCAAgC,CAAC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC;AAE7F,eAAO,MAAM,uCAAuC,mDAEnD,CAAC"}
|
|
1
|
+
{"version":3,"file":"subscription-info-blocks.constant.d.ts","sourceRoot":"","sources":["../../../constants/subscription-info-blocks.constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC;;;;;CAKnC,CAAC;AAEX,MAAM,MAAM,6BAA6B,GACrC,CAAC,OAAO,gCAAgC,CAAC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC;AAE7F,eAAO,MAAM,uCAAuC,mDAEnD,CAAC;AAEF,eAAO,MAAM,8BAA8B,GACvC,OAAO,MAAM,KACd,KAAK,IAAI,6BAEX,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS_VALUES = exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS = void 0;
|
|
3
|
+
exports.isSubscriptionInfoBlockVariant = exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS_VALUES = exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS = void 0;
|
|
4
4
|
exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS = {
|
|
5
5
|
COLLAPSED: 'collapsed',
|
|
6
6
|
EXPANDED: 'expanded',
|
|
@@ -8,3 +8,7 @@ exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS = {
|
|
|
8
8
|
HIDDEN: 'hidden',
|
|
9
9
|
};
|
|
10
10
|
exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS_VALUES = Object.values(exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS);
|
|
11
|
+
const isSubscriptionInfoBlockVariant = (value) => {
|
|
12
|
+
return exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS_VALUES.includes(value);
|
|
13
|
+
};
|
|
14
|
+
exports.isSubscriptionInfoBlockVariant = isSubscriptionInfoBlockVariant;
|
|
@@ -219,6 +219,7 @@ declare const BlockSchema: z.ZodObject<{
|
|
|
219
219
|
}>;
|
|
220
220
|
declare const PlatformAppSchema: z.ZodObject<{
|
|
221
221
|
name: z.ZodString;
|
|
222
|
+
svgIconKey: z.ZodOptional<z.ZodString>;
|
|
222
223
|
featured: z.ZodBoolean;
|
|
223
224
|
blocks: z.ZodArray<z.ZodObject<{
|
|
224
225
|
svgIconKey: z.ZodString;
|
|
@@ -402,6 +403,7 @@ declare const PlatformAppSchema: z.ZodObject<{
|
|
|
402
403
|
};
|
|
403
404
|
}[];
|
|
404
405
|
}[];
|
|
406
|
+
svgIconKey?: string | undefined;
|
|
405
407
|
}, {
|
|
406
408
|
name: string;
|
|
407
409
|
featured: boolean;
|
|
@@ -435,6 +437,7 @@ declare const PlatformAppSchema: z.ZodObject<{
|
|
|
435
437
|
};
|
|
436
438
|
}[];
|
|
437
439
|
}[];
|
|
440
|
+
svgIconKey?: string | undefined;
|
|
438
441
|
}>;
|
|
439
442
|
declare const PlatformSchema: z.ZodObject<{
|
|
440
443
|
displayName: z.ZodObject<{
|
|
@@ -459,6 +462,7 @@ declare const PlatformSchema: z.ZodObject<{
|
|
|
459
462
|
svgIconKey: z.ZodString;
|
|
460
463
|
apps: z.ZodArray<z.ZodObject<{
|
|
461
464
|
name: z.ZodString;
|
|
465
|
+
svgIconKey: z.ZodOptional<z.ZodString>;
|
|
462
466
|
featured: z.ZodBoolean;
|
|
463
467
|
blocks: z.ZodArray<z.ZodObject<{
|
|
464
468
|
svgIconKey: z.ZodString;
|
|
@@ -642,6 +646,7 @@ declare const PlatformSchema: z.ZodObject<{
|
|
|
642
646
|
};
|
|
643
647
|
}[];
|
|
644
648
|
}[];
|
|
649
|
+
svgIconKey?: string | undefined;
|
|
645
650
|
}, {
|
|
646
651
|
name: string;
|
|
647
652
|
featured: boolean;
|
|
@@ -675,6 +680,7 @@ declare const PlatformSchema: z.ZodObject<{
|
|
|
675
680
|
};
|
|
676
681
|
}[];
|
|
677
682
|
}[];
|
|
683
|
+
svgIconKey?: string | undefined;
|
|
678
684
|
}>, "many">;
|
|
679
685
|
}, "strip", z.ZodTypeAny, {
|
|
680
686
|
svgIconKey: string;
|
|
@@ -718,6 +724,7 @@ declare const PlatformSchema: z.ZodObject<{
|
|
|
718
724
|
};
|
|
719
725
|
}[];
|
|
720
726
|
}[];
|
|
727
|
+
svgIconKey?: string | undefined;
|
|
721
728
|
}[];
|
|
722
729
|
}, {
|
|
723
730
|
svgIconKey: string;
|
|
@@ -761,6 +768,7 @@ declare const PlatformSchema: z.ZodObject<{
|
|
|
761
768
|
};
|
|
762
769
|
}[];
|
|
763
770
|
}[];
|
|
771
|
+
svgIconKey?: string | undefined;
|
|
764
772
|
}[];
|
|
765
773
|
}>;
|
|
766
774
|
declare const BrandingSettingsSchema: z.ZodObject<{
|
|
@@ -1110,6 +1118,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1110
1118
|
svgIconKey: z.ZodString;
|
|
1111
1119
|
apps: z.ZodArray<z.ZodObject<{
|
|
1112
1120
|
name: z.ZodString;
|
|
1121
|
+
svgIconKey: z.ZodOptional<z.ZodString>;
|
|
1113
1122
|
featured: z.ZodBoolean;
|
|
1114
1123
|
blocks: z.ZodArray<z.ZodObject<{
|
|
1115
1124
|
svgIconKey: z.ZodString;
|
|
@@ -1293,6 +1302,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1293
1302
|
};
|
|
1294
1303
|
}[];
|
|
1295
1304
|
}[];
|
|
1305
|
+
svgIconKey?: string | undefined;
|
|
1296
1306
|
}, {
|
|
1297
1307
|
name: string;
|
|
1298
1308
|
featured: boolean;
|
|
@@ -1326,6 +1336,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1326
1336
|
};
|
|
1327
1337
|
}[];
|
|
1328
1338
|
}[];
|
|
1339
|
+
svgIconKey?: string | undefined;
|
|
1329
1340
|
}>, "many">;
|
|
1330
1341
|
}, "strip", z.ZodTypeAny, {
|
|
1331
1342
|
svgIconKey: string;
|
|
@@ -1369,6 +1380,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1369
1380
|
};
|
|
1370
1381
|
}[];
|
|
1371
1382
|
}[];
|
|
1383
|
+
svgIconKey?: string | undefined;
|
|
1372
1384
|
}[];
|
|
1373
1385
|
}, {
|
|
1374
1386
|
svgIconKey: string;
|
|
@@ -1412,6 +1424,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1412
1424
|
};
|
|
1413
1425
|
}[];
|
|
1414
1426
|
}[];
|
|
1427
|
+
svgIconKey?: string | undefined;
|
|
1415
1428
|
}[];
|
|
1416
1429
|
}>>;
|
|
1417
1430
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1457,6 +1470,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1457
1470
|
};
|
|
1458
1471
|
}[];
|
|
1459
1472
|
}[];
|
|
1473
|
+
svgIconKey?: string | undefined;
|
|
1460
1474
|
}[];
|
|
1461
1475
|
}>>;
|
|
1462
1476
|
version: "1";
|
|
@@ -1534,6 +1548,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1534
1548
|
};
|
|
1535
1549
|
}[];
|
|
1536
1550
|
}[];
|
|
1551
|
+
svgIconKey?: string | undefined;
|
|
1537
1552
|
}[];
|
|
1538
1553
|
}>>;
|
|
1539
1554
|
version: "1";
|
|
@@ -1611,6 +1626,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1611
1626
|
};
|
|
1612
1627
|
}[];
|
|
1613
1628
|
}[];
|
|
1629
|
+
svgIconKey?: string | undefined;
|
|
1614
1630
|
}[];
|
|
1615
1631
|
}>>;
|
|
1616
1632
|
version: "1";
|
|
@@ -1688,6 +1704,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1688
1704
|
};
|
|
1689
1705
|
}[];
|
|
1690
1706
|
}[];
|
|
1707
|
+
svgIconKey?: string | undefined;
|
|
1691
1708
|
}[];
|
|
1692
1709
|
}>>;
|
|
1693
1710
|
version: "1";
|
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;AAexB,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
|
|
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;AAexB,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;;;;;;;;;;;;;;;;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AM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AACvE,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AACzE,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACjF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AACvE,MAAM,MAAM,wBAAwB,GAC9B,0BAA0B,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAAC,GACvD,IAAI,CAAC"}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BUTTON_TYPES_VALUES = exports.BUTTON_TYPES = void 0;
|
|
3
|
+
exports.isButtonType = exports.BUTTON_TYPES_VALUES = exports.BUTTON_TYPES = void 0;
|
|
4
4
|
exports.BUTTON_TYPES = {
|
|
5
5
|
EXTERNAL: 'external',
|
|
6
6
|
SUBSCRIPTION_LINK: 'subscriptionLink',
|
|
7
7
|
};
|
|
8
8
|
exports.BUTTON_TYPES_VALUES = Object.values(exports.BUTTON_TYPES);
|
|
9
|
+
const isButtonType = (value) => {
|
|
10
|
+
return exports.BUTTON_TYPES_VALUES.includes(value);
|
|
11
|
+
};
|
|
12
|
+
exports.isButtonType = isButtonType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS_VALUES = exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS = void 0;
|
|
3
|
+
exports.isInstallationGuideBlockVariant = exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS_VALUES = exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS = void 0;
|
|
4
4
|
exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS = {
|
|
5
5
|
CARDS: 'cards',
|
|
6
6
|
ACCORDION: 'accordion',
|
|
@@ -8,3 +8,7 @@ exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS = {
|
|
|
8
8
|
TIMELINE: 'timeline',
|
|
9
9
|
};
|
|
10
10
|
exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS_VALUES = Object.values(exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS);
|
|
11
|
+
const isInstallationGuideBlockVariant = (value) => {
|
|
12
|
+
return exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS_VALUES.includes(value);
|
|
13
|
+
};
|
|
14
|
+
exports.isInstallationGuideBlockVariant = isInstallationGuideBlockVariant;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS_VALUES = exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS = void 0;
|
|
3
|
+
exports.isSubscriptionInfoBlockVariant = exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS_VALUES = exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS = void 0;
|
|
4
4
|
exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS = {
|
|
5
5
|
COLLAPSED: 'collapsed',
|
|
6
6
|
EXPANDED: 'expanded',
|
|
@@ -8,3 +8,7 @@ exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS = {
|
|
|
8
8
|
HIDDEN: 'hidden',
|
|
9
9
|
};
|
|
10
10
|
exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS_VALUES = Object.values(exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS);
|
|
11
|
+
const isSubscriptionInfoBlockVariant = (value) => {
|
|
12
|
+
return exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS_VALUES.includes(value);
|
|
13
|
+
};
|
|
14
|
+
exports.isSubscriptionInfoBlockVariant = isSubscriptionInfoBlockVariant;
|