mirror of
https://github.com/Hackdex-App/hackdex-website.git
synced 2026-09-08 17:06:43 -05:00
Add base rom file type restrictions
This commit is contained in:
@@ -1,7 +1,15 @@
|
||||
export const PLATFORMS = [
|
||||
"GB",
|
||||
"GBC",
|
||||
"GBA",
|
||||
"NDS",
|
||||
] as const;
|
||||
export type Platform = typeof PLATFORMS[number];
|
||||
|
||||
export type BaseRom = {
|
||||
id: string;
|
||||
name: string;
|
||||
platform: "GB" | "GBC" | "GBA" | "NDS";
|
||||
platform: Platform;
|
||||
region: string;
|
||||
sha1?: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user