aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/types/models/moderation
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-07-28 11:12:16 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-07-31 11:35:19 +0200
commit668b7f096ead74d6e7692944a026c936f581dae8 (patch)
treed969753941012d080e4bd6d74e65dee95581479f /server/types/models/moderation
parentd573926e9b94fb19c8f51c53f71fc853182e1761 (diff)
downloadPeerTube-668b7f096ead74d6e7692944a026c936f581dae8.tar.gz
PeerTube-668b7f096ead74d6e7692944a026c936f581dae8.tar.zst
PeerTube-668b7f096ead74d6e7692944a026c936f581dae8.zip
Add openapi doc
Diffstat (limited to 'server/types/models/moderation')
-rw-r--r--server/types/models/moderation/abuse.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/types/models/moderation/abuse.ts b/server/types/models/moderation/abuse.ts
index 5409dfd6b..6fd83684c 100644
--- a/server/types/models/moderation/abuse.ts
+++ b/server/types/models/moderation/abuse.ts
@@ -1,11 +1,11 @@
1import { VideoAbuseModel } from '@server/models/abuse/video-abuse' 1import { VideoAbuseModel } from '@server/models/abuse/video-abuse'
2import { VideoCommentAbuseModel } from '@server/models/abuse/video-comment-abuse' 2import { VideoCommentAbuseModel } from '@server/models/abuse/video-comment-abuse'
3import { VideoCommentModel } from '@server/models/video/video-comment'
3import { PickWith } from '@shared/core-utils' 4import { PickWith } from '@shared/core-utils'
4import { AbuseModel } from '../../../models/abuse/abuse' 5import { AbuseModel } from '../../../models/abuse/abuse'
5import { MAccountDefault, MAccountFormattable, MAccountLight, MAccountUrl, MAccount } from '../account' 6import { MAccountDefault, MAccountFormattable, MAccountLight, MAccountUrl } from '../account'
6import { MCommentOwner, MCommentUrl, MVideoUrl, MCommentOwnerVideo, MComment, MCommentVideo } from '../video' 7import { MComment, MCommentOwner, MCommentUrl, MCommentVideo, MVideoUrl } from '../video'
7import { MVideo, MVideoAccountLightBlacklistAllFiles } from '../video/video' 8import { MVideo, MVideoAccountLightBlacklistAllFiles } from '../video/video'
8import { VideoCommentModel } from '@server/models/video/video-comment'
9 9
10type Use<K extends keyof AbuseModel, M> = PickWith<AbuseModel, K, M> 10type Use<K extends keyof AbuseModel, M> = PickWith<AbuseModel, K, M>
11type UseVideoAbuse<K extends keyof VideoAbuseModel, M> = PickWith<VideoAbuseModel, K, M> 11type UseVideoAbuse<K extends keyof VideoAbuseModel, M> = PickWith<VideoAbuseModel, K, M>