mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
fix: removed all imports for node fetch
This commit is contained in:
1 parent
88bb8bb52d
commit
816cdc4bc6
6 files changed
-8
No files matched your search
@@ -1,4 +1,3 @@
|
||||
import fetch from 'node-fetch';
|
||||
import { WargamingResponse } from '../../types/wargamingResponse.js';
|
||||
|
||||
export default async function getWargamingResponse<Data extends object>(
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { CacheType, ChatInputCommandInteraction } from 'discord.js';
|
||||
import fetch from 'node-fetch';
|
||||
import { PlayerPeriodicStatsCollection } from '../../types/statistics.js';
|
||||
import { notTrackedByBlitzStars } from '../interaction/notTrackedByBlitzStars.js';
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { CacheType, ChatInputCommandInteraction } from 'discord.js';
|
||||
import fetch from 'node-fetch';
|
||||
import { PlayerStats } from '../../types/playerStats.js';
|
||||
|
||||
export default async function getPlayerStats(
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import fetch from 'node-fetch';
|
||||
import { BlitzServer } from '../../constants/servers.js';
|
||||
import { AllStats } from '../../types/accountInfo.js';
|
||||
import { TanksStats } from '../../types/tanksStats.js';
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import fetch from 'node-fetch';
|
||||
|
||||
export type TankType = 'heavyTank' | 'AT-SPG' | 'mediumTank' | 'lightTank';
|
||||
|
||||
export interface Tankopedia {
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import fetch from 'node-fetch';
|
||||
|
||||
export interface Period {
|
||||
statsId: number;
|
||||
account_id: number;
|
||||
|
||||
Reference in new issue
Block a user