diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-23 14:10:17 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-23 16:00:49 +0200 |
commit | 67ed6552b831df66713bac9e672738796128d33f (patch) | |
tree | 59c97d41e0b49d75a90aa3de987968ab9b1ff447 /client/src/app/core/server/server.service.ts | |
parent | 0c4bacbff53bc732f5a2677d62a6ead7752e2405 (diff) | |
download | PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.gz PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.zst PeerTube-67ed6552b831df66713bac9e672738796128d33f.zip |
Reorganize client shared modules
Diffstat (limited to 'client/src/app/core/server/server.service.ts')
-rw-r--r-- | client/src/app/core/server/server.service.ts | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/client/src/app/core/server/server.service.ts b/client/src/app/core/server/server.service.ts index a804efd28..32a135203 100644 --- a/client/src/app/core/server/server.service.ts +++ b/client/src/app/core/server/server.service.ts | |||
@@ -2,14 +2,16 @@ import { Observable, of, Subject } from 'rxjs' | |||
2 | import { first, map, share, shareReplay, switchMap, tap } from 'rxjs/operators' | 2 | import { first, map, share, shareReplay, switchMap, tap } from 'rxjs/operators' |
3 | import { HttpClient } from '@angular/common/http' | 3 | import { HttpClient } from '@angular/common/http' |
4 | import { Inject, Injectable, LOCALE_ID } from '@angular/core' | 4 | import { Inject, Injectable, LOCALE_ID } from '@angular/core' |
5 | import { getDevLocale, isOnDevLocale } from '@app/shared/i18n/i18n-utils' | 5 | import { getDevLocale, isOnDevLocale, peertubeLocalStorage, sortBy } from '@app/helpers' |
6 | import { peertubeLocalStorage } from '@app/shared/misc/peertube-web-storage' | 6 | import { |
7 | import { sortBy } from '@app/shared/misc/utils' | 7 | getCompleteLocale, |
8 | import { SearchTargetType } from '@shared/models/search/search-target-query.model' | 8 | isDefaultLocale, |
9 | import { ServerStats } from '@shared/models/server' | 9 | peertubeTranslate, |
10 | import { getCompleteLocale, ServerConfig } from '../../../../../shared' | 10 | SearchTargetType, |
11 | import { isDefaultLocale, peertubeTranslate } from '../../../../../shared/models/i18n' | 11 | ServerConfig, |
12 | import { VideoConstant } from '../../../../../shared/models/videos' | 12 | ServerStats, |
13 | VideoConstant | ||
14 | } from '@shared/models' | ||
13 | import { environment } from '../../../environments/environment' | 15 | import { environment } from '../../../environments/environment' |
14 | 16 | ||
15 | @Injectable() | 17 | @Injectable() |