@tomorrowevening/hermes 0.0.40 → 0.0.41
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/hermes.cjs.js +14 -14
- package/dist/hermes.es.js +1016 -1140
- package/package.json +1 -1
- package/types/core/remote/BaseRemote.d.ts +1 -2
- package/types/core/remote/RemoteTheatre.d.ts +2 -1
- package/types/index.d.ts +2 -1
package/package.json
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
"module": "./dist/hermes.esm.js",
|
8
8
|
"types": "./types/index.d.ts",
|
9
9
|
"type": "module",
|
10
|
-
"version": "0.0.
|
10
|
+
"version": "0.0.41",
|
11
11
|
"homepage": "https://github.com/tomorrowevening/hermes#readme",
|
12
12
|
"bugs": {
|
13
13
|
"url": "https://github.com/tomorrowevening/hermes/issues"
|
@@ -1,10 +1,9 @@
|
|
1
1
|
import Application from '../Application';
|
2
2
|
import { BroadcastData } from '../types';
|
3
3
|
export default class BaseRemote {
|
4
|
-
|
4
|
+
app: Application;
|
5
5
|
constructor(app: Application);
|
6
6
|
dispose(): void;
|
7
7
|
handleApp(_: BroadcastData): void;
|
8
8
|
handleEditor(_: BroadcastData): void;
|
9
|
-
handleEditorApp(): void;
|
10
9
|
}
|
@@ -1,6 +1,8 @@
|
|
1
1
|
import { IProject, IRafDriver, ISheet, ISheetObject } from '@theatre/core';
|
2
2
|
import BaseRemote from './BaseRemote';
|
3
|
+
import Application from '../Application';
|
3
4
|
import { BroadcastData, DataUpdateCallback, VoidCallback } from '../types';
|
5
|
+
export declare function theatreEditorApp(app: Application, theatre: RemoteTheatre, studio: any): void;
|
4
6
|
export default class RemoteTheatre extends BaseRemote {
|
5
7
|
project: IProject | undefined;
|
6
8
|
sheets: Map<string, ISheet>;
|
@@ -17,5 +19,4 @@ export default class RemoteTheatre extends BaseRemote {
|
|
17
19
|
unsubscribe(sheetObject: ISheetObject): undefined;
|
18
20
|
handleApp(msg: BroadcastData): void;
|
19
21
|
handleEditor(msg: BroadcastData): void;
|
20
|
-
handleEditorApp(): void;
|
21
22
|
}
|
package/types/index.d.ts
CHANGED
@@ -1,9 +1,10 @@
|
|
1
|
+
export * from './core/types';
|
1
2
|
export * from './editor/utils';
|
2
3
|
export { default as Application } from './core/Application';
|
3
4
|
export { debugDispatcher, ToolEvents } from './editor/global';
|
4
5
|
export { default as BaseRemote } from './core/remote/BaseRemote';
|
5
6
|
export { default as RemoteComponents } from './core/remote/RemoteComponents';
|
6
|
-
export
|
7
|
+
export * from './core/remote/RemoteTheatre';
|
7
8
|
export { default as RemoteThree } from './core/remote/RemoteThree';
|
8
9
|
export { default as RemoteTweakpane } from './core/remote/RemoteTweakpane';
|
9
10
|
export { default as NavButton } from './editor/components/NavButton';
|