@ksp-gonogo/sitrep-sdk 0.0.1 → 0.2.0-rc.12
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.
- package/LICENSE +2 -2
- package/README.md +48 -8
- package/biome.shared.json +26 -0
- package/dist/__generated__/command-map.d.ts +480 -0
- package/dist/__generated__/command-map.d.ts.map +1 -0
- package/dist/__generated__/command-map.js +265 -0
- package/dist/__generated__/command-map.js.map +1 -0
- package/dist/__generated__/contract.d.ts +10271 -454
- package/dist/__generated__/contract.d.ts.map +1 -1
- package/dist/__generated__/contract.js +1163 -11
- package/dist/__generated__/contract.js.map +1 -1
- package/dist/__generated__/control-channels.d.ts +116 -0
- package/dist/__generated__/control-channels.d.ts.map +1 -0
- package/dist/__generated__/control-channels.js +29 -0
- package/dist/__generated__/control-channels.js.map +1 -0
- package/dist/__generated__/delay-roles.d.ts +17 -0
- package/dist/__generated__/delay-roles.d.ts.map +1 -0
- package/dist/__generated__/delay-roles.js +72 -0
- package/dist/__generated__/delay-roles.js.map +1 -0
- package/dist/__generated__/error-codes.d.ts +376 -0
- package/dist/__generated__/error-codes.d.ts.map +1 -0
- package/dist/__generated__/error-codes.js +688 -0
- package/dist/__generated__/error-codes.js.map +1 -0
- package/dist/__generated__/frames.d.ts +83 -0
- package/dist/__generated__/frames.d.ts.map +1 -0
- package/dist/__generated__/frames.js +44 -0
- package/dist/__generated__/frames.js.map +1 -0
- package/dist/__generated__/reckonability.d.ts +381 -0
- package/dist/__generated__/reckonability.d.ts.map +1 -0
- package/dist/__generated__/reckonability.js +49 -0
- package/dist/__generated__/reckonability.js.map +1 -0
- package/dist/__generated__/test-theme.d.ts +52 -0
- package/dist/__generated__/test-theme.d.ts.map +1 -0
- package/dist/__generated__/test-theme.js +70 -0
- package/dist/__generated__/test-theme.js.map +1 -0
- package/dist/__generated__/topic-map.d.ts +44 -12
- package/dist/__generated__/topic-map.d.ts.map +1 -1
- package/dist/__generated__/topic-map.js +84 -11
- package/dist/__generated__/topic-map.js.map +1 -1
- package/dist/__generated__/units.d.ts +97 -0
- package/dist/__generated__/units.d.ts.map +1 -0
- package/dist/__generated__/units.js +3302 -0
- package/dist/__generated__/units.js.map +1 -0
- package/dist/api/action-dispatch.d.ts +36 -0
- package/dist/api/action-dispatch.d.ts.map +1 -0
- package/dist/api/action-dispatch.js +79 -0
- package/dist/api/action-dispatch.js.map +1 -0
- package/dist/api/alarm-request.d.ts +118 -0
- package/dist/api/alarm-request.d.ts.map +1 -0
- package/dist/api/alarm-request.js +50 -0
- package/dist/api/alarm-request.js.map +1 -0
- package/dist/api/bodies.d.ts +68 -0
- package/dist/api/bodies.d.ts.map +1 -0
- package/dist/api/bodies.js +103 -0
- package/dist/api/bodies.js.map +1 -0
- package/dist/api/command-rejection.d.ts +104 -0
- package/dist/api/command-rejection.d.ts.map +1 -0
- package/dist/api/command-rejection.js +128 -0
- package/dist/api/command-rejection.js.map +1 -0
- package/dist/api/contribution-slots.d.ts +594 -0
- package/dist/api/contribution-slots.d.ts.map +1 -0
- package/dist/api/contribution-slots.js +43 -0
- package/dist/api/contribution-slots.js.map +1 -0
- package/dist/api/coverage/CoverageMaskCache.d.ts +52 -0
- package/dist/api/coverage/CoverageMaskCache.d.ts.map +1 -0
- package/dist/api/coverage/CoverageMaskCache.js +89 -0
- package/dist/api/coverage/CoverageMaskCache.js.map +1 -0
- package/dist/api/coverage/CoverageMaskContext.d.ts +35 -0
- package/dist/api/coverage/CoverageMaskContext.d.ts.map +1 -0
- package/dist/api/coverage/CoverageMaskContext.js +53 -0
- package/dist/api/coverage/CoverageMaskContext.js.map +1 -0
- package/dist/api/coverage-source.d.ts +42 -0
- package/dist/api/coverage-source.d.ts.map +1 -0
- package/dist/api/coverage-source.js +118 -0
- package/dist/api/coverage-source.js.map +1 -0
- package/dist/api/error-codes.d.ts +32 -0
- package/dist/api/error-codes.d.ts.map +1 -0
- package/dist/api/error-codes.js +77 -0
- package/dist/api/error-codes.js.map +1 -0
- package/dist/api/event-reveal.d.ts +56 -0
- package/dist/api/event-reveal.d.ts.map +1 -0
- package/dist/api/event-reveal.js +53 -0
- package/dist/api/event-reveal.js.map +1 -0
- package/dist/api/host.d.ts +130 -0
- package/dist/api/host.d.ts.map +1 -0
- package/dist/api/host.js +57 -0
- package/dist/api/host.js.map +1 -0
- package/dist/api/index.d.ts +604 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +671 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/localStorageStore.d.ts +50 -0
- package/dist/api/localStorageStore.d.ts.map +1 -0
- package/dist/api/localStorageStore.js +151 -0
- package/dist/api/localStorageStore.js.map +1 -0
- package/dist/api/logger-contract.d.ts +37 -0
- package/dist/api/logger-contract.d.ts.map +1 -0
- package/dist/api/logger-contract.js +2 -0
- package/dist/api/logger-contract.js.map +1 -0
- package/dist/api/logger.d.ts +9 -0
- package/dist/api/logger.d.ts.map +1 -0
- package/dist/api/logger.js +16 -0
- package/dist/api/logger.js.map +1 -0
- package/dist/api/map-poi.d.ts +28 -0
- package/dist/api/map-poi.d.ts.map +1 -0
- package/dist/api/map-poi.js +82 -0
- package/dist/api/map-poi.js.map +1 -0
- package/dist/api/plot-layers.d.ts +240 -0
- package/dist/api/plot-layers.d.ts.map +1 -0
- package/dist/api/plot-layers.js +35 -0
- package/dist/api/plot-layers.js.map +1 -0
- package/dist/api/plots.d.ts +127 -0
- package/dist/api/plots.d.ts.map +1 -0
- package/dist/api/plots.js +39 -0
- package/dist/api/plots.js.map +1 -0
- package/dist/api/registry.d.ts +106 -0
- package/dist/api/registry.d.ts.map +1 -0
- package/dist/api/registry.js +267 -0
- package/dist/api/registry.js.map +1 -0
- package/dist/api/root-providers.d.ts +63 -0
- package/dist/api/root-providers.d.ts.map +1 -0
- package/dist/api/root-providers.js +76 -0
- package/dist/api/root-providers.js.map +1 -0
- package/dist/api/safe-random-uuid.d.ts +8 -0
- package/dist/api/safe-random-uuid.d.ts.map +1 -0
- package/dist/api/safe-random-uuid.js +19 -0
- package/dist/api/safe-random-uuid.js.map +1 -0
- package/dist/api/settings/SettingsContext.d.ts +32 -0
- package/dist/api/settings/SettingsContext.d.ts.map +1 -0
- package/dist/api/settings/SettingsContext.js +46 -0
- package/dist/api/settings/SettingsContext.js.map +1 -0
- package/dist/api/settings/SettingsService.d.ts +36 -0
- package/dist/api/settings/SettingsService.d.ts.map +1 -0
- package/dist/api/settings/SettingsService.js +139 -0
- package/dist/api/settings/SettingsService.js.map +1 -0
- package/dist/api/settings/store.d.ts +67 -0
- package/dist/api/settings/store.d.ts.map +1 -0
- package/dist/api/settings/store.js +160 -0
- package/dist/api/settings/store.js.map +1 -0
- package/dist/api/slots.d.ts +870 -0
- package/dist/api/slots.d.ts.map +1 -0
- package/dist/api/slots.js +45 -0
- package/dist/api/slots.js.map +1 -0
- package/dist/api/station-brokers.d.ts +48 -0
- package/dist/api/station-brokers.d.ts.map +1 -0
- package/dist/api/station-brokers.js +74 -0
- package/dist/api/station-brokers.js.map +1 -0
- package/dist/api/stock-bodies.d.ts +20 -0
- package/dist/api/stock-bodies.d.ts.map +1 -0
- package/dist/api/stock-bodies.js +263 -0
- package/dist/api/stock-bodies.js.map +1 -0
- package/dist/api/tiny-size.d.ts +13 -0
- package/dist/api/tiny-size.d.ts.map +1 -0
- package/dist/api/tiny-size.js +10 -0
- package/dist/api/tiny-size.js.map +1 -0
- package/dist/api/tone.d.ts +25 -0
- package/dist/api/tone.d.ts.map +1 -0
- package/dist/api/tone.js +15 -0
- package/dist/api/tone.js.map +1 -0
- package/dist/api/transport.d.ts +83 -0
- package/dist/api/transport.d.ts.map +1 -0
- package/dist/api/transport.js +2 -0
- package/dist/api/transport.js.map +1 -0
- package/dist/api/types.d.ts +1604 -0
- package/dist/api/types.d.ts.map +1 -0
- package/dist/api/types.js +19 -0
- package/dist/api/types.js.map +1 -0
- package/dist/api/uplink-handles.d.ts +40 -0
- package/dist/api/uplink-handles.d.ts.map +1 -0
- package/dist/api/uplink-handles.js +59 -0
- package/dist/api/uplink-handles.js.map +1 -0
- package/dist/binary-frame.d.ts +116 -0
- package/dist/binary-frame.d.ts.map +1 -0
- package/dist/binary-frame.js +188 -0
- package/dist/binary-frame.js.map +1 -0
- package/dist/burn-clock.d.ts +61 -0
- package/dist/burn-clock.d.ts.map +1 -0
- package/dist/burn-clock.js +82 -0
- package/dist/burn-clock.js.map +1 -0
- package/dist/client.d.ts +8 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +39 -7
- package/dist/client.js.map +1 -1
- package/dist/combine-readings.d.ts +84 -0
- package/dist/combine-readings.d.ts.map +1 -0
- package/dist/combine-readings.js +197 -0
- package/dist/combine-readings.js.map +1 -0
- package/dist/command-delay.d.ts +211 -0
- package/dist/command-delay.d.ts.map +1 -0
- package/dist/command-delay.js +194 -0
- package/dist/command-delay.js.map +1 -0
- package/dist/command-reply-units.d.ts +14 -0
- package/dist/command-reply-units.d.ts.map +1 -0
- package/dist/command-reply-units.js +46 -0
- package/dist/command-reply-units.js.map +1 -0
- package/dist/commands.d.ts +143 -0
- package/dist/commands.d.ts.map +1 -0
- package/dist/commands.js +113 -0
- package/dist/commands.js.map +1 -0
- package/dist/comms-degrade.d.ts +43 -0
- package/dist/comms-degrade.d.ts.map +1 -0
- package/dist/comms-degrade.js +45 -0
- package/dist/comms-degrade.js.map +1 -0
- package/dist/compat-versions.d.ts +42 -0
- package/dist/compat-versions.d.ts.map +1 -0
- package/dist/compat-versions.js +42 -0
- package/dist/compat-versions.js.map +1 -0
- package/dist/contract-enum-names.d.ts +89 -0
- package/dist/contract-enum-names.d.ts.map +1 -0
- package/dist/contract-enum-names.js +90 -0
- package/dist/contract-enum-names.js.map +1 -0
- package/dist/control-channels.d.ts +46 -0
- package/dist/control-channels.d.ts.map +1 -0
- package/dist/control-channels.js +49 -0
- package/dist/control-channels.js.map +1 -0
- package/dist/crew-standing.d.ts +69 -0
- package/dist/crew-standing.d.ts.map +1 -0
- package/dist/crew-standing.js +105 -0
- package/dist/crew-standing.js.map +1 -0
- package/dist/delay-roles.d.ts +96 -0
- package/dist/delay-roles.d.ts.map +1 -0
- package/dist/delay-roles.js +114 -0
- package/dist/delay-roles.js.map +1 -0
- package/dist/descent.d.ts +89 -0
- package/dist/descent.d.ts.map +1 -0
- package/dist/descent.js +96 -0
- package/dist/descent.js.map +1 -0
- package/dist/enum-names.d.ts +18 -0
- package/dist/enum-names.d.ts.map +1 -0
- package/dist/enum-names.js +35 -0
- package/dist/enum-names.js.map +1 -0
- package/dist/envelope.d.ts +15 -3
- package/dist/envelope.d.ts.map +1 -1
- package/dist/envelope.js +1 -0
- package/dist/envelope.js.map +1 -1
- package/dist/event-timeline.d.ts +112 -0
- package/dist/event-timeline.d.ts.map +1 -0
- package/dist/event-timeline.js +120 -0
- package/dist/event-timeline.js.map +1 -0
- package/dist/extensions.d.ts +28 -0
- package/dist/extensions.d.ts.map +1 -0
- package/dist/extensions.js +36 -0
- package/dist/extensions.js.map +1 -0
- package/dist/field-frames.d.ts +32 -0
- package/dist/field-frames.d.ts.map +1 -0
- package/dist/field-frames.js +41 -0
- package/dist/field-frames.js.map +1 -0
- package/dist/flight/BufferedDataSource.d.ts +260 -0
- package/dist/flight/BufferedDataSource.d.ts.map +1 -0
- package/dist/flight/BufferedDataSource.js +790 -0
- package/dist/flight/BufferedDataSource.js.map +1 -0
- package/dist/flight/DataSourceWrapper.d.ts +33 -0
- package/dist/flight/DataSourceWrapper.d.ts.map +1 -0
- package/dist/flight/DataSourceWrapper.js +55 -0
- package/dist/flight/DataSourceWrapper.js.map +1 -0
- package/dist/flight/ListenerSet.d.ts +28 -0
- package/dist/flight/ListenerSet.d.ts.map +1 -0
- package/dist/flight/ListenerSet.js +66 -0
- package/dist/flight/ListenerSet.js.map +1 -0
- package/dist/flight/debugFlight.d.ts +8 -0
- package/dist/flight/debugFlight.d.ts.map +1 -0
- package/dist/flight/debugFlight.js +14 -0
- package/dist/flight/debugFlight.js.map +1 -0
- package/dist/flight/derive.d.ts +45 -0
- package/dist/flight/derive.d.ts.map +1 -0
- package/dist/flight/derive.js +26 -0
- package/dist/flight/derive.js.map +1 -0
- package/dist/flight/fixtureIO.d.ts +103 -0
- package/dist/flight/fixtureIO.d.ts.map +1 -0
- package/dist/flight/fixtureIO.js +120 -0
- package/dist/flight/fixtureIO.js.map +1 -0
- package/dist/flight/flightAutoDelete.d.ts +33 -0
- package/dist/flight/flightAutoDelete.d.ts.map +1 -0
- package/dist/flight/flightAutoDelete.js +43 -0
- package/dist/flight/flightAutoDelete.js.map +1 -0
- package/dist/flight/flightDetector.d.ts +73 -0
- package/dist/flight/flightDetector.d.ts.map +1 -0
- package/dist/flight/flightDetector.js +167 -0
- package/dist/flight/flightDetector.js.map +1 -0
- package/dist/flight/storage/LocalStorageStore.d.ts +52 -0
- package/dist/flight/storage/LocalStorageStore.d.ts.map +1 -0
- package/dist/flight/storage/LocalStorageStore.js +127 -0
- package/dist/flight/storage/LocalStorageStore.js.map +1 -0
- package/dist/flight/storage/MemoryStore.d.ts +24 -0
- package/dist/flight/storage/MemoryStore.d.ts.map +1 -0
- package/dist/flight/storage/MemoryStore.js +90 -0
- package/dist/flight/storage/MemoryStore.js.map +1 -0
- package/dist/flight/storage/Store.d.ts +37 -0
- package/dist/flight/storage/Store.d.ts.map +1 -0
- package/dist/flight/storage/Store.js +8 -0
- package/dist/flight/storage/Store.js.map +1 -0
- package/dist/flight/types.d.ts +358 -0
- package/dist/flight/types.d.ts.map +1 -0
- package/dist/flight/types.js +10 -0
- package/dist/flight/types.js.map +1 -0
- package/dist/frame-qualifier.d.ts +61 -0
- package/dist/frame-qualifier.d.ts.map +1 -0
- package/dist/frame-qualifier.js +122 -0
- package/dist/frame-qualifier.js.map +1 -0
- package/dist/frames/index.d.ts +133 -0
- package/dist/frames/index.d.ts.map +1 -0
- package/dist/frames/index.js +128 -0
- package/dist/frames/index.js.map +1 -0
- package/dist/index.d.ts +76 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +191 -5
- package/dist/index.js.map +1 -1
- package/dist/ksp-enum-names.d.ts +127 -0
- package/dist/ksp-enum-names.d.ts.map +1 -0
- package/dist/ksp-enum-names.js +128 -0
- package/dist/ksp-enum-names.js.map +1 -0
- package/dist/locked.d.ts +20 -0
- package/dist/locked.d.ts.map +1 -0
- package/dist/locked.js +25 -0
- package/dist/locked.js.map +1 -0
- package/dist/magnitude.d.ts +37 -0
- package/dist/magnitude.d.ts.map +1 -0
- package/dist/magnitude.js +39 -0
- package/dist/magnitude.js.map +1 -0
- package/dist/maneuver-basis.d.ts +19 -0
- package/dist/maneuver-basis.d.ts.map +1 -0
- package/dist/maneuver-basis.js +37 -0
- package/dist/maneuver-basis.js.map +1 -0
- package/dist/media/capture-clock.d.ts +35 -0
- package/dist/media/capture-clock.d.ts.map +1 -0
- package/dist/media/capture-clock.js +26 -0
- package/dist/media/capture-clock.js.map +1 -0
- package/dist/media/delayed-playout-buffer.d.ts +169 -0
- package/dist/media/delayed-playout-buffer.d.ts.map +1 -0
- package/dist/media/delayed-playout-buffer.js +166 -0
- package/dist/media/delayed-playout-buffer.js.map +1 -0
- package/dist/media/encoded-frame-delay.d.ts +115 -0
- package/dist/media/encoded-frame-delay.d.ts.map +1 -0
- package/dist/media/encoded-frame-delay.js +85 -0
- package/dist/media/encoded-frame-delay.js.map +1 -0
- package/dist/media/frame-delay.d.ts +204 -0
- package/dist/media/frame-delay.d.ts.map +1 -0
- package/dist/media/frame-delay.js +237 -0
- package/dist/media/frame-delay.js.map +1 -0
- package/dist/media/index.d.ts +17 -0
- package/dist/media/index.d.ts.map +1 -0
- package/dist/media/index.js +21 -0
- package/dist/media/index.js.map +1 -0
- package/dist/media/radio-support.d.ts +98 -0
- package/dist/media/radio-support.d.ts.map +1 -0
- package/dist/media/radio-support.js +99 -0
- package/dist/media/radio-support.js.map +1 -0
- package/dist/media/shared-delayed-streams.d.ts +119 -0
- package/dist/media/shared-delayed-streams.d.ts.map +1 -0
- package/dist/media/shared-delayed-streams.js +167 -0
- package/dist/media/shared-delayed-streams.js.map +1 -0
- package/dist/media/worker/delay-worker-client.d.ts +106 -0
- package/dist/media/worker/delay-worker-client.d.ts.map +1 -0
- package/dist/media/worker/delay-worker-client.js +207 -0
- package/dist/media/worker/delay-worker-client.js.map +1 -0
- package/dist/media/worker/delay-worker.d.ts +107 -0
- package/dist/media/worker/delay-worker.d.ts.map +1 -0
- package/dist/media/worker/delay-worker.js +604 -0
- package/dist/media/worker/delay-worker.js.map +7 -0
- package/dist/media/worker/presentation-pacer.d.ts +156 -0
- package/dist/media/worker/presentation-pacer.d.ts.map +1 -0
- package/dist/media/worker/presentation-pacer.js +200 -0
- package/dist/media/worker/presentation-pacer.js.map +1 -0
- package/dist/media/worker/time-base.d.ts +44 -0
- package/dist/media/worker/time-base.d.ts.map +1 -0
- package/dist/media/worker/time-base.js +48 -0
- package/dist/media/worker/time-base.js.map +1 -0
- package/dist/media/worker/worker-delay-clock.d.ts +59 -0
- package/dist/media/worker/worker-delay-clock.d.ts.map +1 -0
- package/dist/media/worker/worker-delay-clock.js +89 -0
- package/dist/media/worker/worker-delay-clock.js.map +1 -0
- package/dist/perf/PerfBudget.d.ts +116 -0
- package/dist/perf/PerfBudget.d.ts.map +1 -0
- package/dist/perf/PerfBudget.js +221 -0
- package/dist/perf/PerfBudget.js.map +1 -0
- package/dist/rail-tags.d.ts +156 -0
- package/dist/rail-tags.d.ts.map +1 -0
- package/dist/rail-tags.js +131 -0
- package/dist/rail-tags.js.map +1 -0
- package/dist/raw-field-split.d.ts +32 -0
- package/dist/raw-field-split.d.ts.map +1 -0
- package/dist/raw-field-split.js +46 -0
- package/dist/raw-field-split.js.map +1 -0
- package/dist/reading.d.ts +960 -0
- package/dist/reading.d.ts.map +1 -0
- package/dist/reading.js +529 -0
- package/dist/reading.js.map +1 -0
- package/dist/reckonability.d.ts +52 -0
- package/dist/reckonability.d.ts.map +1 -0
- package/dist/reckonability.js +79 -0
- package/dist/reckonability.js.map +1 -0
- package/dist/registry/index.d.ts +7 -0
- package/dist/registry/index.d.ts.map +1 -0
- package/dist/registry/index.js +26 -0
- package/dist/registry/index.js.map +1 -0
- package/dist/runtime-topic-registry.d.ts +99 -0
- package/dist/runtime-topic-registry.d.ts.map +1 -0
- package/dist/runtime-topic-registry.js +182 -0
- package/dist/runtime-topic-registry.js.map +1 -0
- package/dist/spine/arrival-deadline.d.ts +19 -0
- package/dist/spine/arrival-deadline.d.ts.map +1 -0
- package/dist/spine/arrival-deadline.js +38 -0
- package/dist/spine/arrival-deadline.js.map +1 -0
- package/dist/spine/atmospheric-reckoning.d.ts +161 -0
- package/dist/spine/atmospheric-reckoning.d.ts.map +1 -0
- package/dist/spine/atmospheric-reckoning.js +421 -0
- package/dist/spine/atmospheric-reckoning.js.map +1 -0
- package/dist/spine/body-derivations.d.ts +28 -0
- package/dist/spine/body-derivations.d.ts.map +1 -0
- package/dist/spine/body-derivations.js +73 -0
- package/dist/spine/body-derivations.js.map +1 -0
- package/dist/spine/capability-lock.d.ts +43 -0
- package/dist/spine/capability-lock.d.ts.map +1 -0
- package/dist/spine/capability-lock.js +153 -0
- package/dist/spine/capability-lock.js.map +1 -0
- package/dist/spine/celestial-facts.d.ts +181 -0
- package/dist/spine/celestial-facts.d.ts.map +1 -0
- package/dist/spine/celestial-facts.js +212 -0
- package/dist/spine/celestial-facts.js.map +1 -0
- package/dist/spine/channel-error-warning.d.ts +24 -0
- package/dist/spine/channel-error-warning.d.ts.map +1 -0
- package/dist/spine/channel-error-warning.js +51 -0
- package/dist/spine/channel-error-warning.js.map +1 -0
- package/dist/spine/client-reading.d.ts +70 -0
- package/dist/spine/client-reading.d.ts.map +1 -0
- package/dist/spine/client-reading.js +123 -0
- package/dist/spine/client-reading.js.map +1 -0
- package/dist/spine/client-timeline.d.ts +130 -0
- package/dist/spine/client-timeline.d.ts.map +1 -0
- package/dist/spine/client-timeline.js +174 -0
- package/dist/spine/client-timeline.js.map +1 -0
- package/dist/spine/client.d.ts +454 -0
- package/dist/spine/client.d.ts.map +1 -0
- package/dist/spine/client.js +1138 -0
- package/dist/spine/client.js.map +1 -0
- package/dist/spine/clock.d.ts +48 -0
- package/dist/spine/clock.d.ts.map +1 -0
- package/dist/spine/clock.js +22 -0
- package/dist/spine/clock.js.map +1 -0
- package/dist/spine/command-gate.d.ts +89 -0
- package/dist/spine/command-gate.d.ts.map +1 -0
- package/dist/spine/command-gate.js +56 -0
- package/dist/spine/command-gate.js.map +1 -0
- package/dist/spine/comms-delay-reckoning.d.ts +123 -0
- package/dist/spine/comms-delay-reckoning.d.ts.map +1 -0
- package/dist/spine/comms-delay-reckoning.js +166 -0
- package/dist/spine/comms-delay-reckoning.js.map +1 -0
- package/dist/spine/comms-journey.d.ts +74 -0
- package/dist/spine/comms-journey.d.ts.map +1 -0
- package/dist/spine/comms-journey.js +180 -0
- package/dist/spine/comms-journey.js.map +1 -0
- package/dist/spine/comms-path-geometry.d.ts +128 -0
- package/dist/spine/comms-path-geometry.d.ts.map +1 -0
- package/dist/spine/comms-path-geometry.js +172 -0
- package/dist/spine/comms-path-geometry.js.map +1 -0
- package/dist/spine/comms-route.d.ts +52 -0
- package/dist/spine/comms-route.d.ts.map +1 -0
- package/dist/spine/comms-route.js +109 -0
- package/dist/spine/comms-route.js.map +1 -0
- package/dist/spine/connection-error-warning.d.ts +28 -0
- package/dist/spine/connection-error-warning.d.ts.map +1 -0
- package/dist/spine/connection-error-warning.js +49 -0
- package/dist/spine/connection-error-warning.js.map +1 -0
- package/dist/spine/connectivity-history.d.ts +35 -0
- package/dist/spine/connectivity-history.d.ts.map +1 -0
- package/dist/spine/connectivity-history.js +54 -0
- package/dist/spine/connectivity-history.js.map +1 -0
- package/dist/spine/context.d.ts +485 -0
- package/dist/spine/context.d.ts.map +1 -0
- package/dist/spine/context.js +1017 -0
- package/dist/spine/context.js.map +1 -0
- package/dist/spine/contributed-channels.d.ts +48 -0
- package/dist/spine/contributed-channels.d.ts.map +1 -0
- package/dist/spine/contributed-channels.js +104 -0
- package/dist/spine/contributed-channels.js.map +1 -0
- package/dist/spine/contribution-scope.d.ts +19 -0
- package/dist/spine/contribution-scope.d.ts.map +1 -0
- package/dist/spine/contribution-scope.js +62 -0
- package/dist/spine/contribution-scope.js.map +1 -0
- package/dist/spine/contributions.d.ts +77 -0
- package/dist/spine/contributions.d.ts.map +1 -0
- package/dist/spine/contributions.js +180 -0
- package/dist/spine/contributions.js.map +1 -0
- package/dist/spine/control-frame-to-read-frame.d.ts +43 -0
- package/dist/spine/control-frame-to-read-frame.d.ts.map +1 -0
- package/dist/spine/control-frame-to-read-frame.js +79 -0
- package/dist/spine/control-frame-to-read-frame.js.map +1 -0
- package/dist/spine/core-reckoners.d.ts +2 -0
- package/dist/spine/core-reckoners.d.ts.map +1 -0
- package/dist/spine/core-reckoners.js +894 -0
- package/dist/spine/core-reckoners.js.map +1 -0
- package/dist/spine/dashboard-item.d.ts +12 -0
- package/dist/spine/dashboard-item.d.ts.map +1 -0
- package/dist/spine/dashboard-item.js +16 -0
- package/dist/spine/dashboard-item.js.map +1 -0
- package/dist/spine/delay-authority.d.ts +204 -0
- package/dist/spine/delay-authority.d.ts.map +1 -0
- package/dist/spine/delay-authority.js +306 -0
- package/dist/spine/delay-authority.js.map +1 -0
- package/dist/spine/delta-v-budget.d.ts +121 -0
- package/dist/spine/delta-v-budget.d.ts.map +1 -0
- package/dist/spine/delta-v-budget.js +141 -0
- package/dist/spine/delta-v-budget.js.map +1 -0
- package/dist/spine/departure-reckoning.d.ts +37 -0
- package/dist/spine/departure-reckoning.d.ts.map +1 -0
- package/dist/spine/departure-reckoning.js +44 -0
- package/dist/spine/departure-reckoning.js.map +1 -0
- package/dist/spine/dv-stage-resources.d.ts +29 -0
- package/dist/spine/dv-stage-resources.d.ts.map +1 -0
- package/dist/spine/dv-stage-resources.js +95 -0
- package/dist/spine/dv-stage-resources.js.map +1 -0
- package/dist/spine/heartbeat-tracker.d.ts +116 -0
- package/dist/spine/heartbeat-tracker.d.ts.map +1 -0
- package/dist/spine/heartbeat-tracker.js +175 -0
- package/dist/spine/heartbeat-tracker.js.map +1 -0
- package/dist/spine/held-command-actions.d.ts +33 -0
- package/dist/spine/held-command-actions.d.ts.map +1 -0
- package/dist/spine/held-command-actions.js +75 -0
- package/dist/spine/held-command-actions.js.map +1 -0
- package/dist/spine/impact-point.d.ts +97 -0
- package/dist/spine/impact-point.d.ts.map +1 -0
- package/dist/spine/impact-point.js +299 -0
- package/dist/spine/impact-point.js.map +1 -0
- package/dist/spine/index.d.ts +84 -0
- package/dist/spine/index.d.ts.map +1 -0
- package/dist/spine/index.js +132 -0
- package/dist/spine/index.js.map +1 -0
- package/dist/spine/kepler-reckoning.d.ts +244 -0
- package/dist/spine/kepler-reckoning.d.ts.map +1 -0
- package/dist/spine/kepler-reckoning.js +377 -0
- package/dist/spine/kepler-reckoning.js.map +1 -0
- package/dist/spine/kepler.d.ts +296 -0
- package/dist/spine/kepler.d.ts.map +1 -0
- package/dist/spine/kepler.js +330 -0
- package/dist/spine/kepler.js.map +1 -0
- package/dist/spine/lagrange.d.ts +247 -0
- package/dist/spine/lagrange.d.ts.map +1 -0
- package/dist/spine/lagrange.js +379 -0
- package/dist/spine/lagrange.js.map +1 -0
- package/dist/spine/lifecycle.d.ts +244 -0
- package/dist/spine/lifecycle.d.ts.map +1 -0
- package/dist/spine/lifecycle.js +37 -0
- package/dist/spine/lifecycle.js.map +1 -0
- package/dist/spine/lock-scope.d.ts +23 -0
- package/dist/spine/lock-scope.d.ts.map +1 -0
- package/dist/spine/lock-scope.js +10 -0
- package/dist/spine/lock-scope.js.map +1 -0
- package/dist/spine/map-command.d.ts +29 -0
- package/dist/spine/map-command.d.ts.map +1 -0
- package/dist/spine/map-command.js +32 -0
- package/dist/spine/map-command.js.map +1 -0
- package/dist/spine/map-topic.d.ts +60 -0
- package/dist/spine/map-topic.d.ts.map +1 -0
- package/dist/spine/map-topic.js +151 -0
- package/dist/spine/map-topic.js.map +1 -0
- package/dist/spine/mod-settings.d.ts +22 -0
- package/dist/spine/mod-settings.d.ts.map +1 -0
- package/dist/spine/mod-settings.js +42 -0
- package/dist/spine/mod-settings.js.map +1 -0
- package/dist/spine/never-reckonable.d.ts +79 -0
- package/dist/spine/never-reckonable.d.ts.map +1 -0
- package/dist/spine/never-reckonable.js +168 -0
- package/dist/spine/never-reckonable.js.map +1 -0
- package/dist/spine/orbit-patches.d.ts +81 -0
- package/dist/spine/orbit-patches.d.ts.map +1 -0
- package/dist/spine/orbit-patches.js +111 -0
- package/dist/spine/orbit-patches.js.map +1 -0
- package/dist/spine/orbit-trajectory.d.ts +276 -0
- package/dist/spine/orbit-trajectory.d.ts.map +1 -0
- package/dist/spine/orbit-trajectory.js +382 -0
- package/dist/spine/orbit-trajectory.js.map +1 -0
- package/dist/spine/orbital-solve.d.ts +164 -0
- package/dist/spine/orbital-solve.d.ts.map +1 -0
- package/dist/spine/orbital-solve.js +239 -0
- package/dist/spine/orbital-solve.js.map +1 -0
- package/dist/spine/own-craft-vantage.d.ts +80 -0
- package/dist/spine/own-craft-vantage.d.ts.map +1 -0
- package/dist/spine/own-craft-vantage.js +136 -0
- package/dist/spine/own-craft-vantage.js.map +1 -0
- package/dist/spine/past-track.d.ts +46 -0
- package/dist/spine/past-track.d.ts.map +1 -0
- package/dist/spine/past-track.js +62 -0
- package/dist/spine/past-track.js.map +1 -0
- package/dist/spine/powered-reckoning.d.ts +164 -0
- package/dist/spine/powered-reckoning.d.ts.map +1 -0
- package/dist/spine/powered-reckoning.js +514 -0
- package/dist/spine/powered-reckoning.js.map +1 -0
- package/dist/spine/processorEvaluator.d.ts +110 -0
- package/dist/spine/processorEvaluator.d.ts.map +1 -0
- package/dist/spine/processorEvaluator.js +608 -0
- package/dist/spine/processorEvaluator.js.map +1 -0
- package/dist/spine/processors.d.ts +242 -0
- package/dist/spine/processors.d.ts.map +1 -0
- package/dist/spine/processors.js +109 -0
- package/dist/spine/processors.js.map +1 -0
- package/dist/spine/propagation.d.ts +17 -0
- package/dist/spine/propagation.d.ts.map +1 -0
- package/dist/spine/propagation.js +22 -0
- package/dist/spine/propagation.js.map +1 -0
- package/dist/spine/rail-registry.d.ts +21 -0
- package/dist/spine/rail-registry.d.ts.map +1 -0
- package/dist/spine/rail-registry.js +7 -0
- package/dist/spine/rail-registry.js.map +1 -0
- package/dist/spine/reckoners.d.ts +133 -0
- package/dist/spine/reckoners.d.ts.map +1 -0
- package/dist/spine/reckoners.js +245 -0
- package/dist/spine/reckoners.js.map +1 -0
- package/dist/spine/reference-frame.d.ts +286 -0
- package/dist/spine/reference-frame.d.ts.map +1 -0
- package/dist/spine/reference-frame.js +605 -0
- package/dist/spine/reference-frame.js.map +1 -0
- package/dist/spine/replay-recorder.d.ts +72 -0
- package/dist/spine/replay-recorder.d.ts.map +1 -0
- package/dist/spine/replay-recorder.js +101 -0
- package/dist/spine/replay-recorder.js.map +1 -0
- package/dist/spine/replay-session-controller.d.ts +65 -0
- package/dist/spine/replay-session-controller.d.ts.map +1 -0
- package/dist/spine/replay-session-controller.js +220 -0
- package/dist/spine/replay-session-controller.js.map +1 -0
- package/dist/spine/replay-session.d.ts +20 -0
- package/dist/spine/replay-session.d.ts.map +1 -0
- package/dist/spine/replay-session.js +31 -0
- package/dist/spine/replay-session.js.map +1 -0
- package/dist/spine/replay-transport.d.ts +83 -0
- package/dist/spine/replay-transport.d.ts.map +1 -0
- package/dist/spine/replay-transport.js +95 -0
- package/dist/spine/replay-transport.js.map +1 -0
- package/dist/spine/screen.d.ts +46 -0
- package/dist/spine/screen.d.ts.map +1 -0
- package/dist/spine/screen.js +41 -0
- package/dist/spine/screen.js.map +1 -0
- package/dist/spine/settings-registry.d.ts +222 -0
- package/dist/spine/settings-registry.d.ts.map +1 -0
- package/dist/spine/settings-registry.js +43 -0
- package/dist/spine/settings-registry.js.map +1 -0
- package/dist/spine/settings-tabs.d.ts +39 -0
- package/dist/spine/settings-tabs.d.ts.map +1 -0
- package/dist/spine/settings-tabs.js +18 -0
- package/dist/spine/settings-tabs.js.map +1 -0
- package/dist/spine/share-equal.d.ts +11 -0
- package/dist/spine/share-equal.d.ts.map +1 -0
- package/dist/spine/share-equal.js +57 -0
- package/dist/spine/share-equal.js.map +1 -0
- package/dist/spine/size-delta.d.ts +9 -0
- package/dist/spine/size-delta.d.ts.map +1 -0
- package/dist/spine/size-delta.js +19 -0
- package/dist/spine/size-delta.js.map +1 -0
- package/dist/spine/space-center-state.d.ts +44 -0
- package/dist/spine/space-center-state.d.ts.map +1 -0
- package/dist/spine/space-center-state.js +51 -0
- package/dist/spine/space-center-state.js.map +1 -0
- package/dist/spine/stream-status.d.ts +21 -0
- package/dist/spine/stream-status.d.ts.map +1 -0
- package/dist/spine/stream-status.js +48 -0
- package/dist/spine/stream-status.js.map +1 -0
- package/dist/spine/subscribe-read.d.ts +51 -0
- package/dist/spine/subscribe-read.d.ts.map +1 -0
- package/dist/spine/subscribe-read.js +66 -0
- package/dist/spine/subscribe-read.js.map +1 -0
- package/dist/spine/subscriber-identity.d.ts +12 -0
- package/dist/spine/subscriber-identity.d.ts.map +1 -0
- package/dist/spine/subscriber-identity.js +33 -0
- package/dist/spine/subscriber-identity.js.map +1 -0
- package/dist/spine/system-state.d.ts +29 -0
- package/dist/spine/system-state.d.ts.map +1 -0
- package/dist/spine/system-state.js +25 -0
- package/dist/spine/system-state.js.map +1 -0
- package/dist/spine/target-range-reckoning.d.ts +33 -0
- package/dist/spine/target-range-reckoning.d.ts.map +1 -0
- package/dist/spine/target-range-reckoning.js +78 -0
- package/dist/spine/target-range-reckoning.js.map +1 -0
- package/dist/spine/timeline-store.d.ts +1336 -0
- package/dist/spine/timeline-store.d.ts.map +1 -0
- package/dist/spine/timeline-store.js +2893 -0
- package/dist/spine/timeline-store.js.map +1 -0
- package/dist/spine/topic-ownership.d.ts +138 -0
- package/dist/spine/topic-ownership.d.ts.map +1 -0
- package/dist/spine/topic-ownership.js +194 -0
- package/dist/spine/topic-ownership.js.map +1 -0
- package/dist/spine/unowned-warning.d.ts +25 -0
- package/dist/spine/unowned-warning.d.ts.map +1 -0
- package/dist/spine/unowned-warning.js +55 -0
- package/dist/spine/unowned-warning.js.map +1 -0
- package/dist/spine/uplink-clients.d.ts +135 -0
- package/dist/spine/uplink-clients.d.ts.map +1 -0
- package/dist/spine/uplink-clients.js +79 -0
- package/dist/spine/uplink-clients.js.map +1 -0
- package/dist/spine/uplink-health.d.ts +123 -0
- package/dist/spine/uplink-health.d.ts.map +1 -0
- package/dist/spine/uplink-health.js +75 -0
- package/dist/spine/uplink-health.js.map +1 -0
- package/dist/spine/use-action-input.d.ts +3 -0
- package/dist/spine/use-action-input.d.ts.map +1 -0
- package/dist/spine/use-action-input.js +76 -0
- package/dist/spine/use-action-input.js.map +1 -0
- package/dist/spine/use-body-states.d.ts +34 -0
- package/dist/spine/use-body-states.d.ts.map +1 -0
- package/dist/spine/use-body-states.js +23 -0
- package/dist/spine/use-body-states.js.map +1 -0
- package/dist/spine/use-command.d.ts +259 -0
- package/dist/spine/use-command.d.ts.map +1 -0
- package/dist/spine/use-command.js +626 -0
- package/dist/spine/use-command.js.map +1 -0
- package/dist/spine/use-data-sources.d.ts +7 -0
- package/dist/spine/use-data-sources.d.ts.map +1 -0
- package/dist/spine/use-data-sources.js +27 -0
- package/dist/spine/use-data-sources.js.map +1 -0
- package/dist/spine/use-late-telemetry-subscribe.d.ts +59 -0
- package/dist/spine/use-late-telemetry-subscribe.d.ts.map +1 -0
- package/dist/spine/use-late-telemetry-subscribe.js +81 -0
- package/dist/spine/use-late-telemetry-subscribe.js.map +1 -0
- package/dist/spine/use-orbit-trajectory.d.ts +25 -0
- package/dist/spine/use-orbit-trajectory.d.ts.map +1 -0
- package/dist/spine/use-orbit-trajectory.js +45 -0
- package/dist/spine/use-orbit-trajectory.js.map +1 -0
- package/dist/spine/use-processor.d.ts +30 -0
- package/dist/spine/use-processor.d.ts.map +1 -0
- package/dist/spine/use-processor.js +36 -0
- package/dist/spine/use-processor.js.map +1 -0
- package/dist/spine/use-route-commands.d.ts +28 -0
- package/dist/spine/use-route-commands.d.ts.map +1 -0
- package/dist/spine/use-route-commands.js +32 -0
- package/dist/spine/use-route-commands.js.map +1 -0
- package/dist/spine/use-selected-vantage.d.ts +12 -0
- package/dist/spine/use-selected-vantage.d.ts.map +1 -0
- package/dist/spine/use-selected-vantage.js +19 -0
- package/dist/spine/use-selected-vantage.js.map +1 -0
- package/dist/spine/use-stream-event.d.ts +28 -0
- package/dist/spine/use-stream-event.d.ts.map +1 -0
- package/dist/spine/use-stream-event.js +52 -0
- package/dist/spine/use-stream-event.js.map +1 -0
- package/dist/spine/use-stream.d.ts +79 -0
- package/dist/spine/use-stream.d.ts.map +1 -0
- package/dist/spine/use-stream.js +124 -0
- package/dist/spine/use-stream.js.map +1 -0
- package/dist/spine/use-telemetry.d.ts +79 -0
- package/dist/spine/use-telemetry.d.ts.map +1 -0
- package/dist/spine/use-telemetry.js +39 -0
- package/dist/spine/use-telemetry.js.map +1 -0
- package/dist/spine/use-transmissions.d.ts +36 -0
- package/dist/spine/use-transmissions.d.ts.map +1 -0
- package/dist/spine/use-transmissions.js +63 -0
- package/dist/spine/use-transmissions.js.map +1 -0
- package/dist/spine/vantage.d.ts +16 -0
- package/dist/spine/vantage.d.ts.map +1 -0
- package/dist/spine/vantage.js +16 -0
- package/dist/spine/vantage.js.map +1 -0
- package/dist/spine/view-clock.d.ts +232 -0
- package/dist/spine/view-clock.d.ts.map +1 -0
- package/dist/spine/view-clock.js +348 -0
- package/dist/spine/view-clock.js.map +1 -0
- package/dist/spine/wire-payloads.d.ts +232 -0
- package/dist/spine/wire-payloads.d.ts.map +1 -0
- package/dist/spine/wire-payloads.js +2 -0
- package/dist/spine/wire-payloads.js.map +1 -0
- package/dist/testing/console-logger.d.ts +10 -0
- package/dist/testing/console-logger.d.ts.map +1 -0
- package/dist/testing/console-logger.js +23 -0
- package/dist/testing/console-logger.js.map +1 -0
- package/dist/testing/create-test-telemetry-client.d.ts +13 -0
- package/dist/testing/create-test-telemetry-client.d.ts.map +1 -0
- package/dist/testing/create-test-telemetry-client.js +14 -0
- package/dist/testing/create-test-telemetry-client.js.map +1 -0
- package/dist/testing/fake-wall-clock.d.ts +19 -0
- package/dist/testing/fake-wall-clock.d.ts.map +1 -0
- package/dist/testing/fake-wall-clock.js +17 -0
- package/dist/testing/fake-wall-clock.js.map +1 -0
- package/dist/testing/index.d.ts +30 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +99 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/testing/install-act-gate-stretch.d.ts +24 -0
- package/dist/testing/install-act-gate-stretch.d.ts.map +1 -0
- package/dist/testing/install-act-gate-stretch.js +67 -0
- package/dist/testing/install-act-gate-stretch.js.map +1 -0
- package/dist/testing/install-dom-stubs.d.ts +9 -0
- package/dist/testing/install-dom-stubs.d.ts.map +1 -0
- package/dist/testing/install-dom-stubs.js +121 -0
- package/dist/testing/install-dom-stubs.js.map +1 -0
- package/dist/testing/install-real-test-host.d.ts +51 -0
- package/dist/testing/install-real-test-host.d.ts.map +1 -0
- package/dist/testing/install-real-test-host.js +111 -0
- package/dist/testing/install-real-test-host.js.map +1 -0
- package/dist/testing/install-test-host.d.ts +18 -0
- package/dist/testing/install-test-host.d.ts.map +1 -0
- package/dist/testing/install-test-host.js +23 -0
- package/dist/testing/install-test-host.js.map +1 -0
- package/dist/testing/memory-storage.d.ts +10 -0
- package/dist/testing/memory-storage.d.ts.map +1 -0
- package/dist/testing/memory-storage.js +26 -0
- package/dist/testing/memory-storage.js.map +1 -0
- package/dist/testing/mock-data-source.d.ts +46 -0
- package/dist/testing/mock-data-source.d.ts.map +1 -0
- package/dist/testing/mock-data-source.js +74 -0
- package/dist/testing/mock-data-source.js.map +1 -0
- package/dist/testing/recorded-alarm-requests.d.ts +28 -0
- package/dist/testing/recorded-alarm-requests.d.ts.map +1 -0
- package/dist/testing/recorded-alarm-requests.js +24 -0
- package/dist/testing/recorded-alarm-requests.js.map +1 -0
- package/dist/testing/render.d.ts +29 -0
- package/dist/testing/render.d.ts.map +1 -0
- package/dist/testing/render.js +52 -0
- package/dist/testing/render.js.map +1 -0
- package/dist/testing/stream-fixture.d.ts +71 -0
- package/dist/testing/stream-fixture.d.ts.map +1 -0
- package/dist/testing/stream-fixture.js +61 -0
- package/dist/testing/stream-fixture.js.map +1 -0
- package/dist/testing/stub-transport.d.ts +124 -0
- package/dist/testing/stub-transport.d.ts.map +1 -0
- package/dist/testing/stub-transport.js +229 -0
- package/dist/testing/stub-transport.js.map +1 -0
- package/dist/testing/theme.d.ts +59 -0
- package/dist/testing/theme.d.ts.map +1 -0
- package/dist/testing/theme.js +11 -0
- package/dist/testing/theme.js.map +1 -0
- package/dist/timeline.d.ts +63 -0
- package/dist/timeline.d.ts.map +1 -0
- package/dist/timeline.js +2 -0
- package/dist/timeline.js.map +1 -0
- package/dist/topic-fields.d.ts +55 -0
- package/dist/topic-fields.d.ts.map +1 -0
- package/dist/topic-fields.js +102 -0
- package/dist/topic-fields.js.map +1 -0
- package/dist/topics.d.ts +335 -30
- package/dist/topics.d.ts.map +1 -1
- package/dist/topics.js +183 -28
- package/dist/topics.js.map +1 -1
- package/dist/unit-system/algebra.d.ts +305 -0
- package/dist/unit-system/algebra.d.ts.map +1 -0
- package/dist/unit-system/algebra.js +2 -0
- package/dist/unit-system/algebra.js.map +1 -0
- package/dist/unit-system/calendar.d.ts +74 -0
- package/dist/unit-system/calendar.d.ts.map +1 -0
- package/dist/unit-system/calendar.js +107 -0
- package/dist/unit-system/calendar.js.map +1 -0
- package/dist/unit-system/declarations.d.ts +87 -0
- package/dist/unit-system/declarations.d.ts.map +1 -0
- package/dist/unit-system/declarations.js +2 -0
- package/dist/unit-system/declarations.js.map +1 -0
- package/dist/unit-system/definitions.d.ts +639 -0
- package/dist/unit-system/definitions.d.ts.map +1 -0
- package/dist/unit-system/definitions.js +326 -0
- package/dist/unit-system/definitions.js.map +1 -0
- package/dist/unit-system/dimension.d.ts +29 -0
- package/dist/unit-system/dimension.d.ts.map +1 -0
- package/dist/unit-system/dimension.js +88 -0
- package/dist/unit-system/dimension.js.map +1 -0
- package/dist/unit-system/guards.d.ts +58 -0
- package/dist/unit-system/guards.d.ts.map +1 -0
- package/dist/unit-system/guards.js +73 -0
- package/dist/unit-system/guards.js.map +1 -0
- package/dist/unit-system/index.d.ts +16 -0
- package/dist/unit-system/index.d.ts.map +1 -0
- package/dist/unit-system/index.js +14 -0
- package/dist/unit-system/index.js.map +1 -0
- package/dist/unit-system/registry.d.ts +160 -0
- package/dist/unit-system/registry.d.ts.map +1 -0
- package/dist/unit-system/registry.js +267 -0
- package/dist/unit-system/registry.js.map +1 -0
- package/dist/unit-system/value.d.ts +437 -0
- package/dist/unit-system/value.d.ts.map +1 -0
- package/dist/unit-system/value.js +387 -0
- package/dist/unit-system/value.js.map +1 -0
- package/dist/units.d.ts +159 -0
- package/dist/units.d.ts.map +1 -0
- package/dist/units.js +385 -0
- package/dist/units.js.map +1 -0
- package/dist/uplink-externals.d.ts +65 -0
- package/dist/uplink-externals.d.ts.map +1 -0
- package/dist/uplink-externals.js +87 -0
- package/dist/uplink-externals.js.map +1 -0
- package/dist/uplink-manifest.d.ts +180 -0
- package/dist/uplink-manifest.d.ts.map +1 -0
- package/dist/uplink-manifest.js +214 -0
- package/dist/uplink-manifest.js.map +1 -0
- package/dist/value.d.ts +13 -0
- package/dist/value.d.ts.map +1 -0
- package/dist/value.js +2 -0
- package/dist/value.js.map +1 -0
- package/dist/version.generated.d.ts +7 -0
- package/dist/version.generated.d.ts.map +1 -0
- package/dist/version.generated.js +11 -0
- package/dist/version.generated.js.map +1 -0
- package/dist/view-clock-formula.d.ts +52 -0
- package/dist/view-clock-formula.d.ts.map +1 -0
- package/dist/view-clock-formula.js +46 -0
- package/dist/view-clock-formula.js.map +1 -0
- package/dist/wrap-units.d.ts +55 -0
- package/dist/wrap-units.d.ts.map +1 -0
- package/dist/wrap-units.js +256 -0
- package/dist/wrap-units.js.map +1 -0
- package/package.json +73 -11
- package/src/__generated__/command-map.ts +465 -0
- package/src/__generated__/contract.ts +10986 -0
- package/src/__generated__/control-channels.ts +41 -0
- package/src/__generated__/delay-roles.ts +82 -0
- package/src/__generated__/error-codes.ts +712 -0
- package/src/__generated__/frames.ts +52 -0
- package/src/__generated__/reckonability.ts +86 -0
- package/src/__generated__/test-theme.ts +70 -0
- package/src/__generated__/topic-map.ts +314 -0
- package/src/__generated__/units.json +2755 -0
- package/src/__generated__/units.ts +3398 -0
- package/src/api/action-dispatch.ts +105 -0
- package/src/api/alarm-request.ts +153 -0
- package/src/api/bodies.ts +116 -0
- package/src/api/command-rejection.ts +194 -0
- package/src/api/contribution-slots.ts +666 -0
- package/src/api/coverage/CoverageMaskCache.ts +112 -0
- package/src/api/coverage/CoverageMaskContext.tsx +79 -0
- package/src/api/coverage-source.ts +137 -0
- package/src/api/error-codes.ts +87 -0
- package/src/api/event-reveal.ts +96 -0
- package/src/api/host.ts +213 -0
- package/src/api/index.ts +1170 -0
- package/src/api/localStorageStore.ts +180 -0
- package/src/api/logger-contract.ts +38 -0
- package/src/api/logger.ts +17 -0
- package/src/api/map-poi.ts +98 -0
- package/src/api/plot-layers.ts +257 -0
- package/src/api/plots.ts +169 -0
- package/src/api/registry.ts +324 -0
- package/src/api/root-providers.tsx +136 -0
- package/src/api/safe-random-uuid.ts +22 -0
- package/src/api/settings/SettingsContext.tsx +79 -0
- package/src/api/settings/SettingsService.ts +142 -0
- package/src/api/settings/store.ts +180 -0
- package/src/api/slots.ts +1041 -0
- package/src/api/station-brokers.ts +94 -0
- package/src/api/stock-bodies.ts +281 -0
- package/src/api/tiny-size.ts +9 -0
- package/src/api/tone.ts +41 -0
- package/src/api/transport.ts +98 -0
- package/src/api/types.ts +1903 -0
- package/src/api/uplink-handles.ts +71 -0
- package/src/binary-frame.ts +250 -0
- package/src/burn-clock.ts +115 -0
- package/src/client.ts +56 -0
- package/src/combine-readings.ts +250 -0
- package/src/command-delay.ts +392 -0
- package/src/command-reply-units.ts +63 -0
- package/src/commands.ts +242 -0
- package/src/comms-degrade.ts +68 -0
- package/src/compat-versions.ts +44 -0
- package/src/contract-enum-names.ts +141 -0
- package/src/control-channels.ts +92 -0
- package/src/crew-standing.ts +131 -0
- package/src/delay-roles.ts +187 -0
- package/src/descent.ts +149 -0
- package/src/enum-names.ts +35 -0
- package/src/envelope.ts +45 -0
- package/src/event-timeline.ts +196 -0
- package/src/extensions.ts +58 -0
- package/src/field-frames.ts +70 -0
- package/src/flight/BufferedDataSource.ts +945 -0
- package/src/flight/DataSourceWrapper.ts +79 -0
- package/src/flight/ListenerSet.ts +73 -0
- package/src/flight/debugFlight.ts +16 -0
- package/src/flight/derive.ts +56 -0
- package/src/flight/fixtureIO.ts +197 -0
- package/src/flight/flightAutoDelete.ts +53 -0
- package/src/flight/flightDetector.ts +213 -0
- package/src/flight/storage/LocalStorageStore.ts +160 -0
- package/src/flight/storage/MemoryStore.ts +113 -0
- package/src/flight/storage/Store.ts +52 -0
- package/src/flight/types.ts +408 -0
- package/src/frame-qualifier.ts +153 -0
- package/src/frames/index.ts +177 -0
- package/src/index.ts +576 -0
- package/src/ksp-enum-names.ts +191 -0
- package/src/locked.ts +29 -0
- package/src/magnitude.ts +52 -0
- package/src/maneuver-basis.ts +49 -0
- package/src/media/capture-clock.ts +43 -0
- package/src/media/delayed-playout-buffer.ts +253 -0
- package/src/media/encoded-frame-delay.ts +153 -0
- package/src/media/frame-delay.ts +402 -0
- package/src/media/index.ts +83 -0
- package/src/media/radio-support.ts +132 -0
- package/src/media/shared-delayed-streams.ts +232 -0
- package/src/media/webcodecs-track-io.d.ts +99 -0
- package/src/media/worker/delay-worker-client.ts +312 -0
- package/src/media/worker/delay-worker.ts +433 -0
- package/src/media/worker/presentation-pacer.ts +249 -0
- package/src/media/worker/time-base.ts +55 -0
- package/src/media/worker/worker-delay-clock.ts +122 -0
- package/src/perf/PerfBudget.ts +267 -0
- package/src/rail-tags.ts +221 -0
- package/src/raw-field-split.ts +72 -0
- package/src/reading.ts +1565 -0
- package/src/reckonability.ts +117 -0
- package/src/registry/index.ts +36 -0
- package/src/runtime-topic-registry.ts +204 -0
- package/src/spine/arrival-deadline.ts +48 -0
- package/src/spine/atmospheric-reckoning.ts +540 -0
- package/src/spine/body-derivations.ts +103 -0
- package/src/spine/capability-lock.ts +210 -0
- package/src/spine/celestial-facts.ts +455 -0
- package/src/spine/channel-error-warning.ts +61 -0
- package/src/spine/client-reading.ts +282 -0
- package/src/spine/client-timeline.ts +234 -0
- package/src/spine/client.ts +1336 -0
- package/src/spine/clock.ts +57 -0
- package/src/spine/command-gate.ts +139 -0
- package/src/spine/comms-delay-reckoning.ts +217 -0
- package/src/spine/comms-journey.ts +256 -0
- package/src/spine/comms-path-geometry.ts +237 -0
- package/src/spine/comms-route.ts +142 -0
- package/src/spine/connection-error-warning.ts +54 -0
- package/src/spine/connectivity-history.ts +68 -0
- package/src/spine/context.tsx +1317 -0
- package/src/spine/contributed-channels.ts +126 -0
- package/src/spine/contribution-scope.ts +87 -0
- package/src/spine/contributions.ts +213 -0
- package/src/spine/control-frame-to-read-frame.ts +91 -0
- package/src/spine/core-reckoners.ts +1112 -0
- package/src/spine/dashboard-item.ts +25 -0
- package/src/spine/delay-authority.ts +337 -0
- package/src/spine/delta-v-budget.ts +311 -0
- package/src/spine/departure-reckoning.ts +69 -0
- package/src/spine/dv-stage-resources.ts +137 -0
- package/src/spine/heartbeat-tracker.ts +208 -0
- package/src/spine/held-command-actions.ts +119 -0
- package/src/spine/impact-point.ts +432 -0
- package/src/spine/index.ts +132 -0
- package/src/spine/kepler-reckoning.ts +572 -0
- package/src/spine/kepler.ts +576 -0
- package/src/spine/lagrange.ts +585 -0
- package/src/spine/lifecycle.ts +251 -0
- package/src/spine/lock-scope.ts +27 -0
- package/src/spine/map-command.ts +33 -0
- package/src/spine/map-topic.ts +163 -0
- package/src/spine/mod-settings.ts +47 -0
- package/src/spine/never-reckonable.ts +183 -0
- package/src/spine/orbit-patches.ts +213 -0
- package/src/spine/orbit-trajectory.ts +636 -0
- package/src/spine/orbital-solve.ts +393 -0
- package/src/spine/own-craft-vantage.tsx +161 -0
- package/src/spine/past-track.ts +93 -0
- package/src/spine/powered-reckoning.ts +866 -0
- package/src/spine/processorEvaluator.ts +688 -0
- package/src/spine/processors.ts +353 -0
- package/src/spine/propagation.ts +25 -0
- package/src/spine/rail-registry.ts +27 -0
- package/src/spine/reckoners.ts +317 -0
- package/src/spine/reference-frame.ts +816 -0
- package/src/spine/replay-recorder.ts +128 -0
- package/src/spine/replay-session-controller.ts +282 -0
- package/src/spine/replay-session.tsx +47 -0
- package/src/spine/replay-transport.ts +167 -0
- package/src/spine/screen.tsx +70 -0
- package/src/spine/settings-registry.ts +286 -0
- package/src/spine/settings-tabs.ts +57 -0
- package/src/spine/share-equal.ts +62 -0
- package/src/spine/size-delta.ts +23 -0
- package/src/spine/space-center-state.ts +101 -0
- package/src/spine/stream-status.ts +62 -0
- package/src/spine/subscribe-read.ts +88 -0
- package/src/spine/subscriber-identity.tsx +44 -0
- package/src/spine/system-state.ts +44 -0
- package/src/spine/target-range-reckoning.ts +127 -0
- package/src/spine/timeline-store.ts +3626 -0
- package/src/spine/topic-ownership.ts +211 -0
- package/src/spine/unowned-warning.ts +63 -0
- package/src/spine/uplink-clients.ts +265 -0
- package/src/spine/uplink-health.ts +256 -0
- package/src/spine/use-action-input.ts +87 -0
- package/src/spine/use-body-states.ts +52 -0
- package/src/spine/use-command.ts +1090 -0
- package/src/spine/use-data-sources.ts +43 -0
- package/src/spine/use-late-telemetry-subscribe.ts +111 -0
- package/src/spine/use-orbit-trajectory.ts +50 -0
- package/src/spine/use-processor.ts +56 -0
- package/src/spine/use-route-commands.ts +57 -0
- package/src/spine/use-selected-vantage.ts +23 -0
- package/src/spine/use-stream-event.ts +54 -0
- package/src/spine/use-stream.ts +137 -0
- package/src/spine/use-telemetry.ts +142 -0
- package/src/spine/use-transmissions.ts +100 -0
- package/src/spine/vantage.ts +15 -0
- package/src/spine/view-clock.ts +404 -0
- package/src/spine/wire-payloads.ts +242 -0
- package/src/testing/console-logger.ts +24 -0
- package/src/testing/create-test-telemetry-client.ts +17 -0
- package/src/testing/fake-wall-clock.ts +27 -0
- package/src/testing/index.ts +141 -0
- package/src/testing/install-act-gate-stretch.ts +83 -0
- package/src/testing/install-dom-stubs.ts +137 -0
- package/src/testing/install-real-test-host.ts +177 -0
- package/src/testing/install-test-host.ts +24 -0
- package/src/testing/memory-storage.ts +25 -0
- package/src/testing/mock-data-source.ts +109 -0
- package/src/testing/recorded-alarm-requests.ts +43 -0
- package/src/testing/render.tsx +78 -0
- package/src/testing/stream-fixture.tsx +130 -0
- package/src/testing/stub-transport.ts +289 -0
- package/src/testing/theme.ts +11 -0
- package/src/timeline.ts +68 -0
- package/src/topic-fields.ts +188 -0
- package/src/topics.ts +553 -0
- package/src/unit-system/algebra.ts +472 -0
- package/src/unit-system/calendar.ts +145 -0
- package/src/unit-system/declarations.ts +96 -0
- package/src/unit-system/definitions.ts +385 -0
- package/src/unit-system/dimension.ts +107 -0
- package/src/unit-system/guards.ts +82 -0
- package/src/unit-system/index.ts +68 -0
- package/src/unit-system/registry.ts +381 -0
- package/src/unit-system/value.ts +959 -0
- package/src/units.ts +462 -0
- package/src/uplink-externals.ts +91 -0
- package/src/uplink-manifest.ts +349 -0
- package/src/value.ts +15 -0
- package/src/version.generated.ts +10 -0
- package/src/view-clock-formula.ts +90 -0
- package/src/wrap-units.ts +361 -0
- package/tsconfig.base.json +16 -0
|
@@ -1,143 +1,1295 @@
|
|
|
1
1
|
// This code was generated by a Reinforced.Typings tool.
|
|
2
2
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
3
3
|
// the code is regenerated.
|
|
4
|
+
/**
|
|
5
|
+
* The game's save mode, from KSP's `Game.Modes`. It decides which career
|
|
6
|
+
* surfaces (funds, tech tree, contracts, strategies, facility upgrades) mean
|
|
7
|
+
* anything. `CareerStatus` is `null` outside career, so the mode is its own
|
|
8
|
+
* Topic, `career.mode`, emitted in every mode.
|
|
9
|
+
*
|
|
10
|
+
* On the wire an enum is its integer ordinal: `Sandbox` 0, `Career` 1,
|
|
11
|
+
* `Science` 2, `Unknown` 3.
|
|
12
|
+
*
|
|
13
|
+
* @category Career
|
|
14
|
+
*/
|
|
4
15
|
export var GameMode;
|
|
5
16
|
(function (GameMode) {
|
|
17
|
+
/** A sandbox save (`SANDBOX`): no funds, science or reputation. */
|
|
6
18
|
GameMode[GameMode["Sandbox"] = 0] = "Sandbox";
|
|
19
|
+
/**
|
|
20
|
+
* A career save (`CAREER`): funds, contracts, reputation and the tech tree all
|
|
21
|
+
* apply.
|
|
22
|
+
*/
|
|
7
23
|
GameMode[GameMode["Career"] = 1] = "Career";
|
|
24
|
+
/**
|
|
25
|
+
* A science save (`SCIENCE_SANDBOX`): the tech tree and science apply, funds
|
|
26
|
+
* and contracts do not.
|
|
27
|
+
*/
|
|
8
28
|
GameMode[GameMode["Science"] = 2] = "Science";
|
|
29
|
+
/**
|
|
30
|
+
* Any other KSP mode (a scenario or a mission), which has no player-career
|
|
31
|
+
* surface.
|
|
32
|
+
*/
|
|
9
33
|
GameMode[GameMode["Unknown"] = 3] = "Unknown";
|
|
10
34
|
})(GameMode || (GameMode = {}));
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Which kind of unlock a `MissingUnlock` names.
|
|
37
|
+
*
|
|
38
|
+
* @category System diagnostics
|
|
39
|
+
*/
|
|
40
|
+
export var UnlockKind;
|
|
41
|
+
(function (UnlockKind) {
|
|
42
|
+
/** A tech node in the save's research tree. */
|
|
43
|
+
UnlockKind[UnlockKind["Tech"] = 0] = "Tech";
|
|
44
|
+
/** A space centre building's level. */
|
|
45
|
+
UnlockKind[UnlockKind["Facility"] = 1] = "Facility";
|
|
46
|
+
})(UnlockKind || (UnlockKind = {}));
|
|
47
|
+
/**
|
|
48
|
+
* The degree of control a vessel currently has, the `controlSource` axis of
|
|
49
|
+
* `CommsConnectivity`. The game's control level collapsed to three tiers:
|
|
50
|
+
* partial covers both crewed and uncrewed partial control, and whether a crew
|
|
51
|
+
* is aboard shows on `CommsConnectivity.hasLocalControl` instead.
|
|
52
|
+
*
|
|
53
|
+
* @category Comms
|
|
54
|
+
*/
|
|
21
55
|
export var CommsControlSource;
|
|
22
56
|
(function (CommsControlSource) {
|
|
57
|
+
/**
|
|
58
|
+
* The craft has no control source. A reading, unlike
|
|
59
|
+
* `CommsControlSource.Unknown`.
|
|
60
|
+
*/
|
|
23
61
|
CommsControlSource[CommsControlSource["None"] = 0] = "None";
|
|
62
|
+
/**
|
|
63
|
+
* Partial control, crewed or uncrewed: stock's `PARTIAL_MANNED` or
|
|
64
|
+
* `PARTIAL_UNMANNED` level.
|
|
65
|
+
*/
|
|
24
66
|
CommsControlSource[CommsControlSource["Partial"] = 1] = "Partial";
|
|
67
|
+
/** Full control. */
|
|
25
68
|
CommsControlSource[CommsControlSource["Full"] = 2] = "Full";
|
|
69
|
+
/**
|
|
70
|
+
* The game reported a control level this build does not name. Not
|
|
71
|
+
* `CommsControlSource.None`: the craft may well have control, but its level
|
|
72
|
+
* has no tier here. `CommsConnectivity.hasLocalControl` is false alongside it
|
|
73
|
+
* and says nothing.
|
|
74
|
+
*/
|
|
75
|
+
CommsControlSource[CommsControlSource["Unknown"] = 3] = "Unknown";
|
|
26
76
|
})(CommsControlSource || (CommsControlSource = {}));
|
|
77
|
+
/**
|
|
78
|
+
* What the active vessel can be commanded to do, for `CommsControl`. The
|
|
79
|
+
* game's control level collapsed to three tiers, crewed and uncrewed partial
|
|
80
|
+
* control sharing one.
|
|
81
|
+
*
|
|
82
|
+
* @category Comms
|
|
83
|
+
*/
|
|
27
84
|
export var CommsControlStateKind;
|
|
28
85
|
(function (CommsControlStateKind) {
|
|
86
|
+
/**
|
|
87
|
+
* The craft cannot be commanded. A reading, unlike
|
|
88
|
+
* `CommsControlStateKind.Unknown`.
|
|
89
|
+
*/
|
|
29
90
|
CommsControlStateKind[CommsControlStateKind["None"] = 0] = "None";
|
|
91
|
+
/**
|
|
92
|
+
* Partial control, crewed or uncrewed: stock's `PARTIAL_MANNED` or
|
|
93
|
+
* `PARTIAL_UNMANNED` level.
|
|
94
|
+
*/
|
|
30
95
|
CommsControlStateKind[CommsControlStateKind["PartialManoeuvre"] = 1] = "PartialManoeuvre";
|
|
96
|
+
/** Full control. */
|
|
31
97
|
CommsControlStateKind[CommsControlStateKind["Full"] = 2] = "Full";
|
|
98
|
+
/**
|
|
99
|
+
* The game reported a control level this build does not name, so whether the
|
|
100
|
+
* craft can be commanded is not known. Not `CommsControlStateKind.None`.
|
|
101
|
+
*/
|
|
102
|
+
CommsControlStateKind[CommsControlStateKind["Unknown"] = 3] = "Unknown";
|
|
32
103
|
})(CommsControlStateKind || (CommsControlStateKind = {}));
|
|
104
|
+
/**
|
|
105
|
+
* Whether a comms node is a ground station, or whether a hop touches one.
|
|
106
|
+
* Carried by `CommsHop.kind` and `CommsNetworkNode.kind`.
|
|
107
|
+
*
|
|
108
|
+
* @category Comms
|
|
109
|
+
*/
|
|
33
110
|
export var CommsHopKind;
|
|
34
111
|
(function (CommsHopKind) {
|
|
112
|
+
/** A ground station, or a hop with a ground station at either end. */
|
|
35
113
|
CommsHopKind[CommsHopKind["Home"] = 0] = "Home";
|
|
114
|
+
/** A vessel node (the active craft included), or a hop between two vessels. */
|
|
36
115
|
CommsHopKind[CommsHopKind["Relay"] = 1] = "Relay";
|
|
116
|
+
/**
|
|
117
|
+
* Not reported by the shipped backends: vessel nodes, the active craft
|
|
118
|
+
* included, arrive as `CommsHopKind.Relay`.
|
|
119
|
+
*/
|
|
37
120
|
CommsHopKind[CommsHopKind["Vessel"] = 2] = "Vessel";
|
|
38
121
|
})(CommsHopKind || (CommsHopKind = {}));
|
|
122
|
+
/**
|
|
123
|
+
* Why `CommsDelay.oneWaySeconds` has the value it has.
|
|
124
|
+
*
|
|
125
|
+
* @category Comms
|
|
126
|
+
*/
|
|
39
127
|
export var CommsDelaySource;
|
|
40
128
|
(function (CommsDelaySource) {
|
|
129
|
+
/**
|
|
130
|
+
* No delay measured: either there is no measurable path (the value is null) or
|
|
131
|
+
* delay is switched off (the value is 0).
|
|
132
|
+
*/
|
|
41
133
|
CommsDelaySource[CommsDelaySource["None"] = 0] = "None";
|
|
134
|
+
/** A light-time computed over the route's hop geometry. */
|
|
42
135
|
CommsDelaySource[CommsDelaySource["SignalDelay"] = 1] = "SignalDelay";
|
|
136
|
+
/**
|
|
137
|
+
* Zero, because this save models no comms network at all: the stock CommNet
|
|
138
|
+
* difficulty option is off, so there are no ground stations, no relay graph
|
|
139
|
+
* and no path to measure a light-time over. Control reaches a craft directly,
|
|
140
|
+
* from anywhere, instantly.
|
|
141
|
+
*
|
|
142
|
+
* Not the same as a null `CommsDelay.oneWaySeconds`, which means there is a
|
|
143
|
+
* comms model and it can measure nothing right now: a blackout. A save with no
|
|
144
|
+
* comms model reports this alongside `connected:true`, and its channels keep
|
|
145
|
+
* arriving with nothing held back; a blackout reports null and they stop.
|
|
146
|
+
*/
|
|
147
|
+
CommsDelaySource[CommsDelaySource["NoCommsModel"] = 2] = "NoCommsModel";
|
|
43
148
|
})(CommsDelaySource || (CommsDelaySource = {}));
|
|
149
|
+
/**
|
|
150
|
+
* What one journey report says happened to a command, or to a cancel.
|
|
151
|
+
*
|
|
152
|
+
* @category Comms
|
|
153
|
+
*/
|
|
154
|
+
export var JourneyEventKind;
|
|
155
|
+
(function (JourneyEventKind) {
|
|
156
|
+
/**
|
|
157
|
+
* A node is holding the command for its next window;
|
|
158
|
+
* `CommsJourneyEvent.untilUt` is when it predicts the command will leave. A
|
|
159
|
+
* node also reports this when a command it sent went unanswered and is its to
|
|
160
|
+
* send again.
|
|
161
|
+
*/
|
|
162
|
+
JourneyEventKind[JourneyEventKind["Held"] = 0] = "Held";
|
|
163
|
+
/**
|
|
164
|
+
* A node that had held the command sent it on; `CommsJourneyEvent.untilUt` is
|
|
165
|
+
* when that node expects the light to land at its next node.
|
|
166
|
+
*/
|
|
167
|
+
JourneyEventKind[JourneyEventKind["Departed"] = 1] = "Departed";
|
|
168
|
+
/** The command reached its expiry where it was and was deleted there. */
|
|
169
|
+
JourneyEventKind[JourneyEventKind["Expired"] = 2] = "Expired";
|
|
170
|
+
/** A cancel stopped the command at the node reporting. */
|
|
171
|
+
JourneyEventKind[JourneyEventKind["Cancelled"] = 3] = "Cancelled";
|
|
172
|
+
/**
|
|
173
|
+
* The command reached the craft and waits for earlier lane numbers, named in
|
|
174
|
+
* `CommsJourneyEvent.missing`.
|
|
175
|
+
*/
|
|
176
|
+
JourneyEventKind[JourneyEventKind["Waiting"] = 4] = "Waiting";
|
|
177
|
+
/**
|
|
178
|
+
* The craft discarded the command because its lane number had already settled;
|
|
179
|
+
* `CommsJourneyEvent.detail` says how.
|
|
180
|
+
*/
|
|
181
|
+
JourneyEventKind[JourneyEventKind["Discarded"] = 5] = "Discarded";
|
|
182
|
+
/**
|
|
183
|
+
* A cancel reached the craft before the command; the craft refuses the command
|
|
184
|
+
* whenever it arrives.
|
|
185
|
+
*/
|
|
186
|
+
JourneyEventKind[JourneyEventKind["CancelStored"] = 6] = "CancelStored";
|
|
187
|
+
/**
|
|
188
|
+
* A cancel reached the craft after the command ran;
|
|
189
|
+
* `CommsJourneyEvent.untilUt` is when it ran.
|
|
190
|
+
*/
|
|
191
|
+
JourneyEventKind[JourneyEventKind["CancelLate"] = 7] = "CancelLate";
|
|
192
|
+
/** A cancel reached a node after the command left it, and follows it on. */
|
|
193
|
+
JourneyEventKind[JourneyEventKind["CancelLateHere"] = 8] = "CancelLateHere";
|
|
194
|
+
/** The command ran at the craft; its result travels on the command's own reply. */
|
|
195
|
+
JourneyEventKind[JourneyEventKind["Ran"] = 9] = "Ran";
|
|
196
|
+
})(JourneyEventKind || (JourneyEventKind = {}));
|
|
197
|
+
/**
|
|
198
|
+
* What a kerbal's place on the books is, as the dashboard means it: this
|
|
199
|
+
* contract's own vocabulary, not a mirror of any game enum.
|
|
200
|
+
*
|
|
201
|
+
* The roster-status members line up with `KspRosterStatus` in meaning but not
|
|
202
|
+
* in numbering, so never cast one to the other. `CrewStanding.Applicant` is a
|
|
203
|
+
* standing KSP expresses as a KerbalType rather than a RosterStatus, and it
|
|
204
|
+
* sits in one enumeration with the rest so "what is this kerbal's standing" is
|
|
205
|
+
* one value.
|
|
206
|
+
*
|
|
207
|
+
* Behind `spaceCenter.crewRoster[].standing`, and it is the field to branch
|
|
208
|
+
* on; see `CrewRosterEntry.situationOrdinal` for what the raw KSP ordinal
|
|
209
|
+
* beside it is still good for.
|
|
210
|
+
*
|
|
211
|
+
* **Order.** The numbering is the reading order: sorted by value, a crew list
|
|
212
|
+
* reads free to fly, then committed, then off the books. The SDK's
|
|
213
|
+
* `CREW_STANDING_ORDER` is derived from it. A new member is inserted at its
|
|
214
|
+
* place in that order rather than appended.
|
|
215
|
+
*
|
|
216
|
+
* @category Crew
|
|
217
|
+
*/
|
|
218
|
+
export var CrewStanding;
|
|
219
|
+
(function (CrewStanding) {
|
|
220
|
+
/**
|
|
221
|
+
* No backend could say. Distinct from every member below, and never a stand-in
|
|
222
|
+
* for one: a capture that read no roster status at all reports this rather
|
|
223
|
+
* than guessing at Available.
|
|
224
|
+
*/
|
|
225
|
+
CrewStanding[CrewStanding["Unknown"] = 0] = "Unknown";
|
|
226
|
+
/** A hireable candidate, not yet on the books. */
|
|
227
|
+
CrewStanding[CrewStanding["Applicant"] = 1] = "Applicant";
|
|
228
|
+
/** On the books and free to fly. */
|
|
229
|
+
CrewStanding[CrewStanding["Available"] = 2] = "Available";
|
|
230
|
+
/** On the books and currently crewing a vessel. */
|
|
231
|
+
CrewStanding[CrewStanding["Assigned"] = 3] = "Assigned";
|
|
232
|
+
/**
|
|
233
|
+
* On the books, standing down after a flight, and not assignable until the
|
|
234
|
+
* rest period ends. CrewStandingReading.StandingEndsAtUt carries its end.
|
|
235
|
+
*
|
|
236
|
+
* Derived from KSP's own `ProtoCrewMember.inactive`, so the stock backend
|
|
237
|
+
* reports it and every install gets it.
|
|
238
|
+
*/
|
|
239
|
+
CrewStanding[CrewStanding["Resting"] = 4] = "Resting";
|
|
240
|
+
/** Killed: KSP's own `Dead` roster status. */
|
|
241
|
+
CrewStanding[CrewStanding["Dead"] = 5] = "Dead";
|
|
242
|
+
/**
|
|
243
|
+
* Missing: KSP's own `Missing` roster status, kept separate from
|
|
244
|
+
* `CrewStanding.Dead`.
|
|
245
|
+
*/
|
|
246
|
+
CrewStanding[CrewStanding["Missing"] = 6] = "Missing";
|
|
247
|
+
})(CrewStanding || (CrewStanding = {}));
|
|
248
|
+
/**
|
|
249
|
+
* Why a flight ended, carried on `FlightEnded`. The detail of a crash or a
|
|
250
|
+
* recovery is on the `crash.lastCrash` and `recovery.lastSummary` channels;
|
|
251
|
+
* this is only the coarse reason.
|
|
252
|
+
*
|
|
253
|
+
* @category Flights
|
|
254
|
+
*/
|
|
255
|
+
export var FlightEndReason;
|
|
256
|
+
(function (FlightEndReason) {
|
|
257
|
+
/** The vessel was recovered. */
|
|
258
|
+
FlightEndReason[FlightEndReason["Recovered"] = 0] = "Recovered";
|
|
259
|
+
/** The vessel was lost to a collision or a hard splashdown. */
|
|
260
|
+
FlightEndReason[FlightEndReason["Crashed"] = 1] = "Crashed";
|
|
261
|
+
/**
|
|
262
|
+
* The game rewound (a revert or a quickload) to before the flight's end, or
|
|
263
|
+
* the flight was still open when the rewind happened. Also sent for a flight
|
|
264
|
+
* that had already ended by crash or recovery on the timeline the rewind
|
|
265
|
+
* discarded.
|
|
266
|
+
*/
|
|
267
|
+
FlightEndReason[FlightEndReason["Reverted"] = 2] = "Reverted";
|
|
268
|
+
/**
|
|
269
|
+
* The vessel was destroyed without a collision, for example burning up on
|
|
270
|
+
* re-entry.
|
|
271
|
+
*/
|
|
272
|
+
FlightEndReason[FlightEndReason["Destroyed"] = 3] = "Destroyed";
|
|
273
|
+
})(FlightEndReason || (FlightEndReason = {}));
|
|
274
|
+
/**
|
|
275
|
+
* KSP's `ProtoCrewMember.RosterStatus`: a kerbal's standing in the roster.
|
|
276
|
+
* Behind `spaceCenter.crewRoster[].situationOrdinal`, beside the name in
|
|
277
|
+
* `CrewRosterEntry.situation`.
|
|
278
|
+
*
|
|
279
|
+
* @category Crew
|
|
280
|
+
*/
|
|
281
|
+
export var KspRosterStatus;
|
|
282
|
+
(function (KspRosterStatus) {
|
|
283
|
+
/** In the roster and free to be assigned to a flight. */
|
|
284
|
+
KspRosterStatus[KspRosterStatus["Available"] = 0] = "Available";
|
|
285
|
+
/** Assigned to a vessel. */
|
|
286
|
+
KspRosterStatus[KspRosterStatus["Assigned"] = 1] = "Assigned";
|
|
287
|
+
/** Killed. */
|
|
288
|
+
KspRosterStatus[KspRosterStatus["Dead"] = 2] = "Dead";
|
|
289
|
+
/**
|
|
290
|
+
* Lost with a vessel. In a save with respawn enabled, a missing kerbal returns
|
|
291
|
+
* to `KspRosterStatus.Available` after a delay.
|
|
292
|
+
*/
|
|
293
|
+
KspRosterStatus[KspRosterStatus["Missing"] = 3] = "Missing";
|
|
294
|
+
})(KspRosterStatus || (KspRosterStatus = {}));
|
|
295
|
+
/**
|
|
296
|
+
* KSP's `Contracts.ParameterState`: whether one objective of a contract is
|
|
297
|
+
* done. Behind `career.status.contracts[].parameters[].stateOrdinal`, beside
|
|
298
|
+
* the name in `CareerContractParameter.state`.
|
|
299
|
+
*
|
|
300
|
+
* @category Career
|
|
301
|
+
*/
|
|
302
|
+
export var KspParameterState;
|
|
303
|
+
(function (KspParameterState) {
|
|
304
|
+
/** Not yet met. */
|
|
305
|
+
KspParameterState[KspParameterState["Incomplete"] = 0] = "Incomplete";
|
|
306
|
+
/** Met. */
|
|
307
|
+
KspParameterState[KspParameterState["Complete"] = 1] = "Complete";
|
|
308
|
+
/** Failed, and can no longer be met. */
|
|
309
|
+
KspParameterState[KspParameterState["Failed"] = 2] = "Failed";
|
|
310
|
+
})(KspParameterState || (KspParameterState = {}));
|
|
311
|
+
/**
|
|
312
|
+
* KSP's `PartCategories`: the editor category a part filters into. Behind
|
|
313
|
+
* `vessel.parts[].categoryOrdinal`, beside the name in `VesselPart.category`.
|
|
314
|
+
*
|
|
315
|
+
* `KspPartCategory.none` is `-1`, not `0`, so resolve an ordinal with
|
|
316
|
+
* `namesByValue`, not `namesOf`, which assumes members numbered from zero. The
|
|
317
|
+
* lower-case spelling is KSP's, and the name on the wire is exactly `"none"`.
|
|
318
|
+
*
|
|
319
|
+
* @category Parts
|
|
320
|
+
*/
|
|
321
|
+
export var KspPartCategory;
|
|
322
|
+
(function (KspPartCategory) {
|
|
323
|
+
/** Propulsion. */
|
|
324
|
+
KspPartCategory[KspPartCategory["Propulsion"] = 0] = "Propulsion";
|
|
325
|
+
/** Control: reaction wheels, RCS thrusters and similar. */
|
|
326
|
+
KspPartCategory[KspPartCategory["Control"] = 1] = "Control";
|
|
327
|
+
/** Structural. */
|
|
328
|
+
KspPartCategory[KspPartCategory["Structural"] = 2] = "Structural";
|
|
329
|
+
/** Aerodynamics: wings, control surfaces, nose cones, intakes. */
|
|
330
|
+
KspPartCategory[KspPartCategory["Aero"] = 3] = "Aero";
|
|
331
|
+
/** Utility. */
|
|
332
|
+
KspPartCategory[KspPartCategory["Utility"] = 4] = "Utility";
|
|
333
|
+
/** Science. */
|
|
334
|
+
KspPartCategory[KspPartCategory["Science"] = 5] = "Science";
|
|
335
|
+
/** Command pods and probe cores. */
|
|
336
|
+
KspPartCategory[KspPartCategory["Pods"] = 6] = "Pods";
|
|
337
|
+
/** Fuel tanks. */
|
|
338
|
+
KspPartCategory[KspPartCategory["FuelTank"] = 7] = "FuelTank";
|
|
339
|
+
/** Engines. */
|
|
340
|
+
KspPartCategory[KspPartCategory["Engine"] = 8] = "Engine";
|
|
341
|
+
/** Communication: antennas and relays. */
|
|
342
|
+
KspPartCategory[KspPartCategory["Communication"] = 9] = "Communication";
|
|
343
|
+
/** Electrical: batteries, generators, solar panels. */
|
|
344
|
+
KspPartCategory[KspPartCategory["Electrical"] = 10] = "Electrical";
|
|
345
|
+
/** Ground: landing gear, legs and wheels. */
|
|
346
|
+
KspPartCategory[KspPartCategory["Ground"] = 11] = "Ground";
|
|
347
|
+
/** Thermal: heat shields and radiators. */
|
|
348
|
+
KspPartCategory[KspPartCategory["Thermal"] = 12] = "Thermal";
|
|
349
|
+
/** Payload: fairings and cargo bays. */
|
|
350
|
+
KspPartCategory[KspPartCategory["Payload"] = 13] = "Payload";
|
|
351
|
+
/** Coupling: decouplers, separators and docking ports. */
|
|
352
|
+
KspPartCategory[KspPartCategory["Coupling"] = 14] = "Coupling";
|
|
353
|
+
/** Cargo: inventory parts. */
|
|
354
|
+
KspPartCategory[KspPartCategory["Cargo"] = 15] = "Cargo";
|
|
355
|
+
/** Robotics (Breaking Ground servos and rotors). */
|
|
356
|
+
KspPartCategory[KspPartCategory["Robotics"] = 16] = "Robotics";
|
|
357
|
+
/** No category. KSP spells it in lower case. */
|
|
358
|
+
KspPartCategory[KspPartCategory["none"] = -1] = "none";
|
|
359
|
+
})(KspPartCategory || (KspPartCategory = {}));
|
|
360
|
+
/**
|
|
361
|
+
* KSP's `KSPActionGroup`: which action groups a part action fires with. Behind
|
|
362
|
+
* `vessel.parts[].actionBindings[].groupsMask`, beside the names in
|
|
363
|
+
* `ActionBinding.groups`.
|
|
364
|
+
*
|
|
365
|
+
* A `[Flags]` bitmask, so the members are powers of two and the wire carries
|
|
366
|
+
* the whole mask as one integer rather than one ordinal. `KspActionGroup.None`
|
|
367
|
+
* is `0` and `KspActionGroup.REPLACEWITHDEFAULT` is `-1`; neither is a group a
|
|
368
|
+
* part action is usefully bound to.
|
|
369
|
+
*
|
|
370
|
+
* @category Vessel
|
|
371
|
+
*/
|
|
372
|
+
export var KspActionGroup;
|
|
373
|
+
(function (KspActionGroup) {
|
|
374
|
+
/** No group. */
|
|
375
|
+
KspActionGroup[KspActionGroup["None"] = 0] = "None";
|
|
376
|
+
/** The staging group (mask value 1). */
|
|
377
|
+
KspActionGroup[KspActionGroup["Stage"] = 1] = "Stage";
|
|
378
|
+
/** The gear group (mask value 2). */
|
|
379
|
+
KspActionGroup[KspActionGroup["Gear"] = 2] = "Gear";
|
|
380
|
+
/** The lights group (mask value 4). */
|
|
381
|
+
KspActionGroup[KspActionGroup["Light"] = 4] = "Light";
|
|
382
|
+
/** The RCS group (mask value 8). */
|
|
383
|
+
KspActionGroup[KspActionGroup["RCS"] = 8] = "RCS";
|
|
384
|
+
/** The SAS group (mask value 16). */
|
|
385
|
+
KspActionGroup[KspActionGroup["SAS"] = 16] = "SAS";
|
|
386
|
+
/** The brakes group (mask value 32). */
|
|
387
|
+
KspActionGroup[KspActionGroup["Brakes"] = 32] = "Brakes";
|
|
388
|
+
/** The abort group (mask value 64). */
|
|
389
|
+
KspActionGroup[KspActionGroup["Abort"] = 64] = "Abort";
|
|
390
|
+
/** Custom action group 1 (mask value 128). */
|
|
391
|
+
KspActionGroup[KspActionGroup["Custom01"] = 128] = "Custom01";
|
|
392
|
+
/** Custom action group 2 (mask value 256). */
|
|
393
|
+
KspActionGroup[KspActionGroup["Custom02"] = 256] = "Custom02";
|
|
394
|
+
/** Custom action group 3 (mask value 512). */
|
|
395
|
+
KspActionGroup[KspActionGroup["Custom03"] = 512] = "Custom03";
|
|
396
|
+
/** Custom action group 4 (mask value 1024). */
|
|
397
|
+
KspActionGroup[KspActionGroup["Custom04"] = 1024] = "Custom04";
|
|
398
|
+
/** Custom action group 5 (mask value 2048). */
|
|
399
|
+
KspActionGroup[KspActionGroup["Custom05"] = 2048] = "Custom05";
|
|
400
|
+
/** Custom action group 6 (mask value 4096). */
|
|
401
|
+
KspActionGroup[KspActionGroup["Custom06"] = 4096] = "Custom06";
|
|
402
|
+
/** Custom action group 7 (mask value 8192). */
|
|
403
|
+
KspActionGroup[KspActionGroup["Custom07"] = 8192] = "Custom07";
|
|
404
|
+
/** Custom action group 8 (mask value 16384). */
|
|
405
|
+
KspActionGroup[KspActionGroup["Custom08"] = 16384] = "Custom08";
|
|
406
|
+
/** Custom action group 9 (mask value 32768). */
|
|
407
|
+
KspActionGroup[KspActionGroup["Custom09"] = 32768] = "Custom09";
|
|
408
|
+
/** Custom action group 10 (mask value 65536). */
|
|
409
|
+
KspActionGroup[KspActionGroup["Custom10"] = 65536] = "Custom10";
|
|
410
|
+
/** KSP's placeholder for "use the action's default group". Not a real group. */
|
|
411
|
+
KspActionGroup[KspActionGroup["REPLACEWITHDEFAULT"] = -1] = "REPLACEWITHDEFAULT";
|
|
412
|
+
})(KspActionGroup || (KspActionGroup = {}));
|
|
413
|
+
/**
|
|
414
|
+
* KSP's `EditorFacility`: which editor a craft was built in. Behind
|
|
415
|
+
* `spaceCenter.savedShips[].facilityOrdinal`, beside the name in
|
|
416
|
+
* `SavedShipEntry.facility`.
|
|
417
|
+
*
|
|
418
|
+
* @category Space center
|
|
419
|
+
*/
|
|
420
|
+
export var KspEditorFacility;
|
|
421
|
+
(function (KspEditorFacility) {
|
|
422
|
+
/** No editor recorded. */
|
|
423
|
+
KspEditorFacility[KspEditorFacility["None"] = 0] = "None";
|
|
424
|
+
/** The Vehicle Assembly Building. */
|
|
425
|
+
KspEditorFacility[KspEditorFacility["VAB"] = 1] = "VAB";
|
|
426
|
+
/** The Spaceplane Hangar. */
|
|
427
|
+
KspEditorFacility[KspEditorFacility["SPH"] = 2] = "SPH";
|
|
428
|
+
})(KspEditorFacility || (KspEditorFacility = {}));
|
|
429
|
+
/**
|
|
430
|
+
* KSP's `SpaceCenterFacility`: one building at the space centre. Behind
|
|
431
|
+
* `career.status.facilities[].facilityOrdinal` and
|
|
432
|
+
* `LimitBreach.facilityOrdinal`.
|
|
433
|
+
*
|
|
434
|
+
* `career.status.facilities` is keyed by the facility name, not the ordinal.
|
|
435
|
+
* The ordinal is carried inside each entry, so a client can branch on it
|
|
436
|
+
* without relying on the key it arrived under.
|
|
437
|
+
*
|
|
438
|
+
* @category Space center
|
|
439
|
+
*/
|
|
440
|
+
export var KspSpaceCenterFacility;
|
|
441
|
+
(function (KspSpaceCenterFacility) {
|
|
442
|
+
/** The Administration building. */
|
|
443
|
+
KspSpaceCenterFacility[KspSpaceCenterFacility["Administration"] = 0] = "Administration";
|
|
444
|
+
/** The Astronaut Complex. */
|
|
445
|
+
KspSpaceCenterFacility[KspSpaceCenterFacility["AstronautComplex"] = 1] = "AstronautComplex";
|
|
446
|
+
/** The Launch Pad. */
|
|
447
|
+
KspSpaceCenterFacility[KspSpaceCenterFacility["LaunchPad"] = 2] = "LaunchPad";
|
|
448
|
+
/** Mission Control. */
|
|
449
|
+
KspSpaceCenterFacility[KspSpaceCenterFacility["MissionControl"] = 3] = "MissionControl";
|
|
450
|
+
/** Research and Development. */
|
|
451
|
+
KspSpaceCenterFacility[KspSpaceCenterFacility["ResearchAndDevelopment"] = 4] = "ResearchAndDevelopment";
|
|
452
|
+
/** The Runway. */
|
|
453
|
+
KspSpaceCenterFacility[KspSpaceCenterFacility["Runway"] = 5] = "Runway";
|
|
454
|
+
/** The Tracking Station. */
|
|
455
|
+
KspSpaceCenterFacility[KspSpaceCenterFacility["TrackingStation"] = 6] = "TrackingStation";
|
|
456
|
+
/** The Spaceplane Hangar. */
|
|
457
|
+
KspSpaceCenterFacility[KspSpaceCenterFacility["SpaceplaneHangar"] = 7] = "SpaceplaneHangar";
|
|
458
|
+
/** The Vehicle Assembly Building. */
|
|
459
|
+
KspSpaceCenterFacility[KspSpaceCenterFacility["VehicleAssemblyBuilding"] = 8] = "VehicleAssemblyBuilding";
|
|
460
|
+
})(KspSpaceCenterFacility || (KspSpaceCenterFacility = {}));
|
|
461
|
+
/**
|
|
462
|
+
* KSP's `ResourceFlowMode`: how a resource moves around a vessel. Behind
|
|
463
|
+
* `kerbalism.resourceDefs[].flowModeOrdinal`, beside the name in
|
|
464
|
+
* `ResourceDefRaw.FlowMode`.
|
|
465
|
+
*
|
|
466
|
+
* The enum is stock KSP's, so any Uplink that reports a resource's flow mode
|
|
467
|
+
* uses this declaration.
|
|
468
|
+
*
|
|
469
|
+
* @category Parts
|
|
470
|
+
*/
|
|
471
|
+
export var KspResourceFlowMode;
|
|
472
|
+
(function (KspResourceFlowMode) {
|
|
473
|
+
/** The resource does not flow between parts; each part uses only its own. */
|
|
474
|
+
KspResourceFlowMode[KspResourceFlowMode["NO_FLOW"] = 0] = "NO_FLOW";
|
|
475
|
+
/** The resource flows to any part on the vessel. */
|
|
476
|
+
KspResourceFlowMode[KspResourceFlowMode["ALL_VESSEL"] = 1] = "ALL_VESSEL";
|
|
477
|
+
/** The resource flows vessel-wide, drawn from the highest stage priority first. */
|
|
478
|
+
KspResourceFlowMode[KspResourceFlowMode["STAGE_PRIORITY_FLOW"] = 2] = "STAGE_PRIORITY_FLOW";
|
|
479
|
+
/** The resource flows along the stack through crossfeed-capable connections. */
|
|
480
|
+
KspResourceFlowMode[KspResourceFlowMode["STACK_PRIORITY_SEARCH"] = 3] = "STACK_PRIORITY_SEARCH";
|
|
481
|
+
/**
|
|
482
|
+
* As `KspResourceFlowMode.ALL_VESSEL`, drawn evenly across the containing
|
|
483
|
+
* parts.
|
|
484
|
+
*/
|
|
485
|
+
KspResourceFlowMode[KspResourceFlowMode["ALL_VESSEL_BALANCE"] = 4] = "ALL_VESSEL_BALANCE";
|
|
486
|
+
/**
|
|
487
|
+
* As `KspResourceFlowMode.STAGE_PRIORITY_FLOW`, drawn evenly within a
|
|
488
|
+
* priority.
|
|
489
|
+
*/
|
|
490
|
+
KspResourceFlowMode[KspResourceFlowMode["STAGE_PRIORITY_FLOW_BALANCE"] = 5] = "STAGE_PRIORITY_FLOW_BALANCE";
|
|
491
|
+
/** The resource flows within the stage through crossfeed-capable connections. */
|
|
492
|
+
KspResourceFlowMode[KspResourceFlowMode["STAGE_STACK_FLOW"] = 6] = "STAGE_STACK_FLOW";
|
|
493
|
+
/**
|
|
494
|
+
* As `KspResourceFlowMode.STAGE_STACK_FLOW`, drawn evenly across the
|
|
495
|
+
* containing parts.
|
|
496
|
+
*/
|
|
497
|
+
KspResourceFlowMode[KspResourceFlowMode["STAGE_STACK_FLOW_BALANCE"] = 7] = "STAGE_STACK_FLOW_BALANCE";
|
|
498
|
+
/** No flow mode set. */
|
|
499
|
+
KspResourceFlowMode[KspResourceFlowMode["NULL"] = 8] = "NULL";
|
|
500
|
+
})(KspResourceFlowMode || (KspResourceFlowMode = {}));
|
|
501
|
+
/**
|
|
502
|
+
* Whether a payload's subject is simulated under physics (`Quality.Loaded`) or
|
|
503
|
+
* moving on rails (`Quality.OnRails`).
|
|
504
|
+
*
|
|
505
|
+
* @category Stream messages
|
|
506
|
+
*/
|
|
44
507
|
export var Quality;
|
|
45
508
|
(function (Quality) {
|
|
509
|
+
/** Moving on rails: KSP is not simulating it, and its orbit is a fixed conic. */
|
|
46
510
|
Quality[Quality["OnRails"] = 0] = "OnRails";
|
|
511
|
+
/** Loaded and simulated under physics. */
|
|
47
512
|
Quality[Quality["Loaded"] = 1] = "Loaded";
|
|
48
513
|
})(Quality || (Quality = {}));
|
|
514
|
+
/**
|
|
515
|
+
* How current a delivered sample is, as the mod knows it (a client infers the
|
|
516
|
+
* rest from its own heartbeat tracking).
|
|
517
|
+
*
|
|
518
|
+
* `Staleness.Fresh` is a sample delivered on its own schedule.
|
|
519
|
+
* `Staleness.Held` and `Staleness.LastBeforeBlackout` are catch-up grades for
|
|
520
|
+
* a late or reconnecting subscriber. `Staleness.Recorded` is different in kind
|
|
521
|
+
* from all three: the sample is exact as of its own `Meta.validAt`, it simply
|
|
522
|
+
* did not travel at the time it was taken. It was held aboard through a loss
|
|
523
|
+
* of signal and dumped on acquisition, so it arrives long after the instant it
|
|
524
|
+
* describes, and its `Meta.deliveredAt` is the real arrival, not `validAt +
|
|
525
|
+
* light-time`.
|
|
526
|
+
*
|
|
527
|
+
* @category Stream messages
|
|
528
|
+
*/
|
|
49
529
|
export var Staleness;
|
|
50
530
|
(function (Staleness) {
|
|
531
|
+
/**
|
|
532
|
+
* Delivered on its own schedule. An old `validAt` on a Topic that sends only
|
|
533
|
+
* on change is still fresh.
|
|
534
|
+
*/
|
|
51
535
|
Staleness[Staleness["Fresh"] = 0] = "Fresh";
|
|
52
|
-
|
|
536
|
+
/**
|
|
537
|
+
* Sent to a subscriber that joined while contact was lost, and taken after
|
|
538
|
+
* contact was lost.
|
|
539
|
+
*/
|
|
540
|
+
Staleness[Staleness["Held"] = 1] = "Held";
|
|
541
|
+
/**
|
|
542
|
+
* Sent to a subscriber that joined while contact was lost: the last sample
|
|
543
|
+
* that got out before contact was lost.
|
|
544
|
+
*/
|
|
53
545
|
Staleness[Staleness["LastBeforeBlackout"] = 2] = "LastBeforeBlackout";
|
|
546
|
+
/**
|
|
547
|
+
* Recovered from the subject's own recorder: taken while it was out of
|
|
548
|
+
* contact, replayed on reacquisition. Precisely dated and never a guess, but
|
|
549
|
+
* not a live reading, and never the subject's current state.
|
|
550
|
+
*/
|
|
551
|
+
Staleness[Staleness["Recorded"] = 3] = "Recorded";
|
|
54
552
|
})(Staleness || (Staleness = {}));
|
|
553
|
+
/**
|
|
554
|
+
* Where one Making History mission objective stands, defined by this contract
|
|
555
|
+
* rather than by KSP.
|
|
556
|
+
*
|
|
557
|
+
* KSP's mission graph has no per-objective state. A node is either activated
|
|
558
|
+
* (the mission reached it) or not, and exactly one node is the mission's
|
|
559
|
+
* active node, so this reduces those facts to the four outcomes an operator
|
|
560
|
+
* reads. On the wire it is an integer ordinal.
|
|
561
|
+
*
|
|
562
|
+
* @category Missions
|
|
563
|
+
*/
|
|
564
|
+
export var MissionObjectiveState;
|
|
565
|
+
(function (MissionObjectiveState) {
|
|
566
|
+
/** The mission has not reached this objective yet. */
|
|
567
|
+
MissionObjectiveState[MissionObjectiveState["Pending"] = 0] = "Pending";
|
|
568
|
+
/**
|
|
569
|
+
* The mission is on this objective now: it is the mission's active node and
|
|
570
|
+
* the mission is still running.
|
|
571
|
+
*/
|
|
572
|
+
MissionObjectiveState[MissionObjectiveState["Active"] = 1] = "Active";
|
|
573
|
+
/**
|
|
574
|
+
* The mission reached this objective and has moved past it, or ended
|
|
575
|
+
* successfully on it.
|
|
576
|
+
*/
|
|
577
|
+
MissionObjectiveState[MissionObjectiveState["Reached"] = 2] = "Reached";
|
|
578
|
+
/** The mission ended without success before this objective was met. */
|
|
579
|
+
MissionObjectiveState[MissionObjectiveState["Failed"] = 3] = "Failed";
|
|
580
|
+
})(MissionObjectiveState || (MissionObjectiveState = {}));
|
|
581
|
+
/**
|
|
582
|
+
* Which kind of condition a SCET alarm watches for.
|
|
583
|
+
*
|
|
584
|
+
* Every alarm has a vantage, so a kind says only what is watched. A threshold
|
|
585
|
+
* follows a dotted path to a number; a contract parameter, which sits in a
|
|
586
|
+
* list no path can index, finds its contract and objective by id and title.
|
|
587
|
+
*
|
|
588
|
+
* @category Alarms
|
|
589
|
+
*/
|
|
590
|
+
export var ScetAlarmConditionKind;
|
|
591
|
+
(function (ScetAlarmConditionKind) {
|
|
592
|
+
/** An instant on the craft's own clock, as a universal time. */
|
|
593
|
+
ScetAlarmConditionKind[ScetAlarmConditionKind["Time"] = 0] = "Time";
|
|
594
|
+
/**
|
|
595
|
+
* A value aboard the craft crossing a number the operator chose, compared
|
|
596
|
+
* against the reading the simulation actually holds rather than against the
|
|
597
|
+
* one the command centre has been told.
|
|
598
|
+
*
|
|
599
|
+
* Only the simulation can check this. A time alarm needs only a clock, which a
|
|
600
|
+
* client has; a threshold needs the craft's true state, which reaches the
|
|
601
|
+
* ground a light-time late and by then no longer says whether the craft is
|
|
602
|
+
* above 100 km now.
|
|
603
|
+
*/
|
|
604
|
+
ScetAlarmConditionKind[ScetAlarmConditionKind["Threshold"] = 1] = "Threshold";
|
|
605
|
+
/**
|
|
606
|
+
* One objective of one active contract reaching a state the operator chose, as
|
|
607
|
+
* `career.status.contracts.active` reports it.
|
|
608
|
+
*
|
|
609
|
+
* Level rather than edge, like the threshold: an objective already in its
|
|
610
|
+
* target state when the alarm is set is a condition that holds. A contract no
|
|
611
|
+
* longer active leaves the condition unmet for ever, which is the fail-safe
|
|
612
|
+
* outcome for a contract that was completed, failed or withdrawn by some other
|
|
613
|
+
* route.
|
|
614
|
+
*/
|
|
615
|
+
ScetAlarmConditionKind[ScetAlarmConditionKind["ContractParameter"] = 2] = "ContractParameter";
|
|
616
|
+
})(ScetAlarmConditionKind || (ScetAlarmConditionKind = {}));
|
|
617
|
+
/**
|
|
618
|
+
* How a threshold condition compares the reading to the operator's number.
|
|
619
|
+
*
|
|
620
|
+
* The same six the client's own alarm list offers, so an alarm set on the
|
|
621
|
+
* command vantage and the same alarm set on the craft's clock mean the same
|
|
622
|
+
* thing and can be checked against each other at zero delay.
|
|
623
|
+
*
|
|
624
|
+
* @category Alarms
|
|
625
|
+
*/
|
|
626
|
+
export var ScetAlarmThresholdOp;
|
|
627
|
+
(function (ScetAlarmThresholdOp) {
|
|
628
|
+
/** Reading is greater than the threshold. */
|
|
629
|
+
ScetAlarmThresholdOp[ScetAlarmThresholdOp["GreaterThan"] = 0] = "GreaterThan";
|
|
630
|
+
/** Reading is greater than or equal to the threshold. */
|
|
631
|
+
ScetAlarmThresholdOp[ScetAlarmThresholdOp["GreaterThanOrEqual"] = 1] = "GreaterThanOrEqual";
|
|
632
|
+
/** Reading is less than the threshold. */
|
|
633
|
+
ScetAlarmThresholdOp[ScetAlarmThresholdOp["LessThan"] = 2] = "LessThan";
|
|
634
|
+
/** Reading is less than or equal to the threshold. */
|
|
635
|
+
ScetAlarmThresholdOp[ScetAlarmThresholdOp["LessThanOrEqual"] = 3] = "LessThanOrEqual";
|
|
636
|
+
/**
|
|
637
|
+
* Reading equals the threshold exactly.
|
|
638
|
+
*
|
|
639
|
+
* Offered for parity with the client's list, and a knife edge on anything
|
|
640
|
+
* continuous: the reading is a sample, and under warp the samples are
|
|
641
|
+
* thousands of game-seconds apart, so a craft can pass straight through the
|
|
642
|
+
* value without one landing on it. An inequality is almost always the
|
|
643
|
+
* condition an operator actually means.
|
|
644
|
+
*/
|
|
645
|
+
ScetAlarmThresholdOp[ScetAlarmThresholdOp["Equal"] = 4] = "Equal";
|
|
646
|
+
/**
|
|
647
|
+
* Reading differs from the threshold. The inverse of
|
|
648
|
+
* `ScetAlarmThresholdOp.Equal`, and just as much a knife edge on anything
|
|
649
|
+
* continuous.
|
|
650
|
+
*/
|
|
651
|
+
ScetAlarmThresholdOp[ScetAlarmThresholdOp["NotEqual"] = 5] = "NotEqual";
|
|
652
|
+
})(ScetAlarmThresholdOp || (ScetAlarmThresholdOp = {}));
|
|
653
|
+
/**
|
|
654
|
+
* Where a SCET alarm has got to.
|
|
655
|
+
*
|
|
656
|
+
* A latch, not a level: `ScetAlarmState.Fired` is reached once and stays, so a
|
|
657
|
+
* condition that keeps holding cannot stop the warp again on the next tick.
|
|
658
|
+
*
|
|
659
|
+
* @category Alarms
|
|
660
|
+
*/
|
|
661
|
+
export var ScetAlarmState;
|
|
662
|
+
(function (ScetAlarmState) {
|
|
663
|
+
/** Watching. The condition has not been met. */
|
|
664
|
+
ScetAlarmState[ScetAlarmState["Armed"] = 0] = "Armed";
|
|
665
|
+
/** The condition was met, warp was stopped, and the notice went out. */
|
|
666
|
+
ScetAlarmState[ScetAlarmState["Fired"] = 1] = "Fired";
|
|
667
|
+
/**
|
|
668
|
+
* The craft the condition watches no longer exists, so the alarm can never
|
|
669
|
+
* come due.
|
|
670
|
+
*
|
|
671
|
+
* Only a threshold reaches this: a time condition has no subject to lose,
|
|
672
|
+
* because universal time belongs to the game. The simulation knows the craft
|
|
673
|
+
* is gone before the command centre does, so show such a row as dead rather
|
|
674
|
+
* than as pending.
|
|
675
|
+
*/
|
|
676
|
+
ScetAlarmState[ScetAlarmState["Unreachable"] = 2] = "Unreachable";
|
|
677
|
+
/**
|
|
678
|
+
* The player switched to a different craft before the alarm came due, so it
|
|
679
|
+
* will never fire. An alarm belongs to the craft being flown when it was set,
|
|
680
|
+
* whatever its condition reads, and a switch ends every alarm still watching.
|
|
681
|
+
* A kerbal on EVA counts as the craft they stepped out of.
|
|
682
|
+
*/
|
|
683
|
+
ScetAlarmState[ScetAlarmState["Cancelled"] = 3] = "Cancelled";
|
|
684
|
+
})(ScetAlarmState || (ScetAlarmState = {}));
|
|
685
|
+
/**
|
|
686
|
+
* What a SCET alarm's onboard action does to the craft when the alarm fires.
|
|
687
|
+
*
|
|
688
|
+
* A typed member for each stock singleton and one for every custom group, so
|
|
689
|
+
* no name ever crosses the wire. A player may call a custom group "Stage", and
|
|
690
|
+
* two custom groups may share a name, so a name is not an identity: a custom
|
|
691
|
+
* group is addressed by its index in `ScetAlarmAction.group`, and cannot be
|
|
692
|
+
* read as the stage command however it is labelled.
|
|
693
|
+
*
|
|
694
|
+
* @category Alarms
|
|
695
|
+
*/
|
|
696
|
+
export var ScetAlarmActionKind;
|
|
697
|
+
(function (ScetAlarmActionKind) {
|
|
698
|
+
/** Toggle the custom action group whose index is `ScetAlarmAction.group`. */
|
|
699
|
+
ScetAlarmActionKind[ScetAlarmActionKind["ActionGroup"] = 0] = "ActionGroup";
|
|
700
|
+
/** Activate the next stage. */
|
|
701
|
+
ScetAlarmActionKind[ScetAlarmActionKind["Stage"] = 1] = "Stage";
|
|
702
|
+
/** Toggle SAS. */
|
|
703
|
+
ScetAlarmActionKind[ScetAlarmActionKind["Sas"] = 2] = "Sas";
|
|
704
|
+
/** Toggle RCS. */
|
|
705
|
+
ScetAlarmActionKind[ScetAlarmActionKind["Rcs"] = 3] = "Rcs";
|
|
706
|
+
/** Toggle the lights. */
|
|
707
|
+
ScetAlarmActionKind[ScetAlarmActionKind["Lights"] = 4] = "Lights";
|
|
708
|
+
/** Toggle the landing gear. */
|
|
709
|
+
ScetAlarmActionKind[ScetAlarmActionKind["Gear"] = 5] = "Gear";
|
|
710
|
+
/** Toggle the brakes. */
|
|
711
|
+
ScetAlarmActionKind[ScetAlarmActionKind["Brakes"] = 6] = "Brakes";
|
|
712
|
+
/** Toggle the abort action group. */
|
|
713
|
+
ScetAlarmActionKind[ScetAlarmActionKind["Abort"] = 7] = "Abort";
|
|
714
|
+
})(ScetAlarmActionKind || (ScetAlarmActionKind = {}));
|
|
715
|
+
/**
|
|
716
|
+
* A deployed-science cluster's power state, defined by this contract rather
|
|
717
|
+
* than by KSP.
|
|
718
|
+
*
|
|
719
|
+
* KSP has no enum for this. `ModuleGroundSciencePart` carries the state as a
|
|
720
|
+
* localised sentence, so this reproduces the five outcomes `UpdateModuleUI()`
|
|
721
|
+
* distinguishes, derived from the booleans it reads rather than from the
|
|
722
|
+
* sentence it writes. It is an ordinal on the wire and a closed union on the
|
|
723
|
+
* client like every other enum in this contract.
|
|
724
|
+
*
|
|
725
|
+
* @category Science
|
|
726
|
+
*/
|
|
727
|
+
export var DeployedPowerState;
|
|
728
|
+
(function (DeployedPowerState) {
|
|
729
|
+
/** Powered and working: the cluster reports `IsPowered`. */
|
|
730
|
+
DeployedPowerState[DeployedPowerState["Powered"] = 0] = "Powered";
|
|
731
|
+
/** Deployed and switched on, but the cluster has no power. */
|
|
732
|
+
DeployedPowerState[DeployedPowerState["Unpowered"] = 1] = "Unpowered";
|
|
733
|
+
/** The cluster's controller is switched off, so nothing is powered. */
|
|
734
|
+
DeployedPowerState[DeployedPowerState["ControllerDisabled"] = 2] = "ControllerDisabled";
|
|
735
|
+
/** This experiment is switched off, or is not deployed on the ground. */
|
|
736
|
+
DeployedPowerState[DeployedPowerState["Disabled"] = 3] = "Disabled";
|
|
737
|
+
/**
|
|
738
|
+
* Attached to no cluster at all. Distinct from `DeployedPowerState.Unpowered`:
|
|
739
|
+
* there is nothing to supply power, rather than a supply that is empty.
|
|
740
|
+
*/
|
|
741
|
+
DeployedPowerState[DeployedPowerState["NotConnected"] = 4] = "NotConnected";
|
|
742
|
+
})(DeployedPowerState || (DeployedPowerState = {}));
|
|
743
|
+
/**
|
|
744
|
+
* Where the settings in force stand against the settings file.
|
|
745
|
+
*
|
|
746
|
+
* @category Mod settings
|
|
747
|
+
*/
|
|
748
|
+
export var SettingsPersistenceState;
|
|
749
|
+
(function (SettingsPersistenceState) {
|
|
750
|
+
/**
|
|
751
|
+
* The file holds these values: it was read at start-up, or the last save wrote
|
|
752
|
+
* it.
|
|
753
|
+
*/
|
|
754
|
+
SettingsPersistenceState[SettingsPersistenceState["Saved"] = 0] = "Saved";
|
|
755
|
+
/**
|
|
756
|
+
* The last save could not write the file. The values are in force for this
|
|
757
|
+
* session only and revert when KSP restarts; `SettingsPersistence.reason` says
|
|
758
|
+
* why.
|
|
759
|
+
*/
|
|
760
|
+
SettingsPersistenceState[SettingsPersistenceState["MemoryOnly"] = 1] = "MemoryOnly";
|
|
761
|
+
/**
|
|
762
|
+
* The file was missing, empty or damaged at start-up, and its backup was read
|
|
763
|
+
* instead. Anything saved after that backup was taken is lost. Clears at the
|
|
764
|
+
* next successful save.
|
|
765
|
+
*/
|
|
766
|
+
SettingsPersistenceState[SettingsPersistenceState["Recovered"] = 2] = "Recovered";
|
|
767
|
+
/**
|
|
768
|
+
* No settings file exists yet: a first run, every setting at its default until
|
|
769
|
+
* the first save.
|
|
770
|
+
*/
|
|
771
|
+
SettingsPersistenceState[SettingsPersistenceState["Defaults"] = 3] = "Defaults";
|
|
772
|
+
/**
|
|
773
|
+
* A settings file exists but neither it nor a backup could be read, so every
|
|
774
|
+
* setting is at its default. Clears at the next successful save, which
|
|
775
|
+
* replaces the unreadable file.
|
|
776
|
+
*/
|
|
777
|
+
SettingsPersistenceState[SettingsPersistenceState["Unreadable"] = 4] = "Unreadable";
|
|
778
|
+
})(SettingsPersistenceState || (SettingsPersistenceState = {}));
|
|
779
|
+
/**
|
|
780
|
+
* A roster vessel's control level, as stock CommNet reports it
|
|
781
|
+
* (`Vessel.connection.GetControlLevel()`), for
|
|
782
|
+
* `VesselRosterEntry.commsControlSource`. Not the same type as
|
|
783
|
+
* `CommsControlSource`, which belongs to the active vessel's `comms.*`
|
|
784
|
+
* channels and whatever comms mod provides them.
|
|
785
|
+
*
|
|
786
|
+
* @category Solar system and fleet
|
|
787
|
+
*/
|
|
788
|
+
export var RosterCommsControlSource;
|
|
789
|
+
(function (RosterCommsControlSource) {
|
|
790
|
+
/** A measurement: the vessel has no control source. */
|
|
791
|
+
RosterCommsControlSource[RosterCommsControlSource["None"] = 0] = "None";
|
|
792
|
+
/**
|
|
793
|
+
* Partial control: KSP's `PARTIAL_MANNED` or `PARTIAL_UNMANNED` level, such as
|
|
794
|
+
* a probe core with no link home.
|
|
795
|
+
*/
|
|
796
|
+
RosterCommsControlSource[RosterCommsControlSource["Partial"] = 1] = "Partial";
|
|
797
|
+
/** Full control: KSP's `FULL` level. */
|
|
798
|
+
RosterCommsControlSource[RosterCommsControlSource["Full"] = 2] = "Full";
|
|
799
|
+
/**
|
|
800
|
+
* The game reported a control level this build does not name. Not
|
|
801
|
+
* `RosterCommsControlSource.None`: nothing was measured to be absent, the
|
|
802
|
+
* level simply has no tier here yet.
|
|
803
|
+
*/
|
|
804
|
+
RosterCommsControlSource[RosterCommsControlSource["Unknown"] = 3] = "Unknown";
|
|
805
|
+
})(RosterCommsControlSource || (RosterCommsControlSource = {}));
|
|
806
|
+
/**
|
|
807
|
+
* How the active vessel comes to know of another vessel on `target.available`,
|
|
808
|
+
* which is also how old what it knows can be.
|
|
809
|
+
*
|
|
810
|
+
* @category Orbits and trajectories
|
|
811
|
+
*/
|
|
812
|
+
export var TargetKnowledge;
|
|
813
|
+
(function (TargetKnowledge) {
|
|
814
|
+
/**
|
|
815
|
+
* The other vessel is within physics range of the active vessel, which sees it
|
|
816
|
+
* as it is.
|
|
817
|
+
*/
|
|
818
|
+
TargetKnowledge[TargetKnowledge["InRange"] = 0] = "InRange";
|
|
819
|
+
/**
|
|
820
|
+
* The other vessel's radio reaches the active vessel directly, so what is
|
|
821
|
+
* known of it is one light-time of that link old.
|
|
822
|
+
*/
|
|
823
|
+
TargetKnowledge[TargetKnowledge["DirectLink"] = 1] = "DirectLink";
|
|
824
|
+
/**
|
|
825
|
+
* The active vessel's command centre knows of the other vessel, by tracking it
|
|
826
|
+
* or by hearing from it, and has told the active vessel over its control
|
|
827
|
+
* route. What is known is as old as the centre's own knowledge plus that
|
|
828
|
+
* route's light-time.
|
|
829
|
+
*/
|
|
830
|
+
TargetKnowledge[TargetKnowledge["CommandCentre"] = 2] = "CommandCentre";
|
|
831
|
+
})(TargetKnowledge || (TargetKnowledge = {}));
|
|
832
|
+
/**
|
|
833
|
+
* What a command gate concluded about one precondition: passed, failed, could
|
|
834
|
+
* not be decided from the arguments supplied, or could not be decided from the
|
|
835
|
+
* game's state.
|
|
836
|
+
*
|
|
837
|
+
* @category System diagnostics
|
|
838
|
+
*/
|
|
839
|
+
export var GateOutcome;
|
|
840
|
+
(function (GateOutcome) {
|
|
841
|
+
/** Nothing blocks this. */
|
|
842
|
+
GateOutcome[GateOutcome["Pass"] = 0] = "Pass";
|
|
843
|
+
/** Blocked, with the comparison that says why. */
|
|
844
|
+
GateOutcome[GateOutcome["Fail"] = 1] = "Fail";
|
|
845
|
+
/**
|
|
846
|
+
* Cannot be decided from the arguments supplied, because one it needs is
|
|
847
|
+
* missing. Not a refusal: a client that treats this as blocked disables every
|
|
848
|
+
* argument-dependent control permanently.
|
|
849
|
+
*/
|
|
850
|
+
GateOutcome[GateOutcome["Abstain"] = 2] = "Abstain";
|
|
851
|
+
/**
|
|
852
|
+
* Decidable in principle, but the live state needed is missing, e.g. a
|
|
853
|
+
* facility KSP does not track under the name declared. Distinct from
|
|
854
|
+
* `GateOutcome.Abstain` because nothing further the caller supplies will
|
|
855
|
+
* resolve it, and distinct from `GateOutcome.Pass` because an unreadable limit
|
|
856
|
+
* is not the same as no limit.
|
|
857
|
+
*/
|
|
858
|
+
GateOutcome[GateOutcome["Unknown"] = 3] = "Unknown";
|
|
859
|
+
})(GateOutcome || (GateOutcome = {}));
|
|
860
|
+
/**
|
|
861
|
+
* What a setting may hold, the mod's own or an Uplink's.
|
|
862
|
+
*
|
|
863
|
+
* The set is small and closed. A setting that needs more than these is a
|
|
864
|
+
* `SettingKind.Text` row that the Uplink checks when it reads it.
|
|
865
|
+
*
|
|
866
|
+
* @category Mod settings
|
|
867
|
+
*/
|
|
868
|
+
export var SettingKind;
|
|
869
|
+
(function (SettingKind) {
|
|
870
|
+
/**
|
|
871
|
+
* A single line of text. Also the fallback for anything the other kinds cannot
|
|
872
|
+
* express.
|
|
873
|
+
*/
|
|
874
|
+
SettingKind[SettingKind["Text"] = 0] = "Text";
|
|
875
|
+
/** True or false. */
|
|
876
|
+
SettingKind[SettingKind["Bool"] = 1] = "Bool";
|
|
877
|
+
/**
|
|
878
|
+
* A number, written with a full stop for the decimal point whatever the locale
|
|
879
|
+
* of the machine the game runs on.
|
|
880
|
+
*/
|
|
881
|
+
SettingKind[SettingKind["Number"] = 2] = "Number";
|
|
882
|
+
})(SettingKind || (SettingKind = {}));
|
|
883
|
+
/**
|
|
884
|
+
* KSP's `VesselControlState`, carried by name: what is controlling the vessel
|
|
885
|
+
* (a probe core, a kerbal) and how much control it has (none, partial, full).
|
|
886
|
+
* Mirrors the stock member names; `ControlState.Unknown` covers any name the
|
|
887
|
+
* mod does not recognise.
|
|
888
|
+
*
|
|
889
|
+
* @category Comms
|
|
890
|
+
*/
|
|
55
891
|
export var ControlState;
|
|
56
892
|
(function (ControlState) {
|
|
893
|
+
/** No control. */
|
|
57
894
|
ControlState[ControlState["None"] = 0] = "None";
|
|
895
|
+
/** Controlled by a probe core. */
|
|
58
896
|
ControlState[ControlState["Probe"] = 1] = "Probe";
|
|
897
|
+
/** Controlled by a kerbal. */
|
|
59
898
|
ControlState[ControlState["Kerbal"] = 2] = "Kerbal";
|
|
899
|
+
/** Partial control. */
|
|
60
900
|
ControlState[ControlState["Partial"] = 3] = "Partial";
|
|
901
|
+
/** Full control. */
|
|
61
902
|
ControlState[ControlState["Full"] = 4] = "Full";
|
|
903
|
+
/** A probe-controlled vessel with no control. */
|
|
62
904
|
ControlState[ControlState["ProbeNone"] = 5] = "ProbeNone";
|
|
905
|
+
/**
|
|
906
|
+
* A probe-controlled vessel with partial control, typically without a
|
|
907
|
+
* connection home.
|
|
908
|
+
*/
|
|
63
909
|
ControlState[ControlState["ProbePartial"] = 6] = "ProbePartial";
|
|
910
|
+
/** A probe-controlled vessel with full control. */
|
|
64
911
|
ControlState[ControlState["ProbeFull"] = 7] = "ProbeFull";
|
|
912
|
+
/** A kerbal-controlled vessel with no control. */
|
|
65
913
|
ControlState[ControlState["KerbalNone"] = 8] = "KerbalNone";
|
|
914
|
+
/** A kerbal-controlled vessel with partial control. */
|
|
66
915
|
ControlState[ControlState["KerbalPartial"] = 9] = "KerbalPartial";
|
|
916
|
+
/** A kerbal-controlled vessel with full control. */
|
|
67
917
|
ControlState[ControlState["KerbalFull"] = 10] = "KerbalFull";
|
|
918
|
+
/** A state name the mod does not recognise. */
|
|
68
919
|
ControlState[ControlState["Unknown"] = 11] = "Unknown";
|
|
69
920
|
})(ControlState || (ControlState = {}));
|
|
921
|
+
/**
|
|
922
|
+
* The SAS autopilot's hold mode, KSP's `VesselAutopilot.AutopilotMode` with
|
|
923
|
+
* the same member names. The directional modes follow the navball's current
|
|
924
|
+
* speed mode (orbit, surface or target). `SasMode.Unknown` stands for a value
|
|
925
|
+
* this contract does not recognise.
|
|
926
|
+
*
|
|
927
|
+
* @category Vessel
|
|
928
|
+
*/
|
|
70
929
|
export var SasMode;
|
|
71
930
|
(function (SasMode) {
|
|
931
|
+
/** Holds the vessel's current attitude. */
|
|
72
932
|
SasMode[SasMode["StabilityAssist"] = 0] = "StabilityAssist";
|
|
933
|
+
/** Points along the velocity vector. */
|
|
73
934
|
SasMode[SasMode["Prograde"] = 1] = "Prograde";
|
|
935
|
+
/** Points against the velocity vector. */
|
|
74
936
|
SasMode[SasMode["Retrograde"] = 2] = "Retrograde";
|
|
937
|
+
/** Points along the orbit normal. */
|
|
75
938
|
SasMode[SasMode["Normal"] = 3] = "Normal";
|
|
939
|
+
/** Points against the orbit normal. */
|
|
76
940
|
SasMode[SasMode["Antinormal"] = 4] = "Antinormal";
|
|
941
|
+
/** Points towards the body being orbited. */
|
|
77
942
|
SasMode[SasMode["RadialIn"] = 5] = "RadialIn";
|
|
943
|
+
/** Points away from the body being orbited. */
|
|
78
944
|
SasMode[SasMode["RadialOut"] = 6] = "RadialOut";
|
|
945
|
+
/** Points towards the current target. */
|
|
79
946
|
SasMode[SasMode["Target"] = 7] = "Target";
|
|
947
|
+
/** Points away from the current target. */
|
|
80
948
|
SasMode[SasMode["AntiTarget"] = 8] = "AntiTarget";
|
|
949
|
+
/** Points along the burn vector of the next maneuver node. */
|
|
81
950
|
SasMode[SasMode["Maneuver"] = 9] = "Maneuver";
|
|
951
|
+
/** A mode this contract does not recognise. */
|
|
82
952
|
SasMode[SasMode["Unknown"] = 10] = "Unknown";
|
|
83
953
|
})(SasMode || (SasMode = {}));
|
|
954
|
+
/**
|
|
955
|
+
* A vessel's flight situation, KSP's `Vessel.situation` (the
|
|
956
|
+
* `Vessel.Situations` enum) in this contract's PascalCase spelling.
|
|
957
|
+
* `Situation.Unknown` stands for a value this contract does not recognise,
|
|
958
|
+
* such as a situation added by a later KSP version.
|
|
959
|
+
*
|
|
960
|
+
* @category Vessel
|
|
961
|
+
*/
|
|
84
962
|
export var Situation;
|
|
85
963
|
(function (Situation) {
|
|
964
|
+
/** Resting on the surface of a body (KSP `LANDED`). */
|
|
86
965
|
Situation[Situation["Landed"] = 0] = "Landed";
|
|
966
|
+
/** Floating on water (KSP `SPLASHED`). */
|
|
87
967
|
Situation[Situation["Splashed"] = 1] = "Splashed";
|
|
968
|
+
/** On the launch pad or runway and not yet launched (KSP `PRELAUNCH`). */
|
|
88
969
|
Situation[Situation["PreLaunch"] = 2] = "PreLaunch";
|
|
970
|
+
/**
|
|
971
|
+
* In a closed orbit that does not intersect the surface or atmosphere (KSP
|
|
972
|
+
* `ORBITING`).
|
|
973
|
+
*/
|
|
89
974
|
Situation[Situation["Orbiting"] = 3] = "Orbiting";
|
|
975
|
+
/**
|
|
976
|
+
* On a trajectory that leaves the current body's sphere of influence (KSP
|
|
977
|
+
* `ESCAPING`).
|
|
978
|
+
*/
|
|
90
979
|
Situation[Situation["Escaping"] = 4] = "Escaping";
|
|
980
|
+
/** In the atmosphere and off the ground (KSP `FLYING`). */
|
|
91
981
|
Situation[Situation["Flying"] = 5] = "Flying";
|
|
982
|
+
/**
|
|
983
|
+
* Above the atmosphere on a trajectory that meets the surface or atmosphere
|
|
984
|
+
* again (KSP `SUB_ORBITAL`).
|
|
985
|
+
*/
|
|
92
986
|
Situation[Situation["SubOrbital"] = 6] = "SubOrbital";
|
|
987
|
+
/** Docked to another vessel (KSP `DOCKED`). */
|
|
93
988
|
Situation[Situation["Docked"] = 7] = "Docked";
|
|
989
|
+
/** A situation this contract does not recognise. */
|
|
94
990
|
Situation[Situation["Unknown"] = 8] = "Unknown";
|
|
95
991
|
})(Situation || (Situation = {}));
|
|
992
|
+
/**
|
|
993
|
+
* A vessel's type, KSP's `Vessel.vesselType` (the `VesselType` enum), with the
|
|
994
|
+
* same member names. `VesselType.Unknown` is both KSP's own `Unknown` type and
|
|
995
|
+
* the value for a type this contract does not recognise.
|
|
996
|
+
*
|
|
997
|
+
* @category Vessel
|
|
998
|
+
*/
|
|
96
999
|
export var VesselType;
|
|
97
1000
|
(function (VesselType) {
|
|
1001
|
+
/** A crewed or general-purpose ship. */
|
|
98
1002
|
VesselType[VesselType["Ship"] = 0] = "Ship";
|
|
1003
|
+
/** A space station. */
|
|
99
1004
|
VesselType[VesselType["Station"] = 1] = "Station";
|
|
1005
|
+
/** A lander. */
|
|
100
1006
|
VesselType[VesselType["Lander"] = 2] = "Lander";
|
|
1007
|
+
/** An uncrewed probe. */
|
|
101
1008
|
VesselType[VesselType["Probe"] = 3] = "Probe";
|
|
1009
|
+
/** A rover. */
|
|
102
1010
|
VesselType[VesselType["Rover"] = 4] = "Rover";
|
|
1011
|
+
/** A surface base. */
|
|
103
1012
|
VesselType[VesselType["Base"] = 5] = "Base";
|
|
1013
|
+
/** A communications relay. */
|
|
104
1014
|
VesselType[VesselType["Relay"] = 6] = "Relay";
|
|
1015
|
+
/** A kerbal on EVA. */
|
|
105
1016
|
VesselType[VesselType["EVA"] = 7] = "EVA";
|
|
1017
|
+
/** A planted flag. */
|
|
106
1018
|
VesselType[VesselType["Flag"] = 8] = "Flag";
|
|
1019
|
+
/** Debris, such as a spent stage or a jettisoned fairing. */
|
|
107
1020
|
VesselType[VesselType["Debris"] = 9] = "Debris";
|
|
1021
|
+
/** An asteroid or comet. */
|
|
108
1022
|
VesselType[VesselType["SpaceObject"] = 10] = "SpaceObject";
|
|
1023
|
+
/** A deployed science station's central control unit (Breaking Ground). */
|
|
109
1024
|
VesselType[VesselType["DeployedScienceController"] = 11] = "DeployedScienceController";
|
|
1025
|
+
/**
|
|
1026
|
+
* A deployed science experiment or power part other than the controller
|
|
1027
|
+
* (Breaking Ground).
|
|
1028
|
+
*/
|
|
110
1029
|
VesselType[VesselType["DeployedSciencePart"] = 12] = "DeployedSciencePart";
|
|
1030
|
+
/** A part dropped from a vessel, such as a piece of ground equipment. */
|
|
111
1031
|
VesselType[VesselType["DroppedPart"] = 13] = "DroppedPart";
|
|
1032
|
+
/** KSP's own unknown type, or a type this contract does not recognise. */
|
|
112
1033
|
VesselType[VesselType["Unknown"] = 14] = "Unknown";
|
|
113
1034
|
})(VesselType || (VesselType = {}));
|
|
1035
|
+
/**
|
|
1036
|
+
* How an orbit patch begins or ends, KSP's `Orbit.PatchTransitionType` (read
|
|
1037
|
+
* from `Orbit.patchStartTransition` and `Orbit.patchEndTransition`). Member
|
|
1038
|
+
* names follow KSP's except `TransitionType.Collision`, which is KSP's
|
|
1039
|
+
* `IMPACT`. `TransitionType.Unknown` stands for a value this contract does not
|
|
1040
|
+
* recognise.
|
|
1041
|
+
*
|
|
1042
|
+
* @category Vessel
|
|
1043
|
+
*/
|
|
114
1044
|
export var TransitionType;
|
|
115
1045
|
(function (TransitionType) {
|
|
1046
|
+
/**
|
|
1047
|
+
* The patch starts at the vessel's current position: the first patch of a
|
|
1048
|
+
* trajectory.
|
|
1049
|
+
*/
|
|
116
1050
|
TransitionType[TransitionType["Initial"] = 0] = "Initial";
|
|
1051
|
+
/**
|
|
1052
|
+
* The patch does not end in a transition: the trajectory continues on it
|
|
1053
|
+
* indefinitely.
|
|
1054
|
+
*/
|
|
117
1055
|
TransitionType[TransitionType["Final"] = 1] = "Final";
|
|
1056
|
+
/** The trajectory enters another body's sphere of influence. */
|
|
118
1057
|
TransitionType[TransitionType["Encounter"] = 2] = "Encounter";
|
|
1058
|
+
/** The trajectory leaves the current body's sphere of influence. */
|
|
119
1059
|
TransitionType[TransitionType["Escape"] = 3] = "Escape";
|
|
1060
|
+
/** The patch ends or begins at a planned maneuver node. */
|
|
120
1061
|
TransitionType[TransitionType["Maneuver"] = 4] = "Maneuver";
|
|
1062
|
+
/**
|
|
1063
|
+
* The trajectory meets the body's surface (KSP `IMPACT`), with or without an
|
|
1064
|
+
* atmosphere.
|
|
1065
|
+
*/
|
|
121
1066
|
TransitionType[TransitionType["Collision"] = 5] = "Collision";
|
|
1067
|
+
/** A transition this contract does not recognise. */
|
|
122
1068
|
TransitionType[TransitionType["Unknown"] = 6] = "Unknown";
|
|
123
1069
|
})(TransitionType || (TransitionType = {}));
|
|
1070
|
+
/**
|
|
1071
|
+
* The basis a planned burn's delta-v components are expressed in. Read this
|
|
1072
|
+
* before interpreting a burn vector: a basis this contract does not recognise
|
|
1073
|
+
* gives components that cannot be labelled.
|
|
1074
|
+
*
|
|
1075
|
+
* @category Orbits and trajectories
|
|
1076
|
+
*/
|
|
1077
|
+
export var ManeuverFrame;
|
|
1078
|
+
(function (ManeuverFrame) {
|
|
1079
|
+
/**
|
|
1080
|
+
* KSP's own maneuver-node basis: radial-out, normal, prograde, taken against
|
|
1081
|
+
* the patch the node sits on at its own UT.
|
|
1082
|
+
*/
|
|
1083
|
+
ManeuverFrame[ManeuverFrame["RadialNormalPrograde"] = 0] = "RadialNormalPrograde";
|
|
1084
|
+
/** A frame this contract does not recognise. */
|
|
1085
|
+
ManeuverFrame[ManeuverFrame["Unknown"] = 1] = "Unknown";
|
|
1086
|
+
})(ManeuverFrame || (ManeuverFrame = {}));
|
|
1087
|
+
/**
|
|
1088
|
+
* How far an element set may be carried forward.
|
|
1089
|
+
*
|
|
1090
|
+
* `PropagationHorizonKind.Unspecified` is 0, so a producer that does not set
|
|
1091
|
+
* the horizon gets the refusing value rather than the permissive one.
|
|
1092
|
+
*
|
|
1093
|
+
* `PropagationHorizonKind.Unbounded` is a claim, made by a provider that
|
|
1094
|
+
* genuinely has no limit (an analytic two-body solver). It is its own value
|
|
1095
|
+
* rather than an infinite `PropagationHorizon.untilUt`, so "forever" never has
|
|
1096
|
+
* to be recognised as an extreme number.
|
|
1097
|
+
*
|
|
1098
|
+
* @category Orbits and trajectories
|
|
1099
|
+
*/
|
|
1100
|
+
export var PropagationHorizonKind;
|
|
1101
|
+
(function (PropagationHorizonKind) {
|
|
1102
|
+
/** No provider stated one. Treat as unpropagatable. */
|
|
1103
|
+
PropagationHorizonKind[PropagationHorizonKind["Unspecified"] = 0] = "Unspecified";
|
|
1104
|
+
/** Authoritative for all future UT: an analytic solver with no horizon. */
|
|
1105
|
+
PropagationHorizonKind[PropagationHorizonKind["Unbounded"] = 1] = "Unbounded";
|
|
1106
|
+
/** Authoritative until `PropagationHorizon.untilUt`. */
|
|
1107
|
+
PropagationHorizonKind[PropagationHorizonKind["Until"] = 2] = "Until";
|
|
1108
|
+
})(PropagationHorizonKind || (PropagationHorizonKind = {}));
|
|
1109
|
+
/**
|
|
1110
|
+
* What kind of thing an element set describes: a closed-form conic, or a
|
|
1111
|
+
* snapshot of an integrated path.
|
|
1112
|
+
*
|
|
1113
|
+
* `TrajectoryKind.Unspecified` is 0 for the same reason as
|
|
1114
|
+
* `PropagationHorizonKind.Unspecified`: a producer that does not set the field
|
|
1115
|
+
* gets the value that withholds rather than the one that permits.
|
|
1116
|
+
*
|
|
1117
|
+
* @category Orbits and trajectories
|
|
1118
|
+
*/
|
|
1119
|
+
export var TrajectoryKind;
|
|
1120
|
+
(function (TrajectoryKind) {
|
|
1121
|
+
/** No provider stated one. Treat the shape as unknown. */
|
|
1122
|
+
TrajectoryKind[TrajectoryKind["Unspecified"] = 0] = "Unspecified";
|
|
1123
|
+
/**
|
|
1124
|
+
* A closed-form conic. The orbit is that conic, so a conic renderer is exactly
|
|
1125
|
+
* right and stays right for as long as the horizon allows.
|
|
1126
|
+
*/
|
|
1127
|
+
TrajectoryKind[TrajectoryKind["Analytic"] = 1] = "Analytic";
|
|
1128
|
+
/**
|
|
1129
|
+
* A numerically integrated path. The osculating conic on the wire is a
|
|
1130
|
+
* snapshot of it, true at the sample instant and never the path itself, so a
|
|
1131
|
+
* client that draws a closed ellipse from it is drawing something the craft
|
|
1132
|
+
* will not fly.
|
|
1133
|
+
*/
|
|
1134
|
+
TrajectoryKind[TrajectoryKind["Integrated"] = 2] = "Integrated";
|
|
1135
|
+
})(TrajectoryKind || (TrajectoryKind = {}));
|
|
1136
|
+
/**
|
|
1137
|
+
* The active vessel's physics-simulation regime, derived from KSP's own
|
|
1138
|
+
* `Vessel.loaded` and `Vessel.packed` flags. It is a discrete enum in its own
|
|
1139
|
+
* right, not a quality band on `OrbitPayloadMeta.quality`. A widget that
|
|
1140
|
+
* switches propagation or dead-reckoning strategy reads it to know whether the
|
|
1141
|
+
* craft is on-rails conics, a packed cluster, or a fully physics-simulated
|
|
1142
|
+
* vessel.
|
|
1143
|
+
*
|
|
1144
|
+
* Mapping:
|
|
1145
|
+
*
|
|
1146
|
+
* - `!loaded` ⇒ `PhysicsMode.OnRails`: the vessel is unloaded, its motion is
|
|
1147
|
+
* pure on-rails conic propagation, no PhysX at all.
|
|
1148
|
+
* - `loaded && packed` ⇒ `PhysicsMode.Packed`: loaded into the scene but still
|
|
1149
|
+
* packed (rails-following near the active vessel, not yet unpacked into full
|
|
1150
|
+
* physics).
|
|
1151
|
+
* - `loaded && !packed` ⇒ `PhysicsMode.Unpacked`: fully physics-simulated
|
|
1152
|
+
* (off-rails).
|
|
1153
|
+
*
|
|
1154
|
+
* `PhysicsMode.Unknown` covers a raw value this contract does not recognise
|
|
1155
|
+
* (same convention as `SasMode` and `VesselType`).
|
|
1156
|
+
*
|
|
1157
|
+
* @category Vessel
|
|
1158
|
+
*/
|
|
124
1159
|
export var PhysicsMode;
|
|
125
1160
|
(function (PhysicsMode) {
|
|
1161
|
+
/** Not loaded: pure on-rails conic propagation, no physics simulation. */
|
|
126
1162
|
PhysicsMode[PhysicsMode["OnRails"] = 0] = "OnRails";
|
|
1163
|
+
/**
|
|
1164
|
+
* Loaded into the scene but still packed, following rails near the active
|
|
1165
|
+
* vessel.
|
|
1166
|
+
*/
|
|
127
1167
|
PhysicsMode[PhysicsMode["Packed"] = 1] = "Packed";
|
|
1168
|
+
/** Loaded and unpacked: fully physics-simulated, off rails. */
|
|
128
1169
|
PhysicsMode[PhysicsMode["Unpacked"] = 2] = "Unpacked";
|
|
1170
|
+
/** A raw value this contract does not recognise. */
|
|
129
1171
|
PhysicsMode[PhysicsMode["Unknown"] = 3] = "Unknown";
|
|
130
1172
|
})(PhysicsMode || (PhysicsMode = {}));
|
|
1173
|
+
/**
|
|
1174
|
+
* Coarse classification of what `vessel.target` points at: a vessel, a
|
|
1175
|
+
* celestial body, a part of a vessel (a docking port), or `TargetKind.Other`
|
|
1176
|
+
* for anything not classified more finely (a waypoint, for instance). A more
|
|
1177
|
+
* specific kind may be added later; treat an unrecognised value as
|
|
1178
|
+
* `TargetKind.Other`.
|
|
1179
|
+
*
|
|
1180
|
+
* Member order is wire-significant, so members are only ever appended.
|
|
1181
|
+
*
|
|
1182
|
+
* `TargetKind.Position` is used only as an input to `vessel.target.set` (see
|
|
1183
|
+
* `SetTargetArgs.latitude` and `SetTargetArgs.longitude`): a map-picked
|
|
1184
|
+
* latitude and longitude that no live KSP target object backs, so it never
|
|
1185
|
+
* appears as `vessel.target`'s own reported `VesselTarget.kind`.
|
|
1186
|
+
*
|
|
1187
|
+
* @category Orbits and trajectories
|
|
1188
|
+
*/
|
|
131
1189
|
export var TargetKind;
|
|
132
1190
|
(function (TargetKind) {
|
|
1191
|
+
/** A vessel. `VesselTarget.vesselId` carries its guid. */
|
|
133
1192
|
TargetKind[TargetKind["Vessel"] = 0] = "Vessel";
|
|
1193
|
+
/**
|
|
1194
|
+
* A celestial body. `VesselTarget.bodyIndex` carries its `system.bodies`
|
|
1195
|
+
* index.
|
|
1196
|
+
*/
|
|
134
1197
|
TargetKind[TargetKind["Body"] = 1] = "Body";
|
|
1198
|
+
/** Anything not classified more finely, such as a waypoint. Carries no id. */
|
|
135
1199
|
TargetKind[TargetKind["Other"] = 2] = "Other";
|
|
1200
|
+
/**
|
|
1201
|
+
* A surface latitude and longitude, used only as a `vessel.target.set` input
|
|
1202
|
+
* and never reported.
|
|
1203
|
+
*/
|
|
1204
|
+
TargetKind[TargetKind["Position"] = 3] = "Position";
|
|
1205
|
+
/**
|
|
1206
|
+
* A part of a vessel: in practice a docking port (`ModuleDockingNode`, which
|
|
1207
|
+
* implements `ITargetable`). Identity is the owning vessel's
|
|
1208
|
+
* `VesselTarget.vesselId` guid plus the part's `VesselTarget.partId` (KSP
|
|
1209
|
+
* `Part.flightID`): a part id alone is not globally unique, only within its
|
|
1210
|
+
* vessel.
|
|
1211
|
+
*/
|
|
1212
|
+
TargetKind[TargetKind["Part"] = 4] = "Part";
|
|
136
1213
|
})(TargetKind || (TargetKind = {}));
|
|
1214
|
+
/**
|
|
1215
|
+
* KSP's time-warp mode, mirroring its `TimeWarp.Modes` enum, which has only
|
|
1216
|
+
* `HIGH` and `LOW`. `WarpMode.Unknown` covers a raw value KSP reports that
|
|
1217
|
+
* neither matches.
|
|
1218
|
+
*
|
|
1219
|
+
* @category Game
|
|
1220
|
+
*/
|
|
137
1221
|
export var WarpMode;
|
|
138
1222
|
(function (WarpMode) {
|
|
1223
|
+
/** On-rails time warp (KSP's `HIGH` mode). */
|
|
139
1224
|
WarpMode[WarpMode["High"] = 0] = "High";
|
|
1225
|
+
/** Physics warp (KSP's `LOW` mode). */
|
|
140
1226
|
WarpMode[WarpMode["Low"] = 1] = "Low";
|
|
1227
|
+
/** KSP reported a mode this contract does not know. */
|
|
141
1228
|
WarpMode[WarpMode["Unknown"] = 2] = "Unknown";
|
|
142
1229
|
})(WarpMode || (WarpMode = {}));
|
|
1230
|
+
/**
|
|
1231
|
+
* Whether a caller accepts a result past the span the provider vouches for. It
|
|
1232
|
+
* chooses certification, not which model runs: both values get the same model
|
|
1233
|
+
* from the same provider.
|
|
1234
|
+
*
|
|
1235
|
+
* `PropagationCertification.Unspecified` is zero and means nothing was chosen,
|
|
1236
|
+
* so a default value never grants the permissive setting.
|
|
1237
|
+
*
|
|
1238
|
+
* @category Orbits and trajectories
|
|
1239
|
+
*/
|
|
1240
|
+
export var PropagationCertification;
|
|
1241
|
+
(function (PropagationCertification) {
|
|
1242
|
+
/**
|
|
1243
|
+
* Nothing was chosen. A request carrying this is refused rather than given a
|
|
1244
|
+
* default.
|
|
1245
|
+
*/
|
|
1246
|
+
PropagationCertification[PropagationCertification["Unspecified"] = 0] = "Unspecified";
|
|
1247
|
+
/**
|
|
1248
|
+
* Return a result wherever the solver can reach, past any horizon. For a
|
|
1249
|
+
* planning search, such as a transfer grid, which asks a two-body question
|
|
1250
|
+
* about future instants on purpose.
|
|
1251
|
+
*/
|
|
1252
|
+
PropagationCertification[PropagationCertification["Unbounded"] = 1] = "Unbounded";
|
|
1253
|
+
/**
|
|
1254
|
+
* Return results only across spans the provider vouches for, and decline past
|
|
1255
|
+
* them. For an operational prediction, such as when a link will be reacquired,
|
|
1256
|
+
* where a time read off an unvouched arc would look certain without being so.
|
|
1257
|
+
*/
|
|
1258
|
+
PropagationCertification[PropagationCertification["CertifiedOnly"] = 2] = "CertifiedOnly";
|
|
1259
|
+
})(PropagationCertification || (PropagationCertification = {}));
|
|
1260
|
+
/**
|
|
1261
|
+
* The kinds of reference frame a control frame can be: the five frame types an
|
|
1262
|
+
* n-body physics mod offers, plus `ControlFrameKind.Unspecified`.
|
|
1263
|
+
*
|
|
1264
|
+
* This is a superset of the frames a widget can draw in, which cover three of
|
|
1265
|
+
* these. A control frame outside that subset is a real state, not an error: a
|
|
1266
|
+
* widget set to follow the control frame then resolves to nothing.
|
|
1267
|
+
*
|
|
1268
|
+
* @category Vessel
|
|
1269
|
+
*/
|
|
1270
|
+
export var ControlFrameKind;
|
|
1271
|
+
(function (ControlFrameKind) {
|
|
1272
|
+
/**
|
|
1273
|
+
* No kind was stated, including for the target frame (see
|
|
1274
|
+
* `ControlFrame.targetFrameSelected`).
|
|
1275
|
+
*/
|
|
1276
|
+
ControlFrameKind[ControlFrameKind["Unspecified"] = 0] = "Unspecified";
|
|
1277
|
+
/** Centred on a body, axes fixed against the stars. */
|
|
1278
|
+
ControlFrameKind[ControlFrameKind["BodyCentredInertial"] = 1] = "BodyCentredInertial";
|
|
1279
|
+
/**
|
|
1280
|
+
* Centred on a body, one axis held towards another body: the frame a widget's
|
|
1281
|
+
* read frame calls "parent direction".
|
|
1282
|
+
*/
|
|
1283
|
+
ControlFrameKind[ControlFrameKind["BodyCentredBodyDirection"] = 2] = "BodyCentredBodyDirection";
|
|
1284
|
+
/** Turning with the barycentre of two bodies. */
|
|
1285
|
+
ControlFrameKind[ControlFrameKind["BarycentricRotating"] = 3] = "BarycentricRotating";
|
|
1286
|
+
/**
|
|
1287
|
+
* Turning with a pair of bodies and holding the separation of their two mass
|
|
1288
|
+
* centres fixed, so a transfer between them draws the same shape whatever
|
|
1289
|
+
* their current distance.
|
|
1290
|
+
*/
|
|
1291
|
+
ControlFrameKind[ControlFrameKind["RotatingPulsating"] = 4] = "RotatingPulsating";
|
|
1292
|
+
/** Centred on a body and turning with its surface. */
|
|
1293
|
+
ControlFrameKind[ControlFrameKind["BodySurface"] = 5] = "BodySurface";
|
|
1294
|
+
})(ControlFrameKind || (ControlFrameKind = {}));
|
|
143
1295
|
//# sourceMappingURL=contract.js.map
|