@johnmorrisdotca/wakusei-planets 0.33.0 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/NOTICE.md +52 -0
  3. package/README.md +26 -3
  4. package/dist/approaches.d.ts +276 -0
  5. package/dist/approaches.js +255 -0
  6. package/dist/asteroids.d.ts +397 -0
  7. package/dist/asteroids.js +338 -0
  8. package/dist/comets.d.ts +316 -0
  9. package/dist/comets.js +404 -0
  10. package/dist/craft/bepicolombo.d.ts +1 -0
  11. package/dist/craft/bepicolombo.js +923 -0
  12. package/dist/craft/europaclipper.d.ts +1 -0
  13. package/dist/craft/europaclipper.js +342 -0
  14. package/dist/craft/hayabusa2.d.ts +1 -0
  15. package/dist/craft/hayabusa2.js +73 -0
  16. package/dist/craft/juice.d.ts +1 -0
  17. package/dist/craft/juice.js +40 -0
  18. package/dist/craft/lucy.d.ts +1 -0
  19. package/dist/craft/lucy.js +42 -0
  20. package/dist/craft/osirisapex.d.ts +1 -0
  21. package/dist/craft/osirisapex.js +69 -0
  22. package/dist/craft/psyche.d.ts +1 -0
  23. package/dist/craft/psyche.js +30 -0
  24. package/dist/craft/solarorbiter.d.ts +1 -0
  25. package/dist/craft/solarorbiter.js +94 -0
  26. package/dist/data/approaches.d.ts +17 -0
  27. package/dist/data/approaches.js +4192 -0
  28. package/dist/data/asteroids.d.ts +3 -0
  29. package/dist/data/asteroids.js +107 -0
  30. package/dist/data/comets.d.ts +2 -0
  31. package/dist/data/comets.js +36 -0
  32. package/dist/data/places-67p.d.ts +27 -0
  33. package/dist/data/places-67p.js +2 -0
  34. package/dist/data/places-ariel.d.ts +602 -0
  35. package/dist/data/places-ariel.js +27 -0
  36. package/dist/data/places-bennu.d.ts +25 -0
  37. package/dist/data/places-bennu.js +2 -0
  38. package/dist/data/places-callisto.d.ts +3547 -0
  39. package/dist/data/places-callisto.js +155 -0
  40. package/dist/data/places-ceres.d.ts +3436 -0
  41. package/dist/data/places-ceres.js +150 -0
  42. package/dist/data/places-charon.d.ts +349 -0
  43. package/dist/data/places-charon.js +16 -0
  44. package/dist/data/places-dimorphos.d.ts +23 -0
  45. package/dist/data/places-dimorphos.js +2 -0
  46. package/dist/data/places-dione.d.ts +2258 -0
  47. package/dist/data/places-dione.js +99 -0
  48. package/dist/data/places-enceladus.d.ts +2009 -0
  49. package/dist/data/places-enceladus.js +88 -0
  50. package/dist/data/places-eros.d.ts +26 -0
  51. package/dist/data/places-eros.js +2 -0
  52. package/dist/data/places-europa.d.ts +2977 -0
  53. package/dist/data/places-europa.js +130 -0
  54. package/dist/data/places-ganymede.d.ts +4518 -0
  55. package/dist/data/places-ganymede.js +197 -0
  56. package/dist/data/places-iapetus.d.ts +1616 -0
  57. package/dist/data/places-iapetus.js +71 -0
  58. package/dist/data/places-io.d.ts +6012 -0
  59. package/dist/data/places-io.js +262 -0
  60. package/dist/data/places-jupiter.d.ts +46 -0
  61. package/dist/data/places-jupiter.js +3 -0
  62. package/dist/data/places-mars.d.ts +20701 -0
  63. package/dist/data/places-mars.js +942 -0
  64. package/dist/data/places-mercury.d.ts +9256 -0
  65. package/dist/data/places-mercury.js +403 -0
  66. package/dist/data/places-mimas.d.ts +968 -0
  67. package/dist/data/places-mimas.js +43 -0
  68. package/dist/data/places-miranda.d.ts +419 -0
  69. package/dist/data/places-miranda.js +19 -0
  70. package/dist/data/places-moon.d.ts +18849 -0
  71. package/dist/data/places-moon.js +861 -0
  72. package/dist/data/places-oberon.d.ts +235 -0
  73. package/dist/data/places-oberon.js +11 -0
  74. package/dist/data/places-pluto.d.ts +1687 -0
  75. package/dist/data/places-pluto.js +74 -0
  76. package/dist/data/places-rhea.d.ts +3317 -0
  77. package/dist/data/places-rhea.js +145 -0
  78. package/dist/data/places-ryugu.d.ts +87 -0
  79. package/dist/data/places-ryugu.js +5 -0
  80. package/dist/data/places-saturn.d.ts +25 -0
  81. package/dist/data/places-saturn.js +2 -0
  82. package/dist/data/places-tempel-1.d.ts +25 -0
  83. package/dist/data/places-tempel-1.js +2 -0
  84. package/dist/data/places-tethys.d.ts +1222 -0
  85. package/dist/data/places-tethys.js +54 -0
  86. package/dist/data/places-titan.d.ts +7031 -0
  87. package/dist/data/places-titan.js +306 -0
  88. package/dist/data/places-titania.d.ts +418 -0
  89. package/dist/data/places-titania.js +19 -0
  90. package/dist/data/places-triton.d.ts +1457 -0
  91. package/dist/data/places-triton.js +64 -0
  92. package/dist/data/places-umbriel.d.ts +303 -0
  93. package/dist/data/places-umbriel.js +14 -0
  94. package/dist/data/places-venus.d.ts +9290 -0
  95. package/dist/data/places-venus.js +405 -0
  96. package/dist/data/places-vesta.d.ts +2444 -0
  97. package/dist/data/places-vesta.js +107 -0
  98. package/dist/data/roadster.d.ts +8 -0
  99. package/dist/data/roadster.js +686 -0
  100. package/dist/element.d.ts +10 -1
  101. package/dist/element.js +39 -4
  102. package/dist/places/67p.d.ts +13 -0
  103. package/dist/places/67p.js +14 -0
  104. package/dist/places/ariel.d.ts +13 -0
  105. package/dist/places/ariel.js +14 -0
  106. package/dist/places/bennu.d.ts +13 -0
  107. package/dist/places/bennu.js +14 -0
  108. package/dist/places/callisto.d.ts +13 -0
  109. package/dist/places/callisto.js +14 -0
  110. package/dist/places/ceres.d.ts +13 -0
  111. package/dist/places/ceres.js +14 -0
  112. package/dist/places/charon.d.ts +13 -0
  113. package/dist/places/charon.js +14 -0
  114. package/dist/places/dimorphos.d.ts +13 -0
  115. package/dist/places/dimorphos.js +14 -0
  116. package/dist/places/dione.d.ts +13 -0
  117. package/dist/places/dione.js +14 -0
  118. package/dist/places/enceladus.d.ts +13 -0
  119. package/dist/places/enceladus.js +14 -0
  120. package/dist/places/eros.d.ts +13 -0
  121. package/dist/places/eros.js +14 -0
  122. package/dist/places/europa.d.ts +13 -0
  123. package/dist/places/europa.js +14 -0
  124. package/dist/places/ganymede.d.ts +13 -0
  125. package/dist/places/ganymede.js +14 -0
  126. package/dist/places/iapetus.d.ts +13 -0
  127. package/dist/places/iapetus.js +14 -0
  128. package/dist/places/io.d.ts +13 -0
  129. package/dist/places/io.js +14 -0
  130. package/dist/places/jupiter.d.ts +13 -0
  131. package/dist/places/jupiter.js +14 -0
  132. package/dist/places/mars.d.ts +12 -0
  133. package/dist/places/mars.js +13 -0
  134. package/dist/places/mercury.d.ts +13 -0
  135. package/dist/places/mercury.js +14 -0
  136. package/dist/places/mimas.d.ts +13 -0
  137. package/dist/places/mimas.js +14 -0
  138. package/dist/places/miranda.d.ts +13 -0
  139. package/dist/places/miranda.js +14 -0
  140. package/dist/places/moon.d.ts +12 -0
  141. package/dist/places/moon.js +13 -0
  142. package/dist/places/oberon.d.ts +13 -0
  143. package/dist/places/oberon.js +14 -0
  144. package/dist/places/pluto.d.ts +13 -0
  145. package/dist/places/pluto.js +14 -0
  146. package/dist/places/rhea.d.ts +13 -0
  147. package/dist/places/rhea.js +14 -0
  148. package/dist/places/ryugu.d.ts +13 -0
  149. package/dist/places/ryugu.js +14 -0
  150. package/dist/places/saturn.d.ts +13 -0
  151. package/dist/places/saturn.js +14 -0
  152. package/dist/places/tempel-1.d.ts +13 -0
  153. package/dist/places/tempel-1.js +14 -0
  154. package/dist/places/tethys.d.ts +13 -0
  155. package/dist/places/tethys.js +14 -0
  156. package/dist/places/titan.d.ts +13 -0
  157. package/dist/places/titan.js +14 -0
  158. package/dist/places/titania.d.ts +13 -0
  159. package/dist/places/titania.js +14 -0
  160. package/dist/places/triton.d.ts +13 -0
  161. package/dist/places/triton.js +14 -0
  162. package/dist/places/umbriel.d.ts +13 -0
  163. package/dist/places/umbriel.js +14 -0
  164. package/dist/places/venus.d.ts +13 -0
  165. package/dist/places/venus.js +14 -0
  166. package/dist/places/vesta.d.ts +13 -0
  167. package/dist/places/vesta.js +14 -0
  168. package/dist/places.d.ts +354 -0
  169. package/dist/places.js +357 -0
  170. package/dist/plan/element.d.ts +52 -0
  171. package/dist/plan/element.js +258 -0
  172. package/dist/plan/index.d.ts +2 -0
  173. package/dist/plan/index.js +2 -0
  174. package/dist/plan/layout.d.ts +230 -0
  175. package/dist/plan/layout.js +229 -0
  176. package/dist/plan/svg.d.ts +125 -0
  177. package/dist/plan/svg.js +185 -0
  178. package/dist/roadster.d.ts +415 -0
  179. package/dist/roadster.js +496 -0
  180. package/dist/scene/body.d.ts +13 -2
  181. package/dist/scene/body.js +36 -0
  182. package/dist/scene/name-label.d.ts +116 -0
  183. package/dist/scene/name-label.js +232 -0
  184. package/dist/scene/painter.d.ts +30 -1
  185. package/dist/scene/painter.js +56 -4
  186. package/dist/scene/textures.d.ts +2 -2
  187. package/dist/space/beside.d.ts +4 -1
  188. package/dist/space/beside.js +47 -6
  189. package/dist/space/covered.d.ts +102 -0
  190. package/dist/space/covered.js +98 -0
  191. package/dist/space/element.d.ts +37 -1
  192. package/dist/space/element.js +151 -11
  193. package/dist/space/index.d.ts +1 -0
  194. package/dist/space/index.js +1 -0
  195. package/dist/space/scale.d.ts +2 -1
  196. package/dist/space/scale.js +13 -2
  197. package/dist/space/scene.d.ts +23 -1
  198. package/dist/space/scene.js +62 -21
  199. package/dist/spacecraft-facts.d.ts +4 -4
  200. package/dist/spacecraft-facts.js +158 -3
  201. package/dist/spacecraft.d.ts +69 -2
  202. package/dist/spacecraft.js +45 -2
  203. package/dist/textures/mimas-1024.webp +0 -0
  204. package/dist/textures/mimas-512.webp +0 -0
  205. package/dist/version.d.ts +1 -1
  206. package/dist/version.js +1 -1
  207. package/package.json +204 -2
package/dist/element.d.ts CHANGED
@@ -7,7 +7,8 @@ import type { Credit, DataSource } from "./data-door.ts";
7
7
  import { type DoorHost } from "./door/host.ts";
8
8
  export { TEXTURE_BASE, TEXTURE_FAR_BASE, TILES_BASE } from "./scene/textures.ts";
9
9
  import type { DetailStats } from "./scene/detail.ts";
10
- import { type ThreeParts } from "./scene/body.ts";
10
+ import { type BodyScene, type ThreeParts } from "./scene/body.ts";
11
+ import { type NameLabelOptions } from "./scene/name-label.ts";
11
12
  import { setThreeLoader } from "./scene/shared.ts";
12
13
  export { setThreeLoader };
13
14
  /**
@@ -33,6 +34,7 @@ export type WakuseiState = "line" | "loading" | "still" | "live" | "lost" | "una
33
34
  * `controls="none"` turns them off, and `live="off"` (a still, a thumbnail) starts without them (`controls` with no value brings them back). `zoom-min` and `zoom-max` set the range (0.1 to 50 for the line drawing; for the shaded looks 0.1 up to where the body's detail runs out, 8 at least and 1000 at most: see the close zoom guide); a `<kazoku-view-controls for="...">` takes over and reads it.
34
35
  * Close up, `tiles` is where the finer map tiles are (a folder address; `off` for none; by default the demo site's, unless `texture-base` names your own pictures): a window of them is laid over the painted map for the part in view and let go when it is not, and the zoom range of a body with tiles grows with them.
35
36
  * Whatever moves the view, `setView` sends a `wakusei-view` event with its `yaw`, `tilt`, `roll`, `zoom`, `panX` and `panY`.
37
+ * `body-label` writes the body's name on its globe in the shaded looks (`painted`, `etched`, `outline` or `burned`; absent for none), with `body-label-strength`, `-repeat`, `-latitude`, `-facing`, `-font` and `-fallback-font` beside it, and the `bodyLabel` property takes the same as an object: see the guide "A name on the body".
36
38
  * A dated picture (a `time`, or `moons`) has a clock: `rate` is the simulated seconds for each real second, and `rate="0"` holds it, drawing nothing. While it runs (`rate` not 0), `wakusei-timechange` carries
37
39
  * `detail: { time, running: true }` (`time` is the moment shown in milliseconds since 1970; four times a second, once a second at real time; only while the tab is shown, whether or not the picture is on screen), and once with
38
40
  * `running: false` when the clock is held: a page writes the date into its date box from it. The `time` property reads the moment shown, and `undefined` for a portrait with no date.
@@ -83,6 +85,12 @@ export declare class WakuseiBody extends HTMLElement {
83
85
  set star(numbers: StarNumbers | string | null | undefined);
84
86
  get star(): StarNumbers | undefined;
85
87
  get look(): Look;
88
+ /**
89
+ * The name written on the body's globe in the shaded looks, as an object (`{ look: "painted", strength: 0.5, repeat: "once", latitude: 0, facing: false, font: "Michroma", fallbackFont: "" }`), or `null` for none.
90
+ * Set, it takes the place of the `body-label` attributes; set to `undefined` the attributes are read again. The text is the body's own name in the element's `lang`, in capitals in English.
91
+ */
92
+ get bodyLabel(): NameLabelOptions | null;
93
+ set bodyLabel(value: NameLabelOptions | null | undefined);
86
94
  /** What the element is doing now. */
87
95
  get state(): WakuseiState;
88
96
  /** Numbers for a test or a status line: the state, the texture width in use and the renderer's own counts. */
@@ -93,6 +101,7 @@ export declare class WakuseiBody extends HTMLElement {
93
101
  renderer: SharedRenderer<ThreeParts>["stats"] | undefined;
94
102
  tiles: DetailStats | undefined;
95
103
  zoomMax: number | undefined;
104
+ label: BodyScene["label"] | null;
96
105
  };
97
106
  connectedCallback(): void;
98
107
  disconnectedCallback(): void;
package/dist/element.js CHANGED
@@ -17,6 +17,7 @@ import { ownCredit } from "./door/own.js";
17
17
  export { TEXTURE_BASE, TEXTURE_FAR_BASE, TILES_BASE } from "./scene/textures.js";
18
18
  import { mapWidthOf, ringWidthOf, zoomLimit } from "./scene/reach.js";
19
19
  import { createBodyItem } from "./scene/body.js";
20
+ import { NAME_LABEL_ATTRIBUTES, nameLabelKey, nameLabelText, readNameLabel } from "./scene/name-label.js";
20
21
  import { delegates, onRegister } from "./scene/store.js";
21
22
  import { setThreeLoader, takeRenderer } from "./scene/shared.js";
22
23
  import { turn as turnVec } from "./vec.js";
@@ -78,6 +79,7 @@ const TEMPLATE = `<style>
78
79
  * `controls="none"` turns them off, and `live="off"` (a still, a thumbnail) starts without them (`controls` with no value brings them back). `zoom-min` and `zoom-max` set the range (0.1 to 50 for the line drawing; for the shaded looks 0.1 up to where the body's detail runs out, 8 at least and 1000 at most: see the close zoom guide); a `<kazoku-view-controls for="...">` takes over and reads it.
79
80
  * Close up, `tiles` is where the finer map tiles are (a folder address; `off` for none; by default the demo site's, unless `texture-base` names your own pictures): a window of them is laid over the painted map for the part in view and let go when it is not, and the zoom range of a body with tiles grows with them.
80
81
  * Whatever moves the view, `setView` sends a `wakusei-view` event with its `yaw`, `tilt`, `roll`, `zoom`, `panX` and `panY`.
82
+ * `body-label` writes the body's name on its globe in the shaded looks (`painted`, `etched`, `outline` or `burned`; absent for none), with `body-label-strength`, `-repeat`, `-latitude`, `-facing`, `-font` and `-fallback-font` beside it, and the `bodyLabel` property takes the same as an object: see the guide "A name on the body".
81
83
  * A dated picture (a `time`, or `moons`) has a clock: `rate` is the simulated seconds for each real second, and `rate="0"` holds it, drawing nothing. While it runs (`rate` not 0), `wakusei-timechange` carries
82
84
  * `detail: { time, running: true }` (`time` is the moment shown in milliseconds since 1970; four times a second, once a second at real time; only while the tab is shown, whether or not the picture is on screen), and once with
83
85
  * `running: false` when the clock is held: a page writes the date into its date box from it. The `time` property reads the moment shown, and `undefined` for a portrait with no date.
@@ -94,7 +96,7 @@ const TEMPLATE = `<style>
94
96
  * ```
95
97
  */
96
98
  export class WakuseiBody extends HTMLElement {
97
- static observedAttributes = ["body", "star", "quality", ...STAR_ATTRS, "look", "size", "time", "tilt", "pitch", "phase", "meridian", "turn", "rate", "moons", "range", "scale-to", "span-km", "fit", "live", "texture-base", "texture-far-base", "tiles", "data", "lang", "labels"];
99
+ static observedAttributes = ["body", "star", "quality", ...STAR_ATTRS, "look", "size", "time", "tilt", "pitch", "phase", "meridian", "turn", "rate", "moons", "range", "scale-to", "span-km", "fit", "live", "texture-base", "texture-far-base", "tiles", "data", "lang", "labels", ...NAME_LABEL_ATTRIBUTES];
98
100
  #stage;
99
101
  #state = "line";
100
102
  #renderer;
@@ -135,6 +137,7 @@ export class WakuseiBody extends HTMLElement {
135
137
  #limitKey = "";
136
138
  #tileLevels;
137
139
  #tiles;
140
+ #bodyLabel;
138
141
  #door = createDoorHost(this, {
139
142
  own: () => {
140
143
  // the body's own pictures and, where a window of the package's own tiles is on it, those
@@ -241,13 +244,26 @@ export class WakuseiBody extends HTMLElement {
241
244
  get look() {
242
245
  return readLook(this.getAttribute("look"));
243
246
  }
247
+ /**
248
+ * The name written on the body's globe in the shaded looks, as an object (`{ look: "painted", strength: 0.5, repeat: "once", latitude: 0, facing: false, font: "Michroma", fallbackFont: "" }`), or `null` for none.
249
+ * Set, it takes the place of the `body-label` attributes; set to `undefined` the attributes are read again. The text is the body's own name in the element's `lang`, in capitals in English.
250
+ */
251
+ get bodyLabel() {
252
+ return this.#bodyLabel !== undefined ? this.#bodyLabel : readNameLabel(this);
253
+ }
254
+ set bodyLabel(value) {
255
+ this.#bodyLabel = value;
256
+ this.#labelHeld = undefined;
257
+ this.#lastAnchors = -1;
258
+ this.#queue();
259
+ }
244
260
  /** What the element is doing now. */
245
261
  get state() {
246
262
  return this.#state;
247
263
  }
248
264
  /** Numbers for a test or a status line: the state, the texture width in use and the renderer's own counts. */
249
265
  get stats() {
250
- return { state: this.#state, textureWidth: this.#textureWidth, anchors: this.#live.anchors, renderer: this.#renderer?.stats, tiles: this.#view?.scene?.detail ?? this.#tiles, zoomMax: this.#hands?.controller.limits.zoomMax };
266
+ return { state: this.#state, textureWidth: this.#textureWidth, anchors: this.#live.anchors, renderer: this.#renderer?.stats, tiles: this.#view?.scene?.detail ?? this.#tiles, zoomMax: this.#hands?.controller.limits.zoomMax, label: this.#view?.scene?.label ?? null };
251
267
  }
252
268
  connectedCallback() {
253
269
  const root = this.shadowRoot ?? this.attachShadow({ mode: "open" });
@@ -308,6 +324,9 @@ export class WakuseiBody extends HTMLElement {
308
324
  attributeChangedCallback(name) {
309
325
  if (!this.isConnected)
310
326
  return;
327
+ // the name on the globe is read again when its attributes, the body, a star's numbers or the language change
328
+ if (name === "body" || name === "star" || name === "lang" || NAME_LABEL_ATTRIBUTES.includes(name))
329
+ this.#labelHeld = undefined;
311
330
  if (name === "time" || name === "rate") {
312
331
  this.#clockFromAttributes();
313
332
  this.#syncClock(true);
@@ -509,7 +528,23 @@ export class WakuseiBody extends HTMLElement {
509
528
  const r = this.#request();
510
529
  const extent = this.#extent(r.moons);
511
530
  const moons = r.moons ? this.#moonsOf(frame, extent, tiltBy, roll) : undefined;
512
- return { pose, extent, sky: frame.time !== undefined, zoom: this.#zoom, panX: clampPan(this.#panX, extent, this.#zoom), panY: clampPan(this.#panY, extent, this.#zoom), moons };
531
+ const label = this.#labelNow();
532
+ return { pose, extent, sky: frame.time !== undefined, zoom: this.#zoom, panX: clampPan(this.#panX, extent, this.#zoom), panY: clampPan(this.#panY, extent, this.#zoom), moons, label };
533
+ }
534
+ #labelHeld;
535
+ /** The name on the globe the attributes or the property ask for, with its text in the element's language: the same object (and key) until something about it changes, so a draw compares by reference. */
536
+ #labelNow() {
537
+ return this.#labelHeld === undefined ? (this.#labelHeld = this.#readLabel()).options : this.#labelHeld.options;
538
+ }
539
+ #labelKey() {
540
+ return (this.#labelHeld ??= this.#readLabel()).key;
541
+ }
542
+ #readLabel() {
543
+ const options = this.bodyLabel;
544
+ if (options === null)
545
+ return { options: null, key: "" };
546
+ const text = nameLabelText(this.#facts().name, this.getAttribute("lang") === "ja" ? "ja" : "en");
547
+ return { options: { ...options, text }, key: nameLabelKey(text, options) };
513
548
  }
514
549
  /** Body radii from the middle of the picture to its edge at zoom 1, for the attributes now. */
515
550
  #extent(moons) {
@@ -733,7 +768,7 @@ export class WakuseiBody extends HTMLElement {
733
768
  }
734
769
  #key(state) {
735
770
  const moons = (state.moons ?? []).map((m) => `${m.id}:${m.x.toFixed(1)},${m.y.toFixed(1)}`).join(";");
736
- return `${this.#star()?.key ?? this.body}|${this.look}|${vectorKey(state.pose.pole)}|${vectorKey(state.pose.meridian)}|${vectorKey(state.pose.light)}|${state.extent.toFixed(2)}|${state.zoom.toFixed(2)}|${state.panX.toFixed(2)},${state.panY.toFixed(2)}|${moons}`;
771
+ return `${this.#star()?.key ?? this.body}|${this.look}|${vectorKey(state.pose.pole)}|${vectorKey(state.pose.meridian)}|${vectorKey(state.pose.light)}|${state.extent.toFixed(2)}|${state.zoom.toFixed(2)}|${state.panX.toFixed(2)},${state.panY.toFixed(2)}|${moons}|${this.#labelKey()}`;
737
772
  }
738
773
  // Replacing a view keeps the renderer lease; leaving 3D gives it back.
739
774
  #disposeView(releaseRenderer = false) {
@@ -0,0 +1,13 @@
1
+ import type { Place } from "../places.ts";
2
+ /**
3
+ * Every place on 67P/Churyumov-Gerasimenko the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
4
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
5
+ *
6
+ * @example
7
+ * ```ts
8
+ * import { PLACES_67P } from "@johnmorrisdotca/wakusei-planets/places/67p";
9
+ *
10
+ * console.log(PLACES_67P.length, "places;", PLACES_67P.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
11
+ * ```
12
+ */
13
+ export declare const PLACES_67P: readonly Place[];
@@ -0,0 +1,14 @@
1
+ // The places on 67P/Churyumov-Gerasimenko: a single list. See `/places` for the record's shape and the lookups.
2
+ import { PLACES_67P as DATA } from "../data/places-67p.js";
3
+ /**
4
+ * Every place on 67P/Churyumov-Gerasimenko the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
5
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * import { PLACES_67P } from "@johnmorrisdotca/wakusei-planets/places/67p";
10
+ *
11
+ * console.log(PLACES_67P.length, "places;", PLACES_67P.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
12
+ * ```
13
+ */
14
+ export const PLACES_67P = DATA;
@@ -0,0 +1,13 @@
1
+ import type { Place } from "../places.ts";
2
+ /**
3
+ * Every place on Ariel the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
4
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
5
+ *
6
+ * @example
7
+ * ```ts
8
+ * import { PLACES_ARIEL } from "@johnmorrisdotca/wakusei-planets/places/ariel";
9
+ *
10
+ * console.log(PLACES_ARIEL.length, "places;", PLACES_ARIEL.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
11
+ * ```
12
+ */
13
+ export declare const PLACES_ARIEL: readonly Place[];
@@ -0,0 +1,14 @@
1
+ // The places on Ariel: a single list. See `/places` for the record's shape and the lookups.
2
+ import { PLACES_ARIEL as DATA } from "../data/places-ariel.js";
3
+ /**
4
+ * Every place on Ariel the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
5
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * import { PLACES_ARIEL } from "@johnmorrisdotca/wakusei-planets/places/ariel";
10
+ *
11
+ * console.log(PLACES_ARIEL.length, "places;", PLACES_ARIEL.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
12
+ * ```
13
+ */
14
+ export const PLACES_ARIEL = DATA;
@@ -0,0 +1,13 @@
1
+ import type { Place } from "../places.ts";
2
+ /**
3
+ * Every place on Bennu the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
4
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
5
+ *
6
+ * @example
7
+ * ```ts
8
+ * import { PLACES_BENNU } from "@johnmorrisdotca/wakusei-planets/places/bennu";
9
+ *
10
+ * console.log(PLACES_BENNU.length, "places;", PLACES_BENNU.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
11
+ * ```
12
+ */
13
+ export declare const PLACES_BENNU: readonly Place[];
@@ -0,0 +1,14 @@
1
+ // The places on Bennu: a single list. See `/places` for the record's shape and the lookups.
2
+ import { PLACES_BENNU as DATA } from "../data/places-bennu.js";
3
+ /**
4
+ * Every place on Bennu the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
5
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * import { PLACES_BENNU } from "@johnmorrisdotca/wakusei-planets/places/bennu";
10
+ *
11
+ * console.log(PLACES_BENNU.length, "places;", PLACES_BENNU.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
12
+ * ```
13
+ */
14
+ export const PLACES_BENNU = DATA;
@@ -0,0 +1,13 @@
1
+ import type { Place } from "../places.ts";
2
+ /**
3
+ * Every place on Callisto the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
4
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
5
+ *
6
+ * @example
7
+ * ```ts
8
+ * import { PLACES_CALLISTO } from "@johnmorrisdotca/wakusei-planets/places/callisto";
9
+ *
10
+ * console.log(PLACES_CALLISTO.length, "places;", PLACES_CALLISTO.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
11
+ * ```
12
+ */
13
+ export declare const PLACES_CALLISTO: readonly Place[];
@@ -0,0 +1,14 @@
1
+ // The places on Callisto: a single list. See `/places` for the record's shape and the lookups.
2
+ import { PLACES_CALLISTO as DATA } from "../data/places-callisto.js";
3
+ /**
4
+ * Every place on Callisto the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
5
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * import { PLACES_CALLISTO } from "@johnmorrisdotca/wakusei-planets/places/callisto";
10
+ *
11
+ * console.log(PLACES_CALLISTO.length, "places;", PLACES_CALLISTO.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
12
+ * ```
13
+ */
14
+ export const PLACES_CALLISTO = DATA;
@@ -0,0 +1,13 @@
1
+ import type { Place } from "../places.ts";
2
+ /**
3
+ * Every place on Ceres the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
4
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
5
+ *
6
+ * @example
7
+ * ```ts
8
+ * import { PLACES_CERES } from "@johnmorrisdotca/wakusei-planets/places/ceres";
9
+ *
10
+ * console.log(PLACES_CERES.length, "places;", PLACES_CERES.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
11
+ * ```
12
+ */
13
+ export declare const PLACES_CERES: readonly Place[];
@@ -0,0 +1,14 @@
1
+ // The places on Ceres: a single list. See `/places` for the record's shape and the lookups.
2
+ import { PLACES_CERES as DATA } from "../data/places-ceres.js";
3
+ /**
4
+ * Every place on Ceres the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
5
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * import { PLACES_CERES } from "@johnmorrisdotca/wakusei-planets/places/ceres";
10
+ *
11
+ * console.log(PLACES_CERES.length, "places;", PLACES_CERES.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
12
+ * ```
13
+ */
14
+ export const PLACES_CERES = DATA;
@@ -0,0 +1,13 @@
1
+ import type { Place } from "../places.ts";
2
+ /**
3
+ * Every place on Charon the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
4
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
5
+ *
6
+ * @example
7
+ * ```ts
8
+ * import { PLACES_CHARON } from "@johnmorrisdotca/wakusei-planets/places/charon";
9
+ *
10
+ * console.log(PLACES_CHARON.length, "places;", PLACES_CHARON.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
11
+ * ```
12
+ */
13
+ export declare const PLACES_CHARON: readonly Place[];
@@ -0,0 +1,14 @@
1
+ // The places on Charon: a single list. See `/places` for the record's shape and the lookups.
2
+ import { PLACES_CHARON as DATA } from "../data/places-charon.js";
3
+ /**
4
+ * Every place on Charon the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
5
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * import { PLACES_CHARON } from "@johnmorrisdotca/wakusei-planets/places/charon";
10
+ *
11
+ * console.log(PLACES_CHARON.length, "places;", PLACES_CHARON.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
12
+ * ```
13
+ */
14
+ export const PLACES_CHARON = DATA;
@@ -0,0 +1,13 @@
1
+ import type { Place } from "../places.ts";
2
+ /**
3
+ * Every place on Dimorphos the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
4
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
5
+ *
6
+ * @example
7
+ * ```ts
8
+ * import { PLACES_DIMORPHOS } from "@johnmorrisdotca/wakusei-planets/places/dimorphos";
9
+ *
10
+ * console.log(PLACES_DIMORPHOS.length, "places;", PLACES_DIMORPHOS.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
11
+ * ```
12
+ */
13
+ export declare const PLACES_DIMORPHOS: readonly Place[];
@@ -0,0 +1,14 @@
1
+ // The places on Dimorphos: a single list. See `/places` for the record's shape and the lookups.
2
+ import { PLACES_DIMORPHOS as DATA } from "../data/places-dimorphos.js";
3
+ /**
4
+ * Every place on Dimorphos the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
5
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * import { PLACES_DIMORPHOS } from "@johnmorrisdotca/wakusei-planets/places/dimorphos";
10
+ *
11
+ * console.log(PLACES_DIMORPHOS.length, "places;", PLACES_DIMORPHOS.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
12
+ * ```
13
+ */
14
+ export const PLACES_DIMORPHOS = DATA;
@@ -0,0 +1,13 @@
1
+ import type { Place } from "../places.ts";
2
+ /**
3
+ * Every place on Dione the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
4
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
5
+ *
6
+ * @example
7
+ * ```ts
8
+ * import { PLACES_DIONE } from "@johnmorrisdotca/wakusei-planets/places/dione";
9
+ *
10
+ * console.log(PLACES_DIONE.length, "places;", PLACES_DIONE.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
11
+ * ```
12
+ */
13
+ export declare const PLACES_DIONE: readonly Place[];
@@ -0,0 +1,14 @@
1
+ // The places on Dione: a single list. See `/places` for the record's shape and the lookups.
2
+ import { PLACES_DIONE as DATA } from "../data/places-dione.js";
3
+ /**
4
+ * Every place on Dione the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
5
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * import { PLACES_DIONE } from "@johnmorrisdotca/wakusei-planets/places/dione";
10
+ *
11
+ * console.log(PLACES_DIONE.length, "places;", PLACES_DIONE.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
12
+ * ```
13
+ */
14
+ export const PLACES_DIONE = DATA;
@@ -0,0 +1,13 @@
1
+ import type { Place } from "../places.ts";
2
+ /**
3
+ * Every place on Enceladus the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
4
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
5
+ *
6
+ * @example
7
+ * ```ts
8
+ * import { PLACES_ENCELADUS } from "@johnmorrisdotca/wakusei-planets/places/enceladus";
9
+ *
10
+ * console.log(PLACES_ENCELADUS.length, "places;", PLACES_ENCELADUS.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
11
+ * ```
12
+ */
13
+ export declare const PLACES_ENCELADUS: readonly Place[];
@@ -0,0 +1,14 @@
1
+ // The places on Enceladus: a single list. See `/places` for the record's shape and the lookups.
2
+ import { PLACES_ENCELADUS as DATA } from "../data/places-enceladus.js";
3
+ /**
4
+ * Every place on Enceladus the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
5
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * import { PLACES_ENCELADUS } from "@johnmorrisdotca/wakusei-planets/places/enceladus";
10
+ *
11
+ * console.log(PLACES_ENCELADUS.length, "places;", PLACES_ENCELADUS.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
12
+ * ```
13
+ */
14
+ export const PLACES_ENCELADUS = DATA;
@@ -0,0 +1,13 @@
1
+ import type { Place } from "../places.ts";
2
+ /**
3
+ * Every place on Eros the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
4
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
5
+ *
6
+ * @example
7
+ * ```ts
8
+ * import { PLACES_EROS } from "@johnmorrisdotca/wakusei-planets/places/eros";
9
+ *
10
+ * console.log(PLACES_EROS.length, "places;", PLACES_EROS.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
11
+ * ```
12
+ */
13
+ export declare const PLACES_EROS: readonly Place[];
@@ -0,0 +1,14 @@
1
+ // The places on Eros: a single list. See `/places` for the record's shape and the lookups.
2
+ import { PLACES_EROS as DATA } from "../data/places-eros.js";
3
+ /**
4
+ * Every place on Eros the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
5
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * import { PLACES_EROS } from "@johnmorrisdotca/wakusei-planets/places/eros";
10
+ *
11
+ * console.log(PLACES_EROS.length, "places;", PLACES_EROS.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
12
+ * ```
13
+ */
14
+ export const PLACES_EROS = DATA;
@@ -0,0 +1,13 @@
1
+ import type { Place } from "../places.ts";
2
+ /**
3
+ * Every place on Europa the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
4
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
5
+ *
6
+ * @example
7
+ * ```ts
8
+ * import { PLACES_EUROPA } from "@johnmorrisdotca/wakusei-planets/places/europa";
9
+ *
10
+ * console.log(PLACES_EUROPA.length, "places;", PLACES_EUROPA.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
11
+ * ```
12
+ */
13
+ export declare const PLACES_EUROPA: readonly Place[];
@@ -0,0 +1,14 @@
1
+ // The places on Europa: a single list. See `/places` for the record's shape and the lookups.
2
+ import { PLACES_EUROPA as DATA } from "../data/places-europa.js";
3
+ /**
4
+ * Every place on Europa the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
5
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * import { PLACES_EUROPA } from "@johnmorrisdotca/wakusei-planets/places/europa";
10
+ *
11
+ * console.log(PLACES_EUROPA.length, "places;", PLACES_EUROPA.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
12
+ * ```
13
+ */
14
+ export const PLACES_EUROPA = DATA;
@@ -0,0 +1,13 @@
1
+ import type { Place } from "../places.ts";
2
+ /**
3
+ * Every place on Ganymede the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
4
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
5
+ *
6
+ * @example
7
+ * ```ts
8
+ * import { PLACES_GANYMEDE } from "@johnmorrisdotca/wakusei-planets/places/ganymede";
9
+ *
10
+ * console.log(PLACES_GANYMEDE.length, "places;", PLACES_GANYMEDE.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
11
+ * ```
12
+ */
13
+ export declare const PLACES_GANYMEDE: readonly Place[];
@@ -0,0 +1,14 @@
1
+ // The places on Ganymede: a single list. See `/places` for the record's shape and the lookups.
2
+ import { PLACES_GANYMEDE as DATA } from "../data/places-ganymede.js";
3
+ /**
4
+ * Every place on Ganymede the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
5
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * import { PLACES_GANYMEDE } from "@johnmorrisdotca/wakusei-planets/places/ganymede";
10
+ *
11
+ * console.log(PLACES_GANYMEDE.length, "places;", PLACES_GANYMEDE.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
12
+ * ```
13
+ */
14
+ export const PLACES_GANYMEDE = DATA;
@@ -0,0 +1,13 @@
1
+ import type { Place } from "../places.ts";
2
+ /**
3
+ * Every place on Iapetus the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
4
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
5
+ *
6
+ * @example
7
+ * ```ts
8
+ * import { PLACES_IAPETUS } from "@johnmorrisdotca/wakusei-planets/places/iapetus";
9
+ *
10
+ * console.log(PLACES_IAPETUS.length, "places;", PLACES_IAPETUS.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
11
+ * ```
12
+ */
13
+ export declare const PLACES_IAPETUS: readonly Place[];
@@ -0,0 +1,14 @@
1
+ // The places on Iapetus: a single list. See `/places` for the record's shape and the lookups.
2
+ import { PLACES_IAPETUS as DATA } from "../data/places-iapetus.js";
3
+ /**
4
+ * Every place on Iapetus the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
5
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * import { PLACES_IAPETUS } from "@johnmorrisdotca/wakusei-planets/places/iapetus";
10
+ *
11
+ * console.log(PLACES_IAPETUS.length, "places;", PLACES_IAPETUS.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
12
+ * ```
13
+ */
14
+ export const PLACES_IAPETUS = DATA;
@@ -0,0 +1,13 @@
1
+ import type { Place } from "../places.ts";
2
+ /**
3
+ * Every place on Io the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
4
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
5
+ *
6
+ * @example
7
+ * ```ts
8
+ * import { PLACES_IO } from "@johnmorrisdotca/wakusei-planets/places/io";
9
+ *
10
+ * console.log(PLACES_IO.length, "places;", PLACES_IO.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
11
+ * ```
12
+ */
13
+ export declare const PLACES_IO: readonly Place[];
@@ -0,0 +1,14 @@
1
+ // The places on Io: a single list. See `/places` for the record's shape and the lookups.
2
+ import { PLACES_IO as DATA } from "../data/places-io.js";
3
+ /**
4
+ * Every place on Io the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
5
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * import { PLACES_IO } from "@johnmorrisdotca/wakusei-planets/places/io";
10
+ *
11
+ * console.log(PLACES_IO.length, "places;", PLACES_IO.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
12
+ * ```
13
+ */
14
+ export const PLACES_IO = DATA;
@@ -0,0 +1,13 @@
1
+ import type { Place } from "../places.ts";
2
+ /**
3
+ * Every place on Jupiter the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
4
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
5
+ *
6
+ * @example
7
+ * ```ts
8
+ * import { PLACES_JUPITER } from "@johnmorrisdotca/wakusei-planets/places/jupiter";
9
+ *
10
+ * console.log(PLACES_JUPITER.length, "places;", PLACES_JUPITER.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
11
+ * ```
12
+ */
13
+ export declare const PLACES_JUPITER: readonly Place[];
@@ -0,0 +1,14 @@
1
+ // The places on Jupiter: a single list. See `/places` for the record's shape and the lookups.
2
+ import { PLACES_JUPITER as DATA } from "../data/places-jupiter.js";
3
+ /**
4
+ * Every place on Jupiter the package knows: the sites first, by date, then the named features by size (a feature's `diameterKm` is 0 where the Gazetteer gives no size). A place's `kind` says what it is
5
+ * (`placesOfKind` from `/places` picks by it); `famous` marks the ones a page can suggest.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * import { PLACES_JUPITER } from "@johnmorrisdotca/wakusei-planets/places/jupiter";
10
+ *
11
+ * console.log(PLACES_JUPITER.length, "places;", PLACES_JUPITER.filter((place) => place.famous).map((place) => place.name.en).slice(0, 3).join(", "));
12
+ * ```
13
+ */
14
+ export const PLACES_JUPITER = DATA;
@@ -0,0 +1,12 @@
1
+ import type { Place } from "../places.ts";
2
+ /**
3
+ * Every place on the Mars the package knows: the sites first, by date, then the named features by size. A place's `kind` says what it is (`placesOfKind` from `/places` picks by it).
4
+ *
5
+ * @example
6
+ * ```ts
7
+ * import { PLACES_MARS } from "@johnmorrisdotca/wakusei-planets/places/mars";
8
+ *
9
+ * console.log(PLACES_MARS.length, "places;", PLACES_MARS.filter((place) => place.kind === "landing").length, "landings");
10
+ * ```
11
+ */
12
+ export declare const PLACES_MARS: readonly Place[];