Don't export private functions

This commit is contained in:
Matthias 2024-07-06 08:35:20 +02:00
parent 71e8e314ee
commit 291502f6de
2 changed files with 1 additions and 3 deletions

View File

@ -427,7 +427,6 @@ declare module 'vue' {
readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']> readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
readonly getDiffColumnsFromPlotConfig: UnwrapRef<typeof import('./utils/charts/areaPlotDataset')['getDiffColumnsFromPlotConfig']> readonly getDiffColumnsFromPlotConfig: UnwrapRef<typeof import('./utils/charts/areaPlotDataset')['getDiffColumnsFromPlotConfig']>
readonly getTheme: UnwrapRef<typeof import('./utils/themes')['getTheme']> readonly getTheme: UnwrapRef<typeof import('./utils/themes')['getTheme']>
readonly getTradeEntries: UnwrapRef<typeof import('./utils/charts/tradeChartData')['getTradeEntries']>
readonly h: UnwrapRef<typeof import('vue')['h']> readonly h: UnwrapRef<typeof import('vue')['h']>
readonly heikinAshiDataset: UnwrapRef<typeof import('./utils/charts/heikinashi')['heikinAshiDataset']> readonly heikinAshiDataset: UnwrapRef<typeof import('./utils/charts/heikinashi')['heikinAshiDataset']>
readonly humanizeDurationFromSeconds: UnwrapRef<typeof import('./utils/formatters/timeformat')['humanizeDurationFromSeconds']> readonly humanizeDurationFromSeconds: UnwrapRef<typeof import('./utils/formatters/timeformat')['humanizeDurationFromSeconds']>
@ -779,7 +778,6 @@ declare module '@vue/runtime-core' {
readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']> readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
readonly getDiffColumnsFromPlotConfig: UnwrapRef<typeof import('./utils/charts/areaPlotDataset')['getDiffColumnsFromPlotConfig']> readonly getDiffColumnsFromPlotConfig: UnwrapRef<typeof import('./utils/charts/areaPlotDataset')['getDiffColumnsFromPlotConfig']>
readonly getTheme: UnwrapRef<typeof import('./utils/themes')['getTheme']> readonly getTheme: UnwrapRef<typeof import('./utils/themes')['getTheme']>
readonly getTradeEntries: UnwrapRef<typeof import('./utils/charts/tradeChartData')['getTradeEntries']>
readonly h: UnwrapRef<typeof import('vue')['h']> readonly h: UnwrapRef<typeof import('vue')['h']>
readonly heikinAshiDataset: UnwrapRef<typeof import('./utils/charts/heikinashi')['heikinAshiDataset']> readonly heikinAshiDataset: UnwrapRef<typeof import('./utils/charts/heikinashi')['heikinAshiDataset']>
readonly humanizeDurationFromSeconds: UnwrapRef<typeof import('./utils/formatters/timeformat')['humanizeDurationFromSeconds']> readonly humanizeDurationFromSeconds: UnwrapRef<typeof import('./utils/formatters/timeformat')['humanizeDurationFromSeconds']>

View File

@ -50,7 +50,7 @@ const LONG_COLOR = '#0066FF';
//const LONG_ADJUST_COLOR = '#00A9FF'; //const LONG_ADJUST_COLOR = '#00A9FF';
/** Return trade entries for charting */ /** Return trade entries for charting */
export function getTradeEntries(dataset: PairHistory, trades: Trade[]) { function getTradeEntries(dataset: PairHistory, trades: Trade[]) {
const tradeData: (number | string)[][] = []; const tradeData: (number | string)[][] = [];
// Return schema: // Return schema:
// 0: Timeframe // 0: Timeframe