@remnawave/subscription-page-types 0.0.1
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/index.d.ts +2 -0
- package/build/backend/constants/index.d.ts.map +1 -0
- package/build/backend/constants/index.js +17 -0
- package/build/backend/constants/subscription-page-config/index.d.ts +3 -0
- package/build/backend/constants/subscription-page-config/index.d.ts.map +1 -0
- package/build/backend/constants/subscription-page-config/index.js +18 -0
- package/build/backend/constants/subscription-page-config/subscription-page-config.contants.d.ts +15 -0
- package/build/backend/constants/subscription-page-config/subscription-page-config.contants.d.ts.map +1 -0
- package/build/backend/constants/subscription-page-config/subscription-page-config.contants.js +16 -0
- package/build/backend/constants/subscription-page-config/subscription-page-template-keys.contant.d.ts +3 -0
- package/build/backend/constants/subscription-page-config/subscription-page-template-keys.contant.d.ts.map +1 -0
- package/build/backend/constants/subscription-page-config/subscription-page-template-keys.contant.js +4 -0
- package/build/backend/index.d.ts +3 -0
- package/build/backend/index.d.ts.map +1 -0
- package/build/backend/index.js +18 -0
- package/build/backend/models/index.d.ts +2 -0
- package/build/backend/models/index.d.ts.map +1 -0
- package/build/backend/models/index.js +17 -0
- package/build/backend/models/subscription-page-config/index.d.ts +2 -0
- package/build/backend/models/subscription-page-config/index.d.ts.map +1 -0
- package/build/backend/models/subscription-page-config/index.js +17 -0
- package/build/backend/models/subscription-page-config/subscription-page-config.schema.d.ts +1682 -0
- package/build/backend/models/subscription-page-config/subscription-page-config.schema.d.ts.map +1 -0
- package/build/backend/models/subscription-page-config/subscription-page-config.schema.js +82 -0
- package/build/backend/models/subscription-page-config/subscription-page-config.validator.d.ts +4 -0
- package/build/backend/models/subscription-page-config/subscription-page-config.validator.d.ts.map +1 -0
- package/build/backend/models/subscription-page-config/subscription-page-config.validator.js +32 -0
- package/build/frontend/constants/index.js +17 -0
- package/build/frontend/constants/subscription-page-config/index.js +18 -0
- package/build/frontend/constants/subscription-page-config/subscription-page-config.contants.js +16 -0
- package/build/frontend/constants/subscription-page-config/subscription-page-template-keys.contant.js +4 -0
- package/build/frontend/index.js +18 -0
- package/build/frontend/models/index.js +17 -0
- package/build/frontend/models/subscription-page-config/index.js +17 -0
- package/build/frontend/models/subscription-page-config/subscription-page-config.schema.js +82 -0
- package/build/frontend/models/subscription-page-config/subscription-page-config.validator.js +32 -0
- package/package.json +33 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./subscription-page-config"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../constants/subscription-page-config/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AACpD,cAAc,2CAA2C,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./subscription-page-config.contants"), exports);
|
|
18
|
+
__exportStar(require("./subscription-page-template-keys.contant"), exports);
|
package/build/backend/constants/subscription-page-config/subscription-page-config.contants.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const SUBSCRIPTION_PAGE_CONFIG_VERSION: {
|
|
2
|
+
readonly 1: "1";
|
|
3
|
+
};
|
|
4
|
+
export declare const SUBSCRIPTION_PAGE_CONFIG_ADDITIONAL_LOCALES: readonly ["ru", "zh", "fa", "fr"];
|
|
5
|
+
export declare const SUBSCRIPTION_PAGE_CONFIG_PLATFORM_TYPES: {
|
|
6
|
+
readonly IOS: "ios";
|
|
7
|
+
readonly ANDROID: "android";
|
|
8
|
+
readonly LINUX: "linux";
|
|
9
|
+
readonly MACOS: "macos";
|
|
10
|
+
readonly WINDOWS: "windows";
|
|
11
|
+
readonly ANDROID_TV: "androidTV";
|
|
12
|
+
readonly APPLE_TV: "appleTV";
|
|
13
|
+
};
|
|
14
|
+
export type TSubscriptionPageConfigAdditionalLocales = (typeof SUBSCRIPTION_PAGE_CONFIG_ADDITIONAL_LOCALES)[number];
|
|
15
|
+
//# sourceMappingURL=subscription-page-config.contants.d.ts.map
|
package/build/backend/constants/subscription-page-config/subscription-page-config.contants.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription-page-config.contants.d.ts","sourceRoot":"","sources":["../../../../constants/subscription-page-config/subscription-page-config.contants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC;;CAEnC,CAAC;AAEX,eAAO,MAAM,2CAA2C,mCAAoC,CAAC;AAE7F,eAAO,MAAM,uCAAuC;;;;;;;;CAQ1C,CAAC;AAEX,MAAM,MAAM,wCAAwC,GAChD,CAAC,OAAO,2CAA2C,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SUBSCRIPTION_PAGE_CONFIG_PLATFORM_TYPES = exports.SUBSCRIPTION_PAGE_CONFIG_ADDITIONAL_LOCALES = exports.SUBSCRIPTION_PAGE_CONFIG_VERSION = void 0;
|
|
4
|
+
exports.SUBSCRIPTION_PAGE_CONFIG_VERSION = {
|
|
5
|
+
1: '1',
|
|
6
|
+
};
|
|
7
|
+
exports.SUBSCRIPTION_PAGE_CONFIG_ADDITIONAL_LOCALES = ['ru', 'zh', 'fa', 'fr'];
|
|
8
|
+
exports.SUBSCRIPTION_PAGE_CONFIG_PLATFORM_TYPES = {
|
|
9
|
+
IOS: 'ios',
|
|
10
|
+
ANDROID: 'android',
|
|
11
|
+
LINUX: 'linux',
|
|
12
|
+
MACOS: 'macos',
|
|
13
|
+
WINDOWS: 'windows',
|
|
14
|
+
ANDROID_TV: 'androidTV',
|
|
15
|
+
APPLE_TV: 'appleTV',
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription-page-template-keys.contant.d.ts","sourceRoot":"","sources":["../../../../constants/subscription-page-config/subscription-page-template-keys.contant.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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./constants"), exports);
|
|
18
|
+
__exportStar(require("./models"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../models/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./subscription-page-config"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../models/subscription-page-config/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./subscription-page-config.schema"), exports);
|