mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-05-04 12:41:30 -07:00
feat(core): add Electron runtime, services, and app composition
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import type { RendererState } from './state';
|
||||
import type { RendererDom } from './utils/dom';
|
||||
import type { PlatformInfo } from './utils/platform';
|
||||
|
||||
export type RendererContext = {
|
||||
dom: RendererDom;
|
||||
platform: PlatformInfo;
|
||||
state: RendererState;
|
||||
};
|
||||
|
||||
export type ModalStateReader = {
|
||||
isAnySettingsModalOpen: () => boolean;
|
||||
isAnyModalOpen: () => boolean;
|
||||
};
|
||||
Reference in New Issue
Block a user