diff --git a/hwe/ts/components/SimpleNationList.vue b/hwe/ts/components/SimpleNationList.vue new file mode 100644 index 00000000..e5599653 --- /dev/null +++ b/hwe/ts/components/SimpleNationList.vue @@ -0,0 +1,72 @@ + + + + + diff --git a/hwe/ts/defs/index.ts b/hwe/ts/defs/index.ts index fce1617c..d1cdd8b8 100644 --- a/hwe/ts/defs/index.ts +++ b/hwe/ts/defs/index.ts @@ -1,6 +1,6 @@ import type { Args } from "@/processing/args"; import type { ValidResponse, InvalidResponse } from "@/util/callSammoAPI"; -import type { GameObjClassKey } from "./GameObj"; +import type { GameIActionKey, GameObjClassKey } from "./GameObj"; export type { ValidResponse, InvalidResponse }; export type BasicGeneralListResponse = { @@ -247,4 +247,17 @@ export type MapResult = { theme?: string, history?: string[], +} + + +export type SimpleNationObj = { + capital: number, + cities: string[], + color: string, + gennum: number, + level: number, + name: string, + nation: number, + power: number, + type: GameIActionKey } \ No newline at end of file