mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-28 06:22:45 -08:00
feat(core): add Electron runtime, services, and app composition
This commit is contained in:
14
src/renderer/context.ts
Normal file
14
src/renderer/context.ts
Normal file
@@ -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