--------- Co-authored-by: Moritz Pflanzer <moritz@chickadee-engineering.com> Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
21 lines
374 B
TypeScript
21 lines
374 B
TypeScript
export interface SocialAccount {
|
|
id: number
|
|
provider: string
|
|
name: string
|
|
}
|
|
|
|
export interface SocialAccountProvider {
|
|
name: string
|
|
login_url: string
|
|
}
|
|
|
|
export interface PaperlessUserProfile {
|
|
email?: string
|
|
password?: string
|
|
first_name?: string
|
|
last_name?: string
|
|
auth_token?: string
|
|
social_accounts?: SocialAccount[]
|
|
has_usable_password?: boolean
|
|
}
|