chore: add tests for data loading

This commit is contained in:
2026-04-15 13:27:12 +08:00
parent 726856af35
commit 33095d5226
6 changed files with 216 additions and 2 deletions
@@ -1,7 +1,11 @@
import type { EnemyDesert } from './enemyDesert.csv';
type EncounterDesertTable = readonly {
readonly type: "minion" | "elite" | "event" | "shop" | "camp" | "curio";
readonly name: string;
readonly description: string;
readonly enemies: readonly [EnemyDesert, number];
readonly dialogue: string;
}[];
export type EncounterDesert = EncounterDesertTable[number];