@akinon/theme-contract 2.0.143-beta.0 → 2.0.143
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 +5 -1
- package/package.json +1 -1
- package/src/types.ts +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# @akinon/theme-contract
|
|
2
2
|
|
|
3
|
-
## 2.0.143
|
|
3
|
+
## 2.0.143
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 826c588: ZERO-5173: Add a product card list slider, image count, hover zoom and the listing's grid views, and show an unsaved collection pick's channel rows on the canvas
|
|
4
8
|
|
|
5
9
|
## 2.0.142
|
|
6
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/theme-contract",
|
|
3
|
-
"version": "2.0.143
|
|
3
|
+
"version": "2.0.143",
|
|
4
4
|
"description": "Shared wire contract between the theme editor (pz-theme-editor) and the storefront renderer (@akinon/pz-theme): theme types, postMessage envelope, runtime validation and origin helpers.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "src/index.ts",
|
package/src/types.ts
CHANGED
|
@@ -25,6 +25,12 @@ export interface ThemeDataSource {
|
|
|
25
25
|
pk: number;
|
|
26
26
|
slug?: string;
|
|
27
27
|
productLimit: number;
|
|
28
|
+
/**
|
|
29
|
+
* Slug of the hidden widget the editor keeps bound to this `pk` and
|
|
30
|
+
* `productLimit` (`theme-editor-collection-<pk>-<productLimit>`). The
|
|
31
|
+
* canvas reads an unsaved pick's rows from it; the storefront never does.
|
|
32
|
+
*/
|
|
33
|
+
previewWidget?: string;
|
|
28
34
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
29
35
|
products?: Record<string, any>[];
|
|
30
36
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|