diff options
author | Chocobozzz <me@florianbigard.com> | 2020-07-09 15:54:24 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-07-10 14:02:41 +0200 |
commit | cfde28bac33c3644e1b6218eb471b675a37def60 (patch) | |
tree | eb648fc358a2face0f14c598c8eec7769e6b0ed5 /shared | |
parent | 8ca56654a176ee8f350d31282c6cac4a59f58499 (diff) | |
download | PeerTube-cfde28bac33c3644e1b6218eb471b675a37def60.tar.gz PeerTube-cfde28bac33c3644e1b6218eb471b675a37def60.tar.zst PeerTube-cfde28bac33c3644e1b6218eb471b675a37def60.zip |
Add ability to report account
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/moderation/abuse/abuse.model.ts | 4 | ||||
-rw-r--r-- | shared/models/users/user-notification.model.ts | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/shared/models/moderation/abuse/abuse.model.ts b/shared/models/moderation/abuse/abuse.model.ts index 74798ab2c..0a0c6bd35 100644 --- a/shared/models/moderation/abuse/abuse.model.ts +++ b/shared/models/moderation/abuse/abuse.model.ts | |||
@@ -62,9 +62,9 @@ export interface Abuse { | |||
62 | // FIXME: deprecated in 2.3, remove the following properties | 62 | // FIXME: deprecated in 2.3, remove the following properties |
63 | 63 | ||
64 | // @deprecated | 64 | // @deprecated |
65 | startAt: null | 65 | startAt?: null |
66 | // @deprecated | 66 | // @deprecated |
67 | endAt: null | 67 | endAt?: null |
68 | 68 | ||
69 | // @deprecated | 69 | // @deprecated |
70 | count?: number | 70 | count?: number |
diff --git a/shared/models/users/user-notification.model.ts b/shared/models/users/user-notification.model.ts index 11d96fd50..5f7c33976 100644 --- a/shared/models/users/user-notification.model.ts +++ b/shared/models/users/user-notification.model.ts | |||
@@ -73,7 +73,9 @@ export interface UserNotification { | |||
73 | threadId: number | 73 | threadId: number |
74 | 74 | ||
75 | video: { | 75 | video: { |
76 | id: number | ||
76 | uuid: string | 77 | uuid: string |
78 | name: string | ||
77 | } | 79 | } |
78 | } | 80 | } |
79 | 81 | ||