@wix/editor 1.392.0 → 1.394.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,10 +1,14 @@
1
1
  import * as _wix_editor_platform_contexts from '@wix/editor-platform-contexts';
2
2
  import { ApplicationContext, AppEventPayload, AllowedEvents } from '@wix/editor-platform-contexts';
3
+ import { AdminHost } from '@wix/admin';
3
4
  import * as _wix_sdk_types from '@wix/sdk-types';
4
5
  import { Host } from '@wix/sdk-types';
5
6
  import * as _wix_editor_platform_transport from '@wix/editor-platform-transport';
6
7
  import { IElement, ComponentRef, DsItem, BuilderStyle, StyleRef, OpenLinkPanelFn, OpenColorPickerFn } from '@wix/public-editor-platform-interfaces';
7
8
 
9
+ interface AdminAPI extends NonNullable<AdminHost['admin']> {
10
+ }
11
+
8
12
  declare class BaseSDKShape {
9
13
  protected overriddenApplicationContext: Promise<ApplicationContext> | null;
10
14
  constructor(overriddenApplicationContext?: Promise<ApplicationContext> | null);
@@ -309,6 +313,7 @@ declare class PlatformSDKShape<TShape extends new (...args: any[]) => any, TSele
309
313
 
310
314
  declare const editor: {
311
315
  host: () => _wix_sdk_types.Host & {
316
+ admin: AdminAPI;
312
317
  applicationContext: Promise<_wix_editor_platform_contexts.ApplicationContext>;
313
318
  };
314
319
  auth: () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/editor",
3
- "version": "1.392.0",
3
+ "version": "1.394.0",
4
4
  "license": "UNLICENSED",
5
5
  "author": {
6
6
  "name": "Editor Platform <editor-platform-dev@wix.com>",
@@ -30,6 +30,7 @@
30
30
  "*.{js,ts}": "yarn lint"
31
31
  },
32
32
  "dependencies": {
33
+ "@wix/admin": "^1.6.1",
33
34
  "@wix/editor-platform-contexts": "1.77.0",
34
35
  "@wix/editor-platform-environment-api": "1.77.0",
35
36
  "@wix/monitoring-browser-sdk-host": "^0.1.8",
@@ -61,5 +62,5 @@
61
62
  ]
62
63
  }
63
64
  },
64
- "falconPackageHash": "5cc043826f58c736c61462aee77cd4c89c37c4eb5b2960fb9704a566"
65
+ "falconPackageHash": "0626d2c21610a589ae113d7c51f0f7d9dfce4d8be40b96fab9bdc2c7"
65
66
  }