X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftypings%2Fexpress.ts;h=f4188bf3daa0e45408e0df40aa12f5c35b49d856;hb=8d4197637868d5cde49434e937186b57e40f4b2b;hp=3cc7c7632809caa7295ac00f65d9d57379e70252;hpb=d5c8932a601c1854db0a2e399ccaf26e17385f1a;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/typings/express.ts b/server/typings/express.ts index 3cc7c7632..f4188bf3d 100644 --- a/server/typings/express.ts +++ b/server/typings/express.ts @@ -21,7 +21,7 @@ import { } from './models' import { MVideoPlaylistFull, MVideoPlaylistFullSummary } from './models/video/video-playlist' import { MVideoImportDefault } from '@server/typings/models/video/video-import' -import { MAccountBlocklist, MStreamingPlaylist, MVideoFile } from '@server/typings/models' +import { MAccountBlocklist, MActorUrl, MStreamingPlaylist, MVideoFile, MVideoImmutable } from '@server/typings/models' import { MVideoPlaylistElement, MVideoPlaylistElementVideoUrlPlaylistPrivacy } from '@server/typings/models/video/video-playlist-element' import { MAccountVideoRateAccountVideo } from '@server/typings/models/video/video-rate' import { MVideoChangeOwnershipFull } from './models/video/video-change-ownership' @@ -35,6 +35,7 @@ declare module 'express' { locals: { videoAll?: MVideoFullLight + onlyImmutableVideo?: MVideoImmutable onlyVideo?: MVideoThumbnail onlyVideoWithRights?: MVideoWithRights videoId?: MVideoIdThumbnail @@ -74,6 +75,7 @@ declare module 'express' { account?: MAccountDefault + actorUrl?: MActorUrl actorFull?: MActorFull user?: MUserDefault