feat: user model
This commit is contained in:
parent
b1fce87215
commit
5776fe08d9
19
front/src/models/User/index.ts
Normal file
19
front/src/models/User/index.ts
Normal 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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user