@wix/ditto-codegen-public 1.0.58 → 1.0.59
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 +4 -7
- package/package.json +2 -2
package/dist/out.js
CHANGED
|
@@ -77716,7 +77716,7 @@ var require_apiDocLoader = __commonJS({
|
|
|
77716
77716
|
"stores.productsV3.updateProduct": "stores-productsV3-updateProduct-doc.txt",
|
|
77717
77717
|
"stores.products.onProductCreated": "stores-productV3-onProductCreated-doc.txt",
|
|
77718
77718
|
"data.items.onDataItemCreated": "data-items-onDataItemCreated.txt",
|
|
77719
|
-
"data.items.query": "data-items-query-doc.
|
|
77719
|
+
"data.items.query": "data-items-query-doc.txt",
|
|
77720
77720
|
"data.items.insert": "data-items-insert-doc.txt",
|
|
77721
77721
|
"data.items.remove": "data-items-remove-doc.txt",
|
|
77722
77722
|
"data.items.update": "data-items-update-doc.txt",
|
|
@@ -121079,14 +121079,13 @@ With embedded script extensions:
|
|
|
121079
121079
|
"extensionId": "site-popup",
|
|
121080
121080
|
"parameters": [
|
|
121081
121081
|
{ "key": "headline", "displayName": "Headline", "type": "TEXT", "required": true },
|
|
121082
|
-
{ "key": "text", "displayName": "Text", "type": "
|
|
121082
|
+
{ "key": "text", "displayName": "Text", "type": "TEXT", "required": true }
|
|
121083
121083
|
]
|
|
121084
121084
|
}
|
|
121085
121085
|
]
|
|
121086
121086
|
|
|
121087
121087
|
Supported parameter types:
|
|
121088
|
-
- TEXT:
|
|
121089
|
-
- TEXTAREA: Multi-line text input
|
|
121088
|
+
- TEXT: text input
|
|
121090
121089
|
- NUMBER: Numeric input
|
|
121091
121090
|
- BOOLEAN: Checkbox or toggle
|
|
121092
121091
|
- IMAGE: Image picker
|
|
@@ -121118,7 +121117,7 @@ Output:
|
|
|
121118
121117
|
{
|
|
121119
121118
|
"key": "text",
|
|
121120
121119
|
"displayName": "Text",
|
|
121121
|
-
"type": "
|
|
121120
|
+
"type": "TEXT",
|
|
121122
121121
|
"description": "The message content of the popup",
|
|
121123
121122
|
"required": true,
|
|
121124
121123
|
"defaultValue": "Sign up and get 20% off on our Winter Sale"
|
|
@@ -123167,7 +123166,6 @@ var require_EmbeddedScriptSchema = __commonJS({
|
|
|
123167
123166
|
var zod_1 = require_zod();
|
|
123168
123167
|
var ParameterTypeEnum = zod_1.z.enum([
|
|
123169
123168
|
"TEXT",
|
|
123170
|
-
"TEXTAREA",
|
|
123171
123169
|
"NUMBER",
|
|
123172
123170
|
"BOOLEAN",
|
|
123173
123171
|
"IMAGE",
|
|
@@ -126847,7 +126845,6 @@ IMPORTANT: Only implement UI for parameters that are relevant to your current us
|
|
|
126847
126845
|
- Skip parameters that don't apply to the functionality being built
|
|
126848
126846
|
- Create appropriate WDS form fields based on parameter types:
|
|
126849
126847
|
* TEXT \u2192 Input component with FormField
|
|
126850
|
-
* TEXTAREA \u2192 InputArea component with FormField
|
|
126851
126848
|
* NUMBER \u2192 Input component with type="number"
|
|
126852
126849
|
* BOOLEAN \u2192 Checkbox or ToggleSwitch
|
|
126853
126850
|
* IMAGE \u2192 Custom ImagePicker component (see components/image-picker.tsx)
|
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.59",
|
|
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": "8001be8779940a0c6bb629dd1140823cd890f5e3494c8d302f8d2821"
|
|
28
28
|
}
|