New eveal #32

Merged
Sirttas merged 115 commits from new-eveal into main 2026-07-14 17:15:11 +02:00
Showing only changes of commit 3981475c55 - Show all commits
+9 -9
View File
@@ -1,10 +1,10 @@
<script setup lang="ts">
import { getMarketTypes, TaxInput, useApraisalStore, useMarketTaxStore } from "@/market";
import { BuyModal } from '@/market/acquisition';
import { ScanResult, ScanResultTable, toScanResult } from '@/market/scan';
import { marketApi } from "@/mammon";
import { useStorage } from "@vueuse/core";
import { ref, watch } from 'vue';
import {getMarketTypes, TaxInput, useApraisalStore, useMarketTaxStore} from "@/market";
import {BuyModal} from '@/market/acquisition';
import {ScanResult, ScanResultTable, toScanResult} from '@/market/scan';
import {marketApi} from "@/mammon";
import {useStorage} from "@vueuse/core";
import {ref, watch} from 'vue';
const buyModal = ref<typeof BuyModal>();
@@ -18,9 +18,9 @@ const scan = async () => {
loading.value = true;
try {
const { data } = await marketApi.scanMarket(
String(days.value),
String(marketTaxStore.brokerFee / 100),
String(marketTaxStore.scc / 100)
days.value,
marketTaxStore.brokerFee / 100,
marketTaxStore.scc / 100
);
const types = await getMarketTypes(data.map(r => r.marketTypeId));
const prices = await apraisalStore.getPrices(types);