mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: more progress
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user