From 4cb5c7853c75eb3d9e99a525065f0816ebb5dd62 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 20 May 2024 22:50:33 +0200 Subject: [node] implement shipyard info retrieval and database caching --- nodejs/lib/types.ts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'nodejs/lib/types.ts') diff --git a/nodejs/lib/types.ts b/nodejs/lib/types.ts index 4f15d70..e03e5a7 100644 --- a/nodejs/lib/types.ts +++ b/nodejs/lib/types.ts @@ -80,6 +80,29 @@ export type RouteEndpoint = { y: number; }; +export type Shipyard = { + modificationFee: number; + ships: Array; + shipTypes: Array<{type: string}>; + symbol: string; + //transactions: Array; +}; + +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; -- cgit v1.2.3