chore: further utlils transition

This commit is contained in:
Matthias 2024-07-05 14:40:23 +02:00
parent 35ab5e4df1
commit e385292514
4 changed files with 6 additions and 2 deletions

View File

@ -57,6 +57,8 @@ declare global {
const formatPrice: typeof import('./utils/formatters/numberformat')['formatPrice']
const formatPriceCurrency: typeof import('./utils/formatters/numberformat')['formatPriceCurrency']
const generateAreaCandleSeries: typeof import('./utils/charts/candleChartSeries')['generateAreaCandleSeries']
const generateBacktestMetricRows: typeof import('./utils/backtestMetrics')['generateBacktestMetricRows']
const generateBacktestSettingRows: typeof import('./utils/backtestMetrics')['generateBacktestSettingRows']
const generateCandleSeries: typeof import('./utils/charts/candleChartSeries')['generateCandleSeries']
const generateTradeSeries: typeof import('./utils/charts/tradeChartData')['generateTradeSeries']
const getActivePinia: typeof import('pinia')['getActivePinia']
@ -413,6 +415,8 @@ declare module 'vue' {
readonly formatPrice: UnwrapRef<typeof import('./utils/formatters/numberformat')['formatPrice']>
readonly formatPriceCurrency: UnwrapRef<typeof import('./utils/formatters/numberformat')['formatPriceCurrency']>
readonly generateAreaCandleSeries: UnwrapRef<typeof import('./utils/charts/candleChartSeries')['generateAreaCandleSeries']>
readonly generateBacktestMetricRows: UnwrapRef<typeof import('./utils/backtestMetrics')['generateBacktestMetricRows']>
readonly generateBacktestSettingRows: UnwrapRef<typeof import('./utils/backtestMetrics')['generateBacktestSettingRows']>
readonly generateCandleSeries: UnwrapRef<typeof import('./utils/charts/candleChartSeries')['generateCandleSeries']>
readonly generateTradeSeries: UnwrapRef<typeof import('./utils/charts/tradeChartData')['generateTradeSeries']>
readonly getActivePinia: UnwrapRef<typeof import('pinia')['getActivePinia']>
@ -760,6 +764,8 @@ declare module '@vue/runtime-core' {
readonly formatPrice: UnwrapRef<typeof import('./utils/formatters/numberformat')['formatPrice']>
readonly formatPriceCurrency: UnwrapRef<typeof import('./utils/formatters/numberformat')['formatPriceCurrency']>
readonly generateAreaCandleSeries: UnwrapRef<typeof import('./utils/charts/candleChartSeries')['generateAreaCandleSeries']>
readonly generateBacktestMetricRows: UnwrapRef<typeof import('./utils/backtestMetrics')['generateBacktestMetricRows']>
readonly generateBacktestSettingRows: UnwrapRef<typeof import('./utils/backtestMetrics')['generateBacktestSettingRows']>
readonly generateCandleSeries: UnwrapRef<typeof import('./utils/charts/candleChartSeries')['generateCandleSeries']>
readonly generateTradeSeries: UnwrapRef<typeof import('./utils/charts/tradeChartData')['generateTradeSeries']>
readonly getActivePinia: UnwrapRef<typeof import('pinia')['getActivePinia']>

View File

@ -75,7 +75,6 @@
<script setup lang="ts">
import { StrategyBacktestResult } from '@/types';
import { generateBacktestMetricRows, generateBacktestSettingRows } from '@/shared/backtestMetrics';
import { TableField } from 'bootstrap-vue-next';
const props = defineProps({

View File

@ -30,7 +30,6 @@
<script setup lang="ts">
import { BacktestResultInMemory } from '@/types';
import { generateBacktestMetricRows } from '@/shared/backtestMetrics';
import { TableField } from 'bootstrap-vue-next';
const props = defineProps({