feat: some migration

This commit is contained in:
tresabhi committed 2024-11-18 10:56:24 -06:00
1 parent e06aaa4bcf
commit 02aed3e3a5
25 files changed
+637 -73

No files matched your search

-16
View File
@@ -7,22 +7,6 @@ export const LEAGUES = [
{ name: 'silver', minScore: 2000, index: 3 },
{ name: 'bronze', minScore: -Infinity, index: 4 },
];
export type RatingInfo =
| {
detail: undefined;
title: string;
icon: string | null;
start_at: string;
finish_at: string;
current_season: number;
updated_at: string;
count: number;
rewards: RatingReward[];
leagues: RatingLeague[];
}
| { detail: { error: string } };
export interface RatingNeighbors {
neighbors: RatingPlayer[];
}