@wix/editor-application 1.308.0 → 1.315.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/cjs/environment-api/index.js +48 -10
- package/dist/cjs/environment-api/index.js.map +1 -1
- package/dist/cjs/index.js +48 -10
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/platform-frame/index.js +38 -4
- package/dist/cjs/platform-frame/index.js.map +1 -1
- package/dist/cjs/platform-frame-api/index.js +38 -4
- package/dist/cjs/platform-frame-api/index.js.map +1 -1
- package/dist/cjs/platform-worker/index.js +21 -4
- package/dist/cjs/platform-worker/index.js.map +1 -1
- package/dist/cjs/platform-worker-api/index.js +21 -4
- package/dist/cjs/platform-worker-api/index.js.map +1 -1
- package/dist/esm/environment-api/index.js +48 -9
- package/dist/esm/environment-api/index.js.map +1 -1
- package/dist/esm/index.js +48 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/platform-frame/index.js +38 -4
- package/dist/esm/platform-frame/index.js.map +1 -1
- package/dist/esm/platform-frame-api/index.js +38 -4
- package/dist/esm/platform-frame-api/index.js.map +1 -1
- package/dist/esm/platform-worker/index.js +21 -4
- package/dist/esm/platform-worker/index.js.map +1 -1
- package/dist/esm/platform-worker-api/index.js +21 -4
- package/dist/esm/platform-worker-api/index.js.map +1 -1
- package/dist/statics/environment-api/index.js +48 -10
- package/dist/statics/environment-api/index.js.map +1 -1
- package/dist/statics/index.js +48 -10
- package/dist/statics/index.js.map +1 -1
- package/dist/statics/platform-frame/index.js +38 -4
- package/dist/statics/platform-frame/index.js.map +1 -1
- package/dist/statics/platform-frame-api/index.js +38 -4
- package/dist/statics/platform-frame-api/index.js.map +1 -1
- package/dist/statics/platform-worker/index.js +21 -4
- package/dist/statics/platform-worker/index.js.map +1 -1
- package/dist/statics/platform-worker-api/index.js +21 -4
- package/dist/statics/platform-worker-api/index.js.map +1 -1
- package/dist/types/environment-api/index.d.ts +41 -9
- package/dist/types/index.d.ts +41 -9
- package/dist/types/platform-frame/index.d.ts +41 -9
- package/dist/types/platform-frame-api/index.d.ts +41 -9
- package/dist/types/platform-worker/index.d.ts +41 -9
- package/dist/types/platform-worker-api/index.d.ts +41 -9
- package/package.json +6 -7
|
@@ -3,25 +3,57 @@ import { IPlatformPrivateEvent, IPlatformAppEvent } from '@wix/public-editor-pla
|
|
|
3
3
|
type IPrivateAPIFixMe = any;
|
|
4
4
|
type IApplicationSpec = any;
|
|
5
5
|
|
|
6
|
-
declare
|
|
7
|
-
|
|
6
|
+
declare enum PlatformConsumerEnvironmentAPIType {
|
|
7
|
+
Frame = "PLATFORM_FRAME_API",
|
|
8
|
+
Worker = "PLATFORM_WORKER_API"
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* rename these entities -> API to Env
|
|
12
|
+
*/
|
|
13
|
+
declare abstract class AbstractEnvironmentAPI<TEnv extends PlatformConsumerEnvironmentAPIType> {
|
|
14
|
+
protected env: TEnv;
|
|
15
|
+
/**
|
|
16
|
+
* NOTE: we can't `type` declare getter within current abstract class
|
|
17
|
+
* because then after transferring API between threads this getter becomes promise,
|
|
18
|
+
* which is not expected
|
|
19
|
+
*
|
|
20
|
+
* get type() {
|
|
21
|
+
* return this.env;
|
|
22
|
+
* }
|
|
23
|
+
*/
|
|
24
|
+
abstract type: TEnv;
|
|
25
|
+
protected constructor(env: TEnv);
|
|
26
|
+
abstract create(): void;
|
|
27
|
+
abstract initEnvironment(props: unknown): void;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare class PlatformFrameAPI extends AbstractEnvironmentAPI<PlatformConsumerEnvironmentAPIType.Frame> {
|
|
8
31
|
#private;
|
|
9
|
-
type:
|
|
10
|
-
|
|
32
|
+
type: PlatformConsumerEnvironmentAPIType.Frame;
|
|
33
|
+
constructor();
|
|
34
|
+
create(): void;
|
|
35
|
+
initEnvironment(props: {
|
|
36
|
+
appDefinitionId: string;
|
|
37
|
+
privateAPI: IPrivateAPIFixMe;
|
|
38
|
+
applicationPrivateAPI: any;
|
|
39
|
+
}): Promise<void>;
|
|
11
40
|
notify(event: IPlatformPrivateEvent): void;
|
|
12
41
|
subscribe(cb: (event: IPlatformAppEvent) => void): void;
|
|
13
42
|
}
|
|
14
43
|
|
|
15
|
-
declare
|
|
16
|
-
declare class PlatformWorkerAPI {
|
|
44
|
+
declare class PlatformWorkerAPI extends AbstractEnvironmentAPI<PlatformConsumerEnvironmentAPIType.Worker> {
|
|
17
45
|
#private;
|
|
18
|
-
type:
|
|
19
|
-
|
|
46
|
+
type: PlatformConsumerEnvironmentAPIType.Worker;
|
|
47
|
+
constructor();
|
|
48
|
+
create(): void;
|
|
49
|
+
initEnvironment(props: {
|
|
50
|
+
buildPrivateAPI: (config: any) => IPrivateAPIFixMe;
|
|
51
|
+
}): Promise<void>;
|
|
20
52
|
notify(event: IPlatformPrivateEvent): Promise<void>;
|
|
21
53
|
subscribe(cb: (event: IPlatformAppEvent) => void): void;
|
|
22
54
|
runApplication(app: IApplicationSpec): Promise<void>;
|
|
23
55
|
waitReady(): Promise<this>;
|
|
24
56
|
}
|
|
25
57
|
|
|
26
|
-
export {
|
|
58
|
+
export { PlatformConsumerEnvironmentAPIType, PlatformFrameAPI, PlatformWorkerAPI };
|
|
27
59
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/index.d.ts
CHANGED
|
@@ -229,25 +229,57 @@ declare class WixEditorPlatformAddon<TPublicAPI = unknown, TPrivateAPI = unknown
|
|
|
229
229
|
private registerToolsPanel;
|
|
230
230
|
}
|
|
231
231
|
|
|
232
|
-
declare
|
|
233
|
-
|
|
232
|
+
declare enum PlatformConsumerEnvironmentAPIType {
|
|
233
|
+
Frame = "PLATFORM_FRAME_API",
|
|
234
|
+
Worker = "PLATFORM_WORKER_API"
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* rename these entities -> API to Env
|
|
238
|
+
*/
|
|
239
|
+
declare abstract class AbstractEnvironmentAPI<TEnv extends PlatformConsumerEnvironmentAPIType> {
|
|
240
|
+
protected env: TEnv;
|
|
241
|
+
/**
|
|
242
|
+
* NOTE: we can't `type` declare getter within current abstract class
|
|
243
|
+
* because then after transferring API between threads this getter becomes promise,
|
|
244
|
+
* which is not expected
|
|
245
|
+
*
|
|
246
|
+
* get type() {
|
|
247
|
+
* return this.env;
|
|
248
|
+
* }
|
|
249
|
+
*/
|
|
250
|
+
abstract type: TEnv;
|
|
251
|
+
protected constructor(env: TEnv);
|
|
252
|
+
abstract create(): void;
|
|
253
|
+
abstract initEnvironment(props: unknown): void;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
declare class PlatformFrameAPI extends AbstractEnvironmentAPI<PlatformConsumerEnvironmentAPIType.Frame> {
|
|
234
257
|
#private;
|
|
235
|
-
type:
|
|
236
|
-
|
|
258
|
+
type: PlatformConsumerEnvironmentAPIType.Frame;
|
|
259
|
+
constructor();
|
|
260
|
+
create(): void;
|
|
261
|
+
initEnvironment(props: {
|
|
262
|
+
appDefinitionId: string;
|
|
263
|
+
privateAPI: IPrivateAPIFixMe;
|
|
264
|
+
applicationPrivateAPI: any;
|
|
265
|
+
}): Promise<void>;
|
|
237
266
|
notify(event: IPlatformPrivateEvent): void;
|
|
238
267
|
subscribe(cb: (event: IPlatformAppEvent) => void): void;
|
|
239
268
|
}
|
|
240
269
|
|
|
241
|
-
declare
|
|
242
|
-
declare class PlatformWorkerAPI {
|
|
270
|
+
declare class PlatformWorkerAPI extends AbstractEnvironmentAPI<PlatformConsumerEnvironmentAPIType.Worker> {
|
|
243
271
|
#private;
|
|
244
|
-
type:
|
|
245
|
-
|
|
272
|
+
type: PlatformConsumerEnvironmentAPIType.Worker;
|
|
273
|
+
constructor();
|
|
274
|
+
create(): void;
|
|
275
|
+
initEnvironment(props: {
|
|
276
|
+
buildPrivateAPI: (config: any) => IPrivateAPIFixMe;
|
|
277
|
+
}): Promise<void>;
|
|
246
278
|
notify(event: IPlatformPrivateEvent): Promise<void>;
|
|
247
279
|
subscribe(cb: (event: IPlatformAppEvent) => void): void;
|
|
248
280
|
runApplication(app: IApplicationSpec): Promise<void>;
|
|
249
281
|
waitReady(): Promise<this>;
|
|
250
282
|
}
|
|
251
283
|
|
|
252
|
-
export { ApplicationType, EditorPlatformApplication, type IApplicationAPI, type IApplicationSpec, type IPrivateAPIFixMe,
|
|
284
|
+
export { ApplicationType, EditorPlatformApplication, type IApplicationAPI, type IApplicationSpec, type IPrivateAPIFixMe, PlatformConsumerEnvironmentAPIType, PlatformFrameAPI, PlatformWorkerAPI, WixEditorPlatformAddon, WixEditorPlatformApplication };
|
|
253
285
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,25 +3,57 @@ import { IPlatformPrivateEvent, IPlatformAppEvent } from '@wix/public-editor-pla
|
|
|
3
3
|
type IPrivateAPIFixMe = any;
|
|
4
4
|
type IApplicationSpec = any;
|
|
5
5
|
|
|
6
|
-
declare
|
|
7
|
-
|
|
6
|
+
declare enum PlatformConsumerEnvironmentAPIType {
|
|
7
|
+
Frame = "PLATFORM_FRAME_API",
|
|
8
|
+
Worker = "PLATFORM_WORKER_API"
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* rename these entities -> API to Env
|
|
12
|
+
*/
|
|
13
|
+
declare abstract class AbstractEnvironmentAPI<TEnv extends PlatformConsumerEnvironmentAPIType> {
|
|
14
|
+
protected env: TEnv;
|
|
15
|
+
/**
|
|
16
|
+
* NOTE: we can't `type` declare getter within current abstract class
|
|
17
|
+
* because then after transferring API between threads this getter becomes promise,
|
|
18
|
+
* which is not expected
|
|
19
|
+
*
|
|
20
|
+
* get type() {
|
|
21
|
+
* return this.env;
|
|
22
|
+
* }
|
|
23
|
+
*/
|
|
24
|
+
abstract type: TEnv;
|
|
25
|
+
protected constructor(env: TEnv);
|
|
26
|
+
abstract create(): void;
|
|
27
|
+
abstract initEnvironment(props: unknown): void;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare class PlatformFrameAPI extends AbstractEnvironmentAPI<PlatformConsumerEnvironmentAPIType.Frame> {
|
|
8
31
|
#private;
|
|
9
|
-
type:
|
|
10
|
-
|
|
32
|
+
type: PlatformConsumerEnvironmentAPIType.Frame;
|
|
33
|
+
constructor();
|
|
34
|
+
create(): void;
|
|
35
|
+
initEnvironment(props: {
|
|
36
|
+
appDefinitionId: string;
|
|
37
|
+
privateAPI: IPrivateAPIFixMe;
|
|
38
|
+
applicationPrivateAPI: any;
|
|
39
|
+
}): Promise<void>;
|
|
11
40
|
notify(event: IPlatformPrivateEvent): void;
|
|
12
41
|
subscribe(cb: (event: IPlatformAppEvent) => void): void;
|
|
13
42
|
}
|
|
14
43
|
|
|
15
|
-
declare
|
|
16
|
-
declare class PlatformWorkerAPI {
|
|
44
|
+
declare class PlatformWorkerAPI extends AbstractEnvironmentAPI<PlatformConsumerEnvironmentAPIType.Worker> {
|
|
17
45
|
#private;
|
|
18
|
-
type:
|
|
19
|
-
|
|
46
|
+
type: PlatformConsumerEnvironmentAPIType.Worker;
|
|
47
|
+
constructor();
|
|
48
|
+
create(): void;
|
|
49
|
+
initEnvironment(props: {
|
|
50
|
+
buildPrivateAPI: (config: any) => IPrivateAPIFixMe;
|
|
51
|
+
}): Promise<void>;
|
|
20
52
|
notify(event: IPlatformPrivateEvent): Promise<void>;
|
|
21
53
|
subscribe(cb: (event: IPlatformAppEvent) => void): void;
|
|
22
54
|
runApplication(app: IApplicationSpec): Promise<void>;
|
|
23
55
|
waitReady(): Promise<this>;
|
|
24
56
|
}
|
|
25
57
|
|
|
26
|
-
export {
|
|
58
|
+
export { PlatformConsumerEnvironmentAPIType, PlatformFrameAPI, PlatformWorkerAPI };
|
|
27
59
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,25 +3,57 @@ import { IPlatformPrivateEvent, IPlatformAppEvent } from '@wix/public-editor-pla
|
|
|
3
3
|
type IPrivateAPIFixMe = any;
|
|
4
4
|
type IApplicationSpec = any;
|
|
5
5
|
|
|
6
|
-
declare
|
|
7
|
-
|
|
6
|
+
declare enum PlatformConsumerEnvironmentAPIType {
|
|
7
|
+
Frame = "PLATFORM_FRAME_API",
|
|
8
|
+
Worker = "PLATFORM_WORKER_API"
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* rename these entities -> API to Env
|
|
12
|
+
*/
|
|
13
|
+
declare abstract class AbstractEnvironmentAPI<TEnv extends PlatformConsumerEnvironmentAPIType> {
|
|
14
|
+
protected env: TEnv;
|
|
15
|
+
/**
|
|
16
|
+
* NOTE: we can't `type` declare getter within current abstract class
|
|
17
|
+
* because then after transferring API between threads this getter becomes promise,
|
|
18
|
+
* which is not expected
|
|
19
|
+
*
|
|
20
|
+
* get type() {
|
|
21
|
+
* return this.env;
|
|
22
|
+
* }
|
|
23
|
+
*/
|
|
24
|
+
abstract type: TEnv;
|
|
25
|
+
protected constructor(env: TEnv);
|
|
26
|
+
abstract create(): void;
|
|
27
|
+
abstract initEnvironment(props: unknown): void;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare class PlatformFrameAPI extends AbstractEnvironmentAPI<PlatformConsumerEnvironmentAPIType.Frame> {
|
|
8
31
|
#private;
|
|
9
|
-
type:
|
|
10
|
-
|
|
32
|
+
type: PlatformConsumerEnvironmentAPIType.Frame;
|
|
33
|
+
constructor();
|
|
34
|
+
create(): void;
|
|
35
|
+
initEnvironment(props: {
|
|
36
|
+
appDefinitionId: string;
|
|
37
|
+
privateAPI: IPrivateAPIFixMe;
|
|
38
|
+
applicationPrivateAPI: any;
|
|
39
|
+
}): Promise<void>;
|
|
11
40
|
notify(event: IPlatformPrivateEvent): void;
|
|
12
41
|
subscribe(cb: (event: IPlatformAppEvent) => void): void;
|
|
13
42
|
}
|
|
14
43
|
|
|
15
|
-
declare
|
|
16
|
-
declare class PlatformWorkerAPI {
|
|
44
|
+
declare class PlatformWorkerAPI extends AbstractEnvironmentAPI<PlatformConsumerEnvironmentAPIType.Worker> {
|
|
17
45
|
#private;
|
|
18
|
-
type:
|
|
19
|
-
|
|
46
|
+
type: PlatformConsumerEnvironmentAPIType.Worker;
|
|
47
|
+
constructor();
|
|
48
|
+
create(): void;
|
|
49
|
+
initEnvironment(props: {
|
|
50
|
+
buildPrivateAPI: (config: any) => IPrivateAPIFixMe;
|
|
51
|
+
}): Promise<void>;
|
|
20
52
|
notify(event: IPlatformPrivateEvent): Promise<void>;
|
|
21
53
|
subscribe(cb: (event: IPlatformAppEvent) => void): void;
|
|
22
54
|
runApplication(app: IApplicationSpec): Promise<void>;
|
|
23
55
|
waitReady(): Promise<this>;
|
|
24
56
|
}
|
|
25
57
|
|
|
26
|
-
export {
|
|
58
|
+
export { PlatformConsumerEnvironmentAPIType, PlatformFrameAPI, PlatformWorkerAPI };
|
|
27
59
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,25 +3,57 @@ import { IPlatformPrivateEvent, IPlatformAppEvent } from '@wix/public-editor-pla
|
|
|
3
3
|
type IPrivateAPIFixMe = any;
|
|
4
4
|
type IApplicationSpec = any;
|
|
5
5
|
|
|
6
|
-
declare
|
|
7
|
-
|
|
6
|
+
declare enum PlatformConsumerEnvironmentAPIType {
|
|
7
|
+
Frame = "PLATFORM_FRAME_API",
|
|
8
|
+
Worker = "PLATFORM_WORKER_API"
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* rename these entities -> API to Env
|
|
12
|
+
*/
|
|
13
|
+
declare abstract class AbstractEnvironmentAPI<TEnv extends PlatformConsumerEnvironmentAPIType> {
|
|
14
|
+
protected env: TEnv;
|
|
15
|
+
/**
|
|
16
|
+
* NOTE: we can't `type` declare getter within current abstract class
|
|
17
|
+
* because then after transferring API between threads this getter becomes promise,
|
|
18
|
+
* which is not expected
|
|
19
|
+
*
|
|
20
|
+
* get type() {
|
|
21
|
+
* return this.env;
|
|
22
|
+
* }
|
|
23
|
+
*/
|
|
24
|
+
abstract type: TEnv;
|
|
25
|
+
protected constructor(env: TEnv);
|
|
26
|
+
abstract create(): void;
|
|
27
|
+
abstract initEnvironment(props: unknown): void;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare class PlatformFrameAPI extends AbstractEnvironmentAPI<PlatformConsumerEnvironmentAPIType.Frame> {
|
|
8
31
|
#private;
|
|
9
|
-
type:
|
|
10
|
-
|
|
32
|
+
type: PlatformConsumerEnvironmentAPIType.Frame;
|
|
33
|
+
constructor();
|
|
34
|
+
create(): void;
|
|
35
|
+
initEnvironment(props: {
|
|
36
|
+
appDefinitionId: string;
|
|
37
|
+
privateAPI: IPrivateAPIFixMe;
|
|
38
|
+
applicationPrivateAPI: any;
|
|
39
|
+
}): Promise<void>;
|
|
11
40
|
notify(event: IPlatformPrivateEvent): void;
|
|
12
41
|
subscribe(cb: (event: IPlatformAppEvent) => void): void;
|
|
13
42
|
}
|
|
14
43
|
|
|
15
|
-
declare
|
|
16
|
-
declare class PlatformWorkerAPI {
|
|
44
|
+
declare class PlatformWorkerAPI extends AbstractEnvironmentAPI<PlatformConsumerEnvironmentAPIType.Worker> {
|
|
17
45
|
#private;
|
|
18
|
-
type:
|
|
19
|
-
|
|
46
|
+
type: PlatformConsumerEnvironmentAPIType.Worker;
|
|
47
|
+
constructor();
|
|
48
|
+
create(): void;
|
|
49
|
+
initEnvironment(props: {
|
|
50
|
+
buildPrivateAPI: (config: any) => IPrivateAPIFixMe;
|
|
51
|
+
}): Promise<void>;
|
|
20
52
|
notify(event: IPlatformPrivateEvent): Promise<void>;
|
|
21
53
|
subscribe(cb: (event: IPlatformAppEvent) => void): void;
|
|
22
54
|
runApplication(app: IApplicationSpec): Promise<void>;
|
|
23
55
|
waitReady(): Promise<this>;
|
|
24
56
|
}
|
|
25
57
|
|
|
26
|
-
export {
|
|
58
|
+
export { PlatformConsumerEnvironmentAPIType, PlatformFrameAPI, PlatformWorkerAPI };
|
|
27
59
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,25 +3,57 @@ import { IPlatformPrivateEvent, IPlatformAppEvent } from '@wix/public-editor-pla
|
|
|
3
3
|
type IPrivateAPIFixMe = any;
|
|
4
4
|
type IApplicationSpec = any;
|
|
5
5
|
|
|
6
|
-
declare
|
|
7
|
-
|
|
6
|
+
declare enum PlatformConsumerEnvironmentAPIType {
|
|
7
|
+
Frame = "PLATFORM_FRAME_API",
|
|
8
|
+
Worker = "PLATFORM_WORKER_API"
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* rename these entities -> API to Env
|
|
12
|
+
*/
|
|
13
|
+
declare abstract class AbstractEnvironmentAPI<TEnv extends PlatformConsumerEnvironmentAPIType> {
|
|
14
|
+
protected env: TEnv;
|
|
15
|
+
/**
|
|
16
|
+
* NOTE: we can't `type` declare getter within current abstract class
|
|
17
|
+
* because then after transferring API between threads this getter becomes promise,
|
|
18
|
+
* which is not expected
|
|
19
|
+
*
|
|
20
|
+
* get type() {
|
|
21
|
+
* return this.env;
|
|
22
|
+
* }
|
|
23
|
+
*/
|
|
24
|
+
abstract type: TEnv;
|
|
25
|
+
protected constructor(env: TEnv);
|
|
26
|
+
abstract create(): void;
|
|
27
|
+
abstract initEnvironment(props: unknown): void;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare class PlatformFrameAPI extends AbstractEnvironmentAPI<PlatformConsumerEnvironmentAPIType.Frame> {
|
|
8
31
|
#private;
|
|
9
|
-
type:
|
|
10
|
-
|
|
32
|
+
type: PlatformConsumerEnvironmentAPIType.Frame;
|
|
33
|
+
constructor();
|
|
34
|
+
create(): void;
|
|
35
|
+
initEnvironment(props: {
|
|
36
|
+
appDefinitionId: string;
|
|
37
|
+
privateAPI: IPrivateAPIFixMe;
|
|
38
|
+
applicationPrivateAPI: any;
|
|
39
|
+
}): Promise<void>;
|
|
11
40
|
notify(event: IPlatformPrivateEvent): void;
|
|
12
41
|
subscribe(cb: (event: IPlatformAppEvent) => void): void;
|
|
13
42
|
}
|
|
14
43
|
|
|
15
|
-
declare
|
|
16
|
-
declare class PlatformWorkerAPI {
|
|
44
|
+
declare class PlatformWorkerAPI extends AbstractEnvironmentAPI<PlatformConsumerEnvironmentAPIType.Worker> {
|
|
17
45
|
#private;
|
|
18
|
-
type:
|
|
19
|
-
|
|
46
|
+
type: PlatformConsumerEnvironmentAPIType.Worker;
|
|
47
|
+
constructor();
|
|
48
|
+
create(): void;
|
|
49
|
+
initEnvironment(props: {
|
|
50
|
+
buildPrivateAPI: (config: any) => IPrivateAPIFixMe;
|
|
51
|
+
}): Promise<void>;
|
|
20
52
|
notify(event: IPlatformPrivateEvent): Promise<void>;
|
|
21
53
|
subscribe(cb: (event: IPlatformAppEvent) => void): void;
|
|
22
54
|
runApplication(app: IApplicationSpec): Promise<void>;
|
|
23
55
|
waitReady(): Promise<this>;
|
|
24
56
|
}
|
|
25
57
|
|
|
26
|
-
export {
|
|
58
|
+
export { PlatformConsumerEnvironmentAPIType, PlatformFrameAPI, PlatformWorkerAPI };
|
|
27
59
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/editor-application",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.315.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -64,17 +64,16 @@
|
|
|
64
64
|
"typescript": "~5.2.2"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@wix/editor-platform-transport": "1.
|
|
68
|
-
"@wix/public-editor-platform-errors": "1.
|
|
69
|
-
"@wix/public-editor-platform-events": "1.
|
|
70
|
-
"@wix/public-editor-platform-interfaces": "1.
|
|
67
|
+
"@wix/editor-platform-transport": "1.8.0",
|
|
68
|
+
"@wix/public-editor-platform-errors": "1.8.0",
|
|
69
|
+
"@wix/public-editor-platform-events": "1.290.0",
|
|
70
|
+
"@wix/public-editor-platform-interfaces": "1.2.0"
|
|
71
71
|
},
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"registry": "https://registry.npmjs.org/",
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
76
|
"unpkg": true,
|
|
77
|
-
"publishScoped": true,
|
|
78
77
|
"lint-staged": {
|
|
79
78
|
"*.{js,ts}": "yarn run lint"
|
|
80
79
|
},
|
|
@@ -92,5 +91,5 @@
|
|
|
92
91
|
]
|
|
93
92
|
}
|
|
94
93
|
},
|
|
95
|
-
"falconPackageHash": "
|
|
94
|
+
"falconPackageHash": "0d952c23bcc1948a112b5f055f59d81eaa939bacd006ff6a8de12e34"
|
|
96
95
|
}
|