@wix/public-editor-platform-interfaces 1.83.0 → 1.84.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 +1 -0
- package/dist/Providers.d.ts +7 -0
- package/dist/Providers.js +1 -0
- package/package.json +3 -3
package/dist/Bindings.d.ts
CHANGED
|
@@ -74,6 +74,7 @@ export type TextEnumCandidate = ProviderTextEnumItem & BaseCandidate;
|
|
|
74
74
|
export type ArrayCandidate = ProviderArrayItem & BaseCandidate;
|
|
75
75
|
export type FunctionCandidate = ProviderFunctionItem & BaseCandidate & {
|
|
76
76
|
asCallback: boolean;
|
|
77
|
+
validPreBoundCounts?: number[];
|
|
77
78
|
};
|
|
78
79
|
export type ObjectCandidate = ProviderObjectItem & BaseCandidate;
|
|
79
80
|
export type ItemCandidate = ArrayCandidate | FunctionCandidate | ObjectCandidate | SimpleCandidate | TextEnumCandidate;
|
package/dist/Providers.d.ts
CHANGED
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
import { ContextImplementor, DataType, EditorFunction, TextEnum } from '@wix/app-extensions/trusted';
|
|
2
2
|
export declare enum ProviderType {
|
|
3
3
|
Context = "Context",
|
|
4
|
+
ErcInlineContext = "ErcInlineContext",
|
|
4
5
|
FunctionLibrary = "FunctionLibrary",
|
|
5
6
|
Template = "Template"
|
|
6
7
|
}
|
|
7
8
|
export type Provider = {
|
|
8
9
|
displayName: string;
|
|
9
10
|
items?: Record<string, ProviderItem>;
|
|
11
|
+
isAttachable: boolean;
|
|
12
|
+
isConfigurable: boolean;
|
|
13
|
+
isDetachable: boolean;
|
|
10
14
|
providerIdentifier: string;
|
|
11
15
|
appDefinitionId?: string;
|
|
12
16
|
} & ({
|
|
13
17
|
attachState?: AttachState.Above | AttachState.None | AttachState.Self;
|
|
14
18
|
contextDependencies?: string[];
|
|
15
19
|
providerType: ProviderType.Context;
|
|
20
|
+
} | {
|
|
21
|
+
attachState?: AttachState.Above | AttachState.Self;
|
|
22
|
+
providerType: ProviderType.ErcInlineContext;
|
|
16
23
|
} | {
|
|
17
24
|
attachState?: AttachState.Above | AttachState.Self;
|
|
18
25
|
providerType: ProviderType.Template;
|
package/dist/Providers.js
CHANGED
|
@@ -4,6 +4,7 @@ exports.AttachState = exports.ProviderType = void 0;
|
|
|
4
4
|
var ProviderType;
|
|
5
5
|
(function (ProviderType) {
|
|
6
6
|
ProviderType["Context"] = "Context";
|
|
7
|
+
ProviderType["ErcInlineContext"] = "ErcInlineContext";
|
|
7
8
|
ProviderType["FunctionLibrary"] = "FunctionLibrary";
|
|
8
9
|
ProviderType["Template"] = "Template";
|
|
9
10
|
})(ProviderType || (exports.ProviderType = ProviderType = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/public-editor-platform-interfaces",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.84.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.78",
|
|
27
27
|
"@wix/sdk-types": "^1.17.9"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
]
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
"falconPackageHash": "
|
|
55
|
+
"falconPackageHash": "2b1d84d1eea2ae79ce708cf2053723566143e66c2f2d57e241599a73"
|
|
56
56
|
}
|