@wix/ditto-codegen-public 1.0.422 → 1.0.424
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 +8 -2
- package/package.json +2 -2
package/dist/out.js
CHANGED
|
@@ -13444,6 +13444,12 @@ var require_SPIAgent = __commonJS({
|
|
|
13444
13444
|
- For gift card functionality \u2192 use appropriate "ecom.giftCardsProvider.*" methods
|
|
13445
13445
|
- For staff sorting/assignment in bookings \u2192 use "bookings.staffSortingProvider.sortStaffMembers"
|
|
13446
13446
|
|
|
13447
|
+
**\u26A0\uFE0F SINGULAR TYPES \u2014 only one component of each allowed per app:**
|
|
13448
|
+
- "ecom.shippingRates.getShippingRates" \u2014 singular
|
|
13449
|
+
- "ecom.customTriggers.getEligibleTriggers" / "ecom.customTriggers.listTriggers" \u2014 singular (same component)
|
|
13450
|
+
- "ecom.giftCardsProvider.redeem" / "ecom.giftCardsProvider._void" / "ecom.giftCardsProvider.getBalance" \u2014 singular (same component)
|
|
13451
|
+
Never include two service plugin components of the same singular type in the same app payload.
|
|
13452
|
+
|
|
13447
13453
|
**\u274C UNSUPPORTED - DO NOT USE SERVICE_PLUGIN for these (no builders exist):**
|
|
13448
13454
|
- Tax calculations \u2192 use BACKEND_EVENT listening to order events instead
|
|
13449
13455
|
- Bookings custom pricing \u2192 use BACKEND_EVENT listening to booking events instead
|
|
@@ -14458,8 +14464,8 @@ var require_studio_2_site_ui_rules = __commonJS({
|
|
|
14458
14464
|
|
|
14459
14465
|
In the **Studio 2** environment, all site UI MUST be built as **Editor React Components** (\`extensionType: EDITOR_REACT_COMPONENT\`).
|
|
14460
14466
|
|
|
14461
|
-
- **Never create a Custom Element / site widget** (\`extensionType: CUSTOM_ELEMENT\`, \`CUSTOM_ELEMENT_WIDGET\`).
|
|
14462
|
-
- The
|
|
14467
|
+
- **Never create a Custom Element / site widget** (\`extensionType: CUSTOM_ELEMENT\`, \`CUSTOM_ELEMENT_WIDGET\`). This rule overrides the prompt \u2014 even if the prompt explicitly says "custom element", build it as an Editor React Component instead.
|
|
14468
|
+
- The words "widget" and "custom element" in the prompt do **not** mean Custom Element \u2014 always implement them as Editor React Components.`;
|
|
14463
14469
|
}
|
|
14464
14470
|
});
|
|
14465
14471
|
|
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.424",
|
|
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": "
|
|
32
|
+
"falconPackageHash": "19c959ce8c377c9693839db1f61b64933d0eda5f91ab0b5e7b6182bf"
|
|
33
33
|
}
|