]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/users/user-notification.model.ts
Implement avatar miniatures (#4639)
[github/Chocobozzz/PeerTube.git] / shared / models / users / user-notification.model.ts
index 5820589fe8a999fe7395288007af1412cba0b0e1..a2621fb5bc7c050712baba91688e072f23b11320 100644 (file)
@@ -40,14 +40,19 @@ export interface VideoInfo {
   name: string
 }
 
+export interface AvatarInfo {
+  width: number
+  path: string
+}
+
 export interface ActorInfo {
   id: number
   displayName: string
   name: string
   host: string
-  avatar?: {
-    path: string
-  }
+
+  avatars: AvatarInfo[]
+  avatar: AvatarInfo
 }
 
 export interface UserNotification {