feat: implemented a basic store and emulatorjs

This commit is contained in:
Simeon Radivoev 2026-03-14 02:15:57 +02:00
parent 2f32cbc730
commit 7286541822
Signed by: simeonradivoev
GPG key ID: 7611A451D2A5D37A
121 changed files with 5900 additions and 1092 deletions

View file

@ -1,4 +1,5 @@
declare const __HOST__: string;
declare const __PUBLIC__: boolean;
declare const __EMULATORS__: Record<string, string>;
declare module "@emulators" {
const data: Record<string, string>;
@ -19,15 +20,16 @@ global
interface FocusParams
{
onFocus?: () => void;
onFocus?: (focusKey: string, node: HTMLElement, details: Record<string, any>) => void;
}
interface InteractParams
{
onAction?: () => void;
onAction?: (e?: Event) => void;
}
interface FilterOption extends FocusParams, InteractParams
{
label: string;
}
selected: boolean;
}