aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings/models/video/video-share.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/typings/models/video/video-share.ts')
-rw-r--r--server/typings/models/video/video-share.ts19
1 files changed, 0 insertions, 19 deletions
diff --git a/server/typings/models/video/video-share.ts b/server/typings/models/video/video-share.ts
deleted file mode 100644
index 50ca75d26..000000000
--- a/server/typings/models/video/video-share.ts
+++ /dev/null
@@ -1,19 +0,0 @@
1import { VideoShareModel } from '../../../models/video/video-share'
2import { PickWith } from '../../utils'
3import { MActorDefault } from '../account'
4import { MVideo } from './video'
5
6type Use<K extends keyof VideoShareModel, M> = PickWith<VideoShareModel, K, M>
7
8// ############################################################################
9
10export type MVideoShare = Omit<VideoShareModel, 'Actor' | 'Video'>
11
12export type MVideoShareActor =
13 MVideoShare &
14 Use<'Actor', MActorDefault>
15
16export type MVideoShareFull =
17 MVideoShare &
18 Use<'Actor', MActorDefault> &
19 Use<'Video', MVideo>