mirror of
https://github.com/nicotsx/zerobyte.git
synced 2026-04-17 21:37:06 -04:00
16 lines
284 B
TypeScript
16 lines
284 B
TypeScript
type User = {
|
|
id: string;
|
|
email: string;
|
|
username: string;
|
|
name: string;
|
|
hasDownloadedResticPassword: boolean;
|
|
twoFactorEnabled?: boolean | null;
|
|
role?: string | null | undefined;
|
|
};
|
|
|
|
export type AppContext = {
|
|
user: User | null;
|
|
hasUsers: boolean;
|
|
sidebarOpen: boolean;
|
|
};
|