Files
ic10emu/www/src/ts/virtual_machine/device_db.ts
Rachel Powers d63f8dff36 Device db fuzy search!
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2024-04-11 14:48:10 -07:00

21 lines
434 B
TypeScript

export type DeviceDBEntry = {
name: string;
hash: number;
desc: string;
logic?: { [key: string]: string };
slots?: { name: string; typ: string }[];
modes?: { [key: string]: string };
conn?: { [key: string]: string[] };
};
export type DeviceDB = {
logic_enabled: string[];
slot_logic_enabled: string[];
devices: string[];
items: string[];
strutures: string[];
db: {
[key: string]: DeviceDBEntry;
};
};