feat: more progress

This commit is contained in:
TrèsAbhi committed 2024-09-07 23:19:12 -05:00
1 parent f30e9f810e
commit 636c54aa36
7 files changed
+18 -8

No files matched your search

@@ -1,17 +1,11 @@
import { tankDefinitions, usersDatabase } from '@blitzkit/core';
import { NextRequest, NextResponse } from 'next/server';
import { TankVotes } from '../../../../../../core/src/blitzkit/votes';
import { isValidBlitzId } from '../../../../../../website/src/core/blitz/isValidBlitzId';
import {
BlitzkitResponse,
BlitzkitResponseError,
} from '../../../../../../website/src/hooks/useTankVotes';
import { TankVoteCategory } from '../cast/route';
export interface TankVotes {
categories: Record<TankVoteCategory, number | null>;
votes: number;
last_updated?: number;
}
export async function GET(
request: NextRequest,