feat: synx quick equipment

This commit is contained in:
TrèsAbhi committed 2024-02-17 10:20:43 -06:00
1 parent b8beb6e8be
commit 0b12f65949
19 files changed
+69 -61

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
import { Region } from '../../constants/regions';
import { WARGAMING_APPLICATION_ID } from '../../constants/wargamingApplicationID';
import { UserError } from '../../hooks/userError';
import { TanksStats } from '../../types/tanksStats';
import { UserError } from '../blitzkrieg/userError';
import fetchBlitz from './fetchBlitz';
export default async function getTankStats(region: Region, id: number) {
+1 -1
View File
@@ -1,9 +1,9 @@
import { go } from 'fuzzysort';
import { UserError } from '../../hooks/userError';
import {
tankDefinitions,
tanksDefinitionsArray,
} from '../blitzkrieg/tankDefinitions';
import { UserError } from '../blitzkrieg/userError';
export default async function resolveTankId(tank: string | number) {
const number = typeof tank === 'string' ? parseInt(tank) : tank;