diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-11 09:57:19 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-11 09:57:19 +0200 |
commit | ca4b4b2e5590c1b37cff1fe1be7f797b93351229 (patch) | |
tree | e454de8be7b0dd6c28b08f27234fe6992ab9929c /server/typings | |
parent | 1d43c3a613c72d69f7360fee9e5bfe6f662d62f7 (diff) | |
download | PeerTube-ca4b4b2e5590c1b37cff1fe1be7f797b93351229.tar.gz PeerTube-ca4b4b2e5590c1b37cff1fe1be7f797b93351229.tar.zst PeerTube-ca4b4b2e5590c1b37cff1fe1be7f797b93351229.zip |
Fetch directly all video attributes for get API
Diffstat (limited to 'server/typings')
-rw-r--r-- | server/typings/express/index.d.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/typings/express/index.d.ts b/server/typings/express/index.d.ts index cbbf40a78..00ff68943 100644 --- a/server/typings/express/index.d.ts +++ b/server/typings/express/index.d.ts | |||
@@ -10,6 +10,7 @@ import { | |||
10 | MStreamingPlaylist, | 10 | MStreamingPlaylist, |
11 | MVideoChangeOwnershipFull, | 11 | MVideoChangeOwnershipFull, |
12 | MVideoFile, | 12 | MVideoFile, |
13 | MVideoFormattableDetails, | ||
13 | MVideoImmutable, | 14 | MVideoImmutable, |
14 | MVideoLive, | 15 | MVideoLive, |
15 | MVideoPlaylistFull, | 16 | MVideoPlaylistFull, |
@@ -101,6 +102,7 @@ declare module 'express' { | |||
101 | locals: { | 102 | locals: { |
102 | docUrl?: string | 103 | docUrl?: string |
103 | 104 | ||
105 | videoAPI?: MVideoFormattableDetails | ||
104 | videoAll?: MVideoFullLight | 106 | videoAll?: MVideoFullLight |
105 | onlyImmutableVideo?: MVideoImmutable | 107 | onlyImmutableVideo?: MVideoImmutable |
106 | onlyVideo?: MVideoThumbnail | 108 | onlyVideo?: MVideoThumbnail |