diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-23 14:10:17 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-23 16:00:49 +0200 |
commit | 67ed6552b831df66713bac9e672738796128d33f (patch) | |
tree | 59c97d41e0b49d75a90aa3de987968ab9b1ff447 /server/typings/express | |
parent | 0c4bacbff53bc732f5a2677d62a6ead7752e2405 (diff) | |
download | PeerTube-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.ts | 28 |
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 @@ | |||
1 | import { RegisterServerAuthExternalOptions } from '@server/types' | ||
2 | import { | ||
3 | MAccountBlocklist, | ||
4 | MActorUrl, | ||
5 | MStreamingPlaylist, | ||
6 | MVideoChangeOwnershipFull, | ||
7 | MVideoFile, | ||
8 | MVideoImmutable, | ||
9 | MVideoPlaylistFull, | ||
10 | MVideoPlaylistFullSummary | ||
11 | } from '@server/types/models' | ||
12 | import { MOAuthTokenUser } from '@server/types/models/oauth/oauth-token' | ||
13 | import { MPlugin, MServer, MServerBlocklist } from '@server/types/models/server' | ||
14 | import { MVideoImportDefault } from '@server/types/models/video/video-import' | ||
15 | import { MVideoPlaylistElement, MVideoPlaylistElementVideoUrlPlaylistPrivacy } from '@server/types/models/video/video-playlist-element' | ||
16 | import { MAccountVideoRateAccountVideo } from '@server/types/models/video/video-rate' | ||
17 | import { UserRole } from '@shared/models' | ||
1 | import { RegisteredPlugin } from '../../lib/plugins/plugin-manager' | 18 | import { RegisteredPlugin } from '../../lib/plugins/plugin-manager' |
2 | import { | 19 | import { |
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' |
22 | import { MVideoPlaylistFull, MVideoPlaylistFullSummary } from '../../types/models/video/video-playlist' | ||
23 | import { MVideoImportDefault } from '@server/types/models/video/video-import' | ||
24 | import { MAccountBlocklist, MActorUrl, MStreamingPlaylist, MVideoFile, MVideoImmutable } from '@server/types/models' | ||
25 | import { MVideoPlaylistElement, MVideoPlaylistElementVideoUrlPlaylistPrivacy } from '@server/types/models/video/video-playlist-element' | ||
26 | import { MAccountVideoRateAccountVideo } from '@server/types/models/video/video-rate' | ||
27 | import { MVideoChangeOwnershipFull } from '../../types/models/video/video-change-ownership' | ||
28 | import { MPlugin, MServer } from '@server/types/models/server' | ||
29 | import { MServerBlocklist } from '../../types/models/server/server-blocklist' | ||
30 | import { MOAuthTokenUser } from '@server/types/models/oauth/oauth-token' | ||
31 | import { UserRole } from '@shared/models' | ||
32 | import { RegisterServerAuthExternalOptions } from '@shared/models/plugins/register-server-auth.model' | ||
33 | 39 | ||
34 | declare module 'express' { | 40 | declare module 'express' { |
35 | export interface Request { | 41 | export interface Request { |