diff options
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r-- | server/models/video/video.ts | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index 66a9a28fa..1f103f930 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -33,13 +33,22 @@ import { VideoPathManager } from '@server/lib/video-path-manager' | |||
33 | import { getServerActor } from '@server/models/application/application' | 33 | import { getServerActor } from '@server/models/application/application' |
34 | import { ModelCache } from '@server/models/model-cache' | 34 | import { ModelCache } from '@server/models/model-cache' |
35 | import { buildVideoEmbedPath, buildVideoWatchPath, pick, uuidToShort } from '@shared/core-utils' | 35 | import { buildVideoEmbedPath, buildVideoWatchPath, pick, uuidToShort } from '@shared/core-utils' |
36 | import { VideoFile, VideoInclude } from '@shared/models' | 36 | import { |
37 | ResultList, | ||
38 | ThumbnailType, | ||
39 | UserRight, | ||
40 | Video, | ||
41 | VideoDetails, | ||
42 | VideoFile, | ||
43 | VideoInclude, | ||
44 | VideoObject, | ||
45 | VideoPrivacy, | ||
46 | VideoRateType, | ||
47 | VideoState, | ||
48 | VideoStorage, | ||
49 | VideoStreamingPlaylistType | ||
50 | } from '@shared/models' | ||
37 | import { AttributesOnly } from '@shared/typescript-utils' | 51 | import { AttributesOnly } from '@shared/typescript-utils' |
38 | import { ResultList, UserRight, VideoPrivacy, VideoState } from '../../../shared' | ||
39 | import { VideoObject } from '../../../shared/models/activitypub/objects' | ||
40 | import { Video, VideoDetails, VideoRateType, VideoStorage } from '../../../shared/models/videos' | ||
41 | import { ThumbnailType } from '../../../shared/models/videos/thumbnail.type' | ||
42 | import { VideoStreamingPlaylistType } from '../../../shared/models/videos/video-streaming-playlist.type' | ||
43 | import { peertubeTruncate } from '../../helpers/core-utils' | 52 | import { peertubeTruncate } from '../../helpers/core-utils' |
44 | import { isActivityPubUrlValid } from '../../helpers/custom-validators/activitypub/misc' | 53 | import { isActivityPubUrlValid } from '../../helpers/custom-validators/activitypub/misc' |
45 | import { exists, isBooleanValid } from '../../helpers/custom-validators/misc' | 54 | import { exists, isBooleanValid } from '../../helpers/custom-validators/misc' |