Add GTL price-traffic chart diagnostic

This commit is contained in:
2026-07-13 12:08:10 +02:00
parent dc1570877c
commit 4730d19694
14 changed files with 433 additions and 44 deletions
+7 -1
View File
@@ -1,8 +1,14 @@
import apiClient from './client';
import type { SRLevelResponse } from '../lib/types';
import type { GateTargetLadderResponse, SRLevelResponse } from '../lib/types';
export function getLevels(symbol: string) {
return apiClient
.get<SRLevelResponse>(`sr-levels/${symbol}`)
.then((r) => r.data);
}
export function getGateTargetLadder(symbol: string) {
return apiClient
.get<GateTargetLadderResponse>(`gate-target-ladder/${symbol}`)
.then((r) => r.data);
}