リファレンス · ギャラリーや一覧のための豆知識 (意味・半球・見ごろの月・由来・見つけやすさ・アステリズム・流星群)
ConstellationFacts型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The facts about one constellation.
インポート
import type { ConstellationFacts } from "@johnmorrisdotca/hoshi-stars/constellation-facts";
定義
interface ConstellationFacts {
constellation: Constellation;
meaning: Words;
hemisphere: Hemisphere;
bestMonth: number;
origin: Origin;
designer: Words;
year: number;
difficulty: Difficulty;
asterisms: Words[];
meteorShowers: MeteorShower[];
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
constellation | Constellation | The constellation. |
meaning | Words | What the name means: the English name is the one in |
hemisphere | Hemisphere | The half of the sky it lies in. |
bestMonth | number | The month, 1 to 12, in which it is highest in the evening sky (about 21:00 by the Sun, the 15th). |
origin | Origin | The group it was made in. |
designer | Words | Who made it. |
year | number | The year it was made (about 150 for Ptolemy's). |
difficulty | Difficulty | How easy it is to find. |
asterisms | Words[] | Patterns of stars that use it and are not constellations (the Big Dipper, the Summer Triangle). |
meteorShowers | MeteorShower[] | The meteor showers whose radiant lies in it, in date order. |
例
import { constellationFacts, type ConstellationFacts } from "@johnmorrisdotca/hoshi-stars/constellation-facts";
const orion: ConstellationFacts = constellationFacts("Ori");
console.log(orion.constellation.name, orion.hemisphere, orion.bestMonth, orion.difficulty);Orion both 1 easy出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。