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.
10 lines
240 B
TypeScript
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;
|
|
}
|