chore: update inline-schema output
This commit is contained in:
parent
eb4716200a
commit
6ac5ac4b9a
|
|
@ -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;
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
type PartsTable = readonly {
|
||||
readonly type: string;
|
||||
readonly player: string;
|
||||
readonly count: number;
|
||||
}[];
|
||||
|
||||
declare const data: PartsTable;
|
||||
export default data;
|
||||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -5,5 +5,7 @@ type CardsTable = readonly {
|
|||
readonly pattern: string;
|
||||
}[];
|
||||
|
||||
export type Cards = CardsTable[number];
|
||||
|
||||
declare const data: CardsTable;
|
||||
export default data;
|
||||
|
|
|
|||
Loading…
Reference in New Issue