@wix/auto_sdk_data-extension-schema_schemas 1.0.38 → 1.0.40
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/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +17 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +17 -4
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +17 -4
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +17 -4
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -12258,8 +12258,16 @@ interface EditorReactComponent {
|
|
|
12258
12258
|
archetype?: ArchetypeWithLiterals;
|
|
12259
12259
|
}
|
|
12260
12260
|
interface Resources {
|
|
12261
|
-
/** The bundle we will load and render in the browser */
|
|
12261
|
+
/** The bundle we will load and render in the browser in the site */
|
|
12262
12262
|
client?: ClientResources;
|
|
12263
|
+
/**
|
|
12264
|
+
* An optional client definition of the component we will load and render in the editor, *it replaces the client bundle.*
|
|
12265
|
+
* The main use case is to control the live site component and enable different experiences in the editor.
|
|
12266
|
+
* For example, supporting `states` manipulation:
|
|
12267
|
+
* Show calendar in the editor
|
|
12268
|
+
* Open drop down in the editor
|
|
12269
|
+
*/
|
|
12270
|
+
editor?: ClientResources;
|
|
12263
12271
|
/** The bundle for SSR, should not include any DOM API references */
|
|
12264
12272
|
server?: Resource;
|
|
12265
12273
|
/** The optional component SDK to expose to Velo Users to interact with the component */
|
|
@@ -12271,7 +12279,7 @@ interface Resources {
|
|
|
12271
12279
|
}
|
|
12272
12280
|
interface ClientResources {
|
|
12273
12281
|
/**
|
|
12274
|
-
* A URL to a
|
|
12282
|
+
* A URL to a ESM javascript bundle. It's default export should be the component
|
|
12275
12283
|
* @format WEB_URL
|
|
12276
12284
|
*/
|
|
12277
12285
|
componentUrl?: string;
|
|
@@ -12280,6 +12288,12 @@ interface ClientResources {
|
|
|
12280
12288
|
* @format WEB_URL
|
|
12281
12289
|
*/
|
|
12282
12290
|
cssUrl?: string | null;
|
|
12291
|
+
/**
|
|
12292
|
+
* A list of service depedencies required by the component, example: ['@wix/environemt']
|
|
12293
|
+
* @maxLength 80
|
|
12294
|
+
* @maxSize 20
|
|
12295
|
+
*/
|
|
12296
|
+
serviceDependencies?: string[];
|
|
12283
12297
|
}
|
|
12284
12298
|
interface Resource {
|
|
12285
12299
|
/**
|
|
@@ -14260,10 +14274,9 @@ interface SDKExportsNpm {
|
|
|
14260
14274
|
interface ExportMetadata {
|
|
14261
14275
|
/**
|
|
14262
14276
|
* Exported name of a module
|
|
14263
|
-
* @minLength 2
|
|
14264
14277
|
* @maxLength 100
|
|
14265
14278
|
*/
|
|
14266
|
-
exportedName?: string;
|
|
14279
|
+
exportedName?: string | null;
|
|
14267
14280
|
/**
|
|
14268
14281
|
* Package entry point, default to main entry
|
|
14269
14282
|
* @minLength 2
|