mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: remove api imports
This commit is contained in:
1 parent
636c54aa36
commit
25cfb7db74
2 files changed
+11
-11
No files matched your search
@@ -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];
|
||||
Reference in new issue
Block a user