Peertube 3.2.0 will provide user.Account.name.

This commit is contained in:
John Livingston
2021-05-05 16:30:18 +02:00
parent 3658ee797a
commit 787fed19d0
3 changed files with 34 additions and 14 deletions

View File

@ -85,13 +85,14 @@ enum UserRole {
}
interface MUserDefault { // FIXME: this interface is not complete
id?: string
id?: string | number // FIXME: type is not clear... Documentation says string, but it seems to be number
username: string
email: string
blocked: boolean
role: UserRole
Account: {
name: string
Account?: {
// Account.name comes in Peertube 3.2.0
name?: string
}
}