summaryrefslogtreecommitdiff
path: root/nodejs/lib/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'nodejs/lib/types.ts')
-rw-r--r--nodejs/lib/types.ts23
1 files changed, 23 insertions, 0 deletions
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<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;