HubbleVisit型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Which visit to the Hubble Space Telescope a flight was: deployment (STS-31) or a servicing mission (SM1 to SM4; SM3A and SM3B are the two parts of the third).
インポート
import type { HubbleVisit } from "@johnmorrisdotca/chikyu-earth/satellites";
定義
type HubbleVisit = "deployment" | "SM1" | "SM2" | "SM3A" | "SM3B" | "SM4";
例
import { missions } from "@johnmorrisdotca/chikyu-earth/satellites";
console.log(missions().filter((one) => one.hubble).map((one) => `${one.name} ${one.hubble}`));[
'STS-31 deployment',
'STS-61 SM1',
'STS-82 SM2',
'STS-103 SM3A',
'STS-109 SM3B',
'STS-125 SM4'
]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。