swap to ultra-fast APIs on homepage, finish continents

This commit is contained in:
41666 2023-06-09 12:55:24 -04:00
parent 644e25f673
commit 9b439d0a19
14 changed files with 365 additions and 114 deletions

View file

@ -12,7 +12,7 @@ export const saerroFetch = async <T>(query: string): Promise<T> => {
};
export type Population = {
total: number;
total?: number;
nc: number;
tr: number;
vs: number;
@ -22,10 +22,10 @@ export type Zone = {
id: string;
name: string;
population: Population;
vehicles?: Record<(typeof allVehicles)[number], Population> & {
vehicles?: Record<typeof allVehicles[number], Population> & {
total: number;
};
classes?: Record<(typeof allClasses)[number], Population>;
classes?: Record<typeof allClasses[number], Population>;
};
export type World = {