summaryrefslogtreecommitdiff
path: root/nodejs/model/cargo.ts
diff options
context:
space:
mode:
authorJulien Dessaux2024-04-05 00:42:30 +0200
committerJulien Dessaux2024-04-07 23:01:52 +0200
commit234770b611df32178382b557df396db220070a7f (patch)
tree8c768846716eaf892ff75abe84d0f5c00e8519ff /nodejs/model/cargo.ts
parent[node] Fixed basic procurement trading loop (diff)
downloadspacetraders-234770b611df32178382b557df396db220070a7f.tar.gz
spacetraders-234770b611df32178382b557df396db220070a7f.tar.bz2
spacetraders-234770b611df32178382b557df396db220070a7f.zip
[node] Big Ships lib refactoring
Diffstat (limited to 'nodejs/model/cargo.ts')
-rw-r--r--nodejs/model/cargo.ts17
1 files changed, 0 insertions, 17 deletions
diff --git a/nodejs/model/cargo.ts b/nodejs/model/cargo.ts
deleted file mode 100644
index 869fa49..0000000
--- a/nodejs/model/cargo.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-export type Inventory = {
- description: string;
- name: string;
- symbol: string;
- units: number;
-};
-
-export type Cargo = {
- "capacity": number;
- "units": number;
- "inventory": Array<Inventory>;
-};
-
-// Custom type, not from space traders api
-export type CargoManifest = {
- [key: string]: number;
-};