@wix/public-editor-platform-interfaces 1.71.0 → 1.73.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.
Files changed (2) hide show
  1. package/dist/Bindings.d.ts +11 -1
  2. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import { FunctionParameter } from '@wix/app-extensions/trusted';
1
+ import { DataType, FunctionParameter } from '@wix/app-extensions/trusted';
2
2
  import { ElementDataDefinition } from './sdk';
3
3
  import { AttachState, ProviderArrayItem, ProviderFunctionItem, ProviderObjectItem, ProviderSimpleItem, ProviderTextEnumItem, ProviderType } from './Providers';
4
4
  export declare const UNBIND_ALL: "ALL";
@@ -59,8 +59,15 @@ export interface ListBindingsOptions {
59
59
  providerIdentifiers?: string[];
60
60
  providerTypes?: ProviderType[];
61
61
  }
62
+ export type Converter = ProviderFunctionItem & {
63
+ providerIdentifier: string;
64
+ providerType: ProviderType.FunctionLibrary;
65
+ };
62
66
  export type BaseCandidate = {
63
67
  itemPath: string;
68
+ providerIdentifier: string;
69
+ providerType: ProviderType;
70
+ withConverter?: Converter;
64
71
  };
65
72
  export type SimpleCandidate = ProviderSimpleItem & BaseCandidate;
66
73
  export type TextEnumCandidate = ProviderTextEnumItem & BaseCandidate;
@@ -83,6 +90,8 @@ export type BindingDetails = {
83
90
  providerIdentifier: string;
84
91
  providerItem: PropertyBinding;
85
92
  providerDisplayName?: string;
93
+ bindingDisplayName?: string;
94
+ bindingItemType?: DataType;
86
95
  };
87
96
  export type BindingDetailsMap = Record<string, BindingDetails>;
88
97
  export type SelectBindingOptions = {
@@ -94,5 +103,6 @@ export type SelectBindingOptions = {
94
103
  };
95
104
  export type findBindingCandidatesOptions = {
96
105
  filterAttachState?: AttachState[];
106
+ includeCandidatesWithConverters?: boolean;
97
107
  };
98
108
  export type OverriddenSelectBindingOptions = SelectBindingOptions | ((options: SelectBindingOptions) => SelectBindingOptions);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/public-editor-platform-interfaces",
3
- "version": "1.71.0",
3
+ "version": "1.73.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.64",
26
+ "@wix/app-extensions": "^1.0.67",
27
27
  "@wix/sdk-types": "^1.17.8"
28
28
  },
29
29
  "devDependencies": {
@@ -52,5 +52,5 @@
52
52
  ]
53
53
  }
54
54
  },
55
- "falconPackageHash": "a1fe1c106bbe13588a435508f3551d30115e0d571428cffad7cdb52b"
55
+ "falconPackageHash": "a4ea98f825d25fe28e8835e2cbd3a44c748f082d3b09b979a56a4b69"
56
56
  }