15 lines
284 B
TypeScript
15 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;
|
|
};
|