typescript lol

This commit is contained in:
Ax333l
2023-02-13 17:43:12 +01:00
parent 10c3dad90f
commit ec2e8adfec
5 changed files with 71 additions and 45 deletions

19
src/lib/types.ts Normal file
View File

@@ -0,0 +1,19 @@
export interface APILogo {
id: string;
gdrive_direct_url: string;
}
export interface LogoAPIResponse {
[key: string]: {
logos: APILogo[];
};
}
export interface Logo {
name: string;
variants: APILogo[];
}
// export interface Selected {
// }