feat: core chunk 8

This commit is contained in:
TrèsAbhi committed 2023-10-14 11:36:48 -05:00
1 parent 01dd7ad9c6
commit ec00bdf9de
14 files changed
+14 -14

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import throwError from '../../LEGACY_core/node/throwError';
import throwError from '../blitzkrieg/throwError';
export type BlitzResponse<Data extends object> =
| {
+1 -1
View File
@@ -1,7 +1,7 @@
import { Region } from '../../constants/regions';
import { WARGAMING_APPLICATION_ID } from '../../constants/wargamingApplicationID';
import throwError from '../../LEGACY_core/node/throwError';
import { TanksStats } from '../../types/tanksStats';
import throwError from '../blitzkrieg/throwError';
import fetchBlitz from './fetchWargaming';
export default async function getTankStats(region: Region, id: number) {
+1 -1
View File
@@ -1,5 +1,5 @@
import { go } from 'fuzzysort';
import throwError from '../../LEGACY_core/node/throwError';
import throwError from '../blitzkrieg/throwError';
import { TANKS, tankopedia } from '../blitzstars/tankopedia';
export default async function resolveTankId(tank: string | number) {