mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
23 lines
440 B
TypeScript
23 lines
440 B
TypeScript
|
|
declare global {
|
||
|
|
interface Window {
|
||
|
|
__rpcId: string;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
export type ITermGroup = {
|
||
|
|
uid: string | null;
|
||
|
|
sessionUid: string | null;
|
||
|
|
parentUid: string | null;
|
||
|
|
direction: string | null;
|
||
|
|
sizes: number[] | null;
|
||
|
|
children: string[];
|
||
|
|
};
|
||
|
|
|
||
|
|
export type ITermGroups = Record<string, ITermGroup>;
|
||
|
|
|
||
|
|
export type ITermState = {
|
||
|
|
termGroups: ITermGroups;
|
||
|
|
activeSessions: Record<string, string>;
|
||
|
|
activeRootGroup: string | null;
|
||
|
|
};
|