mirror of
https://github.com/nicotsx/zerobyte.git
synced 2026-04-17 13:33:16 -04:00
18 lines
326 B
TypeScript
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;
|
|
};
|