refactor main view to table and add production, import and export information per planet
This commit is contained in:
11
src/types.ts
11
src/types.ts
@@ -15,6 +15,17 @@ export interface Character {
|
||||
characterId: number;
|
||||
}
|
||||
|
||||
export interface PlanetWithInfo extends Planet {
|
||||
info: PlanetInfo;
|
||||
infoUniverse: PlanetInfoUniverse;
|
||||
}
|
||||
export interface CharacterPlanets {
|
||||
name: string;
|
||||
characterId: number;
|
||||
account?: string;
|
||||
planets: PlanetWithInfo[];
|
||||
}
|
||||
|
||||
export interface CharacterUpdate {
|
||||
account?: string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user