@wix/app-extensions 1.0.141 → 1.0.142
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.
|
@@ -19609,13 +19609,17 @@ interface ItemPath {
|
|
|
19609
19609
|
/** @internal */
|
|
19610
19610
|
interface ContextReferences {
|
|
19611
19611
|
/**
|
|
19612
|
-
*
|
|
19612
|
+
* A list of context providers that were defined in editorElement.contexts and available in this container
|
|
19613
19613
|
* Example: itemsList
|
|
19614
|
+
* @maxLength 100
|
|
19615
|
+
* @maxSize 20
|
|
19614
19616
|
*/
|
|
19615
19617
|
local?: string[];
|
|
19616
19618
|
/**
|
|
19617
19619
|
* A list of contexts this component exposes because it uses other context providers inside it's code
|
|
19618
19620
|
* Example: @wix/stores-products-list-context
|
|
19621
|
+
* @maxLength 100
|
|
19622
|
+
* @maxSize 20
|
|
19619
19623
|
*/
|
|
19620
19624
|
reference?: string[];
|
|
19621
19625
|
}
|
|
@@ -25137,6 +25141,14 @@ interface EditorContextProvider {
|
|
|
25137
25141
|
resources?: EditorContextProviderResources;
|
|
25138
25142
|
/** The exposed context model for this component */
|
|
25139
25143
|
context?: ApiContext;
|
|
25144
|
+
/**
|
|
25145
|
+
* A list of reused contexts that are exposed within this provider,
|
|
25146
|
+
* each identified by the module specifier it is exported from.
|
|
25147
|
+
* Example: @wix/stores-products-list-context
|
|
25148
|
+
* @maxLength 100
|
|
25149
|
+
* @maxSize 20
|
|
25150
|
+
*/
|
|
25151
|
+
refContexts?: string[];
|
|
25140
25152
|
/** data-api of this element, a map of data-items where the key is the data-item name and the value is the data-item definition. These will be manifested as `props` for the component, always has children as a prop */
|
|
25141
25153
|
data?: Record<string, DataItem>;
|
|
25142
25154
|
/**
|
|
@@ -25205,7 +25217,7 @@ interface ContextSpecifier {
|
|
|
25205
25217
|
*/
|
|
25206
25218
|
moduleSpecifier?: string;
|
|
25207
25219
|
/**
|
|
25208
|
-
* The exported hook for components
|
|
25220
|
+
* The name of the exported hook for context consumption by components
|
|
25209
25221
|
* @maxLength 100
|
|
25210
25222
|
*/
|
|
25211
25223
|
hook?: string;
|