Files
ThothII/frontend/src/shell/host/PortalAdapter.ts
T
Codex d8a29bfbdd Add full shell, replaceable Omics adapter and bilingual interaction
Implement approved specification #32 and tickets #33-#37. Keep host authentication server-verified and pin session interaction language. Compile scoped base selectors for browser compatibility and retain full gutters during CSS pruning.
2026-09-13 14:26:39 +02:00

10 lines
240 B
TypeScript

export interface PortalSnapshot {
locale: string;
theme: "light" | "dark";
fullscreen: boolean;
}
export interface PortalAdapter {
subscribe(onState: (state: PortalSnapshot) => void, onError: (error: Error) => void): () => void;
}