@remnawave/subscription-page-types 0.4.0 → 0.5.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.
@@ -1,3 +1,3 @@
1
- export declare const SUBSCRIPTION_PAGE_TEMPLATE_KEYS: readonly ["USERNAME", "SUBSCRIPTION_LINK", "HAPP_CRYPT3_LINK", "HAPP_CRYPT4_LINK"];
1
+ export declare const SUBSCRIPTION_PAGE_TEMPLATE_KEYS: readonly ["USERNAME", "SUBSCRIPTION_LINK", "HAPP_CRYPT3_LINK", "HAPP_CRYPT4_LINK", "INCY_CRYPT1_LINK"];
2
2
  export type TSubscriptionPageTemplateKey = (typeof SUBSCRIPTION_PAGE_TEMPLATE_KEYS)[number];
3
3
  //# sourceMappingURL=template-keys.constant.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"template-keys.constant.d.ts","sourceRoot":"","sources":["../../../constants/template-keys.constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,+BAA+B,oFAKlC,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,CAAC,OAAO,+BAA+B,CAAC,CAAC,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"template-keys.constant.d.ts","sourceRoot":"","sources":["../../../constants/template-keys.constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,+BAA+B,wGAMlC,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,CAAC,OAAO,+BAA+B,CAAC,CAAC,MAAM,CAAC,CAAC"}
@@ -6,4 +6,5 @@ exports.SUBSCRIPTION_PAGE_TEMPLATE_KEYS = [
6
6
  'SUBSCRIPTION_LINK',
7
7
  'HAPP_CRYPT3_LINK',
8
8
  'HAPP_CRYPT4_LINK',
9
+ 'INCY_CRYPT1_LINK',
9
10
  ];
@@ -1,161 +1,55 @@
1
1
  import { z } from 'zod';
2
- declare const LocalizedTextSchema: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
2
+ declare const LocalizedTextSchema: z.ZodRecord<z.ZodString, z.ZodString>;
3
3
  declare const SvgLibrarySchema: z.ZodRecord<z.ZodString, z.ZodString>;
4
4
  declare const ButtonSchema: z.ZodObject<{
5
5
  link: z.ZodString;
6
- type: z.ZodNativeEnum<{
6
+ type: z.ZodEnum<{
7
7
  readonly EXTERNAL: "external";
8
8
  readonly SUBSCRIPTION_LINK: "subscriptionLink";
9
9
  readonly COPY_BUTTON: "copyButton";
10
10
  }>;
11
- text: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
11
+ text: z.ZodRecord<z.ZodString, z.ZodString>;
12
12
  svgIconKey: z.ZodString;
13
- }, "strip", z.ZodTypeAny, {
14
- type: "external" | "subscriptionLink" | "copyButton";
15
- svgIconKey: string;
16
- link: string;
17
- text: Record<string, string>;
18
- }, {
19
- type: "external" | "subscriptionLink" | "copyButton";
20
- svgIconKey: string;
21
- link: string;
22
- text: Record<string, string>;
23
- }>;
13
+ }, z.core.$strip>;
24
14
  declare const BlockSchema: z.ZodObject<{
25
15
  svgIconKey: z.ZodString;
26
- svgIconColor: z.ZodEffects<z.ZodString, string, string>;
27
- title: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
28
- description: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
16
+ svgIconColor: z.ZodString;
17
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
18
+ description: z.ZodRecord<z.ZodString, z.ZodString>;
29
19
  buttons: z.ZodArray<z.ZodObject<{
30
20
  link: z.ZodString;
31
- type: z.ZodNativeEnum<{
21
+ type: z.ZodEnum<{
32
22
  readonly EXTERNAL: "external";
33
23
  readonly SUBSCRIPTION_LINK: "subscriptionLink";
34
24
  readonly COPY_BUTTON: "copyButton";
35
25
  }>;
36
- text: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
26
+ text: z.ZodRecord<z.ZodString, z.ZodString>;
37
27
  svgIconKey: z.ZodString;
38
- }, "strip", z.ZodTypeAny, {
39
- type: "external" | "subscriptionLink" | "copyButton";
40
- svgIconKey: string;
41
- link: string;
42
- text: Record<string, string>;
43
- }, {
44
- type: "external" | "subscriptionLink" | "copyButton";
45
- svgIconKey: string;
46
- link: string;
47
- text: Record<string, string>;
48
- }>, "many">;
49
- }, "strip", z.ZodTypeAny, {
50
- svgIconKey: string;
51
- svgIconColor: string;
52
- title: Record<string, string>;
53
- description: Record<string, string>;
54
- buttons: {
55
- type: "external" | "subscriptionLink" | "copyButton";
56
- svgIconKey: string;
57
- link: string;
58
- text: Record<string, string>;
59
- }[];
60
- }, {
61
- svgIconKey: string;
62
- svgIconColor: string;
63
- title: Record<string, string>;
64
- description: Record<string, string>;
65
- buttons: {
66
- type: "external" | "subscriptionLink" | "copyButton";
67
- svgIconKey: string;
68
- link: string;
69
- text: Record<string, string>;
70
- }[];
71
- }>;
28
+ }, z.core.$strip>>;
29
+ }, z.core.$strip>;
72
30
  declare const PlatformAppSchema: z.ZodObject<{
73
31
  name: z.ZodString;
74
32
  svgIconKey: z.ZodOptional<z.ZodString>;
75
33
  featured: z.ZodBoolean;
76
34
  blocks: z.ZodArray<z.ZodObject<{
77
35
  svgIconKey: z.ZodString;
78
- svgIconColor: z.ZodEffects<z.ZodString, string, string>;
79
- title: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
80
- description: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
36
+ svgIconColor: z.ZodString;
37
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
38
+ description: z.ZodRecord<z.ZodString, z.ZodString>;
81
39
  buttons: z.ZodArray<z.ZodObject<{
82
40
  link: z.ZodString;
83
- type: z.ZodNativeEnum<{
41
+ type: z.ZodEnum<{
84
42
  readonly EXTERNAL: "external";
85
43
  readonly SUBSCRIPTION_LINK: "subscriptionLink";
86
44
  readonly COPY_BUTTON: "copyButton";
87
45
  }>;
88
- text: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
46
+ text: z.ZodRecord<z.ZodString, z.ZodString>;
89
47
  svgIconKey: z.ZodString;
90
- }, "strip", z.ZodTypeAny, {
91
- type: "external" | "subscriptionLink" | "copyButton";
92
- svgIconKey: string;
93
- link: string;
94
- text: Record<string, string>;
95
- }, {
96
- type: "external" | "subscriptionLink" | "copyButton";
97
- svgIconKey: string;
98
- link: string;
99
- text: Record<string, string>;
100
- }>, "many">;
101
- }, "strip", z.ZodTypeAny, {
102
- svgIconKey: string;
103
- svgIconColor: string;
104
- title: Record<string, string>;
105
- description: Record<string, string>;
106
- buttons: {
107
- type: "external" | "subscriptionLink" | "copyButton";
108
- svgIconKey: string;
109
- link: string;
110
- text: Record<string, string>;
111
- }[];
112
- }, {
113
- svgIconKey: string;
114
- svgIconColor: string;
115
- title: Record<string, string>;
116
- description: Record<string, string>;
117
- buttons: {
118
- type: "external" | "subscriptionLink" | "copyButton";
119
- svgIconKey: string;
120
- link: string;
121
- text: Record<string, string>;
122
- }[];
123
- }>, "many">;
124
- }, "strip", z.ZodTypeAny, {
125
- name: string;
126
- featured: boolean;
127
- blocks: {
128
- svgIconKey: string;
129
- svgIconColor: string;
130
- title: Record<string, string>;
131
- description: Record<string, string>;
132
- buttons: {
133
- type: "external" | "subscriptionLink" | "copyButton";
134
- svgIconKey: string;
135
- link: string;
136
- text: Record<string, string>;
137
- }[];
138
- }[];
139
- svgIconKey?: string | undefined;
140
- }, {
141
- name: string;
142
- featured: boolean;
143
- blocks: {
144
- svgIconKey: string;
145
- svgIconColor: string;
146
- title: Record<string, string>;
147
- description: Record<string, string>;
148
- buttons: {
149
- type: "external" | "subscriptionLink" | "copyButton";
150
- svgIconKey: string;
151
- link: string;
152
- text: Record<string, string>;
153
- }[];
154
- }[];
155
- svgIconKey?: string | undefined;
156
- }>;
48
+ }, z.core.$strip>>;
49
+ }, z.core.$strip>>;
50
+ }, z.core.$strip>;
157
51
  declare const PlatformSchema: z.ZodObject<{
158
- displayName: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
52
+ displayName: z.ZodRecord<z.ZodString, z.ZodString>;
159
53
  svgIconKey: z.ZodString;
160
54
  apps: z.ZodArray<z.ZodObject<{
161
55
  name: z.ZodString;
@@ -163,337 +57,136 @@ declare const PlatformSchema: z.ZodObject<{
163
57
  featured: z.ZodBoolean;
164
58
  blocks: z.ZodArray<z.ZodObject<{
165
59
  svgIconKey: z.ZodString;
166
- svgIconColor: z.ZodEffects<z.ZodString, string, string>;
167
- title: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
168
- description: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
60
+ svgIconColor: z.ZodString;
61
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
62
+ description: z.ZodRecord<z.ZodString, z.ZodString>;
169
63
  buttons: z.ZodArray<z.ZodObject<{
170
64
  link: z.ZodString;
171
- type: z.ZodNativeEnum<{
65
+ type: z.ZodEnum<{
172
66
  readonly EXTERNAL: "external";
173
67
  readonly SUBSCRIPTION_LINK: "subscriptionLink";
174
68
  readonly COPY_BUTTON: "copyButton";
175
69
  }>;
176
- text: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
70
+ text: z.ZodRecord<z.ZodString, z.ZodString>;
177
71
  svgIconKey: z.ZodString;
178
- }, "strip", z.ZodTypeAny, {
179
- type: "external" | "subscriptionLink" | "copyButton";
180
- svgIconKey: string;
181
- link: string;
182
- text: Record<string, string>;
183
- }, {
184
- type: "external" | "subscriptionLink" | "copyButton";
185
- svgIconKey: string;
186
- link: string;
187
- text: Record<string, string>;
188
- }>, "many">;
189
- }, "strip", z.ZodTypeAny, {
190
- svgIconKey: string;
191
- svgIconColor: string;
192
- title: Record<string, string>;
193
- description: Record<string, string>;
194
- buttons: {
195
- type: "external" | "subscriptionLink" | "copyButton";
196
- svgIconKey: string;
197
- link: string;
198
- text: Record<string, string>;
199
- }[];
200
- }, {
201
- svgIconKey: string;
202
- svgIconColor: string;
203
- title: Record<string, string>;
204
- description: Record<string, string>;
205
- buttons: {
206
- type: "external" | "subscriptionLink" | "copyButton";
207
- svgIconKey: string;
208
- link: string;
209
- text: Record<string, string>;
210
- }[];
211
- }>, "many">;
212
- }, "strip", z.ZodTypeAny, {
213
- name: string;
214
- featured: boolean;
215
- blocks: {
216
- svgIconKey: string;
217
- svgIconColor: string;
218
- title: Record<string, string>;
219
- description: Record<string, string>;
220
- buttons: {
221
- type: "external" | "subscriptionLink" | "copyButton";
222
- svgIconKey: string;
223
- link: string;
224
- text: Record<string, string>;
225
- }[];
226
- }[];
227
- svgIconKey?: string | undefined;
228
- }, {
229
- name: string;
230
- featured: boolean;
231
- blocks: {
232
- svgIconKey: string;
233
- svgIconColor: string;
234
- title: Record<string, string>;
235
- description: Record<string, string>;
236
- buttons: {
237
- type: "external" | "subscriptionLink" | "copyButton";
238
- svgIconKey: string;
239
- link: string;
240
- text: Record<string, string>;
241
- }[];
242
- }[];
243
- svgIconKey?: string | undefined;
244
- }>, "many">;
245
- }, "strip", z.ZodTypeAny, {
246
- svgIconKey: string;
247
- displayName: Record<string, string>;
248
- apps: {
249
- name: string;
250
- featured: boolean;
251
- blocks: {
252
- svgIconKey: string;
253
- svgIconColor: string;
254
- title: Record<string, string>;
255
- description: Record<string, string>;
256
- buttons: {
257
- type: "external" | "subscriptionLink" | "copyButton";
258
- svgIconKey: string;
259
- link: string;
260
- text: Record<string, string>;
261
- }[];
262
- }[];
263
- svgIconKey?: string | undefined;
264
- }[];
265
- }, {
266
- svgIconKey: string;
267
- displayName: Record<string, string>;
268
- apps: {
269
- name: string;
270
- featured: boolean;
271
- blocks: {
272
- svgIconKey: string;
273
- svgIconColor: string;
274
- title: Record<string, string>;
275
- description: Record<string, string>;
276
- buttons: {
277
- type: "external" | "subscriptionLink" | "copyButton";
278
- svgIconKey: string;
279
- link: string;
280
- text: Record<string, string>;
281
- }[];
282
- }[];
283
- svgIconKey?: string | undefined;
284
- }[];
285
- }>;
72
+ }, z.core.$strip>>;
73
+ }, z.core.$strip>>;
74
+ }, z.core.$strip>>;
75
+ }, z.core.$strip>;
286
76
  declare const BrandingSettingsSchema: z.ZodObject<{
287
77
  title: z.ZodString;
288
78
  logoUrl: z.ZodString;
289
- supportUrl: z.ZodString;
290
- }, "strip", z.ZodTypeAny, {
291
- title: string;
292
- logoUrl: string;
293
- supportUrl: string;
294
- }, {
295
- title: string;
296
- logoUrl: string;
297
- supportUrl: string;
298
- }>;
79
+ supportUrl: z.ZodURL;
80
+ }, z.core.$strip>;
299
81
  declare const UiConfigSchema: z.ZodObject<{
300
- subscriptionInfoBlockType: z.ZodNativeEnum<{
82
+ subscriptionInfoBlockType: z.ZodEnum<{
301
83
  readonly COLLAPSED: "collapsed";
302
84
  readonly EXPANDED: "expanded";
303
85
  readonly CARDS: "cards";
304
86
  readonly HIDDEN: "hidden";
305
87
  }>;
306
- installationGuidesBlockType: z.ZodNativeEnum<{
88
+ installationGuidesBlockType: z.ZodEnum<{
307
89
  readonly CARDS: "cards";
308
90
  readonly ACCORDION: "accordion";
309
91
  readonly MINIMAL: "minimal";
310
92
  readonly TIMELINE: "timeline";
311
93
  }>;
312
- }, "strip", z.ZodTypeAny, {
313
- subscriptionInfoBlockType: "collapsed" | "expanded" | "cards" | "hidden";
314
- installationGuidesBlockType: "cards" | "accordion" | "minimal" | "timeline";
315
- }, {
316
- subscriptionInfoBlockType: "collapsed" | "expanded" | "cards" | "hidden";
317
- installationGuidesBlockType: "cards" | "accordion" | "minimal" | "timeline";
318
- }>;
94
+ }, z.core.$strip>;
319
95
  declare const SubscriptionPageTranslateKeysSchema: z.ZodObject<{
320
- installationGuideHeader: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
321
- connectionKeysHeader: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
322
- linkCopied: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
323
- linkCopiedToClipboard: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
324
- getLink: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
325
- scanQrCode: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
326
- scanQrCodeDescription: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
327
- copyLink: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
328
- name: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
329
- status: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
330
- active: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
331
- inactive: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
332
- expires: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
333
- bandwidth: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
334
- scanToImport: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
335
- expiresIn: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
336
- expired: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
337
- unknown: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
338
- indefinitely: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
339
- }, "strip", z.ZodTypeAny, {
340
- unknown: Record<string, string>;
341
- status: Record<string, string>;
342
- name: Record<string, string>;
343
- installationGuideHeader: Record<string, string>;
344
- connectionKeysHeader: Record<string, string>;
345
- linkCopied: Record<string, string>;
346
- linkCopiedToClipboard: Record<string, string>;
347
- getLink: Record<string, string>;
348
- scanQrCode: Record<string, string>;
349
- scanQrCodeDescription: Record<string, string>;
350
- copyLink: Record<string, string>;
351
- active: Record<string, string>;
352
- inactive: Record<string, string>;
353
- expires: Record<string, string>;
354
- bandwidth: Record<string, string>;
355
- scanToImport: Record<string, string>;
356
- expiresIn: Record<string, string>;
357
- expired: Record<string, string>;
358
- indefinitely: Record<string, string>;
359
- }, {
360
- unknown: Record<string, string>;
361
- status: Record<string, string>;
362
- name: Record<string, string>;
363
- installationGuideHeader: Record<string, string>;
364
- connectionKeysHeader: Record<string, string>;
365
- linkCopied: Record<string, string>;
366
- linkCopiedToClipboard: Record<string, string>;
367
- getLink: Record<string, string>;
368
- scanQrCode: Record<string, string>;
369
- scanQrCodeDescription: Record<string, string>;
370
- copyLink: Record<string, string>;
371
- active: Record<string, string>;
372
- inactive: Record<string, string>;
373
- expires: Record<string, string>;
374
- bandwidth: Record<string, string>;
375
- scanToImport: Record<string, string>;
376
- expiresIn: Record<string, string>;
377
- expired: Record<string, string>;
378
- indefinitely: Record<string, string>;
379
- }>;
380
- export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
381
- version: z.ZodNativeEnum<{
96
+ installationGuideHeader: z.ZodRecord<z.ZodString, z.ZodString>;
97
+ connectionKeysHeader: z.ZodRecord<z.ZodString, z.ZodString>;
98
+ linkCopied: z.ZodRecord<z.ZodString, z.ZodString>;
99
+ linkCopiedToClipboard: z.ZodRecord<z.ZodString, z.ZodString>;
100
+ getLink: z.ZodRecord<z.ZodString, z.ZodString>;
101
+ scanQrCode: z.ZodRecord<z.ZodString, z.ZodString>;
102
+ scanQrCodeDescription: z.ZodRecord<z.ZodString, z.ZodString>;
103
+ copyLink: z.ZodRecord<z.ZodString, z.ZodString>;
104
+ name: z.ZodRecord<z.ZodString, z.ZodString>;
105
+ status: z.ZodRecord<z.ZodString, z.ZodString>;
106
+ active: z.ZodRecord<z.ZodString, z.ZodString>;
107
+ inactive: z.ZodRecord<z.ZodString, z.ZodString>;
108
+ expires: z.ZodRecord<z.ZodString, z.ZodString>;
109
+ bandwidth: z.ZodRecord<z.ZodString, z.ZodString>;
110
+ scanToImport: z.ZodRecord<z.ZodString, z.ZodString>;
111
+ expiresIn: z.ZodRecord<z.ZodString, z.ZodString>;
112
+ expired: z.ZodRecord<z.ZodString, z.ZodString>;
113
+ unknown: z.ZodRecord<z.ZodString, z.ZodString>;
114
+ indefinitely: z.ZodRecord<z.ZodString, z.ZodString>;
115
+ }, z.core.$strip>;
116
+ export declare const SubscriptionPageRawConfigSchema: z.ZodObject<{
117
+ version: z.ZodEnum<{
382
118
  readonly 1: "1";
383
119
  }>;
384
- 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">;
120
+ locales: z.ZodArray<z.ZodEnum<{
121
+ en: "en";
122
+ ru: "ru";
123
+ zh: "zh";
124
+ fr: "fr";
125
+ fa: "fa";
126
+ uz: "uz";
127
+ de: "de";
128
+ hi: "hi";
129
+ tr: "tr";
130
+ az: "az";
131
+ es: "es";
132
+ vi: "vi";
133
+ ja: "ja";
134
+ be: "be";
135
+ uk: "uk";
136
+ pt: "pt";
137
+ pl: "pl";
138
+ id: "id";
139
+ tk: "tk";
140
+ th: "th";
141
+ }>>;
385
142
  brandingSettings: z.ZodObject<{
386
143
  title: z.ZodString;
387
144
  logoUrl: z.ZodString;
388
- supportUrl: z.ZodString;
389
- }, "strip", z.ZodTypeAny, {
390
- title: string;
391
- logoUrl: string;
392
- supportUrl: string;
393
- }, {
394
- title: string;
395
- logoUrl: string;
396
- supportUrl: string;
397
- }>;
145
+ supportUrl: z.ZodURL;
146
+ }, z.core.$strip>;
398
147
  uiConfig: z.ZodObject<{
399
- subscriptionInfoBlockType: z.ZodNativeEnum<{
148
+ subscriptionInfoBlockType: z.ZodEnum<{
400
149
  readonly COLLAPSED: "collapsed";
401
150
  readonly EXPANDED: "expanded";
402
151
  readonly CARDS: "cards";
403
152
  readonly HIDDEN: "hidden";
404
153
  }>;
405
- installationGuidesBlockType: z.ZodNativeEnum<{
154
+ installationGuidesBlockType: z.ZodEnum<{
406
155
  readonly CARDS: "cards";
407
156
  readonly ACCORDION: "accordion";
408
157
  readonly MINIMAL: "minimal";
409
158
  readonly TIMELINE: "timeline";
410
159
  }>;
411
- }, "strip", z.ZodTypeAny, {
412
- subscriptionInfoBlockType: "collapsed" | "expanded" | "cards" | "hidden";
413
- installationGuidesBlockType: "cards" | "accordion" | "minimal" | "timeline";
414
- }, {
415
- subscriptionInfoBlockType: "collapsed" | "expanded" | "cards" | "hidden";
416
- installationGuidesBlockType: "cards" | "accordion" | "minimal" | "timeline";
417
- }>;
160
+ }, z.core.$strip>;
418
161
  baseSettings: z.ZodDefault<z.ZodObject<{
419
162
  metaTitle: z.ZodDefault<z.ZodString>;
420
163
  metaDescription: z.ZodDefault<z.ZodString>;
421
164
  showConnectionKeys: z.ZodDefault<z.ZodBoolean>;
422
165
  hideGetLinkButton: z.ZodDefault<z.ZodBoolean>;
423
- }, "strip", z.ZodTypeAny, {
424
- metaTitle: string;
425
- metaDescription: string;
426
- showConnectionKeys: boolean;
427
- hideGetLinkButton: boolean;
428
- }, {
429
- metaTitle?: string | undefined;
430
- metaDescription?: string | undefined;
431
- showConnectionKeys?: boolean | undefined;
432
- hideGetLinkButton?: boolean | undefined;
433
- }>>;
166
+ }, z.core.$strip>>;
434
167
  baseTranslations: z.ZodObject<{
435
- installationGuideHeader: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
436
- connectionKeysHeader: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
437
- linkCopied: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
438
- linkCopiedToClipboard: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
439
- getLink: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
440
- scanQrCode: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
441
- scanQrCodeDescription: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
442
- copyLink: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
443
- name: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
444
- status: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
445
- active: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
446
- inactive: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
447
- expires: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
448
- bandwidth: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
449
- scanToImport: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
450
- expiresIn: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
451
- expired: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
452
- unknown: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
453
- indefinitely: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
454
- }, "strip", z.ZodTypeAny, {
455
- unknown: Record<string, string>;
456
- status: Record<string, string>;
457
- name: Record<string, string>;
458
- installationGuideHeader: Record<string, string>;
459
- connectionKeysHeader: Record<string, string>;
460
- linkCopied: Record<string, string>;
461
- linkCopiedToClipboard: Record<string, string>;
462
- getLink: Record<string, string>;
463
- scanQrCode: Record<string, string>;
464
- scanQrCodeDescription: Record<string, string>;
465
- copyLink: Record<string, string>;
466
- active: Record<string, string>;
467
- inactive: Record<string, string>;
468
- expires: Record<string, string>;
469
- bandwidth: Record<string, string>;
470
- scanToImport: Record<string, string>;
471
- expiresIn: Record<string, string>;
472
- expired: Record<string, string>;
473
- indefinitely: Record<string, string>;
474
- }, {
475
- unknown: Record<string, string>;
476
- status: Record<string, string>;
477
- name: Record<string, string>;
478
- installationGuideHeader: Record<string, string>;
479
- connectionKeysHeader: Record<string, string>;
480
- linkCopied: Record<string, string>;
481
- linkCopiedToClipboard: Record<string, string>;
482
- getLink: Record<string, string>;
483
- scanQrCode: Record<string, string>;
484
- scanQrCodeDescription: Record<string, string>;
485
- copyLink: Record<string, string>;
486
- active: Record<string, string>;
487
- inactive: Record<string, string>;
488
- expires: Record<string, string>;
489
- bandwidth: Record<string, string>;
490
- scanToImport: Record<string, string>;
491
- expiresIn: Record<string, string>;
492
- expired: Record<string, string>;
493
- indefinitely: Record<string, string>;
494
- }>;
168
+ installationGuideHeader: z.ZodRecord<z.ZodString, z.ZodString>;
169
+ connectionKeysHeader: z.ZodRecord<z.ZodString, z.ZodString>;
170
+ linkCopied: z.ZodRecord<z.ZodString, z.ZodString>;
171
+ linkCopiedToClipboard: z.ZodRecord<z.ZodString, z.ZodString>;
172
+ getLink: z.ZodRecord<z.ZodString, z.ZodString>;
173
+ scanQrCode: z.ZodRecord<z.ZodString, z.ZodString>;
174
+ scanQrCodeDescription: z.ZodRecord<z.ZodString, z.ZodString>;
175
+ copyLink: z.ZodRecord<z.ZodString, z.ZodString>;
176
+ name: z.ZodRecord<z.ZodString, z.ZodString>;
177
+ status: z.ZodRecord<z.ZodString, z.ZodString>;
178
+ active: z.ZodRecord<z.ZodString, z.ZodString>;
179
+ inactive: z.ZodRecord<z.ZodString, z.ZodString>;
180
+ expires: z.ZodRecord<z.ZodString, z.ZodString>;
181
+ bandwidth: z.ZodRecord<z.ZodString, z.ZodString>;
182
+ scanToImport: z.ZodRecord<z.ZodString, z.ZodString>;
183
+ expiresIn: z.ZodRecord<z.ZodString, z.ZodString>;
184
+ expired: z.ZodRecord<z.ZodString, z.ZodString>;
185
+ unknown: z.ZodRecord<z.ZodString, z.ZodString>;
186
+ indefinitely: z.ZodRecord<z.ZodString, z.ZodString>;
187
+ }, z.core.$strip>;
495
188
  svgLibrary: z.ZodRecord<z.ZodString, z.ZodString>;
496
- platforms: z.ZodRecord<z.ZodNativeEnum<{
189
+ platforms: z.ZodRecord<z.ZodEnum<{
497
190
  readonly IOS: "ios";
498
191
  readonly ANDROID: "android";
499
192
  readonly LINUX: "linux";
@@ -501,8 +194,8 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
501
194
  readonly WINDOWS: "windows";
502
195
  readonly ANDROID_TV: "androidTV";
503
196
  readonly APPLE_TV: "appleTV";
504
- }>, z.ZodObject<{
505
- displayName: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
197
+ }> & z.core.$partial, z.ZodObject<{
198
+ displayName: z.ZodRecord<z.ZodString, z.ZodString>;
506
199
  svgIconKey: z.ZodString;
507
200
  apps: z.ZodArray<z.ZodObject<{
508
201
  name: z.ZodString;
@@ -510,371 +203,23 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
510
203
  featured: z.ZodBoolean;
511
204
  blocks: z.ZodArray<z.ZodObject<{
512
205
  svgIconKey: z.ZodString;
513
- svgIconColor: z.ZodEffects<z.ZodString, string, string>;
514
- title: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
515
- description: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
206
+ svgIconColor: z.ZodString;
207
+ title: z.ZodRecord<z.ZodString, z.ZodString>;
208
+ description: z.ZodRecord<z.ZodString, z.ZodString>;
516
209
  buttons: z.ZodArray<z.ZodObject<{
517
210
  link: z.ZodString;
518
- type: z.ZodNativeEnum<{
211
+ type: z.ZodEnum<{
519
212
  readonly EXTERNAL: "external";
520
213
  readonly SUBSCRIPTION_LINK: "subscriptionLink";
521
214
  readonly COPY_BUTTON: "copyButton";
522
215
  }>;
523
- text: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
216
+ text: z.ZodRecord<z.ZodString, z.ZodString>;
524
217
  svgIconKey: z.ZodString;
525
- }, "strip", z.ZodTypeAny, {
526
- type: "external" | "subscriptionLink" | "copyButton";
527
- svgIconKey: string;
528
- link: string;
529
- text: Record<string, string>;
530
- }, {
531
- type: "external" | "subscriptionLink" | "copyButton";
532
- svgIconKey: string;
533
- link: string;
534
- text: Record<string, string>;
535
- }>, "many">;
536
- }, "strip", z.ZodTypeAny, {
537
- svgIconKey: string;
538
- svgIconColor: string;
539
- title: Record<string, string>;
540
- description: Record<string, string>;
541
- buttons: {
542
- type: "external" | "subscriptionLink" | "copyButton";
543
- svgIconKey: string;
544
- link: string;
545
- text: Record<string, string>;
546
- }[];
547
- }, {
548
- svgIconKey: string;
549
- svgIconColor: string;
550
- title: Record<string, string>;
551
- description: Record<string, string>;
552
- buttons: {
553
- type: "external" | "subscriptionLink" | "copyButton";
554
- svgIconKey: string;
555
- link: string;
556
- text: Record<string, string>;
557
- }[];
558
- }>, "many">;
559
- }, "strip", z.ZodTypeAny, {
560
- name: string;
561
- featured: boolean;
562
- blocks: {
563
- svgIconKey: string;
564
- svgIconColor: string;
565
- title: Record<string, string>;
566
- description: Record<string, string>;
567
- buttons: {
568
- type: "external" | "subscriptionLink" | "copyButton";
569
- svgIconKey: string;
570
- link: string;
571
- text: Record<string, string>;
572
- }[];
573
- }[];
574
- svgIconKey?: string | undefined;
575
- }, {
576
- name: string;
577
- featured: boolean;
578
- blocks: {
579
- svgIconKey: string;
580
- svgIconColor: string;
581
- title: Record<string, string>;
582
- description: Record<string, string>;
583
- buttons: {
584
- type: "external" | "subscriptionLink" | "copyButton";
585
- svgIconKey: string;
586
- link: string;
587
- text: Record<string, string>;
588
- }[];
589
- }[];
590
- svgIconKey?: string | undefined;
591
- }>, "many">;
592
- }, "strip", z.ZodTypeAny, {
593
- svgIconKey: string;
594
- displayName: Record<string, string>;
595
- apps: {
596
- name: string;
597
- featured: boolean;
598
- blocks: {
599
- svgIconKey: string;
600
- svgIconColor: string;
601
- title: Record<string, string>;
602
- description: Record<string, string>;
603
- buttons: {
604
- type: "external" | "subscriptionLink" | "copyButton";
605
- svgIconKey: string;
606
- link: string;
607
- text: Record<string, string>;
608
- }[];
609
- }[];
610
- svgIconKey?: string | undefined;
611
- }[];
612
- }, {
613
- svgIconKey: string;
614
- displayName: Record<string, string>;
615
- apps: {
616
- name: string;
617
- featured: boolean;
618
- blocks: {
619
- svgIconKey: string;
620
- svgIconColor: string;
621
- title: Record<string, string>;
622
- description: Record<string, string>;
623
- buttons: {
624
- type: "external" | "subscriptionLink" | "copyButton";
625
- svgIconKey: string;
626
- link: string;
627
- text: Record<string, string>;
628
- }[];
629
- }[];
630
- svgIconKey?: string | undefined;
631
- }[];
632
- }>>;
633
- }, "strip", z.ZodTypeAny, {
634
- platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
635
- svgIconKey: string;
636
- displayName: Record<string, string>;
637
- apps: {
638
- name: string;
639
- featured: boolean;
640
- blocks: {
641
- svgIconKey: string;
642
- svgIconColor: string;
643
- title: Record<string, string>;
644
- description: Record<string, string>;
645
- buttons: {
646
- type: "external" | "subscriptionLink" | "copyButton";
647
- svgIconKey: string;
648
- link: string;
649
- text: Record<string, string>;
650
- }[];
651
- }[];
652
- svgIconKey?: string | undefined;
653
- }[];
654
- }>>;
655
- baseTranslations: {
656
- unknown: Record<string, string>;
657
- status: Record<string, string>;
658
- name: Record<string, string>;
659
- installationGuideHeader: Record<string, string>;
660
- connectionKeysHeader: Record<string, string>;
661
- linkCopied: Record<string, string>;
662
- linkCopiedToClipboard: Record<string, string>;
663
- getLink: Record<string, string>;
664
- scanQrCode: Record<string, string>;
665
- scanQrCodeDescription: Record<string, string>;
666
- copyLink: Record<string, string>;
667
- active: Record<string, string>;
668
- inactive: Record<string, string>;
669
- expires: Record<string, string>;
670
- bandwidth: Record<string, string>;
671
- scanToImport: Record<string, string>;
672
- expiresIn: Record<string, string>;
673
- expired: Record<string, string>;
674
- indefinitely: Record<string, string>;
675
- };
676
- version: "1";
677
- locales: ("en" | "ru" | "zh" | "fr" | "fa" | "uz" | "de" | "hi" | "tr" | "az" | "es" | "vi" | "ja" | "be" | "uk" | "pt" | "pl" | "id" | "tk" | "th")[];
678
- brandingSettings: {
679
- title: string;
680
- logoUrl: string;
681
- supportUrl: string;
682
- };
683
- uiConfig: {
684
- subscriptionInfoBlockType: "collapsed" | "expanded" | "cards" | "hidden";
685
- installationGuidesBlockType: "cards" | "accordion" | "minimal" | "timeline";
686
- };
687
- baseSettings: {
688
- metaTitle: string;
689
- metaDescription: string;
690
- showConnectionKeys: boolean;
691
- hideGetLinkButton: boolean;
692
- };
693
- svgLibrary: Record<string, string>;
694
- }, {
695
- platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
696
- svgIconKey: string;
697
- displayName: Record<string, string>;
698
- apps: {
699
- name: string;
700
- featured: boolean;
701
- blocks: {
702
- svgIconKey: string;
703
- svgIconColor: string;
704
- title: Record<string, string>;
705
- description: Record<string, string>;
706
- buttons: {
707
- type: "external" | "subscriptionLink" | "copyButton";
708
- svgIconKey: string;
709
- link: string;
710
- text: Record<string, string>;
711
- }[];
712
- }[];
713
- svgIconKey?: string | undefined;
714
- }[];
715
- }>>;
716
- baseTranslations: {
717
- unknown: Record<string, string>;
718
- status: Record<string, string>;
719
- name: Record<string, string>;
720
- installationGuideHeader: Record<string, string>;
721
- connectionKeysHeader: Record<string, string>;
722
- linkCopied: Record<string, string>;
723
- linkCopiedToClipboard: Record<string, string>;
724
- getLink: Record<string, string>;
725
- scanQrCode: Record<string, string>;
726
- scanQrCodeDescription: Record<string, string>;
727
- copyLink: Record<string, string>;
728
- active: Record<string, string>;
729
- inactive: Record<string, string>;
730
- expires: Record<string, string>;
731
- bandwidth: Record<string, string>;
732
- scanToImport: Record<string, string>;
733
- expiresIn: Record<string, string>;
734
- expired: Record<string, string>;
735
- indefinitely: Record<string, string>;
736
- };
737
- version: "1";
738
- locales: ("en" | "ru" | "zh" | "fr" | "fa" | "uz" | "de" | "hi" | "tr" | "az" | "es" | "vi" | "ja" | "be" | "uk" | "pt" | "pl" | "id" | "tk" | "th")[];
739
- brandingSettings: {
740
- title: string;
741
- logoUrl: string;
742
- supportUrl: string;
743
- };
744
- uiConfig: {
745
- subscriptionInfoBlockType: "collapsed" | "expanded" | "cards" | "hidden";
746
- installationGuidesBlockType: "cards" | "accordion" | "minimal" | "timeline";
747
- };
748
- svgLibrary: Record<string, string>;
749
- baseSettings?: {
750
- metaTitle?: string | undefined;
751
- metaDescription?: string | undefined;
752
- showConnectionKeys?: boolean | undefined;
753
- hideGetLinkButton?: boolean | undefined;
754
- } | undefined;
755
- }>, {
756
- platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
757
- svgIconKey: string;
758
- displayName: Record<string, string>;
759
- apps: {
760
- name: string;
761
- featured: boolean;
762
- blocks: {
763
- svgIconKey: string;
764
- svgIconColor: string;
765
- title: Record<string, string>;
766
- description: Record<string, string>;
767
- buttons: {
768
- type: "external" | "subscriptionLink" | "copyButton";
769
- svgIconKey: string;
770
- link: string;
771
- text: Record<string, string>;
772
- }[];
773
- }[];
774
- svgIconKey?: string | undefined;
775
- }[];
776
- }>>;
777
- baseTranslations: {
778
- unknown: Record<string, string>;
779
- status: Record<string, string>;
780
- name: Record<string, string>;
781
- installationGuideHeader: Record<string, string>;
782
- connectionKeysHeader: Record<string, string>;
783
- linkCopied: Record<string, string>;
784
- linkCopiedToClipboard: Record<string, string>;
785
- getLink: Record<string, string>;
786
- scanQrCode: Record<string, string>;
787
- scanQrCodeDescription: Record<string, string>;
788
- copyLink: Record<string, string>;
789
- active: Record<string, string>;
790
- inactive: Record<string, string>;
791
- expires: Record<string, string>;
792
- bandwidth: Record<string, string>;
793
- scanToImport: Record<string, string>;
794
- expiresIn: Record<string, string>;
795
- expired: Record<string, string>;
796
- indefinitely: Record<string, string>;
797
- };
798
- version: "1";
799
- locales: ("en" | "ru" | "zh" | "fr" | "fa" | "uz" | "de" | "hi" | "tr" | "az" | "es" | "vi" | "ja" | "be" | "uk" | "pt" | "pl" | "id" | "tk" | "th")[];
800
- brandingSettings: {
801
- title: string;
802
- logoUrl: string;
803
- supportUrl: string;
804
- };
805
- uiConfig: {
806
- subscriptionInfoBlockType: "collapsed" | "expanded" | "cards" | "hidden";
807
- installationGuidesBlockType: "cards" | "accordion" | "minimal" | "timeline";
808
- };
809
- baseSettings: {
810
- metaTitle: string;
811
- metaDescription: string;
812
- showConnectionKeys: boolean;
813
- hideGetLinkButton: boolean;
814
- };
815
- svgLibrary: Record<string, string>;
816
- }, {
817
- platforms: Partial<Record<"ios" | "android" | "linux" | "macos" | "windows" | "androidTV" | "appleTV", {
818
- svgIconKey: string;
819
- displayName: Record<string, string>;
820
- apps: {
821
- name: string;
822
- featured: boolean;
823
- blocks: {
824
- svgIconKey: string;
825
- svgIconColor: string;
826
- title: Record<string, string>;
827
- description: Record<string, string>;
828
- buttons: {
829
- type: "external" | "subscriptionLink" | "copyButton";
830
- svgIconKey: string;
831
- link: string;
832
- text: Record<string, string>;
833
- }[];
834
- }[];
835
- svgIconKey?: string | undefined;
836
- }[];
837
- }>>;
838
- baseTranslations: {
839
- unknown: Record<string, string>;
840
- status: Record<string, string>;
841
- name: Record<string, string>;
842
- installationGuideHeader: Record<string, string>;
843
- connectionKeysHeader: Record<string, string>;
844
- linkCopied: Record<string, string>;
845
- linkCopiedToClipboard: Record<string, string>;
846
- getLink: Record<string, string>;
847
- scanQrCode: Record<string, string>;
848
- scanQrCodeDescription: Record<string, string>;
849
- copyLink: Record<string, string>;
850
- active: Record<string, string>;
851
- inactive: Record<string, string>;
852
- expires: Record<string, string>;
853
- bandwidth: Record<string, string>;
854
- scanToImport: Record<string, string>;
855
- expiresIn: Record<string, string>;
856
- expired: Record<string, string>;
857
- indefinitely: Record<string, string>;
858
- };
859
- version: "1";
860
- locales: ("en" | "ru" | "zh" | "fr" | "fa" | "uz" | "de" | "hi" | "tr" | "az" | "es" | "vi" | "ja" | "be" | "uk" | "pt" | "pl" | "id" | "tk" | "th")[];
861
- brandingSettings: {
862
- title: string;
863
- logoUrl: string;
864
- supportUrl: string;
865
- };
866
- uiConfig: {
867
- subscriptionInfoBlockType: "collapsed" | "expanded" | "cards" | "hidden";
868
- installationGuidesBlockType: "cards" | "accordion" | "minimal" | "timeline";
869
- };
870
- svgLibrary: Record<string, string>;
871
- baseSettings?: {
872
- metaTitle?: string | undefined;
873
- metaDescription?: string | undefined;
874
- showConnectionKeys?: boolean | undefined;
875
- hideGetLinkButton?: boolean | undefined;
876
- } | undefined;
877
- }>;
218
+ }, z.core.$strip>>;
219
+ }, z.core.$strip>>;
220
+ }, z.core.$strip>>;
221
+ }, z.core.$strip>>;
222
+ }, z.core.$strip>;
878
223
  export type TSubscriptionPageSvgLibrary = z.infer<typeof SvgLibrarySchema>;
879
224
  export type TSubscriptionPageRawConfig = z.infer<typeof SubscriptionPageRawConfigSchema>;
880
225
  export type TSubscriptionPageBrandingSettings = z.infer<typeof BrandingSettingsSchema>;
@@ -1 +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;AAgBH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EActC,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"}
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,uCAInB,CAAC;AAEP,QAAA,MAAM,gBAAgB,uCAKrB,CAAC;AAEF,QAAA,MAAM,YAAY;;;;;;;;;iBAKhB,CAAC;AAEH,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;iBA6Bf,CAAC;AAEH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;iBAKrB,CAAC;AAEH,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;iBAIlB,CAAC;AAEH,QAAA,MAAM,sBAAsB;;;;iBAI1B,CAAC;AAEH,QAAA,MAAM,cAAc;;;;;;;;;;;;;iBAGlB,CAAC;AAEH,QAAA,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;iBAoBvC,CAAC;AAgBH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBActC,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"}
@@ -7,12 +7,14 @@ const subscription_page_config_validator_1 = require("./subscription-page-config
7
7
  const LocalizedTextSchema = zod_1.z
8
8
  .record(zod_1.z.string().regex(/^[a-z]{2}$/, 'Language code must be 2 lowercase letters'), zod_1.z.string())
9
9
  .refine((obj) => Object.keys(obj).length > 0, {
10
- message: 'At least one language must be specified',
10
+ error: 'At least one language must be specified',
11
11
  });
12
- const SvgLibrarySchema = zod_1.z.record(zod_1.z.string().regex(/^[A-Za-z]+$/, { message: 'Only latin characters, no spaces allowed' }), zod_1.z.string());
12
+ const SvgLibrarySchema = zod_1.z.record(zod_1.z.string().regex(/^[A-Za-z]+$/, {
13
+ error: 'Only latin characters, no spaces allowed',
14
+ }), zod_1.z.string());
13
15
  const ButtonSchema = zod_1.z.object({
14
16
  link: zod_1.z.string(),
15
- type: zod_1.z.nativeEnum(constants_1.BUTTON_TYPES),
17
+ type: zod_1.z.enum(constants_1.BUTTON_TYPES),
16
18
  text: LocalizedTextSchema,
17
19
  svgIconKey: zod_1.z.string(),
18
20
  });
@@ -36,7 +38,7 @@ const BlockSchema = zod_1.z.object({
36
38
  'violet',
37
39
  'yellow',
38
40
  ].includes(value) || /^#[0-9a-fA-F]{3,8}$/.test(value), {
39
- message: 'svgIconColor must be one of the predefined colors or a hex color beginning with #',
41
+ error: 'svgIconColor must be one of the predefined colors or a hex color beginning with #',
40
42
  }),
41
43
  title: LocalizedTextSchema,
42
44
  description: LocalizedTextSchema,
@@ -56,11 +58,11 @@ const PlatformSchema = zod_1.z.object({
56
58
  const BrandingSettingsSchema = zod_1.z.object({
57
59
  title: zod_1.z.string(),
58
60
  logoUrl: zod_1.z.string(),
59
- supportUrl: zod_1.z.string().url(),
61
+ supportUrl: zod_1.z.url(),
60
62
  });
61
63
  const UiConfigSchema = zod_1.z.object({
62
- subscriptionInfoBlockType: zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_INFO_BLOCK_VARIANTS),
63
- installationGuidesBlockType: zod_1.z.nativeEnum(constants_1.INSTALLATION_GUIDE_BLOCKS_VARIANTS),
64
+ subscriptionInfoBlockType: zod_1.z.enum(constants_1.SUBSCRIPTION_INFO_BLOCK_VARIANTS),
65
+ installationGuidesBlockType: zod_1.z.enum(constants_1.INSTALLATION_GUIDE_BLOCKS_VARIANTS),
64
66
  });
65
67
  const SubscriptionPageTranslateKeysSchema = zod_1.z.object({
66
68
  installationGuideHeader: LocalizedTextSchema,
@@ -98,14 +100,14 @@ const BaseSettingsSchema = zod_1.z
98
100
  });
99
101
  exports.SubscriptionPageRawConfigSchema = zod_1.z
100
102
  .object({
101
- version: zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_PAGE_CONFIG_VERSION),
103
+ version: zod_1.z.enum(constants_1.SUBSCRIPTION_PAGE_CONFIG_VERSION),
102
104
  locales: zod_1.z.array(zod_1.z.enum(constants_1.LANGUAGE_CODES)).min(1, 'At least one locale must be specified'),
103
105
  brandingSettings: BrandingSettingsSchema,
104
106
  uiConfig: UiConfigSchema,
105
107
  baseSettings: BaseSettingsSchema,
106
108
  baseTranslations: SubscriptionPageTranslateKeysSchema,
107
109
  svgLibrary: SvgLibrarySchema,
108
- platforms: zod_1.z.record(zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_PAGE_CONFIG_PLATFORM_TYPES), PlatformSchema),
110
+ platforms: zod_1.z.partialRecord(zod_1.z.enum(constants_1.SUBSCRIPTION_PAGE_CONFIG_PLATFORM_TYPES), PlatformSchema),
109
111
  })
110
112
  .superRefine((data, ctx) => {
111
113
  (0, subscription_page_config_validator_1.validateLocalizedTexts)(data, data.locales, ctx);
@@ -1 +1 @@
1
- {"version":3,"file":"subscription-page-config.validator.d.ts","sourceRoot":"","sources":["../../../models/subscription-page-config.validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,6BAA6B,EAAkB,MAAM,cAAc,CAAC;AAc7E,eAAO,MAAM,sBAAsB,GAC/B,MAAM;IACF,OAAO,EAAE,6BAA6B,EAAE,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,QAAQ,EAAE,OAAO,CAAC;IAClB,gBAAgB,EAAE,OAAO,CAAC;CAC7B,EACD,iBAAiB,6BAA6B,EAAE,EAChD,KAAK,CAAC,CAAC,aAAa,KACrB,IAkCF,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAC9B,MAAM;IAAE,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAAE,EAChF,KAAK,CAAC,CAAC,aAAa,KACrB,IAwBF,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,CAAC,EACjC,KAAK,CAAC,EACN,eAAe,6BAA6B,EAAE,KAC/C,CA2BF,CAAC"}
1
+ {"version":3,"file":"subscription-page-config.validator.d.ts","sourceRoot":"","sources":["../../../models/subscription-page-config.validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,6BAA6B,EAAkB,MAAM,cAAc,CAAC;AAc7E,eAAO,MAAM,sBAAsB,GAC/B,MAAM;IACF,OAAO,EAAE,6BAA6B,EAAE,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,QAAQ,EAAE,OAAO,CAAC;IAClB,gBAAgB,EAAE,OAAO,CAAC;CAC7B,EACD,iBAAiB,6BAA6B,EAAE,EAChD,KAAK,CAAC,CAAC,aAAa,KACrB,IAmCF,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAC9B,MAAM;IAAE,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAAE,EAChF,KAAK,CAAC,CAAC,aAAa,KACrB,IAyBF,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,CAAC,EACjC,KAAK,CAAC,EACN,eAAe,6BAA6B,EAAE,KAC/C,CA2BF,CAAC"}
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.cleanLocalizedTexts = exports.validateSvgReferences = exports.validateLocalizedTexts = void 0;
4
- const zod_1 = require("zod");
5
4
  const constants_1 = require("../constants");
6
5
  const isLocalizedText = (obj) => {
7
6
  if (obj === null || typeof obj !== 'object' || Array.isArray(obj))
@@ -21,8 +20,9 @@ const validateLocalizedTexts = (data, requiredLocales, ctx) => {
21
20
  for (const locale of requiredLocales) {
22
21
  const value = obj[locale];
23
22
  if (!value || value.trim() === '') {
24
- ctx.addIssue({
25
- code: zod_1.z.ZodIssueCode.custom,
23
+ ctx.issues.push({
24
+ input: obj,
25
+ code: 'custom',
26
26
  message: `Missing required locale '${locale}' at ${path}`,
27
27
  path: [path, locale],
28
28
  });
@@ -54,8 +54,9 @@ const validateSvgReferences = (data, ctx) => {
54
54
  for (const [key, value] of Object.entries(obj)) {
55
55
  if (key === 'svgIconKey' && typeof value === 'string') {
56
56
  if (!validKeys.has(value)) {
57
- ctx.addIssue({
58
- code: zod_1.z.ZodIssueCode.custom,
57
+ ctx.issues.push({
58
+ input: obj,
59
+ code: 'custom',
59
60
  message: `Unknown svgIconKey '${value}' at ${path}.${key}. Available: ${[...validKeys].join(', ')}`,
60
61
  path: [path, key],
61
62
  });
@@ -6,4 +6,5 @@ exports.SUBSCRIPTION_PAGE_TEMPLATE_KEYS = [
6
6
  'SUBSCRIPTION_LINK',
7
7
  'HAPP_CRYPT3_LINK',
8
8
  'HAPP_CRYPT4_LINK',
9
+ 'INCY_CRYPT1_LINK',
9
10
  ];
@@ -7,12 +7,14 @@ const subscription_page_config_validator_1 = require("./subscription-page-config
7
7
  const LocalizedTextSchema = zod_1.z
8
8
  .record(zod_1.z.string().regex(/^[a-z]{2}$/, 'Language code must be 2 lowercase letters'), zod_1.z.string())
9
9
  .refine((obj) => Object.keys(obj).length > 0, {
10
- message: 'At least one language must be specified',
10
+ error: 'At least one language must be specified',
11
11
  });
12
- const SvgLibrarySchema = zod_1.z.record(zod_1.z.string().regex(/^[A-Za-z]+$/, { message: 'Only latin characters, no spaces allowed' }), zod_1.z.string());
12
+ const SvgLibrarySchema = zod_1.z.record(zod_1.z.string().regex(/^[A-Za-z]+$/, {
13
+ error: 'Only latin characters, no spaces allowed',
14
+ }), zod_1.z.string());
13
15
  const ButtonSchema = zod_1.z.object({
14
16
  link: zod_1.z.string(),
15
- type: zod_1.z.nativeEnum(constants_1.BUTTON_TYPES),
17
+ type: zod_1.z.enum(constants_1.BUTTON_TYPES),
16
18
  text: LocalizedTextSchema,
17
19
  svgIconKey: zod_1.z.string(),
18
20
  });
@@ -36,7 +38,7 @@ const BlockSchema = zod_1.z.object({
36
38
  'violet',
37
39
  'yellow',
38
40
  ].includes(value) || /^#[0-9a-fA-F]{3,8}$/.test(value), {
39
- message: 'svgIconColor must be one of the predefined colors or a hex color beginning with #',
41
+ error: 'svgIconColor must be one of the predefined colors or a hex color beginning with #',
40
42
  }),
41
43
  title: LocalizedTextSchema,
42
44
  description: LocalizedTextSchema,
@@ -56,11 +58,11 @@ const PlatformSchema = zod_1.z.object({
56
58
  const BrandingSettingsSchema = zod_1.z.object({
57
59
  title: zod_1.z.string(),
58
60
  logoUrl: zod_1.z.string(),
59
- supportUrl: zod_1.z.string().url(),
61
+ supportUrl: zod_1.z.url(),
60
62
  });
61
63
  const UiConfigSchema = zod_1.z.object({
62
- subscriptionInfoBlockType: zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_INFO_BLOCK_VARIANTS),
63
- installationGuidesBlockType: zod_1.z.nativeEnum(constants_1.INSTALLATION_GUIDE_BLOCKS_VARIANTS),
64
+ subscriptionInfoBlockType: zod_1.z.enum(constants_1.SUBSCRIPTION_INFO_BLOCK_VARIANTS),
65
+ installationGuidesBlockType: zod_1.z.enum(constants_1.INSTALLATION_GUIDE_BLOCKS_VARIANTS),
64
66
  });
65
67
  const SubscriptionPageTranslateKeysSchema = zod_1.z.object({
66
68
  installationGuideHeader: LocalizedTextSchema,
@@ -98,14 +100,14 @@ const BaseSettingsSchema = zod_1.z
98
100
  });
99
101
  exports.SubscriptionPageRawConfigSchema = zod_1.z
100
102
  .object({
101
- version: zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_PAGE_CONFIG_VERSION),
103
+ version: zod_1.z.enum(constants_1.SUBSCRIPTION_PAGE_CONFIG_VERSION),
102
104
  locales: zod_1.z.array(zod_1.z.enum(constants_1.LANGUAGE_CODES)).min(1, 'At least one locale must be specified'),
103
105
  brandingSettings: BrandingSettingsSchema,
104
106
  uiConfig: UiConfigSchema,
105
107
  baseSettings: BaseSettingsSchema,
106
108
  baseTranslations: SubscriptionPageTranslateKeysSchema,
107
109
  svgLibrary: SvgLibrarySchema,
108
- platforms: zod_1.z.record(zod_1.z.nativeEnum(constants_1.SUBSCRIPTION_PAGE_CONFIG_PLATFORM_TYPES), PlatformSchema),
110
+ platforms: zod_1.z.partialRecord(zod_1.z.enum(constants_1.SUBSCRIPTION_PAGE_CONFIG_PLATFORM_TYPES), PlatformSchema),
109
111
  })
110
112
  .superRefine((data, ctx) => {
111
113
  (0, subscription_page_config_validator_1.validateLocalizedTexts)(data, data.locales, ctx);
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.cleanLocalizedTexts = exports.validateSvgReferences = exports.validateLocalizedTexts = void 0;
4
- const zod_1 = require("zod");
5
4
  const constants_1 = require("../constants");
6
5
  const isLocalizedText = (obj) => {
7
6
  if (obj === null || typeof obj !== 'object' || Array.isArray(obj))
@@ -21,8 +20,9 @@ const validateLocalizedTexts = (data, requiredLocales, ctx) => {
21
20
  for (const locale of requiredLocales) {
22
21
  const value = obj[locale];
23
22
  if (!value || value.trim() === '') {
24
- ctx.addIssue({
25
- code: zod_1.z.ZodIssueCode.custom,
23
+ ctx.issues.push({
24
+ input: obj,
25
+ code: 'custom',
26
26
  message: `Missing required locale '${locale}' at ${path}`,
27
27
  path: [path, locale],
28
28
  });
@@ -54,8 +54,9 @@ const validateSvgReferences = (data, ctx) => {
54
54
  for (const [key, value] of Object.entries(obj)) {
55
55
  if (key === 'svgIconKey' && typeof value === 'string') {
56
56
  if (!validKeys.has(value)) {
57
- ctx.addIssue({
58
- code: zod_1.z.ZodIssueCode.custom,
57
+ ctx.issues.push({
58
+ input: obj,
59
+ code: 'custom',
59
60
  message: `Unknown svgIconKey '${value}' at ${path}.${key}. Available: ${[...validKeys].join(', ')}`,
60
61
  path: [path, key],
61
62
  });
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@remnawave/subscription-page-types",
3
- "version": "0.4.0",
4
- "public": true,
5
- "license": "AGPL-3.0-only",
3
+ "version": "0.5.1",
6
4
  "description": "A types library for Remnawave Subscription Page.",
7
- "author": "REMNAWAVE <github.com/remnawave>",
5
+ "keywords": [],
8
6
  "homepage": "https://github.com/remnawave",
7
+ "bugs": {
8
+ "url": "https://github.com/remnawave/backend/issues"
9
+ },
10
+ "license": "AGPL-3.0-only",
11
+ "author": "REMNAWAVE <github.com/remnawave>",
9
12
  "repository": {
10
13
  "type": "git",
11
14
  "url": "git+https://github.com/remnawave/backend.git"
12
15
  },
13
- "bugs": {
14
- "url": "https://github.com/remnawave/backend/issues"
15
- },
16
- "main": "build/backend/index.js",
17
- "browser": "build/frontend/index.js",
18
- "types": "build/backend/index.d.ts",
19
16
  "files": [
20
17
  "build/**/*"
21
18
  ],
19
+ "main": "build/backend/index.js",
20
+ "browser": "build/frontend/index.js",
21
+ "types": "build/backend/index.d.ts",
22
22
  "scripts": {
23
23
  "clean": "rm -rf build",
24
24
  "build:backend": "tsc -p tsconfig.backend.json",
@@ -26,8 +26,8 @@
26
26
  "build": "npm run clean && npm run build:backend && npm run build:frontend",
27
27
  "prepublish": "npm run build"
28
28
  },
29
- "keywords": [],
30
29
  "dependencies": {
31
- "zod": "3.25.76"
32
- }
33
- }
30
+ "zod": "4.4.3"
31
+ },
32
+ "public": true
33
+ }