feat: moving visibility update to settings

This commit is contained in:
Chubby Granny Chaser 2024-09-13 23:56:27 +01:00
parent 383578bca2
commit 2b2b5afd79
No known key found for this signature in database
51 changed files with 1096 additions and 10511 deletions

54
src/types/steam.types.ts Normal file
View file

@ -0,0 +1,54 @@
export interface SteamGenre {
id: string;
name: string;
}
export interface SteamScreenshot {
id: number;
path_thumbnail: string;
path_full: string;
}
export interface SteamVideoSource {
max: string;
"480": string;
}
export interface SteamMovies {
id: number;
mp4: SteamVideoSource;
webm: SteamVideoSource;
thumbnail: string;
name: string;
highlight: boolean;
}
export interface SteamAppDetails {
name: string;
detailed_description: string;
about_the_game: string;
short_description: string;
publishers: string[];
genres: SteamGenre[];
movies?: SteamMovies[];
screenshots?: SteamScreenshot[];
pc_requirements: {
minimum: string;
recommended: string;
};
mac_requirements: {
minimum: string;
recommended: string;
};
linux_requirements: {
minimum: string;
recommended: string;
};
release_date: {
coming_soon: boolean;
date: string;
};
content_descriptors: {
ids: number[];
};
}