Template
feat: Overhauled base template
This commit is contained in:
1 parent
04b9739853
commit
dabfef1458
37 files changed
+2679
-144
No files matched your search
Vendored
+2
-7
@@ -1,16 +1,11 @@
|
||||
import { SanitizedUser } from "#/db/types/users";
|
||||
import "fastify";
|
||||
|
||||
declare module "fastify" {
|
||||
interface Session {
|
||||
account: { // TODO: Type
|
||||
userId: number;
|
||||
username: string;
|
||||
authenticated: boolean;
|
||||
};
|
||||
|
||||
account: SanitizedUser;
|
||||
success?: string;
|
||||
error?: string;
|
||||
|
||||
loginRedirectUri?: string;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user