X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Factors%2Faccount.model.ts;h=2ff4b9f5eaa494d9204fc355f2185cd7e413ef45;hb=e2600d8b261994abbbeb1ff921edaefd267fc122;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..2ff4b9f5e 100644 --- a/shared/models/actors/account.model.ts +++ b/shared/models/actors/account.model.ts @@ -1,5 +1,18 @@ import { Actor } from './actor.model' +import { Avatar } from '../avatars' export interface Account extends Actor { displayName: string + description: string + + userId?: number +} + +export interface AccountSummary { + id: number + name: string + displayName: string + url: string + host: string + avatar?: Avatar }