CatalogueEntry型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
One satellite worth naming: its NORAD catalogue number (the number every source uses), its usual name, the group it is shown in, its orbit and a line on what it is.
インポート
import type { CatalogueEntry } from "@johnmorrisdotca/chikyu-earth/satellites";
定義
interface CatalogueEntry {
noradId: number;
name: string;
group: string;
orbit: OrbitKind;
about: string;
aboutJa: string;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
noradId | number | |
name | string | |
group | string | |
orbit | OrbitKind | |
about | string | |
aboutJa | string |
例
import { CATALOGUE } from "@johnmorrisdotca/chikyu-earth/satellites";
const oldest = CATALOGUE.find((entry) => entry.noradId === 5);
console.log(oldest?.name, oldest?.about);VANGUARD 1 A grapefruit-sized sphere launched on 17 March 1958: the oldest satellite still in orbit, on a long oval that takes it about 3,800 km out.出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。