diff options
author | Julien Dessaux | 2024-03-27 15:20:14 +0100 |
---|---|---|
committer | Julien Dessaux | 2024-03-27 15:21:37 +0100 |
commit | a1d6b03ec98abbc073b5b73b631da6ea3eae4eb9 (patch) | |
tree | 1566c60bf1155e62821d9561ba1cc998b04b8ea5 /nodejs/model/ship.ts | |
parent | [all] fixed erroneous contracts index (diff) | |
download | spacetraders-a1d6b03ec98abbc073b5b73b631da6ea3eae4eb9.tar.gz spacetraders-a1d6b03ec98abbc073b5b73b631da6ea3eae4eb9.tar.bz2 spacetraders-a1d6b03ec98abbc073b5b73b631da6ea3eae4eb9.zip |
[node] finished the great typescript rewrite
Diffstat (limited to '')
-rw-r--r-- | nodejs/model/ship.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nodejs/model/ship.ts b/nodejs/model/ship.ts index 9aaf601..bf40767 100644 --- a/nodejs/model/ship.ts +++ b/nodejs/model/ship.ts @@ -25,6 +25,12 @@ export type Nav = { waypointSymbol: string; }; +export type Registration = { + factionSymbol: string; + name: string; + role: string; +}; + export type Route = { arrival: Date; departureTime: Date; @@ -51,6 +57,6 @@ export type Ship = { // mounts nav: Nav; // reactor - // registration + registration: Registration; symbol: string; }; |