mammon market history

This commit is contained in:
Sirttas
2026-06-11 20:46:40 +02:00
parent 3981475c55
commit 2ab3f01d89
4 changed files with 11 additions and 34 deletions
+7
View File
@@ -0,0 +1,7 @@
import { MarketHistoryResponse } from "@/generated/mammon";
import { marketApi } from "@/mammon";
export type MarketHistory = MarketHistoryResponse;
export const getHistory = async (typeId: number): Promise<MarketHistory[]> =>
(await marketApi.findHistory(typeId)).data;