fix: remove api imports

This commit is contained in:
TrèsAbhi committed 2024-09-08 09:46:29 -05:00
1 parent 636c54aa36
commit 25cfb7db74
2 files changed
+11 -11

No files matched your search

+7 -2
View File
@@ -1,7 +1,12 @@
import { TankVoteCategory } from '../../../api/src/app/tank-voting/[id]/cast/route';
export interface TankVotes {
categories: Record<TankVoteCategory, number | null>;
votes: number;
last_updated?: number;
}
export const TANK_VOTE_CATEGORIES = [
'easiness',
'firepower',
'maneuverability',
'survivability',
];
export type TankVoteCategory = (typeof TANK_VOTE_CATEGORIES)[number];