@guardian/support-dotcom-components 11.1.0 → 11.1.2

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.
@@ -87,7 +87,7 @@ export declare const inline1TestFromToolSchema: z.ZodObject<{
87
87
  variants: z.ZodArray<z.ZodObject<{
88
88
  name: z.ZodString;
89
89
  message: z.ZodDiscriminatedUnion<[z.ZodObject<{
90
- type: string;
90
+ type: z.ZodLiteral<"Inline1SupportMessage">;
91
91
  heading: z.ZodString;
92
92
  body: z.ZodString;
93
93
  primaryCta: z.ZodObject<{
@@ -104,9 +104,9 @@ export declare const inline1TestFromToolSchema: z.ZodObject<{
104
104
  altText: z.ZodString;
105
105
  }, z.core.$strip>>;
106
106
  }, z.core.$strip>, z.ZodObject<{
107
- type: string;
107
+ type: z.ZodLiteral<"Inline1PuzzlesMessage">;
108
108
  }, z.core.$strip>, z.ZodObject<{
109
- type: string;
109
+ type: z.ZodLiteral<"Inline1NewsletterMessage">;
110
110
  newsletterId: z.ZodString;
111
111
  frequency: z.ZodString;
112
112
  heading: z.ZodString;
@@ -9,7 +9,7 @@ export interface Inline1Props {
9
9
  submitComponentEvent?: (componentEvent: ComponentEvent) => Promise<void>;
10
10
  }
11
11
  export declare const inline1SupportMessageSchema: z.ZodObject<{
12
- type: string;
12
+ type: z.ZodLiteral<"Inline1SupportMessage">;
13
13
  heading: z.ZodString;
14
14
  body: z.ZodString;
15
15
  primaryCta: z.ZodObject<{
@@ -27,10 +27,10 @@ export declare const inline1SupportMessageSchema: z.ZodObject<{
27
27
  }, z.core.$strip>>;
28
28
  }, z.core.$strip>;
29
29
  export declare const inline1PuzzlesMessageSchema: z.ZodObject<{
30
- type: string;
30
+ type: z.ZodLiteral<"Inline1PuzzlesMessage">;
31
31
  }, z.core.$strip>;
32
32
  export declare const inline1NewsletterMessageSchema: z.ZodObject<{
33
- type: string;
33
+ type: z.ZodLiteral<"Inline1NewsletterMessage">;
34
34
  newsletterId: z.ZodString;
35
35
  frequency: z.ZodString;
36
36
  heading: z.ZodString;
@@ -38,7 +38,7 @@ export declare const inline1NewsletterMessageSchema: z.ZodObject<{
38
38
  imageUrl: z.ZodOptional<z.ZodString>;
39
39
  }, z.core.$strip>;
40
40
  export declare const inline1MessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
41
- type: string;
41
+ type: z.ZodLiteral<"Inline1SupportMessage">;
42
42
  heading: z.ZodString;
43
43
  body: z.ZodString;
44
44
  primaryCta: z.ZodObject<{
@@ -55,9 +55,9 @@ export declare const inline1MessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
55
55
  altText: z.ZodString;
56
56
  }, z.core.$strip>>;
57
57
  }, z.core.$strip>, z.ZodObject<{
58
- type: string;
58
+ type: z.ZodLiteral<"Inline1PuzzlesMessage">;
59
59
  }, z.core.$strip>, z.ZodObject<{
60
- type: string;
60
+ type: z.ZodLiteral<"Inline1NewsletterMessage">;
61
61
  newsletterId: z.ZodString;
62
62
  frequency: z.ZodString;
63
63
  heading: z.ZodString;
@@ -67,7 +67,7 @@ export declare const inline1MessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
67
67
  export declare const inline1VariantSchema: z.ZodObject<{
68
68
  name: z.ZodString;
69
69
  message: z.ZodDiscriminatedUnion<[z.ZodObject<{
70
- type: string;
70
+ type: z.ZodLiteral<"Inline1SupportMessage">;
71
71
  heading: z.ZodString;
72
72
  body: z.ZodString;
73
73
  primaryCta: z.ZodObject<{
@@ -84,9 +84,9 @@ export declare const inline1VariantSchema: z.ZodObject<{
84
84
  altText: z.ZodString;
85
85
  }, z.core.$strip>>;
86
86
  }, z.core.$strip>, z.ZodObject<{
87
- type: string;
87
+ type: z.ZodLiteral<"Inline1PuzzlesMessage">;
88
88
  }, z.core.$strip>, z.ZodObject<{
89
- type: string;
89
+ type: z.ZodLiteral<"Inline1NewsletterMessage">;
90
90
  newsletterId: z.ZodString;
91
91
  frequency: z.ZodString;
92
92
  heading: z.ZodString;
@@ -98,7 +98,7 @@ export declare const inline1PropsSchema: z.ZodObject<{
98
98
  variant: z.ZodObject<{
99
99
  name: z.ZodString;
100
100
  message: z.ZodDiscriminatedUnion<[z.ZodObject<{
101
- type: string;
101
+ type: z.ZodLiteral<"Inline1SupportMessage">;
102
102
  heading: z.ZodString;
103
103
  body: z.ZodString;
104
104
  primaryCta: z.ZodObject<{
@@ -115,9 +115,9 @@ export declare const inline1PropsSchema: z.ZodObject<{
115
115
  altText: z.ZodString;
116
116
  }, z.core.$strip>>;
117
117
  }, z.core.$strip>, z.ZodObject<{
118
- type: string;
118
+ type: z.ZodLiteral<"Inline1PuzzlesMessage">;
119
119
  }, z.core.$strip>, z.ZodObject<{
120
- type: string;
120
+ type: z.ZodLiteral<"Inline1NewsletterMessage">;
121
121
  newsletterId: z.ZodString;
122
122
  frequency: z.ZodString;
123
123
  heading: z.ZodString;
@@ -8,6 +8,7 @@ export type BannerTargeting = {
8
8
  signInBannerLastClosedAt?: string;
9
9
  abandonedBasketBannerLastClosedAt?: string;
10
10
  mvtId: number;
11
+ auxiaRolloutMvtId?: number;
11
12
  countryCode: string;
12
13
  weeklyArticleHistory?: WeeklyArticleHistory;
13
14
  articleCountToday?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../../../../shared/types/targeting/banner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEpF,MAAM,MAAM,eAAe,GAAG;IAC1B,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,iCAAiC,CAAC,EAAE,MAAM,CAAC;IAC3C,KAAK,E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CAAC;IAC5C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,yBAAyB,EAAE,OAAO,CAAC;IACnC,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,YAAY,EAAE,OAAO,CAAC;IACtB,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IACxB,SAAS,EAAE,eAAe,CAAC;CAC9B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guardian/support-dotcom-components",
3
- "version": "11.1.0",
3
+ "version": "11.1.2",
4
4
  "description": "Reader Revenue components for dotcom",
5
5
  "repository": {
6
6
  "url": "https://github.com/guardian/support-dotcom-components"