@flexbe/sdk 0.2.16 → 0.2.18

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.
@@ -164,14 +164,7 @@ export interface PageBackgroundStyles {
164
164
  }
165
165
  export interface PageBackground {
166
166
  image: ImageObj | null;
167
- styles: {
168
- backgroundRepeat: string;
169
- backgroundPosition: string;
170
- backgroundSize: string;
171
- backgroundFixed: boolean;
172
- backgroundColor: string;
173
- contrast: string;
174
- };
167
+ styles: PageBackgroundStyles;
175
168
  }
176
169
  export interface PageGrid {
177
170
  color: string;
@@ -266,8 +259,7 @@ export interface PageWidget {
266
259
  export interface PageABTest {
267
260
  a: string;
268
261
  b: string;
269
- current: 'a' | 'b';
270
- is_active: number;
262
+ is_active: boolean;
271
263
  id: number;
272
264
  }
273
265
  export interface PageModal {
@@ -286,10 +278,12 @@ export interface PageContent {
286
278
  elements: PageElement[];
287
279
  widgets: PageWidget[];
288
280
  codes: string[];
289
- background: PageBackground;
290
- textStyles: TextStyleItem[];
281
+ settings: {
282
+ background?: PageBackground;
283
+ textStyles?: TextStyleItem[];
284
+ responsive?: string | boolean;
285
+ } | null;
291
286
  abtests: PageABTest[];
292
- responsive: string | boolean;
293
287
  assets: {
294
288
  images: number[];
295
289
  files: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flexbe/sdk",
3
- "version": "0.2.16",
3
+ "version": "0.2.18",
4
4
  "description": "TypeScript SDK for Flexbe API",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",