chore: update inline-schema output
This commit is contained in:
Vendored
+10
@@ -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;
|
||||||
Vendored
-8
@@ -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 {createRegion, moveToRegion, Region} from "@/core/region";
|
||||||
import {createPartsFromTable} from "@/core/part-factory";
|
import {createPartsFromTable} from "@/core/part-factory";
|
||||||
import {BoopPart} from "@/samples/boop/types";
|
import {BoopPart} from "@/samples/boop/types";
|
||||||
|
|||||||
Vendored
+2
@@ -5,5 +5,7 @@ type CardsTable = readonly {
|
|||||||
readonly pattern: string;
|
readonly pattern: string;
|
||||||
}[];
|
}[];
|
||||||
|
|
||||||
|
export type Cards = CardsTable[number];
|
||||||
|
|
||||||
declare const data: CardsTable;
|
declare const data: CardsTable;
|
||||||
export default data;
|
export default data;
|
||||||
|
|||||||
Reference in New Issue
Block a user