]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/types/models/video/video-channels.ts
Dissociate video file names and video uuid
[github/Chocobozzz/PeerTube.git] / server / types / models / video / video-channels.ts
index 2e05d8753c2886f5732f96064bc2742a2a322734..77790daa41947b4e5936efcfa1ae31cc8421449a 100644 (file)
@@ -17,6 +17,7 @@ import {
   MActorDefault,
   MActorDefaultLight,
   MActorFormattable,
+  MActorHost,
   MActorLight,
   MActorSummary,
   MActorSummaryFormattable, MActorUrl
@@ -71,6 +72,10 @@ export type MChannelAccountLight =
   Use<'Actor', MActorDefaultLight> &
   Use<'Account', MAccountLight>
 
+export type MChannelHost =
+  MChannelId &
+  Use<'Actor', MActorHost>
+
 // ############################################################################
 
 // Account associations