@ksp-gonogo/sitrep-sdk 1.0.0-rc.21 → 2.0.0-rc.23

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 (489) hide show
  1. package/README.md +6 -0
  2. package/dist/__generated__/command-map.d.ts +140 -11
  3. package/dist/__generated__/command-map.d.ts.map +1 -1
  4. package/dist/__generated__/command-map.js +6 -3
  5. package/dist/__generated__/command-map.js.map +1 -1
  6. package/dist/__generated__/contract.d.ts +591 -425
  7. package/dist/__generated__/contract.d.ts.map +1 -1
  8. package/dist/__generated__/contract.js +34 -4
  9. package/dist/__generated__/contract.js.map +1 -1
  10. package/dist/__generated__/error-codes.d.ts +46 -55
  11. package/dist/__generated__/error-codes.d.ts.map +1 -1
  12. package/dist/__generated__/error-codes.js +76 -69
  13. package/dist/__generated__/error-codes.js.map +1 -1
  14. package/dist/__generated__/test-theme.d.ts +3 -0
  15. package/dist/__generated__/test-theme.d.ts.map +1 -1
  16. package/dist/__generated__/test-theme.js +3 -0
  17. package/dist/__generated__/test-theme.js.map +1 -1
  18. package/dist/__generated__/topic-map.d.ts +90 -2
  19. package/dist/__generated__/topic-map.d.ts.map +1 -1
  20. package/dist/__generated__/topic-map.js +2 -0
  21. package/dist/__generated__/topic-map.js.map +1 -1
  22. package/dist/__generated__/units.d.ts.map +1 -1
  23. package/dist/__generated__/units.js +89 -47
  24. package/dist/__generated__/units.js.map +1 -1
  25. package/dist/api/alarm-request.d.ts +6 -1
  26. package/dist/api/alarm-request.d.ts.map +1 -1
  27. package/dist/api/alarm-request.js +7 -1
  28. package/dist/api/alarm-request.js.map +1 -1
  29. package/dist/api/contribution-slots.d.ts +87 -17
  30. package/dist/api/contribution-slots.d.ts.map +1 -1
  31. package/dist/api/coverage/CoverageMaskCache.d.ts +1 -1
  32. package/dist/api/coverage/CoverageMaskCache.js +1 -1
  33. package/dist/api/coverage-source.d.ts +3 -1
  34. package/dist/api/coverage-source.d.ts.map +1 -1
  35. package/dist/api/coverage-source.js +3 -1
  36. package/dist/api/coverage-source.js.map +1 -1
  37. package/dist/api/framework-reads.d.ts +20 -0
  38. package/dist/api/framework-reads.d.ts.map +1 -0
  39. package/dist/api/framework-reads.js +30 -0
  40. package/dist/api/framework-reads.js.map +1 -0
  41. package/dist/api/host.d.ts +8 -5
  42. package/dist/api/host.d.ts.map +1 -1
  43. package/dist/api/host.js.map +1 -1
  44. package/dist/api/index.d.ts +96 -17
  45. package/dist/api/index.d.ts.map +1 -1
  46. package/dist/api/index.js +91 -10
  47. package/dist/api/index.js.map +1 -1
  48. package/dist/api/logger.d.ts +14 -2
  49. package/dist/api/logger.d.ts.map +1 -1
  50. package/dist/api/logger.js +14 -2
  51. package/dist/api/logger.js.map +1 -1
  52. package/dist/api/plot-layers.d.ts +81 -6
  53. package/dist/api/plot-layers.d.ts.map +1 -1
  54. package/dist/api/plot-layers.js +4 -3
  55. package/dist/api/plot-layers.js.map +1 -1
  56. package/dist/api/plots.d.ts +19 -0
  57. package/dist/api/plots.d.ts.map +1 -1
  58. package/dist/api/registry.d.ts +11 -0
  59. package/dist/api/registry.d.ts.map +1 -1
  60. package/dist/api/registry.js.map +1 -1
  61. package/dist/api/settings/SettingsContext.d.ts +5 -4
  62. package/dist/api/settings/SettingsContext.d.ts.map +1 -1
  63. package/dist/api/settings/SettingsContext.js +13 -4
  64. package/dist/api/settings/SettingsContext.js.map +1 -1
  65. package/dist/api/settings/SettingsService.d.ts +3 -0
  66. package/dist/api/settings/SettingsService.d.ts.map +1 -1
  67. package/dist/api/settings/SettingsService.js +3 -0
  68. package/dist/api/settings/SettingsService.js.map +1 -1
  69. package/dist/api/settings/store.d.ts +3 -1
  70. package/dist/api/settings/store.d.ts.map +1 -1
  71. package/dist/api/settings/store.js +3 -1
  72. package/dist/api/settings/store.js.map +1 -1
  73. package/dist/api/slots.d.ts +94 -17
  74. package/dist/api/slots.d.ts.map +1 -1
  75. package/dist/api/station-brokers.d.ts +2 -1
  76. package/dist/api/station-brokers.d.ts.map +1 -1
  77. package/dist/api/station-brokers.js +2 -1
  78. package/dist/api/station-brokers.js.map +1 -1
  79. package/dist/api/stock-bodies.d.ts.map +1 -1
  80. package/dist/api/stock-bodies.js +6 -0
  81. package/dist/api/stock-bodies.js.map +1 -1
  82. package/dist/api/tiny-size.d.ts +2 -0
  83. package/dist/api/tiny-size.d.ts.map +1 -1
  84. package/dist/api/tiny-size.js +6 -1
  85. package/dist/api/tiny-size.js.map +1 -1
  86. package/dist/api/tone.d.ts +7 -4
  87. package/dist/api/tone.d.ts.map +1 -1
  88. package/dist/api/tone.js.map +1 -1
  89. package/dist/api/transport.d.ts +10 -2
  90. package/dist/api/transport.d.ts.map +1 -1
  91. package/dist/api/types.d.ts +179 -120
  92. package/dist/api/types.d.ts.map +1 -1
  93. package/dist/binary-frame.d.ts +26 -25
  94. package/dist/binary-frame.d.ts.map +1 -1
  95. package/dist/binary-frame.js +25 -25
  96. package/dist/binary-frame.js.map +1 -1
  97. package/dist/client.d.ts.map +1 -1
  98. package/dist/client.js +2 -0
  99. package/dist/client.js.map +1 -1
  100. package/dist/combine-readings.d.ts +8 -4
  101. package/dist/combine-readings.d.ts.map +1 -1
  102. package/dist/combine-readings.js +6 -4
  103. package/dist/combine-readings.js.map +1 -1
  104. package/dist/command-delay.d.ts +6 -0
  105. package/dist/command-delay.d.ts.map +1 -1
  106. package/dist/command-delay.js.map +1 -1
  107. package/dist/commands.d.ts +1 -1
  108. package/dist/commands.d.ts.map +1 -1
  109. package/dist/compat-versions.d.ts +1 -1
  110. package/dist/compat-versions.d.ts.map +1 -1
  111. package/dist/compat-versions.js +2 -2
  112. package/dist/compat-versions.js.map +1 -1
  113. package/dist/contract-enum-names.d.ts +2 -3
  114. package/dist/contract-enum-names.d.ts.map +1 -1
  115. package/dist/contract-enum-names.js +2 -3
  116. package/dist/contract-enum-names.js.map +1 -1
  117. package/dist/enum-names.d.ts +5 -3
  118. package/dist/enum-names.d.ts.map +1 -1
  119. package/dist/enum-names.js +5 -3
  120. package/dist/enum-names.js.map +1 -1
  121. package/dist/envelope.d.ts +3 -3
  122. package/dist/envelope.d.ts.map +1 -1
  123. package/dist/flight/BufferedDataSource.d.ts.map +1 -1
  124. package/dist/flight/BufferedDataSource.js +4 -2
  125. package/dist/flight/BufferedDataSource.js.map +1 -1
  126. package/dist/flight/types.d.ts +3 -2
  127. package/dist/flight/types.d.ts.map +1 -1
  128. package/dist/frames/index.d.ts +19 -17
  129. package/dist/frames/index.d.ts.map +1 -1
  130. package/dist/frames/index.js +13 -12
  131. package/dist/frames/index.js.map +1 -1
  132. package/dist/index.d.ts +20 -3
  133. package/dist/index.d.ts.map +1 -1
  134. package/dist/index.js +18 -3
  135. package/dist/index.js.map +1 -1
  136. package/dist/ksp-enum-names.d.ts +23 -8
  137. package/dist/ksp-enum-names.d.ts.map +1 -1
  138. package/dist/ksp-enum-names.js +20 -8
  139. package/dist/ksp-enum-names.js.map +1 -1
  140. package/dist/media/radio-support.d.ts +12 -3
  141. package/dist/media/radio-support.d.ts.map +1 -1
  142. package/dist/media/radio-support.js +12 -3
  143. package/dist/media/radio-support.js.map +1 -1
  144. package/dist/perf/PerfBudget.d.ts +7 -5
  145. package/dist/perf/PerfBudget.d.ts.map +1 -1
  146. package/dist/perf/PerfBudget.js +8 -6
  147. package/dist/perf/PerfBudget.js.map +1 -1
  148. package/dist/reading.d.ts +12 -2
  149. package/dist/reading.d.ts.map +1 -1
  150. package/dist/reading.js +7 -2
  151. package/dist/reading.js.map +1 -1
  152. package/dist/reads-index.json +3675 -0
  153. package/dist/spine/body-pose.d.ts +85 -0
  154. package/dist/spine/body-pose.d.ts.map +1 -0
  155. package/dist/spine/body-pose.js +166 -0
  156. package/dist/spine/body-pose.js.map +1 -0
  157. package/dist/spine/capability-lock.d.ts +6 -2
  158. package/dist/spine/capability-lock.d.ts.map +1 -1
  159. package/dist/spine/capability-lock.js +8 -2
  160. package/dist/spine/capability-lock.js.map +1 -1
  161. package/dist/spine/catalogue-elements.d.ts +28 -0
  162. package/dist/spine/catalogue-elements.d.ts.map +1 -0
  163. package/dist/spine/catalogue-elements.js +63 -0
  164. package/dist/spine/catalogue-elements.js.map +1 -0
  165. package/dist/spine/celestial-facts.d.ts +5 -7
  166. package/dist/spine/celestial-facts.d.ts.map +1 -1
  167. package/dist/spine/celestial-facts.js +10 -21
  168. package/dist/spine/celestial-facts.js.map +1 -1
  169. package/dist/spine/client-timeline.d.ts +10 -12
  170. package/dist/spine/client-timeline.d.ts.map +1 -1
  171. package/dist/spine/client-timeline.js.map +1 -1
  172. package/dist/spine/client.d.ts +31 -0
  173. package/dist/spine/client.d.ts.map +1 -1
  174. package/dist/spine/client.js +97 -19
  175. package/dist/spine/client.js.map +1 -1
  176. package/dist/spine/command-gate.d.ts +13 -11
  177. package/dist/spine/command-gate.d.ts.map +1 -1
  178. package/dist/spine/command-gate.js +2 -2
  179. package/dist/spine/command-gate.js.map +1 -1
  180. package/dist/spine/command-group.d.ts +62 -0
  181. package/dist/spine/command-group.d.ts.map +1 -0
  182. package/dist/spine/command-group.js +172 -0
  183. package/dist/spine/command-group.js.map +1 -0
  184. package/dist/spine/comms-delay-reckoning.js.map +1 -1
  185. package/dist/spine/comms-journey.d.ts +9 -0
  186. package/dist/spine/comms-journey.d.ts.map +1 -1
  187. package/dist/spine/comms-journey.js +27 -0
  188. package/dist/spine/comms-journey.js.map +1 -1
  189. package/dist/spine/comms-path-geometry.d.ts +3 -3
  190. package/dist/spine/comms-path-geometry.d.ts.map +1 -1
  191. package/dist/spine/comms-path-geometry.js.map +1 -1
  192. package/dist/spine/connection-error-warning.d.ts +1 -1
  193. package/dist/spine/connection-error-warning.js +1 -1
  194. package/dist/spine/context.d.ts.map +1 -1
  195. package/dist/spine/context.js +4 -0
  196. package/dist/spine/context.js.map +1 -1
  197. package/dist/spine/contributions.d.ts +13 -13
  198. package/dist/spine/contributions.js +13 -13
  199. package/dist/spine/core-reckoners.d.ts.map +1 -1
  200. package/dist/spine/core-reckoners.js +2 -2
  201. package/dist/spine/core-reckoners.js.map +1 -1
  202. package/dist/spine/held-command-actions.d.ts +3 -0
  203. package/dist/spine/held-command-actions.d.ts.map +1 -1
  204. package/dist/spine/held-command-actions.js +12 -7
  205. package/dist/spine/held-command-actions.js.map +1 -1
  206. package/dist/spine/impact-point.d.ts.map +1 -1
  207. package/dist/spine/impact-point.js +6 -29
  208. package/dist/spine/impact-point.js.map +1 -1
  209. package/dist/spine/index.d.ts +5 -0
  210. package/dist/spine/index.d.ts.map +1 -1
  211. package/dist/spine/index.js +5 -0
  212. package/dist/spine/index.js.map +1 -1
  213. package/dist/spine/kepler-reckoning.d.ts +2 -2
  214. package/dist/spine/kepler-reckoning.d.ts.map +1 -1
  215. package/dist/spine/kepler-reckoning.js.map +1 -1
  216. package/dist/spine/kepler.d.ts +8 -6
  217. package/dist/spine/kepler.d.ts.map +1 -1
  218. package/dist/spine/kepler.js +3 -1
  219. package/dist/spine/kepler.js.map +1 -1
  220. package/dist/spine/lagrange.d.ts +6 -6
  221. package/dist/spine/lagrange.d.ts.map +1 -1
  222. package/dist/spine/lagrange.js.map +1 -1
  223. package/dist/spine/lifecycle.d.ts +14 -0
  224. package/dist/spine/lifecycle.d.ts.map +1 -1
  225. package/dist/spine/lifecycle.js.map +1 -1
  226. package/dist/spine/lock-scope.d.ts +11 -1
  227. package/dist/spine/lock-scope.d.ts.map +1 -1
  228. package/dist/spine/lock-scope.js.map +1 -1
  229. package/dist/spine/map-command.d.ts +3 -11
  230. package/dist/spine/map-command.d.ts.map +1 -1
  231. package/dist/spine/map-command.js +3 -11
  232. package/dist/spine/map-command.js.map +1 -1
  233. package/dist/spine/mod-settings.d.ts.map +1 -1
  234. package/dist/spine/mod-settings.js +1 -0
  235. package/dist/spine/mod-settings.js.map +1 -1
  236. package/dist/spine/never-reckonable.d.ts.map +1 -1
  237. package/dist/spine/never-reckonable.js +8 -6
  238. package/dist/spine/never-reckonable.js.map +1 -1
  239. package/dist/spine/orbit-patches.d.ts +16 -4
  240. package/dist/spine/orbit-patches.d.ts.map +1 -1
  241. package/dist/spine/orbit-patches.js +12 -5
  242. package/dist/spine/orbit-patches.js.map +1 -1
  243. package/dist/spine/orbit-trajectory.d.ts +60 -3
  244. package/dist/spine/orbit-trajectory.d.ts.map +1 -1
  245. package/dist/spine/orbit-trajectory.js +133 -40
  246. package/dist/spine/orbit-trajectory.js.map +1 -1
  247. package/dist/spine/orbital-solve.js +1 -1
  248. package/dist/spine/own-craft-vantage.d.ts.map +1 -1
  249. package/dist/spine/own-craft-vantage.js +1 -0
  250. package/dist/spine/own-craft-vantage.js.map +1 -1
  251. package/dist/spine/past-track.d.ts +7 -7
  252. package/dist/spine/past-track.js +7 -7
  253. package/dist/spine/phase-angle.d.ts +19 -0
  254. package/dist/spine/phase-angle.d.ts.map +1 -0
  255. package/dist/spine/phase-angle.js +47 -0
  256. package/dist/spine/phase-angle.js.map +1 -0
  257. package/dist/spine/powered-reckoning.js.map +1 -1
  258. package/dist/spine/processors.d.ts +4 -1
  259. package/dist/spine/processors.d.ts.map +1 -1
  260. package/dist/spine/processors.js.map +1 -1
  261. package/dist/spine/reckoners.d.ts +3 -6
  262. package/dist/spine/reckoners.d.ts.map +1 -1
  263. package/dist/spine/reckoners.js +3 -6
  264. package/dist/spine/reckoners.js.map +1 -1
  265. package/dist/spine/reference-frame.d.ts +14 -14
  266. package/dist/spine/reference-frame.d.ts.map +1 -1
  267. package/dist/spine/reference-frame.js +3 -64
  268. package/dist/spine/reference-frame.js.map +1 -1
  269. package/dist/spine/settings-registry.d.ts +17 -9
  270. package/dist/spine/settings-registry.d.ts.map +1 -1
  271. package/dist/spine/settings-registry.js.map +1 -1
  272. package/dist/spine/settings-tabs.d.ts +4 -3
  273. package/dist/spine/settings-tabs.d.ts.map +1 -1
  274. package/dist/spine/settings-tabs.js.map +1 -1
  275. package/dist/spine/target-range-reckoning.d.ts.map +1 -1
  276. package/dist/spine/target-range-reckoning.js.map +1 -1
  277. package/dist/spine/timeline-store.d.ts +3 -1
  278. package/dist/spine/timeline-store.d.ts.map +1 -1
  279. package/dist/spine/timeline-store.js +2 -2
  280. package/dist/spine/timeline-store.js.map +1 -1
  281. package/dist/spine/topic-ownership.d.ts +2 -2
  282. package/dist/spine/topic-ownership.js +2 -2
  283. package/dist/spine/uplink-clients.d.ts +4 -4
  284. package/dist/spine/uplink-clients.d.ts.map +1 -1
  285. package/dist/spine/uplink-clients.js +1 -0
  286. package/dist/spine/uplink-clients.js.map +1 -1
  287. package/dist/spine/use-body-states.d.ts +3 -7
  288. package/dist/spine/use-body-states.d.ts.map +1 -1
  289. package/dist/spine/use-body-states.js +3 -7
  290. package/dist/spine/use-body-states.js.map +1 -1
  291. package/dist/spine/use-command.d.ts.map +1 -1
  292. package/dist/spine/use-command.js +151 -109
  293. package/dist/spine/use-command.js.map +1 -1
  294. package/dist/spine/use-data-sources.d.ts +2 -5
  295. package/dist/spine/use-data-sources.d.ts.map +1 -1
  296. package/dist/spine/use-data-sources.js.map +1 -1
  297. package/dist/spine/use-late-telemetry-subscribe.d.ts.map +1 -1
  298. package/dist/spine/use-late-telemetry-subscribe.js +1 -0
  299. package/dist/spine/use-late-telemetry-subscribe.js.map +1 -1
  300. package/dist/spine/use-orbit-curve.d.ts +33 -0
  301. package/dist/spine/use-orbit-curve.d.ts.map +1 -0
  302. package/dist/spine/use-orbit-curve.js +28 -0
  303. package/dist/spine/use-orbit-curve.js.map +1 -0
  304. package/dist/spine/use-orbit-trajectory.d.ts +6 -1
  305. package/dist/spine/use-orbit-trajectory.d.ts.map +1 -1
  306. package/dist/spine/use-orbit-trajectory.js +44 -2
  307. package/dist/spine/use-orbit-trajectory.js.map +1 -1
  308. package/dist/spine/use-selected-vantage.d.ts.map +1 -1
  309. package/dist/spine/use-selected-vantage.js +1 -0
  310. package/dist/spine/use-selected-vantage.js.map +1 -1
  311. package/dist/spine/use-system-instant.d.ts +16 -0
  312. package/dist/spine/use-system-instant.d.ts.map +1 -0
  313. package/dist/spine/use-system-instant.js +20 -0
  314. package/dist/spine/use-system-instant.js.map +1 -0
  315. package/dist/spine/use-transmissions.d.ts.map +1 -1
  316. package/dist/spine/use-transmissions.js +1 -0
  317. package/dist/spine/use-transmissions.js.map +1 -1
  318. package/dist/spine/view-clock.d.ts +1 -1
  319. package/dist/spine/view-clock.d.ts.map +1 -1
  320. package/dist/spine/view-clock.js +13 -3
  321. package/dist/spine/view-clock.js.map +1 -1
  322. package/dist/system-instant.d.ts +16 -0
  323. package/dist/system-instant.d.ts.map +1 -0
  324. package/dist/system-instant.js +20 -0
  325. package/dist/system-instant.js.map +1 -0
  326. package/dist/testing/console-logger.d.ts +3 -3
  327. package/dist/testing/console-logger.js +3 -3
  328. package/dist/testing/fake-wall-clock.d.ts +4 -2
  329. package/dist/testing/fake-wall-clock.d.ts.map +1 -1
  330. package/dist/testing/fake-wall-clock.js +4 -2
  331. package/dist/testing/fake-wall-clock.js.map +1 -1
  332. package/dist/testing/install-act-gate-stretch.d.ts +9 -0
  333. package/dist/testing/install-act-gate-stretch.d.ts.map +1 -1
  334. package/dist/testing/install-act-gate-stretch.js +9 -0
  335. package/dist/testing/install-act-gate-stretch.js.map +1 -1
  336. package/dist/testing/install-real-test-host.d.ts +4 -1
  337. package/dist/testing/install-real-test-host.d.ts.map +1 -1
  338. package/dist/testing/install-real-test-host.js +2 -0
  339. package/dist/testing/install-real-test-host.js.map +1 -1
  340. package/dist/testing/memory-storage.d.ts +2 -3
  341. package/dist/testing/memory-storage.d.ts.map +1 -1
  342. package/dist/testing/memory-storage.js +6 -5
  343. package/dist/testing/memory-storage.js.map +1 -1
  344. package/dist/testing/mock-data-source.d.ts +2 -2
  345. package/dist/testing/render.d.ts +4 -2
  346. package/dist/testing/render.d.ts.map +1 -1
  347. package/dist/testing/render.js +4 -2
  348. package/dist/testing/render.js.map +1 -1
  349. package/dist/testing/stub-transport.d.ts +6 -0
  350. package/dist/testing/stub-transport.d.ts.map +1 -1
  351. package/dist/testing/stub-transport.js +64 -52
  352. package/dist/testing/stub-transport.js.map +1 -1
  353. package/dist/timeline.d.ts +14 -6
  354. package/dist/timeline.d.ts.map +1 -1
  355. package/dist/topic-fields.d.ts +1 -0
  356. package/dist/topic-fields.d.ts.map +1 -1
  357. package/dist/topic-fields.js.map +1 -1
  358. package/dist/topics.d.ts +42 -2
  359. package/dist/topics.d.ts.map +1 -1
  360. package/dist/topics.js +33 -24
  361. package/dist/topics.js.map +1 -1
  362. package/dist/unit-system/registry.d.ts +11 -0
  363. package/dist/unit-system/registry.d.ts.map +1 -1
  364. package/dist/unit-system/registry.js.map +1 -1
  365. package/dist/unit-system/value.d.ts +3 -0
  366. package/dist/unit-system/value.d.ts.map +1 -1
  367. package/dist/unit-system/value.js.map +1 -1
  368. package/dist/units.js +1 -1
  369. package/dist/uplink-externals.d.ts +9 -4
  370. package/dist/uplink-externals.d.ts.map +1 -1
  371. package/dist/uplink-externals.js +9 -4
  372. package/dist/uplink-externals.js.map +1 -1
  373. package/dist/uplink-manifest.d.ts +62 -16
  374. package/dist/uplink-manifest.d.ts.map +1 -1
  375. package/dist/uplink-manifest.js.map +1 -1
  376. package/package.json +4 -3
  377. package/src/__generated__/command-map.ts +140 -10
  378. package/src/__generated__/contract.ts +598 -429
  379. package/src/__generated__/error-codes.ts +76 -69
  380. package/src/__generated__/test-theme.ts +3 -0
  381. package/src/__generated__/topic-map.ts +92 -0
  382. package/src/__generated__/units.json +630 -52
  383. package/src/__generated__/units.ts +89 -47
  384. package/src/api/alarm-request.ts +7 -1
  385. package/src/api/contribution-slots.ts +95 -20
  386. package/src/api/coverage/CoverageMaskCache.ts +1 -1
  387. package/src/api/coverage-source.ts +3 -1
  388. package/src/api/framework-reads.ts +29 -0
  389. package/src/api/host.ts +13 -4
  390. package/src/api/index.ts +113 -14
  391. package/src/api/logger.ts +14 -2
  392. package/src/api/plot-layers.ts +72 -6
  393. package/src/api/plots.ts +19 -0
  394. package/src/api/registry.ts +11 -0
  395. package/src/api/settings/SettingsContext.tsx +17 -5
  396. package/src/api/settings/SettingsService.ts +3 -0
  397. package/src/api/settings/store.ts +3 -1
  398. package/src/api/slots.ts +97 -28
  399. package/src/api/station-brokers.ts +2 -1
  400. package/src/api/stock-bodies.ts +6 -0
  401. package/src/api/tiny-size.ts +6 -1
  402. package/src/api/tone.ts +7 -4
  403. package/src/api/transport.ts +13 -2
  404. package/src/api/types.ts +214 -154
  405. package/src/binary-frame.ts +26 -25
  406. package/src/client.ts +2 -0
  407. package/src/combine-readings.ts +8 -4
  408. package/src/command-delay.ts +6 -0
  409. package/src/compat-versions.ts +2 -2
  410. package/src/contract-enum-names.ts +2 -3
  411. package/src/enum-names.ts +5 -3
  412. package/src/envelope.ts +9 -1
  413. package/src/flight/BufferedDataSource.ts +4 -2
  414. package/src/flight/types.ts +3 -2
  415. package/src/frames/index.ts +29 -16
  416. package/src/index.ts +32 -0
  417. package/src/ksp-enum-names.ts +23 -8
  418. package/src/media/radio-support.ts +12 -3
  419. package/src/perf/PerfBudget.ts +8 -6
  420. package/src/reading.ts +20 -4
  421. package/src/spine/body-pose.ts +251 -0
  422. package/src/spine/capability-lock.ts +17 -4
  423. package/src/spine/catalogue-elements.ts +75 -0
  424. package/src/spine/celestial-facts.ts +10 -35
  425. package/src/spine/client-timeline.ts +10 -12
  426. package/src/spine/client.ts +127 -19
  427. package/src/spine/command-gate.ts +13 -11
  428. package/src/spine/command-group.ts +278 -0
  429. package/src/spine/comms-delay-reckoning.ts +2 -2
  430. package/src/spine/comms-journey.ts +29 -0
  431. package/src/spine/comms-path-geometry.ts +4 -4
  432. package/src/spine/connection-error-warning.ts +1 -1
  433. package/src/spine/context.tsx +4 -0
  434. package/src/spine/contributions.ts +13 -13
  435. package/src/spine/core-reckoners.ts +2 -5
  436. package/src/spine/held-command-actions.ts +18 -6
  437. package/src/spine/impact-point.ts +8 -35
  438. package/src/spine/index.ts +5 -0
  439. package/src/spine/kepler-reckoning.ts +2 -2
  440. package/src/spine/kepler.ts +9 -7
  441. package/src/spine/lagrange.ts +6 -6
  442. package/src/spine/lifecycle.ts +14 -0
  443. package/src/spine/lock-scope.ts +11 -1
  444. package/src/spine/map-command.ts +3 -11
  445. package/src/spine/mod-settings.ts +1 -0
  446. package/src/spine/never-reckonable.ts +8 -6
  447. package/src/spine/orbit-patches.ts +33 -6
  448. package/src/spine/orbit-trajectory.ts +172 -57
  449. package/src/spine/orbital-solve.ts +1 -1
  450. package/src/spine/own-craft-vantage.tsx +1 -0
  451. package/src/spine/past-track.ts +7 -7
  452. package/src/spine/phase-angle.ts +51 -0
  453. package/src/spine/powered-reckoning.ts +16 -16
  454. package/src/spine/processors.ts +4 -1
  455. package/src/spine/reckoners.ts +3 -6
  456. package/src/spine/reference-frame.ts +49 -115
  457. package/src/spine/settings-registry.ts +17 -9
  458. package/src/spine/settings-tabs.ts +4 -3
  459. package/src/spine/target-range-reckoning.ts +3 -3
  460. package/src/spine/timeline-store.ts +6 -1
  461. package/src/spine/topic-ownership.ts +2 -2
  462. package/src/spine/uplink-clients.ts +5 -4
  463. package/src/spine/use-body-states.ts +3 -7
  464. package/src/spine/use-command.ts +167 -125
  465. package/src/spine/use-data-sources.ts +2 -5
  466. package/src/spine/use-late-telemetry-subscribe.ts +1 -0
  467. package/src/spine/use-orbit-curve.ts +49 -0
  468. package/src/spine/use-orbit-trajectory.ts +54 -2
  469. package/src/spine/use-selected-vantage.ts +1 -0
  470. package/src/spine/use-system-instant.ts +20 -0
  471. package/src/spine/use-transmissions.ts +1 -0
  472. package/src/spine/view-clock.ts +20 -3
  473. package/src/system-instant.ts +20 -0
  474. package/src/testing/console-logger.ts +3 -3
  475. package/src/testing/fake-wall-clock.ts +4 -2
  476. package/src/testing/install-act-gate-stretch.ts +9 -0
  477. package/src/testing/install-real-test-host.ts +6 -1
  478. package/src/testing/memory-storage.ts +6 -5
  479. package/src/testing/mock-data-source.ts +2 -2
  480. package/src/testing/render.tsx +4 -2
  481. package/src/testing/stub-transport.ts +66 -52
  482. package/src/timeline.ts +14 -6
  483. package/src/topic-fields.ts +1 -0
  484. package/src/topics.ts +59 -26
  485. package/src/unit-system/registry.ts +11 -0
  486. package/src/unit-system/value.ts +3 -0
  487. package/src/units.ts +1 -1
  488. package/src/uplink-externals.ts +9 -4
  489. package/src/uplink-manifest.ts +62 -16
@@ -60,7 +60,8 @@ export declare const CommandErrorCode: {
60
60
  * A capacity is full: the Astronaut Complex holds its cap of active crew, a
61
61
  * facility holds its cap of anything else countable.
62
62
  *
63
- * A retry succeeds only once something changes, such as freeing a slot.
63
+ * A retry succeeds only once something changes, such as a kerbal leaving the
64
+ * active roster.
64
65
  *
65
66
  * `CommandResult.breach` carries the numbers, so a client can say "16 of 16".
66
67
  */
@@ -86,20 +87,14 @@ export declare const CommandErrorCode: {
86
87
  * `CommandErrorCode.InsufficientFunds`, as the game keeps science and funds
87
88
  * separate currencies.
88
89
  *
89
- * Decided by `CurrencyModifierQuery.RunQuery(reason,
90
- * ...).CanAfford(Currency.Science)`, which is what `RDTech.ResearchTech`
91
- * checks, modifiers included.
90
+ * The cost is the one the game itself would charge, with every modifier
91
+ * applied.
92
92
  */
93
93
  readonly InsufficientScience: "insufficientScience";
94
94
  /**
95
95
  * The save is not a career save, so this command's whole subsystem does not
96
96
  * exist here.
97
97
  *
98
- * Decided by `HighLogic.CurrentGame.Mode`, and in practice the null `Instance`
99
- * of the `ScenarioModule` that would have served it (`Funding`,
100
- * `ContractSystem`, `StrategySystem`, `ResearchAndDevelopment`,
101
- * `ScenarioUpgradeableFacilities`).
102
- *
103
98
  * A permanent property of the save, not a state that may change, so a client
104
99
  * can hide the control rather than show it refused.
105
100
  */
@@ -107,8 +102,7 @@ export declare const CommandErrorCode: {
107
102
  /**
108
103
  * The game is in a scene this command cannot run from.
109
104
  *
110
- * Decided by `HighLogic.LoadedScene` (`GameScenes`). `CommandResult.detail`
111
- * names the scene when the producer had one.
105
+ * `CommandResult.detail` names the scene when the producer had one.
112
106
  */
113
107
  readonly WrongScene: "wrongScene";
114
108
  /**
@@ -117,28 +111,24 @@ export declare const CommandErrorCode: {
117
111
  * contract asked to accept when it is not offered, an assigned kerbal asked to
118
112
  * be sacked, a spent experiment asked to deploy.
119
113
  *
120
- * Decided by the entity's own state enum. `Strategies.Strategy.IsActive`,
121
- * `RDTech.State`, `Contract.State`, `ProtoCrewMember.RosterStatus`,
122
- * `ModuleScienceExperiment.Deployed`/`Inoperable`. Every one of those is
123
- * `[Description]`-tagged or otherwise nameable, so `CommandResult.detail` can
124
- * carry the state in the game's own words.
114
+ * `CommandResult.detail` can carry the state in the game's own words.
125
115
  */
126
116
  readonly WrongState: "wrongState";
127
117
  /**
128
118
  * Right command, wrong moment: the flight is not in a state that permits it
129
119
  * yet, and will be later.
130
120
  *
131
- * Decided by `FlightGlobals.ClearToSave()`, which returns one of five refusals
132
- * (in atmosphere, under acceleration, moving over the surface, about to crash,
133
- * on a ladder), plus `FlightDriver.CanRevertToPostInit`/`CanRevertToPrelaunch`
134
- * and the `GameParameters` flags for leaving to the space center and to the
135
- * tracking station. The game's reason is on `CommandResult.detail`.
121
+ * The game gives five such reasons: in atmosphere, under acceleration, moving
122
+ * over the surface, about to crash, on a ladder; and a revert or a scene
123
+ * change can also be switched off by the save's own difficulty settings. The
124
+ * game's reason is on `CommandResult.detail`.
136
125
  *
137
126
  * Also returned by the SCET alarm command for a vantage it cannot check
138
127
  * because no command centre is known to the simulation yet: the main menu, and
139
- * the ticks before the first capture. A vantage that is known and inactive is
140
- * `CommandErrorCode.Range` instead, because that one does not resolve by
141
- * waiting.
128
+ * the ticks before the first capture. The same command refuses a vantage that
129
+ * is known and inactive with `CommandErrorCode.Range` instead, because that
130
+ * one does not resolve by waiting. Any other command naming an inactive
131
+ * vantage fails with the `unknownVantage` fault.
142
132
  *
143
133
  * Distinct from `CommandErrorCode.WrongState`, which is about the entity and
144
134
  * does not resolve by waiting.
@@ -150,11 +140,6 @@ export declare const CommandErrorCode: {
150
140
  * no such action, an action present but inert, an autopilot mode this craft
151
141
  * cannot hold.
152
142
  *
153
- * Decided by the part's own module list and fields
154
- * (`ModuleRoboticServoRotor`/`Hinge`/`Piston`, `servoIsMotorized`,
155
- * `BaseEvent.active`, `BaseEvent.EventIsDisabledByVariant`) and
156
- * `VesselAutopilot.CanSetMode`.
157
- *
158
143
  * Nothing an operator waits for. The craft would have to be different for this
159
144
  * to work, which is why it is not `CommandErrorCode.NotClearToProceed` and not
160
145
  * `CommandErrorCode.WrongState`.
@@ -163,49 +148,39 @@ export declare const CommandErrorCode: {
163
148
  /**
164
149
  * There is no usable link for what this command needs to send.
165
150
  *
166
- * Decided by `ScienceUtil.GetBestTransmitter(Vessel)` and
167
- * `IScienceDataTransmitter.CanTransmit()`: the vessel has no antenna that can
168
- * carry the payload. This is not the comms-loss refusal that stops a command
169
- * before it reaches the vessel.
151
+ * The vessel has no antenna that can carry the payload, such as a science
152
+ * transmission.
170
153
  */
171
154
  readonly NoConnection: "noConnection";
172
155
  /**
173
156
  * The capability exists in the game but this save has not unlocked it: fuel
174
157
  * transfer, custom action groups, flight planning, EVA, the maneuver tool.
175
158
  *
176
- * Decided by `GameVariables.UnlockedFuelTransfer`,
177
- * `UnlockedActionGroupsStock`/`Custom`, `UnlockedFlightPlanning`,
178
- * `UnlockedEVA`/`Flags`/`Clamber`, `ManeuverToolAvailable`, each read at the
179
- * owning facility's normalised level.
159
+ * Each switch follows the level of the building that owns it.
180
160
  *
181
161
  * Distinct from `CommandErrorCode.LimitReached`, which is a number against a
182
162
  * number. This is a switch that is off, and the fix is an upgrade rather than
183
- * freeing a slot.
163
+ * making room.
184
164
  */
185
165
  readonly NotUnlocked: "notUnlocked";
186
166
  /**
187
167
  * Another vessel is on the launch site.
188
168
  *
189
- * Decided by `PreFlightTests.LaunchSiteClear`, whose
190
- * `GetWarningTitle()`/`GetWarningDescription()` are the game's own words for
191
- * it and ride on `CommandResult.detail`.
169
+ * The game's own words for it ride on `CommandResult.detail`.
192
170
  */
193
171
  readonly SiteOccupied: "siteOccupied";
194
172
  /**
195
173
  * The facility this command needs is destroyed or damaged.
196
- *
197
- * Decided by `PreFlightTests.FacilityOperational`, over
198
- * `PSystemSetup.Instance.GetSpaceCenterFacility(name).GetFacilityDamage()`.
199
174
  */
200
175
  readonly FacilityDamaged: "facilityDamaged";
201
176
  /**
202
177
  * The command consumes a countable ITEM and there are not enough of them
203
178
  * aboard.
204
179
  *
205
- * Decided by the provider's own charge, which it should also state wherever it
206
- * shows the cost, so the cost shown and the cost taken agree. The item is the
207
- * provider's to name: this code says only that there were too few, never which
208
- * item.
180
+ * The provider decides by its own charge, which it should also state wherever
181
+ * it shows the cost, so the cost shown and the cost taken agree. The item is
182
+ * the provider's to name: this code says only that there were too few, never
183
+ * which item.
209
184
  *
210
185
  * Separate from `CommandErrorCode.InsufficientFunds` and
211
186
  * `CommandErrorCode.InsufficientScience`: a physical item cannot be bought.
@@ -308,7 +283,8 @@ export declare const FaultCode: {
308
283
  readonly PayloadSerializationError: "payloadSerializationError";
309
284
  /**
310
285
  * A `set-vantage`, or a command's `vantage`, naming a command centre that is
311
- * not active.
286
+ * not active. The SCET alarm command is the exception: it refuses an inactive
287
+ * vantage with the `range` refusal instead.
312
288
  */
313
289
  readonly UnknownVantage: "unknownVantage";
314
290
  /**
@@ -316,6 +292,19 @@ export declare const FaultCode: {
316
292
  * it could run.
317
293
  */
318
294
  readonly CommandExpired: "commandExpired";
295
+ /**
296
+ * A command sent in a group was not sent because another command in the same
297
+ * group was refused, or because the group itself could not be sent. A group
298
+ * goes whole or not at all, so every member is refused with this one, and the
299
+ * message names the member that decided it.
300
+ */
301
+ readonly GroupRefused: "groupRefused";
302
+ /**
303
+ * A command sent in a group did not run because an earlier command in the same
304
+ * group failed at the craft. The earlier commands stay done, since a game
305
+ * action cannot be taken back; the message says which ran.
306
+ */
307
+ readonly GroupStopped: "groupStopped";
319
308
  /**
320
309
  * A cancel stopped the command before it ran.
321
310
  */
@@ -328,12 +317,14 @@ export declare const FaultCode: {
328
317
  */
329
318
  readonly UndoneByLoad: "undoneByLoad";
330
319
  /**
331
- * A continuous input, a throttle or a control axis, was dropped at a node
332
- * where it would have had to wait on its way to the craft. Held and sent on
333
- * later it would arrive as a run of out-of-date values, so a node that cannot
334
- * send it on at once drops it. It was accepted with a warning when it was
335
- * sent, and this is the news of its loss, arriving when a report from that
336
- * node could have reached the sending centre.
320
+ * A continuous input, a throttle or a control axis, was dropped at a node, a
321
+ * ground station or relay on the route to the craft, because the link onward
322
+ * was down there and it would have had to be held until it came back. Held and
323
+ * sent on later it would arrive as a run of out-of-date values, so a node that
324
+ * cannot send it on at once drops it. It was accepted with a warning when it
325
+ * was sent, and this is the news of its loss, arriving at the command centre
326
+ * that sent it once a report from that node could have reached it at light
327
+ * speed.
337
328
  */
338
329
  readonly ContinuousInputWouldWait: "continuousInputWouldWait";
339
330
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"error-codes.d.ts","sourceRoot":"","sources":["../../src/__generated__/error-codes.ts"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,0FAA0F;IAC1F,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,uHAAuH;IACvH,QAAQ,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;IACnC,0EAA0E;IAC1E,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,oDAAoD;IACpD,QAAQ,CAAC,MAAM,EAAE,KAAK,GAAG,QAAQ,GAAG,IAAI,CAAC;IACzC,gGAAgG;IAChG,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,+FAA+F;IAC/F,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB;IAC3B;;OAEG;;IAEH;;;OAGG;;IAEH;;OAEG;;IAEH;;;OAGG;;IAEH;;;;;;;OAOG;;IAEH;;;;;;;OAOG;;IAEH;;;;;;OAMG;;IAEH;;;;;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H;;OAEG;;IAEH;;;OAGG;;IAEH;;;OAGG;;CAEK,CAAC;AACX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAEnE;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,SAAS,oBAAoB,EAyV3D,CAAC"}
@@ -45,7 +45,8 @@ export const CommandErrorCode = {
45
45
  * A capacity is full: the Astronaut Complex holds its cap of active crew, a
46
46
  * facility holds its cap of anything else countable.
47
47
  *
48
- * A retry succeeds only once something changes, such as freeing a slot.
48
+ * A retry succeeds only once something changes, such as a kerbal leaving the
49
+ * active roster.
49
50
  *
50
51
  * `CommandResult.breach` carries the numbers, so a client can say "16 of 16".
51
52
  */
@@ -71,20 +72,14 @@ export const CommandErrorCode = {
71
72
  * `CommandErrorCode.InsufficientFunds`, as the game keeps science and funds
72
73
  * separate currencies.
73
74
  *
74
- * Decided by `CurrencyModifierQuery.RunQuery(reason,
75
- * ...).CanAfford(Currency.Science)`, which is what `RDTech.ResearchTech`
76
- * checks, modifiers included.
75
+ * The cost is the one the game itself would charge, with every modifier
76
+ * applied.
77
77
  */
78
78
  InsufficientScience: "insufficientScience",
79
79
  /**
80
80
  * The save is not a career save, so this command's whole subsystem does not
81
81
  * exist here.
82
82
  *
83
- * Decided by `HighLogic.CurrentGame.Mode`, and in practice the null `Instance`
84
- * of the `ScenarioModule` that would have served it (`Funding`,
85
- * `ContractSystem`, `StrategySystem`, `ResearchAndDevelopment`,
86
- * `ScenarioUpgradeableFacilities`).
87
- *
88
83
  * A permanent property of the save, not a state that may change, so a client
89
84
  * can hide the control rather than show it refused.
90
85
  */
@@ -92,8 +87,7 @@ export const CommandErrorCode = {
92
87
  /**
93
88
  * The game is in a scene this command cannot run from.
94
89
  *
95
- * Decided by `HighLogic.LoadedScene` (`GameScenes`). `CommandResult.detail`
96
- * names the scene when the producer had one.
90
+ * `CommandResult.detail` names the scene when the producer had one.
97
91
  */
98
92
  WrongScene: "wrongScene",
99
93
  /**
@@ -102,28 +96,24 @@ export const CommandErrorCode = {
102
96
  * contract asked to accept when it is not offered, an assigned kerbal asked to
103
97
  * be sacked, a spent experiment asked to deploy.
104
98
  *
105
- * Decided by the entity's own state enum. `Strategies.Strategy.IsActive`,
106
- * `RDTech.State`, `Contract.State`, `ProtoCrewMember.RosterStatus`,
107
- * `ModuleScienceExperiment.Deployed`/`Inoperable`. Every one of those is
108
- * `[Description]`-tagged or otherwise nameable, so `CommandResult.detail` can
109
- * carry the state in the game's own words.
99
+ * `CommandResult.detail` can carry the state in the game's own words.
110
100
  */
111
101
  WrongState: "wrongState",
112
102
  /**
113
103
  * Right command, wrong moment: the flight is not in a state that permits it
114
104
  * yet, and will be later.
115
105
  *
116
- * Decided by `FlightGlobals.ClearToSave()`, which returns one of five refusals
117
- * (in atmosphere, under acceleration, moving over the surface, about to crash,
118
- * on a ladder), plus `FlightDriver.CanRevertToPostInit`/`CanRevertToPrelaunch`
119
- * and the `GameParameters` flags for leaving to the space center and to the
120
- * tracking station. The game's reason is on `CommandResult.detail`.
106
+ * The game gives five such reasons: in atmosphere, under acceleration, moving
107
+ * over the surface, about to crash, on a ladder; and a revert or a scene
108
+ * change can also be switched off by the save's own difficulty settings. The
109
+ * game's reason is on `CommandResult.detail`.
121
110
  *
122
111
  * Also returned by the SCET alarm command for a vantage it cannot check
123
112
  * because no command centre is known to the simulation yet: the main menu, and
124
- * the ticks before the first capture. A vantage that is known and inactive is
125
- * `CommandErrorCode.Range` instead, because that one does not resolve by
126
- * waiting.
113
+ * the ticks before the first capture. The same command refuses a vantage that
114
+ * is known and inactive with `CommandErrorCode.Range` instead, because that
115
+ * one does not resolve by waiting. Any other command naming an inactive
116
+ * vantage fails with the `unknownVantage` fault.
127
117
  *
128
118
  * Distinct from `CommandErrorCode.WrongState`, which is about the entity and
129
119
  * does not resolve by waiting.
@@ -135,11 +125,6 @@ export const CommandErrorCode = {
135
125
  * no such action, an action present but inert, an autopilot mode this craft
136
126
  * cannot hold.
137
127
  *
138
- * Decided by the part's own module list and fields
139
- * (`ModuleRoboticServoRotor`/`Hinge`/`Piston`, `servoIsMotorized`,
140
- * `BaseEvent.active`, `BaseEvent.EventIsDisabledByVariant`) and
141
- * `VesselAutopilot.CanSetMode`.
142
- *
143
128
  * Nothing an operator waits for. The craft would have to be different for this
144
129
  * to work, which is why it is not `CommandErrorCode.NotClearToProceed` and not
145
130
  * `CommandErrorCode.WrongState`.
@@ -148,49 +133,39 @@ export const CommandErrorCode = {
148
133
  /**
149
134
  * There is no usable link for what this command needs to send.
150
135
  *
151
- * Decided by `ScienceUtil.GetBestTransmitter(Vessel)` and
152
- * `IScienceDataTransmitter.CanTransmit()`: the vessel has no antenna that can
153
- * carry the payload. This is not the comms-loss refusal that stops a command
154
- * before it reaches the vessel.
136
+ * The vessel has no antenna that can carry the payload, such as a science
137
+ * transmission.
155
138
  */
156
139
  NoConnection: "noConnection",
157
140
  /**
158
141
  * The capability exists in the game but this save has not unlocked it: fuel
159
142
  * transfer, custom action groups, flight planning, EVA, the maneuver tool.
160
143
  *
161
- * Decided by `GameVariables.UnlockedFuelTransfer`,
162
- * `UnlockedActionGroupsStock`/`Custom`, `UnlockedFlightPlanning`,
163
- * `UnlockedEVA`/`Flags`/`Clamber`, `ManeuverToolAvailable`, each read at the
164
- * owning facility's normalised level.
144
+ * Each switch follows the level of the building that owns it.
165
145
  *
166
146
  * Distinct from `CommandErrorCode.LimitReached`, which is a number against a
167
147
  * number. This is a switch that is off, and the fix is an upgrade rather than
168
- * freeing a slot.
148
+ * making room.
169
149
  */
170
150
  NotUnlocked: "notUnlocked",
171
151
  /**
172
152
  * Another vessel is on the launch site.
173
153
  *
174
- * Decided by `PreFlightTests.LaunchSiteClear`, whose
175
- * `GetWarningTitle()`/`GetWarningDescription()` are the game's own words for
176
- * it and ride on `CommandResult.detail`.
154
+ * The game's own words for it ride on `CommandResult.detail`.
177
155
  */
178
156
  SiteOccupied: "siteOccupied",
179
157
  /**
180
158
  * The facility this command needs is destroyed or damaged.
181
- *
182
- * Decided by `PreFlightTests.FacilityOperational`, over
183
- * `PSystemSetup.Instance.GetSpaceCenterFacility(name).GetFacilityDamage()`.
184
159
  */
185
160
  FacilityDamaged: "facilityDamaged",
186
161
  /**
187
162
  * The command consumes a countable ITEM and there are not enough of them
188
163
  * aboard.
189
164
  *
190
- * Decided by the provider's own charge, which it should also state wherever it
191
- * shows the cost, so the cost shown and the cost taken agree. The item is the
192
- * provider's to name: this code says only that there were too few, never which
193
- * item.
165
+ * The provider decides by its own charge, which it should also state wherever
166
+ * it shows the cost, so the cost shown and the cost taken agree. The item is
167
+ * the provider's to name: this code says only that there were too few, never
168
+ * which item.
194
169
  *
195
170
  * Separate from `CommandErrorCode.InsufficientFunds` and
196
171
  * `CommandErrorCode.InsufficientScience`: a physical item cannot be bought.
@@ -292,7 +267,8 @@ export const FaultCode = {
292
267
  PayloadSerializationError: "payloadSerializationError",
293
268
  /**
294
269
  * A `set-vantage`, or a command's `vantage`, naming a command centre that is
295
- * not active.
270
+ * not active. The SCET alarm command is the exception: it refuses an inactive
271
+ * vantage with the `range` refusal instead.
296
272
  */
297
273
  UnknownVantage: "unknownVantage",
298
274
  /**
@@ -300,6 +276,19 @@ export const FaultCode = {
300
276
  * it could run.
301
277
  */
302
278
  CommandExpired: "commandExpired",
279
+ /**
280
+ * A command sent in a group was not sent because another command in the same
281
+ * group was refused, or because the group itself could not be sent. A group
282
+ * goes whole or not at all, so every member is refused with this one, and the
283
+ * message names the member that decided it.
284
+ */
285
+ GroupRefused: "groupRefused",
286
+ /**
287
+ * A command sent in a group did not run because an earlier command in the same
288
+ * group failed at the craft. The earlier commands stay done, since a game
289
+ * action cannot be taken back; the message says which ran.
290
+ */
291
+ GroupStopped: "groupStopped",
303
292
  /**
304
293
  * A cancel stopped the command before it ran.
305
294
  */
@@ -312,12 +301,14 @@ export const FaultCode = {
312
301
  */
313
302
  UndoneByLoad: "undoneByLoad",
314
303
  /**
315
- * A continuous input, a throttle or a control axis, was dropped at a node
316
- * where it would have had to wait on its way to the craft. Held and sent on
317
- * later it would arrive as a run of out-of-date values, so a node that cannot
318
- * send it on at once drops it. It was accepted with a warning when it was
319
- * sent, and this is the news of its loss, arriving when a report from that
320
- * node could have reached the sending centre.
304
+ * A continuous input, a throttle or a control axis, was dropped at a node, a
305
+ * ground station or relay on the route to the craft, because the link onward
306
+ * was down there and it would have had to be held until it came back. Held and
307
+ * sent on later it would arrive as a run of out-of-date values, so a node that
308
+ * cannot send it on at once drops it. It was accepted with a warning when it
309
+ * was sent, and this is the news of its loss, arriving at the command centre
310
+ * that sent it once a report from that node could have reached it at light
311
+ * speed.
321
312
  */
322
313
  ContinuousInputWouldWait: "continuousInputWouldWait",
323
314
  /**
@@ -401,7 +392,7 @@ export const CORE_ERROR_CODES = [
401
392
  refines: null,
402
393
  origin: null,
403
394
  sentence: "a limit has been reached",
404
- meaning: "A capacity is full: the Astronaut Complex holds its cap of active crew, a facility holds its cap of anything else countable.\n\nA retry succeeds only once something changes, such as freeing a slot.\n\n`CommandResult.breach` carries the numbers, so a client can say \"16 of 16\".",
395
+ meaning: "A capacity is full: the Astronaut Complex holds its cap of active crew, a facility holds its cap of anything else countable.\n\nA retry succeeds only once something changes, such as a kerbal leaving the active roster.\n\n`CommandResult.breach` carries the numbers, so a client can say \"16 of 16\".",
405
396
  },
406
397
  {
407
398
  id: "alreadyAtMaximum",
@@ -425,7 +416,7 @@ export const CORE_ERROR_CODES = [
425
416
  refines: null,
426
417
  origin: null,
427
418
  sentence: "there is not enough science",
428
- meaning: "The command costs more science than is banked. Separate from `CommandErrorCode.InsufficientFunds`, as the game keeps science and funds separate currencies.\n\nDecided by `CurrencyModifierQuery.RunQuery(reason, ...).CanAfford(Currency.Science)`, which is what `RDTech.ResearchTech` checks, modifiers included.",
419
+ meaning: "The command costs more science than is banked. Separate from `CommandErrorCode.InsufficientFunds`, as the game keeps science and funds separate currencies.\n\nThe cost is the one the game itself would charge, with every modifier applied.",
429
420
  },
430
421
  {
431
422
  id: "careerModeRequired",
@@ -433,7 +424,7 @@ export const CORE_ERROR_CODES = [
433
424
  refines: null,
434
425
  origin: null,
435
426
  sentence: "this save is not a career game",
436
- meaning: "The save is not a career save, so this command's whole subsystem does not exist here.\n\nDecided by `HighLogic.CurrentGame.Mode`, and in practice the null `Instance` of the `ScenarioModule` that would have served it (`Funding`, `ContractSystem`, `StrategySystem`, `ResearchAndDevelopment`, `ScenarioUpgradeableFacilities`).\n\nA permanent property of the save, not a state that may change, so a client can hide the control rather than show it refused.",
427
+ meaning: "The save is not a career save, so this command's whole subsystem does not exist here.\n\nA permanent property of the save, not a state that may change, so a client can hide the control rather than show it refused.",
437
428
  },
438
429
  {
439
430
  id: "wrongScene",
@@ -441,7 +432,7 @@ export const CORE_ERROR_CODES = [
441
432
  refines: null,
442
433
  origin: null,
443
434
  sentence: "the game is not in a scene that allows it",
444
- meaning: "The game is in a scene this command cannot run from.\n\nDecided by `HighLogic.LoadedScene` (`GameScenes`). `CommandResult.detail` names the scene when the producer had one.",
435
+ meaning: "The game is in a scene this command cannot run from.\n\n`CommandResult.detail` names the scene when the producer had one.",
445
436
  },
446
437
  {
447
438
  id: "wrongState",
@@ -449,7 +440,7 @@ export const CORE_ERROR_CODES = [
449
440
  refines: null,
450
441
  origin: null,
451
442
  sentence: "it is not in a state that allows it",
452
- meaning: "The entity is not in a state this transition applies to: an already-active strategy asked to activate, an already-researched node asked to unlock, a contract asked to accept when it is not offered, an assigned kerbal asked to be sacked, a spent experiment asked to deploy.\n\nDecided by the entity's own state enum. `Strategies.Strategy.IsActive`, `RDTech.State`, `Contract.State`, `ProtoCrewMember.RosterStatus`, `ModuleScienceExperiment.Deployed`/`Inoperable`. Every one of those is `[Description]`-tagged or otherwise nameable, so `CommandResult.detail` can carry the state in the game's own words.",
443
+ meaning: "The entity is not in a state this transition applies to: an already-active strategy asked to activate, an already-researched node asked to unlock, a contract asked to accept when it is not offered, an assigned kerbal asked to be sacked, a spent experiment asked to deploy.\n\n`CommandResult.detail` can carry the state in the game's own words.",
453
444
  },
454
445
  {
455
446
  id: "notClearToProceed",
@@ -457,7 +448,7 @@ export const CORE_ERROR_CODES = [
457
448
  refines: null,
458
449
  origin: null,
459
450
  sentence: "the flight is not clear for it yet",
460
- meaning: "Right command, wrong moment: the flight is not in a state that permits it yet, and will be later.\n\nDecided by `FlightGlobals.ClearToSave()`, which returns one of five refusals (in atmosphere, under acceleration, moving over the surface, about to crash, on a ladder), plus `FlightDriver.CanRevertToPostInit`/`CanRevertToPrelaunch` and the `GameParameters` flags for leaving to the space center and to the tracking station. The game's reason is on `CommandResult.detail`.\n\nAlso returned by the SCET alarm command for a vantage it cannot check because no command centre is known to the simulation yet: the main menu, and the ticks before the first capture. A vantage that is known and inactive is `CommandErrorCode.Range` instead, because that one does not resolve by waiting.\n\nDistinct from `CommandErrorCode.WrongState`, which is about the entity and does not resolve by waiting.",
451
+ meaning: "Right command, wrong moment: the flight is not in a state that permits it yet, and will be later.\n\nThe game gives five such reasons: in atmosphere, under acceleration, moving over the surface, about to crash, on a ladder; and a revert or a scene change can also be switched off by the save's own difficulty settings. The game's reason is on `CommandResult.detail`.\n\nAlso returned by the SCET alarm command for a vantage it cannot check because no command centre is known to the simulation yet: the main menu, and the ticks before the first capture. The same command refuses a vantage that is known and inactive with `CommandErrorCode.Range` instead, because that one does not resolve by waiting. Any other command naming an inactive vantage fails with the `unknownVantage` fault.\n\nDistinct from `CommandErrorCode.WrongState`, which is about the entity and does not resolve by waiting.",
461
452
  },
462
453
  {
463
454
  id: "capabilityMismatch",
@@ -465,7 +456,7 @@ export const CORE_ERROR_CODES = [
465
456
  refines: null,
466
457
  origin: null,
467
458
  sentence: "this craft cannot do it",
468
- meaning: "The part or vessel does not have the capability this command needs: a rotor asked for a target angle, an unmotorised servo asked to drive, a part with no such action, an action present but inert, an autopilot mode this craft cannot hold.\n\nDecided by the part's own module list and fields (`ModuleRoboticServoRotor`/`Hinge`/`Piston`, `servoIsMotorized`, `BaseEvent.active`, `BaseEvent.EventIsDisabledByVariant`) and `VesselAutopilot.CanSetMode`.\n\nNothing an operator waits for. The craft would have to be different for this to work, which is why it is not `CommandErrorCode.NotClearToProceed` and not `CommandErrorCode.WrongState`.",
459
+ meaning: "The part or vessel does not have the capability this command needs: a rotor asked for a target angle, an unmotorised servo asked to drive, a part with no such action, an action present but inert, an autopilot mode this craft cannot hold.\n\nNothing an operator waits for. The craft would have to be different for this to work, which is why it is not `CommandErrorCode.NotClearToProceed` and not `CommandErrorCode.WrongState`.",
469
460
  },
470
461
  {
471
462
  id: "noConnection",
@@ -473,7 +464,7 @@ export const CORE_ERROR_CODES = [
473
464
  refines: null,
474
465
  origin: null,
475
466
  sentence: "there is no usable link",
476
- meaning: "There is no usable link for what this command needs to send.\n\nDecided by `ScienceUtil.GetBestTransmitter(Vessel)` and `IScienceDataTransmitter.CanTransmit()`: the vessel has no antenna that can carry the payload. This is not the comms-loss refusal that stops a command before it reaches the vessel.",
467
+ meaning: "There is no usable link for what this command needs to send.\n\nThe vessel has no antenna that can carry the payload, such as a science transmission.",
477
468
  },
478
469
  {
479
470
  id: "notUnlocked",
@@ -481,7 +472,7 @@ export const CORE_ERROR_CODES = [
481
472
  refines: null,
482
473
  origin: null,
483
474
  sentence: "it has not been unlocked yet",
484
- meaning: "The capability exists in the game but this save has not unlocked it: fuel transfer, custom action groups, flight planning, EVA, the maneuver tool.\n\nDecided by `GameVariables.UnlockedFuelTransfer`, `UnlockedActionGroupsStock`/`Custom`, `UnlockedFlightPlanning`, `UnlockedEVA`/`Flags`/`Clamber`, `ManeuverToolAvailable`, each read at the owning facility's normalised level.\n\nDistinct from `CommandErrorCode.LimitReached`, which is a number against a number. This is a switch that is off, and the fix is an upgrade rather than freeing a slot.",
475
+ meaning: "The capability exists in the game but this save has not unlocked it: fuel transfer, custom action groups, flight planning, EVA, the maneuver tool.\n\nEach switch follows the level of the building that owns it.\n\nDistinct from `CommandErrorCode.LimitReached`, which is a number against a number. This is a switch that is off, and the fix is an upgrade rather than making room.",
485
476
  },
486
477
  {
487
478
  id: "siteOccupied",
@@ -489,7 +480,7 @@ export const CORE_ERROR_CODES = [
489
480
  refines: null,
490
481
  origin: null,
491
482
  sentence: "another vessel is on the launch site",
492
- meaning: "Another vessel is on the launch site.\n\nDecided by `PreFlightTests.LaunchSiteClear`, whose `GetWarningTitle()`/`GetWarningDescription()` are the game's own words for it and ride on `CommandResult.detail`.",
483
+ meaning: "Another vessel is on the launch site.\n\nThe game's own words for it ride on `CommandResult.detail`.",
493
484
  },
494
485
  {
495
486
  id: "facilityDamaged",
@@ -497,7 +488,7 @@ export const CORE_ERROR_CODES = [
497
488
  refines: null,
498
489
  origin: null,
499
490
  sentence: "the building is out of action",
500
- meaning: "The facility this command needs is destroyed or damaged.\n\nDecided by `PreFlightTests.FacilityOperational`, over `PSystemSetup.Instance.GetSpaceCenterFacility(name).GetFacilityDamage()`.",
491
+ meaning: "The facility this command needs is destroyed or damaged.",
501
492
  },
502
493
  {
503
494
  id: "insufficientResource",
@@ -505,7 +496,7 @@ export const CORE_ERROR_CODES = [
505
496
  refines: null,
506
497
  origin: null,
507
498
  sentence: "there are not enough of what it uses aboard",
508
- meaning: "The command consumes a countable ITEM and there are not enough of them aboard.\n\nDecided by the provider's own charge, which it should also state wherever it shows the cost, so the cost shown and the cost taken agree. The item is the provider's to name: this code says only that there were too few, never which item.\n\nSeparate from `CommandErrorCode.InsufficientFunds` and `CommandErrorCode.InsufficientScience`: a physical item cannot be bought.\n\nNot `CommandErrorCode.LimitReached`, which is a capacity that is full. This is a store that is empty.",
499
+ meaning: "The command consumes a countable ITEM and there are not enough of them aboard.\n\nThe provider decides by its own charge, which it should also state wherever it shows the cost, so the cost shown and the cost taken agree. The item is the provider's to name: this code says only that there were too few, never which item.\n\nSeparate from `CommandErrorCode.InsufficientFunds` and `CommandErrorCode.InsufficientScience`: a physical item cannot be bought.\n\nNot `CommandErrorCode.LimitReached`, which is a capacity that is full. This is a store that is empty.",
509
500
  },
510
501
  {
511
502
  id: "unreadable",
@@ -601,7 +592,7 @@ export const CORE_ERROR_CODES = [
601
592
  refines: null,
602
593
  origin: "mod",
603
594
  sentence: "that command centre is not active",
604
- meaning: "A `set-vantage`, or a command's `vantage`, naming a command centre that is not active.",
595
+ meaning: "A `set-vantage`, or a command's `vantage`, naming a command centre that is not active. The SCET alarm command is the exception: it refuses an inactive vantage with the `range` refusal instead.",
605
596
  },
606
597
  {
607
598
  id: "commandExpired",
@@ -611,6 +602,22 @@ export const CORE_ERROR_CODES = [
611
602
  sentence: "it expired before it could run",
612
603
  meaning: "A held command reached its expiry, or its place on the lane passed, before it could run.",
613
604
  },
605
+ {
606
+ id: "groupRefused",
607
+ kind: "fault",
608
+ refines: null,
609
+ origin: "mod",
610
+ sentence: "a command sent with it was refused, so it was not sent or run",
611
+ meaning: "A command sent in a group was not sent because another command in the same group was refused, or because the group itself could not be sent. A group goes whole or not at all, so every member is refused with this one, and the message names the member that decided it.",
612
+ },
613
+ {
614
+ id: "groupStopped",
615
+ kind: "fault",
616
+ refines: null,
617
+ origin: "mod",
618
+ sentence: "an earlier command sent with it failed, so it did not run",
619
+ meaning: "A command sent in a group did not run because an earlier command in the same group failed at the craft. The earlier commands stay done, since a game action cannot be taken back; the message says which ran.",
620
+ },
614
621
  {
615
622
  id: "commandCancelled",
616
623
  kind: "fault",
@@ -633,7 +640,7 @@ export const CORE_ERROR_CODES = [
633
640
  refines: null,
634
641
  origin: "mod",
635
642
  sentence: "it would wait on its way, and a continuous input cannot",
636
- meaning: "A continuous input, a throttle or a control axis, was dropped at a node where it would have had to wait on its way to the craft. Held and sent on later it would arrive as a run of out-of-date values, so a node that cannot send it on at once drops it. It was accepted with a warning when it was sent, and this is the news of its loss, arriving when a report from that node could have reached the sending centre.",
643
+ meaning: "A continuous input, a throttle or a control axis, was dropped at a node, a ground station or relay on the route to the craft, because the link onward was down there and it would have had to be held until it came back. Held and sent on later it would arrive as a run of out-of-date values, so a node that cannot send it on at once drops it. It was accepted with a warning when it was sent, and this is the news of its loss, arriving at the command centre that sent it once a report from that node could have reached it at light speed.",
637
644
  },
638
645
  {
639
646
  id: "undelivered",
@@ -1 +1 @@
1
- {"version":3,"file":"error-codes.js","sourceRoot":"","sources":["../../src/__generated__/error-codes.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,gFAAgF;AAChF,4EAA4E;AAC5E,+BAA+B;AAsB/B;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B;;OAEG;IACH,QAAQ,EAAE,UAAU;IACpB;;;OAGG;IACH,eAAe,EAAE,iBAAiB;IAClC;;OAEG;IACH,KAAK,EAAE,OAAO;IACd;;;OAGG;IACH,QAAQ,EAAE,UAAU;IACpB;;;;;;;OAOG;IACH,YAAY,EAAE,cAAc;IAC5B;;;;;;;OAOG;IACH,YAAY,EAAE,cAAc;IAC5B;;;;;;OAMG;IACH,gBAAgB,EAAE,kBAAkB;IACpC;;;;;;OAMG;IACH,iBAAiB,EAAE,mBAAmB;IACtC;;;;;;;;OAQG;IACH,mBAAmB,EAAE,qBAAqB;IAC1C;;;;;;;;;;;OAWG;IACH,kBAAkB,EAAE,oBAAoB;IACxC;;;;;OAKG;IACH,UAAU,EAAE,YAAY;IACxB;;;;;;;;;;;OAWG;IACH,UAAU,EAAE,YAAY;IACxB;;;;;;;;;;;;;;;;;;OAkBG;IACH,iBAAiB,EAAE,mBAAmB;IACtC;;;;;;;;;;;;;;OAcG;IACH,kBAAkB,EAAE,oBAAoB;IACxC;;;;;;;OAOG;IACH,YAAY,EAAE,cAAc;IAC5B;;;;;;;;;;;;OAYG;IACH,WAAW,EAAE,aAAa;IAC1B;;;;;;OAMG;IACH,YAAY,EAAE,cAAc;IAC5B;;;;;OAKG;IACH,eAAe,EAAE,iBAAiB;IAClC;;;;;;;;;;;;;;OAcG;IACH,oBAAoB,EAAE,sBAAsB;IAC5C;;;;;;;;;;;;;;;;OAgBG;I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xD,OAAO,EAAE,iFAAiF;KAC3F;IACD;QACE,EAAE,EAAE,cAAc;QAClB,IAAI,EAAE,OAAO;QACb,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,sBAAsB;QAChC,OAAO,EAAE,4GAA4G;KACtH;CACF,CAAC"}
1
+ {"version":3,"file":"error-codes.js","sourceRoot":"","sources":["../../src/__generated__/error-codes.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,gFAAgF;AAChF,4EAA4E;AAC5E,+BAA+B;AAsB/B;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B;;OAEG;IACH,QAAQ,EAAE,UAAU;IACpB;;;OAGG;IACH,eAAe,EAAE,iBAAiB;IAClC;;OAEG;IACH,KAAK,EAAE,OAAO;IACd;;;OAGG;IACH,QAAQ,EAAE,UAAU;IACpB;;;;;;;OAOG;IACH,YAAY,EAAE,cAAc;IAC5B;;;;;;;;OAQG;IACH,YAAY,EAAE,cAAc;IAC5B;;;;;;OAMG;IACH,gBAAgB,EAAE,kBAAkB;IACpC;;;;;;OAMG;IACH,iBAAiB,EAAE,mBAAmB;IACtC;;;;;;;OAOG;IACH,mBAAmB,EAAE,qBAAqB;IAC1C;;;;;;OAMG;IACH,kBAAkB,EAAE,oBAAoB;IACxC;;;;OAIG;IACH,UAAU,EAAE,YAAY;IACxB;;;;;;;OAOG;IACH,UAAU,EAAE,YAAY;IACxB;;;;;;;;;;;;;;;;;;OAkBG;IACH,iBAAiB,EAAE,mBAAmB;IACtC;;;;;;;;;OASG;IACH,kBAAkB,EAAE,oBAAoB;IACxC;;;;;OAKG;IACH,YAAY,EAAE,cAAc;IAC5B;;;;;;;;;OASG;IACH,WAAW,EAAE,aAAa;IAC1B;;;;OAIG;IACH,YAAY,EAAE,cAAc;IAC5B;;OAEG;IACH,eAAe,EAAE,iBAAiB;IAClC;;;;;;;;;;;;;;OAcG;IACH,oBAAoB,EAAE,sBAAs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;QACnB,IAAI,EAAE,OAAO;QACb,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,4CAA4C;QACtD,OAAO,EAAE,2FAA2F;KACrG;IACD;QACE,EAAE,EAAE,kBAAkB;QACtB,IAAI,EAAE,OAAO;QACb,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,qCAAqC;QAC/C,OAAO,EAAE,0EAA0E;KACpF;IACD;QACE,EAAE,EAAE,UAAU;QACd,IAAI,EAAE,OAAO;QACb,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,8CAA8C;QACxD,OAAO,EAAE,iFAAiF;KAC3F;IACD;QACE,EAAE,EAAE,cAAc;QAClB,IAAI,EAAE,OAAO;QACb,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,QAAQ;QAChB,QAAQ,EAAE,sBAAsB;QAChC,OAAO,EAAE,4GAA4G;KACtH;CACF,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export declare const GENERATED_TEST_THEME: {
2
+ /** Colour roles as `var(--color-...)` references: text, surfaces, borders, the accent and the focus ring. */
2
3
  readonly colors: {
3
4
  readonly text: {
4
5
  readonly primary: "var(--color-text-primary)";
@@ -23,6 +24,7 @@ export declare const GENERATED_TEST_THEME: {
23
24
  };
24
25
  readonly focus: "var(--color-focus)";
25
26
  };
27
+ /** The monospace family, font sizes as `var(--font-size-...)` references, weights as numbers and letter spacings in `em`. */
26
28
  readonly typography: {
27
29
  readonly family: {
28
30
  readonly mono: "var(--font-family-mono)";
@@ -44,6 +46,7 @@ export declare const GENERATED_TEST_THEME: {
44
46
  readonly body: "0";
45
47
  };
46
48
  };
49
+ /** Whole CSS border declarations, such as `1px solid var(--color-border-subtle)`. */
47
50
  readonly borders: {
48
51
  readonly subtle: "1px solid var(--color-border-subtle)";
49
52
  readonly strong: "1px solid var(--color-border-strong)";
@@ -1 +1 @@
1
- {"version":3,"file":"test-theme.d.ts","sourceRoot":"","sources":["../../src/__generated__/test-theme.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkDvB,CAAC"}
1
+ {"version":3,"file":"test-theme.d.ts","sourceRoot":"","sources":["../../src/__generated__/test-theme.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,oBAAoB;IAC/B,6GAA6G;;;;;;;;;;;;;;;;;;;;;;;;;IAyB7G,6HAA6H;;;;;;;;;;;;;;;;;;;;;;IAsB7H,qFAAqF;;;;;CAK7E,CAAC"}