@wix/ditto-codegen-public 1.0.353 → 1.0.355

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.
Files changed (2) hide show
  1. package/dist/out.js +6 -3
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -12110,11 +12110,14 @@ var require_site_data_layer_rules = __commonJS({
12110
12110
 
12111
12111
  The agent operates on a live Wix site (METASITE_ID is in your prompt context).
12112
12112
 
12113
- For any persistent-data need \u2014 CMS collections, content tables, schemas, data models, or databases that store items \u2014 use the \`wix-site-data-collection\` skill.
12113
+ ## Mandatory for data persistence
12114
12114
 
12115
- The \`wix-app\` skill remains the right tool for surrounding extensions (dashboard pages, modals, widgets); only the data layer is overridden. A Wix CLI data collection extension will NOT work here \u2014 it only provisions on app install, but this is a live site that already exists. Use the \`wix-site-data-collection\` skill to discover the existing collections on the site and wire your code against them.
12115
+ For any persistent-data need (CMS collections, tables, schemas, data models):
12116
12116
 
12117
- DO NOT write any code relating to Wix CLI data extensions \u2014 for example, do not generate \`src/extensions/data/extensions.ts\`.`;
12117
+ 1. **You MUST invoke the \`wix-site-data-collection\` skill first** \u2014 before scaffolding or writing collection code.
12118
+ 2. **Do NOT** run \`wix generate\` with \`extensionType: DATA_COLLECTION\`, and do not create data-collection CLI extension files manually (e.g. \`src/extensions/backend/data-collections/*\`).
12119
+
12120
+ \`wix-app\` is still correct for dashboard pages, modals, widgets, and UI \u2014 only the data layer is overridden here.`;
12118
12121
  }
12119
12122
  });
12120
12123
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.353",
3
+ "version": "1.0.355",
4
4
  "description": "AI-powered Wix CLI app generator - standalone executable",
5
5
  "scripts": {
6
6
  "build": "node build.mjs",
@@ -29,5 +29,5 @@
29
29
  "esbuild": "^0.27.2",
30
30
  "vitest": "^4.0.16"
31
31
  },
32
- "falconPackageHash": "943d5f8ec00f0137ee6eb09d99039fcb25d9b2e45502f9ca49f7ba53"
32
+ "falconPackageHash": "dd6728e78e15bfd74a1b9833c183856688581fdb5c38a7c055f003e6"
33
33
  }