|
@ -3,6 +3,7 @@ import { PlatformService } from '@ghostfolio/api/app/platform/platform.service'; |
|
|
import { RedisCacheService } from '@ghostfolio/api/app/redis-cache/redis-cache.service'; |
|
|
import { RedisCacheService } from '@ghostfolio/api/app/redis-cache/redis-cache.service'; |
|
|
import { UserService } from '@ghostfolio/api/app/user/user.service'; |
|
|
import { UserService } from '@ghostfolio/api/app/user/user.service'; |
|
|
import { ConfigurationService } from '@ghostfolio/api/services/configuration/configuration.service'; |
|
|
import { ConfigurationService } from '@ghostfolio/api/services/configuration/configuration.service'; |
|
|
|
|
|
import { DataProviderService } from '@ghostfolio/api/services/data-provider/data-provider.service'; |
|
|
import { ExchangeRateDataService } from '@ghostfolio/api/services/exchange-rate-data/exchange-rate-data.service'; |
|
|
import { ExchangeRateDataService } from '@ghostfolio/api/services/exchange-rate-data/exchange-rate-data.service'; |
|
|
import { PropertyService } from '@ghostfolio/api/services/property/property.service'; |
|
|
import { PropertyService } from '@ghostfolio/api/services/property/property.service'; |
|
|
import { |
|
|
import { |
|
@ -42,6 +43,7 @@ export class InfoService { |
|
|
public constructor( |
|
|
public constructor( |
|
|
private readonly benchmarkService: BenchmarkService, |
|
|
private readonly benchmarkService: BenchmarkService, |
|
|
private readonly configurationService: ConfigurationService, |
|
|
private readonly configurationService: ConfigurationService, |
|
|
|
|
|
private readonly dataProviderService: DataProviderService, |
|
|
private readonly exchangeRateDataService: ExchangeRateDataService, |
|
|
private readonly exchangeRateDataService: ExchangeRateDataService, |
|
|
private readonly jwtService: JwtService, |
|
|
private readonly jwtService: JwtService, |
|
|
private readonly platformService: PlatformService, |
|
|
private readonly platformService: PlatformService, |
|
@ -121,6 +123,7 @@ export class InfoService { |
|
|
return { |
|
|
return { |
|
|
...info, |
|
|
...info, |
|
|
benchmarks, |
|
|
benchmarks, |
|
|
|
|
|
defaultDataSource: this.dataProviderService.getDataSourceForImport(), |
|
|
demoAuthToken, |
|
|
demoAuthToken, |
|
|
globalPermissions, |
|
|
globalPermissions, |
|
|
isReadOnlyMode, |
|
|
isReadOnlyMode, |
|
|