@serik_lav/api-fe 0.53.0 → 0.54.0
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.
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.54.0] - 2026-06-20
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- `creatives`: `Creative.products` is now `BaseProduct[]` (standard storefront product shape with correct price/special) instead of the ad-hoc `CreativeProduct`; dropped `Creative.description`. Frontends render creative products with the regular ProductCard.
|
|
14
|
+
|
|
10
15
|
## [0.53.0] - 2026-06-20
|
|
11
16
|
|
|
12
17
|
### Added
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import type { PaginatedResponse } from '../../../shared/model';
|
|
2
|
-
|
|
3
|
-
id: number;
|
|
4
|
-
article: string;
|
|
5
|
-
name: string;
|
|
6
|
-
thumb: string;
|
|
7
|
-
price: number;
|
|
8
|
-
}
|
|
2
|
+
import type { BaseProduct } from '../../product';
|
|
9
3
|
export interface CreativeVideo {
|
|
10
4
|
id: number;
|
|
11
5
|
file_name: string;
|
|
@@ -19,9 +13,8 @@ export interface CreativeVideo {
|
|
|
19
13
|
export interface Creative {
|
|
20
14
|
id: number;
|
|
21
15
|
title: string;
|
|
22
|
-
description: string | null;
|
|
23
16
|
video: CreativeVideo | null;
|
|
24
|
-
products:
|
|
17
|
+
products: BaseProduct[];
|
|
25
18
|
}
|
|
26
19
|
export interface GetCreativesRequest {
|
|
27
20
|
article?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/entities/creatives/model/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/entities/creatives/model/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,aAAa,GAAG,IAAI,CAAC;IAC5B,QAAQ,EAAE,WAAW,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;IAC7D,IAAI,EAAE,QAAQ,EAAE,CAAC;CAClB"}
|