@remnawave/subscription-page-types 0.2.2 → 0.2.4
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/base-translations.constant.d.ts +4 -0
- package/build/backend/constants/base-translations.constant.d.ts.map +1 -0
- package/build/backend/constants/base-translations.constant.js +25 -0
- package/build/backend/constants/index.d.ts +4 -3
- package/build/backend/constants/index.d.ts.map +1 -1
- package/build/backend/constants/index.js +4 -3
- package/build/backend/constants/language-codes.constant.d.ts +5 -6
- package/build/backend/constants/language-codes.constant.d.ts.map +1 -1
- package/build/backend/constants/language-codes.constant.js +1 -1
- package/build/backend/constants/{subscription-page-config/subscription-page-config.contants.d.ts → platform-types.constant.d.ts} +3 -1
- package/build/backend/constants/platform-types.constant.d.ts.map +1 -0
- package/build/backend/constants/template-keys.constant.d.ts +3 -0
- package/build/backend/constants/template-keys.constant.d.ts.map +1 -0
- package/build/backend/constants/ui-blocks-variants.constant.d.ts +19 -0
- package/build/backend/constants/ui-blocks-variants.constant.d.ts.map +1 -0
- package/build/backend/constants/ui-blocks-variants.constant.js +25 -0
- package/build/backend/models/index.d.ts +2 -1
- package/build/backend/models/index.d.ts.map +1 -1
- package/build/backend/models/index.js +2 -1
- package/build/backend/models/{subscription-page-config/subscription-page-config.schema.d.ts → subscription-page-config.schema.d.ts} +70 -162
- package/build/backend/models/subscription-page-config.schema.d.ts.map +1 -0
- package/build/backend/models/{subscription-page-config/subscription-page-config.schema.js → subscription-page-config.schema.js} +28 -56
- package/build/backend/models/{subscription-page-config/subscription-page-config.validator.d.ts → subscription-page-config.validator.d.ts} +1 -1
- package/build/backend/models/subscription-page-config.validator.d.ts.map +1 -0
- package/build/backend/models/{subscription-page-config/subscription-page-config.validator.js → subscription-page-config.validator.js} +1 -2
- package/build/frontend/constants/base-translations.constant.js +25 -0
- package/build/frontend/constants/index.js +4 -3
- package/build/frontend/constants/language-codes.constant.js +1 -1
- package/build/frontend/constants/ui-blocks-variants.constant.js +25 -0
- package/build/frontend/models/index.js +2 -1
- package/build/frontend/models/{subscription-page-config/subscription-page-config.schema.js → subscription-page-config.schema.js} +28 -56
- package/build/frontend/models/{subscription-page-config/subscription-page-config.validator.js → subscription-page-config.validator.js} +1 -2
- package/package.json +1 -1
- package/build/backend/constants/installation-guide-blocks.constant.d.ts +0 -10
- package/build/backend/constants/installation-guide-blocks.constant.d.ts.map +0 -1
- package/build/backend/constants/installation-guide-blocks.constant.js +0 -14
- package/build/backend/constants/subscription-info-blocks.constant.d.ts +0 -10
- package/build/backend/constants/subscription-info-blocks.constant.d.ts.map +0 -1
- package/build/backend/constants/subscription-info-blocks.constant.js +0 -14
- package/build/backend/constants/subscription-page-config/index.d.ts +0 -3
- package/build/backend/constants/subscription-page-config/index.d.ts.map +0 -1
- package/build/backend/constants/subscription-page-config/index.js +0 -18
- package/build/backend/constants/subscription-page-config/subscription-page-config.contants.d.ts.map +0 -1
- package/build/backend/constants/subscription-page-config/subscription-page-template-keys.contant.d.ts +0 -3
- package/build/backend/constants/subscription-page-config/subscription-page-template-keys.contant.d.ts.map +0 -1
- package/build/backend/models/subscription-page-config/index.d.ts +0 -2
- package/build/backend/models/subscription-page-config/index.d.ts.map +0 -1
- package/build/backend/models/subscription-page-config/index.js +0 -17
- package/build/backend/models/subscription-page-config/subscription-page-config.schema.d.ts.map +0 -1
- package/build/backend/models/subscription-page-config/subscription-page-config.validator.d.ts.map +0 -1
- package/build/frontend/constants/installation-guide-blocks.constant.js +0 -14
- package/build/frontend/constants/subscription-info-blocks.constant.js +0 -14
- package/build/frontend/constants/subscription-page-config/index.js +0 -18
- package/build/frontend/models/subscription-page-config/index.js +0 -17
- /package/build/backend/constants/{subscription-page-config/subscription-page-config.contants.js → platform-types.constant.js} +0 -0
- /package/build/backend/constants/{subscription-page-config/subscription-page-template-keys.contant.js → template-keys.constant.js} +0 -0
- /package/build/frontend/constants/{subscription-page-config/subscription-page-config.contants.js → platform-types.constant.js} +0 -0
- /package/build/frontend/constants/{subscription-page-config/subscription-page-template-keys.contant.js → template-keys.constant.js} +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { TSubscriptionPageBaseTranslationKeys } from '../models';
|
|
2
|
+
export declare const BASE_TRANSLATION_LABELS: Record<TSubscriptionPageBaseTranslationKeys, string>;
|
|
3
|
+
export declare const BASE_TRANSLATION_KEYS: TSubscriptionPageBaseTranslationKeys[];
|
|
4
|
+
//# sourceMappingURL=base-translations.constant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-translations.constant.d.ts","sourceRoot":"","sources":["../../../constants/base-translations.constant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAE,MAAM,WAAW,CAAC;AAEjE,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,oCAAoC,EAAE,MAAM,CAoBxF,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,oCAAoC,EAE7B,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BASE_TRANSLATION_KEYS = exports.BASE_TRANSLATION_LABELS = void 0;
|
|
4
|
+
exports.BASE_TRANSLATION_LABELS = {
|
|
5
|
+
installationGuideHeader: 'Installation Guide Header',
|
|
6
|
+
connectionKeysHeader: 'Connection Keys Header',
|
|
7
|
+
linkCopied: 'Link Copied',
|
|
8
|
+
linkCopiedToClipboard: 'Link Copied to Clipboard',
|
|
9
|
+
getLink: 'Get Link',
|
|
10
|
+
scanQrCode: 'Scan QR Code',
|
|
11
|
+
scanQrCodeDescription: 'Scan QR Code Description',
|
|
12
|
+
copyLink: 'Copy Link',
|
|
13
|
+
name: 'Name',
|
|
14
|
+
status: 'Status',
|
|
15
|
+
active: 'Active',
|
|
16
|
+
inactive: 'Inactive',
|
|
17
|
+
expires: 'Expires',
|
|
18
|
+
bandwidth: 'Bandwidth',
|
|
19
|
+
scanToImport: 'Scan to Import',
|
|
20
|
+
expiresIn: 'Expires In',
|
|
21
|
+
expired: 'Expired',
|
|
22
|
+
unknown: 'Unknown',
|
|
23
|
+
indefinitely: 'Indefinitely',
|
|
24
|
+
};
|
|
25
|
+
exports.BASE_TRANSLATION_KEYS = Object.keys(exports.BASE_TRANSLATION_LABELS);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export * from './app-config.constant';
|
|
2
|
+
export * from './base-translations.constant';
|
|
2
3
|
export * from './button-types.constant';
|
|
3
|
-
export * from './installation-guide-blocks.constant';
|
|
4
4
|
export * from './language-codes.constant';
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
5
|
+
export * from './platform-types.constant';
|
|
6
|
+
export * from './template-keys.constant';
|
|
7
|
+
export * from './ui-blocks-variants.constant';
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC"}
|
|
@@ -15,8 +15,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./app-config.constant"), exports);
|
|
18
|
+
__exportStar(require("./base-translations.constant"), exports);
|
|
18
19
|
__exportStar(require("./button-types.constant"), exports);
|
|
19
|
-
__exportStar(require("./installation-guide-blocks.constant"), exports);
|
|
20
20
|
__exportStar(require("./language-codes.constant"), exports);
|
|
21
|
-
__exportStar(require("./
|
|
22
|
-
__exportStar(require("./
|
|
21
|
+
__exportStar(require("./platform-types.constant"), exports);
|
|
22
|
+
__exportStar(require("./template-keys.constant"), exports);
|
|
23
|
+
__exportStar(require("./ui-blocks-variants.constant"), exports);
|
|
@@ -19,6 +19,11 @@ declare const LANGUAGES_LIST: {
|
|
|
19
19
|
readonly nativeName: "Français";
|
|
20
20
|
readonly emoji: "🇫🇷";
|
|
21
21
|
};
|
|
22
|
+
readonly fa: {
|
|
23
|
+
readonly name: "Persian";
|
|
24
|
+
readonly nativeName: "فارسی";
|
|
25
|
+
readonly emoji: "🇮🇷";
|
|
26
|
+
};
|
|
22
27
|
readonly uz: {
|
|
23
28
|
readonly name: "Uzbek";
|
|
24
29
|
readonly nativeName: "Ўзбек";
|
|
@@ -29,11 +34,6 @@ declare const LANGUAGES_LIST: {
|
|
|
29
34
|
readonly nativeName: "Deutsch";
|
|
30
35
|
readonly emoji: "🇩🇪";
|
|
31
36
|
};
|
|
32
|
-
readonly fa: {
|
|
33
|
-
readonly name: "Persian";
|
|
34
|
-
readonly nativeName: "فارسی";
|
|
35
|
-
readonly emoji: "🇮🇷";
|
|
36
|
-
};
|
|
37
37
|
readonly hi: {
|
|
38
38
|
readonly name: "Hindi";
|
|
39
39
|
readonly nativeName: "हिन्दी";
|
|
@@ -100,7 +100,6 @@ declare const LANGUAGES_LIST: {
|
|
|
100
100
|
readonly emoji: "🇹🇭";
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
|
-
export type TSubscriptionPageLanguageCodes = (keyof typeof LANGUAGES_LIST)[];
|
|
104
103
|
export type TSubscriptionPageLanguageCode = keyof typeof LANGUAGES_LIST;
|
|
105
104
|
export declare const LANGUAGE_CODES: [TSubscriptionPageLanguageCode, ...TSubscriptionPageLanguageCode[]];
|
|
106
105
|
export interface ILanguageInfo {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"language-codes.constant.d.ts","sourceRoot":"","sources":["../../../constants/language-codes.constant.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBV,CAAC;AAEX,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"language-codes.constant.d.ts","sourceRoot":"","sources":["../../../constants/language-codes.constant.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBV,CAAC;AAEX,MAAM,MAAM,6BAA6B,GAAG,MAAM,OAAO,cAAc,CAAC;AAExE,eAAO,MAAM,cAAc,EAAkC,CACzD,6BAA6B,EAC7B,GAAG,6BAA6B,EAAE,CACrC,CAAC;AAEF,MAAM,WAAW,aAAa;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,KAAG,aAAa,GAAG,IAK9D,CAAC;AAEF;;;;GAIG;AAEH,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,KAAG,MAK9C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAAI,MAAM,MAAM,KAAG,MAKpD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,MAAM,MAAM,KAAG,IAAI,IAAI,6BAErD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,QAAO,KAAK,CACtC;IAAE,IAAI,EAAE,6BAA6B,CAAA;CAAE,GAAG,aAAa,CAQ1D,CAAC"}
|
|
@@ -6,9 +6,9 @@ const LANGUAGES_LIST = {
|
|
|
6
6
|
ru: { name: 'Russian', nativeName: 'Русский', emoji: '🇷🇺' },
|
|
7
7
|
zh: { name: 'Chinese', nativeName: '中文', emoji: '🇨🇳' },
|
|
8
8
|
fr: { name: 'French', nativeName: 'Français', emoji: '🇫🇷' },
|
|
9
|
+
fa: { name: 'Persian', nativeName: 'فارسی', emoji: '🇮🇷' },
|
|
9
10
|
uz: { name: 'Uzbek', nativeName: 'Ўзбек', emoji: '🇺🇿' },
|
|
10
11
|
de: { name: 'German', nativeName: 'Deutsch', emoji: '🇩🇪' },
|
|
11
|
-
fa: { name: 'Persian', nativeName: 'فارسی', emoji: '🇮🇷' },
|
|
12
12
|
hi: { name: 'Hindi', nativeName: 'हिन्दी', emoji: '🇮🇳' },
|
|
13
13
|
tr: { name: 'Turkish', nativeName: 'Türkçe', emoji: '🇹🇷' },
|
|
14
14
|
az: { name: 'Azerbaijani', nativeName: 'azərbaycan dili', emoji: '🇦🇿' },
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const SUBSCRIPTION_PAGE_CONFIG_VERSION: {
|
|
2
2
|
readonly 1: "1";
|
|
3
3
|
};
|
|
4
|
+
export type TSubscriptionPageConfigVersion = (typeof SUBSCRIPTION_PAGE_CONFIG_VERSION)[keyof typeof SUBSCRIPTION_PAGE_CONFIG_VERSION];
|
|
4
5
|
export declare const SUBSCRIPTION_PAGE_CONFIG_PLATFORM_TYPES: {
|
|
5
6
|
readonly IOS: "ios";
|
|
6
7
|
readonly ANDROID: "android";
|
|
@@ -10,4 +11,5 @@ export declare const SUBSCRIPTION_PAGE_CONFIG_PLATFORM_TYPES: {
|
|
|
10
11
|
readonly ANDROID_TV: "androidTV";
|
|
11
12
|
readonly APPLE_TV: "appleTV";
|
|
12
13
|
};
|
|
13
|
-
|
|
14
|
+
export type TSubscriptionPageConfigPlatformType = (typeof SUBSCRIPTION_PAGE_CONFIG_PLATFORM_TYPES)[keyof typeof SUBSCRIPTION_PAGE_CONFIG_PLATFORM_TYPES];
|
|
15
|
+
//# sourceMappingURL=platform-types.constant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform-types.constant.d.ts","sourceRoot":"","sources":["../../../constants/platform-types.constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC;;CAEnC,CAAC;AAEX,MAAM,MAAM,8BAA8B,GACtC,CAAC,OAAO,gCAAgC,CAAC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC;AAE7F,eAAO,MAAM,uCAAuC;;;;;;;;CAQ1C,CAAC;AAEX,MAAM,MAAM,mCAAmC,GAC3C,CAAC,OAAO,uCAAuC,CAAC,CAAC,MAAM,OAAO,uCAAuC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template-keys.constant.d.ts","sourceRoot":"","sources":["../../../constants/template-keys.constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,+BAA+B,4CAA6C,CAAC;AAC1F,MAAM,MAAM,4BAA4B,GAAG,CAAC,OAAO,+BAA+B,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const SUBSCRIPTION_INFO_BLOCK_VARIANTS: {
|
|
2
|
+
readonly COLLAPSED: "collapsed";
|
|
3
|
+
readonly EXPANDED: "expanded";
|
|
4
|
+
readonly CARDS: "cards";
|
|
5
|
+
readonly HIDDEN: "hidden";
|
|
6
|
+
};
|
|
7
|
+
export declare const INSTALLATION_GUIDE_BLOCKS_VARIANTS: {
|
|
8
|
+
readonly CARDS: "cards";
|
|
9
|
+
readonly ACCORDION: "accordion";
|
|
10
|
+
readonly MINIMAL: "minimal";
|
|
11
|
+
readonly TIMELINE: "timeline";
|
|
12
|
+
};
|
|
13
|
+
export type TSubscriptionInfoBlockVariant = (typeof SUBSCRIPTION_INFO_BLOCK_VARIANTS)[keyof typeof SUBSCRIPTION_INFO_BLOCK_VARIANTS];
|
|
14
|
+
export declare const SUBSCRIPTION_INFO_BLOCK_VARIANTS_VALUES: ("collapsed" | "expanded" | "cards" | "hidden")[];
|
|
15
|
+
export type TInstallationGuideBlockVariant = (typeof INSTALLATION_GUIDE_BLOCKS_VARIANTS)[keyof typeof INSTALLATION_GUIDE_BLOCKS_VARIANTS];
|
|
16
|
+
export declare const INSTALLATION_GUIDE_BLOCKS_VARIANTS_VALUES: ("cards" | "accordion" | "minimal" | "timeline")[];
|
|
17
|
+
export declare const isInstallationGuideBlockVariant: (value: string) => value is TInstallationGuideBlockVariant;
|
|
18
|
+
export declare const isSubscriptionInfoBlockVariant: (value: string) => value is TSubscriptionInfoBlockVariant;
|
|
19
|
+
//# sourceMappingURL=ui-blocks-variants.constant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-blocks-variants.constant.d.ts","sourceRoot":"","sources":["../../../constants/ui-blocks-variants.constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC;;;;;CAKnC,CAAC;AAEX,eAAO,MAAM,kCAAkC;;;;;CAKrC,CAAC;AAEX,MAAM,MAAM,6BAA6B,GACrC,CAAC,OAAO,gCAAgC,CAAC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC;AAE7F,eAAO,MAAM,uCAAuC,mDAEnD,CAAC;AAEF,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;AAEF,eAAO,MAAM,8BAA8B,GACvC,OAAO,MAAM,KACd,KAAK,IAAI,6BAEX,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isSubscriptionInfoBlockVariant = exports.isInstallationGuideBlockVariant = exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS_VALUES = exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS_VALUES = exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS = exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS = void 0;
|
|
4
|
+
exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS = {
|
|
5
|
+
COLLAPSED: 'collapsed',
|
|
6
|
+
EXPANDED: 'expanded',
|
|
7
|
+
CARDS: 'cards',
|
|
8
|
+
HIDDEN: 'hidden',
|
|
9
|
+
};
|
|
10
|
+
exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS = {
|
|
11
|
+
CARDS: 'cards',
|
|
12
|
+
ACCORDION: 'accordion',
|
|
13
|
+
MINIMAL: 'minimal',
|
|
14
|
+
TIMELINE: 'timeline',
|
|
15
|
+
};
|
|
16
|
+
exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS_VALUES = Object.values(exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS);
|
|
17
|
+
exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS_VALUES = Object.values(exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS);
|
|
18
|
+
const isInstallationGuideBlockVariant = (value) => {
|
|
19
|
+
return exports.INSTALLATION_GUIDE_BLOCKS_VARIANTS_VALUES.includes(value);
|
|
20
|
+
};
|
|
21
|
+
exports.isInstallationGuideBlockVariant = isInstallationGuideBlockVariant;
|
|
22
|
+
const isSubscriptionInfoBlockVariant = (value) => {
|
|
23
|
+
return exports.SUBSCRIPTION_INFO_BLOCK_VARIANTS_VALUES.includes(value);
|
|
24
|
+
};
|
|
25
|
+
exports.isSubscriptionInfoBlockVariant = isSubscriptionInfoBlockVariant;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../models/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../models/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC;AAClD,cAAc,sCAAsC,CAAC"}
|
|
@@ -14,4 +14,5 @@ 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("./subscription-page-config"), exports);
|
|
17
|
+
__exportStar(require("./subscription-page-config.schema"), exports);
|
|
18
|
+
__exportStar(require("./subscription-page-config.validator"), exports);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
export declare const LocalizedTextSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
|
|
2
|
+
declare const LocalizedTextSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
|
|
4
3
|
declare const SvgLibrarySchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5
4
|
declare const ButtonSchema: z.ZodObject<{
|
|
6
5
|
link: z.ZodString;
|
|
@@ -294,64 +293,28 @@ declare const BrandingSettingsSchema: z.ZodObject<{
|
|
|
294
293
|
supportUrl: string;
|
|
295
294
|
}>;
|
|
296
295
|
declare const UiConfigSchema: z.ZodObject<{
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
readonly HIDDEN: "hidden";
|
|
303
|
-
}>;
|
|
304
|
-
}, "strip", z.ZodTypeAny, {
|
|
305
|
-
block: "cards" | "collapsed" | "expanded" | "hidden";
|
|
306
|
-
}, {
|
|
307
|
-
block: "cards" | "collapsed" | "expanded" | "hidden";
|
|
296
|
+
subscriptionInfoBlockType: z.ZodNativeEnum<{
|
|
297
|
+
readonly COLLAPSED: "collapsed";
|
|
298
|
+
readonly EXPANDED: "expanded";
|
|
299
|
+
readonly CARDS: "cards";
|
|
300
|
+
readonly HIDDEN: "hidden";
|
|
308
301
|
}>;
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
readonly TIMELINE: "timeline";
|
|
315
|
-
}>>;
|
|
316
|
-
headerText: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
|
|
317
|
-
}, "strip", z.ZodTypeAny, {
|
|
318
|
-
block: "cards" | "accordion" | "minimal" | "timeline";
|
|
319
|
-
headerText: Record<string, string>;
|
|
320
|
-
}, {
|
|
321
|
-
headerText: Record<string, string>;
|
|
322
|
-
block?: "cards" | "accordion" | "minimal" | "timeline" | undefined;
|
|
323
|
-
}>;
|
|
324
|
-
connectionKeys: z.ZodObject<{
|
|
325
|
-
headerText: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
|
|
326
|
-
}, "strip", z.ZodTypeAny, {
|
|
327
|
-
headerText: Record<string, string>;
|
|
328
|
-
}, {
|
|
329
|
-
headerText: Record<string, string>;
|
|
302
|
+
installationGuidesBlockType: z.ZodNativeEnum<{
|
|
303
|
+
readonly CARDS: "cards";
|
|
304
|
+
readonly ACCORDION: "accordion";
|
|
305
|
+
readonly MINIMAL: "minimal";
|
|
306
|
+
readonly TIMELINE: "timeline";
|
|
330
307
|
}>;
|
|
331
308
|
}, "strip", z.ZodTypeAny, {
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
};
|
|
335
|
-
installationGuides: {
|
|
336
|
-
block: "cards" | "accordion" | "minimal" | "timeline";
|
|
337
|
-
headerText: Record<string, string>;
|
|
338
|
-
};
|
|
339
|
-
connectionKeys: {
|
|
340
|
-
headerText: Record<string, string>;
|
|
341
|
-
};
|
|
309
|
+
subscriptionInfoBlockType: "collapsed" | "expanded" | "cards" | "hidden";
|
|
310
|
+
installationGuidesBlockType: "cards" | "accordion" | "minimal" | "timeline";
|
|
342
311
|
}, {
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
};
|
|
346
|
-
installationGuides: {
|
|
347
|
-
headerText: Record<string, string>;
|
|
348
|
-
block?: "cards" | "accordion" | "minimal" | "timeline" | undefined;
|
|
349
|
-
};
|
|
350
|
-
connectionKeys: {
|
|
351
|
-
headerText: Record<string, string>;
|
|
352
|
-
};
|
|
312
|
+
subscriptionInfoBlockType: "collapsed" | "expanded" | "cards" | "hidden";
|
|
313
|
+
installationGuidesBlockType: "cards" | "accordion" | "minimal" | "timeline";
|
|
353
314
|
}>;
|
|
354
315
|
declare const SubscriptionPageTranslateKeysSchema: z.ZodObject<{
|
|
316
|
+
installationGuideHeader: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
|
|
317
|
+
connectionKeysHeader: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
|
|
355
318
|
linkCopied: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
|
|
356
319
|
linkCopiedToClipboard: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
|
|
357
320
|
getLink: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
|
|
@@ -373,6 +336,8 @@ declare const SubscriptionPageTranslateKeysSchema: z.ZodObject<{
|
|
|
373
336
|
unknown: Record<string, string>;
|
|
374
337
|
status: Record<string, string>;
|
|
375
338
|
name: Record<string, string>;
|
|
339
|
+
installationGuideHeader: Record<string, string>;
|
|
340
|
+
connectionKeysHeader: Record<string, string>;
|
|
376
341
|
linkCopied: Record<string, string>;
|
|
377
342
|
linkCopiedToClipboard: Record<string, string>;
|
|
378
343
|
getLink: Record<string, string>;
|
|
@@ -391,6 +356,8 @@ declare const SubscriptionPageTranslateKeysSchema: z.ZodObject<{
|
|
|
391
356
|
unknown: Record<string, string>;
|
|
392
357
|
status: Record<string, string>;
|
|
393
358
|
name: Record<string, string>;
|
|
359
|
+
installationGuideHeader: Record<string, string>;
|
|
360
|
+
connectionKeysHeader: Record<string, string>;
|
|
394
361
|
linkCopied: Record<string, string>;
|
|
395
362
|
linkCopiedToClipboard: Record<string, string>;
|
|
396
363
|
getLink: Record<string, string>;
|
|
@@ -410,7 +377,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
410
377
|
version: z.ZodNativeEnum<{
|
|
411
378
|
readonly 1: "1";
|
|
412
379
|
}>;
|
|
413
|
-
locales: z.ZodArray<z.ZodEnum<["en" | "ru" | "zh" | "fr" | "
|
|
380
|
+
locales: z.ZodArray<z.ZodEnum<["en" | "ru" | "zh" | "fr" | "fa" | "uz" | "de" | "hi" | "tr" | "az" | "es" | "vi" | "ja" | "be" | "uk" | "pt" | "pl" | "id" | "tk" | "th", ...("en" | "ru" | "zh" | "fr" | "fa" | "uz" | "de" | "hi" | "tr" | "az" | "es" | "vi" | "ja" | "be" | "uk" | "pt" | "pl" | "id" | "tk" | "th")[]]>, "many">;
|
|
414
381
|
brandingSettings: z.ZodObject<{
|
|
415
382
|
title: z.ZodString;
|
|
416
383
|
logoUrl: z.ZodString;
|
|
@@ -425,64 +392,28 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
425
392
|
supportUrl: string;
|
|
426
393
|
}>;
|
|
427
394
|
uiConfig: z.ZodObject<{
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
readonly HIDDEN: "hidden";
|
|
434
|
-
}>;
|
|
435
|
-
}, "strip", z.ZodTypeAny, {
|
|
436
|
-
block: "cards" | "collapsed" | "expanded" | "hidden";
|
|
437
|
-
}, {
|
|
438
|
-
block: "cards" | "collapsed" | "expanded" | "hidden";
|
|
439
|
-
}>;
|
|
440
|
-
installationGuides: z.ZodObject<{
|
|
441
|
-
block: z.ZodDefault<z.ZodNativeEnum<{
|
|
442
|
-
readonly CARDS: "cards";
|
|
443
|
-
readonly ACCORDION: "accordion";
|
|
444
|
-
readonly MINIMAL: "minimal";
|
|
445
|
-
readonly TIMELINE: "timeline";
|
|
446
|
-
}>>;
|
|
447
|
-
headerText: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
|
|
448
|
-
}, "strip", z.ZodTypeAny, {
|
|
449
|
-
block: "cards" | "accordion" | "minimal" | "timeline";
|
|
450
|
-
headerText: Record<string, string>;
|
|
451
|
-
}, {
|
|
452
|
-
headerText: Record<string, string>;
|
|
453
|
-
block?: "cards" | "accordion" | "minimal" | "timeline" | undefined;
|
|
395
|
+
subscriptionInfoBlockType: z.ZodNativeEnum<{
|
|
396
|
+
readonly COLLAPSED: "collapsed";
|
|
397
|
+
readonly EXPANDED: "expanded";
|
|
398
|
+
readonly CARDS: "cards";
|
|
399
|
+
readonly HIDDEN: "hidden";
|
|
454
400
|
}>;
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
headerText: Record<string, string>;
|
|
401
|
+
installationGuidesBlockType: z.ZodNativeEnum<{
|
|
402
|
+
readonly CARDS: "cards";
|
|
403
|
+
readonly ACCORDION: "accordion";
|
|
404
|
+
readonly MINIMAL: "minimal";
|
|
405
|
+
readonly TIMELINE: "timeline";
|
|
461
406
|
}>;
|
|
462
407
|
}, "strip", z.ZodTypeAny, {
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
};
|
|
466
|
-
installationGuides: {
|
|
467
|
-
block: "cards" | "accordion" | "minimal" | "timeline";
|
|
468
|
-
headerText: Record<string, string>;
|
|
469
|
-
};
|
|
470
|
-
connectionKeys: {
|
|
471
|
-
headerText: Record<string, string>;
|
|
472
|
-
};
|
|
408
|
+
subscriptionInfoBlockType: "collapsed" | "expanded" | "cards" | "hidden";
|
|
409
|
+
installationGuidesBlockType: "cards" | "accordion" | "minimal" | "timeline";
|
|
473
410
|
}, {
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
};
|
|
477
|
-
installationGuides: {
|
|
478
|
-
headerText: Record<string, string>;
|
|
479
|
-
block?: "cards" | "accordion" | "minimal" | "timeline" | undefined;
|
|
480
|
-
};
|
|
481
|
-
connectionKeys: {
|
|
482
|
-
headerText: Record<string, string>;
|
|
483
|
-
};
|
|
411
|
+
subscriptionInfoBlockType: "collapsed" | "expanded" | "cards" | "hidden";
|
|
412
|
+
installationGuidesBlockType: "cards" | "accordion" | "minimal" | "timeline";
|
|
484
413
|
}>;
|
|
485
414
|
baseTranslations: z.ZodObject<{
|
|
415
|
+
installationGuideHeader: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
|
|
416
|
+
connectionKeysHeader: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
|
|
486
417
|
linkCopied: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
|
|
487
418
|
linkCopiedToClipboard: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
|
|
488
419
|
getLink: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
|
|
@@ -504,6 +435,8 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
504
435
|
unknown: Record<string, string>;
|
|
505
436
|
status: Record<string, string>;
|
|
506
437
|
name: Record<string, string>;
|
|
438
|
+
installationGuideHeader: Record<string, string>;
|
|
439
|
+
connectionKeysHeader: Record<string, string>;
|
|
507
440
|
linkCopied: Record<string, string>;
|
|
508
441
|
linkCopiedToClipboard: Record<string, string>;
|
|
509
442
|
getLink: Record<string, string>;
|
|
@@ -522,6 +455,8 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
522
455
|
unknown: Record<string, string>;
|
|
523
456
|
status: Record<string, string>;
|
|
524
457
|
name: Record<string, string>;
|
|
458
|
+
installationGuideHeader: Record<string, string>;
|
|
459
|
+
connectionKeysHeader: Record<string, string>;
|
|
525
460
|
linkCopied: Record<string, string>;
|
|
526
461
|
linkCopiedToClipboard: Record<string, string>;
|
|
527
462
|
getLink: Record<string, string>;
|
|
@@ -696,22 +631,12 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
696
631
|
svgIconKey?: string | undefined;
|
|
697
632
|
}[];
|
|
698
633
|
}>>;
|
|
699
|
-
uiConfig: {
|
|
700
|
-
subscriptionInfo: {
|
|
701
|
-
block: "cards" | "collapsed" | "expanded" | "hidden";
|
|
702
|
-
};
|
|
703
|
-
installationGuides: {
|
|
704
|
-
block: "cards" | "accordion" | "minimal" | "timeline";
|
|
705
|
-
headerText: Record<string, string>;
|
|
706
|
-
};
|
|
707
|
-
connectionKeys: {
|
|
708
|
-
headerText: Record<string, string>;
|
|
709
|
-
};
|
|
710
|
-
};
|
|
711
634
|
baseTranslations: {
|
|
712
635
|
unknown: Record<string, string>;
|
|
713
636
|
status: Record<string, string>;
|
|
714
637
|
name: Record<string, string>;
|
|
638
|
+
installationGuideHeader: Record<string, string>;
|
|
639
|
+
connectionKeysHeader: Record<string, string>;
|
|
715
640
|
linkCopied: Record<string, string>;
|
|
716
641
|
linkCopiedToClipboard: Record<string, string>;
|
|
717
642
|
getLink: Record<string, string>;
|
|
@@ -728,12 +653,16 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
728
653
|
indefinitely: Record<string, string>;
|
|
729
654
|
};
|
|
730
655
|
version: "1";
|
|
731
|
-
locales: ("en" | "ru" | "zh" | "fr" | "
|
|
656
|
+
locales: ("en" | "ru" | "zh" | "fr" | "fa" | "uz" | "de" | "hi" | "tr" | "az" | "es" | "vi" | "ja" | "be" | "uk" | "pt" | "pl" | "id" | "tk" | "th")[];
|
|
732
657
|
brandingSettings: {
|
|
733
658
|
title: string;
|
|
734
659
|
logoUrl: string;
|
|
735
660
|
supportUrl: string;
|
|
736
661
|
};
|
|
662
|
+
uiConfig: {
|
|
663
|
+
subscriptionInfoBlockType: "collapsed" | "expanded" | "cards" | "hidden";
|
|
664
|
+
installationGuidesBlockType: "cards" | "accordion" | "minimal" | "timeline";
|
|
665
|
+
};
|
|
737
666
|
svgLibrary: Record<string, string>;
|
|
738
667
|
}, {
|
|
739
668
|
platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
|
|
@@ -757,22 +686,12 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
757
686
|
svgIconKey?: string | undefined;
|
|
758
687
|
}[];
|
|
759
688
|
}>>;
|
|
760
|
-
uiConfig: {
|
|
761
|
-
subscriptionInfo: {
|
|
762
|
-
block: "cards" | "collapsed" | "expanded" | "hidden";
|
|
763
|
-
};
|
|
764
|
-
installationGuides: {
|
|
765
|
-
headerText: Record<string, string>;
|
|
766
|
-
block?: "cards" | "accordion" | "minimal" | "timeline" | undefined;
|
|
767
|
-
};
|
|
768
|
-
connectionKeys: {
|
|
769
|
-
headerText: Record<string, string>;
|
|
770
|
-
};
|
|
771
|
-
};
|
|
772
689
|
baseTranslations: {
|
|
773
690
|
unknown: Record<string, string>;
|
|
774
691
|
status: Record<string, string>;
|
|
775
692
|
name: Record<string, string>;
|
|
693
|
+
installationGuideHeader: Record<string, string>;
|
|
694
|
+
connectionKeysHeader: Record<string, string>;
|
|
776
695
|
linkCopied: Record<string, string>;
|
|
777
696
|
linkCopiedToClipboard: Record<string, string>;
|
|
778
697
|
getLink: Record<string, string>;
|
|
@@ -789,12 +708,16 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
789
708
|
indefinitely: Record<string, string>;
|
|
790
709
|
};
|
|
791
710
|
version: "1";
|
|
792
|
-
locales: ("en" | "ru" | "zh" | "fr" | "
|
|
711
|
+
locales: ("en" | "ru" | "zh" | "fr" | "fa" | "uz" | "de" | "hi" | "tr" | "az" | "es" | "vi" | "ja" | "be" | "uk" | "pt" | "pl" | "id" | "tk" | "th")[];
|
|
793
712
|
brandingSettings: {
|
|
794
713
|
title: string;
|
|
795
714
|
logoUrl: string;
|
|
796
715
|
supportUrl: string;
|
|
797
716
|
};
|
|
717
|
+
uiConfig: {
|
|
718
|
+
subscriptionInfoBlockType: "collapsed" | "expanded" | "cards" | "hidden";
|
|
719
|
+
installationGuidesBlockType: "cards" | "accordion" | "minimal" | "timeline";
|
|
720
|
+
};
|
|
798
721
|
svgLibrary: Record<string, string>;
|
|
799
722
|
}>, {
|
|
800
723
|
platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
|
|
@@ -818,22 +741,12 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
818
741
|
svgIconKey?: string | undefined;
|
|
819
742
|
}[];
|
|
820
743
|
}>>;
|
|
821
|
-
uiConfig: {
|
|
822
|
-
subscriptionInfo: {
|
|
823
|
-
block: "cards" | "collapsed" | "expanded" | "hidden";
|
|
824
|
-
};
|
|
825
|
-
installationGuides: {
|
|
826
|
-
block: "cards" | "accordion" | "minimal" | "timeline";
|
|
827
|
-
headerText: Record<string, string>;
|
|
828
|
-
};
|
|
829
|
-
connectionKeys: {
|
|
830
|
-
headerText: Record<string, string>;
|
|
831
|
-
};
|
|
832
|
-
};
|
|
833
744
|
baseTranslations: {
|
|
834
745
|
unknown: Record<string, string>;
|
|
835
746
|
status: Record<string, string>;
|
|
836
747
|
name: Record<string, string>;
|
|
748
|
+
installationGuideHeader: Record<string, string>;
|
|
749
|
+
connectionKeysHeader: Record<string, string>;
|
|
837
750
|
linkCopied: Record<string, string>;
|
|
838
751
|
linkCopiedToClipboard: Record<string, string>;
|
|
839
752
|
getLink: Record<string, string>;
|
|
@@ -850,12 +763,16 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
850
763
|
indefinitely: Record<string, string>;
|
|
851
764
|
};
|
|
852
765
|
version: "1";
|
|
853
|
-
locales: ("en" | "ru" | "zh" | "fr" | "
|
|
766
|
+
locales: ("en" | "ru" | "zh" | "fr" | "fa" | "uz" | "de" | "hi" | "tr" | "az" | "es" | "vi" | "ja" | "be" | "uk" | "pt" | "pl" | "id" | "tk" | "th")[];
|
|
854
767
|
brandingSettings: {
|
|
855
768
|
title: string;
|
|
856
769
|
logoUrl: string;
|
|
857
770
|
supportUrl: string;
|
|
858
771
|
};
|
|
772
|
+
uiConfig: {
|
|
773
|
+
subscriptionInfoBlockType: "collapsed" | "expanded" | "cards" | "hidden";
|
|
774
|
+
installationGuidesBlockType: "cards" | "accordion" | "minimal" | "timeline";
|
|
775
|
+
};
|
|
859
776
|
svgLibrary: Record<string, string>;
|
|
860
777
|
}, {
|
|
861
778
|
platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
|
|
@@ -879,22 +796,12 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
879
796
|
svgIconKey?: string | undefined;
|
|
880
797
|
}[];
|
|
881
798
|
}>>;
|
|
882
|
-
uiConfig: {
|
|
883
|
-
subscriptionInfo: {
|
|
884
|
-
block: "cards" | "collapsed" | "expanded" | "hidden";
|
|
885
|
-
};
|
|
886
|
-
installationGuides: {
|
|
887
|
-
headerText: Record<string, string>;
|
|
888
|
-
block?: "cards" | "accordion" | "minimal" | "timeline" | undefined;
|
|
889
|
-
};
|
|
890
|
-
connectionKeys: {
|
|
891
|
-
headerText: Record<string, string>;
|
|
892
|
-
};
|
|
893
|
-
};
|
|
894
799
|
baseTranslations: {
|
|
895
800
|
unknown: Record<string, string>;
|
|
896
801
|
status: Record<string, string>;
|
|
897
802
|
name: Record<string, string>;
|
|
803
|
+
installationGuideHeader: Record<string, string>;
|
|
804
|
+
connectionKeysHeader: Record<string, string>;
|
|
898
805
|
linkCopied: Record<string, string>;
|
|
899
806
|
linkCopiedToClipboard: Record<string, string>;
|
|
900
807
|
getLink: Record<string, string>;
|
|
@@ -911,12 +818,16 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
911
818
|
indefinitely: Record<string, string>;
|
|
912
819
|
};
|
|
913
820
|
version: "1";
|
|
914
|
-
locales: ("en" | "ru" | "zh" | "fr" | "
|
|
821
|
+
locales: ("en" | "ru" | "zh" | "fr" | "fa" | "uz" | "de" | "hi" | "tr" | "az" | "es" | "vi" | "ja" | "be" | "uk" | "pt" | "pl" | "id" | "tk" | "th")[];
|
|
915
822
|
brandingSettings: {
|
|
916
823
|
title: string;
|
|
917
824
|
logoUrl: string;
|
|
918
825
|
supportUrl: string;
|
|
919
826
|
};
|
|
827
|
+
uiConfig: {
|
|
828
|
+
subscriptionInfoBlockType: "collapsed" | "expanded" | "cards" | "hidden";
|
|
829
|
+
installationGuidesBlockType: "cards" | "accordion" | "minimal" | "timeline";
|
|
830
|
+
};
|
|
920
831
|
svgLibrary: Record<string, string>;
|
|
921
832
|
}>;
|
|
922
833
|
export type TSubscriptionPageSvgLibrary = z.infer<typeof SvgLibrarySchema>;
|
|
@@ -931,8 +842,5 @@ export type TSubscriptionPageLocalizedText = z.infer<typeof LocalizedTextSchema>
|
|
|
931
842
|
export type TSubscriptionPageUiConfig = z.infer<typeof UiConfigSchema>;
|
|
932
843
|
export type TSubscriptionPageTranslateKeys = z.infer<typeof SubscriptionPageTranslateKeysSchema>;
|
|
933
844
|
export type TSubscriptionPageBaseTranslationKeys = keyof TSubscriptionPageTranslateKeys;
|
|
934
|
-
export type TSubscriptionPageLocales = TSubscriptionPageLanguageCode[];
|
|
935
|
-
export declare const BASE_TRANSLATION_LABELS: Record<TSubscriptionPageBaseTranslationKeys, string>;
|
|
936
|
-
export declare const BASE_TRANSLATION_KEYS: TSubscriptionPageBaseTranslationKeys[];
|
|
937
845
|
export {};
|
|
938
846
|
//# sourceMappingURL=subscription-page-config.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription-page-config.schema.d.ts","sourceRoot":"","sources":["../../../models/subscription-page-config.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,QAAA,MAAM,mBAAmB,qGAInB,CAAC;AAEP,QAAA,MAAM,gBAAgB,uCAGrB,CAAC;AAEF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;EAKhB,CAAC;AAEH,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8Bf,CAAC;AAEH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKrB,CAAC;AAEH,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIlB,CAAC;AAEH,QAAA,MAAM,sBAAsB;;;;;;;;;;;;EAI1B,CAAC;AAEH,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;EAGlB,CAAC;AAEH,QAAA,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBvC,CAAC;AAEH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAatC,CAAC;AAEP,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC3E,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AACzF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACvF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAC7E,MAAM,MAAM,4BAA4B,GAAG,MAAM,0BAA0B,CAAC,WAAW,CAAC,CAAC;AACzF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC3E,MAAM,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,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AACjG,MAAM,MAAM,oCAAoC,GAAG,MAAM,8BAA8B,CAAC"}
|