Feature/add support to set the base currency via env variable (#948)

* Set base currency via environment variable

* Update changelog
This commit is contained in:
Thomas Kaul
2022-05-24 20:55:55 +02:00
committed by GitHub
parent f48832c671
commit 332203b9e2
20 changed files with 102 additions and 50 deletions

View File

@@ -2,8 +2,6 @@ import { DataSource } from '@prisma/client';
import { ToggleOption } from './types';
export const baseCurrency = 'USD';
export const defaultDateRangeOptions: ToggleOption[] = [
{ label: 'Today', value: '1d' },
{ label: 'YTD', value: 'ytd' },

View File

@@ -4,6 +4,7 @@ import { Statistics } from './statistics.interface';
import { Subscription } from './subscription.interface';
export interface InfoItem {
baseCurrency: string;
currencies: string[];
demoAuthToken: string;
fearAndGreedDataSource?: string;

View File

@@ -1,4 +1,5 @@
import { AssetClass, DataSource } from '@prisma/client';
import { MarketState } from '../types';
export interface Position {