mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-26 21:15:15 +00:00
Move files correctly
This commit is contained in:
parent
f5636273f4
commit
3179bd92a5
|
@ -2,5 +2,6 @@ export * from './auth';
|
|||
export * from './blacklist';
|
||||
export * from './chart';
|
||||
export * from './daily';
|
||||
export * from './plot';
|
||||
export * from './profit';
|
||||
export * from './types';
|
||||
|
|
16
src/types/plot.ts
Normal file
16
src/types/plot.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
export interface IndicatorConfig {
|
||||
color?: string;
|
||||
type?: string;
|
||||
}
|
||||
|
||||
export interface PlotConfig {
|
||||
main_plot: Record<string, IndicatorConfig>;
|
||||
subplots: Record<string, Record<string, IndicatorConfig>>;
|
||||
}
|
||||
|
||||
export interface PlotConfigStorage {
|
||||
[key: string]: PlotConfig;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/camelcase
|
||||
export const EMPTY_PLOTCONFIG: PlotConfig = { main_plot: {}, subplots: {} };
|
|
@ -187,20 +187,3 @@ export interface PairHistory {
|
|||
/** Data end date in as millisecond timestamp */
|
||||
data_stop_ts: number;
|
||||
}
|
||||
|
||||
export interface IndicatorConfig {
|
||||
color?: string;
|
||||
type?: string;
|
||||
}
|
||||
|
||||
export interface PlotConfig {
|
||||
main_plot: Record<string, IndicatorConfig>;
|
||||
subplots: Record<string, Record<string, IndicatorConfig>>;
|
||||
}
|
||||
|
||||
export interface PlotConfigStorage {
|
||||
[key: string]: PlotConfig;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/camelcase
|
||||
export const EMPTY_PLOTCONFIG: PlotConfig = { main_plot: {}, subplots: {} };
|
||||
|
|
|
@ -76,7 +76,7 @@ export default class Graphs extends Vue {
|
|||
public getWhitelist;
|
||||
|
||||
@ftbot.Action
|
||||
public getAvailablePairs!: (payload: AvailablePairPayload) => void;
|
||||
public getAvailablePairs!: (payload: AvailablePairPayload) => Promise<void>;
|
||||
|
||||
mounted() {
|
||||
this.getWhitelist();
|
||||
|
|
Loading…
Reference in New Issue
Block a user