@netless/appliance-plugin 1.1.7-beta.1 → 1.1.7-beta.3

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.
@@ -7,7 +7,6 @@ export declare class ApplianceMultiManager extends BaseApplianceManager {
7
7
  viewContainerManager: ViewContainerMultiManager;
8
8
  constructor(params: BaseApplianceManagerProps);
9
9
  init(): void;
10
- destroy(): void;
11
10
  activePlugin(): void;
12
11
  activeWorker(): Promise<void>;
13
12
  setWindowManager(windowManager: WindowManager): void;
@@ -128,7 +128,7 @@ export type ApplianceAdaptor = {
128
128
  logger?: Logger;
129
129
  cursorAdapter?: CursorAdapter;
130
130
  };
131
- export type canBindMethodType = keyof Omit<AppliancePluginInstance, 'displayer' | 'windowManager' | 'injectMethodToObject' | 'callbacksOn' | 'callbacksOnce' | 'callbacksOff' | '_injectTargetObject' | 'createMiniMap' | 'destroyMiniMap' | 'filterRenderByUid' | 'cancelFilterRender' | 'addListener' | 'removeListener' | 'usePligiun'>;
131
+ export type canBindMethodType = keyof Omit<AppliancePluginInstance, 'displayer' | 'windowManager' | 'injectMethodToObject' | 'callbacksOn' | 'callbacksOnce' | 'callbacksOff' | '_injectTargetObject' | 'createMiniMap' | 'destroyMiniMap' | 'filterRenderByUid' | 'cancelFilterRender' | 'addListener' | 'removeListener' | 'usePlugin'>;
132
132
  export interface AppliancePluginInstance {
133
133
  readonly displayer: Displayer;
134
134
  readonly currentManager?: ApplianceManagerLike;
@@ -237,7 +237,7 @@ export interface AppliancePluginInstance {
237
237
  * 使用插件
238
238
  * @param plugin 插件
239
239
  */
240
- usePligiun(plugin: Plugin): void;
240
+ usePlugin(plugin: Plugin): void;
241
241
  }
242
242
  export type Logger = {
243
243
  readonly info: (...messages: any[]) => void;