1
0
Fork 0

[node] implement shipyard info retrieval and database caching

This commit is contained in:
Julien Dessaux 2024-05-20 22:50:33 +02:00
parent ccbfd9deb9
commit 4cb5c7853c
Signed by: adyxax
GPG key ID: F92E51B86E07177E
5 changed files with 81 additions and 10 deletions

View file

@ -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;