]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/types/models/video/video-playlist.ts
Cleanup types dist before compilation
[github/Chocobozzz/PeerTube.git] / server / types / models / video / video-playlist.ts
index b504d16647bfeda46505dcb2b3ba0859a4ce6964..2f9537cf5738bbec9befe623a8e8c3d2785766e2 100644 (file)
@@ -1,5 +1,5 @@
 import { VideoPlaylistModel } from '../../../models/video/video-playlist'
-import { PickWith } from '../../utils'
+import { PickWith } from '@shared/core-utils'
 import { MAccount, MAccountDefault, MAccountSummary, MAccountSummaryFormattable } from '../account'
 import { MThumbnail } from './thumbnail'
 import { MChannelDefault, MChannelSummary, MChannelSummaryFormattable, MChannelUrl } from './video-channels'
@@ -69,7 +69,7 @@ export type MVideoPlaylistAccountChannelDefault =
 // With all associations
 
 export type MVideoPlaylistFull =
-  MVideoPlaylist &
+  MVideoPlaylistVideosLength &
   Use<'OwnerAccount', MAccountDefault> &
   Use<'VideoChannel', MChannelDefault> &
   Use<'Thumbnail', MThumbnail>
@@ -84,7 +84,7 @@ export type MVideoPlaylistAccountChannelSummary =
   Use<'VideoChannel', MChannelSummary>
 
 export type MVideoPlaylistFullSummary =
-  MVideoPlaylist &
+  MVideoPlaylistVideosLength &
   Use<'Thumbnail', MThumbnail> &
   Use<'OwnerAccount', MAccountSummary> &
   Use<'VideoChannel', MChannelSummary>