X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Factors%2Faccount.model.ts;h=60f4236d5e3558fe40298bb5bba0ed1d2d547b68;hb=7b51ede977c299a74728171d8c124bcc4cbba6ea;hp=e1117486dd9e55f2d5b5f99bd73ed2c58ff7dbde;hpb=2422c46b27790d94fd29a7092170cee5a1b56008;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/actors/account.model.ts b/shared/models/actors/account.model.ts index e1117486d..60f4236d5 100644 --- a/shared/models/actors/account.model.ts +++ b/shared/models/actors/account.model.ts @@ -1,6 +1,25 @@ +import { ActorImage } from './actor-image.model' import { Actor } from './actor.model' export interface Account extends Actor { displayName: string description: string + avatars: ActorImage[] + + updatedAt: Date | string + + userId?: number +} + +export interface AccountSummary { + id: number + name: string + displayName: string + url: string + host: string + + avatars: ActorImage[] + + // TODO: remove, deprecated in 4.2 + avatar: ActorImage }