@akinon/theme-contract 2.0.110-rc.0 → 2.0.110

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
@@ -1,6 +1,10 @@
1
1
  # @akinon/theme-contract
2
2
 
3
- ## 2.0.110-rc.0
3
+ ## 2.0.110
4
+
5
+ ### Patch Changes
6
+
7
+ - b4e3e64: ZERO-5084: Show a collection section's live rows on the theme editor canvas once its pick is saved
4
8
 
5
9
  ## 2.0.109
6
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/theme-contract",
3
- "version": "2.0.110-rc.0",
3
+ "version": "2.0.110",
4
4
  "description": "Shared wire contract between the theme editor (pz-dynamic-widget) 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
@@ -106,6 +106,14 @@ export interface ThemeSection {
106
106
  * handing sections to section renderers.
107
107
  */
108
108
  dataSource?: ThemeDataSource | null;
109
+ /**
110
+ * Wire-only, written by the editor into LOAD_THEME / UPDATE_THEME and never
111
+ * persisted: `true` when this section's collection binding (`pk` and
112
+ * `productLimit` of its data source) equals the published one, so its
113
+ * widget's live rows are the right ones to preview. Positive-only — absent
114
+ * means "not known to be saved", and the preview keeps the picked snapshot.
115
+ */
116
+ dataSourceSaved?: boolean;
109
117
  isNew?: boolean;
110
118
  isModified?: boolean;
111
119
  editorConfig?: ThemeSectionEditorConfig;