aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/types/express.d.ts
diff options
context:
space:
mode:
authorWicklow <123956049+wickloww@users.noreply.github.com>2023-03-31 07:12:21 +0000
committerGitHub <noreply@github.com>2023-03-31 09:12:21 +0200
commit05a60d85997c108d39bcfb14f1ffd4c74f8b1e93 (patch)
tree5041a95ef945620a17f25ba934064b41f6bb00b7 /server/types/express.d.ts
parentebd61437c1ec92bea9772924c7051cb00d71f778 (diff)
downloadPeerTube-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.ts6
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 @@
1import { OutgoingHttpHeaders } from 'http' 1import { OutgoingHttpHeaders } from 'http'
2import { Writable } from 'stream'
2import { RegisterServerAuthExternalOptions } from '@server/types' 3import { RegisterServerAuthExternalOptions } from '@server/types'
3import { 4import {
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'
46import { Writable } from 'stream'
47import { MVideoSource } from './models/video/video-source' 47import { MVideoSource } from './models/video/video-source'
48 48
49declare module 'express' { 49declare 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