aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings/express
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-06-23 14:10:17 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-06-23 16:00:49 +0200
commit67ed6552b831df66713bac9e672738796128d33f (patch)
tree59c97d41e0b49d75a90aa3de987968ab9b1ff447 /server/typings/express
parent0c4bacbff53bc732f5a2677d62a6ead7752e2405 (diff)
downloadPeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.gz
PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.zst
PeerTube-67ed6552b831df66713bac9e672738796128d33f.zip
Reorganize client shared modules
Diffstat (limited to 'server/typings/express')
-rw-r--r--server/typings/express/index.d.ts28
1 files changed, 17 insertions, 11 deletions
diff --git a/server/typings/express/index.d.ts b/server/typings/express/index.d.ts
index ad3212340..cac801e55 100644
--- a/server/typings/express/index.d.ts
+++ b/server/typings/express/index.d.ts
@@ -1,3 +1,20 @@
1import { RegisterServerAuthExternalOptions } from '@server/types'
2import {
3 MAccountBlocklist,
4 MActorUrl,
5 MStreamingPlaylist,
6 MVideoChangeOwnershipFull,
7 MVideoFile,
8 MVideoImmutable,
9 MVideoPlaylistFull,
10 MVideoPlaylistFullSummary
11} from '@server/types/models'
12import { MOAuthTokenUser } from '@server/types/models/oauth/oauth-token'
13import { MPlugin, MServer, MServerBlocklist } from '@server/types/models/server'
14import { MVideoImportDefault } from '@server/types/models/video/video-import'
15import { MVideoPlaylistElement, MVideoPlaylistElementVideoUrlPlaylistPrivacy } from '@server/types/models/video/video-playlist-element'
16import { MAccountVideoRateAccountVideo } from '@server/types/models/video/video-rate'
17import { UserRole } from '@shared/models'
1import { RegisteredPlugin } from '../../lib/plugins/plugin-manager' 18import { RegisteredPlugin } from '../../lib/plugins/plugin-manager'
2import { 19import {
3 MAccountDefault, 20 MAccountDefault,
@@ -19,17 +36,6 @@ import {
19 MVideoThumbnail, 36 MVideoThumbnail,
20 MVideoWithRights 37 MVideoWithRights
21} from '../../types/models' 38} from '../../types/models'
22import { MVideoPlaylistFull, MVideoPlaylistFullSummary } from '../../types/models/video/video-playlist'
23import { MVideoImportDefault } from '@server/types/models/video/video-import'
24import { MAccountBlocklist, MActorUrl, MStreamingPlaylist, MVideoFile, MVideoImmutable } from '@server/types/models'
25import { MVideoPlaylistElement, MVideoPlaylistElementVideoUrlPlaylistPrivacy } from '@server/types/models/video/video-playlist-element'
26import { MAccountVideoRateAccountVideo } from '@server/types/models/video/video-rate'
27import { MVideoChangeOwnershipFull } from '../../types/models/video/video-change-ownership'
28import { MPlugin, MServer } from '@server/types/models/server'
29import { MServerBlocklist } from '../../types/models/server/server-blocklist'
30import { MOAuthTokenUser } from '@server/types/models/oauth/oauth-token'
31import { UserRole } from '@shared/models'
32import { RegisterServerAuthExternalOptions } from '@shared/models/plugins/register-server-auth.model'
33 39
34declare module 'express' { 40declare module 'express' {
35 export interface Request { 41 export interface Request {