mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2026-06-22 04:11:37 +10:00
21 lines
368 B
TypeScript
21 lines
368 B
TypeScript
export type AppState = {
|
|
status: AppStatus;
|
|
user?: User;
|
|
};
|
|
|
|
export enum AppStatus {
|
|
NotConfigured = "NotConfigured",
|
|
SignedOut = "SignedOut",
|
|
SignedIn = "SignedIn",
|
|
SignedInNeedsReauth = "SignedInNeedsReauth",
|
|
}
|
|
|
|
export type User = {
|
|
id: string;
|
|
username: string;
|
|
admin: boolean;
|
|
email: string;
|
|
displayName: string;
|
|
profilePicture: string;
|
|
};
|