chore: update inline-schema output

This commit is contained in:
hypercross 2026-04-12 10:13:57 +08:00
parent eb4716200a
commit 6ac5ac4b9a
5 changed files with 13 additions and 9 deletions

10
src/samples/boop/boopPart.csv.d.ts vendored Normal file
View File

@ -0,0 +1,10 @@
type BoopPartTable = readonly {
readonly type: string;
readonly player: string;
readonly count: number;
}[];
export type BoopPart = BoopPartTable[number];
declare const data: BoopPartTable;
export default data;

View File

@ -1,8 +0,0 @@
type PartsTable = readonly {
readonly type: string;
readonly player: string;
readonly count: number;
}[];
declare const data: PartsTable;
export default data;

View File

@ -1,4 +1,4 @@
import parts from './parts.csv';
import parts from './boopPart.csv';
import {createRegion, moveToRegion, Region} from "@/core/region";
import {createPartsFromTable} from "@/core/part-factory";
import {BoopPart} from "@/samples/boop/types";

View File

@ -5,5 +5,7 @@ type CardsTable = readonly {
readonly pattern: string;
}[];
export type Cards = CardsTable[number];
declare const data: CardsTable;
export default data;