diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-27 09:07:38 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-27 17:10:52 +0200 |
commit | 29837f8885eb37fa300e4b80c90a6d03ab337084 (patch) | |
tree | a7a066c6604c9adec4cb21c1bd1965c5bf253b03 /shared/models/users | |
parent | 5d0095fde19d803bead7cbad0452bd09f3351adc (diff) | |
download | PeerTube-29837f8885eb37fa300e4b80c90a6d03ab337084.tar.gz PeerTube-29837f8885eb37fa300e4b80c90a6d03ab337084.tar.zst PeerTube-29837f8885eb37fa300e4b80c90a6d03ab337084.zip |
Add ability to search by host in server
Diffstat (limited to 'shared/models/users')
-rw-r--r-- | shared/models/users/user-notification.model.ts | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/shared/models/users/user-notification.model.ts b/shared/models/users/user-notification.model.ts index 8b33e3fbd..5820589fe 100644 --- a/shared/models/users/user-notification.model.ts +++ b/shared/models/users/user-notification.model.ts | |||
@@ -36,6 +36,7 @@ export const enum UserNotificationType { | |||
36 | export interface VideoInfo { | 36 | export interface VideoInfo { |
37 | id: number | 37 | id: number |
38 | uuid: string | 38 | uuid: string |
39 | shortUUID: string | ||
39 | name: string | 40 | name: string |
40 | } | 41 | } |
41 | 42 | ||
@@ -82,11 +83,7 @@ export interface UserNotification { | |||
82 | comment?: { | 83 | comment?: { |
83 | threadId: number | 84 | threadId: number |
84 | 85 | ||
85 | video: { | 86 | video: VideoInfo |
86 | id: number | ||
87 | uuid: string | ||
88 | name: string | ||
89 | } | ||
90 | } | 87 | } |
91 | 88 | ||
92 | account?: ActorInfo | 89 | account?: ActorInfo |