@wix/public-editor-platform-interfaces 1.129.0 → 1.131.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 +7 -1
- package/package.json +3 -3
package/dist/Bindings.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DataType, FunctionParameter } from '@wix/app-extensions/trusted';
|
|
2
2
|
import { ElementAudio, ElementDataDefinition, ElementDirection, ElementImage, ElementLink, ElementMenuItem, ElementMenuItems, ElementRichText, ElementVectorArt, ElementVideo } from './sdk';
|
|
3
|
-
import { AttachState, ProviderArrayItem, ProviderFunctionItem, ProviderObjectItem, ProviderSimpleItem, ProviderTextEnumItem, ProviderType } from './Providers';
|
|
3
|
+
import { AttachState, Provider, ProviderArrayItem, ProviderFunctionItem, ProviderItem, ProviderObjectItem, ProviderSimpleItem, ProviderTextEnumItem, ProviderType } from './Providers';
|
|
4
4
|
export declare const UNBIND_ALL: "ALL";
|
|
5
5
|
export type UnbindAll = typeof UNBIND_ALL;
|
|
6
6
|
/**
|
|
@@ -22,12 +22,14 @@ export interface ProviderItemBinding {
|
|
|
22
22
|
bindingItemType: BindingItemType.ItemBinding;
|
|
23
23
|
displayName?: string;
|
|
24
24
|
itemPath: string;
|
|
25
|
+
providerItemDetails?: Exclude<ProviderItem, ProviderFunctionItem>;
|
|
25
26
|
}
|
|
26
27
|
export interface MethodBinding {
|
|
27
28
|
bindingItemType: BindingItemType.MethodBinding;
|
|
28
29
|
callOptions: CallOptions;
|
|
29
30
|
displayName?: string;
|
|
30
31
|
methodPath: string;
|
|
32
|
+
providerItemDetails?: ProviderFunctionItem;
|
|
31
33
|
}
|
|
32
34
|
export declare enum BindingItemType {
|
|
33
35
|
ItemBinding = "ItemBinding",
|
|
@@ -83,6 +85,8 @@ export type StaticArgument = {
|
|
|
83
85
|
}[keyof StaticArgumentValues];
|
|
84
86
|
export interface ListBindingsOptions {
|
|
85
87
|
includeDisplayNames?: boolean;
|
|
88
|
+
includeProviderItemDetails?: boolean;
|
|
89
|
+
includeReferencedProviders?: boolean;
|
|
86
90
|
providerIdentifiers?: string[];
|
|
87
91
|
providerTypes?: ProviderType[];
|
|
88
92
|
}
|
|
@@ -122,6 +126,7 @@ export type BindingCandidate = {
|
|
|
122
126
|
providerType: ProviderType;
|
|
123
127
|
};
|
|
124
128
|
export type BindingTargetDetails = ElementDataDefinition | FunctionParameter;
|
|
129
|
+
export type ReferencedProviders = Partial<Record<ProviderType, Record<string, Pick<Provider, 'displayName' | 'providerIdentifier' | 'providerType'>>>>;
|
|
125
130
|
export type BindingDetails = {
|
|
126
131
|
providerType: ProviderType;
|
|
127
132
|
providerIdentifier: string;
|
|
@@ -129,6 +134,7 @@ export type BindingDetails = {
|
|
|
129
134
|
providerDisplayName?: string;
|
|
130
135
|
bindingDisplayName?: string;
|
|
131
136
|
bindingItemType?: DataType;
|
|
137
|
+
referencedProviders?: ReferencedProviders;
|
|
132
138
|
};
|
|
133
139
|
export type BindingDetailsMap = Record<string, BindingDetails>;
|
|
134
140
|
export type SelectBindingOptions = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/public-editor-platform-interfaces",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.131.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"*.{js,ts}": "yarn lint"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@wix/app-extensions": "^1.0.
|
|
26
|
+
"@wix/app-extensions": "^1.0.194",
|
|
27
27
|
"@wix/sdk-types": "^1.17.12"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
]
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
"falconPackageHash": "
|
|
55
|
+
"falconPackageHash": "31d6e9e66ad4fd37591bb4e33f6a7a75b1f21547db9f4bf58a9757cd"
|
|
56
56
|
}
|