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