diff options
Diffstat (limited to 'server/models/video/video-file.ts')
-rw-r--r-- | server/models/video/video-file.ts | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/server/models/video/video-file.ts b/server/models/video/video-file.ts index ead7f3e03..600141994 100644 --- a/server/models/video/video-file.ts +++ b/server/models/video/video-file.ts | |||
@@ -1,18 +1,10 @@ | |||
1 | import * as Sequelize from 'sequelize' | ||
2 | import { values } from 'lodash' | 1 | import { values } from 'lodash' |
3 | 2 | import * as Sequelize from 'sequelize' | |
4 | import { CONSTRAINTS_FIELDS } from '../../initializers' | 3 | import { isVideoFileInfoHashValid, isVideoFileResolutionValid, isVideoFileSizeValid } from '../../helpers/custom-validators/videos' |
5 | import { | 4 | import { CONSTRAINTS_FIELDS } from '../../initializers/constants' |
6 | isVideoFileResolutionValid, | ||
7 | isVideoFileSizeValid, | ||
8 | isVideoFileInfoHashValid | ||
9 | } from '../../helpers' | ||
10 | 5 | ||
11 | import { addMethodsToModel } from '../utils' | 6 | import { addMethodsToModel } from '../utils' |
12 | import { | 7 | import { VideoFileAttributes, VideoFileInstance } from './video-file-interface' |
13 | VideoFileInstance, | ||
14 | VideoFileAttributes | ||
15 | } from './video-file-interface' | ||
16 | 8 | ||
17 | let VideoFile: Sequelize.Model<VideoFileInstance, VideoFileAttributes> | 9 | let VideoFile: Sequelize.Model<VideoFileInstance, VideoFileAttributes> |
18 | 10 | ||