Reference · Journey mode: transfers, launch windows and flip-and-burn trips
Stagetype
What of a rocket is still there at one point of a trip, drawn with the rocket's own parts: the whole rocket, or the slots that are left, of the rocket and variant named.
Import it
import type { Stage } from "@johnmorrisdotca/uchusen-rockets/journey";
Definition
interface Stage {
rocket: string;
variant: string;
slots: readonly string[] | null;
name: string;
}
Members
| Name | Type | Description |
|---|---|---|
rocket | string | |
variant | string | |
slots | readonly string[] | null | The slots that are left, closed up into one stack; null for the whole rocket. |
name | string |
Examples
import type { Stage } from "@johnmorrisdotca/uchusen-rockets/journey";
const left: Stage = { rocket: "saturn-v", variant: "saturn-v", slots: ["service-module", "capsule"], name: "Apollo command and service module" };
console.log(left.name);Apollo command and service moduleWhat it prints (run when this page was built)