aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/utils/videos
diff options
context:
space:
mode:
authorbuoyantair <buoyantair@protonmail.com>2018-10-29 22:36:09 +0530
committerbuoyantair <buoyantair@protonmail.com>2018-10-29 22:36:09 +0530
commitd4681c0074ba51c62a3aeb9fb3f2cd071dd21e32 (patch)
treefc3b017b8ffaee175404bb9f0214724cdff0c5b4 /shared/utils/videos
parent9639bd175726b73f8fe664b5ced12a72407b1f0b (diff)
downloadPeerTube-d4681c0074ba51c62a3aeb9fb3f2cd071dd21e32.tar.gz
PeerTube-d4681c0074ba51c62a3aeb9fb3f2cd071dd21e32.tar.zst
PeerTube-d4681c0074ba51c62a3aeb9fb3f2cd071dd21e32.zip
Fix dependency issues
Diffstat (limited to 'shared/utils/videos')
-rw-r--r--shared/utils/videos/video-abuses.ts2
-rw-r--r--shared/utils/videos/video-channels.ts2
-rw-r--r--shared/utils/videos/video-imports.ts2
-rw-r--r--shared/utils/videos/videos.ts4
4 files changed, 5 insertions, 5 deletions
diff --git a/shared/utils/videos/video-abuses.ts b/shared/utils/videos/video-abuses.ts
index 14907e6a0..8be891a9b 100644
--- a/shared/utils/videos/video-abuses.ts
+++ b/shared/utils/videos/video-abuses.ts
@@ -1,5 +1,5 @@
1import * as request from 'supertest' 1import * as request from 'supertest'
2import { VideoAbuseUpdate } from '../../../../shared/models/videos/abuse/video-abuse-update.model' 2import { VideoAbuseUpdate } from '../../models/videos/abuse/video-abuse-update.model'
3import { makeDeleteRequest, makePutBodyRequest } from '..' 3import { makeDeleteRequest, makePutBodyRequest } from '..'
4 4
5function reportVideoAbuse (url: string, token: string, videoId: number | string, reason: string, specialStatus = 200) { 5function reportVideoAbuse (url: string, token: string, videoId: number | string, reason: string, specialStatus = 200) {
diff --git a/shared/utils/videos/video-channels.ts b/shared/utils/videos/video-channels.ts
index 092985777..3d37f0e4c 100644
--- a/shared/utils/videos/video-channels.ts
+++ b/shared/utils/videos/video-channels.ts
@@ -1,5 +1,5 @@
1import * as request from 'supertest' 1import * as request from 'supertest'
2import { VideoChannelCreate, VideoChannelUpdate } from '../../../../shared/models/videos' 2import { VideoChannelCreate, VideoChannelUpdate } from '../../models/videos'
3import { updateAvatarRequest } from '../index' 3import { updateAvatarRequest } from '../index'
4 4
5function getVideoChannelsList (url: string, start: number, count: number, sort?: string) { 5function getVideoChannelsList (url: string, start: number, count: number, sort?: string) {
diff --git a/shared/utils/videos/video-imports.ts b/shared/utils/videos/video-imports.ts
index 59dfd481a..bf5062cd1 100644
--- a/shared/utils/videos/video-imports.ts
+++ b/shared/utils/videos/video-imports.ts
@@ -1,4 +1,4 @@
1import { VideoImportCreate } from '../../../../shared/models/videos' 1import { VideoImportCreate } from '../../models/videos'
2import { makeGetRequest, makeUploadRequest } from '..' 2import { makeGetRequest, makeUploadRequest } from '..'
3 3
4function getYoutubeVideoUrl () { 4function getYoutubeVideoUrl () {
diff --git a/shared/utils/videos/videos.ts b/shared/utils/videos/videos.ts
index 87c385f38..b3206e566 100644
--- a/shared/utils/videos/videos.ts
+++ b/shared/utils/videos/videos.ts
@@ -16,8 +16,8 @@ import {
16 ServerInfo, 16 ServerInfo,
17 testImage 17 testImage
18} from '../' 18} from '../'
19import { VideoDetails, VideoPrivacy } from '../../../../shared/models/videos' 19import { VideoDetails, VideoPrivacy } from '../../models/videos'
20import { VIDEO_CATEGORIES, VIDEO_LANGUAGES, VIDEO_LICENCES, VIDEO_PRIVACIES } from '../../../initializers' 20import { VIDEO_CATEGORIES, VIDEO_LANGUAGES, VIDEO_LICENCES, VIDEO_PRIVACIES } from '../../../server/initializers'
21import { dateIsValid, webtorrentAdd } from '../index' 21import { dateIsValid, webtorrentAdd } from '../index'
22 22
23type VideoAttributes = { 23type VideoAttributes = {