add fast-jwt ( not tested ) and make the user actual register
All checks were successful
Code quality checks / biome (push) Successful in 8s
All checks were successful
Code quality checks / biome (push) Successful in 8s
This commit is contained in:
parent
f93cef442a
commit
57fb8d8bb1
10 changed files with 227 additions and 27 deletions
16
types/tables/user.d.ts
vendored
Normal file
16
types/tables/user.d.ts
vendored
Normal 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"
|
||||
>;
|
Loading…
Add table
Add a link
Reference in a new issue