X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Factors%2Faccount.model.ts;h=f2138077e682b44bd82d6dcf50909d70473c24c4;hb=cf21b2cbef61929177b9c09b5e017c3b7eb8535d;hp=ef6fca53919c847a67cf334dd511669a348097ba;hpb=c5911fd347c76e8bdc05ea9f3ee9efed4a58c236;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/actors/account.model.ts b/shared/models/actors/account.model.ts index ef6fca539..f2138077e 100644 --- a/shared/models/actors/account.model.ts +++ b/shared/models/actors/account.model.ts @@ -1,14 +1,20 @@ -import { Avatar } from '../avatars/avatar.model' +import { ActorImage } from './actor-image.model' +import { Actor } from './actor.model' -export interface Account { +export interface Account extends Actor { + displayName: string + description: string + + updatedAt: Date | string + + userId?: number +} + +export interface AccountSummary { id: number - uuid: string name: string displayName: string + url: string host: string - followingCount: number - followersCount: number - createdAt: Date - updatedAt: Date - avatar: Avatar + avatar?: ActorImage }