diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-12 17:53:50 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-13 16:50:33 +0100 |
commit | 3fd3ab2d34d512b160a5e6084d7609be7b4f4452 (patch) | |
tree | e5ca358287fca6ecacce83defcf23af1e8e9f419 /server/initializers/constants.ts | |
parent | c893d4514e6ecbf282c7985fe5f82b8acd8a1137 (diff) | |
download | PeerTube-3fd3ab2d34d512b160a5e6084d7609be7b4f4452.tar.gz PeerTube-3fd3ab2d34d512b160a5e6084d7609be7b4f4452.tar.zst PeerTube-3fd3ab2d34d512b160a5e6084d7609be7b4f4452.zip |
Move models to typescript-sequelize
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 7be7a5f95..f539eb2ee 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -1,16 +1,10 @@ | |||
1 | import * as config from 'config' | 1 | import * as config from 'config' |
2 | import { join } from 'path' | 2 | import { join } from 'path' |
3 | 3 | import { JobCategory, JobState, VideoRateType } from '../../shared/models' | |
4 | import { FollowState } from '../../shared/models/accounts' | ||
5 | import { VideoPrivacy } from '../../shared/models/videos' | ||
4 | // Do not use barrels, remain constants as independent as possible | 6 | // Do not use barrels, remain constants as independent as possible |
5 | import { root, isTestInstance } from '../helpers/core-utils' | 7 | import { isTestInstance, root } from '../helpers/core-utils' |
6 | |||
7 | import { | ||
8 | VideoRateType, | ||
9 | JobState, | ||
10 | JobCategory | ||
11 | } from '../../shared/models' | ||
12 | import { VideoPrivacy } from '../../shared/models/videos/video-privacy.enum' | ||
13 | import { FollowState } from '../../shared/models/accounts/follow.model' | ||
14 | 8 | ||
15 | // --------------------------------------------------------------------------- | 9 | // --------------------------------------------------------------------------- |
16 | 10 | ||