diff options
Diffstat (limited to 'server/models/video/video-channel.ts')
-rw-r--r-- | server/models/video/video-channel.ts | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/server/models/video/video-channel.ts b/server/models/video/video-channel.ts index f8414d4a8..93566a5c6 100644 --- a/server/models/video/video-channel.ts +++ b/server/models/video/video-channel.ts | |||
@@ -1,17 +1,11 @@ | |||
1 | import * as Sequelize from 'sequelize' | 1 | import * as Sequelize from 'sequelize' |
2 | 2 | import { isVideoChannelDescriptionValid, isVideoChannelNameValid } from '../../helpers' | |
3 | import { isVideoChannelNameValid, isVideoChannelDescriptionValid } from '../../helpers' | ||
4 | |||
5 | import { addMethodsToModel, getSort } from '../utils' | ||
6 | import { | ||
7 | VideoChannelInstance, | ||
8 | VideoChannelAttributes, | ||
9 | |||
10 | VideoChannelMethods | ||
11 | } from './video-channel-interface' | ||
12 | import { sendDeleteVideoChannel } from '../../lib/activitypub/send-request' | ||
13 | import { isVideoChannelUrlValid } from '../../helpers/custom-validators/video-channels' | 3 | import { isVideoChannelUrlValid } from '../../helpers/custom-validators/video-channels' |
14 | import { CONSTRAINTS_FIELDS } from '../../initializers/constants' | 4 | import { CONSTRAINTS_FIELDS } from '../../initializers/constants' |
5 | import { sendDeleteVideoChannel } from '../../lib/activitypub/send/send-delete' | ||
6 | |||
7 | import { addMethodsToModel, getSort } from '../utils' | ||
8 | import { VideoChannelAttributes, VideoChannelInstance, VideoChannelMethods } from './video-channel-interface' | ||
15 | 9 | ||
16 | let VideoChannel: Sequelize.Model<VideoChannelInstance, VideoChannelAttributes> | 10 | let VideoChannel: Sequelize.Model<VideoChannelInstance, VideoChannelAttributes> |
17 | let toFormattedJSON: VideoChannelMethods.ToFormattedJSON | 11 | let toFormattedJSON: VideoChannelMethods.ToFormattedJSON |