]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/actors/account.model.ts
Add avatar to prune script
[github/Chocobozzz/PeerTube.git] / shared / models / actors / account.model.ts
index e4dbc81e5a8d9385d3a91f4b8531ca67c24c389c..2ff4b9f5eaa494d9204fc355f2185cd7e413ef45 100644 (file)
@@ -1,15 +1,18 @@
-import { Avatar } from '../avatars/avatar.model'
+import { Actor } from './actor.model'
+import { Avatar } from '../avatars'
 
-export interface Account {
+export interface Account extends Actor {
+  displayName: string
+  description: string
+
+  userId?: number
+}
+
+export interface AccountSummary {
   id: number
-  uuid: string
-  url: string
   name: string
   displayName: string
+  url: string
   host: string
-  followingCount: number
-  followersCount: number
-  createdAt: Date
-  updatedAt: Date
-  avatar: Avatar
+  avatar?: Avatar
 }