@luxuryescapes/contract-svc-lab-v2 0.1.34 → 0.1.36

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 (2) hide show
  1. package/dist/server.d.ts +16 -15
  2. package/package.json +1 -1
package/dist/server.d.ts CHANGED
@@ -85,15 +85,15 @@ export interface paths {
85
85
  export interface components {
86
86
  schemas: {
87
87
  HeaderBannerDescription: {
88
- desktop: string;
89
- mobile?: string;
88
+ "desktop-i18n": string;
89
+ "mobile-i18n"?: string;
90
90
  };
91
91
  HeaderBannerBackground: {
92
92
  mode: "solid";
93
93
  value: string;
94
94
  };
95
95
  HeaderBannerCta: {
96
- label: string;
96
+ "label-i18n": string;
97
97
  path: string;
98
98
  style: "primary" | "secondary" | "tertiary";
99
99
  };
@@ -112,16 +112,16 @@ export interface components {
112
112
  iconImageId?: string;
113
113
  };
114
114
  PopupTag: {
115
- text: string;
115
+ "text-i18n": string;
116
116
  variant: "lux-plus" | "dark" | "highlight" | "urgency" | "exclusive";
117
117
  };
118
118
  PopupCta: {
119
- label: string;
119
+ "label-i18n": string;
120
120
  path: string;
121
121
  };
122
122
  PopupContent: {
123
- title: string;
124
- description?: string;
123
+ "title-i18n": string;
124
+ "description-i18n"?: string;
125
125
  imageId?: string;
126
126
  tag?: components["schemas"]["PopupTag"];
127
127
  primaryCta?: components["schemas"]["PopupCta"];
@@ -133,8 +133,8 @@ export interface components {
133
133
  };
134
134
  SnackbarPayload: {
135
135
  kind: "neutral" | "warning" | "success" | "critical";
136
- heading: string;
137
- description: string;
136
+ "heading-i18n": string;
137
+ "description-i18n": string;
138
138
  };
139
139
  };
140
140
  }
@@ -1807,13 +1807,14 @@ export interface operations {
1807
1807
  message: string;
1808
1808
  /** @description Metadata only. Fetch each payload by id from its own endpoint: send no credentials, no Authorization header and no brand query param, and keep the query string stable, so the CDN can cache it. Metadata can be up to 5 minutes newer than a cached payload: on a 404 or an unrecognised payload, render nothing. During SSR, fetch only above-the-fold payloads; fetch popups, snackbars and other configs in the browser on demand. */
1809
1809
  result: {
1810
- /** @description Ordered by campaign priority (scheduled, then always-on) and not deduplicated. For a given config name, use the first entry. */
1810
+ /** @description Keyed by config name. Each name maps to the config of the highest-priority campaign (scheduled, then always-on) that has it. A missing name means no config applies. */
1811
1811
  configs: {
1812
- /** Format: uuid */
1813
- id: string;
1814
- name: string;
1815
- experiment_id: number;
1816
- }[];
1812
+ [key: string]: {
1813
+ /** Format: uuid */
1814
+ id: string;
1815
+ experiment_id: number;
1816
+ };
1817
+ };
1817
1818
  /** @description Ordered by campaign priority (scheduled, then always-on) and not deduplicated. For header_banner, show every entry whose trigger_points is empty or contains your trigger point, in this order. For other UI types, use the first entry whose trigger_points is empty or contains your trigger point. */
1818
1819
  uis: ({
1819
1820
  type: "header_banner";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxuryescapes/contract-svc-lab-v2",
3
- "version": "0.1.34",
3
+ "version": "0.1.36",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "files": [