[node] implement shipyard info retrieval and database caching
This commit is contained in:
parent
ccbfd9deb9
commit
4cb5c7853c
5 changed files with 81 additions and 10 deletions
|
@ -80,6 +80,29 @@ export type RouteEndpoint = {
|
|||
y: number;
|
||||
};
|
||||
|
||||
export type Shipyard = {
|
||||
modificationFee: number;
|
||||
ships: Array<ShipyardShip>;
|
||||
shipTypes: Array<{type: string}>;
|
||||
symbol: string;
|
||||
//transactions: Array<Transaction>;
|
||||
};
|
||||
|
||||
export type ShipyardShip = {
|
||||
activity: string;
|
||||
// crew
|
||||
description: string;
|
||||
// engine
|
||||
// frame
|
||||
// modules
|
||||
// mounts
|
||||
name: string;
|
||||
purchasePrice: number;
|
||||
// reactor
|
||||
supply: string;
|
||||
type: string;
|
||||
};
|
||||
|
||||
export type System = {
|
||||
symbol: string;
|
||||
sectorSymbol: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue