@wix/ditto-codegen-public 1.0.12 → 1.0.14
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/dist/out.js +10 -1
- 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++) {
|
|
@@ -119816,7 +119825,7 @@ var require_orchestrator = __commonJS({
|
|
|
119816
119825
|
const start = Date.now();
|
|
119817
119826
|
const { extensions = [] } = blueprint;
|
|
119818
119827
|
const createdCollections = [];
|
|
119819
|
-
if (siteId && accessToken) {
|
|
119828
|
+
if (siteId && siteId !== "N/A" && accessToken) {
|
|
119820
119829
|
const planAndResourcesResult = await this.generatePlanAndResources(request);
|
|
119821
119830
|
createdCollections.push(...planAndResourcesResult.createdCollections);
|
|
119822
119831
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ditto-codegen-public",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
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": "
|
|
27
|
+
"falconPackageHash": "4b5dbc2a8ecdd4788aba33821cd10f881f3f0380eb13d39c14c0532d"
|
|
28
28
|
}
|