aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings/models
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-04-21 09:52:21 +0200
committerRigel Kent <par@rigelk.eu>2020-05-01 16:41:02 +0200
commitd1261d9a3cef6d3df408c9dce977100ac196f9f8 (patch)
tree093c443b2e4c38ee738da3b420c7e3993da4edb3 /server/typings/models
parent197876ea87494f9c8f5262fa371b0f70e3c56fb5 (diff)
downloadPeerTube-d1261d9a3cef6d3df408c9dce977100ac196f9f8.tar.gz
PeerTube-d1261d9a3cef6d3df408c9dce977100ac196f9f8.tar.zst
PeerTube-d1261d9a3cef6d3df408c9dce977100ac196f9f8.zip
Add links from user-edit
Diffstat (limited to 'server/typings/models')
-rw-r--r--server/typings/models/video/video-abuse.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/typings/models/video/video-abuse.ts b/server/typings/models/video/video-abuse.ts
index 54acccdf5..d60f05e4c 100644
--- a/server/typings/models/video/video-abuse.ts
+++ b/server/typings/models/video/video-abuse.ts
@@ -1,6 +1,6 @@
1import { VideoAbuseModel } from '../../../models/video/video-abuse' 1import { VideoAbuseModel } from '../../../models/video/video-abuse'
2import { PickWith } from '../../utils' 2import { PickWith } from '../../utils'
3import { MVideoAccountLightBlacklistAllFiles } from './video' 3import { MVideoAccountLightBlacklistAllFiles, MVideo } from './video'
4import { MAccountDefault, MAccountFormattable } from '../account' 4import { MAccountDefault, MAccountFormattable } from '../account'
5 5
6type Use<K extends keyof VideoAbuseModel, M> = PickWith<VideoAbuseModel, K, M> 6type Use<K extends keyof VideoAbuseModel, M> = PickWith<VideoAbuseModel, K, M>
@@ -16,7 +16,7 @@ export type MVideoAbuseId = Pick<VideoAbuseModel, 'id'>
16export type MVideoAbuseVideo = 16export type MVideoAbuseVideo =
17 MVideoAbuse & 17 MVideoAbuse &
18 Pick<VideoAbuseModel, 'toActivityPubObject'> & 18 Pick<VideoAbuseModel, 'toActivityPubObject'> &
19 Use<'Video', MVideoAccountLightBlacklistAllFiles> 19 Use<'Video', MVideo>
20 20
21export type MVideoAbuseAccountVideo = 21export type MVideoAbuseAccountVideo =
22 MVideoAbuse & 22 MVideoAbuse &