backend/types/tables/user.d.ts
creations 57fb8d8bb1
All checks were successful
Code quality checks / biome (push) Successful in 8s
add fast-jwt ( not tested ) and make the user actual register
2025-05-02 18:41:10 -04:00

16 lines
296 B
TypeScript

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"
>;