@orangecharts/wrun-chart-host 0.3.0 β 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -6
- package/dist/constants/exchange-names.leaf.d.ts +8 -0
- package/dist/constants/exchange-names.leaf.js +101 -0
- package/dist/constants/kscript-data-interval-restrictions.constants.d.ts +15 -0
- package/dist/constants/kscript-data-interval-restrictions.constants.js +40 -0
- package/dist/constants/opra-compliance.constants.d.ts +19 -0
- package/dist/constants/opra-compliance.constants.js +19 -0
- package/dist/constants/replay-ladder.leaf.d.ts +30 -0
- package/dist/constants/replay-ladder.leaf.js +99 -0
- package/dist/constants/scriptEditor/builtin-script-snippets.d.ts +133 -0
- package/dist/constants/scriptEditor/builtin-script-snippets.js +451 -0
- package/dist/constants/scriptEditor/cme-official-scripts.constants.d.ts +168 -0
- package/dist/constants/scriptEditor/cme-official-scripts.constants.js +398 -0
- package/dist/constants/scriptEditor/converted-script-id.leaf.d.ts +8 -0
- package/dist/constants/scriptEditor/converted-script-id.leaf.js +10 -0
- package/dist/constants/scriptEditor/execution.constants.d.ts +4 -0
- package/dist/constants/scriptEditor/execution.constants.js +14 -0
- package/dist/constants/wrun-prefix-safe.constants.d.ts +23 -0
- package/dist/constants/wrun-prefix-safe.constants.js +26 -0
- package/dist/host-env.d.ts +321 -24
- package/dist/host-env.js +15 -0
- package/dist/host-ports.types.d.ts +857 -35
- package/dist/index.d.ts +149 -2
- package/dist/index.js +149 -2
- package/dist/instances/script-engine-worker-ohlcv-transfer.d.ts +31 -0
- package/dist/instances/script-engine-worker-ohlcv-transfer.js +164 -0
- package/dist/interfaces/market-event.interface.d.ts +231 -0
- package/dist/interfaces/market-event.interface.js +15 -0
- package/dist/interfaces/opra-realtime.interface.d.ts +70 -134
- package/dist/interfaces/opra-realtime.interface.js +34 -59
- package/dist/interfaces/replay.interface.d.ts +285 -0
- package/dist/interfaces/replay.interface.js +1 -0
- package/dist/kscript-data/controls/live-ohlcv-merge.util.d.ts +1 -0
- package/dist/kscript-data/controls/live-ohlcv-merge.util.js +93 -0
- package/dist/kscript-data/controls/live-trades-merge.util.d.ts +5 -1
- package/dist/kscript-data/controls/live-trades-merge.util.js +2 -2
- package/dist/market-data/billing.interface.d.ts +219 -0
- package/dist/market-data/billing.interface.js +58 -0
- package/dist/market-data/venue-governed.util.d.ts +2 -0
- package/dist/market-data/venue-governed.util.js +10 -0
- package/dist/market-data/venue.d.ts +122 -0
- package/dist/market-data/venue.js +1 -0
- package/dist/market-data/venues/index.d.ts +97 -0
- package/dist/market-data/venues/index.js +33 -0
- package/dist/market-data/venues/opra.contract.copy.json +35 -0
- package/dist/market-data/venues/opra.d.ts +70 -0
- package/dist/market-data/venues/opra.js +74 -0
- package/dist/replay/replayIndicatorRows.d.ts +31 -0
- package/dist/replay/replayIndicatorRows.js +117 -0
- package/dist/replay/replayLadder.d.ts +85 -0
- package/dist/replay/replayLadder.js +388 -0
- package/dist/utility/auth/server-clock.util.d.ts +81 -0
- package/dist/utility/auth/server-clock.util.js +238 -0
- package/dist/utility/chart/builtin-identity.util.d.ts +18 -0
- package/dist/utility/chart/builtin-identity.util.js +51 -0
- package/dist/utility/chart/cache-alignment.util.d.ts +454 -0
- package/dist/utility/chart/cache-alignment.util.js +926 -0
- package/dist/utility/chart/chart-data-fetch-generation.util.d.ts +15 -0
- package/dist/utility/chart/chart-data-fetch-generation.util.js +22 -0
- package/dist/utility/chart/chart-mount-epoch.util.d.ts +5 -0
- package/dist/utility/chart/chart-mount-epoch.util.js +29 -0
- package/dist/utility/chart/chart-time-domain.util.d.ts +12 -0
- package/dist/utility/chart/chart-time-domain.util.js +23 -0
- package/dist/utility/chart/color-customization.leaf.d.ts +10 -0
- package/dist/utility/chart/color-customization.leaf.js +16 -0
- package/dist/utility/chart/date-labelled-interval.leaf.d.ts +15 -0
- package/dist/utility/chart/date-labelled-interval.leaf.js +19 -0
- package/dist/utility/chart/footprint-tick-grid.util.d.ts +106 -0
- package/dist/utility/chart/footprint-tick-grid.util.js +167 -0
- package/dist/utility/chart/gesture-timing.leaf.d.ts +29 -0
- package/dist/utility/chart/gesture-timing.leaf.js +29 -0
- package/dist/utility/chart/governed-contract-coin.util.d.ts +22 -0
- package/dist/utility/chart/governed-contract-coin.util.js +39 -0
- package/dist/utility/chart/host-bar-placement.util.d.ts +107 -0
- package/dist/utility/chart/host-bar-placement.util.js +447 -0
- package/dist/utility/chart/index-host-tier.util.d.ts +31 -0
- package/dist/utility/chart/index-host-tier.util.js +118 -0
- package/dist/utility/chart/index-mode-admission.util.d.ts +34 -0
- package/dist/utility/chart/index-mode-admission.util.js +67 -0
- package/dist/utility/chart/indicator-error-message.util.d.ts +35 -0
- package/dist/utility/chart/indicator-error-message.util.js +44 -0
- package/dist/utility/chart/indicator-run-interval.util.d.ts +130 -0
- package/dist/utility/chart/indicator-run-interval.util.js +268 -0
- package/dist/utility/chart/kscript-apply-fingerprint.util.d.ts +65 -0
- package/dist/utility/chart/kscript-apply-fingerprint.util.js +357 -0
- package/dist/utility/chart/kscript-chart-flush.leaf.d.ts +22 -0
- package/dist/utility/chart/kscript-chart-flush.leaf.js +13 -0
- package/dist/utility/chart/kscript-data-interval-restriction.leaf.d.ts +6 -0
- package/dist/utility/chart/kscript-data-interval-restriction.leaf.js +27 -0
- package/dist/utility/chart/kscript-integration-decision.leaf.d.ts +89 -0
- package/dist/utility/chart/kscript-integration-decision.leaf.js +80 -0
- package/dist/utility/chart/kscript-live-coalesce.util.d.ts +76 -0
- package/dist/utility/chart/kscript-live-coalesce.util.js +156 -0
- package/dist/utility/chart/kscript-live-rest-pace.util.d.ts +34 -0
- package/dist/utility/chart/kscript-live-rest-pace.util.js +134 -0
- package/dist/utility/chart/kscript-live-source-identity.util.d.ts +98 -0
- package/dist/utility/chart/kscript-live-source-identity.util.js +121 -0
- package/dist/utility/chart/kscript-mounted-plot-set.leaf.d.ts +48 -0
- package/dist/utility/chart/kscript-mounted-plot-set.leaf.js +145 -0
- package/dist/utility/chart/kscript-perf-tracker.util.d.ts +243 -0
- package/dist/utility/chart/kscript-perf-tracker.util.js +522 -0
- package/dist/utility/chart/kscript-run-interval-projection.util.d.ts +43 -0
- package/dist/utility/chart/kscript-run-interval-projection.util.js +471 -0
- package/dist/utility/chart/kscript-run-result-equality.util.d.ts +38 -0
- package/dist/utility/chart/kscript-run-result-equality.util.js +89 -0
- package/dist/utility/chart/kscript-settings-revision.leaf.d.ts +2 -0
- package/dist/utility/chart/kscript-settings-revision.leaf.js +12 -0
- package/dist/utility/chart/kscript-source-degrade.leaf.d.ts +63 -0
- package/dist/utility/chart/kscript-source-degrade.leaf.js +68 -0
- package/dist/utility/chart/kscript-source-retention.util.d.ts +134 -0
- package/dist/utility/chart/kscript-source-retention.util.js +218 -0
- package/dist/utility/chart/kscript-standin-identity.leaf.d.ts +57 -0
- package/dist/utility/chart/kscript-standin-identity.leaf.js +61 -0
- package/dist/utility/chart/kscript-titancharts-preparation.util.d.ts +15 -0
- package/dist/utility/chart/kscript-titancharts-preparation.util.js +376 -0
- package/dist/utility/chart/kscript-titancharts-render-keys.constants.d.ts +9 -0
- package/dist/utility/chart/kscript-titancharts-render-keys.constants.js +130 -0
- package/dist/utility/chart/kscript-venue-policy.util.d.ts +217 -0
- package/dist/utility/chart/kscript-venue-policy.util.js +324 -0
- package/dist/utility/chart/live-cadence.util.d.ts +38 -0
- package/dist/utility/chart/live-cadence.util.js +37 -0
- package/dist/utility/chart/live-feed-series-match.leaf.d.ts +13 -0
- package/dist/utility/chart/live-feed-series-match.leaf.js +21 -0
- package/dist/utility/chart/local-engine-self-heal-backoff.util.d.ts +46 -0
- package/dist/utility/chart/local-engine-self-heal-backoff.util.js +46 -0
- package/dist/utility/chart/local-engine-uninit.leaf.d.ts +21 -0
- package/dist/utility/chart/local-engine-uninit.leaf.js +22 -0
- package/dist/utility/chart/local-kscript-source-revalidation.util.d.ts +62 -0
- package/dist/utility/chart/local-kscript-source-revalidation.util.js +123 -0
- package/dist/utility/chart/local-kscript-warmup-depth.util.d.ts +214 -0
- package/dist/utility/chart/local-kscript-warmup-depth.util.js +376 -0
- package/dist/utility/chart/local-technical-script-live-apply-coalescer.util.d.ts +85 -0
- package/dist/utility/chart/local-technical-script-live-apply-coalescer.util.js +197 -0
- package/dist/utility/chart/local-technical-script-range.leaf.d.ts +72 -0
- package/dist/utility/chart/local-technical-script-range.leaf.js +126 -0
- package/dist/utility/chart/mixed-mode.util.d.ts +167 -0
- package/dist/utility/chart/mixed-mode.util.js +139 -0
- package/dist/utility/chart/ohlcv-row-readiness.util.d.ts +36 -0
- package/dist/utility/chart/ohlcv-row-readiness.util.js +90 -0
- package/dist/utility/chart/opra-user-scripts-gate.util.d.ts +19 -0
- package/dist/utility/chart/opra-user-scripts-gate.util.js +32 -0
- package/dist/utility/chart/overlay-execution-guard-key.leaf.d.ts +8 -0
- package/dist/utility/chart/overlay-execution-guard-key.leaf.js +10 -0
- package/dist/utility/chart/price-precision.util.d.ts +40 -0
- package/dist/utility/chart/price-precision.util.js +70 -0
- package/dist/utility/chart/profile-block-size.util.d.ts +64 -0
- package/dist/utility/chart/profile-block-size.util.js +141 -0
- package/dist/utility/chart/protected-kscript-degenerate-rows.leaf.d.ts +11 -0
- package/dist/utility/chart/protected-kscript-degenerate-rows.leaf.js +29 -0
- package/dist/utility/chart/protected-kscript-empty-output.util.d.ts +28 -0
- package/dist/utility/chart/protected-kscript-empty-output.util.js +84 -0
- package/dist/utility/chart/run-interval-unservable.leaf.d.ts +9 -0
- package/dist/utility/chart/run-interval-unservable.leaf.js +20 -0
- package/dist/utility/chart/run-interval-warmup.leaf.d.ts +19 -0
- package/dist/utility/chart/run-interval-warmup.leaf.js +35 -0
- package/dist/utility/chart/titan-constants.pin.d.ts +9 -5
- package/dist/utility/chart/titan-constants.pin.js +18 -5
- package/dist/utility/chart/warmup-backfill-retry.leaf.d.ts +9 -0
- package/dist/utility/chart/warmup-backfill-retry.leaf.js +9 -0
- package/dist/utility/chart/window-geometry.leaf.d.ts +119 -0
- package/dist/utility/chart/window-geometry.leaf.js +391 -0
- package/dist/utility/chart/window-owner.leaf.d.ts +19 -0
- package/dist/utility/chart/window-owner.leaf.js +24 -0
- package/dist/utility/chart/wrun-bar-session-facts.util.d.ts +11 -2
- package/dist/utility/chart/wrun-bar-session-facts.util.js +10 -3
- package/dist/utility/chart/wrun-run-result.util.d.ts +5 -1
- package/dist/utility/chart/wrun-run-result.util.js +20 -14
- package/dist/utility/common/data-processing.util.d.ts +138 -0
- package/dist/utility/common/data-processing.util.js +346 -0
- package/dist/utility/common/visible-timeout.util.d.ts +13 -4
- package/dist/utility/common/visible-timeout.util.js +23 -8
- package/dist/utility/exchange-format.leaf.d.ts +1 -0
- package/dist/utility/exchange-format.leaf.js +47 -0
- package/dist/utility/html-escape.leaf.d.ts +11 -0
- package/dist/utility/html-escape.leaf.js +20 -0
- package/dist/utility/market-events/earnings-scope.util.d.ts +60 -0
- package/dist/utility/market-events/earnings-scope.util.js +92 -0
- package/dist/utility/market-events/market-events.util.d.ts +147 -0
- package/dist/utility/market-events/market-events.util.js +392 -0
- package/dist/utility/market-events/zoned-clock.util.d.ts +1 -0
- package/dist/utility/market-events/zoned-clock.util.js +11 -0
- package/dist/utility/options/option-venue-disclosure.util.d.ts +43 -0
- package/dist/utility/options/option-venue-disclosure.util.js +56 -0
- package/dist/utility/scriptEditor/package-semver.util.d.ts +51 -0
- package/dist/utility/scriptEditor/package-semver.util.js +120 -0
- package/dist/utility/scriptEditor/temp-script-id.util.d.ts +18 -0
- package/dist/utility/scriptEditor/temp-script-id.util.js +25 -0
- package/dist/utility/symbol-selection/markets-request-from-symbols.leaf.d.ts +20 -0
- package/dist/utility/symbol-selection/markets-request-from-symbols.leaf.js +81 -0
- package/dist/utility/v2/governed-tier.leaf.d.ts +103 -0
- package/dist/utility/v2/governed-tier.leaf.js +113 -0
- package/dist/utility/watchlist/import/import-request.leaf.d.ts +10 -0
- package/dist/utility/watchlist/import/import-request.leaf.js +10 -0
- package/dist/utility/wrun/sources/lanes/option_daily.d.ts +43 -15
- package/dist/utility/wrun/sources/lanes/option_daily.js +78 -20
- package/dist/utility/wrun/sources/lanes/option_stats_10m.d.ts +14 -10
- package/dist/utility/wrun/sources/lanes/option_stats_10m.js +5 -4
- package/dist/utility/wrun/sources/lanes/series.js +2 -2
- package/dist/utility/wrun/sources/opra-option-lanes.util.d.ts +22 -3
- package/dist/utility/wrun/sources/opra-option-lanes.util.js +38 -7
- package/dist/utility/wrun/sources/registry.js +31 -1
- package/dist/utility/wrun/sources/row-lane-registry.js +5 -5
- package/dist/utility/wrun/sources/row-lanes/option_contract_state.d.ts +49 -0
- package/dist/utility/wrun/sources/row-lanes/option_contract_state.js +75 -20
- package/dist/utility/wrun/sources/row-lanes/option_strikes.d.ts +49 -0
- package/dist/utility/wrun/sources/row-lanes/option_strikes.js +57 -47
- package/dist/utility/wrun/sources/row-lanes/option_surface.d.ts +36 -4
- package/dist/utility/wrun/sources/row-lanes/option_surface.js +6 -12
- package/dist/utility/wrun/sources/wrun-poll-lane.types.d.ts +37 -3
- package/dist/utility/wrun/sources/wrun-poll-lanes.util.d.ts +128 -2
- package/dist/utility/wrun/sources/wrun-poll-lanes.util.js +233 -51
- package/dist/utility/wrun/sources/wrun-row-lane.types.d.ts +0 -8
- package/dist/utility/wrun/sources/wrun-row-lanes.util.d.ts +26 -24
- package/dist/utility/wrun/sources/wrun-row-lanes.util.js +85 -104
- package/dist/utility/wrun/wrun-alert-outputs.registry.d.ts +166 -0
- package/dist/utility/wrun/wrun-alert-outputs.registry.js +219 -0
- package/dist/utility/wrun/wrun-bar-count.util.d.ts +83 -0
- package/dist/utility/wrun/wrun-bar-count.util.js +259 -0
- package/dist/utility/wrun/wrun-chart-context-names.util.d.ts +84 -0
- package/dist/utility/wrun/wrun-chart-context-names.util.js +186 -0
- package/dist/utility/wrun/wrun-chart-market-facts.util.d.ts +253 -0
- package/dist/utility/wrun/wrun-chart-market-facts.util.js +731 -0
- package/dist/utility/wrun/wrun-cloud-opra-stamp.util.d.ts +28 -0
- package/dist/utility/wrun/wrun-cloud-opra-stamp.util.js +45 -0
- package/dist/utility/wrun/wrun-coin-lane-live.util.d.ts +18 -0
- package/dist/utility/wrun/wrun-coin-lane-live.util.js +47 -0
- package/dist/utility/wrun/wrun-deadline.util.js +2 -1
- package/dist/utility/wrun/wrun-debug-output.util.d.ts +39 -0
- package/dist/utility/wrun/wrun-debug-output.util.js +63 -0
- package/dist/utility/wrun/wrun-declared-warmup.util.d.ts +113 -0
- package/dist/utility/wrun/wrun-declared-warmup.util.js +181 -0
- package/dist/utility/wrun/wrun-draft-legend-note.util.d.ts +43 -0
- package/dist/utility/wrun/wrun-draft-legend-note.util.js +158 -0
- package/dist/utility/wrun/wrun-draft-overlay.util.d.ts +181 -0
- package/dist/utility/wrun/wrun-draft-overlay.util.js +357 -0
- package/dist/utility/wrun/wrun-draw-skipped.leaf.d.ts +16 -0
- package/dist/utility/wrun/wrun-draw-skipped.leaf.js +16 -0
- package/dist/utility/wrun/wrun-earnings-facts.util.d.ts +42 -0
- package/dist/utility/wrun/wrun-earnings-facts.util.js +131 -0
- package/dist/utility/wrun/wrun-first-run-depth.util.d.ts +32 -0
- package/dist/utility/wrun/wrun-first-run-depth.util.js +118 -0
- package/dist/utility/wrun/wrun-gate-plane-readers.util.d.ts +24 -0
- package/dist/utility/wrun/wrun-gate-plane-readers.util.js +31 -0
- package/dist/utility/wrun/wrun-held-lanes.util.d.ts +32 -0
- package/dist/utility/wrun/wrun-held-lanes.util.js +94 -0
- package/dist/utility/wrun/wrun-host-visible-clock.util.d.ts +2 -0
- package/dist/utility/wrun/wrun-host-visible-clock.util.js +17 -0
- package/dist/utility/wrun/wrun-host.service.d.ts +266 -0
- package/dist/utility/wrun/wrun-host.service.js +655 -0
- package/dist/utility/wrun/wrun-inert-legend.util.d.ts +33 -0
- package/dist/utility/wrun/wrun-inert-legend.util.js +125 -0
- package/dist/utility/wrun/wrun-input-requirements.leaf.d.ts +155 -0
- package/dist/utility/wrun/wrun-input-requirements.leaf.js +450 -0
- package/dist/utility/wrun/wrun-integration-route.util.d.ts +51 -0
- package/dist/utility/wrun/wrun-integration-route.util.js +59 -0
- package/dist/utility/wrun/wrun-latest-history.leaf.d.ts +8 -0
- package/dist/utility/wrun/wrun-latest-history.leaf.js +8 -0
- package/dist/utility/wrun/wrun-legend-hover.lazy.d.ts +12 -0
- package/dist/utility/wrun/wrun-legend-hover.lazy.js +96 -0
- package/dist/utility/wrun/wrun-lifecycle-runtime.util.d.ts +21 -0
- package/dist/utility/wrun/wrun-lifecycle-runtime.util.js +21 -0
- package/dist/utility/wrun/wrun-live-hidden-hold.util.d.ts +23 -0
- package/dist/utility/wrun/wrun-live-hidden-hold.util.js +13 -0
- package/dist/utility/wrun/wrun-live-intake.util.d.ts +374 -0
- package/dist/utility/wrun/wrun-live-intake.util.js +2027 -0
- package/dist/utility/wrun/wrun-live-patch.util.d.ts +116 -0
- package/dist/utility/wrun/wrun-live-patch.util.js +523 -0
- package/dist/utility/wrun/wrun-live-tick.util.d.ts +619 -0
- package/dist/utility/wrun/wrun-live-tick.util.js +4974 -0
- package/dist/utility/wrun/wrun-loading-owner.util.d.ts +58 -0
- package/dist/utility/wrun/wrun-loading-owner.util.js +89 -0
- package/dist/utility/wrun/wrun-official-scope.leaf.d.ts +29 -0
- package/dist/utility/wrun/wrun-official-scope.leaf.js +36 -0
- package/dist/utility/wrun/wrun-oi-lane.util.d.ts +27 -0
- package/dist/utility/wrun/wrun-oi-lane.util.js +42 -0
- package/dist/utility/wrun/wrun-opra-stats.leaf.d.ts +29 -10
- package/dist/utility/wrun/wrun-opra-stats.leaf.js +29 -10
- package/dist/utility/wrun/wrun-options-stop.util.d.ts +52 -0
- package/dist/utility/wrun/wrun-options-stop.util.js +123 -0
- package/dist/utility/wrun/wrun-overlay-drivers.util.d.ts +719 -0
- package/dist/utility/wrun/wrun-overlay-drivers.util.js +1180 -0
- package/dist/utility/wrun/wrun-overlay-lifecycle.lazy.d.ts +50 -0
- package/dist/utility/wrun/wrun-overlay-lifecycle.lazy.js +131 -0
- package/dist/utility/wrun/wrun-overlay-lifecycle.util.d.ts +118 -0
- package/dist/utility/wrun/wrun-overlay-lifecycle.util.js +466 -0
- package/dist/utility/wrun/wrun-overlay-metadata.util.d.ts +45 -0
- package/dist/utility/wrun/wrun-overlay-metadata.util.js +112 -0
- package/dist/utility/wrun/wrun-overlay-recovery.util.d.ts +114 -0
- package/dist/utility/wrun/wrun-overlay-recovery.util.js +971 -0
- package/dist/utility/wrun/wrun-overlay-run.util.d.ts +858 -0
- package/dist/utility/wrun/wrun-overlay-run.util.js +11013 -0
- package/dist/utility/wrun/wrun-panel-mount.lazy.d.ts +10 -0
- package/dist/utility/wrun/wrun-panel-mount.lazy.js +68 -0
- package/dist/utility/wrun/wrun-panel-mount.util.d.ts +392 -0
- package/dist/utility/wrun/wrun-panel-mount.util.js +2346 -0
- package/dist/utility/wrun/wrun-param-map.util.d.ts +19 -4
- package/dist/utility/wrun/wrun-param-map.util.js +40 -47
- package/dist/utility/wrun/wrun-param-values.util.d.ts +9 -3
- package/dist/utility/wrun/wrun-param-values.util.js +5 -5
- package/dist/utility/wrun/wrun-pause-dim.util.d.ts +52 -0
- package/dist/utility/wrun/wrun-pause-dim.util.js +153 -0
- package/dist/utility/wrun/wrun-plot-gate.types.d.ts +23 -0
- package/dist/utility/wrun/wrun-plot-gate.types.js +7 -0
- package/dist/utility/wrun/wrun-prefix-cohort.util.d.ts +93 -0
- package/dist/utility/wrun/wrun-prefix-cohort.util.js +484 -0
- package/dist/utility/wrun/wrun-prefix-lanes.util.d.ts +114 -0
- package/dist/utility/wrun/wrun-prefix-lanes.util.js +486 -0
- package/dist/utility/wrun/wrun-prefix-proof.util.d.ts +317 -0
- package/dist/utility/wrun/wrun-prefix-proof.util.js +630 -0
- package/dist/utility/wrun/wrun-refusal-surface.util.d.ts +73 -0
- package/dist/utility/wrun/wrun-refusal-surface.util.js +380 -0
- package/dist/utility/wrun/wrun-refusal-text.util.d.ts +15 -0
- package/dist/utility/wrun/wrun-refusal-text.util.js +40 -0
- package/dist/utility/wrun/wrun-replay-lane.util.d.ts +139 -0
- package/dist/utility/wrun/wrun-replay-lane.util.js +520 -0
- package/dist/utility/wrun/wrun-replay-rows.util.d.ts +21 -0
- package/dist/utility/wrun/wrun-replay-rows.util.js +172 -0
- package/dist/utility/wrun/wrun-row-source-factory.d.ts +53 -0
- package/dist/utility/wrun/wrun-row-source-factory.js +435 -0
- package/dist/utility/wrun/wrun-run-cells.util.d.ts +36 -0
- package/dist/utility/wrun/wrun-run-cells.util.js +46 -0
- package/dist/utility/wrun/wrun-run-interval-projection.types.d.ts +14 -0
- package/dist/utility/wrun/wrun-run-interval-projection.types.js +1 -0
- package/dist/utility/wrun/wrun-run-interval-session.util.d.ts +133 -0
- package/dist/utility/wrun/wrun-run-interval-session.util.js +121 -0
- package/dist/utility/wrun/wrun-run-interval.util.d.ts +98 -0
- package/dist/utility/wrun/wrun-run-interval.util.js +207 -0
- package/dist/utility/wrun/wrun-run-retained.util.d.ts +122 -0
- package/dist/utility/wrun/wrun-run-retained.util.js +255 -0
- package/dist/utility/wrun/wrun-sandbox-row-source.d.ts +184 -0
- package/dist/utility/wrun/wrun-sandbox-row-source.js +444 -0
- package/dist/utility/wrun/wrun-script-inputs.util.js +4 -4
- package/dist/utility/wrun/wrun-series-stream.util.d.ts +86 -0
- package/dist/utility/wrun/wrun-series-stream.util.js +537 -0
- package/dist/utility/wrun/wrun-sheet-remembered.util.d.ts +21 -0
- package/dist/utility/wrun/wrun-sheet-remembered.util.js +36 -0
- package/dist/utility/wrun/wrun-signal-sound-reasons.leaf.d.ts +7 -0
- package/dist/utility/wrun/wrun-signal-sound-reasons.leaf.js +12 -0
- package/dist/utility/wrun/wrun-socket-row-source.js +4 -2
- package/dist/utility/wrun/wrun-source-rows.util.d.ts +175 -3
- package/dist/utility/wrun/wrun-source-rows.util.js +294 -8
- package/dist/utility/wrun/wrun-stats-strip.util.d.ts +46 -0
- package/dist/utility/wrun/wrun-stats-strip.util.js +87 -0
- package/dist/utility/wrun/wrun-table-chrome.util.d.ts +163 -0
- package/dist/utility/wrun/wrun-table-chrome.util.js +557 -0
- package/dist/utility/wrun/wrun-text-params.util.d.ts +11 -6
- package/dist/utility/wrun/wrun-text-params.util.js +19 -30
- package/dist/utility/wrun/wrun-transient-rerun.util.d.ts +64 -0
- package/dist/utility/wrun/wrun-transient-rerun.util.js +317 -0
- package/dist/utility/wrun/wrun-twin-lookback.util.d.ts +10 -0
- package/dist/utility/wrun/wrun-twin-lookback.util.js +43 -0
- package/dist/utility/wrun/wrun-warmup-head-store.util.d.ts +41 -0
- package/dist/utility/wrun/wrun-warmup-head-store.util.js +120 -0
- package/dist/utility/wrun-alert-params.leaf.d.ts +24 -0
- package/dist/utility/wrun-alert-params.leaf.js +24 -0
- package/dist/utils/replay/replay-buffer-math.d.ts +148 -0
- package/dist/utils/replay/replay-buffer-math.js +684 -0
- package/dist/workers/wrun/wrun-abi-host.d.ts +190 -0
- package/dist/workers/wrun/wrun-abi-host.js +1201 -0
- package/dist/workers/wrun/wrun-engine-handler.d.ts +37 -0
- package/dist/workers/wrun/wrun-engine-handler.js +211 -0
- package/package.json +3 -3
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The venue-generic subscription contract (docs/features/market-data/plane.md): the wire DTOs every venue's
|
|
3
|
+
* `<basePath>/*` routes speak (OPRA's `/opra/*`, the frozen contract they were cut from), the normalized domain the
|
|
4
|
+
* store and the dialogs consume, the qualification and agreement predicates (each takes the venue card whose values it
|
|
5
|
+
* judges), the transport-free error and the repository boundary. The service maps the wire into these shapes in one
|
|
6
|
+
* place (src/services/market-data.service.ts). Nothing here names a venue. Worker-safe: types, one error class and pure
|
|
7
|
+
* helpers.
|
|
8
|
+
*
|
|
9
|
+
* Differences from CME are deliberate: one product per venue, no depth, a professional declaration refused (recorded,
|
|
10
|
+
* never re-priced), an EXPLICIT agreement acceptance (never inferred from a grant or a subscription), and pay first:
|
|
11
|
+
* the declaration and the agreement bind real-time ACCESS, not the payment, so checkout needs neither and the server
|
|
12
|
+
* serves real-time only once the account is both paid and qualified (delayed otherwise).
|
|
13
|
+
*/
|
|
14
|
+
import type { CancelFeedback } from '../interfaces/cancel-reason.interface.js';
|
|
15
|
+
import type { MarketDataBillingInterval, MarketDataClassification, MarketDataVenue } from './venue.js';
|
|
16
|
+
/**
|
|
17
|
+
* POST <basePath>/attestation request body (201 for both classifications). The server derives the classification from
|
|
18
|
+
* `answers` and refuses a body whose `classification` disagrees, so the client sends the one
|
|
19
|
+
* `isMarketDataNonProfessional` reads from the same answers.
|
|
20
|
+
*/
|
|
21
|
+
export interface MarketDataAttestationDto {
|
|
22
|
+
classification: MarketDataClassification;
|
|
23
|
+
/** Keyed by stable machine question ids, never translated question text. */
|
|
24
|
+
answers: Record<string, unknown>;
|
|
25
|
+
legalName: string;
|
|
26
|
+
employer?: string;
|
|
27
|
+
occupation?: string;
|
|
28
|
+
/** ISO 3166-1 alpha-2, uppercase (one of ISO_COUNTRY_CODES). */
|
|
29
|
+
country: string;
|
|
30
|
+
/** One line, as the subscriber typed it, trimmed. */
|
|
31
|
+
address: string;
|
|
32
|
+
/** The venue's form version (`venue.questionnaire.formVersion`). */
|
|
33
|
+
formVersion: string;
|
|
34
|
+
}
|
|
35
|
+
export interface MarketDataAttestationRecordDto {
|
|
36
|
+
id: number;
|
|
37
|
+
classification: MarketDataClassification;
|
|
38
|
+
attestedAt: string;
|
|
39
|
+
formVersion: string;
|
|
40
|
+
/**
|
|
41
|
+
* ISO end of the declaration's validity (a year after it was made). Additive: a server that names none leaves the
|
|
42
|
+
* record without a client-side expiry, and the checkout's refusal stays the authority.
|
|
43
|
+
*/
|
|
44
|
+
expiresAt?: string;
|
|
45
|
+
}
|
|
46
|
+
/** GET <basePath>/attestation -> 200 body. */
|
|
47
|
+
export interface GetMarketDataAttestationResponseDto {
|
|
48
|
+
attestation: MarketDataAttestationRecordDto | null;
|
|
49
|
+
}
|
|
50
|
+
/** POST <basePath>/checkout request body. */
|
|
51
|
+
export interface MarketDataCheckoutDto {
|
|
52
|
+
interval: MarketDataBillingInterval;
|
|
53
|
+
locale?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* POST <basePath>/checkout -> 200: a Stripe redirect, or a refusal. 'professional_unavailable' is terminal (the UI
|
|
57
|
+
* shows "not available"). Pay first, the server no longer answers 'attestation_required' or 'agreement_required'; they
|
|
58
|
+
* stay in the union and are handled defensively (the flow routes into that step).
|
|
59
|
+
*/
|
|
60
|
+
export type MarketDataCheckoutResponseDto = {
|
|
61
|
+
url: string;
|
|
62
|
+
} | {
|
|
63
|
+
refused: MarketDataPurchaseRefusalCode;
|
|
64
|
+
};
|
|
65
|
+
export type MarketDataPurchaseRefusalCode = 'professional_unavailable' | 'agreement_required' | 'attestation_required';
|
|
66
|
+
/**
|
|
67
|
+
* Why the server set a subscription to end at its period end on its own: 'unqualified', the account is paid but has
|
|
68
|
+
* not completed the subscriber questions and the agreement.
|
|
69
|
+
*/
|
|
70
|
+
export type MarketDataSubscriptionHold = 'unqualified';
|
|
71
|
+
/** Subscription as served by GET <basePath>/subscription. */
|
|
72
|
+
export interface MarketDataSubscriptionDto {
|
|
73
|
+
interval: MarketDataBillingInterval;
|
|
74
|
+
/** ISO timestamp of the current period end. */
|
|
75
|
+
renewsAt: string;
|
|
76
|
+
/** Ends at `renewsAt`: the subscriber's own cancel, or the server's hold (`hold`). */
|
|
77
|
+
pendingCancellation: boolean;
|
|
78
|
+
priceUsd: number;
|
|
79
|
+
/**
|
|
80
|
+
* The server's hold: 'unqualified' while a paid account lacks its subscriber status, so the subscription ends at
|
|
81
|
+
* `renewsAt` unless the subscriber completes it, and resumes once it does (a resume cannot lift it). Null for the
|
|
82
|
+
* subscriber's own cancel or none: completing the status never reverses that cancel.
|
|
83
|
+
*/
|
|
84
|
+
hold: MarketDataSubscriptionHold | null;
|
|
85
|
+
}
|
|
86
|
+
export interface GetMarketDataSubscriptionResponseDto {
|
|
87
|
+
subscription: MarketDataSubscriptionDto | null;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* GET <basePath>/data-terms -> 200; POST <basePath>/data-terms -> 201. Acceptance is an explicit record of the
|
|
91
|
+
* agreement version the user accepted; a grant or a subscription never implies it.
|
|
92
|
+
*/
|
|
93
|
+
export interface MarketDataDataTermsDto {
|
|
94
|
+
accepted: boolean;
|
|
95
|
+
agreementVersion: string;
|
|
96
|
+
acceptedAt?: string;
|
|
97
|
+
}
|
|
98
|
+
/** What a professional declaration did to the account's subscription, as the server reports it. */
|
|
99
|
+
export interface MarketDataAttestationWithdrawal {
|
|
100
|
+
subscriptionCancelled: boolean;
|
|
101
|
+
refunded: boolean;
|
|
102
|
+
}
|
|
103
|
+
/** POST <basePath>/attestation -> 201 body; `withdrawal` only for a professional declaration. */
|
|
104
|
+
export interface SubmitMarketDataAttestationResponseDto {
|
|
105
|
+
attestationId: number;
|
|
106
|
+
withdrawal?: MarketDataAttestationWithdrawal;
|
|
107
|
+
}
|
|
108
|
+
/** The submit's answer in the domain: the record id, and what a professional declaration withdrew (else null). */
|
|
109
|
+
export interface MarketDataAttestationSubmitResult {
|
|
110
|
+
attestationId: number;
|
|
111
|
+
withdrawal: MarketDataAttestationWithdrawal | null;
|
|
112
|
+
}
|
|
113
|
+
/** POST <basePath>/data-terms request body: the agreement version the subscriber was shown and accepted. */
|
|
114
|
+
export interface AcceptMarketDataDataTermsDto {
|
|
115
|
+
agreementVersion: string;
|
|
116
|
+
}
|
|
117
|
+
/** POST <basePath>/subscription/cancel and DELETE <basePath>/subscription/cancel -> 200 body. */
|
|
118
|
+
export interface MarketDataCancelResponseDto {
|
|
119
|
+
message?: string;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* POST <basePath>/register (no body) -> 201 body, sent only once the gate confirmed the free registration (delayed
|
|
123
|
+
* data); 403 for a suspended account. Idempotent on the server.
|
|
124
|
+
*/
|
|
125
|
+
export interface MarketDataRegisterResponseDto {
|
|
126
|
+
registered: boolean;
|
|
127
|
+
}
|
|
128
|
+
/** The register's answer in the domain: it resolves only on the confirmed registration (anything else throws). */
|
|
129
|
+
export interface MarketDataRegistration {
|
|
130
|
+
registered: true;
|
|
131
|
+
}
|
|
132
|
+
export type MarketDataAttestation = MarketDataAttestationRecordDto;
|
|
133
|
+
export type MarketDataSubscription = MarketDataSubscriptionDto;
|
|
134
|
+
/** The explicit agreement record: accepted, for which version, and when. */
|
|
135
|
+
export interface MarketDataAgreement {
|
|
136
|
+
accepted: boolean;
|
|
137
|
+
agreementVersion: string;
|
|
138
|
+
acceptedAt: string | null;
|
|
139
|
+
}
|
|
140
|
+
/** A form's answers, keyed by the venue's question ids. A missing answer never qualifies. */
|
|
141
|
+
export type MarketDataQualificationAnswers = Partial<Record<string, boolean>>;
|
|
142
|
+
/** Every question of the venue's questionnaire answered with its qualifying answer. */
|
|
143
|
+
export declare function isMarketDataNonProfessional(venue: MarketDataVenue, answers: MarketDataQualificationAnswers): boolean;
|
|
144
|
+
/**
|
|
145
|
+
* A declaration on the venue's current form (a new question set means a new declaration) whose validity has not ended
|
|
146
|
+
* at `now`, either classification. The client owns expiry: `now` is the caller's clock (the store's last evaluation),
|
|
147
|
+
* never an implied Date.now(). A record without `expiresAt` never expires here; one whose `expiresAt` does not parse
|
|
148
|
+
* reads expired (ask again rather than trust it).
|
|
149
|
+
*/
|
|
150
|
+
export declare function isMarketDataAttestationLive(venue: MarketDataVenue, attestation: MarketDataAttestation | null | undefined, now: number): boolean;
|
|
151
|
+
/** A non-professional declaration on the current form, still valid at `now`: the account may buy real-time. */
|
|
152
|
+
export declare function isMarketDataAttestationCurrent(venue: MarketDataVenue, attestation: MarketDataAttestation | null | undefined, now: number): boolean;
|
|
153
|
+
/** A professional declaration on the current form, still valid at `now`: real-time is not sold to the account. */
|
|
154
|
+
export declare function isMarketDataProfessionalDeclaration(venue: MarketDataVenue, attestation: MarketDataAttestation | null | undefined, now: number): boolean;
|
|
155
|
+
/**
|
|
156
|
+
* The expiry (ISO, as served) a still-current non-professional declaration must be renewed by, once `now` is inside
|
|
157
|
+
* the venue's renewal window before it; null otherwise (no expiry named, further off, or already lapsed).
|
|
158
|
+
*/
|
|
159
|
+
export declare function marketDataAttestationRenewBy(venue: MarketDataVenue, attestation: MarketDataAttestation | null | undefined, now: number): string | null;
|
|
160
|
+
/** An acceptance counts only for the agreement version the venue presents, never for an older text. */
|
|
161
|
+
export declare function isMarketDataAgreementCurrent(venue: MarketDataVenue, agreement: MarketDataAgreement | null | undefined): boolean;
|
|
162
|
+
/**
|
|
163
|
+
* Normalized checkout outcome. 'redirect' = leave for Stripe. 'refused' = the server declined (or the store answered a
|
|
164
|
+
* professional account itself); 'professional_unavailable' is terminal, never a re-price. 'busy' = a checkout is
|
|
165
|
+
* already in flight, or the guest wall took the click.
|
|
166
|
+
*/
|
|
167
|
+
export type MarketDataCheckoutResult = {
|
|
168
|
+
kind: 'redirect';
|
|
169
|
+
url: string;
|
|
170
|
+
} | {
|
|
171
|
+
kind: 'refused';
|
|
172
|
+
code: MarketDataPurchaseRefusalCode;
|
|
173
|
+
} | {
|
|
174
|
+
kind: 'busy';
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* Transport-free failure surface for the billing calls. Unlike CME, a 403 is NOT an attestation gate (refusals ride the
|
|
178
|
+
* 200 checkout body), so it never routes back into the declaration: it is a route the account may not use (the
|
|
179
|
+
* register's suspended account included). 'invoice_owed' is the tagged 409 while Stripe still collects an invoice.
|
|
180
|
+
*/
|
|
181
|
+
export type MarketDataBillingErrorKind = 'conflict' | 'invoice_owed' | 'unauthorized' | 'forbidden' | 'network' | 'aborted' | 'server';
|
|
182
|
+
export declare class MarketDataBillingError extends Error {
|
|
183
|
+
readonly kind: MarketDataBillingErrorKind;
|
|
184
|
+
readonly status: number | null;
|
|
185
|
+
/** Raw backend message: diagnostic content only, never primary UI copy. */
|
|
186
|
+
readonly diagnosticMessage: string | null;
|
|
187
|
+
/** Stripe's hosted invoice on an 'invoice_owed' refusal; null otherwise. */
|
|
188
|
+
readonly invoiceUrl: string | null;
|
|
189
|
+
constructor(kind: MarketDataBillingErrorKind, options?: {
|
|
190
|
+
status?: number | null;
|
|
191
|
+
diagnosticMessage?: string | null;
|
|
192
|
+
invoiceUrl?: string | null;
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
/** A venue's live repository boundary (src/services/market-data.service.ts; specs substitute it per venue). */
|
|
196
|
+
export interface MarketDataBillingRepository {
|
|
197
|
+
getAttestation(signal?: AbortSignal): Promise<MarketDataAttestation | null>;
|
|
198
|
+
submitAttestation(body: MarketDataAttestationDto, signal?: AbortSignal): Promise<MarketDataAttestationSubmitResult>;
|
|
199
|
+
getSubscription(signal?: AbortSignal): Promise<MarketDataSubscription | null>;
|
|
200
|
+
/** Never resolves 'busy' (that is the store's own answer); a refusal resolves, a failure throws. */
|
|
201
|
+
checkout(body: MarketDataCheckoutDto, options: {
|
|
202
|
+
idempotencyId: string;
|
|
203
|
+
signal?: AbortSignal;
|
|
204
|
+
}): Promise<Exclude<MarketDataCheckoutResult, {
|
|
205
|
+
kind: 'busy';
|
|
206
|
+
}>>;
|
|
207
|
+
/** Cancels at period end (one classification is sold, so there is no immediate switch-cancel), with the reason. */
|
|
208
|
+
cancelSubscription(signal?: AbortSignal, feedback?: CancelFeedback): Promise<{
|
|
209
|
+
message: string | null;
|
|
210
|
+
}>;
|
|
211
|
+
retractCancellation(signal?: AbortSignal): Promise<{
|
|
212
|
+
message: string | null;
|
|
213
|
+
}>;
|
|
214
|
+
getDataTerms(signal?: AbortSignal): Promise<MarketDataAgreement>;
|
|
215
|
+
acceptDataTerms(agreementVersion: string, signal?: AbortSignal): Promise<MarketDataAgreement>;
|
|
216
|
+
/** The free registration: resolves only on the confirmed 201 `{ registered: true }`; a failure throws (a 403 is
|
|
217
|
+
* 'forbidden'). */
|
|
218
|
+
register(signal?: AbortSignal): Promise<MarketDataRegistration>;
|
|
219
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
const DAY_MS = 86_400_000;
|
|
2
|
+
/** Every question of the venue's questionnaire answered with its qualifying answer. */
|
|
3
|
+
export function isMarketDataNonProfessional(venue, answers) {
|
|
4
|
+
return venue.questionnaire.questions.every((question) => answers[question.id] === question.qualifying);
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* A declaration on the venue's current form (a new question set means a new declaration) whose validity has not ended
|
|
8
|
+
* at `now`, either classification. The client owns expiry: `now` is the caller's clock (the store's last evaluation),
|
|
9
|
+
* never an implied Date.now(). A record without `expiresAt` never expires here; one whose `expiresAt` does not parse
|
|
10
|
+
* reads expired (ask again rather than trust it).
|
|
11
|
+
*/
|
|
12
|
+
export function isMarketDataAttestationLive(venue, attestation, now) {
|
|
13
|
+
if (!attestation || attestation.formVersion !== venue.questionnaire.formVersion)
|
|
14
|
+
return false;
|
|
15
|
+
if (attestation.expiresAt === undefined)
|
|
16
|
+
return true;
|
|
17
|
+
const ends = Date.parse(attestation.expiresAt);
|
|
18
|
+
return Number.isFinite(ends) && now < ends;
|
|
19
|
+
}
|
|
20
|
+
/** A non-professional declaration on the current form, still valid at `now`: the account may buy real-time. */
|
|
21
|
+
export function isMarketDataAttestationCurrent(venue, attestation, now) {
|
|
22
|
+
return attestation?.classification === 'non_professional' && isMarketDataAttestationLive(venue, attestation, now);
|
|
23
|
+
}
|
|
24
|
+
/** A professional declaration on the current form, still valid at `now`: real-time is not sold to the account. */
|
|
25
|
+
export function isMarketDataProfessionalDeclaration(venue, attestation, now) {
|
|
26
|
+
return attestation?.classification === 'professional' && isMarketDataAttestationLive(venue, attestation, now);
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The expiry (ISO, as served) a still-current non-professional declaration must be renewed by, once `now` is inside
|
|
30
|
+
* the venue's renewal window before it; null otherwise (no expiry named, further off, or already lapsed).
|
|
31
|
+
*/
|
|
32
|
+
export function marketDataAttestationRenewBy(venue, attestation, now) {
|
|
33
|
+
if (!isMarketDataAttestationCurrent(venue, attestation, now) || attestation?.expiresAt === undefined)
|
|
34
|
+
return null;
|
|
35
|
+
return Date.parse(attestation.expiresAt) - now <= venue.questionnaire.renewalWindowDays * DAY_MS
|
|
36
|
+
? attestation.expiresAt
|
|
37
|
+
: null;
|
|
38
|
+
}
|
|
39
|
+
/** An acceptance counts only for the agreement version the venue presents, never for an older text. */
|
|
40
|
+
export function isMarketDataAgreementCurrent(venue, agreement) {
|
|
41
|
+
return agreement?.accepted === true && agreement.agreementVersion === venue.agreement.version;
|
|
42
|
+
}
|
|
43
|
+
export class MarketDataBillingError extends Error {
|
|
44
|
+
kind;
|
|
45
|
+
status;
|
|
46
|
+
/** Raw backend message: diagnostic content only, never primary UI copy. */
|
|
47
|
+
diagnosticMessage;
|
|
48
|
+
/** Stripe's hosted invoice on an 'invoice_owed' refusal; null otherwise. */
|
|
49
|
+
invoiceUrl;
|
|
50
|
+
constructor(kind, options) {
|
|
51
|
+
super(`market data billing error: ${kind}`);
|
|
52
|
+
this.name = 'MarketDataBillingError';
|
|
53
|
+
this.kind = kind;
|
|
54
|
+
this.status = options?.status ?? null;
|
|
55
|
+
this.diagnosticMessage = options?.diagnosticMessage ?? null;
|
|
56
|
+
this.invoiceUrl = options?.invoiceUrl ?? null;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether a market-data venue governs an exchange: its normalized code is one of the venue's product groups. For OPRA
|
|
3
|
+
* this is `isOpraGoverned` (utility/v2/opra-governed.util.ts), the same normalization over the same codes (the OPRA
|
|
4
|
+
* card's product groups are the governed list, pinned equal by the card's contract spec).
|
|
5
|
+
*/
|
|
6
|
+
import { normalizeExchangeCode } from '../utility/chart/cme-realtime.util.js';
|
|
7
|
+
export function isVenueGoverned(venue, exchange) {
|
|
8
|
+
const code = normalizeExchangeCode(exchange);
|
|
9
|
+
return code !== null && venue.productGroups.includes(code);
|
|
10
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The frontend market-data venue descriptor: ONE checked-in card per exchange deal
|
|
3
|
+
* (docs/features/market-data/plane.md). The venue-generic subscription flow reads every venue fact from it, never a
|
|
4
|
+
* venue literal: the store and its repository (`useMarketDataStore`, `createMarketDataService`: the base path, the form
|
|
5
|
+
* and agreement versions, the product a checkout sells), the takeover dialogs (`MarketData*`: the plan card, the
|
|
6
|
+
* questionnaire's ids and groups, the agreement link, the delay), the payment return (the catalog items and the price)
|
|
7
|
+
* and the openers (the flag).
|
|
8
|
+
*
|
|
9
|
+
* The card mirrors the backend's descriptor (orange `src/market-data/venues/<venue>.ts`) for what the frontend shows or
|
|
10
|
+
* sends, and the gate's release values for the product groups and the delay. Two contract copies carry one revision
|
|
11
|
+
* string: the backend's contract export, a byte copy checked in beside each card (`<venue>.contract.copy.json`), and
|
|
12
|
+
* the gate's release mirror, copied beside the card's parity spec, which pins the card against both
|
|
13
|
+
* (tests/packages/wrun-chart-host/market-data/venues/opra.contract.spec.ts, `gate-mirror.copy.yaml` beside it).
|
|
14
|
+
*
|
|
15
|
+
* What stays per-venue CODE, never a field here: the questionnaire's wording (a content module keyed by venue,
|
|
16
|
+
* src/components/dialogs/market-data/questionnaires/), the agreement text and the legal disclosure strings (OPRA's
|
|
17
|
+
* delay notice lives once, in src/constants/opra-compliance.constants.ts). Worker-safe: types and data only.
|
|
18
|
+
*/
|
|
19
|
+
import type { FeatureFlagKey } from '../constants/feature-flags.constants.js';
|
|
20
|
+
/** The two declarations a subscriber can make; each product names which of them may hold it. */
|
|
21
|
+
export type MarketDataClassification = 'non_professional' | 'professional';
|
|
22
|
+
/** The intervals a product can renew on. */
|
|
23
|
+
export type MarketDataBillingInterval = '1m' | '1y';
|
|
24
|
+
/** The identity fields a declaration can carry (the attestation body's wire names). */
|
|
25
|
+
export type MarketDataIdentityField = 'legalName' | 'employer' | 'occupation' | 'country' | 'address';
|
|
26
|
+
/** One product a venue sells: a catalog line and the gate plan it grants. */
|
|
27
|
+
export interface MarketDataProduct {
|
|
28
|
+
/** The catalog name: the Stripe line item a checkout sells and a payment return names (`opra_rt_1m`). */
|
|
29
|
+
readonly name: string;
|
|
30
|
+
/** The gate plan the product grants (`p1`). */
|
|
31
|
+
readonly plan: string;
|
|
32
|
+
/** The declarations that may hold it. */
|
|
33
|
+
readonly classifications: readonly MarketDataClassification[];
|
|
34
|
+
readonly interval: MarketDataBillingInterval;
|
|
35
|
+
/** The catalog price, display only: once a subscription exists, the server's price is authoritative. */
|
|
36
|
+
readonly priceUsd: number;
|
|
37
|
+
}
|
|
38
|
+
/** One qualification question: a stable machine id (the record's key, never translated text), its qualifying answer. */
|
|
39
|
+
export interface MarketDataQuestion {
|
|
40
|
+
readonly id: string;
|
|
41
|
+
readonly qualifying: boolean;
|
|
42
|
+
}
|
|
43
|
+
/** Questions the form asks as one ("Do any of these apply to you?"), by id, in order; the record keeps every answer. */
|
|
44
|
+
export interface MarketDataQuestionGroup {
|
|
45
|
+
readonly id: string;
|
|
46
|
+
readonly questions: readonly string[];
|
|
47
|
+
}
|
|
48
|
+
export interface MarketDataQuestionnaire {
|
|
49
|
+
/** A record on any other version reads as no declaration: the subscriber declares again. */
|
|
50
|
+
readonly formVersion: string;
|
|
51
|
+
/** Every answer must match its qualifying answer; anything else is a professional declaration. */
|
|
52
|
+
readonly questions: readonly MarketDataQuestion[];
|
|
53
|
+
/** The questions the form asks as a group; every other question stands alone, in the questions' order. */
|
|
54
|
+
readonly groups: readonly MarketDataQuestionGroup[];
|
|
55
|
+
/** The identity fields the declaration requires, in the wire order. */
|
|
56
|
+
readonly identityFields: readonly MarketDataIdentityField[];
|
|
57
|
+
/** The server's bound on each identity field, trimmed. */
|
|
58
|
+
readonly identityLimits: Readonly<Record<MarketDataIdentityField, number>>;
|
|
59
|
+
/** How long a declaration stays valid (the server serves the record's `expiresAt`). */
|
|
60
|
+
readonly validityDays: number;
|
|
61
|
+
/** How long before the expiry the management page asks for the renewal. */
|
|
62
|
+
readonly renewalWindowDays: number;
|
|
63
|
+
}
|
|
64
|
+
/** The venue's subscriber agreement: an explicit, versioned acceptance, never inferred from a grant or a payment. */
|
|
65
|
+
export interface MarketDataAgreementPolicy {
|
|
66
|
+
/** Bump on ANY change to the text the dialog shows or links: a new version is a new acceptance. */
|
|
67
|
+
readonly version: string;
|
|
68
|
+
/** Where the agreement step links for the venue's own subscriber terms. */
|
|
69
|
+
readonly url: string;
|
|
70
|
+
/** Whether delayed display needs the acceptance too (false: the agreement binds real time only). */
|
|
71
|
+
readonly delayedRequiresAcceptance: boolean;
|
|
72
|
+
}
|
|
73
|
+
/** The product terms the plan card shows as written (never translated, like the CME bundle names). */
|
|
74
|
+
export interface MarketDataPlanCard {
|
|
75
|
+
readonly name: string;
|
|
76
|
+
readonly level: string;
|
|
77
|
+
readonly market: string;
|
|
78
|
+
readonly region: string;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* The surfaces that carry a venue's delay disclosure wherever its delayed data shows (docs/features/search/
|
|
82
|
+
* option-chain-browser.md, "Delay and disclosure"; tests/structure/opra-delay-notice-surfaces.spec.ts holds the rule).
|
|
83
|
+
*/
|
|
84
|
+
export type MarketDataDisclosureSurface = 'chain-page-subtitle' | 'chain-price-pill' | 'chain-table-marker' | 'chain-strike-preview' | 'chain-index-notice' | 'flow-tape' | 'terminal-options-tab' | 'options-overlay-legends' | 'indicator-legend-notes' | 'contract-chart-delay-chip' | 'contract-chart-delay-card' | 'chart-source-line' | 'watchlist-panel' | 'watchlist-cell-tooltip' | 'board' | 'purchase-live-price';
|
|
85
|
+
export interface MarketDataVenue {
|
|
86
|
+
/** The venue key (`opra`): the registry, the store, the openers, the testids and the payment product name it. */
|
|
87
|
+
readonly key: string;
|
|
88
|
+
readonly displayName: string;
|
|
89
|
+
/** The gate's product groups (the exchange codes the venue governs), the gate values' copy. */
|
|
90
|
+
readonly productGroups: readonly string[];
|
|
91
|
+
/** The venue's API base path (`/opra`; a new venue mounts at `/market-data/<venue>`). */
|
|
92
|
+
readonly basePath: string;
|
|
93
|
+
/** What the venue sells; the purchase flow sells the first (one plan). */
|
|
94
|
+
readonly products: readonly MarketDataProduct[];
|
|
95
|
+
readonly planCard: MarketDataPlanCard;
|
|
96
|
+
/** The prefix of every Stripe line item of the venue: a return carrying it is the venue's, valid or malformed. */
|
|
97
|
+
readonly paymentItemPrefix: string;
|
|
98
|
+
/** 'refuse': a professional declaration is recorded and ends the purchase in "not available", never a re-price. */
|
|
99
|
+
readonly professionalPolicy: 'refuse' | 'sell';
|
|
100
|
+
/** 'refuse': no role is consulted, an internal account buys like any other and the server's refusal stands. */
|
|
101
|
+
readonly internalRolePolicy: 'refuse' | 'dev';
|
|
102
|
+
/** The checkout needs neither the declaration nor the agreement: they bind real-time access, not the payment. */
|
|
103
|
+
readonly payFirst: boolean;
|
|
104
|
+
readonly questionnaire: MarketDataQuestionnaire;
|
|
105
|
+
readonly agreement: MarketDataAgreementPolicy;
|
|
106
|
+
/** The delayed tier's nominal delay (the gate's delayed window). */
|
|
107
|
+
readonly delayMinutes: number;
|
|
108
|
+
/** 'verbatim': a legally exact English phrase (a compliance constant); 'translated': the venue's locale copy. */
|
|
109
|
+
readonly disclosure: {
|
|
110
|
+
readonly kind: 'translated' | 'verbatim';
|
|
111
|
+
};
|
|
112
|
+
/** The frontend flag the venue's doors ride (a no-op while it is dark); null for none. */
|
|
113
|
+
readonly flagKey: FeatureFlagKey | null;
|
|
114
|
+
/** The locale namespace every string of the venue lives under (OPRA keeps `opraRealtimeData`). */
|
|
115
|
+
readonly i18nNamespace: string;
|
|
116
|
+
/** The Pinia id of the venue's purchase store. */
|
|
117
|
+
readonly storeId: string;
|
|
118
|
+
/** Where the venue's delay disclosure must show. */
|
|
119
|
+
readonly surfaces: readonly MarketDataDisclosureSurface[];
|
|
120
|
+
/** The revision of the contract copies the card is pinned against (one string in every copy). */
|
|
121
|
+
readonly contractRevision: string;
|
|
122
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The market-data venue registry: every venue card the frontend serves (docs/features/market-data/plane.md). A new
|
|
3
|
+
* exchange deal adds its card here; the purchase flow, the payment return and the openers find a venue by its key or
|
|
4
|
+
* by a payment line item, never by a venue literal. The finders over an explicit list (`findVenueBy*`) are the same
|
|
5
|
+
* rules the bound finders apply to the registry, for a spec that serves a venue of its own beside the registered ones.
|
|
6
|
+
*/
|
|
7
|
+
import type { MarketDataVenue } from '../venue.js';
|
|
8
|
+
export declare const MARKET_DATA_VENUES: readonly [{
|
|
9
|
+
readonly key: "opra";
|
|
10
|
+
readonly displayName: "OPRA";
|
|
11
|
+
readonly productGroups: readonly ["OPRA"];
|
|
12
|
+
readonly basePath: "/opra";
|
|
13
|
+
readonly products: readonly [{
|
|
14
|
+
readonly name: "opra_rt_1m";
|
|
15
|
+
readonly plan: "p1";
|
|
16
|
+
readonly classifications: readonly ["non_professional"];
|
|
17
|
+
readonly interval: "1m";
|
|
18
|
+
readonly priceUsd: 4.95;
|
|
19
|
+
}];
|
|
20
|
+
readonly planCard: {
|
|
21
|
+
readonly name: "OPRA real-time";
|
|
22
|
+
readonly level: "TOP OF BOOK";
|
|
23
|
+
readonly market: "OPRA";
|
|
24
|
+
readonly region: "πΊπΈ USA";
|
|
25
|
+
};
|
|
26
|
+
readonly paymentItemPrefix: "opra_";
|
|
27
|
+
readonly professionalPolicy: "refuse";
|
|
28
|
+
readonly internalRolePolicy: "refuse";
|
|
29
|
+
readonly payFirst: true;
|
|
30
|
+
readonly questionnaire: {
|
|
31
|
+
readonly formVersion: "opra-v2";
|
|
32
|
+
readonly questions: readonly [{
|
|
33
|
+
readonly id: "natural_person";
|
|
34
|
+
readonly qualifying: true;
|
|
35
|
+
}, {
|
|
36
|
+
readonly id: "personal_use_only";
|
|
37
|
+
readonly qualifying: true;
|
|
38
|
+
}, {
|
|
39
|
+
readonly id: "securities_registered";
|
|
40
|
+
readonly qualifying: false;
|
|
41
|
+
}, {
|
|
42
|
+
readonly id: "investment_adviser";
|
|
43
|
+
readonly qualifying: false;
|
|
44
|
+
}, {
|
|
45
|
+
readonly id: "exempt_institution_role";
|
|
46
|
+
readonly qualifying: false;
|
|
47
|
+
}];
|
|
48
|
+
readonly groups: readonly [{
|
|
49
|
+
readonly id: "professional-group";
|
|
50
|
+
readonly questions: readonly ["securities_registered", "investment_adviser", "exempt_institution_role"];
|
|
51
|
+
}];
|
|
52
|
+
readonly identityFields: readonly ["legalName", "employer", "occupation", "country", "address"];
|
|
53
|
+
readonly identityLimits: {
|
|
54
|
+
readonly legalName: 200;
|
|
55
|
+
readonly employer: 200;
|
|
56
|
+
readonly occupation: 200;
|
|
57
|
+
readonly country: 2;
|
|
58
|
+
readonly address: 300;
|
|
59
|
+
};
|
|
60
|
+
readonly validityDays: 365;
|
|
61
|
+
readonly renewalWindowDays: 30;
|
|
62
|
+
};
|
|
63
|
+
readonly agreement: {
|
|
64
|
+
readonly version: "opra-subscriber-2026-10";
|
|
65
|
+
readonly url: "https://www.opraplan.com/";
|
|
66
|
+
readonly delayedRequiresAcceptance: false;
|
|
67
|
+
};
|
|
68
|
+
readonly delayMinutes: 15;
|
|
69
|
+
readonly disclosure: {
|
|
70
|
+
readonly kind: "verbatim";
|
|
71
|
+
};
|
|
72
|
+
readonly flagKey: "opra";
|
|
73
|
+
readonly i18nNamespace: "opraRealtimeData";
|
|
74
|
+
readonly storeId: "opraRealtime";
|
|
75
|
+
readonly surfaces: readonly ["chain-page-subtitle", "chain-price-pill", "chain-table-marker", "chain-strike-preview", "chain-index-notice", "flow-tape", "terminal-options-tab", "options-overlay-legends", "indicator-legend-notes", "contract-chart-delay-chip", "contract-chart-delay-card", "chart-source-line", "watchlist-panel", "watchlist-cell-tooltip", "board", "purchase-live-price"];
|
|
76
|
+
readonly contractRevision: "2026-10-20.1";
|
|
77
|
+
}];
|
|
78
|
+
/** A registered venue's key. */
|
|
79
|
+
export type MarketDataVenueKey = (typeof MARKET_DATA_VENUES)[number]['key'];
|
|
80
|
+
/** A registered venue: the descriptor, its key narrowed to the registered keys. */
|
|
81
|
+
export type RegisteredMarketDataVenue = MarketDataVenue & {
|
|
82
|
+
readonly key: MarketDataVenueKey;
|
|
83
|
+
};
|
|
84
|
+
/** The venue in `venues` with this key, or null. */
|
|
85
|
+
export declare function findVenueByKey<V extends MarketDataVenue>(venues: readonly V[], key: unknown): V | null;
|
|
86
|
+
/**
|
|
87
|
+
* The venue in `venues` a payment line item belongs to: the venue selling that product, else the venue whose catalog
|
|
88
|
+
* prefix the item carries (a malformed or retired item of a venue stays that venue's, never another product's); null
|
|
89
|
+
* for an item no venue names.
|
|
90
|
+
*/
|
|
91
|
+
export declare function findVenueByPaymentProduct<V extends MarketDataVenue>(venues: readonly V[], item: unknown): V | null;
|
|
92
|
+
/** The registered venue with this key, or null. */
|
|
93
|
+
export declare function venueByKey(key: unknown): RegisteredMarketDataVenue | null;
|
|
94
|
+
/** The registered venue with this key; a key no card has throws (a programming error, never an account's state). */
|
|
95
|
+
export declare function requireVenueByKey(key: unknown): RegisteredMarketDataVenue;
|
|
96
|
+
/** The registered venue a payment line item belongs to (`findVenueByPaymentProduct` over the registry), or null. */
|
|
97
|
+
export declare function venueByPaymentProduct(item: unknown): RegisteredMarketDataVenue | null;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { OPRA_VENUE } from './opra.js';
|
|
2
|
+
export const MARKET_DATA_VENUES = [OPRA_VENUE];
|
|
3
|
+
/** The venue in `venues` with this key, or null. */
|
|
4
|
+
export function findVenueByKey(venues, key) {
|
|
5
|
+
return venues.find((venue) => venue.key === key) ?? null;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The venue in `venues` a payment line item belongs to: the venue selling that product, else the venue whose catalog
|
|
9
|
+
* prefix the item carries (a malformed or retired item of a venue stays that venue's, never another product's); null
|
|
10
|
+
* for an item no venue names.
|
|
11
|
+
*/
|
|
12
|
+
export function findVenueByPaymentProduct(venues, item) {
|
|
13
|
+
if (typeof item !== 'string' || item === '')
|
|
14
|
+
return null;
|
|
15
|
+
return (venues.find((venue) => venue.products.some((product) => product.name === item)) ??
|
|
16
|
+
venues.find((venue) => item.startsWith(venue.paymentItemPrefix)) ??
|
|
17
|
+
null);
|
|
18
|
+
}
|
|
19
|
+
/** The registered venue with this key, or null. */
|
|
20
|
+
export function venueByKey(key) {
|
|
21
|
+
return findVenueByKey(MARKET_DATA_VENUES, key);
|
|
22
|
+
}
|
|
23
|
+
/** The registered venue with this key; a key no card has throws (a programming error, never an account's state). */
|
|
24
|
+
export function requireVenueByKey(key) {
|
|
25
|
+
const venue = venueByKey(key);
|
|
26
|
+
if (!venue)
|
|
27
|
+
throw new Error(`market-data: no registered venue "${String(key)}"`);
|
|
28
|
+
return venue;
|
|
29
|
+
}
|
|
30
|
+
/** The registered venue a payment line item belongs to (`findVenueByPaymentProduct` over the registry), or null. */
|
|
31
|
+
export function venueByPaymentProduct(item) {
|
|
32
|
+
return findVenueByPaymentProduct(MARKET_DATA_VENUES, item);
|
|
33
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"revision": "2026-10-20.1",
|
|
3
|
+
"key": "opra",
|
|
4
|
+
"productGroups": ["OPRA"],
|
|
5
|
+
"products": [
|
|
6
|
+
{
|
|
7
|
+
"name": "opra_rt_1m",
|
|
8
|
+
"plan": "p1",
|
|
9
|
+
"classifications": ["non_professional"],
|
|
10
|
+
"interval": "1m"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"formVersion": "opra-v2",
|
|
14
|
+
"questions": [
|
|
15
|
+
{ "id": "natural_person", "qualifying": true },
|
|
16
|
+
{ "id": "personal_use_only", "qualifying": true },
|
|
17
|
+
{ "id": "securities_registered", "qualifying": false },
|
|
18
|
+
{ "id": "investment_adviser", "qualifying": false },
|
|
19
|
+
{ "id": "exempt_institution_role", "qualifying": false }
|
|
20
|
+
],
|
|
21
|
+
"identityFields": [
|
|
22
|
+
"legalName",
|
|
23
|
+
"employer",
|
|
24
|
+
"occupation",
|
|
25
|
+
"country",
|
|
26
|
+
"address"
|
|
27
|
+
],
|
|
28
|
+
"identityLimits": { "text": 200, "address": 300 },
|
|
29
|
+
"agreement": {
|
|
30
|
+
"version": "opra-subscriber-2026-10",
|
|
31
|
+
"url": "https://www.opraplan.com/"
|
|
32
|
+
},
|
|
33
|
+
"delaySeconds": 900,
|
|
34
|
+
"basePath": "/opra"
|
|
35
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export declare const OPRA_VENUE: {
|
|
2
|
+
readonly key: "opra";
|
|
3
|
+
readonly displayName: "OPRA";
|
|
4
|
+
readonly productGroups: readonly ["OPRA"];
|
|
5
|
+
readonly basePath: "/opra";
|
|
6
|
+
readonly products: readonly [{
|
|
7
|
+
readonly name: "opra_rt_1m";
|
|
8
|
+
readonly plan: "p1";
|
|
9
|
+
readonly classifications: readonly ["non_professional"];
|
|
10
|
+
readonly interval: "1m";
|
|
11
|
+
readonly priceUsd: 4.95;
|
|
12
|
+
}];
|
|
13
|
+
readonly planCard: {
|
|
14
|
+
readonly name: "OPRA real-time";
|
|
15
|
+
readonly level: "TOP OF BOOK";
|
|
16
|
+
readonly market: "OPRA";
|
|
17
|
+
readonly region: "πΊπΈ USA";
|
|
18
|
+
};
|
|
19
|
+
readonly paymentItemPrefix: "opra_";
|
|
20
|
+
readonly professionalPolicy: "refuse";
|
|
21
|
+
readonly internalRolePolicy: "refuse";
|
|
22
|
+
readonly payFirst: true;
|
|
23
|
+
readonly questionnaire: {
|
|
24
|
+
readonly formVersion: "opra-v2";
|
|
25
|
+
readonly questions: readonly [{
|
|
26
|
+
readonly id: "natural_person";
|
|
27
|
+
readonly qualifying: true;
|
|
28
|
+
}, {
|
|
29
|
+
readonly id: "personal_use_only";
|
|
30
|
+
readonly qualifying: true;
|
|
31
|
+
}, {
|
|
32
|
+
readonly id: "securities_registered";
|
|
33
|
+
readonly qualifying: false;
|
|
34
|
+
}, {
|
|
35
|
+
readonly id: "investment_adviser";
|
|
36
|
+
readonly qualifying: false;
|
|
37
|
+
}, {
|
|
38
|
+
readonly id: "exempt_institution_role";
|
|
39
|
+
readonly qualifying: false;
|
|
40
|
+
}];
|
|
41
|
+
readonly groups: readonly [{
|
|
42
|
+
readonly id: "professional-group";
|
|
43
|
+
readonly questions: readonly ["securities_registered", "investment_adviser", "exempt_institution_role"];
|
|
44
|
+
}];
|
|
45
|
+
readonly identityFields: readonly ["legalName", "employer", "occupation", "country", "address"];
|
|
46
|
+
readonly identityLimits: {
|
|
47
|
+
readonly legalName: 200;
|
|
48
|
+
readonly employer: 200;
|
|
49
|
+
readonly occupation: 200;
|
|
50
|
+
readonly country: 2;
|
|
51
|
+
readonly address: 300;
|
|
52
|
+
};
|
|
53
|
+
readonly validityDays: 365;
|
|
54
|
+
readonly renewalWindowDays: 30;
|
|
55
|
+
};
|
|
56
|
+
readonly agreement: {
|
|
57
|
+
readonly version: "opra-subscriber-2026-10";
|
|
58
|
+
readonly url: "https://www.opraplan.com/";
|
|
59
|
+
readonly delayedRequiresAcceptance: false;
|
|
60
|
+
};
|
|
61
|
+
readonly delayMinutes: 15;
|
|
62
|
+
readonly disclosure: {
|
|
63
|
+
readonly kind: "verbatim";
|
|
64
|
+
};
|
|
65
|
+
readonly flagKey: "opra";
|
|
66
|
+
readonly i18nNamespace: "opraRealtimeData";
|
|
67
|
+
readonly storeId: "opraRealtime";
|
|
68
|
+
readonly surfaces: readonly ["chain-page-subtitle", "chain-price-pill", "chain-table-marker", "chain-strike-preview", "chain-index-notice", "flow-tape", "terminal-options-tab", "options-overlay-legends", "indicator-legend-notes", "contract-chart-delay-chip", "contract-chart-delay-card", "chart-source-line", "watchlist-panel", "watchlist-cell-tooltip", "board", "purchase-live-price"];
|
|
69
|
+
readonly contractRevision: "2026-10-20.1";
|
|
70
|
+
};
|