zerobyte/app/context.ts
Nicolas Meienberger 0811212fc3 feat: oidc
feat: organization switcher

refactor: org context

feat: invitations

GLM
2026-02-26 19:58:49 +01:00

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;
};