@remnawave/subscription-page-types 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,9 @@
1
1
  export declare const BUTTON_TYPES: {
2
2
  readonly EXTERNAL: "external";
3
3
  readonly SUBSCRIPTION_LINK: "subscriptionLink";
4
+ readonly COPY_BUTTON: "copyButton";
4
5
  };
5
6
  export type TButtonType = (typeof BUTTON_TYPES)[keyof typeof BUTTON_TYPES];
6
- export declare const BUTTON_TYPES_VALUES: ("external" | "subscriptionLink")[];
7
+ export declare const BUTTON_TYPES_VALUES: ("external" | "subscriptionLink" | "copyButton")[];
7
8
  export declare const isButtonType: (value: string) => value is TButtonType;
8
9
  //# sourceMappingURL=button-types.constant.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button-types.constant.d.ts","sourceRoot":"","sources":["../../../constants/button-types.constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;CAGf,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE3E,eAAO,MAAM,mBAAmB,qCAA8B,CAAC;AAE/D,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,KAAG,KAAK,IAAI,WAErD,CAAC"}
1
+ {"version":3,"file":"button-types.constant.d.ts","sourceRoot":"","sources":["../../../constants/button-types.constant.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;CAIf,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE3E,eAAO,MAAM,mBAAmB,oDAA8B,CAAC;AAE/D,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,KAAG,KAAK,IAAI,WAErD,CAAC"}
@@ -4,6 +4,7 @@ exports.isButtonType = exports.BUTTON_TYPES_VALUES = exports.BUTTON_TYPES = void
4
4
  exports.BUTTON_TYPES = {
5
5
  EXTERNAL: 'external',
6
6
  SUBSCRIPTION_LINK: 'subscriptionLink',
7
+ COPY_BUTTON: 'copyButton',
7
8
  };
8
9
  exports.BUTTON_TYPES_VALUES = Object.values(exports.BUTTON_TYPES);
9
10
  const isButtonType = (value) => {
@@ -6,16 +6,17 @@ declare const ButtonSchema: z.ZodObject<{
6
6
  type: z.ZodNativeEnum<{
7
7
  readonly EXTERNAL: "external";
8
8
  readonly SUBSCRIPTION_LINK: "subscriptionLink";
9
+ readonly COPY_BUTTON: "copyButton";
9
10
  }>;
10
11
  text: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
11
12
  svgIconKey: z.ZodString;
12
13
  }, "strip", z.ZodTypeAny, {
13
- type: "external" | "subscriptionLink";
14
+ type: "external" | "subscriptionLink" | "copyButton";
14
15
  svgIconKey: string;
15
16
  link: string;
16
17
  text: Record<string, string>;
17
18
  }, {
18
- type: "external" | "subscriptionLink";
19
+ type: "external" | "subscriptionLink" | "copyButton";
19
20
  svgIconKey: string;
20
21
  link: string;
21
22
  text: Record<string, string>;
@@ -30,16 +31,17 @@ declare const BlockSchema: z.ZodObject<{
30
31
  type: z.ZodNativeEnum<{
31
32
  readonly EXTERNAL: "external";
32
33
  readonly SUBSCRIPTION_LINK: "subscriptionLink";
34
+ readonly COPY_BUTTON: "copyButton";
33
35
  }>;
34
36
  text: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
35
37
  svgIconKey: z.ZodString;
36
38
  }, "strip", z.ZodTypeAny, {
37
- type: "external" | "subscriptionLink";
39
+ type: "external" | "subscriptionLink" | "copyButton";
38
40
  svgIconKey: string;
39
41
  link: string;
40
42
  text: Record<string, string>;
41
43
  }, {
42
- type: "external" | "subscriptionLink";
44
+ type: "external" | "subscriptionLink" | "copyButton";
43
45
  svgIconKey: string;
44
46
  link: string;
45
47
  text: Record<string, string>;
@@ -50,7 +52,7 @@ declare const BlockSchema: z.ZodObject<{
50
52
  title: Record<string, string>;
51
53
  description: Record<string, string>;
52
54
  buttons: {
53
- type: "external" | "subscriptionLink";
55
+ type: "external" | "subscriptionLink" | "copyButton";
54
56
  svgIconKey: string;
55
57
  link: string;
56
58
  text: Record<string, string>;
@@ -61,7 +63,7 @@ declare const BlockSchema: z.ZodObject<{
61
63
  title: Record<string, string>;
62
64
  description: Record<string, string>;
63
65
  buttons: {
64
- type: "external" | "subscriptionLink";
66
+ type: "external" | "subscriptionLink" | "copyButton";
65
67
  svgIconKey: string;
66
68
  link: string;
67
69
  text: Record<string, string>;
@@ -81,16 +83,17 @@ declare const PlatformAppSchema: z.ZodObject<{
81
83
  type: z.ZodNativeEnum<{
82
84
  readonly EXTERNAL: "external";
83
85
  readonly SUBSCRIPTION_LINK: "subscriptionLink";
86
+ readonly COPY_BUTTON: "copyButton";
84
87
  }>;
85
88
  text: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
86
89
  svgIconKey: z.ZodString;
87
90
  }, "strip", z.ZodTypeAny, {
88
- type: "external" | "subscriptionLink";
91
+ type: "external" | "subscriptionLink" | "copyButton";
89
92
  svgIconKey: string;
90
93
  link: string;
91
94
  text: Record<string, string>;
92
95
  }, {
93
- type: "external" | "subscriptionLink";
96
+ type: "external" | "subscriptionLink" | "copyButton";
94
97
  svgIconKey: string;
95
98
  link: string;
96
99
  text: Record<string, string>;
@@ -101,7 +104,7 @@ declare const PlatformAppSchema: z.ZodObject<{
101
104
  title: Record<string, string>;
102
105
  description: Record<string, string>;
103
106
  buttons: {
104
- type: "external" | "subscriptionLink";
107
+ type: "external" | "subscriptionLink" | "copyButton";
105
108
  svgIconKey: string;
106
109
  link: string;
107
110
  text: Record<string, string>;
@@ -112,7 +115,7 @@ declare const PlatformAppSchema: z.ZodObject<{
112
115
  title: Record<string, string>;
113
116
  description: Record<string, string>;
114
117
  buttons: {
115
- type: "external" | "subscriptionLink";
118
+ type: "external" | "subscriptionLink" | "copyButton";
116
119
  svgIconKey: string;
117
120
  link: string;
118
121
  text: Record<string, string>;
@@ -127,7 +130,7 @@ declare const PlatformAppSchema: z.ZodObject<{
127
130
  title: Record<string, string>;
128
131
  description: Record<string, string>;
129
132
  buttons: {
130
- type: "external" | "subscriptionLink";
133
+ type: "external" | "subscriptionLink" | "copyButton";
131
134
  svgIconKey: string;
132
135
  link: string;
133
136
  text: Record<string, string>;
@@ -143,7 +146,7 @@ declare const PlatformAppSchema: z.ZodObject<{
143
146
  title: Record<string, string>;
144
147
  description: Record<string, string>;
145
148
  buttons: {
146
- type: "external" | "subscriptionLink";
149
+ type: "external" | "subscriptionLink" | "copyButton";
147
150
  svgIconKey: string;
148
151
  link: string;
149
152
  text: Record<string, string>;
@@ -168,16 +171,17 @@ declare const PlatformSchema: z.ZodObject<{
168
171
  type: z.ZodNativeEnum<{
169
172
  readonly EXTERNAL: "external";
170
173
  readonly SUBSCRIPTION_LINK: "subscriptionLink";
174
+ readonly COPY_BUTTON: "copyButton";
171
175
  }>;
172
176
  text: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
173
177
  svgIconKey: z.ZodString;
174
178
  }, "strip", z.ZodTypeAny, {
175
- type: "external" | "subscriptionLink";
179
+ type: "external" | "subscriptionLink" | "copyButton";
176
180
  svgIconKey: string;
177
181
  link: string;
178
182
  text: Record<string, string>;
179
183
  }, {
180
- type: "external" | "subscriptionLink";
184
+ type: "external" | "subscriptionLink" | "copyButton";
181
185
  svgIconKey: string;
182
186
  link: string;
183
187
  text: Record<string, string>;
@@ -188,7 +192,7 @@ declare const PlatformSchema: z.ZodObject<{
188
192
  title: Record<string, string>;
189
193
  description: Record<string, string>;
190
194
  buttons: {
191
- type: "external" | "subscriptionLink";
195
+ type: "external" | "subscriptionLink" | "copyButton";
192
196
  svgIconKey: string;
193
197
  link: string;
194
198
  text: Record<string, string>;
@@ -199,7 +203,7 @@ declare const PlatformSchema: z.ZodObject<{
199
203
  title: Record<string, string>;
200
204
  description: Record<string, string>;
201
205
  buttons: {
202
- type: "external" | "subscriptionLink";
206
+ type: "external" | "subscriptionLink" | "copyButton";
203
207
  svgIconKey: string;
204
208
  link: string;
205
209
  text: Record<string, string>;
@@ -214,7 +218,7 @@ declare const PlatformSchema: z.ZodObject<{
214
218
  title: Record<string, string>;
215
219
  description: Record<string, string>;
216
220
  buttons: {
217
- type: "external" | "subscriptionLink";
221
+ type: "external" | "subscriptionLink" | "copyButton";
218
222
  svgIconKey: string;
219
223
  link: string;
220
224
  text: Record<string, string>;
@@ -230,7 +234,7 @@ declare const PlatformSchema: z.ZodObject<{
230
234
  title: Record<string, string>;
231
235
  description: Record<string, string>;
232
236
  buttons: {
233
- type: "external" | "subscriptionLink";
237
+ type: "external" | "subscriptionLink" | "copyButton";
234
238
  svgIconKey: string;
235
239
  link: string;
236
240
  text: Record<string, string>;
@@ -250,7 +254,7 @@ declare const PlatformSchema: z.ZodObject<{
250
254
  title: Record<string, string>;
251
255
  description: Record<string, string>;
252
256
  buttons: {
253
- type: "external" | "subscriptionLink";
257
+ type: "external" | "subscriptionLink" | "copyButton";
254
258
  svgIconKey: string;
255
259
  link: string;
256
260
  text: Record<string, string>;
@@ -270,7 +274,7 @@ declare const PlatformSchema: z.ZodObject<{
270
274
  title: Record<string, string>;
271
275
  description: Record<string, string>;
272
276
  buttons: {
273
- type: "external" | "subscriptionLink";
277
+ type: "external" | "subscriptionLink" | "copyButton";
274
278
  svgIconKey: string;
275
279
  link: string;
276
280
  text: Record<string, string>;
@@ -511,16 +515,17 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
511
515
  type: z.ZodNativeEnum<{
512
516
  readonly EXTERNAL: "external";
513
517
  readonly SUBSCRIPTION_LINK: "subscriptionLink";
518
+ readonly COPY_BUTTON: "copyButton";
514
519
  }>;
515
520
  text: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>;
516
521
  svgIconKey: z.ZodString;
517
522
  }, "strip", z.ZodTypeAny, {
518
- type: "external" | "subscriptionLink";
523
+ type: "external" | "subscriptionLink" | "copyButton";
519
524
  svgIconKey: string;
520
525
  link: string;
521
526
  text: Record<string, string>;
522
527
  }, {
523
- type: "external" | "subscriptionLink";
528
+ type: "external" | "subscriptionLink" | "copyButton";
524
529
  svgIconKey: string;
525
530
  link: string;
526
531
  text: Record<string, string>;
@@ -531,7 +536,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
531
536
  title: Record<string, string>;
532
537
  description: Record<string, string>;
533
538
  buttons: {
534
- type: "external" | "subscriptionLink";
539
+ type: "external" | "subscriptionLink" | "copyButton";
535
540
  svgIconKey: string;
536
541
  link: string;
537
542
  text: Record<string, string>;
@@ -542,7 +547,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
542
547
  title: Record<string, string>;
543
548
  description: Record<string, string>;
544
549
  buttons: {
545
- type: "external" | "subscriptionLink";
550
+ type: "external" | "subscriptionLink" | "copyButton";
546
551
  svgIconKey: string;
547
552
  link: string;
548
553
  text: Record<string, string>;
@@ -557,7 +562,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
557
562
  title: Record<string, string>;
558
563
  description: Record<string, string>;
559
564
  buttons: {
560
- type: "external" | "subscriptionLink";
565
+ type: "external" | "subscriptionLink" | "copyButton";
561
566
  svgIconKey: string;
562
567
  link: string;
563
568
  text: Record<string, string>;
@@ -573,7 +578,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
573
578
  title: Record<string, string>;
574
579
  description: Record<string, string>;
575
580
  buttons: {
576
- type: "external" | "subscriptionLink";
581
+ type: "external" | "subscriptionLink" | "copyButton";
577
582
  svgIconKey: string;
578
583
  link: string;
579
584
  text: Record<string, string>;
@@ -593,7 +598,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
593
598
  title: Record<string, string>;
594
599
  description: Record<string, string>;
595
600
  buttons: {
596
- type: "external" | "subscriptionLink";
601
+ type: "external" | "subscriptionLink" | "copyButton";
597
602
  svgIconKey: string;
598
603
  link: string;
599
604
  text: Record<string, string>;
@@ -613,7 +618,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
613
618
  title: Record<string, string>;
614
619
  description: Record<string, string>;
615
620
  buttons: {
616
- type: "external" | "subscriptionLink";
621
+ type: "external" | "subscriptionLink" | "copyButton";
617
622
  svgIconKey: string;
618
623
  link: string;
619
624
  text: Record<string, string>;
@@ -635,7 +640,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
635
640
  title: Record<string, string>;
636
641
  description: Record<string, string>;
637
642
  buttons: {
638
- type: "external" | "subscriptionLink";
643
+ type: "external" | "subscriptionLink" | "copyButton";
639
644
  svgIconKey: string;
640
645
  link: string;
641
646
  text: Record<string, string>;
@@ -695,7 +700,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
695
700
  title: Record<string, string>;
696
701
  description: Record<string, string>;
697
702
  buttons: {
698
- type: "external" | "subscriptionLink";
703
+ type: "external" | "subscriptionLink" | "copyButton";
699
704
  svgIconKey: string;
700
705
  link: string;
701
706
  text: Record<string, string>;
@@ -755,7 +760,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
755
760
  title: Record<string, string>;
756
761
  description: Record<string, string>;
757
762
  buttons: {
758
- type: "external" | "subscriptionLink";
763
+ type: "external" | "subscriptionLink" | "copyButton";
759
764
  svgIconKey: string;
760
765
  link: string;
761
766
  text: Record<string, string>;
@@ -815,7 +820,7 @@ export declare const SubscriptionPageRawConfigSchema: z.ZodEffects<z.ZodObject<{
815
820
  title: Record<string, string>;
816
821
  description: Record<string, string>;
817
822
  buttons: {
818
- type: "external" | "subscriptionLink";
823
+ type: "external" | "subscriptionLink" | "copyButton";
819
824
  svgIconKey: string;
820
825
  link: string;
821
826
  text: Record<string, string>;
@@ -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;AAcH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAC,CAAC;AACvE,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AACjG,MAAM,MAAM,oCAAoC,GAAG,MAAM,8BAA8B,CAAC"}
@@ -4,6 +4,7 @@ exports.isButtonType = exports.BUTTON_TYPES_VALUES = exports.BUTTON_TYPES = void
4
4
  exports.BUTTON_TYPES = {
5
5
  EXTERNAL: 'external',
6
6
  SUBSCRIPTION_LINK: 'subscriptionLink',
7
+ COPY_BUTTON: 'copyButton',
7
8
  };
8
9
  exports.BUTTON_TYPES_VALUES = Object.values(exports.BUTTON_TYPES);
9
10
  const isButtonType = (value) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/subscription-page-types",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "public": true,
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "A types library for Remnawave Subscription Page.",