@netless/window-manager 0.4.9 → 0.4.10

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.
@@ -27,11 +27,14 @@ export declare class AppManager {
27
27
  private sideEffectManager;
28
28
  sceneState: SceneState | null;
29
29
  constructor(windowManger: WindowManager);
30
+ private onRemoveScenes;
30
31
  /**
31
32
  * 根目录被删除时所有的 scene 都会被删除.
32
33
  * 所以需要关掉所有开启了 view 的 app
33
34
  */
34
35
  private onRootDirRemoved;
36
+ private onReadonlyChanged;
37
+ private onPlayerSeek;
35
38
  private createRootDirScenesCallback;
36
39
  private onSceneChange;
37
40
  private updateSceneState;
@@ -36,6 +36,7 @@ export declare type EmitterEvent = {
36
36
  prev: string | undefined;
37
37
  };
38
38
  rootDirRemoved: undefined;
39
+ setReadonly: boolean;
39
40
  };
40
41
  export declare type EmitterType = Emittery<EmitterEvent>;
41
42
  export declare const emitter: EmitterType;
package/dist/index.d.ts CHANGED
@@ -229,3 +229,4 @@ export declare class WindowManager extends InvisiblePlugin<WindowMangerAttribute
229
229
  }
230
230
  export * from "./typings";
231
231
  export { BuiltinApps } from "./BuiltinApps";
232
+ export type { PublicEvent } from "./callback";