@wix/ditto-codegen-public 1.0.72 → 1.0.73
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/examples-apps/contact-created-logger/package.json +1 -1
- package/dist/examples-apps/coupon-popup/package.json +1 -2
- package/dist/examples-apps/event-countdown/package.json +1 -1
- package/dist/examples-apps/event-countdown/src/dashboard/pages/countdown-timer-settings/extensions.ts +1 -1
- package/dist/examples-apps/product-created-logger/package.json +1 -1
- package/dist/examples-apps/site-popup/package.json +1 -1
- package/dist/examples-apps/site-popup/src/extensions.ts +4 -4
- package/dist/examples-apps/spis-examples/src/backend/service-plugins/ecom-gift-cards/gift-cards/plugin.json +5 -0
- package/dist/examples-apps/survey-manager/package.json +1 -1
- package/dist/examples-apps/survey-manager/src/extensions.ts +8 -9
- package/dist/out.js +12 -12
- package/package.json +2 -2
- package/dist/examples-apps/spis-examples/src/backend/service-plugins/gift-cards-provider/gift-cards/plugin.json +0 -5
- /package/dist/examples-apps/spis-examples/src/backend/service-plugins/{ecom-discounts-trigger → ecom-discount-triggers}/discount-triggers/plugin.json +0 -0
- /package/dist/examples-apps/spis-examples/src/backend/service-plugins/{ecom-discounts-trigger → ecom-discount-triggers}/discount-triggers/plugin.ts +0 -0
- /package/dist/examples-apps/spis-examples/src/backend/service-plugins/{gift-cards-provider → ecom-gift-cards}/gift-cards/plugin.ts +0 -0
- /package/dist/wix-cli-templates/src/backend/service-plugins/{ecom-discounts-trigger → ecom-discount-triggers}/my-service-plugin/plugin.ts +0 -0
- /package/dist/wix-cli-templates/src/backend/service-plugins/{gift-cards-provider → ecom-gift-cards}/my-service-plugin/plugin.ts +0 -0
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@wix/app-management": "^1.0.122",
|
|
17
|
-
"@wix/astro": "^2.
|
|
17
|
+
"@wix/astro": "^2.11.0",
|
|
18
18
|
"@wix/crm": "^1.0.1071",
|
|
19
19
|
"@wix/dashboard": "^1.3.36",
|
|
20
20
|
"@wix/data": "^1.0.290",
|
|
@@ -41,4 +41,3 @@
|
|
|
41
41
|
"react-dom": "18.3.1"
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as extensions from '@wix/astro/builders';
|
|
2
|
-
export const dashboardpagecountdownTimerSettings = extensions.
|
|
2
|
+
export const dashboardpagecountdownTimerSettings = extensions.dashboardPage({
|
|
3
3
|
"id": "55494b14-6385-41a3-af6b-c165b0961f5f",
|
|
4
4
|
"title": "Countdown Timer Settings",
|
|
5
5
|
"routePath": "countdown-timer-settings",
|
|
@@ -6,13 +6,13 @@ export default app()
|
|
|
6
6
|
extensions.embeddedScript({
|
|
7
7
|
id: '2c43c310-939b-451d-b488-805f7ebba6ab',
|
|
8
8
|
name: 'Site Popup',
|
|
9
|
-
scriptType:
|
|
10
|
-
placement:
|
|
9
|
+
scriptType: 'FUNCTIONAL',
|
|
10
|
+
placement: 'BODY_START',
|
|
11
11
|
source: './site/embedded-scripts/site-popup/embedded.html',
|
|
12
12
|
})
|
|
13
13
|
)
|
|
14
|
-
|
|
15
|
-
extensions.
|
|
14
|
+
.use(
|
|
15
|
+
extensions.dashboardPage({
|
|
16
16
|
id: '57512654-b94e-460b-91e4-88624b5afea3',
|
|
17
17
|
component: './dashboard/pages/page.tsx',
|
|
18
18
|
routePath: 'hello',
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { app } from '@wix/astro/builders';
|
|
2
2
|
import * as extensions from '@wix/astro/builders';
|
|
3
3
|
|
|
4
|
-
export default app()
|
|
5
|
-
.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
);
|
|
4
|
+
export default app().use(
|
|
5
|
+
extensions.dashboardPage({
|
|
6
|
+
component: './dashboard/pages/page.tsx',
|
|
7
|
+
id: '4344c4a2-1864-4587-87e9-5e4109b16999',
|
|
8
|
+
routePath: 'survey-manager',
|
|
9
|
+
title: 'Survey Manager',
|
|
10
|
+
})
|
|
11
|
+
);
|
package/dist/out.js
CHANGED
|
@@ -120601,10 +120601,10 @@ var require_load_examples = __commonJS({
|
|
|
120601
120601
|
[types.DashboardPage]: ["spis-examples/src/dashboard/pages/page.tsx"],
|
|
120602
120602
|
[types.ServicePluginExtension]: [
|
|
120603
120603
|
"spis-examples/src/backend/service-plugins/ecom-additional-fees/additional-fees/plugin.ts",
|
|
120604
|
-
"spis-examples/src/backend/service-plugins/ecom-
|
|
120604
|
+
"spis-examples/src/backend/service-plugins/ecom-discount-triggers/discount-triggers/plugin.ts",
|
|
120605
120605
|
"spis-examples/src/backend/service-plugins/ecom-shipping-rates/shipping-rates/plugin.ts",
|
|
120606
120606
|
"spis-examples/src/backend/service-plugins/ecom-validations/validations/plugin.ts",
|
|
120607
|
-
"spis-examples/src/backend/service-plugins/gift-cards
|
|
120607
|
+
"spis-examples/src/backend/service-plugins/ecom-gift-cards/gift-cards/plugin.ts"
|
|
120608
120608
|
]
|
|
120609
120609
|
}
|
|
120610
120610
|
},
|
|
@@ -127727,11 +127727,11 @@ var require_constants5 = __commonJS({
|
|
|
127727
127727
|
"ecom.additionalFees.calculateAdditionalFees": "ecom-additional-fees",
|
|
127728
127728
|
"ecom.paymentSettings.getPaymentSettings": "ecom-payment-settings",
|
|
127729
127729
|
"ecom.validations.getValidationViolations": "ecom-validations",
|
|
127730
|
-
"ecom.customTriggers.getEligibleTriggers": "ecom-
|
|
127731
|
-
"ecom.customTriggers.listTriggers": "ecom-
|
|
127732
|
-
"ecom.giftCardsProvider.redeem": "gift-cards
|
|
127733
|
-
"ecom.giftCardsProvider._void": "gift-cards
|
|
127734
|
-
"ecom.giftCardsProvider.getBalance": "gift-cards
|
|
127730
|
+
"ecom.customTriggers.getEligibleTriggers": "ecom-discount-triggers",
|
|
127731
|
+
"ecom.customTriggers.listTriggers": "ecom-discount-triggers",
|
|
127732
|
+
"ecom.giftCardsProvider.redeem": "ecom-gift-cards",
|
|
127733
|
+
"ecom.giftCardsProvider._void": "ecom-gift-cards",
|
|
127734
|
+
"ecom.giftCardsProvider.getBalance": "ecom-gift-cards"
|
|
127735
127735
|
};
|
|
127736
127736
|
}
|
|
127737
127737
|
});
|
|
@@ -131196,7 +131196,7 @@ var require_extensionGenerators = __commonJS({
|
|
|
131196
131196
|
return writeExtensionFile({
|
|
131197
131197
|
outputPath,
|
|
131198
131198
|
name,
|
|
131199
|
-
builderMethodName: "
|
|
131199
|
+
builderMethodName: "dashboardPage",
|
|
131200
131200
|
extensionConfig,
|
|
131201
131201
|
extensionType: extension.type,
|
|
131202
131202
|
scaffoldDir
|
|
@@ -131307,9 +131307,9 @@ var require_extensionGenerators = __commonJS({
|
|
|
131307
131307
|
return { id, source };
|
|
131308
131308
|
case "ecom-validations":
|
|
131309
131309
|
return { id, source };
|
|
131310
|
-
case "ecom-
|
|
131310
|
+
case "ecom-discount-triggers":
|
|
131311
131311
|
return { id, source };
|
|
131312
|
-
case "gift-cards
|
|
131312
|
+
case "ecom-gift-cards":
|
|
131313
131313
|
return { id, source };
|
|
131314
131314
|
case "ecom-payment-settings":
|
|
131315
131315
|
return { id, source };
|
|
@@ -131376,8 +131376,8 @@ var require_extensionGenerators = __commonJS({
|
|
|
131376
131376
|
"ecom-shipping-rates": "ecomShippingRates",
|
|
131377
131377
|
"ecom-additional-fees": "ecomAdditionalFees",
|
|
131378
131378
|
"ecom-validations": "ecomValidations",
|
|
131379
|
-
"ecom-
|
|
131380
|
-
"gift-cards
|
|
131379
|
+
"ecom-discount-triggers": "ecomDiscountTriggers",
|
|
131380
|
+
"ecom-gift-cards": "ecomGiftCards",
|
|
131381
131381
|
"ecom-payment-settings": "ecomPaymentSettings"
|
|
131382
131382
|
};
|
|
131383
131383
|
ExtensionFactory.apiToSlug = {
|
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.73",
|
|
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": "d9dc2a14abf3abf3e8d15476dda9bb636a32fbc71b6833ec3d168d6e"
|
|
28
28
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|