X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Factors%2Faccount.model.ts;h=2ff4b9f5eaa494d9204fc355f2185cd7e413ef45;hb=e2600d8b261994abbbeb1ff921edaefd267fc122;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..2ff4b9f5e 100644 --- a/shared/models/actors/account.model.ts +++ b/shared/models/actors/account.model.ts @@ -1,6 +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 }