]>
Commit | Line | Data |
---|---|---|
dae86118 C |
1 | import { VideoChannelModel } from '../models/video/video-channel' |
2 | import { VideoPlaylistModel } from '../models/video/video-playlist' | |
3 | import { VideoPlaylistElementModel } from '../models/video/video-playlist-element' | |
4 | import { UserModel } from '../models/account/user' | |
5 | import { VideoModel } from '../models/video/video' | |
6 | import { AccountModel } from '../models/account/account' | |
7 | import { VideoChangeOwnershipModel } from '../models/video/video-change-ownership' | |
8 | import { ActorModel } from '../models/activitypub/actor' | |
9 | import { VideoCommentModel } from '../models/video/video-comment' | |
10 | import { VideoShareModel } from '../models/video/video-share' | |
11 | import { AccountVideoRateModel } from '../models/account/account-video-rate' | |
12 | import { ActorFollowModel } from '../models/activitypub/actor-follow' | |
13 | import { ServerModel } from '../models/server/server' | |
14 | import { VideoFileModel } from '../models/video/video-file' | |
15 | import { VideoRedundancyModel } from '../models/redundancy/video-redundancy' | |
16 | import { ServerBlocklistModel } from '../models/server/server-blocklist' | |
17 | import { AccountBlocklistModel } from '../models/account/account-blocklist' | |
18 | import { VideoImportModel } from '../models/video/video-import' | |
19 | import { VideoAbuseModel } from '../models/video/video-abuse' | |
20 | import { VideoBlacklistModel } from '../models/video/video-blacklist' | |
21 | import { VideoCaptionModel } from '../models/video/video-caption' | |
22 | import { VideoStreamingPlaylistModel } from '../models/video/video-streaming-playlist' | |
345da516 | 23 | import { RegisteredPlugin } from '../lib/plugins/plugin-manager' |
ad91e700 | 24 | import { PluginModel } from '../models/server/plugin' |
5224c394 | 25 | import { SignatureActorModel } from './models' |
dae86118 C |
26 | |
27 | declare module 'express' { | |
28 | ||
29 | interface Response { | |
30 | locals: { | |
31 | video?: VideoModel | |
32 | videoShare?: VideoShareModel | |
33 | videoFile?: VideoFileModel | |
34 | ||
35 | videoImport?: VideoImportModel | |
36 | ||
37 | videoBlacklist?: VideoBlacklistModel | |
38 | ||
39 | videoCaption?: VideoCaptionModel | |
40 | ||
41 | videoAbuse?: VideoAbuseModel | |
42 | ||
43 | videoStreamingPlaylist?: VideoStreamingPlaylistModel | |
44 | ||
45 | videoChannel?: VideoChannelModel | |
46 | ||
47 | videoPlaylist?: VideoPlaylistModel | |
48 | videoPlaylistElement?: VideoPlaylistElementModel | |
49 | ||
50 | accountVideoRate?: AccountVideoRateModel | |
51 | ||
52 | videoComment?: VideoCommentModel | |
53 | videoCommentThread?: VideoCommentModel | |
54 | ||
55 | follow?: ActorFollowModel | |
56 | subscription?: ActorFollowModel | |
57 | ||
58 | nextOwner?: AccountModel | |
59 | videoChangeOwnership?: VideoChangeOwnershipModel | |
60 | account?: AccountModel | |
61 | actor?: ActorModel | |
62 | user?: UserModel | |
63 | ||
64 | server?: ServerModel | |
65 | ||
66 | videoRedundancy?: VideoRedundancyModel | |
67 | ||
68 | accountBlock?: AccountBlocklistModel | |
69 | serverBlock?: ServerBlocklistModel | |
70 | ||
71 | oauth?: { | |
72 | token: { | |
73 | User: UserModel | |
74 | user: UserModel | |
75 | } | |
76 | } | |
77 | ||
78 | signature?: { | |
5224c394 | 79 | actor: SignatureActorModel |
dae86118 C |
80 | } |
81 | ||
82 | authenticated?: boolean | |
345da516 C |
83 | |
84 | registeredPlugin?: RegisteredPlugin | |
ad91e700 C |
85 | |
86 | plugin?: PluginModel | |
dae86118 C |
87 | } |
88 | } | |
89 | } |