Files
zerobyte/app/context.ts
Nicolas Meienberger a3af29ec4e feat: oidc
feat: organization switcher

refactor: org context

feat: invitations

GLM
2026-02-24 11:55:05 +01:00

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