X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Factors%2Faccount.model.ts;h=60f4236d5e3558fe40298bb5bba0ed1d2d547b68;hb=960bd96354b9d0a25d449199723a6d4ad7ed251f;hp=5cc12c18fc789ddab91ae29e738b7d50b115de48;hpb=60650c77c8a2a98e92d869b237ae4900f369a8fc;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/actors/account.model.ts b/shared/models/actors/account.model.ts index 5cc12c18f..60f4236d5 100644 --- a/shared/models/actors/account.model.ts +++ b/shared/models/actors/account.model.ts @@ -1,5 +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 }