remind me to never try to handle a 53MB json file again

This commit is contained in:
not-nullptr 2024-03-16 19:00:09 +00:00
parent 99bfc69c64
commit 188e38c6ec
19 changed files with 185 additions and 109 deletions

View file

@ -1,5 +0,0 @@
{
"landingHeader": "suyu",
"landingOne": "Suyu is an open-source, Switch compatible emulator with almost full coverage of the game library.",
"landingCardHeader": "We care about preservation"
}

View file

@ -0,0 +1,28 @@
interface SwitchGame {
bannerUrl: string;
category: string[];
description: string;
developer: null;
frontBoxArt: null;
iconUrl: string;
id: string;
intro: null | string;
isDemo: boolean;
key: null;
languages: string[];
name: string;
nsuId: number;
numberOfPlayers: number;
publisher: string;
rating: number;
ratingContent: string[];
region: null;
releaseDate: number;
rightsId: string;
screenshots: string[];
size: number;
version: null;
}
export const globalData: {
games: SwitchGame[];
} = { games: [] };