@guardian/support-dotcom-components 1.0.6 → 1.0.8

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.
Files changed (59) hide show
  1. package/dist/dotcom/src/index.d.ts +6 -1
  2. package/dist/dotcom/src/index.d.ts.map +1 -1
  3. package/dist/dotcom/src/types.d.ts +3 -0
  4. package/dist/dotcom/src/types.d.ts.map +1 -1
  5. package/dist/index.esm.js +1 -1
  6. package/dist/index.js +1 -1
  7. package/dist/shared/src/lib/geolocation.d.ts +19 -0
  8. package/dist/shared/src/lib/geolocation.d.ts.map +1 -0
  9. package/dist/shared/src/lib/index.d.ts +7 -0
  10. package/dist/shared/src/lib/index.d.ts.map +1 -0
  11. package/dist/shared/src/lib/placeholders.d.ts +12 -0
  12. package/dist/shared/src/lib/placeholders.d.ts.map +1 -0
  13. package/dist/shared/src/lib/reminderFields.d.ts +9 -0
  14. package/dist/shared/src/lib/reminderFields.d.ts.map +1 -0
  15. package/dist/shared/src/lib/tracking.d.ts +17 -0
  16. package/dist/shared/src/lib/tracking.d.ts.map +1 -0
  17. package/dist/shared/src/lib/viewLog.d.ts +1 -1
  18. package/dist/shared/src/lib/viewLog.d.ts.map +1 -1
  19. package/dist/shared/src/types/abTests/banner.d.ts +74 -0
  20. package/dist/shared/src/types/abTests/banner.d.ts.map +1 -0
  21. package/dist/shared/src/types/abTests/epic.d.ts +112 -0
  22. package/dist/shared/src/types/abTests/epic.d.ts.map +1 -0
  23. package/dist/shared/src/types/abTests/header.d.ts +26 -0
  24. package/dist/shared/src/types/abTests/header.d.ts.map +1 -0
  25. package/dist/shared/src/types/abTests/index.d.ts +5 -0
  26. package/dist/shared/src/types/abTests/index.d.ts.map +1 -0
  27. package/dist/shared/src/types/abTests/shared.d.ts +12 -4
  28. package/dist/shared/src/types/abTests/shared.d.ts.map +1 -1
  29. package/dist/shared/src/types/index.d.ts +8 -0
  30. package/dist/shared/src/types/index.d.ts.map +1 -0
  31. package/dist/shared/src/types/ophan.d.ts +5 -5
  32. package/dist/shared/src/types/ophan.d.ts.map +1 -1
  33. package/dist/shared/src/types/prices.d.ts +16 -0
  34. package/dist/shared/src/types/prices.d.ts.map +1 -0
  35. package/dist/shared/src/types/props/banner.d.ts +736 -0
  36. package/dist/shared/src/types/props/banner.d.ts.map +1 -0
  37. package/dist/shared/src/types/props/design.d.ts +287 -0
  38. package/dist/shared/src/types/props/design.d.ts.map +1 -0
  39. package/dist/shared/src/types/props/epic.d.ts +622 -0
  40. package/dist/shared/src/types/props/epic.d.ts.map +1 -0
  41. package/dist/shared/src/types/props/header.d.ts +231 -0
  42. package/dist/shared/src/types/props/header.d.ts.map +1 -0
  43. package/dist/shared/src/types/props/index.d.ts +6 -0
  44. package/dist/shared/src/types/props/index.d.ts.map +1 -0
  45. package/dist/shared/src/types/props/shared.d.ts +329 -0
  46. package/dist/shared/src/types/props/shared.d.ts.map +1 -0
  47. package/dist/shared/src/types/purchaseInfo.d.ts +2 -2
  48. package/dist/shared/src/types/purchaseInfo.d.ts.map +1 -1
  49. package/dist/shared/src/types/reminders.d.ts +16 -0
  50. package/dist/shared/src/types/reminders.d.ts.map +1 -0
  51. package/dist/shared/src/types/targeting/banner.d.ts +2 -2
  52. package/dist/shared/src/types/targeting/banner.d.ts.map +1 -1
  53. package/dist/shared/src/types/targeting/epic.d.ts +4 -3
  54. package/dist/shared/src/types/targeting/epic.d.ts.map +1 -1
  55. package/dist/shared/src/types/targeting/header.d.ts +1 -1
  56. package/dist/shared/src/types/targeting/header.d.ts.map +1 -1
  57. package/dist/shared/src/types/targeting/shared.d.ts +4 -4
  58. package/dist/shared/src/types/targeting/shared.d.ts.map +1 -1
  59. package/package.json +14 -14
@@ -0,0 +1,231 @@
1
+ import { EmotionJSX } from '@emotion/react/types/jsx-namespace';
2
+ import * as z from 'zod';
3
+ import { OphanComponentEvent } from '../ophan';
4
+ import { Tracking, Cta } from './shared';
5
+ export interface HeaderContent {
6
+ heading: string;
7
+ subheading: string;
8
+ primaryCta?: Cta;
9
+ secondaryCta?: Cta;
10
+ benefits?: string[];
11
+ }
12
+ export interface HeaderProps extends EmotionJSX.IntrinsicAttributes {
13
+ content: HeaderContent;
14
+ tracking: Tracking;
15
+ mobileContent?: HeaderContent;
16
+ countryCode?: string;
17
+ submitComponentEvent?: (componentEvent: OphanComponentEvent) => void;
18
+ numArticles?: number;
19
+ }
20
+ export declare const headerSchema: z.ZodObject<{
21
+ content: z.ZodObject<{
22
+ heading: z.ZodString;
23
+ subheading: z.ZodString;
24
+ primaryCta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25
+ text: z.ZodString;
26
+ baseUrl: z.ZodString;
27
+ }, "strip", z.ZodTypeAny, {
28
+ text: string;
29
+ baseUrl: string;
30
+ }, {
31
+ text: string;
32
+ baseUrl: string;
33
+ }>>>;
34
+ secondaryCta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
35
+ text: z.ZodString;
36
+ baseUrl: z.ZodString;
37
+ }, "strip", z.ZodTypeAny, {
38
+ text: string;
39
+ baseUrl: string;
40
+ }, {
41
+ text: string;
42
+ baseUrl: string;
43
+ }>>>;
44
+ }, "strip", z.ZodTypeAny, {
45
+ heading: string;
46
+ subheading: string;
47
+ primaryCta?: {
48
+ text: string;
49
+ baseUrl: string;
50
+ } | null | undefined;
51
+ secondaryCta?: {
52
+ text: string;
53
+ baseUrl: string;
54
+ } | null | undefined;
55
+ }, {
56
+ heading: string;
57
+ subheading: string;
58
+ primaryCta?: {
59
+ text: string;
60
+ baseUrl: string;
61
+ } | null | undefined;
62
+ secondaryCta?: {
63
+ text: string;
64
+ baseUrl: string;
65
+ } | null | undefined;
66
+ }>;
67
+ tracking: z.ZodObject<{
68
+ abTestName: z.ZodString;
69
+ abTestVariant: z.ZodString;
70
+ campaignCode: z.ZodString;
71
+ componentType: z.ZodEnum<["ACQUISITIONS_EPIC", "ACQUISITIONS_ENGAGEMENT_BANNER", "ACQUISITIONS_SUBSCRIPTIONS_BANNER", "ACQUISITIONS_HEADER", "ACQUISITIONS_OTHER"]>;
72
+ products: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["CONTRIBUTION", "MEMBERSHIP_SUPPORTER", "DIGITAL_SUBSCRIPTION", "PRINT_SUBSCRIPTION"]>, "many">>>;
73
+ labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
74
+ ophanPageId: z.ZodString;
75
+ platformId: z.ZodString;
76
+ referrerUrl: z.ZodString;
77
+ clientName: z.ZodString;
78
+ }, "strip", z.ZodTypeAny, {
79
+ componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
80
+ abTestName: string;
81
+ abTestVariant: string;
82
+ campaignCode: string;
83
+ ophanPageId: string;
84
+ platformId: string;
85
+ referrerUrl: string;
86
+ clientName: string;
87
+ products?: ("CONTRIBUTION" | "MEMBERSHIP_SUPPORTER" | "DIGITAL_SUBSCRIPTION" | "PRINT_SUBSCRIPTION")[] | null | undefined;
88
+ labels?: string[] | null | undefined;
89
+ }, {
90
+ componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
91
+ abTestName: string;
92
+ abTestVariant: string;
93
+ campaignCode: string;
94
+ ophanPageId: string;
95
+ platformId: string;
96
+ referrerUrl: string;
97
+ clientName: string;
98
+ products?: ("CONTRIBUTION" | "MEMBERSHIP_SUPPORTER" | "DIGITAL_SUBSCRIPTION" | "PRINT_SUBSCRIPTION")[] | null | undefined;
99
+ labels?: string[] | null | undefined;
100
+ }>;
101
+ mobileContent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
102
+ heading: z.ZodString;
103
+ subheading: z.ZodString;
104
+ primaryCta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
105
+ text: z.ZodString;
106
+ baseUrl: z.ZodString;
107
+ }, "strip", z.ZodTypeAny, {
108
+ text: string;
109
+ baseUrl: string;
110
+ }, {
111
+ text: string;
112
+ baseUrl: string;
113
+ }>>>;
114
+ secondaryCta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
115
+ text: z.ZodString;
116
+ baseUrl: z.ZodString;
117
+ }, "strip", z.ZodTypeAny, {
118
+ text: string;
119
+ baseUrl: string;
120
+ }, {
121
+ text: string;
122
+ baseUrl: string;
123
+ }>>>;
124
+ }, "strip", z.ZodTypeAny, {
125
+ heading: string;
126
+ subheading: string;
127
+ primaryCta?: {
128
+ text: string;
129
+ baseUrl: string;
130
+ } | null | undefined;
131
+ secondaryCta?: {
132
+ text: string;
133
+ baseUrl: string;
134
+ } | null | undefined;
135
+ }, {
136
+ heading: string;
137
+ subheading: string;
138
+ primaryCta?: {
139
+ text: string;
140
+ baseUrl: string;
141
+ } | null | undefined;
142
+ secondaryCta?: {
143
+ text: string;
144
+ baseUrl: string;
145
+ } | null | undefined;
146
+ }>>>;
147
+ countryCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
148
+ submitComponentEvent: z.ZodAny;
149
+ numArticles: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
150
+ }, "strip", z.ZodTypeAny, {
151
+ content: {
152
+ heading: string;
153
+ subheading: string;
154
+ primaryCta?: {
155
+ text: string;
156
+ baseUrl: string;
157
+ } | null | undefined;
158
+ secondaryCta?: {
159
+ text: string;
160
+ baseUrl: string;
161
+ } | null | undefined;
162
+ };
163
+ tracking: {
164
+ componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
165
+ abTestName: string;
166
+ abTestVariant: string;
167
+ campaignCode: string;
168
+ ophanPageId: string;
169
+ platformId: string;
170
+ referrerUrl: string;
171
+ clientName: string;
172
+ products?: ("CONTRIBUTION" | "MEMBERSHIP_SUPPORTER" | "DIGITAL_SUBSCRIPTION" | "PRINT_SUBSCRIPTION")[] | null | undefined;
173
+ labels?: string[] | null | undefined;
174
+ };
175
+ mobileContent?: {
176
+ heading: string;
177
+ subheading: string;
178
+ primaryCta?: {
179
+ text: string;
180
+ baseUrl: string;
181
+ } | null | undefined;
182
+ secondaryCta?: {
183
+ text: string;
184
+ baseUrl: string;
185
+ } | null | undefined;
186
+ } | null | undefined;
187
+ countryCode?: string | null | undefined;
188
+ submitComponentEvent?: any;
189
+ numArticles?: number | null | undefined;
190
+ }, {
191
+ content: {
192
+ heading: string;
193
+ subheading: string;
194
+ primaryCta?: {
195
+ text: string;
196
+ baseUrl: string;
197
+ } | null | undefined;
198
+ secondaryCta?: {
199
+ text: string;
200
+ baseUrl: string;
201
+ } | null | undefined;
202
+ };
203
+ tracking: {
204
+ componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
205
+ abTestName: string;
206
+ abTestVariant: string;
207
+ campaignCode: string;
208
+ ophanPageId: string;
209
+ platformId: string;
210
+ referrerUrl: string;
211
+ clientName: string;
212
+ products?: ("CONTRIBUTION" | "MEMBERSHIP_SUPPORTER" | "DIGITAL_SUBSCRIPTION" | "PRINT_SUBSCRIPTION")[] | null | undefined;
213
+ labels?: string[] | null | undefined;
214
+ };
215
+ mobileContent?: {
216
+ heading: string;
217
+ subheading: string;
218
+ primaryCta?: {
219
+ text: string;
220
+ baseUrl: string;
221
+ } | null | undefined;
222
+ secondaryCta?: {
223
+ text: string;
224
+ baseUrl: string;
225
+ } | null | undefined;
226
+ } | null | undefined;
227
+ countryCode?: string | null | undefined;
228
+ submitComponentEvent?: any;
229
+ numArticles?: number | null | undefined;
230
+ }>;
231
+ //# sourceMappingURL=header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../../../../shared/src/types/props/header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAkB,GAAG,EAAa,MAAM,UAAU,CAAC;AAEpE,MAAM,WAAW,aAAa;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,YAAY,CAAC,EAAE,GAAG,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB;AASD,MAAM,WAAW,WAAY,SAAQ,UAAU,CAAC,mBAAmB;IAC/D,OAAO,EAAE,aAAa,CAAC;IACvB,QAAQ,EAAE,QAAQ,CAAC;IACnB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,CAAC,cAAc,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACrE,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOvB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from './epic';
2
+ export * from './banner';
3
+ export * from './header';
4
+ export * from './shared';
5
+ export * from './design';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../shared/src/types/props/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC"}
@@ -0,0 +1,329 @@
1
+ import * as z from 'zod';
2
+ import { PageTracking } from '../targeting';
3
+ import { TestTracking } from '../abTests';
4
+ export type Stage = 'PROD' | 'CODE' | 'DEV';
5
+ export interface Cta {
6
+ text: string;
7
+ baseUrl: string;
8
+ }
9
+ export declare const ctaSchema: z.ZodObject<{
10
+ text: z.ZodString;
11
+ baseUrl: z.ZodString;
12
+ }, "strip", z.ZodTypeAny, {
13
+ text: string;
14
+ baseUrl: string;
15
+ }, {
16
+ text: string;
17
+ baseUrl: string;
18
+ }>;
19
+ export declare enum SecondaryCtaType {
20
+ Custom = "CustomSecondaryCta",
21
+ ContributionsReminder = "ContributionsReminderSecondaryCta"
22
+ }
23
+ export declare const secondaryCtaTypeSchema: z.ZodEnum<["CustomSecondaryCta", "ContributionsReminderSecondaryCta"]>;
24
+ interface CustomSecondaryCta {
25
+ type: SecondaryCtaType.Custom;
26
+ cta: Cta;
27
+ }
28
+ export declare const customSecondaryCtaSchema: z.ZodObject<{
29
+ type: z.ZodLiteral<"CustomSecondaryCta">;
30
+ cta: z.ZodObject<{
31
+ text: z.ZodString;
32
+ baseUrl: z.ZodString;
33
+ }, "strip", z.ZodTypeAny, {
34
+ text: string;
35
+ baseUrl: string;
36
+ }, {
37
+ text: string;
38
+ baseUrl: string;
39
+ }>;
40
+ }, "strip", z.ZodTypeAny, {
41
+ type: "CustomSecondaryCta";
42
+ cta: {
43
+ text: string;
44
+ baseUrl: string;
45
+ };
46
+ }, {
47
+ type: "CustomSecondaryCta";
48
+ cta: {
49
+ text: string;
50
+ baseUrl: string;
51
+ };
52
+ }>;
53
+ interface ContributionsReminderSecondaryCta {
54
+ type: SecondaryCtaType.ContributionsReminder;
55
+ }
56
+ export declare const contributionsReminderSecondaryCtaSchema: z.ZodObject<{
57
+ type: z.ZodLiteral<"ContributionsReminderSecondaryCta">;
58
+ }, "strip", z.ZodTypeAny, {
59
+ type: "ContributionsReminderSecondaryCta";
60
+ }, {
61
+ type: "ContributionsReminderSecondaryCta";
62
+ }>;
63
+ export type SecondaryCta = CustomSecondaryCta | ContributionsReminderSecondaryCta;
64
+ export declare const secondaryCtaSchema: z.ZodUnion<[z.ZodObject<{
65
+ type: z.ZodLiteral<"CustomSecondaryCta">;
66
+ cta: z.ZodObject<{
67
+ text: z.ZodString;
68
+ baseUrl: z.ZodString;
69
+ }, "strip", z.ZodTypeAny, {
70
+ text: string;
71
+ baseUrl: string;
72
+ }, {
73
+ text: string;
74
+ baseUrl: string;
75
+ }>;
76
+ }, "strip", z.ZodTypeAny, {
77
+ type: "CustomSecondaryCta";
78
+ cta: {
79
+ text: string;
80
+ baseUrl: string;
81
+ };
82
+ }, {
83
+ type: "CustomSecondaryCta";
84
+ cta: {
85
+ text: string;
86
+ baseUrl: string;
87
+ };
88
+ }>, z.ZodObject<{
89
+ type: z.ZodLiteral<"ContributionsReminderSecondaryCta">;
90
+ }, "strip", z.ZodTypeAny, {
91
+ type: "ContributionsReminderSecondaryCta";
92
+ }, {
93
+ type: "ContributionsReminderSecondaryCta";
94
+ }>]>;
95
+ export declare enum TickerEndType {
96
+ unlimited = "unlimited",
97
+ hardstop = "hardstop"
98
+ }
99
+ export declare const tickerEndTypeSchema: z.ZodEnum<["unlimited", "hardstop"]>;
100
+ export declare enum TickerCountType {
101
+ money = "money"
102
+ }
103
+ export declare const tickerCountTypeSchema: z.ZodEnum<["money"]>;
104
+ interface TickerCopy {
105
+ countLabel: string;
106
+ goalReachedPrimary: string;
107
+ goalReachedSecondary: string;
108
+ }
109
+ export declare const tickerCopySchema: z.ZodObject<{
110
+ countLabel: z.ZodString;
111
+ goalReachedPrimary: z.ZodString;
112
+ goalReachedSecondary: z.ZodString;
113
+ }, "strip", z.ZodTypeAny, {
114
+ countLabel: string;
115
+ goalReachedPrimary: string;
116
+ goalReachedSecondary: string;
117
+ }, {
118
+ countLabel: string;
119
+ goalReachedPrimary: string;
120
+ goalReachedSecondary: string;
121
+ }>;
122
+ export interface TickerData {
123
+ total: number;
124
+ goal: number;
125
+ }
126
+ export declare const tickerDataSchema: z.ZodObject<{
127
+ total: z.ZodNumber;
128
+ goal: z.ZodNumber;
129
+ }, "strip", z.ZodTypeAny, {
130
+ total: number;
131
+ goal: number;
132
+ }, {
133
+ total: number;
134
+ goal: number;
135
+ }>;
136
+ export type TickerName = 'US' | 'AU';
137
+ export interface TickerSettings {
138
+ endType: TickerEndType;
139
+ countType: TickerCountType;
140
+ currencySymbol: string;
141
+ copy: TickerCopy;
142
+ name: TickerName;
143
+ tickerData?: TickerData;
144
+ }
145
+ export declare const tickerSettingsSchema: z.ZodObject<{
146
+ endType: z.ZodEnum<["unlimited", "hardstop"]>;
147
+ countType: z.ZodEnum<["money"]>;
148
+ currencySymbol: z.ZodString;
149
+ copy: z.ZodObject<{
150
+ countLabel: z.ZodString;
151
+ goalReachedPrimary: z.ZodString;
152
+ goalReachedSecondary: z.ZodString;
153
+ }, "strip", z.ZodTypeAny, {
154
+ countLabel: string;
155
+ goalReachedPrimary: string;
156
+ goalReachedSecondary: string;
157
+ }, {
158
+ countLabel: string;
159
+ goalReachedPrimary: string;
160
+ goalReachedSecondary: string;
161
+ }>;
162
+ tickerData: z.ZodOptional<z.ZodNullable<z.ZodObject<{
163
+ total: z.ZodNumber;
164
+ goal: z.ZodNumber;
165
+ }, "strip", z.ZodTypeAny, {
166
+ total: number;
167
+ goal: number;
168
+ }, {
169
+ total: number;
170
+ goal: number;
171
+ }>>>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ copy: {
174
+ countLabel: string;
175
+ goalReachedPrimary: string;
176
+ goalReachedSecondary: string;
177
+ };
178
+ endType: "unlimited" | "hardstop";
179
+ countType: "money";
180
+ currencySymbol: string;
181
+ tickerData?: {
182
+ total: number;
183
+ goal: number;
184
+ } | null | undefined;
185
+ }, {
186
+ copy: {
187
+ countLabel: string;
188
+ goalReachedPrimary: string;
189
+ goalReachedSecondary: string;
190
+ };
191
+ endType: "unlimited" | "hardstop";
192
+ countType: "money";
193
+ currencySymbol: string;
194
+ tickerData?: {
195
+ total: number;
196
+ goal: number;
197
+ } | null | undefined;
198
+ }>;
199
+ export declare const ophanProductSchema: z.ZodEnum<["CONTRIBUTION", "MEMBERSHIP_SUPPORTER", "DIGITAL_SUBSCRIPTION", "PRINT_SUBSCRIPTION"]>;
200
+ export declare const ophanComponentTypeSchema: z.ZodEnum<["ACQUISITIONS_EPIC", "ACQUISITIONS_ENGAGEMENT_BANNER", "ACQUISITIONS_SUBSCRIPTIONS_BANNER", "ACQUISITIONS_HEADER", "ACQUISITIONS_OTHER"]>;
201
+ export type Tracking = TestTracking & PageTracking;
202
+ export declare const trackingSchema: z.ZodObject<{
203
+ abTestName: z.ZodString;
204
+ abTestVariant: z.ZodString;
205
+ campaignCode: z.ZodString;
206
+ componentType: z.ZodEnum<["ACQUISITIONS_EPIC", "ACQUISITIONS_ENGAGEMENT_BANNER", "ACQUISITIONS_SUBSCRIPTIONS_BANNER", "ACQUISITIONS_HEADER", "ACQUISITIONS_OTHER"]>;
207
+ products: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["CONTRIBUTION", "MEMBERSHIP_SUPPORTER", "DIGITAL_SUBSCRIPTION", "PRINT_SUBSCRIPTION"]>, "many">>>;
208
+ labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
209
+ ophanPageId: z.ZodString;
210
+ platformId: z.ZodString;
211
+ referrerUrl: z.ZodString;
212
+ clientName: z.ZodString;
213
+ }, "strip", z.ZodTypeAny, {
214
+ componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
215
+ abTestName: string;
216
+ abTestVariant: string;
217
+ campaignCode: string;
218
+ ophanPageId: string;
219
+ platformId: string;
220
+ referrerUrl: string;
221
+ clientName: string;
222
+ products?: ("CONTRIBUTION" | "MEMBERSHIP_SUPPORTER" | "DIGITAL_SUBSCRIPTION" | "PRINT_SUBSCRIPTION")[] | null | undefined;
223
+ labels?: string[] | null | undefined;
224
+ }, {
225
+ componentType: "ACQUISITIONS_EPIC" | "ACQUISITIONS_ENGAGEMENT_BANNER" | "ACQUISITIONS_HEADER" | "ACQUISITIONS_OTHER" | "ACQUISITIONS_SUBSCRIPTIONS_BANNER";
226
+ abTestName: string;
227
+ abTestVariant: string;
228
+ campaignCode: string;
229
+ ophanPageId: string;
230
+ platformId: string;
231
+ referrerUrl: string;
232
+ clientName: string;
233
+ products?: ("CONTRIBUTION" | "MEMBERSHIP_SUPPORTER" | "DIGITAL_SUBSCRIPTION" | "PRINT_SUBSCRIPTION")[] | null | undefined;
234
+ labels?: string[] | null | undefined;
235
+ }>;
236
+ export interface Image {
237
+ mainUrl: string;
238
+ mobileUrl?: string;
239
+ tabletUrl?: string;
240
+ desktopUrl?: string;
241
+ leftColUrl?: string;
242
+ wideUrl?: string;
243
+ altText: string;
244
+ }
245
+ export declare const imageSchema: z.ZodObject<{
246
+ mainUrl: z.ZodString;
247
+ mobileUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
248
+ tabletUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
249
+ desktopUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
250
+ leftColUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
251
+ wideUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
252
+ altText: z.ZodString;
253
+ }, "strip", z.ZodTypeAny, {
254
+ mainUrl: string;
255
+ altText: string;
256
+ mobileUrl?: string | null | undefined;
257
+ tabletUrl?: string | null | undefined;
258
+ desktopUrl?: string | null | undefined;
259
+ leftColUrl?: string | null | undefined;
260
+ wideUrl?: string | null | undefined;
261
+ }, {
262
+ mainUrl: string;
263
+ altText: string;
264
+ mobileUrl?: string | null | undefined;
265
+ tabletUrl?: string | null | undefined;
266
+ desktopUrl?: string | null | undefined;
267
+ leftColUrl?: string | null | undefined;
268
+ wideUrl?: string | null | undefined;
269
+ }>;
270
+ export interface BylineWithImage {
271
+ name: string;
272
+ description?: string;
273
+ headshot?: Image;
274
+ }
275
+ export declare const bylineWithImageSchema: z.ZodObject<{
276
+ name: z.ZodString;
277
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
278
+ headshot: z.ZodOptional<z.ZodNullable<z.ZodObject<{
279
+ mainUrl: z.ZodString;
280
+ mobileUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
281
+ tabletUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
282
+ desktopUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
283
+ leftColUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
284
+ wideUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
285
+ altText: z.ZodString;
286
+ }, "strip", z.ZodTypeAny, {
287
+ mainUrl: string;
288
+ altText: string;
289
+ mobileUrl?: string | null | undefined;
290
+ tabletUrl?: string | null | undefined;
291
+ desktopUrl?: string | null | undefined;
292
+ leftColUrl?: string | null | undefined;
293
+ wideUrl?: string | null | undefined;
294
+ }, {
295
+ mainUrl: string;
296
+ altText: string;
297
+ mobileUrl?: string | null | undefined;
298
+ tabletUrl?: string | null | undefined;
299
+ desktopUrl?: string | null | undefined;
300
+ leftColUrl?: string | null | undefined;
301
+ wideUrl?: string | null | undefined;
302
+ }>>>;
303
+ }, "strip", z.ZodTypeAny, {
304
+ name: string;
305
+ description?: string | null | undefined;
306
+ headshot?: {
307
+ mainUrl: string;
308
+ altText: string;
309
+ mobileUrl?: string | null | undefined;
310
+ tabletUrl?: string | null | undefined;
311
+ desktopUrl?: string | null | undefined;
312
+ leftColUrl?: string | null | undefined;
313
+ wideUrl?: string | null | undefined;
314
+ } | null | undefined;
315
+ }, {
316
+ name: string;
317
+ description?: string | null | undefined;
318
+ headshot?: {
319
+ mainUrl: string;
320
+ altText: string;
321
+ mobileUrl?: string | null | undefined;
322
+ tabletUrl?: string | null | undefined;
323
+ desktopUrl?: string | null | undefined;
324
+ leftColUrl?: string | null | undefined;
325
+ wideUrl?: string | null | undefined;
326
+ } | null | undefined;
327
+ }>;
328
+ export {};
329
+ //# sourceMappingURL=shared.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../../shared/src/types/props/shared.ts"],"names":[],"mappings":"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"}
@@ -1,3 +1,3 @@
1
- export declare type purchaseInfoProduct = 'Contribution' | 'DigitalPack' | 'GuardianWeekly' | 'Paper';
2
- export declare type purchaseInfoUser = 'new' | 'guest' | 'current';
1
+ export type purchaseInfoProduct = 'Contribution' | 'SupporterPlus' | 'GuardianWeekly' | 'Paper';
2
+ export type purchaseInfoUser = 'new' | 'guest' | 'current';
3
3
  //# sourceMappingURL=purchaseInfo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"purchaseInfo.d.ts","sourceRoot":"","sources":["../../../../../shared/src/types/purchaseInfo.ts"],"names":[],"mappings":"AAAA,oBAAY,mBAAmB,GAAG,cAAc,GAAG,aAAa,GAAG,gBAAgB,GAAG,OAAO,CAAC;AAC9F,oBAAY,gBAAgB,GAAG,KAAK,GAAG,OAAO,GAAG,SAAS,CAAC"}
1
+ {"version":3,"file":"purchaseInfo.d.ts","sourceRoot":"","sources":["../../../../../shared/src/types/purchaseInfo.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG,eAAe,GAAG,gBAAgB,GAAG,OAAO,CAAC;AAChG,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,OAAO,GAAG,SAAS,CAAC"}
@@ -0,0 +1,16 @@
1
+ export type ReminderPlatform = 'WEB' | 'AMP';
2
+ export type ReminderComponent = 'EPIC' | 'BANNER';
3
+ export type ReminderStage = 'PRE' | 'POST';
4
+ interface BaseSignupRequest {
5
+ email: string;
6
+ reminderPlatform: ReminderPlatform;
7
+ reminderComponent: ReminderComponent;
8
+ reminderStage: ReminderStage;
9
+ country?: string;
10
+ reminderOption?: string;
11
+ }
12
+ export interface OneOffSignupRequest extends BaseSignupRequest {
13
+ reminderPeriod: string;
14
+ }
15
+ export {};
16
+ //# sourceMappingURL=reminders.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reminders.d.ts","sourceRoot":"","sources":["../../../../../shared/src/types/reminders.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,KAAK,CAAC;AAE7C,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,QAAQ,CAAC;AAElD,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,MAAM,CAAC;AAE3C,UAAU,iBAAiB;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,mBAAoB,SAAQ,iBAAiB;IAC1D,cAAc,EAAE,MAAM,CAAC;CAC1B"}
@@ -1,5 +1,5 @@
1
1
  import { PageTracking, WeeklyArticleHistory, PurchaseInfo } from './shared';
2
- export declare type BannerTargeting = {
2
+ export type BannerTargeting = {
3
3
  alreadyVisitedCount: number;
4
4
  shouldHideReaderRevenue?: boolean;
5
5
  isPaidContent?: boolean;
@@ -21,7 +21,7 @@ export declare type BannerTargeting = {
21
21
  isSignedIn: boolean;
22
22
  lastOneOffContributionDate?: string;
23
23
  };
24
- export declare type BannerPayload = {
24
+ export type BannerPayload = {
25
25
  tracking: PageTracking;
26
26
  targeting: BannerTargeting;
27
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../../../../../shared/src/types/targeting/banner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE5E,oBAAY,eAAe,GAAG;IAC1B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,yBAAyB,EAAE,OAAO,CAAC;IACnC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,UAAU,EAAE,OAAO,CAAC;IACpB,0BAA0B,CAAC,EAAE,MAAM,CAAC;CACvC,CAAC;AAEF,oBAAY,aAAa,GAAG;IACxB,QAAQ,EAAE,YAAY,CAAC;IACvB,SAAS,EAAE,eAAe,CAAC;CAC9B,CAAC"}
1
+ {"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../../../../../shared/src/types/targeting/banner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE5E,MAAM,MAAM,eAAe,GAAG;IAC1B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,yBAAyB,EAAE,OAAO,CAAC;IACnC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,UAAU,EAAE,OAAO,CAAC;IACpB,0BAA0B,CAAC,EAAE,MAAM,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IACxB,QAAQ,EAAE,YAAY,CAAC;IACvB,SAAS,EAAE,eAAe,CAAC;CAC9B,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import { EpicViewLog } from '../../lib/viewLog';
2
2
  import { PageTracking, WeeklyArticleHistory } from './shared';
3
- export declare type Tag = {
3
+ export type Tag = {
4
4
  id: string;
5
5
  type: string;
6
6
  };
7
- export declare type EpicTargeting = {
7
+ export type EpicTargeting = {
8
8
  contentType: string;
9
9
  sectionName?: string;
10
10
  sectionId?: string;
@@ -23,8 +23,9 @@ export declare type EpicTargeting = {
23
23
  modulesVersion?: string;
24
24
  url?: string;
25
25
  browserId?: string;
26
+ isSignedIn?: boolean;
26
27
  };
27
- export declare type EpicPayload = {
28
+ export type EpicPayload = {
28
29
  tracking: PageTracking;
29
30
  targeting: EpicTargeting;
30
31
  };
@@ -1 +1 @@
1
- {"version":3,"file":"epic.d.ts","sourceRoot":"","sources":["../../../../../../shared/src/types/targeting/epic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAE9D,oBAAY,GAAG,GAAG;IACd,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,oBAAY,aAAa,GAAG;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uBAAuB,EAAE,OAAO,CAAC;IAEjC,eAAe,EAAE,OAAO,CAAC;IACzB,aAAa,EAAE,OAAO,CAAC;IAEvB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,yBAAyB,EAAE,OAAO,CAAC;IACnC,oBAAoB,EAAE,OAAO,CAAC;IAC9B,sBAAsB,EAAE,OAAO,CAAC;IAChC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,oBAAY,WAAW,GAAG;IACtB,QAAQ,EAAE,YAAY,CAAC;IACvB,SAAS,EAAE,aAAa,CAAC;CAC5B,CAAC"}
1
+ {"version":3,"file":"epic.d.ts","sourceRoot":"","sources":["../../../../../../shared/src/types/targeting/epic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAE9D,MAAM,MAAM,GAAG,GAAG;IACd,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uBAAuB,EAAE,OAAO,CAAC;IAEjC,eAAe,EAAE,OAAO,CAAC;IACzB,aAAa,EAAE,OAAO,CAAC;IAEvB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,yBAAyB,EAAE,OAAO,CAAC;IACnC,oBAAoB,EAAE,OAAO,CAAC;IAC9B,sBAAsB,EAAE,OAAO,CAAC;IAChC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACtB,QAAQ,EAAE,YAAY,CAAC;IACvB,SAAS,EAAE,aAAa,CAAC;CAC5B,CAAC"}
@@ -9,7 +9,7 @@ export interface HeaderTargeting {
9
9
  purchaseInfo?: PurchaseInfo;
10
10
  isSignedIn: boolean;
11
11
  }
12
- export declare type HeaderPayload = {
12
+ export type HeaderPayload = {
13
13
  tracking: PageTracking;
14
14
  targeting: HeaderTargeting;
15
15
  };