@wix/ditto-codegen-public 1.0.72 → 1.0.74
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 +17 -13
- 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
|
},
|
|
@@ -121643,12 +121643,16 @@ var require_url_resolver = __commonJS({
|
|
|
121643
121643
|
return host.replace("create.editorx.com", "editor.editorx.com");
|
|
121644
121644
|
}
|
|
121645
121645
|
function resolveMappingsByDomain(domain, domainToMappings) {
|
|
121646
|
-
const mappings = domainToMappings[domain]
|
|
121646
|
+
const mappings = domainToMappings[domain];
|
|
121647
121647
|
if (mappings) {
|
|
121648
121648
|
return mappings;
|
|
121649
121649
|
}
|
|
121650
121650
|
const rootDomainMappings = resolveRootDomain(domain, domainToMappings);
|
|
121651
121651
|
if (!rootDomainMappings) {
|
|
121652
|
+
const userMappings = domainToMappings[USER_DOMAIN];
|
|
121653
|
+
if (userMappings) {
|
|
121654
|
+
return userMappings;
|
|
121655
|
+
}
|
|
121652
121656
|
if (isBaseDomain(domain)) {
|
|
121653
121657
|
return domainToMappings[wwwBaseDomain];
|
|
121654
121658
|
}
|
|
@@ -127727,11 +127731,11 @@ var require_constants5 = __commonJS({
|
|
|
127727
127731
|
"ecom.additionalFees.calculateAdditionalFees": "ecom-additional-fees",
|
|
127728
127732
|
"ecom.paymentSettings.getPaymentSettings": "ecom-payment-settings",
|
|
127729
127733
|
"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
|
|
127734
|
+
"ecom.customTriggers.getEligibleTriggers": "ecom-discount-triggers",
|
|
127735
|
+
"ecom.customTriggers.listTriggers": "ecom-discount-triggers",
|
|
127736
|
+
"ecom.giftCardsProvider.redeem": "ecom-gift-cards",
|
|
127737
|
+
"ecom.giftCardsProvider._void": "ecom-gift-cards",
|
|
127738
|
+
"ecom.giftCardsProvider.getBalance": "ecom-gift-cards"
|
|
127735
127739
|
};
|
|
127736
127740
|
}
|
|
127737
127741
|
});
|
|
@@ -131196,7 +131200,7 @@ var require_extensionGenerators = __commonJS({
|
|
|
131196
131200
|
return writeExtensionFile({
|
|
131197
131201
|
outputPath,
|
|
131198
131202
|
name,
|
|
131199
|
-
builderMethodName: "
|
|
131203
|
+
builderMethodName: "dashboardPage",
|
|
131200
131204
|
extensionConfig,
|
|
131201
131205
|
extensionType: extension.type,
|
|
131202
131206
|
scaffoldDir
|
|
@@ -131307,9 +131311,9 @@ var require_extensionGenerators = __commonJS({
|
|
|
131307
131311
|
return { id, source };
|
|
131308
131312
|
case "ecom-validations":
|
|
131309
131313
|
return { id, source };
|
|
131310
|
-
case "ecom-
|
|
131314
|
+
case "ecom-discount-triggers":
|
|
131311
131315
|
return { id, source };
|
|
131312
|
-
case "gift-cards
|
|
131316
|
+
case "ecom-gift-cards":
|
|
131313
131317
|
return { id, source };
|
|
131314
131318
|
case "ecom-payment-settings":
|
|
131315
131319
|
return { id, source };
|
|
@@ -131376,8 +131380,8 @@ var require_extensionGenerators = __commonJS({
|
|
|
131376
131380
|
"ecom-shipping-rates": "ecomShippingRates",
|
|
131377
131381
|
"ecom-additional-fees": "ecomAdditionalFees",
|
|
131378
131382
|
"ecom-validations": "ecomValidations",
|
|
131379
|
-
"ecom-
|
|
131380
|
-
"gift-cards
|
|
131383
|
+
"ecom-discount-triggers": "ecomDiscountTriggers",
|
|
131384
|
+
"ecom-gift-cards": "ecomGiftCards",
|
|
131381
131385
|
"ecom-payment-settings": "ecomPaymentSettings"
|
|
131382
131386
|
};
|
|
131383
131387
|
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.74",
|
|
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": "58ca229ae94bedb22a27232b8bf20f30d0ab46586cb568fe2052d089"
|
|
28
28
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|