diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-14 14:59:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-14 15:00:01 +0200 |
commit | 59c76ffa8f503e962d517c78f033f1beccb1de1a (patch) | |
tree | d567991b10cffd59322dd679d5188e7d1ec7ddce /server/initializers/constants.ts | |
parent | 13b6dc1f3437560c55a5dfc3a94a2b162654e5c9 (diff) | |
download | PeerTube-59c76ffa8f503e962d517c78f033f1beccb1de1a.tar.gz PeerTube-59c76ffa8f503e962d517c78f033f1beccb1de1a.tar.zst PeerTube-59c76ffa8f503e962d517c78f033f1beccb1de1a.zip |
Flat shared module directory
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index ff8e64330..bce797159 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -3,12 +3,11 @@ import { dirname, join } from 'path' | |||
3 | import { JobType, VideoRateType, VideoState } from '../../shared/models' | 3 | import { JobType, VideoRateType, VideoState } from '../../shared/models' |
4 | import { ActivityPubActorType } from '../../shared/models/activitypub' | 4 | import { ActivityPubActorType } from '../../shared/models/activitypub' |
5 | import { FollowState } from '../../shared/models/actors' | 5 | import { FollowState } from '../../shared/models/actors' |
6 | import { VideoPrivacy, VideoAbuseState } from '../../shared/models/videos' | 6 | import { VideoPrivacy, VideoAbuseState, VideoImportState } from '../../shared/models/videos' |
7 | // Do not use barrels, remain constants as independent as possible | 7 | // Do not use barrels, remain constants as independent as possible |
8 | import { buildPath, isTestInstance, root, sanitizeHost, sanitizeUrl } from '../helpers/core-utils' | 8 | import { buildPath, isTestInstance, root, sanitizeHost, sanitizeUrl } from '../helpers/core-utils' |
9 | import { NSFWPolicyType } from '../../shared/models/videos/nsfw-policy.type' | 9 | import { NSFWPolicyType } from '../../shared/models/videos/nsfw-policy.type' |
10 | import { invert } from 'lodash' | 10 | import { invert } from 'lodash' |
11 | import { VideoImportState } from '../../shared/models/videos/video-import-state.enum' | ||
12 | 11 | ||
13 | // Use a variable to reload the configuration if we need | 12 | // Use a variable to reload the configuration if we need |
14 | let config: IConfig = require('config') | 13 | let config: IConfig = require('config') |