diff options
author | Wicklow <123956049+wickloww@users.noreply.github.com> | 2023-03-31 07:12:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-31 09:12:21 +0200 |
commit | 05a60d85997c108d39bcfb14f1ffd4c74f8b1e93 (patch) | |
tree | 5041a95ef945620a17f25ba934064b41f6bb00b7 /server/types/express.d.ts | |
parent | ebd61437c1ec92bea9772924c7051cb00d71f778 (diff) | |
download | PeerTube-05a60d85997c108d39bcfb14f1ffd4c74f8b1e93.tar.gz PeerTube-05a60d85997c108d39bcfb14f1ffd4c74f8b1e93.tar.zst PeerTube-05a60d85997c108d39bcfb14f1ffd4c74f8b1e93.zip |
Feature/Add replay privacy (#5692)
* Add replay settings feature
* Fix replay settings behaviour
* Fix tests
* Fix tests
* Fix tests
* Update openapi doc and fix tests
* Add tests and fix code
* Models correction
* Add migration and update controller and middleware
* Add check params tests
* Fix video live middleware
* Updated code based on review comments
Diffstat (limited to 'server/types/express.d.ts')
-rw-r--r-- | server/types/express.d.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/types/express.d.ts b/server/types/express.d.ts index c1c379b98..a992a9926 100644 --- a/server/types/express.d.ts +++ b/server/types/express.d.ts | |||
@@ -1,4 +1,5 @@ | |||
1 | import { OutgoingHttpHeaders } from 'http' | 1 | import { OutgoingHttpHeaders } from 'http' |
2 | import { Writable } from 'stream' | ||
2 | import { RegisterServerAuthExternalOptions } from '@server/types' | 3 | import { RegisterServerAuthExternalOptions } from '@server/types' |
3 | import { | 4 | import { |
4 | MAbuseMessage, | 5 | MAbuseMessage, |
@@ -16,7 +17,7 @@ import { | |||
16 | MVideoFormattableDetails, | 17 | MVideoFormattableDetails, |
17 | MVideoId, | 18 | MVideoId, |
18 | MVideoImmutable, | 19 | MVideoImmutable, |
19 | MVideoLive, | 20 | MVideoLiveFormattable, |
20 | MVideoPlaylistFull, | 21 | MVideoPlaylistFull, |
21 | MVideoPlaylistFullSummary | 22 | MVideoPlaylistFullSummary |
22 | } from '@server/types/models' | 23 | } from '@server/types/models' |
@@ -43,7 +44,6 @@ import { | |||
43 | MVideoShareActor, | 44 | MVideoShareActor, |
44 | MVideoThumbnail | 45 | MVideoThumbnail |
45 | } from './models' | 46 | } from './models' |
46 | import { Writable } from 'stream' | ||
47 | import { MVideoSource } from './models/video/video-source' | 47 | import { MVideoSource } from './models/video/video-source' |
48 | 48 | ||
49 | declare module 'express' { | 49 | declare module 'express' { |
@@ -124,7 +124,7 @@ declare module 'express' { | |||
124 | onlyVideo?: MVideoThumbnail | 124 | onlyVideo?: MVideoThumbnail |
125 | videoId?: MVideoId | 125 | videoId?: MVideoId |
126 | 126 | ||
127 | videoLive?: MVideoLive | 127 | videoLive?: MVideoLiveFormattable |
128 | videoLiveSession?: MVideoLiveSession | 128 | videoLiveSession?: MVideoLiveSession |
129 | 129 | ||
130 | videoShare?: MVideoShareActor | 130 | videoShare?: MVideoShareActor |