@wix/public-editor-platform-interfaces 1.96.0 → 1.97.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/dist/Bindings.d.ts +8 -0
- package/dist/Providers.d.ts +9 -0
- package/package.json +2 -2
package/dist/Bindings.d.ts
CHANGED
|
@@ -79,8 +79,16 @@ export type FunctionCandidate = ProviderFunctionItem & BaseCandidate & {
|
|
|
79
79
|
};
|
|
80
80
|
export type ObjectCandidate = ProviderObjectItem & BaseCandidate;
|
|
81
81
|
export type ItemCandidate = ArrayCandidate | FunctionCandidate | ObjectCandidate | SimpleCandidate | TextEnumCandidate;
|
|
82
|
+
export type BindingCandidateDisplayGroup = {
|
|
83
|
+
displayGroupKey: string;
|
|
84
|
+
displayName?: string;
|
|
85
|
+
/** Ordered item paths within this group. Ordering between groups is not guaranteed. */
|
|
86
|
+
itemPaths: string[];
|
|
87
|
+
};
|
|
82
88
|
export type BindingCandidate = {
|
|
83
89
|
attachState?: AttachState;
|
|
90
|
+
/** Optional for backwards compatibility; the runtime returns an empty array when no groups exist. */
|
|
91
|
+
displayGroups?: BindingCandidateDisplayGroup[];
|
|
84
92
|
displayName: string;
|
|
85
93
|
itemCandidates: ItemCandidate[];
|
|
86
94
|
providerIdentifier: string;
|
package/dist/Providers.d.ts
CHANGED
|
@@ -16,9 +16,11 @@ export type Provider = {
|
|
|
16
16
|
} & ({
|
|
17
17
|
attachState?: AttachState.Above | AttachState.None | AttachState.Self;
|
|
18
18
|
contextDependencies?: string[];
|
|
19
|
+
displayGroups?: ProviderDisplayGroup[];
|
|
19
20
|
providerType: ProviderType.Context;
|
|
20
21
|
} | {
|
|
21
22
|
attachState?: AttachState.Above | AttachState.Self;
|
|
23
|
+
displayGroups?: ProviderDisplayGroup[];
|
|
22
24
|
providerType: ProviderType.ErcInlineContext;
|
|
23
25
|
} | {
|
|
24
26
|
attachState?: AttachState.Above | AttachState.Self;
|
|
@@ -27,6 +29,12 @@ export type Provider = {
|
|
|
27
29
|
attachState?: AttachState.System;
|
|
28
30
|
providerType: ProviderType.FunctionLibrary;
|
|
29
31
|
});
|
|
32
|
+
export type ProviderDisplayGroup = {
|
|
33
|
+
displayGroupKey: string;
|
|
34
|
+
displayName?: string;
|
|
35
|
+
/** Ordered item names within this group. Ordering between groups is not guaranteed. */
|
|
36
|
+
itemNames: string[];
|
|
37
|
+
};
|
|
30
38
|
type ProviderItemBase = {
|
|
31
39
|
contextImplementor?: ContextImplementor;
|
|
32
40
|
displayName: string;
|
|
@@ -38,6 +46,7 @@ export type ProviderArrayItem = ProviderItemBase & {
|
|
|
38
46
|
};
|
|
39
47
|
export type ProviderObjectItem = ProviderItemBase & {
|
|
40
48
|
dataType: DataType.data;
|
|
49
|
+
displayGroups?: ProviderDisplayGroup[];
|
|
41
50
|
objectItem: Record<string, ProviderItem>;
|
|
42
51
|
};
|
|
43
52
|
export type ProviderFunctionItem = ProviderItemBase & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/public-editor-platform-interfaces",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.97.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
]
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
"falconPackageHash": "
|
|
55
|
+
"falconPackageHash": "141d05718614c92c91a39182da977a3a0dffae1c7019f7d2610d213e"
|
|
56
56
|
}
|