cleanup and game UI beginnings
This commit is contained in:
Vendored
+15
-10
@@ -1,3 +1,17 @@
|
||||
import type { User } from "@prisma/client";
|
||||
import type { Component } from "vue"
|
||||
|
||||
export type NavigationItem = {
|
||||
prefix: string,
|
||||
route: string,
|
||||
label: string,
|
||||
}
|
||||
|
||||
export type QuickActionNav = {
|
||||
icon: Component,
|
||||
notifications?: number,
|
||||
action: () => Promise<void>,
|
||||
}
|
||||
export type AppState = {
|
||||
status: AppStatus;
|
||||
user?: User;
|
||||
@@ -8,13 +22,4 @@ export enum AppStatus {
|
||||
SignedOut = "SignedOut",
|
||||
SignedIn = "SignedIn",
|
||||
SignedInNeedsReauth = "SignedInNeedsReauth",
|
||||
}
|
||||
|
||||
export type User = {
|
||||
id: string;
|
||||
username: string;
|
||||
admin: boolean;
|
||||
email: string;
|
||||
displayName: string;
|
||||
profilePicture: string;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user