@up-im/medotvet_sdk 0.0.1 → 0.0.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.
@@ -214,9 +214,9 @@ class ApiContent extends abstract_1.ApiAbstract {
214
214
  ...data,
215
215
  item: {
216
216
  ...data.item,
217
- sku: data.item?.sku
218
- ? { id: data.item.sku.id, title: data.item.sku.title }
219
- : null
217
+ // sku: data.item?.sku
218
+ // ? { id: data.item.sku.id, title: data.item.sku.title }
219
+ // : null
220
220
  }
221
221
  };
222
222
  }
@@ -4,10 +4,6 @@ export interface iStories {
4
4
  image: string;
5
5
  video: string[];
6
6
  photo: string[];
7
- sku: {
8
- id: number;
9
- title: string;
10
- } | null;
11
7
  sorter: number;
12
8
  is_view?: 1 | 0;
13
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@up-im/medotvet_sdk",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -236,9 +236,9 @@ export class ApiContent extends ApiAbstract {
236
236
  ...data,
237
237
  item: {
238
238
  ...data.item,
239
- sku: data.item?.sku
240
- ? { id: data.item.sku.id, title: data.item.sku.title }
241
- : null
239
+ // sku: data.item?.sku
240
+ // ? { id: data.item.sku.id, title: data.item.sku.title }
241
+ // : null
242
242
  }
243
243
  }
244
244
  }
@@ -4,7 +4,6 @@ export interface iStories {
4
4
  image: string//Обложка
5
5
  video: string[]//Видео-сторисы
6
6
  photo: string[]//Картинки-сторисы
7
- sku: { id: number, title: string } | null//Акция
8
7
  sorter: number
9
8
  is_view?: 1 | 0
10
9
  }