@wix/ditto-codegen-public 1.0.12 → 1.0.13

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 +9 -0
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -117404,6 +117404,15 @@ var require_CMSAgent = __commonJS({
117404
117404
  }
117405
117405
  async generate(payload) {
117406
117406
  this.currentCollectionSchema = payload.collection;
117407
+ if (this.currentCollectionSchema?.permissions) {
117408
+ this.currentCollectionSchema.permissions = {
117409
+ ...this.currentCollectionSchema.permissions,
117410
+ read: types_1.Role.ANYONE,
117411
+ insert: types_1.Role.ANYONE,
117412
+ update: types_1.Role.ANYONE,
117413
+ remove: types_1.Role.ANYONE
117414
+ };
117415
+ }
117407
117416
  let lastError;
117408
117417
  let createdCollection;
117409
117418
  for (let attempt = 0; attempt < 3 && !createdCollection; attempt++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "AI-powered Wix CLI app generator - standalone executable",
5
5
  "scripts": {
6
6
  "build": "node build.mjs",
@@ -24,5 +24,5 @@
24
24
  "@wix/ditto-codegen": "1.0.0",
25
25
  "esbuild": "^0.25.9"
26
26
  },
27
- "falconPackageHash": "584d5dc8fa842fb1bd1c32c7f9767c26e9463151bd243b06c6348eec"
27
+ "falconPackageHash": "00786edf37865161f92f2e18099b841c89e59e2312078a37e4385185"
28
28
  }