@flexbe/sdk 0.2.17 → 0.2.19

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.
@@ -52,11 +52,11 @@ export interface Page {
52
52
  language: string;
53
53
  folderId: number;
54
54
  sortIndex: number;
55
- updatedAt?: Date;
56
- deletedAt: Date | null;
55
+ themeId: number;
56
+ updatedAt: string;
57
+ deletedAt: string | null;
57
58
  screenshot: Screenshot | null;
58
59
  meta: PageMeta | null;
59
- themeId: number;
60
60
  }
61
61
  export interface GetPagesParams {
62
62
  offset?: number;
@@ -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,7 +259,7 @@ export interface PageWidget {
266
259
  export interface PageABTest {
267
260
  a: string;
268
261
  b: string;
269
- is_active: number;
262
+ is_active: boolean;
270
263
  id: number;
271
264
  }
272
265
  export interface PageModal {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flexbe/sdk",
3
- "version": "0.2.17",
3
+ "version": "0.2.19",
4
4
  "description": "TypeScript SDK for Flexbe API",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",