diff options
Diffstat (limited to 'server/typings/models/video/video-share.ts')
-rw-r--r-- | server/typings/models/video/video-share.ts | 19 |
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 @@ | |||
1 | import { VideoShareModel } from '../../../models/video/video-share' | ||
2 | import { PickWith } from '../../utils' | ||
3 | import { MActorDefault } from '../account' | ||
4 | import { MVideo } from './video' | ||
5 | |||
6 | type Use<K extends keyof VideoShareModel, M> = PickWith<VideoShareModel, K, M> | ||
7 | |||
8 | // ############################################################################ | ||
9 | |||
10 | export type MVideoShare = Omit<VideoShareModel, 'Actor' | 'Video'> | ||
11 | |||
12 | export type MVideoShareActor = | ||
13 | MVideoShare & | ||
14 | Use<'Actor', MActorDefault> | ||
15 | |||
16 | export type MVideoShareFull = | ||
17 | MVideoShare & | ||
18 | Use<'Actor', MActorDefault> & | ||
19 | Use<'Video', MVideo> | ||