20 lines
487 B
TypeScript
20 lines
487 B
TypeScript
|
|
|
|
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?: boolean
|
|
password?: string | undefined
|
|
passwordConfirm?: string | undefined
|
|
name: string | null
|
|
}
|