@wix/public-editor-platform-interfaces 1.53.0 → 1.54.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.
@@ -1,6 +1,6 @@
1
1
  import { FunctionParameter } from '@wix/app-extensions/trusted';
2
2
  import { ElementDataDefinition } from './sdk';
3
- import { ProviderArrayItem, ProviderFunctionItem, ProviderObjectItem, ProviderSimpleItem, ProviderTextEnumItem, ProviderType } from './Providers';
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
6
  export interface BindingProperties {
@@ -64,6 +64,7 @@ export type FunctionCandidate = ProviderFunctionItem & BaseCandidate & {
64
64
  export type ObjectCandidate = ProviderObjectItem & BaseCandidate;
65
65
  export type ItemCandidate = ArrayCandidate | FunctionCandidate | ObjectCandidate | SimpleCandidate | TextEnumCandidate;
66
66
  export type BindingCandidate = {
67
+ attachState?: AttachState;
67
68
  displayName: string;
68
69
  itemCandidates: ItemCandidate[];
69
70
  providerIdentifier: string;
@@ -82,4 +83,7 @@ export type SelectBindingOptions = {
82
83
  initialState?: BindingDetails;
83
84
  maxBindingDepth?: number;
84
85
  };
86
+ export type findBindingCandidatesOptions = {
87
+ filterAttachState?: AttachState[];
88
+ };
85
89
  export type OverriddenSelectBindingOptions = SelectBindingOptions | ((options: SelectBindingOptions) => SelectBindingOptions);
@@ -1,4 +1,4 @@
1
- import { DataType, EditorFunction, TextEnum } from '@wix/app-extensions/trusted';
1
+ import { ContextImplementor, DataType, EditorFunction, TextEnum } from '@wix/app-extensions/trusted';
2
2
  export declare enum ProviderType {
3
3
  Context = "Context",
4
4
  FunctionLibrary = "FunctionLibrary",
@@ -21,6 +21,7 @@ export type Provider = {
21
21
  providerType: ProviderType.FunctionLibrary;
22
22
  });
23
23
  type ProviderItemBase = {
24
+ contextImplementor?: ContextImplementor;
24
25
  displayName: string;
25
26
  itemName: string;
26
27
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/public-editor-platform-interfaces",
3
- "version": "1.53.0",
3
+ "version": "1.54.0",
4
4
  "license": "UNLICENSED",
5
5
  "contributors": [
6
6
  {
@@ -52,5 +52,5 @@
52
52
  ]
53
53
  }
54
54
  },
55
- "falconPackageHash": "552c1438b0ed64c7236046eb12f787d411f483371b438c69e0faa870"
55
+ "falconPackageHash": "336f09c7e430849337d65a7ba42f6ac85d6e38fb1cc53d3d412d9170"
56
56
  }