feat: add setup wizard

This commit is contained in:
Elias Schneider
2022-12-01 23:07:49 +01:00
parent 493705e4ef
commit b579b8f330
32 changed files with 689 additions and 179 deletions

View File

@@ -4,4 +4,10 @@ type Config = {
type: string;
};
export type AdminConfig = Config & {
updatedAt: Date;
secret: boolean;
description: string;
};
export default Config;

View File

@@ -3,6 +3,7 @@ export default interface User {
firstName?: string;
lastName?: string;
email: string;
isAdmin: boolean;
}
export interface CurrentUser extends User {}