aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-14 15:47:56 +0200
committerChocobozzz <me@florianbigard.com>2018-08-14 15:47:56 +0200
commite63dbd426e67672b4014c2a3ac3a227fbe26e886 (patch)
treea7c9a23faf764ed81a7373a01d432932912e4111 /client/src/app/shared/video
parent06215f15e0a9fea2ef95b8b49cb2b5868fb64017 (diff)
downloadPeerTube-e63dbd426e67672b4014c2a3ac3a227fbe26e886.tar.gz
PeerTube-e63dbd426e67672b4014c2a3ac3a227fbe26e886.tar.zst
PeerTube-e63dbd426e67672b4014c2a3ac3a227fbe26e886.zip
Update client according to new model paths
Diffstat (limited to 'client/src/app/shared/video')
-rw-r--r--client/src/app/shared/video/video.service.ts14
1 files changed, 8 insertions, 6 deletions
diff --git a/client/src/app/shared/video/video.service.ts b/client/src/app/shared/video/video.service.ts
index ddf365959..e2a62c701 100644
--- a/client/src/app/shared/video/video.service.ts
+++ b/client/src/app/shared/video/video.service.ts
@@ -4,12 +4,15 @@ import { Injectable } from '@angular/core'
4import { Observable } from 'rxjs' 4import { Observable } from 'rxjs'
5import { Video as VideoServerModel, VideoDetails as VideoDetailsServerModel } from '../../../../../shared' 5import { Video as VideoServerModel, VideoDetails as VideoDetailsServerModel } from '../../../../../shared'
6import { ResultList } from '../../../../../shared/models/result-list.model' 6import { ResultList } from '../../../../../shared/models/result-list.model'
7import { UserVideoRateUpdate } from '../../../../../shared/models/videos/user-video-rate-update.model' 7import {
8import { UserVideoRate } from '../../../../../shared/models/videos/user-video-rate.model' 8 UserVideoRate,
9import { VideoFilter } from '../../../../../shared/models/videos/video-query.type' 9 UserVideoRateUpdate,
10 VideoChannel,
11 VideoFilter,
12 VideoRateType,
13 VideoUpdate
14} from '../../../../../shared/models/videos'
10import { FeedFormat } from '../../../../../shared/models/feeds/feed-format.enum' 15import { FeedFormat } from '../../../../../shared/models/feeds/feed-format.enum'
11import { VideoRateType } from '../../../../../shared/models/videos/video-rate.type'
12import { VideoUpdate } from '../../../../../shared/models/videos/video-update.model'
13import { environment } from '../../../environments/environment' 16import { environment } from '../../../environments/environment'
14import { ComponentPagination } from '../rest/component-pagination.model' 17import { ComponentPagination } from '../rest/component-pagination.model'
15import { RestExtractor } from '../rest/rest-extractor.service' 18import { RestExtractor } from '../rest/rest-extractor.service'
@@ -22,7 +25,6 @@ import { Video } from './video.model'
22import { objectToFormData } from '@app/shared/misc/utils' 25import { objectToFormData } from '@app/shared/misc/utils'
23import { Account } from '@app/shared/account/account.model' 26import { Account } from '@app/shared/account/account.model'
24import { AccountService } from '@app/shared/account/account.service' 27import { AccountService } from '@app/shared/account/account.service'
25import { VideoChannel } from '../../../../../shared/models/videos'
26import { VideoChannelService } from '@app/shared/video-channel/video-channel.service' 28import { VideoChannelService } from '@app/shared/video-channel/video-channel.service'
27import { ServerService } from '@app/core' 29import { ServerService } from '@app/core'
28 30