feat: user model

This commit is contained in:
Clement 2024-04-25 18:32:25 +02:00
parent b1fce87215
commit 5776fe08d9

View File

@ -0,0 +1,19 @@
export interface PBData{
id: string | null
collectionId: string | null
collectionName: string | null
created: string | null // TODO: passé ca en date auto
updated: string | null // TODO: passé ca en date auto
}
export default interface UserObj extends PBData{
avatar: string | null
username: string
email: string
emailVisibility: false
password: string | null
passwordConfirm: string | null
name: string | null
}