feat: swap core and _core

This commit is contained in:
TrèsAbhi committed 2023-10-14 11:06:03 -05:00
1 parent 07e3660388
commit b827f7f730
113 files changed
+254 -247

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
import { NextResponse } from 'next/server';
import { tankAverages } from '../../../core/blitzstars/tankAverages';
import { tankAverages } from '../../../LEGACY_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 '../../../core/blitz/tankopedia';
import { tankopedia } from '../../../LEGACY_core/blitz/tankopedia';
export async function GET() {
return NextResponse.json(await tankopedia);
+9 -6
View File
@@ -2,15 +2,18 @@
import { ContextMenu } from '@radix-ui/themes';
import { useEffect, useState } from 'react';
import fetchBlitz from '../../../_core/blitz/fetchWargaming';
import calculateWN8 from '../../../_core/statistics/calculateWN8';
import { deltaTankStats } from '../../../_core/statistics/deltaTankStats';
import getWN8Percentile from '../../../LEGACY_core/blitz/getWN8Percentile';
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 getWN8Percentile from '../../../core/blitz/getWN8Percentile';
import { TankopediaEntry, tankopedia } from '../../../core/blitz/tankopedia';
import { tankAverages } from '../../../core/blitzstars/tankAverages';
import fetchBlitz from '../../../core/blitz/fetchWargaming';
import calculateWN8 from '../../../core/statistics/calculateWN8';
import { deltaTankStats } from '../../../core/statistics/deltaTankStats';
import { useSession } from '../../../stores/session';
import { IndividualTankStats, TanksStats } from '../../../types/tanksStats';
import { CustomColumnDisplay } from '../../tools/session/components/CustomColumn';
+4 -4
View File
@@ -18,13 +18,13 @@ import {
} from '@radix-ui/themes';
import { debounce } from 'lodash';
import { ChangeEvent, useRef, useState } from 'react';
import fetchBlitz from '../../../_core/blitz/fetchWargaming';
import listPlayers, {
AccountListWithServer,
} from '../../../LEGACY_core/blitz/listPlayers';
import PageWrapper from '../../../components/PageWrapper';
import { REGION_NAMES, Region } from '../../../constants/regions';
import { WARGAMING_APPLICATION_ID } from '../../../constants/wargamingApplicationID';
import listPlayers, {
AccountListWithServer,
} from '../../../core/blitz/listPlayers';
import fetchBlitz from '../../../core/blitz/fetchWargaming';
import { useSession } from '../../../stores/session';
import { NormalizedTankStats, TanksStats } from '../../../types/tanksStats';
import SessionPage from '../../embeds/session/page';