mirror of
https://github.com/nicotsx/zerobyte.git
synced 2026-07-30 17:46:14 -04:00
21 lines
424 B
TypeScript
21 lines
424 B
TypeScript
type User = {
|
|
id: string;
|
|
email: string;
|
|
username: string;
|
|
name: string;
|
|
hasDownloadedResticPassword: boolean;
|
|
dateFormat: string;
|
|
timeFormat: string;
|
|
twoFactorEnabled?: boolean | null;
|
|
hasPassword?: boolean;
|
|
role?: string | null | undefined;
|
|
};
|
|
|
|
export type AppContext = {
|
|
user: User | null;
|
|
passwordAuthSupported: boolean;
|
|
hasUsers: boolean;
|
|
sidebarOpen: boolean;
|
|
hasSkippedRecoveryKeyDownload: boolean;
|
|
};
|