Reference · Rockets, variants, parts and the fit check
ShipMarkstype
One ship's public lettering. registry is null where John has not given the number yet: the hull then shows a placeholder.
Import it
import type { ShipMarks } from "@johnmorrisdotca/uchusen-rockets";
Definition
interface ShipMarks {
id: string;
prefix: string;
name: string;
kanji: string;
registry: string | null;
classLine: {
latin: string;
kanji: string;
} | null;
}
Members
| Name | Type | Description |
|---|---|---|
id | string | |
prefix | string | |
name | string | |
kanji | string | |
registry | string | null | The registry, |
classLine | { latin: string; kanji: string; } | null | The class written on the hull, or null. |
Examples
import { FLEET_MARKS, type ShipMarks } from "@johnmorrisdotca/uchusen-rockets";
const kaminari: ShipMarks = FLEET_MARKS.ships.kaminari;
console.log(kaminari.name, kaminari.registry);KAMINARI SPX-207What it prints (run when this page was built)