aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/search/search.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-06-23 14:10:17 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-06-23 16:00:49 +0200
commit67ed6552b831df66713bac9e672738796128d33f (patch)
tree59c97d41e0b49d75a90aa3de987968ab9b1ff447 /client/src/app/search/search.component.ts
parent0c4bacbff53bc732f5a2677d62a6ead7752e2405 (diff)
downloadPeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.gz
PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.zst
PeerTube-67ed6552b831df66713bac9e672738796128d33f.zip
Reorganize client shared modules
Diffstat (limited to 'client/src/app/search/search.component.ts')
-rw-r--r--client/src/app/search/search.component.ts19
1 files changed, 7 insertions, 12 deletions
diff --git a/client/src/app/search/search.component.ts b/client/src/app/search/search.component.ts
index 6486085be..83b06e0ce 100644
--- a/client/src/app/search/search.component.ts
+++ b/client/src/app/search/search.component.ts
@@ -1,20 +1,15 @@
1import { forkJoin, of, Subscription } from 'rxjs' 1import { forkJoin, of, Subscription } from 'rxjs'
2import { Component, OnDestroy, OnInit } from '@angular/core' 2import { Component, OnDestroy, OnInit } from '@angular/core'
3import { ActivatedRoute, Router } from '@angular/router' 3import { ActivatedRoute, Router } from '@angular/router'
4import { AuthService, Notifier, ServerService } from '@app/core' 4import { AuthService, ComponentPagination, HooksService, Notifier, ServerService, User, UserService } from '@app/core'
5import { HooksService } from '@app/core/plugins/hooks.service' 5import { immutableAssign } from '@app/helpers'
6import { AdvancedSearch } from '@app/search/advanced-search.model' 6import { Video, VideoChannel } from '@app/shared/shared-main'
7import { SearchService } from '@app/search/search.service' 7import { MiniatureDisplayOptions } from '@app/shared/shared-video-miniature'
8import { User, UserService } from '@app/shared'
9import { immutableAssign } from '@app/shared/misc/utils'
10import { ComponentPagination } from '@app/shared/rest/component-pagination.model'
11import { VideoChannel } from '@app/shared/video-channel/video-channel.model'
12import { MiniatureDisplayOptions } from '@app/shared/video/video-miniature.component'
13import { Video } from '@app/shared/video/video.model'
14import { MetaService } from '@ngx-meta/core' 8import { MetaService } from '@ngx-meta/core'
15import { I18n } from '@ngx-translate/i18n-polyfill' 9import { I18n } from '@ngx-translate/i18n-polyfill'
16import { ServerConfig } from '@shared/models' 10import { SearchTargetType, ServerConfig } from '@shared/models'
17import { SearchTargetType } from '@shared/models/search/search-target-query.model' 11import { AdvancedSearch } from './advanced-search.model'
12import { SearchService } from './search.service'
18 13
19@Component({ 14@Component({
20 selector: 'my-search', 15 selector: 'my-search',