Reference · Rockets, variants, parts and the fit check
Figuretype
A number or a text with where it came from. A figure with no source is blank (value is null) and is never estimated. Where sources disagree, the figure keeps the one chosen and others holds the rest.
Import it
import type { Figure } from "@johnmorrisdotca/uchusen-rockets";
Definition
interface Figure<T = number> {
value: T | null;
source: SourceId | null;
date?: string;
note?: string;
brief?: string;
others?: readonly Disagreement<T>[];
}
Members
| Name | Type | Description |
|---|---|---|
value | T | null | |
source | "uchusen-design" | "wikipedia-starship" | "wikipedia-super-heavy" | "wikipedia-ship" | "wikipedia-flight-1" | "wikipedia-launches" | "wikipedia-raptor" | "spacex-starship" | "nsf-block3" | "ars-2024" | "satnews-v3" | "gunter" | "newspace-v1-v4" | "spacecom-mk1" | "r-spacex" | "wikipedia-falcon-1" | "spacex-falcon-1-guide" | "wikipedia-falcon-9" | "wikipedia-merlin" | "wikipedia-dragon-1" | "wikipedia-dragon-2" | "wikipedia-grasshopper" | "wikipedia-falcon-9-ft" | "wikipedia-falcon-9-block-5" | "wikipedia-saturn-v" | "wikipedia-apollo-csm" | "wikipedia-apollo-spacecraft" | "wikipedia-f-1" | "wikipedia-j-2" | "wikipedia-space-shuttle" | "wikipedia-shuttle-orbiter" | "wikipedia-shuttle-tank" | "sfn-cassiope" | "sfn-abs-eutelsat" | "wikipedia-abs-2a" | "wikipedia-be-4" | "wikipedia-be-3" | "wikipedia-rutherford" | "wikipedia-rd-107" | "wikipedia-kestrel" | "wikipedia-sls-srb" | "wikipedia-shuttle-srb" | "wikipedia-rs-25" | "wikipedia-sls" | "wikipedia-orion" | "wikipedia-esm" | "wikipedia-new-glenn" | "wikipedia-electron" | "wikipedia-soyuz-2" | "wikipedia-vulcan" | "wikipedia-ariane-6" | "wikipedia-asds" | "wikipedia-lz" | "wikipedia-slc-4" | "faa-pea-2022" | "wikipedia-starbase" | "openstreetmap" | "wikipedia-lunar-module" | "wikipedia-apollo-soyuz" | "wikipedia-soyuz-7k-tm" | "wikipedia-gemini" | "wikipedia-mercury" | "wikipedia-jupiter-c" | "wikipedia-iss" | "wikipedia-hubble" | "wikipedia-discovery" | "wikipedia-falcon-heavy" | "wikipedia-flight-5" | "wikipedia-flight-7" | "wikipedia-flight-12" | "wikipedia-fh-test-flight" | "wikipedia-landing-tests" | "sfn-crs-16" | "sfn-starlink-2019" | "sfn-flight-23" | "wikipedia-falcon-9-v1-0" | "sfn-cots1-timeline" | "sfn-cots1-presskit" | "sfn-flight-35" | "uchusen-fleet-ship-02" | "uchusen-fleet-kaminari-concepts" | "wikipedia-voyager-1" | null | |
date (optional) | string | undefined | The date the figure is from, where it has one. |
note (optional) | string | undefined | |
brief (optional) | string | undefined | A few words that must stay beside the value wherever it is shown, so it cannot be misread: "announced", "in this form". For a blank, what to say in place of a value. |
others (optional) | readonly Disagreement<T>[] | undefined |
Examples
import { variantOf, type Figure } from "@johnmorrisdotca/uchusen-rockets";
const height: Figure | undefined = variantOf("starship", "v3")?.facts.height;
console.log(height?.value, height?.source);124.4 wikipedia-starshipWhat it prints (run when this page was built)