@wix/public-editor-platform-interfaces 1.54.0 → 1.55.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.
@@ -3,12 +3,19 @@ import { ElementDataDefinition } from './sdk';
3
3
  import { AttachState, ProviderArrayItem, ProviderFunctionItem, ProviderObjectItem, ProviderSimpleItem, ProviderTextEnumItem, ProviderType } from './Providers';
4
4
  export declare const UNBIND_ALL: "ALL";
5
5
  export type UnbindAll = typeof UNBIND_ALL;
6
+ /**
7
+ * @deprecated Used by the deprecated `bind` / `listBindings`. Use {@link BindingDetailsMap} instead,
8
+ * a flat property-name -> binding dictionary with provider details inlined.
9
+ */
6
10
  export interface BindingProperties {
7
11
  bindingsMap: ProviderBindingsMap;
8
12
  displayName?: string;
9
13
  providerIdentifier: string;
10
14
  providerType: ProviderType;
11
15
  }
16
+ /**
17
+ * @deprecated Used by the deprecated `bind` / `listBindings`. Use {@link BindingDetailsMap} instead.
18
+ */
12
19
  export type ProviderBindingsMap = Record<string, PropertyBinding>;
13
20
  export type PropertyBinding = MethodBinding | ProviderItemBinding;
14
21
  export interface ProviderItemBinding {
@@ -75,7 +82,9 @@ export type BindingDetails = {
75
82
  providerType: ProviderType;
76
83
  providerIdentifier: string;
77
84
  providerItem: PropertyBinding;
85
+ providerDisplayName?: string;
78
86
  };
87
+ export type BindingDetailsMap = Record<string, BindingDetails>;
79
88
  export type SelectBindingOptions = {
80
89
  bindingTargetDetails: BindingTargetDetails;
81
90
  onApply: (bindingDetails: BindingDetails) => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/public-editor-platform-interfaces",
3
- "version": "1.54.0",
3
+ "version": "1.55.0",
4
4
  "license": "UNLICENSED",
5
5
  "contributors": [
6
6
  {
@@ -52,5 +52,5 @@
52
52
  ]
53
53
  }
54
54
  },
55
- "falconPackageHash": "336f09c7e430849337d65a7ba42f6ac85d6e38fb1cc53d3d412d9170"
55
+ "falconPackageHash": "bf0be10bd214f41273bc62b7dd37716d0e2772532b6dbb37ed2755d3"
56
56
  }