add fast-jwt ( not tested ) and make the user actual register
All checks were successful
Code quality checks / biome (push) Successful in 8s

This commit is contained in:
creations 2025-05-02 18:41:10 -04:00
parent f93cef442a
commit 57fb8d8bb1
Signed by: creations
GPG key ID: 8F553AA4320FC711
10 changed files with 227 additions and 27 deletions

16
types/tables/user.d.ts vendored Normal file
View file

@ -0,0 +1,16 @@
type User = {
id: string;
username: string;
display_name: string;
email: string;
password: string;
avatar_url: string;
is_verified: boolean;
created_at: Date;
updated_at: Date;
};
type UserInsert = Pick<
User,
"id" | "username" | "email" | "password" | "created_at" | "updated_at"
>;