Files
zerobyte/app/context.ts
2026-03-29 17:24:54 +02:00

18 lines
326 B
TypeScript

type User = {
id: string;
email: string;
username: string;
name: string;
hasDownloadedResticPassword: boolean;
dateFormat: string;
timeFormat: string;
twoFactorEnabled?: boolean | null;
role?: string | null | undefined;
};
export type AppContext = {
user: User | null;
hasUsers: boolean;
sidebarOpen: boolean;
};