zerobyte/app/context.ts
2026-02-10 20:19:18 +01:00

13 lines
246 B
TypeScript

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