mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
22 lines
440 B
TypeScript
22 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;
|
|
};
|