@wix/astro 2.27.0 → 2.28.0
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/build/dependencies/astro-auth/backend-runtime/constants-Dbkf3D5f.mjs +6 -0
- package/build/dependencies/astro-auth/backend-runtime/elevatedContextualClient-tJx9dIn_.mjs +41 -0
- package/build/dependencies/astro-auth/backend-runtime/host-utils-B2Fs_Z4S.mjs +17 -0
- package/build/dependencies/astro-auth/backend-runtime/middleware/auth.d.mts +6 -0
- package/build/dependencies/astro-auth/backend-runtime/middleware/auth.mjs +3643 -0
- package/build/dependencies/astro-auth/backend-runtime/middleware/localization.d.mts +6 -0
- package/build/dependencies/astro-auth/backend-runtime/middleware/localization.mjs +193 -0
- package/build/dependencies/astro-auth/backend-runtime/routes/callback.d.mts +6 -0
- package/build/dependencies/astro-auth/backend-runtime/routes/callback.mjs +34 -0
- package/build/dependencies/astro-auth/backend-runtime/routes/login.d.mts +6 -0
- package/build/dependencies/astro-auth/backend-runtime/routes/login.mjs +32 -0
- package/build/dependencies/astro-auth/backend-runtime/routes/logout-callback.d.mts +6 -0
- package/build/dependencies/astro-auth/backend-runtime/routes/logout-callback.mjs +14 -0
- package/build/dependencies/astro-auth/backend-runtime/routes/logout.d.mts +6 -0
- package/build/dependencies/astro-auth/backend-runtime/routes/logout.mjs +19 -0
- package/build/dependencies/astro-auth/backend-runtime/runtime/backend/setupContextualClient.d.mts +1 -0
- package/build/dependencies/astro-auth/backend-runtime/runtime/backend/setupContextualClient.mjs +8 -0
- package/build/dependencies/astro-auth/backend-runtime/saveSessionTokensToCookie-DK3xvtzk.mjs +24 -0
- package/build/dependencies/astro-auth/backend-runtime/schemas-XrMhpOYn.mjs +2771 -0
- package/build/dependencies/astro-auth/browser-runtime/setup.d.ts +4 -3
- package/build/dependencies/astro-auth/browser-runtime/setup.js +55 -81
- package/build/dependencies/astro-backend-extensions/backend-runtime/routes/extensions.d.mts +6 -0
- package/build/dependencies/astro-backend-extensions/backend-runtime/routes/extensions.mjs +37 -0
- package/build/dependencies/astro-backend-extensions/backend-runtime/runtime/setupServicePlugin.d.mts +10 -0
- package/build/dependencies/astro-backend-extensions/backend-runtime/runtime/setupServicePlugin.mjs +22 -0
- package/build/dependencies/astro-backend-extensions/backend-runtime/runtime/setupWebhook.d.mts +9 -0
- package/build/dependencies/astro-backend-extensions/backend-runtime/runtime/setupWebhook.mjs +22 -0
- package/build/dependencies/astro-backend-extensions/backend-runtime/utils-DDHGZHjR.mjs +56 -0
- package/build/dependencies/astro-backend-extensions/backend-runtime/utils-mYlwmIjd.d.mts +6 -0
- package/build/dependencies/astro-backoffice-extensions/browser-runtime/wrapComponent.d.ts +4 -3
- package/build/dependencies/astro-backoffice-extensions/browser-runtime/wrapComponent.js +6 -5
- package/build/dependencies/astro-context-providers-extensions/browser-runtime/hmr.d.ts +10 -0
- package/build/dependencies/astro-context-providers-extensions/browser-runtime/hmr.js +20 -23
- package/build/dependencies/astro-context-providers-extensions/browser-runtime/sdk.d.ts +9 -0
- package/build/dependencies/astro-context-providers-extensions/browser-runtime/sdk.js +16 -15
- package/build/dependencies/astro-custom-elements-extensions/browser-runtime/customElementHmr.d.ts +9 -5
- package/build/dependencies/astro-custom-elements-extensions/browser-runtime/customElementHmr.js +23 -40
- package/build/dependencies/astro-custom-elements-extensions/browser-runtime/reactHmr.d.ts +10 -1
- package/build/dependencies/astro-custom-elements-extensions/browser-runtime/reactHmr.js +20 -23
- package/build/dependencies/astro-custom-elements-extensions/browser-runtime/renderSettingsPanel.d.ts +4 -3
- package/build/dependencies/astro-custom-elements-extensions/browser-runtime/renderSettingsPanel.js +14 -18
- package/build/dependencies/astro-custom-elements-extensions/browser-runtime/wrapCustomElement.d.ts +9 -5
- package/build/dependencies/astro-custom-elements-extensions/browser-runtime/wrapCustomElement.js +23 -25
- package/build/dependencies/astro-embedded-scripts-extensions/browser-runtime/setupContext.d.ts +8 -4
- package/build/dependencies/astro-embedded-scripts-extensions/browser-runtime/setupContext.js +18 -17
- package/build/dependencies/astro-function-libraries-extensions/browser-runtime/sdk.d.ts +9 -0
- package/build/dependencies/astro-function-libraries-extensions/browser-runtime/sdk.js +16 -15
- package/build/dependencies/astro-html-embeds/backend-runtime/html-embeds.d.mts +6 -0
- package/build/dependencies/astro-html-embeds/backend-runtime/html-embeds.mjs +53 -0
- package/build/dependencies/astro-monitor/backend-runtime/monitor.d.mts +6 -0
- package/build/dependencies/astro-monitor/backend-runtime/monitor.mjs +43 -0
- package/build/dependencies/astro-payment-links/backend-runtime/elevate-CDDLuCIf.mjs +9 -0
- package/build/dependencies/astro-payment-links/backend-runtime/payment-checkout.d.mts +6 -0
- package/build/dependencies/astro-payment-links/backend-runtime/payment-checkout.mjs +20 -0
- package/build/dependencies/astro-payment-links/backend-runtime/payment-link.d.mts +6 -0
- package/build/dependencies/astro-payment-links/backend-runtime/payment-link.mjs +15 -0
- package/build/dependencies/astro-payment-links/backend-runtime/proposal.d.mts +6 -0
- package/build/dependencies/astro-payment-links/backend-runtime/proposal.mjs +20 -0
- package/build/dependencies/astro-robots/backend-runtime/robots.d.mts +6 -0
- package/build/dependencies/astro-robots/backend-runtime/robots.mjs +26 -0
- package/build/dependencies/astro-site-component-panels-extensions/browser-runtime/hmr.d.ts +10 -0
- package/build/dependencies/astro-site-component-panels-extensions/browser-runtime/hmr.js +20 -23
- package/build/dependencies/astro-site-component-panels-extensions/browser-runtime/sdk.d.ts +12 -0
- package/build/dependencies/astro-site-component-panels-extensions/browser-runtime/sdk.js +10 -10
- package/build/dependencies/astro-site-components-extensions/browser-runtime/hmr.d.ts +10 -0
- package/build/dependencies/astro-site-components-extensions/browser-runtime/hmr.js +20 -23
- package/build/dependencies/astro-site-components-extensions/browser-runtime/sdk.d.ts +9 -0
- package/build/dependencies/astro-site-components-extensions/browser-runtime/sdk.js +16 -15
- package/build/dependencies/astro-translations/backend-runtime/middleware/static-translations.d.mts +6 -0
- package/build/dependencies/astro-translations/backend-runtime/middleware/static-translations.mjs +177 -0
- package/build/dependencies/astro-translations/backend-runtime/runtime/{i18n.d.ts → i18n.d.mts} +3 -2
- package/build/dependencies/astro-translations/backend-runtime/runtime/i18n.mjs +38 -0
- package/build/dependencies/astro-translations/integration/index.d.mts +105 -0
- package/build/dependencies/astro-translations/integration/index.mjs +264 -0
- package/build/dependencies/astro-trusted-backoffice-extensions/browser-runtime/hmr.d.ts +10 -1
- package/build/dependencies/astro-trusted-backoffice-extensions/browser-runtime/hmr.js +20 -23
- package/build/dependencies/astro-trusted-backoffice-extensions/browser-runtime/wrapComponent.d.ts +12 -8
- package/build/dependencies/astro-trusted-backoffice-extensions/browser-runtime/wrapComponent.js +25 -35
- package/build/dependencies/astro-viewer-api/backend-runtime/api.d.mts +6 -0
- package/build/dependencies/astro-viewer-api/backend-runtime/api.mjs +27 -0
- package/build/dependencies/astro-viewer-services-extensions/browser-runtime/sdk.d.ts +9 -0
- package/build/dependencies/astro-viewer-services-extensions/browser-runtime/sdk.js +16 -15
- package/build/integration/builders-B9yQdgSz.mjs +76 -0
- package/build/integration/builders-DP0350YQ.d.mts +121 -0
- package/build/integration/builders-DVfxT6EC.mjs +225 -0
- package/build/integration/builders-experimental.d.mts +56 -0
- package/build/integration/builders-experimental.mjs +26 -0
- package/build/integration/builders-trusted.d.mts +75 -0
- package/build/integration/builders-trusted.mjs +46 -0
- package/build/integration/builders.d.mts +4 -0
- package/build/integration/builders.mjs +4 -0
- package/build/integration/index-B3B_5bgh.d.mts +248 -0
- package/build/integration/index-D5k6Bmue.d.mts +32 -0
- package/build/integration/index.d.mts +35 -0
- package/build/integration/index.mjs +29236 -0
- package/package.json +12 -12
- package/build/dependencies/astro-auth/backend-runtime/chunk-24J7STEA.js +0 -8
- package/build/dependencies/astro-auth/backend-runtime/chunk-352W54SQ.js +0 -70
- package/build/dependencies/astro-auth/backend-runtime/chunk-BIARYLOZ.js +0 -3267
- package/build/dependencies/astro-auth/backend-runtime/chunk-DZHZMKUF.js +0 -26
- package/build/dependencies/astro-auth/backend-runtime/chunk-MLKGABMK.js +0 -9
- package/build/dependencies/astro-auth/backend-runtime/chunk-USQSPPTM.js +0 -14
- package/build/dependencies/astro-auth/backend-runtime/middleware/auth.d.ts +0 -5
- package/build/dependencies/astro-auth/backend-runtime/middleware/auth.js +0 -136
- package/build/dependencies/astro-auth/backend-runtime/middleware/localization.d.ts +0 -5
- package/build/dependencies/astro-auth/backend-runtime/middleware/localization.js +0 -219
- package/build/dependencies/astro-auth/backend-runtime/routes/callback.d.ts +0 -5
- package/build/dependencies/astro-auth/backend-runtime/routes/callback.js +0 -53
- package/build/dependencies/astro-auth/backend-runtime/routes/login.d.ts +0 -5
- package/build/dependencies/astro-auth/backend-runtime/routes/login.js +0 -46
- package/build/dependencies/astro-auth/backend-runtime/routes/logout-callback.d.ts +0 -5
- package/build/dependencies/astro-auth/backend-runtime/routes/logout-callback.js +0 -24
- package/build/dependencies/astro-auth/backend-runtime/routes/logout.d.ts +0 -5
- package/build/dependencies/astro-auth/backend-runtime/routes/logout.js +0 -33
- package/build/dependencies/astro-auth/backend-runtime/runtime/backend/setupContextualClient.d.ts +0 -2
- package/build/dependencies/astro-auth/backend-runtime/runtime/backend/setupContextualClient.js +0 -10
- package/build/dependencies/astro-backend-extensions/backend-runtime/chunk-CPGTXQVH.js +0 -75
- package/build/dependencies/astro-backend-extensions/backend-runtime/routes/extensions.d.ts +0 -5
- package/build/dependencies/astro-backend-extensions/backend-runtime/routes/extensions.js +0 -41
- package/build/dependencies/astro-backend-extensions/backend-runtime/runtime/setupServicePlugin.d.ts +0 -10
- package/build/dependencies/astro-backend-extensions/backend-runtime/runtime/setupServicePlugin.js +0 -35
- package/build/dependencies/astro-backend-extensions/backend-runtime/runtime/setupWebhook.d.ts +0 -9
- package/build/dependencies/astro-backend-extensions/backend-runtime/runtime/setupWebhook.js +0 -34
- package/build/dependencies/astro-backend-extensions/backend-runtime/utils-B7jr2PES.d.ts +0 -5
- package/build/dependencies/astro-backend-extensions/types/index.d.ts +0 -102
- package/build/dependencies/astro-backoffice-extensions/types/index.d.ts +0 -68
- package/build/dependencies/astro-context-providers-extensions/types/index.d.ts +0 -32
- package/build/dependencies/astro-core/types/index.d.ts +0 -109
- package/build/dependencies/astro-custom-elements-extensions/types/index.d.ts +0 -45
- package/build/dependencies/astro-embedded-scripts-extensions/types/index.d.ts +0 -18
- package/build/dependencies/astro-function-libraries-extensions/types/index.d.ts +0 -23
- package/build/dependencies/astro-html-embeds/backend-runtime/html-embeds.d.ts +0 -5
- package/build/dependencies/astro-html-embeds/backend-runtime/html-embeds.js +0 -66
- package/build/dependencies/astro-payment-links/backend-runtime/chunk-656BVIJ3.js +0 -9
- package/build/dependencies/astro-payment-links/backend-runtime/payment-checkout.d.ts +0 -5
- package/build/dependencies/astro-payment-links/backend-runtime/payment-checkout.js +0 -24
- package/build/dependencies/astro-payment-links/backend-runtime/payment-link.d.ts +0 -5
- package/build/dependencies/astro-payment-links/backend-runtime/payment-link.js +0 -20
- package/build/dependencies/astro-payment-links/backend-runtime/proposal.d.ts +0 -5
- package/build/dependencies/astro-payment-links/backend-runtime/proposal.js +0 -24
- package/build/dependencies/astro-robots/backend-runtime/robots.d.ts +0 -5
- package/build/dependencies/astro-robots/backend-runtime/robots.js +0 -38
- package/build/dependencies/astro-site-component-panels-extensions/types/index.d.ts +0 -21
- package/build/dependencies/astro-site-components-extensions/types/index.d.ts +0 -48
- package/build/dependencies/astro-translations/backend-runtime/middleware/static-translations.d.ts +0 -5
- package/build/dependencies/astro-translations/backend-runtime/middleware/static-translations.js +0 -189
- package/build/dependencies/astro-translations/backend-runtime/runtime/i18n.js +0 -42
- package/build/dependencies/astro-translations/integration/index.d.ts +0 -5
- package/build/dependencies/astro-translations/integration/index.js +0 -296
- package/build/dependencies/astro-trusted-backoffice-extensions/types/index.d.ts +0 -50
- package/build/dependencies/astro-viewer-api/backend-runtime/api.d.ts +0 -5
- package/build/dependencies/astro-viewer-api/backend-runtime/api.js +0 -34
- package/build/dependencies/astro-viewer-services-extensions/types/index.d.ts +0 -27
- package/build/integration/builders-experimental.d.ts +0 -53
- package/build/integration/builders-experimental.js +0 -20
- package/build/integration/builders-experimental.js.map +0 -1
- package/build/integration/builders-trusted.d.ts +0 -69
- package/build/integration/builders-trusted.js +0 -52
- package/build/integration/builders-trusted.js.map +0 -1
- package/build/integration/builders.d.ts +0 -112
- package/build/integration/builders.js +0 -14
- package/build/integration/builders.js.map +0 -1
- package/build/integration/chunk-23MOLCVI.js +0 -1087
- package/build/integration/chunk-23MOLCVI.js.map +0 -1
- package/build/integration/chunk-6UOFHB2M.js +0 -386
- package/build/integration/chunk-6UOFHB2M.js.map +0 -1
- package/build/integration/chunk-L6JEDTVM.js +0 -7458
- package/build/integration/chunk-L6JEDTVM.js.map +0 -1
- package/build/integration/chunk-MNQWQ2MC.js +0 -809
- package/build/integration/chunk-MNQWQ2MC.js.map +0 -1
- package/build/integration/chunk-XN6SBNMI.js +0 -23758
- package/build/integration/chunk-XN6SBNMI.js.map +0 -1
- package/build/integration/index.d-BUVlSCHa.d.ts +0 -211
- package/build/integration/index.d-D4c48TR0.d.ts +0 -58
- package/build/integration/index.d.ts +0 -34
- package/build/integration/index.js +0 -498
- package/build/integration/index.js.map +0 -1
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
import { D as DevCenterCustomElementBehaviors, b as DevCenterCustomElementSize, c as DevCenterCustomElementPresets, d as DevCenterSitePluginMarketData, e as DevCenterSitePluginPlacements, B as BaseExtension } from './index.d-D4c48TR0.js';
|
|
2
|
-
|
|
3
|
-
interface BookingsStaffSortingProvider {
|
|
4
|
-
type: 'BookingsStaffSortingProvider';
|
|
5
|
-
options: Options$7;
|
|
6
|
-
}
|
|
7
|
-
interface Options$7 {
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
dashboardPluginId?: string;
|
|
11
|
-
methodDescription: string;
|
|
12
|
-
methodName: string;
|
|
13
|
-
source: string;
|
|
14
|
-
}
|
|
15
|
-
declare function bookingsStaffSortingProvider(options: Options$7): BookingsStaffSortingProvider;
|
|
16
|
-
|
|
17
|
-
interface EcomAdditionalFees {
|
|
18
|
-
type: 'EcomAdditionalFees';
|
|
19
|
-
options: Options$6;
|
|
20
|
-
}
|
|
21
|
-
interface Options$6 {
|
|
22
|
-
id: string;
|
|
23
|
-
name: string;
|
|
24
|
-
source: string;
|
|
25
|
-
}
|
|
26
|
-
declare function ecomAdditionalFees(options: Options$6): EcomAdditionalFees;
|
|
27
|
-
|
|
28
|
-
interface EcomDiscountsTrigger {
|
|
29
|
-
type: 'EcomDiscountsTrigger';
|
|
30
|
-
options: Options$5;
|
|
31
|
-
}
|
|
32
|
-
interface Options$5 {
|
|
33
|
-
id: string;
|
|
34
|
-
name: string;
|
|
35
|
-
source: string;
|
|
36
|
-
}
|
|
37
|
-
declare function ecomDiscountTriggers(options: Options$5): EcomDiscountsTrigger;
|
|
38
|
-
|
|
39
|
-
interface EcomGiftCardsProvider {
|
|
40
|
-
type: 'EcomGiftCardsProvider';
|
|
41
|
-
options: Options$4;
|
|
42
|
-
}
|
|
43
|
-
interface Options$4 {
|
|
44
|
-
id: string;
|
|
45
|
-
name: string;
|
|
46
|
-
source: string;
|
|
47
|
-
}
|
|
48
|
-
declare function ecomGiftCards(options: Options$4): EcomGiftCardsProvider;
|
|
49
|
-
|
|
50
|
-
interface EcomPaymentSettings {
|
|
51
|
-
type: 'EcomPaymentSettings';
|
|
52
|
-
options: Options$3;
|
|
53
|
-
}
|
|
54
|
-
interface Options$3 {
|
|
55
|
-
id: string;
|
|
56
|
-
name: string;
|
|
57
|
-
fallbackValueForRequires3dSecure?: boolean;
|
|
58
|
-
source: string;
|
|
59
|
-
}
|
|
60
|
-
declare function ecomPaymentSettings(options: Options$3): EcomPaymentSettings;
|
|
61
|
-
|
|
62
|
-
interface EcomShippingRates {
|
|
63
|
-
type: 'EcomShippingRates';
|
|
64
|
-
options: Options$2$1;
|
|
65
|
-
}
|
|
66
|
-
interface Options$2$1 {
|
|
67
|
-
id: string;
|
|
68
|
-
name: string;
|
|
69
|
-
dashboardUrl?: string;
|
|
70
|
-
description?: string;
|
|
71
|
-
fallbackDefinitionMandatory?: boolean;
|
|
72
|
-
learnMoreUrl?: string;
|
|
73
|
-
source: string;
|
|
74
|
-
thumbnailUrl?: string;
|
|
75
|
-
}
|
|
76
|
-
declare function ecomShippingRates(options: Options$2$1): EcomShippingRates;
|
|
77
|
-
|
|
78
|
-
interface EcomValidations {
|
|
79
|
-
type: 'EcomValidations';
|
|
80
|
-
options: Options$1$2;
|
|
81
|
-
}
|
|
82
|
-
interface Options$1$2 {
|
|
83
|
-
id: string;
|
|
84
|
-
name: string;
|
|
85
|
-
source: string;
|
|
86
|
-
validateInCart?: boolean;
|
|
87
|
-
}
|
|
88
|
-
declare function ecomValidations(options: Options$1$2): EcomValidations;
|
|
89
|
-
|
|
90
|
-
interface Webhook {
|
|
91
|
-
type: 'Webhook';
|
|
92
|
-
options: Options$8;
|
|
93
|
-
}
|
|
94
|
-
interface Options$8 {
|
|
95
|
-
id: string;
|
|
96
|
-
source: string;
|
|
97
|
-
}
|
|
98
|
-
declare function webhook(options: Options$8): Webhook;
|
|
99
|
-
|
|
100
|
-
interface CustomElement {
|
|
101
|
-
type: 'CustomElement';
|
|
102
|
-
options: Options$1$1;
|
|
103
|
-
}
|
|
104
|
-
interface Options$1$1 {
|
|
105
|
-
id: string;
|
|
106
|
-
name: string;
|
|
107
|
-
behaviors?: DevCenterCustomElementBehaviors;
|
|
108
|
-
element: string;
|
|
109
|
-
height: DevCenterCustomElementSize['height'];
|
|
110
|
-
installation: {
|
|
111
|
-
autoAdd: boolean;
|
|
112
|
-
essential?: boolean;
|
|
113
|
-
};
|
|
114
|
-
presets?: DevCenterCustomElementPresets;
|
|
115
|
-
settings?: string;
|
|
116
|
-
tagName: string;
|
|
117
|
-
width: DevCenterCustomElementSize['width'];
|
|
118
|
-
}
|
|
119
|
-
declare function customElement(options: Options$1$1): CustomElement;
|
|
120
|
-
|
|
121
|
-
interface SitePlugin extends BaseExtension {
|
|
122
|
-
type: 'SitePlugin';
|
|
123
|
-
options: Options$2;
|
|
124
|
-
}
|
|
125
|
-
interface Options$2 {
|
|
126
|
-
id: string;
|
|
127
|
-
name: string;
|
|
128
|
-
element: string;
|
|
129
|
-
installation: {
|
|
130
|
-
autoAdd: boolean;
|
|
131
|
-
};
|
|
132
|
-
marketData?: DevCenterSitePluginMarketData;
|
|
133
|
-
placements: DevCenterSitePluginPlacements[];
|
|
134
|
-
settings: string;
|
|
135
|
-
tagName: string;
|
|
136
|
-
}
|
|
137
|
-
declare function sitePlugin(options: Options$2): SitePlugin;
|
|
138
|
-
|
|
139
|
-
interface EmbeddedScript extends BaseExtension {
|
|
140
|
-
type: 'EmbeddedScript';
|
|
141
|
-
options: Options$1;
|
|
142
|
-
}
|
|
143
|
-
interface Options$1 {
|
|
144
|
-
id: string;
|
|
145
|
-
name: string;
|
|
146
|
-
placement: 'BODY_END' | 'BODY_START' | 'HEAD';
|
|
147
|
-
scriptType: 'ADVERTISING' | 'ANALYTICS' | 'ESSENTIAL' | 'FUNCTIONAL';
|
|
148
|
-
source: string;
|
|
149
|
-
}
|
|
150
|
-
declare function embeddedScript(options: Options$1): EmbeddedScript;
|
|
151
|
-
|
|
152
|
-
interface SiteComponentPanel extends BaseExtension {
|
|
153
|
-
type: 'SiteComponentPanel';
|
|
154
|
-
options: PanelOptions;
|
|
155
|
-
}
|
|
156
|
-
interface PanelOptions {
|
|
157
|
-
id: string;
|
|
158
|
-
component: string;
|
|
159
|
-
displayName: string;
|
|
160
|
-
referenceId?: string;
|
|
161
|
-
size: {
|
|
162
|
-
height: number;
|
|
163
|
-
width: string;
|
|
164
|
-
};
|
|
165
|
-
}
|
|
166
|
-
declare function siteComponentPanel(options: PanelOptions): SiteComponentPanel;
|
|
167
|
-
|
|
168
|
-
interface PresetOptions {
|
|
169
|
-
[key: string]: unknown;
|
|
170
|
-
displayName: string;
|
|
171
|
-
presetCssUrl: string;
|
|
172
|
-
thumbnailUrl?: string;
|
|
173
|
-
}
|
|
174
|
-
interface SiteComponent extends BaseExtension {
|
|
175
|
-
type: 'SiteComponent';
|
|
176
|
-
options: Options;
|
|
177
|
-
}
|
|
178
|
-
interface Options {
|
|
179
|
-
id: string;
|
|
180
|
-
type: string;
|
|
181
|
-
description: string;
|
|
182
|
-
editorElement: {
|
|
183
|
-
[key: string]: unknown;
|
|
184
|
-
displayName: string;
|
|
185
|
-
presets?: Record<string, PresetOptions>;
|
|
186
|
-
selector: string;
|
|
187
|
-
};
|
|
188
|
-
resources: {
|
|
189
|
-
[key: string]: unknown;
|
|
190
|
-
client: {
|
|
191
|
-
[key: string]: unknown;
|
|
192
|
-
componentUrl: string;
|
|
193
|
-
};
|
|
194
|
-
dependencies?: {
|
|
195
|
-
[key: string]: unknown;
|
|
196
|
-
componentDependencies?: string[];
|
|
197
|
-
contextDependencies?: string[];
|
|
198
|
-
};
|
|
199
|
-
editor?: {
|
|
200
|
-
[key: string]: unknown;
|
|
201
|
-
componentUrl: string;
|
|
202
|
-
};
|
|
203
|
-
sdk?: {
|
|
204
|
-
[key: string]: unknown;
|
|
205
|
-
url: string;
|
|
206
|
-
};
|
|
207
|
-
};
|
|
208
|
-
}
|
|
209
|
-
declare function siteComponent(options: Options): SiteComponent;
|
|
210
|
-
|
|
211
|
-
export { ecomDiscountTriggers as a, bookingsStaffSortingProvider as b, customElement as c, ecomGiftCards as d, ecomAdditionalFees as e, ecomPaymentSettings as f, ecomShippingRates as g, ecomValidations as h, embeddedScript as i, siteComponentPanel as j, sitePlugin as k, siteComponent as s, webhook as w };
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
interface BaseDevCenterComponent {
|
|
2
|
-
compId: string;
|
|
3
|
-
compName?: string;
|
|
4
|
-
compType: string;
|
|
5
|
-
compData: unknown;
|
|
6
|
-
}
|
|
7
|
-
interface DevCenterCustomElementBehaviors {
|
|
8
|
-
dashboard?: {
|
|
9
|
-
dashboardPageComponentId: string;
|
|
10
|
-
};
|
|
11
|
-
settings?: {
|
|
12
|
-
settingsUrl: string;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
type DevCenterCustomElementPresets = Array<{
|
|
16
|
-
id: string;
|
|
17
|
-
name: string;
|
|
18
|
-
thumbnailUrl: string;
|
|
19
|
-
}>;
|
|
20
|
-
interface DevCenterCustomElementSize {
|
|
21
|
-
height: {
|
|
22
|
-
defaultHeight: number;
|
|
23
|
-
heightMode?: 'AUTO' | 'FIXED' | 'UNKNOWN';
|
|
24
|
-
};
|
|
25
|
-
width: {
|
|
26
|
-
allowStretch?: boolean;
|
|
27
|
-
defaultWidth: number;
|
|
28
|
-
stretchByDefault?: boolean;
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
interface DevCenterSitePluginMarketData {
|
|
32
|
-
name?: string;
|
|
33
|
-
description?: string;
|
|
34
|
-
logoUrl?: string;
|
|
35
|
-
}
|
|
36
|
-
interface DevCenterSitePluginPlacements {
|
|
37
|
-
appDefinitionId: string;
|
|
38
|
-
slotId: string;
|
|
39
|
-
widgetId: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
interface BaseExtension {
|
|
43
|
-
type: string;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
declare class App {
|
|
47
|
-
private extensions;
|
|
48
|
-
use(extension: BaseDevCenterComponent | BaseExtension): this;
|
|
49
|
-
}
|
|
50
|
-
declare function app(): App;
|
|
51
|
-
|
|
52
|
-
interface GenericExtension {
|
|
53
|
-
type: 'GenericExtension';
|
|
54
|
-
options: BaseDevCenterComponent;
|
|
55
|
-
}
|
|
56
|
-
declare function genericExtension(options: BaseDevCenterComponent): GenericExtension;
|
|
57
|
-
|
|
58
|
-
export { type BaseExtension as B, type DevCenterCustomElementBehaviors as D, app as a, type DevCenterCustomElementSize as b, type DevCenterCustomElementPresets as c, type DevCenterSitePluginMarketData as d, type DevCenterSitePluginPlacements as e, genericExtension as g };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { AstroIntegration } from 'astro';
|
|
2
|
-
export { extensions } from './builders.js';
|
|
3
|
-
import './index.d-BUVlSCHa.js';
|
|
4
|
-
import './index.d-D4c48TR0.js';
|
|
5
|
-
|
|
6
|
-
interface WixAstroConfig {
|
|
7
|
-
auth?: boolean | {
|
|
8
|
-
enable?: boolean;
|
|
9
|
-
};
|
|
10
|
-
backendExtensions?: boolean | {
|
|
11
|
-
enable?: boolean;
|
|
12
|
-
};
|
|
13
|
-
backofficeExtensions?: boolean | {
|
|
14
|
-
enable?: boolean;
|
|
15
|
-
};
|
|
16
|
-
essentials?: boolean | {
|
|
17
|
-
enable?: boolean;
|
|
18
|
-
};
|
|
19
|
-
htmlEmbeds?: boolean | {
|
|
20
|
-
enable?: boolean;
|
|
21
|
-
};
|
|
22
|
-
robots?: boolean | {
|
|
23
|
-
enable?: boolean;
|
|
24
|
-
};
|
|
25
|
-
translations?: boolean | {
|
|
26
|
-
enable?: boolean;
|
|
27
|
-
};
|
|
28
|
-
wixSitePages?: boolean | {
|
|
29
|
-
enable?: boolean;
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
declare const createIntegration: (config?: WixAstroConfig) => AstroIntegration[];
|
|
33
|
-
|
|
34
|
-
export { createIntegration as default };
|