swap to ultra-fast APIs on homepage, finish continents
This commit is contained in:
parent
644e25f673
commit
9b439d0a19
14 changed files with 365 additions and 114 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue