add admin mode to delete message

This commit is contained in:
2023-12-12 16:41:27 +01:00
parent 4418e6d865
commit c2f938f3a2
5 changed files with 61 additions and 5 deletions

5
src/auth.d.ts vendored
View File

@@ -1,9 +1,10 @@
declare module '#auth-utils' {
interface UserSession {
user: {
email: string,
username: string,
email: string
username: string
picture: string
admin: boolean
}
}
}