diff options
author | Chocobozzz <me@florianbigard.com> | 2019-02-26 10:55:40 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-03-18 11:17:59 +0100 |
commit | 418d092afa81e2c8fe8ac6838fc4b5eb0af6a782 (patch) | |
tree | 5e9bc5604fd5d66a006cfebb7acdbdd5486e5d1e /shared/models/actors | |
parent | b427febb4d5cebf03b815bca2c59af6e82491569 (diff) | |
download | PeerTube-418d092afa81e2c8fe8ac6838fc4b5eb0af6a782.tar.gz PeerTube-418d092afa81e2c8fe8ac6838fc4b5eb0af6a782.tar.zst PeerTube-418d092afa81e2c8fe8ac6838fc4b5eb0af6a782.zip |
Playlist server API
Diffstat (limited to 'shared/models/actors')
-rw-r--r-- | shared/models/actors/account.model.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/shared/models/actors/account.model.ts b/shared/models/actors/account.model.ts index 7f1dbbc37..043a2507e 100644 --- a/shared/models/actors/account.model.ts +++ b/shared/models/actors/account.model.ts | |||
@@ -1,4 +1,5 @@ | |||
1 | import { Actor } from './actor.model' | 1 | import { Actor } from './actor.model' |
2 | import { Avatar } from '../avatars' | ||
2 | 3 | ||
3 | export interface Account extends Actor { | 4 | export interface Account extends Actor { |
4 | displayName: string | 5 | displayName: string |
@@ -6,3 +7,13 @@ export interface Account extends Actor { | |||
6 | 7 | ||
7 | userId?: number | 8 | userId?: number |
8 | } | 9 | } |
10 | |||
11 | export interface AccountSummary { | ||
12 | id: number | ||
13 | uuid: string | ||
14 | name: string | ||
15 | displayName: string | ||
16 | url: string | ||
17 | host: string | ||
18 | avatar?: Avatar | ||
19 | } | ||