feat: core chunk 5

This commit is contained in:
TrèsAbhi committed 2023-10-14 11:25:42 -05:00
1 parent 9bdb14e13a
commit ed8bab7df8
37 files changed
+91 -165

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
import { NextResponse } from 'next/server';
import { tankAverages } from '../../../LEGACY_core/blitzstars/tankAverages';
import { tankAverages } from '../../../core/blitzstars/tankAverages';
export async function GET() {
return NextResponse.json(await tankAverages);
+1 -1
View File
@@ -1,5 +1,5 @@
import { NextResponse } from 'next/server';
import { tankopedia } from '../../../LEGACY_core/blitz/tankopedia';
import { tankopedia } from '../../../core/blitzstars/tankopedia';
export async function GET() {
return NextResponse.json(await tankopedia);
+5 -5
View File
@@ -2,15 +2,15 @@
import { ContextMenu } from '@radix-ui/themes';
import { useEffect, useState } from 'react';
import {
TankopediaEntry,
tankopedia,
} from '../../../LEGACY_core/blitz/tankopedia';
import { tankAverages } from '../../../LEGACY_core/blitzstars/tankAverages';
import * as Breakdown from '../../../components/Breakdown';
import { TreeTypeEnum } from '../../../components/Tanks';
import { WARGAMING_APPLICATION_ID } from '../../../constants/wargamingApplicationID';
import fetchBlitz from '../../../core/blitz/fetchWargaming';
import { tankAverages } from '../../../core/blitzstars/tankAverages';
import {
TankopediaEntry,
tankopedia,
} from '../../../core/blitzstars/tankopedia';
import calculateWN8 from '../../../core/statistics/calculateWN8';
import { deltaTankStats } from '../../../core/statistics/deltaTankStats';
import getWN8Percentile from '../../../core/statistics/getWN8Percentile';