@orangecharts/wrun-chart-host 0.2.0 → 0.3.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 +14 -6
- package/dist/constants/common.constants.d.ts +15 -0
- package/dist/constants/common.constants.js +23 -0
- package/dist/constants/data-source.constants.d.ts +1 -0
- package/dist/constants/data-source.constants.js +1 -0
- package/dist/constants/economic.constants.d.ts +39 -0
- package/dist/constants/economic.constants.js +77 -0
- package/dist/constants/etf-covered-coins.constants.d.ts +1 -0
- package/dist/constants/etf-covered-coins.constants.js +9 -0
- package/dist/constants/feature-flags.constants.d.ts +60 -0
- package/dist/constants/feature-flags.constants.js +308 -0
- package/dist/constants/feature-limits.constants.d.ts +134 -0
- package/dist/constants/feature-limits.constants.js +155 -0
- package/dist/constants/marketCapabilities.constants.d.ts +87 -0
- package/dist/constants/marketCapabilities.constants.js +213 -0
- package/dist/constants/option-venues.constants.d.ts +100 -0
- package/dist/constants/option-venues.constants.js +167 -0
- package/dist/constants/overlay-data.constants.d.ts +53 -0
- package/dist/constants/overlay-data.constants.js +80 -0
- package/dist/constants/pane-grid.constants.d.ts +15 -0
- package/dist/constants/pane-grid.constants.js +17 -0
- package/dist/constants/venue-presets.constants.d.ts +10 -0
- package/dist/constants/venue-presets.constants.js +22 -0
- package/dist/enums/chart.enum.d.ts +68 -0
- package/dist/enums/chart.enum.js +70 -0
- package/dist/helpers/data.helpers.d.ts +2 -0
- package/dist/helpers/data.helpers.js +14 -0
- package/dist/host-env.d.ts +161 -5
- package/dist/host-ports.types.d.ts +446 -0
- package/dist/host-ports.types.js +1 -0
- package/dist/index.d.ts +128 -0
- package/dist/index.js +128 -0
- package/dist/indicators/controls/technical-script/technical-script-input-rendering.d.ts +86 -0
- package/dist/indicators/controls/technical-script/technical-script-input-rendering.js +179 -0
- package/dist/interfaces/asset-venue.interface.d.ts +91 -0
- package/dist/interfaces/asset-venue.interface.js +1 -0
- package/dist/interfaces/cancel-reason.interface.d.ts +24 -0
- package/dist/interfaces/cancel-reason.interface.js +2 -0
- package/dist/interfaces/catalog-display.interface.d.ts +3 -0
- package/dist/interfaces/catalog-display.interface.js +1 -0
- package/dist/interfaces/cme-realtime.interface.d.ts +251 -0
- package/dist/interfaces/cme-realtime.interface.js +46 -0
- package/dist/interfaces/feed.interface.d.ts +80 -0
- package/dist/interfaces/feed.interface.js +7 -0
- package/dist/interfaces/market-kind.interface.d.ts +8 -0
- package/dist/interfaces/market-kind.interface.js +1 -0
- package/dist/interfaces/opra-realtime.interface.d.ts +224 -0
- package/dist/interfaces/opra-realtime.interface.js +105 -0
- package/dist/interfaces/option-instrument.interface.d.ts +32 -0
- package/dist/interfaces/option-instrument.interface.js +1 -0
- package/dist/interfaces/options-chain-scope.interface.d.ts +29 -0
- package/dist/interfaces/options-chain-scope.interface.js +7 -0
- package/dist/interfaces/prediction-market.interface.d.ts +88 -0
- package/dist/interfaces/prediction-market.interface.js +8 -0
- package/dist/interfaces/wrun-runtime.interface.d.ts +5 -0
- package/dist/kscript-data/controls/live-trades-merge.util.d.ts +185 -0
- package/dist/kscript-data/controls/live-trades-merge.util.js +357 -0
- package/dist/settings-templates/frvp-fields.d.ts +27 -0
- package/dist/settings-templates/frvp-fields.js +108 -0
- package/dist/settings-templates/index.d.ts +119 -0
- package/dist/settings-templates/index.js +442 -0
- package/dist/settings-templates/indicator-fields.d.ts +56 -0
- package/dist/settings-templates/indicator-fields.js +793 -0
- package/dist/settings-templates/tool-rules.d.ts +59 -0
- package/dist/settings-templates/tool-rules.js +49 -0
- package/dist/settings-templates/tool-tables.generated.d.ts +2 -0
- package/dist/settings-templates/tool-tables.generated.js +1668 -0
- package/dist/utility/blk-market.util.d.ts +5 -0
- package/dist/utility/blk-market.util.js +12 -0
- package/dist/utility/chart/chart-load-phase.util.d.ts +32 -0
- package/dist/utility/chart/chart-load-phase.util.js +78 -0
- package/dist/utility/chart/cme-cache-context.util.d.ts +108 -0
- package/dist/utility/chart/cme-cache-context.util.js +166 -0
- package/dist/utility/chart/cme-session-bucket.util.d.ts +82 -0
- package/dist/utility/chart/cme-session-bucket.util.js +343 -0
- package/dist/utility/chart/cme-trade-calendar.util.d.ts +26 -0
- package/dist/utility/chart/cme-trade-calendar.util.js +147 -0
- package/dist/utility/chart/continuous-contracts.util.d.ts +138 -0
- package/dist/utility/chart/continuous-contracts.util.js +374 -0
- package/dist/utility/chart/feed-interval.util.d.ts +119 -0
- package/dist/utility/chart/feed-interval.util.js +321 -0
- package/dist/utility/chart/fetch-dedupe-policy.util.d.ts +110 -0
- package/dist/utility/chart/fetch-dedupe-policy.util.js +407 -0
- package/dist/utility/chart/footprint-band.util.d.ts +76 -0
- package/dist/utility/chart/footprint-band.util.js +205 -0
- package/dist/utility/chart/footprint-cell-identity.util.d.ts +82 -0
- package/dist/utility/chart/footprint-cell-identity.util.js +346 -0
- package/dist/utility/chart/formula-calendar.util.d.ts +27 -0
- package/dist/utility/chart/formula-calendar.util.js +59 -0
- package/dist/utility/chart/history-wall.util.d.ts +67 -0
- package/dist/utility/chart/history-wall.util.js +87 -0
- package/dist/utility/chart/index-mode.util.d.ts +66 -0
- package/dist/utility/chart/index-mode.util.js +360 -0
- package/dist/utility/chart/indicator-coverage-planner.util.d.ts +217 -0
- package/dist/utility/chart/indicator-coverage-planner.util.js +443 -0
- package/dist/utility/chart/indicator-coverage-state.util.d.ts +33 -0
- package/dist/utility/chart/indicator-coverage-state.util.js +110 -0
- package/dist/utility/chart/indicator-gap-detector.util.d.ts +127 -0
- package/dist/utility/chart/indicator-gap-detector.util.js +260 -0
- package/dist/utility/chart/indicator-gap-repair.util.d.ts +88 -0
- package/dist/utility/chart/indicator-gap-repair.util.js +177 -0
- package/dist/utility/chart/indicator-inflight-registry.util.d.ts +26 -0
- package/dist/utility/chart/indicator-inflight-registry.util.js +254 -0
- package/dist/utility/chart/interval-registry.util.d.ts +23 -0
- package/dist/utility/chart/interval-registry.util.js +83 -0
- package/dist/utility/chart/kscript-main-grid-stages.util.d.ts +21 -0
- package/dist/utility/chart/kscript-main-grid-stages.util.js +332 -0
- package/dist/utility/chart/legacy-exchange.leaf.d.ts +11 -0
- package/dist/utility/chart/legacy-exchange.leaf.js +43 -0
- package/dist/utility/chart/live-bucket.util.d.ts +66 -0
- package/dist/utility/chart/live-bucket.util.js +165 -0
- package/dist/utility/chart/market-session-schedule.util.d.ts +91 -0
- package/dist/utility/chart/market-session-schedule.util.js +337 -0
- package/dist/utility/chart/marketKind.util.d.ts +181 -0
- package/dist/utility/chart/marketKind.util.js +371 -0
- package/dist/utility/chart/opra-read-access.leaf.d.ts +26 -0
- package/dist/utility/chart/opra-read-access.leaf.js +25 -0
- package/dist/utility/chart/prediction-identity.util.d.ts +159 -0
- package/dist/utility/chart/prediction-identity.util.js +236 -0
- package/dist/utility/chart/rth-session.util.d.ts +352 -0
- package/dist/utility/chart/rth-session.util.js +926 -0
- package/dist/utility/chart/titan-constants.pin.d.ts +43 -0
- package/dist/utility/chart/titan-constants.pin.js +50 -0
- package/dist/utility/chart/us-equities-session.util.d.ts +127 -0
- package/dist/utility/chart/us-equities-session.util.js +251 -0
- package/dist/utility/chart/wrun-bar-session-facts.util.d.ts +100 -0
- package/dist/utility/chart/wrun-bar-session-facts.util.js +354 -0
- package/dist/utility/chart/wrun-wire-ref.util.d.ts +23 -0
- package/dist/utility/chart/wrun-wire-ref.util.js +16 -0
- package/dist/utility/common/safe-math-eval.d.ts +18 -0
- package/dist/utility/common/safe-math-eval.js +160 -0
- package/dist/utility/common/time.util.d.ts +134 -0
- package/dist/utility/common/time.util.js +428 -0
- package/dist/utility/common/transformations.util.d.ts +126 -0
- package/dist/utility/common/transformations.util.js +711 -0
- package/dist/utility/common/visible-timeout.util.d.ts +17 -0
- package/dist/utility/common/visible-timeout.util.js +75 -0
- package/dist/utility/exchange-normalization.util.d.ts +8 -0
- package/dist/utility/exchange-normalization.util.js +32 -0
- package/dist/utility/intl-locale.util.d.ts +2 -0
- package/dist/utility/intl-locale.util.js +28 -0
- package/dist/utility/number-format.util.d.ts +14 -1
- package/dist/utility/number-format.util.js +50 -19
- package/dist/utility/options/option-symbol.util.d.ts +28 -0
- package/dist/utility/options/option-symbol.util.js +176 -0
- package/dist/utility/options/option-trade-units.util.d.ts +190 -0
- package/dist/utility/options/option-trade-units.util.js +283 -0
- package/dist/utility/options/option-venue.util.d.ts +75 -0
- package/dist/utility/options/option-venue.util.js +85 -0
- package/dist/utility/pool-symbol.leaf.d.ts +34 -0
- package/dist/utility/pool-symbol.leaf.js +95 -0
- package/dist/utility/scriptEditor/wrun-runtime-diagnostics.leaf.d.ts +109 -0
- package/dist/utility/scriptEditor/wrun-runtime-diagnostics.leaf.js +302 -0
- package/dist/utility/symbol-selection/contract-expiry.util.d.ts +39 -0
- package/dist/utility/symbol-selection/contract-expiry.util.js +111 -0
- package/dist/utility/v2/gate-plane.util.d.ts +58 -0
- package/dist/utility/v2/gate-plane.util.js +99 -0
- package/dist/utility/v2/gate-session-latch.util.d.ts +22 -0
- package/dist/utility/v2/gate-session-latch.util.js +34 -0
- package/dist/utility/watchlist/import/tradingview-symbols.leaf.d.ts +76 -0
- package/dist/utility/watchlist/import/tradingview-symbols.leaf.js +221 -0
- package/dist/utility/wrun/sources/host-grid-landing.d.ts +15 -0
- package/dist/utility/wrun/sources/host-grid-landing.js +26 -0
- package/dist/utility/wrun/sources/lanes/bitfinex_funding.d.ts +27 -0
- package/dist/utility/wrun/sources/lanes/bitfinex_funding.js +85 -0
- package/dist/utility/wrun/sources/lanes/economic.d.ts +27 -0
- package/dist/utility/wrun/sources/lanes/economic.js +79 -0
- package/dist/utility/wrun/sources/lanes/etf_holdings.d.ts +35 -0
- package/dist/utility/wrun/sources/lanes/etf_holdings.js +165 -0
- package/dist/utility/wrun/sources/lanes/etf_premium.d.ts +19 -0
- package/dist/utility/wrun/sources/lanes/etf_premium.js +114 -0
- package/dist/utility/wrun/sources/lanes/ethena_positions.d.ts +30 -0
- package/dist/utility/wrun/sources/lanes/ethena_positions.js +51 -0
- package/dist/utility/wrun/sources/lanes/index.d.ts +2 -0
- package/dist/utility/wrun/sources/lanes/index.js +32 -0
- package/dist/utility/wrun/sources/lanes/long_short_ratio.d.ts +17 -0
- package/dist/utility/wrun/sources/lanes/long_short_ratio.js +47 -0
- package/dist/utility/wrun/sources/lanes/option_daily.d.ts +30 -0
- package/dist/utility/wrun/sources/lanes/option_daily.js +53 -0
- package/dist/utility/wrun/sources/lanes/option_stats_10m.d.ts +23 -0
- package/dist/utility/wrun/sources/lanes/option_stats_10m.js +20 -0
- package/dist/utility/wrun/sources/lanes/options_flow.d.ts +50 -0
- package/dist/utility/wrun/sources/lanes/options_flow.js +155 -0
- package/dist/utility/wrun/sources/lanes/options_oi.d.ts +29 -0
- package/dist/utility/wrun/sources/lanes/options_oi.js +59 -0
- package/dist/utility/wrun/sources/lanes/options_volume.d.ts +38 -0
- package/dist/utility/wrun/sources/lanes/options_volume.js +63 -0
- package/dist/utility/wrun/sources/lanes/series.d.ts +67 -0
- package/dist/utility/wrun/sources/lanes/series.js +321 -0
- package/dist/utility/wrun/sources/lanes/token_supply.d.ts +30 -0
- package/dist/utility/wrun/sources/lanes/token_supply.js +145 -0
- package/dist/utility/wrun/sources/lanes/treasury_balance.d.ts +25 -0
- package/dist/utility/wrun/sources/lanes/treasury_balance.js +47 -0
- package/dist/utility/wrun/sources/lanes/volatility_index.d.ts +21 -0
- package/dist/utility/wrun/sources/lanes/volatility_index.js +11 -0
- package/dist/utility/wrun/sources/opra-option-lanes.util.d.ts +196 -0
- package/dist/utility/wrun/sources/opra-option-lanes.util.js +446 -0
- package/dist/utility/wrun/sources/registry.d.ts +21 -0
- package/dist/utility/wrun/sources/registry.js +207 -0
- package/dist/utility/wrun/sources/row-lane-registry.d.ts +28 -0
- package/dist/utility/wrun/sources/row-lane-registry.js +230 -0
- package/dist/utility/wrun/sources/row-lanes/index.d.ts +2 -0
- package/dist/utility/wrun/sources/row-lanes/index.js +12 -0
- package/dist/utility/wrun/sources/row-lanes/option_contract_flow.d.ts +2 -0
- package/dist/utility/wrun/sources/row-lanes/option_contract_flow.js +38 -0
- package/dist/utility/wrun/sources/row-lanes/option_contract_state.d.ts +6 -0
- package/dist/utility/wrun/sources/row-lanes/option_contract_state.js +70 -0
- package/dist/utility/wrun/sources/row-lanes/option_prints.d.ts +4 -0
- package/dist/utility/wrun/sources/row-lanes/option_prints.js +191 -0
- package/dist/utility/wrun/sources/row-lanes/option_strikes.d.ts +13 -0
- package/dist/utility/wrun/sources/row-lanes/option_strikes.js +137 -0
- package/dist/utility/wrun/sources/row-lanes/option_surface.d.ts +38 -0
- package/dist/utility/wrun/sources/row-lanes/option_surface.js +150 -0
- package/dist/utility/wrun/sources/wrun-poll-lane.types.d.ts +275 -0
- package/dist/utility/wrun/sources/wrun-poll-lane.types.js +26 -0
- package/dist/utility/wrun/sources/wrun-poll-lanes.util.d.ts +224 -0
- package/dist/utility/wrun/sources/wrun-poll-lanes.util.js +394 -0
- package/dist/utility/wrun/sources/wrun-row-lane.types.d.ts +283 -0
- package/dist/utility/wrun/sources/wrun-row-lane.types.js +16 -0
- package/dist/utility/wrun/sources/wrun-row-lanes.util.d.ts +205 -0
- package/dist/utility/wrun/sources/wrun-row-lanes.util.js +469 -0
- package/dist/utility/wrun/wrun-browser-sources.leaf.d.ts +28 -0
- package/dist/utility/wrun/wrun-browser-sources.leaf.js +66 -0
- package/dist/utility/wrun/wrun-cloud-record.util.d.ts +65 -0
- package/dist/utility/wrun/wrun-cloud-record.util.js +121 -0
- package/dist/utility/wrun/wrun-daily-lane.util.d.ts +95 -0
- package/dist/utility/wrun/wrun-daily-lane.util.js +297 -0
- package/dist/utility/wrun/wrun-deadline.util.d.ts +52 -0
- package/dist/utility/wrun/wrun-deadline.util.js +82 -0
- package/dist/utility/wrun/wrun-etf-flow-lane.util.d.ts +94 -0
- package/dist/utility/wrun/wrun-etf-flow-lane.util.js +224 -0
- package/dist/utility/wrun/wrun-etf-funds.util.d.ts +82 -0
- package/dist/utility/wrun/wrun-etf-funds.util.js +242 -0
- package/dist/utility/wrun/wrun-frames.d.ts +20 -1
- package/dist/utility/wrun/wrun-frames.js +103 -49
- package/dist/utility/wrun/wrun-hosted-wire-caps.d.ts +2 -2
- package/dist/utility/wrun/wrun-hosted-wire-caps.js +27 -0
- package/dist/utility/wrun/wrun-lane-refusal.leaf.d.ts +22 -0
- package/dist/utility/wrun/wrun-lane-refusal.leaf.js +32 -0
- package/dist/utility/wrun/wrun-lane-warmup.util.d.ts +18 -0
- package/dist/utility/wrun/wrun-lane-warmup.util.js +112 -0
- package/dist/utility/wrun/wrun-leg-close.util.d.ts +57 -0
- package/dist/utility/wrun/wrun-leg-close.util.js +187 -0
- package/dist/utility/wrun/wrun-leg-fetch.util.d.ts +144 -0
- package/dist/utility/wrun/wrun-leg-fetch.util.js +212 -0
- package/dist/utility/wrun/wrun-leg-stream-classes.d.ts +73 -0
- package/dist/utility/wrun/wrun-leg-stream-classes.js +86 -0
- package/dist/utility/wrun/wrun-levels-child.util.d.ts +101 -6
- package/dist/utility/wrun/wrun-levels-child.util.js +335 -157
- package/dist/utility/wrun/wrun-memory-clamp.util.d.ts +33 -0
- package/dist/utility/wrun/wrun-memory-clamp.util.js +146 -0
- package/dist/utility/wrun/wrun-odds-template-market.util.d.ts +51 -0
- package/dist/utility/wrun/wrun-odds-template-market.util.js +251 -0
- package/dist/utility/wrun/wrun-opra-flow.leaf.d.ts +65 -0
- package/dist/utility/wrun/wrun-opra-flow.leaf.js +94 -0
- package/dist/utility/wrun/wrun-opra-lane.util.d.ts +47 -0
- package/dist/utility/wrun/wrun-opra-lane.util.js +58 -0
- package/dist/utility/wrun/wrun-opra-stats.leaf.d.ts +30 -0
- package/dist/utility/wrun/wrun-opra-stats.leaf.js +96 -0
- package/dist/utility/wrun/wrun-opra-underlying.util.d.ts +12 -0
- package/dist/utility/wrun/wrun-opra-underlying.util.js +1 -0
- package/dist/utility/wrun/wrun-option-contract-flow.util.d.ts +142 -0
- package/dist/utility/wrun/wrun-option-contract-flow.util.js +451 -0
- package/dist/utility/wrun/wrun-option-knobs.util.d.ts +43 -0
- package/dist/utility/wrun/wrun-option-knobs.util.js +81 -0
- package/dist/utility/wrun/wrun-option-prints.util.d.ts +144 -0
- package/dist/utility/wrun/wrun-option-prints.util.js +356 -0
- package/dist/utility/wrun/wrun-option-summary-lane.util.d.ts +102 -0
- package/dist/utility/wrun/wrun-option-summary-lane.util.js +143 -0
- package/dist/utility/wrun/wrun-options-chain.util.d.ts +308 -0
- package/dist/utility/wrun/wrun-options-chain.util.js +502 -0
- package/dist/utility/wrun/wrun-overlay-identity.util.d.ts +9 -4
- package/dist/utility/wrun/wrun-overlay-identity.util.js +16 -6
- package/dist/utility/wrun/wrun-param-map.util.d.ts +298 -0
- package/dist/utility/wrun/wrun-param-map.util.js +581 -0
- package/dist/utility/wrun/wrun-pin-spelling.util.d.ts +149 -0
- package/dist/utility/wrun/wrun-pin-spelling.util.js +523 -0
- package/dist/utility/wrun/wrun-pin-venues.util.d.ts +116 -0
- package/dist/utility/wrun/wrun-pin-venues.util.js +320 -0
- package/dist/utility/wrun/wrun-pinned-interval.util.d.ts +20 -0
- package/dist/utility/wrun/wrun-pinned-interval.util.js +47 -0
- package/dist/utility/wrun/wrun-present-bits.util.d.ts +37 -0
- package/dist/utility/wrun/wrun-present-bits.util.js +73 -0
- package/dist/utility/wrun/wrun-protocol-pending.util.d.ts +33 -0
- package/dist/utility/wrun/wrun-protocol-pending.util.js +57 -0
- package/dist/utility/wrun/wrun-refusal.util.d.ts +41 -1
- package/dist/utility/wrun/wrun-refusal.util.js +69 -2
- package/dist/utility/wrun/wrun-registry-errors.util.d.ts +1 -14
- package/dist/utility/wrun/wrun-registry-errors.util.js +0 -16
- package/dist/utility/wrun/wrun-row-source.d.ts +158 -0
- package/dist/utility/wrun/wrun-row-source.js +75 -0
- package/dist/utility/wrun/wrun-run-health.util.d.ts +155 -0
- package/dist/utility/wrun/wrun-run-health.util.js +273 -0
- package/dist/utility/wrun/wrun-socket-row-source.d.ts +439 -0
- package/dist/utility/wrun/wrun-socket-row-source.js +1689 -0
- package/dist/utility/wrun/wrun-socket-session-losses.util.d.ts +18 -0
- package/dist/utility/wrun/wrun-socket-session-losses.util.js +25 -0
- package/dist/utility/wrun/wrun-source-rows.util.d.ts +911 -0
- package/dist/utility/wrun/wrun-source-rows.util.js +2597 -0
- package/dist/utility/wrun/wrun-tape-source.util.d.ts +82 -0
- package/dist/utility/wrun/wrun-tape-source.util.js +151 -0
- package/dist/utility/wrun/wrun-tier-grid.util.d.ts +137 -0
- package/dist/utility/wrun/wrun-tier-grid.util.js +279 -0
- package/dist/utility/wrun/wrun-trades-lane.util.d.ts +52 -0
- package/dist/utility/wrun/wrun-trades-lane.util.js +58 -0
- package/dist/utility/wrun/wrun-volume-profile-lane.util.d.ts +41 -0
- package/dist/utility/wrun/wrun-volume-profile-lane.util.js +66 -0
- package/dist/utility/wrun-display-name.util.d.ts +33 -0
- package/dist/utility/wrun-display-name.util.js +64 -0
- package/dist/workers/constants/kscript-transport-codes.d.ts +15 -0
- package/dist/workers/constants/kscript-transport-codes.js +15 -0
- package/dist/workers/constants/socket-slots.d.ts +574 -0
- package/dist/workers/constants/socket-slots.js +539 -0
- package/dist/workers/utils/number.worker.util.d.ts +5 -0
- package/dist/workers/utils/number.worker.util.js +10 -0
- package/dist/workers/utils/time.worker.util.d.ts +12 -0
- package/dist/workers/utils/time.worker.util.js +24 -0
- package/dist/workers/utils/volume-profile.worker.util.d.ts +200 -0
- package/dist/workers/utils/volume-profile.worker.util.js +631 -0
- package/package.json +10 -4
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The param maps a host other than the browser receives for an Indicator's settings (WRUN-INPUTS-PLAN
|
|
3
|
+
* 1.5, 1.9 delta d; moved out of the hosted glue in lane parity U16, which deleted the glue and kept
|
|
4
|
+
* these: the alerts arm and the socket row source's createScript still send them). The alerts engine
|
|
5
|
+
* (the arm's `wrun.params`) and the cloud executor (the createScript `settings`) read a NUMBER for
|
|
6
|
+
* every declared sheet param but a text param (its words) and a market picker (its market text), so
|
|
7
|
+
* both lanes derive their map here through the run path's own derivation
|
|
8
|
+
* (`wrunParamValuesFromSettings`: a toggle 1/0, a colour its packed number, a time its epoch seconds,
|
|
9
|
+
* composites and colour arrays as their members). Style page rows (`__style__*`) and virtual
|
|
10
|
+
* composite rows never enter it.
|
|
11
|
+
*
|
|
12
|
+
* Frozen contract C1 (WRUN-PARITY-PLAN, the param map): "a `color[]` row
|
|
13
|
+
* carries `members: string[]`; the hosted map holds one packed colour per
|
|
14
|
+
* member name (`wrunParamValuesFromSettings` packs element i of the row's
|
|
15
|
+
* value exactly as the browser lane does); a `host: 'symbol'` param rides as
|
|
16
|
+
* its `EXCHANGE:SYMBOL` text when off its default, else 0; a `host:
|
|
17
|
+
* 'interval'` param rides as the select index; a text param rides as its
|
|
18
|
+
* capped plain text; everything else as today." So the lane that holds only
|
|
19
|
+
* the overlay's rows (the cloud createScript, sent from the kScript socket
|
|
20
|
+
* worker) carries a colour-array pick member for member, and the cloud
|
|
21
|
+
* applies every host pick the browser applies: a source or timeframe pick
|
|
22
|
+
* from its select index, a market pick from its text (the bound inputs'
|
|
23
|
+
* pins, as the browser's host writes do), while the module's slot for a
|
|
24
|
+
* market picker stays 0 on every host. tests/utility/wrun/
|
|
25
|
+
* wrun-lane-param-parity.spec.ts holds the two lanes' init args equal over
|
|
26
|
+
* every dev fixture sheet.
|
|
27
|
+
*
|
|
28
|
+
* The market text rides by capability, not by deploy order: a server that
|
|
29
|
+
* did not advertise `wrun-symbol-text-v1` (WRUN_SYMBOL_TEXT_SERVER_CAP, in
|
|
30
|
+
* the `hello` that opens its socket) reads the param through Number() and
|
|
31
|
+
* refuses the text, which would stop the overlay drawing. So every map takes
|
|
32
|
+
* the caller's server caps and, without that cap, sends a market pick as 0
|
|
33
|
+
* (the pre-C1 map: the cloud draws the sheet's own market). Only the cloud
|
|
34
|
+
* createScript knows its socket's caps (the kScript socket worker reads the
|
|
35
|
+
* hello); Run once in Cloud, the alert arm and the browser run's arm
|
|
36
|
+
* identity pass none, so the three agree with each other.
|
|
37
|
+
*
|
|
38
|
+
* The alerts engine applies a source pick (the index into the nine source
|
|
39
|
+
* words, kscript-alerts c7cce1b) and no other host pick: it plans from the
|
|
40
|
+
* sheet's own pins, so `wrunHostParamOverride` names the first timeframe or
|
|
41
|
+
* symbol setting that left its default for the alert arm to refuse.
|
|
42
|
+
*
|
|
43
|
+
* The settings record (lane parity C4, wrunHostedSettingsRecord) replaces
|
|
44
|
+
* the map for the cloud createScript on a socket whose server advertised
|
|
45
|
+
* `wrun-settings-v1`: the overlay's own setting values over the sheet's
|
|
46
|
+
* params, each in the dialog's storage type as the browser run reads it
|
|
47
|
+
* (a shape the dialog never writes, such as a time in epoch milliseconds,
|
|
48
|
+
* normalized through the same derivation), beside the packed host fills
|
|
49
|
+
* (wrunHostedHostFill), which the cloud resolves through the SDK as the
|
|
50
|
+
* browser does. The map stays for every other server (and the alert arm)
|
|
51
|
+
* until the backend floor (the env flip to `shared-v1`) retires it.
|
|
52
|
+
*
|
|
53
|
+
* Worker-safe on purpose (types, the colour helpers and the inputs util
|
|
54
|
+
* only): the cloud createScript is sent from the kScript socket worker,
|
|
55
|
+
* whose runtime graph may not reach i18n or the chart constants
|
|
56
|
+
* (tests/workers/worker-runtime-boundary.spec.ts), which the alert identity
|
|
57
|
+
* module does.
|
|
58
|
+
*/
|
|
59
|
+
import type { WrunIndicatorMetadata, WrunMetadataParam, WrunParamHostFill } from '../../interfaces/wrun-runtime.interface.js';
|
|
60
|
+
import { type WrunHostFillContext } from './wrun-script-inputs.util.js';
|
|
61
|
+
/** The hosted lane's param map: packed finite numbers; for a `type: "text"`
|
|
62
|
+
* param (wrun-5) the chart's own run value for the setting (each host
|
|
63
|
+
* applies the plain-text rule and the byte cap again on its side and
|
|
64
|
+
* refuses a non-string by name, so the chart always sends a string); for a
|
|
65
|
+
* market picker (`host: 'symbol'`) its `EXCHANGE:SYMBOL` text when the pick
|
|
66
|
+
* left its default and the server admits the text, else 0 (C1,
|
|
67
|
+
* wrunHostedSymbolValue). */
|
|
68
|
+
export type WrunHostedParams = Record<string, number | string>;
|
|
69
|
+
/** The string a hosted lane receives for a text param: the value the chart
|
|
70
|
+
* runs with (wrunTextParamValue: the stored words plain and within the
|
|
71
|
+
* row's max_bytes, else the declared words). A stored value over the cap
|
|
72
|
+
* (saved under a wider cap) therefore goes out as the declared words, the
|
|
73
|
+
* words the chart draws with, instead of a string the host would refuse
|
|
74
|
+
* for a value the user cannot see. The arm identity stays consistent: the
|
|
75
|
+
* alerts engine mints over the string it receives. */
|
|
76
|
+
export declare function wrunHostedTextValue(param: Pick<WrunMetadataParam, 'text_default' | 'max_bytes' | 'multiline'>, raw: unknown): string;
|
|
77
|
+
/**
|
|
78
|
+
* A sheet's `params` slice rebuilt from an overlay's declared inputs
|
|
79
|
+
* (`settings.scriptInputs`, buildWrunScriptInputs' flat list): the lane
|
|
80
|
+
* that holds no sheet (the cloud createScript runs in the worker, which
|
|
81
|
+
* never sees the registry's metadata) derives its numbers through the same
|
|
82
|
+
* function the run path uses. One row per typed param (composite members
|
|
83
|
+
* are rows of their own, so a range, list, session or unit arrives as its
|
|
84
|
+
* members; a select keeps its options and their labels, a multi its labels,
|
|
85
|
+
* one per bit); a colour-array row arrives as its member params (C1,
|
|
86
|
+
* colorArrayMemberParams); a virtual composite, a Style page row, a
|
|
87
|
+
* divider, a note and an om line-style knob (a select whose values are style
|
|
88
|
+
* names, never numbers) stand for no param and are left to the host's own
|
|
89
|
+
* defaults. A host-filled param keeps its `host_fill` word (by its generated
|
|
90
|
+
* name), so the host context fills it like the run path does. A text row
|
|
91
|
+
* (wrun-5) rebuilds its words, byte cap and line mode, so the lane caps and
|
|
92
|
+
* cleans the typed value exactly as the dialog did. A market picker keeps its
|
|
93
|
+
* declared market (`symbol_default`, the row's default), so a pick of that
|
|
94
|
+
* market rides as 0 like on the sheet.
|
|
95
|
+
*/
|
|
96
|
+
export declare function wrunSheetParamsFromDeclarations(declarations: unknown): WrunMetadataParam[];
|
|
97
|
+
/**
|
|
98
|
+
* The param map a hosted lane sends (the alerts arm, the cloud createScript):
|
|
99
|
+
* the run path's own derivation over the sheet (packed finite numbers, sheet
|
|
100
|
+
* params only, never a Style page row or a virtual composite), or over the
|
|
101
|
+
* params rebuilt from the overlay's declared inputs when no sheet is at hand.
|
|
102
|
+
* A non-finite value is dropped (the host falls back to the package default).
|
|
103
|
+
* `host` is the chart market the overlay runs on (its tick size and price
|
|
104
|
+
* precision, its four facts): the host-filled params take their values from
|
|
105
|
+
* it, the way the browser run fills them, so a tick-based threshold or a
|
|
106
|
+
* market-kind branch evaluates like the chart; without it they ride at their
|
|
107
|
+
* declared default (0 = unavailable). A text
|
|
108
|
+
* param (wrun-5) rides as the chart's run value (the stored words plain and
|
|
109
|
+
* within max_bytes, else the declared words): the alerts engine and the
|
|
110
|
+
* cloud executor apply the plain-text rule and the byte cap again on their
|
|
111
|
+
* side and refuse a non-string by name, then serve the words through their
|
|
112
|
+
* text channel, so they never refuse what the chart runs. A colour array
|
|
113
|
+
* rides as its members' packed colours and a market picker as its
|
|
114
|
+
* `EXCHANGE:SYMBOL` text when the pick left its default and `serverCaps`
|
|
115
|
+
* admit the text, else 0 (C1 and its rollout rule, see the module header):
|
|
116
|
+
* the cloud pins the bound inputs to that market like the browser host does,
|
|
117
|
+
* and the alert arm refuses a moved market before this map reaches the
|
|
118
|
+
* alerts engine (wrunHostParamOverride). No caps (the default) is a server
|
|
119
|
+
* that admits no text.
|
|
120
|
+
*/
|
|
121
|
+
export declare function wrunHostedParamValues(settings: unknown, metadata?: Pick<WrunIndicatorMetadata, 'params'>, host?: WrunHostFillContext, serverCaps?: readonly string[]): WrunHostedParams;
|
|
122
|
+
/**
|
|
123
|
+
* The hosted param map (wrunHostedParamValues) over numbers already derived from the same settings
|
|
124
|
+
* (wrunParamValuesFromSettings): a run that derived its values stamps what it computed without
|
|
125
|
+
* deriving them twice. Text params read the settings, a market picker its pick while `serverCaps`
|
|
126
|
+
* admit the text (C1: its `EXCHANGE:SYMBOL` text when off its default, else 0,
|
|
127
|
+
* wrunHostedSymbolValue) and its number otherwise (0, the map before C1), numbers the values (a
|
|
128
|
+
* colour array's members included), a non-finite one dropped. The one per-param rule every hosted
|
|
129
|
+
* map passes through: the cloud createScript (with its socket's caps), Run once in Cloud, the alert
|
|
130
|
+
* arm and the browser run's arm identity (wrun-overlay-run.util, these three with none) all read
|
|
131
|
+
* it, so they agree on every param under the same caps.
|
|
132
|
+
*/
|
|
133
|
+
export declare function wrunHostedParamsOf(sheet: Pick<WrunIndicatorMetadata, 'params'>, settings: unknown, values: Readonly<Record<string, number>>, serverCaps?: readonly string[]): WrunHostedParams;
|
|
134
|
+
/** The settings record a hosted createScript sends to a server that admits it (lane parity C4): the
|
|
135
|
+
* overlay's flat setting values over the sheet's params in the settings dialog's storage types (a
|
|
136
|
+
* colour its word, a toggle its boolean, a select its option, a time epoch seconds, a multi its
|
|
137
|
+
* bitmask, any other number a number, a market pick its `EXCHANGE:SYMBOL` text, a text its words, a
|
|
138
|
+
* colour array ONE list under its row's key), never a derived map. */
|
|
139
|
+
export type WrunHostedSettingsRecord = Record<string, unknown>;
|
|
140
|
+
/**
|
|
141
|
+
* The settings record of an overlay (C4): for each sheet param its declared inputs stand for (the
|
|
142
|
+
* params the map rebuilds, wrunSheetParamsFromDeclarations: never a Style page row, a virtual
|
|
143
|
+
* composite or a line-style knob), the value the overlay holds in the dialog's storage type, read
|
|
144
|
+
* the browser run's way (wrunHostedStoredValue), so the kit resolves every slot to the browser's init
|
|
145
|
+
* arg whatever shape the setting was stored in. A colour array rides as its row's colour list under
|
|
146
|
+
* the row's key (every `color[]` row the overlay holds, members named or not): kscript-backend lays
|
|
147
|
+
* element i onto the sheet's member i before the kit resolves the params (wrunSharedSettings), the
|
|
148
|
+
* browser run's own read. A text param rides as the words the chart runs with (wrunHostedTextValue:
|
|
149
|
+
* the stored words plain and within the row's byte cap, else the declared words), so the cloud never
|
|
150
|
+
* refuses words the chart draws. A host-filled param rides in the host fills (wrunHostedHostFill)
|
|
151
|
+
* instead, and a param the overlay holds no value for is absent: the cloud resolves it at the
|
|
152
|
+
* sheet's own default, as the browser run does.
|
|
153
|
+
*/
|
|
154
|
+
export declare function wrunHostedSettingsRecord(settings: unknown): WrunHostedSettingsRecord;
|
|
155
|
+
/** A settings-record session's `changeSettings` patch (C5): the record of the settings asked for,
|
|
156
|
+
* whole, and `null` for every name the record the cloud holds has and the asked one lacks (a value
|
|
157
|
+
* the settings dropped: kscript-backend resets a null param to its default, a null colour array's
|
|
158
|
+
* members to theirs). The cloud merges the patch over its record, so the two end equal. */
|
|
159
|
+
export declare function wrunHostedSettingsPatch(held: unknown, asked: unknown): WrunHostedSettingsRecord;
|
|
160
|
+
/** The host fills a hosted run sends beside its settings record (C4 `hostFill`): the packed chart
|
|
161
|
+
* context by the kit's host-fill word, the record the SDK's resolver fills `host_fill` params from
|
|
162
|
+
* (its `hostFills`). */
|
|
163
|
+
export type WrunHostedHostFill = Partial<Record<WrunParamHostFill, number>>;
|
|
164
|
+
/** Each host-fill word and the chart context key it packs from (paramRunValue's reads), in the kit's
|
|
165
|
+
* order: the market's tick size and decimals, the chart's interval seconds and five colours, the
|
|
166
|
+
* market's five facts. */
|
|
167
|
+
export declare const WRUN_HOST_FILL_WORDS: readonly [readonly ["tick_size", "tickSize"], readonly ["price_precision", "pricePrecision"], readonly ["interval_sec", "intervalSec"], readonly ["bg_color", "bgColor"], readonly ["fg_color", "fgColor"], readonly ["up_color", "upColor"], readonly ["down_color", "downColor"], readonly ["grid_color", "gridColor"], readonly ["kind", "kind"], readonly ["point_value", "pointValue"], readonly ["zone", "zone"], readonly ["quote_is_usd", "quoteIsUsd"], readonly ["session_open", "sessionOpen"]];
|
|
168
|
+
/** The host fills of a chart context (`wrunHostFill`, the pane's market and chart words, packed the
|
|
169
|
+
* way the browser run fills them) by host-fill word: finite numbers only, in the kit's order; none
|
|
170
|
+
* (undefined) for no context or a context holding none. */
|
|
171
|
+
export declare function wrunHostedHostFill(context: WrunHostFillContext | undefined): WrunHostedHostFill | undefined;
|
|
172
|
+
/** What a hosted createScript sends as `settings` (and `hostFill`) for an overlay with declared
|
|
173
|
+
* inputs. */
|
|
174
|
+
export interface WrunHostedCreateSettings {
|
|
175
|
+
settings: WrunHostedParams | WrunHostedSettingsRecord;
|
|
176
|
+
hostFill?: WrunHostedHostFill;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* A hosted overlay's createScript settings under its socket's server caps (C4 and its rollout
|
|
180
|
+
* amendment): to a server whose hello admitted the settings record (`wrun-settings-v1`) the record
|
|
181
|
+
* (wrunHostedSettingsRecord) and the chart context's host fills beside it (`hostFill`, always an
|
|
182
|
+
* object: `{}` when no context is known, since its presence is what marks the create as a record);
|
|
183
|
+
* to any other the numeric param map with the context folded in (wrunHostedParamValues, the market
|
|
184
|
+
* text by its own cap) and no `hostFill`, exactly as before. The kScript socket worker's one call.
|
|
185
|
+
*/
|
|
186
|
+
export declare function wrunHostedCreateSettings(settings: unknown, host: WrunHostFillContext | undefined, serverCaps?: readonly string[]): WrunHostedCreateSettings;
|
|
187
|
+
/** True when an overlay's declared inputs hold a market picker whose setting left its default: the
|
|
188
|
+
* one value of the hosted map the symbol-text cap changes (wrunHostedSymbolValue). The kScript
|
|
189
|
+
* socket worker keys a hosted session's caps on it (needsRecreation): a createScript built before
|
|
190
|
+
* its socket's hello landed sent such a pick as 0, and only an overlay holding one recreates once
|
|
191
|
+
* the hello admits the text. */
|
|
192
|
+
export declare function wrunHostedSymbolPicked(settings: unknown): boolean;
|
|
193
|
+
/** Each chart-colour host fill and the `wrunHostFill` key it packs from (paramRunValue's reads), in
|
|
194
|
+
* the fixed order. */
|
|
195
|
+
declare const CHART_COLOR_HOST_FILLS: readonly [readonly ["bg_color", "bgColor"], readonly ["fg_color", "fgColor"], readonly ["up_color", "upColor"], readonly ["down_color", "downColor"], readonly ["grid_color", "gridColor"]];
|
|
196
|
+
/** A packed chart colour's key in the host fill (`wrunHostFill`). */
|
|
197
|
+
export type WrunHostedChartColorKey = (typeof CHART_COLOR_HOST_FILLS)[number][1];
|
|
198
|
+
/** The packed chart colours (their `wrunHostFill` keys) the hosted map of an overlay's declared
|
|
199
|
+
* inputs carries, in the fixed order: one per chart-colour host fill its rows declare
|
|
200
|
+
* (`chart.bg_color()`, `chart.fg_color()`, `chart.up_color()`, `chart.down_color()`,
|
|
201
|
+
* `chart.grid_color()`, recovered by the names the kit generates, as the map rebuilds them); none
|
|
202
|
+
* for an overlay that reads no chart colour. The theme pass reruns a sheet by the same host-fill
|
|
203
|
+
* words (wrun-chart-context-theme.util), and the kScript socket worker keys a hosted session on
|
|
204
|
+
* these colours only (needsRecreation). */
|
|
205
|
+
export declare function wrunHostedChartColorKeys(settings: unknown): WrunHostedChartColorKey[];
|
|
206
|
+
/** The key the main thread puts the chart's coin under, beside a hosted
|
|
207
|
+
* overlay's settings and their `wrunHostFill` (technical-script
|
|
208
|
+
* getReqPayload). The kScript socket worker lifts the coin to the
|
|
209
|
+
* createScript payload's top-level `coin`, the one place the cloud's planner
|
|
210
|
+
* reads it from, and never sends the key itself. */
|
|
211
|
+
export declare const WRUN_CHART_COIN_KEY = "wrunChartCoin";
|
|
212
|
+
/** The chart's coin as a hosted run sends it (Run once's rule over the chart
|
|
213
|
+
* metadata's `coin`): a non-empty string, else none. The cloud plans an
|
|
214
|
+
* implied volatility or skew input without a market pin on it and refuses
|
|
215
|
+
* that input by name when the coin is unknown. */
|
|
216
|
+
export declare function wrunChartCoin(value: unknown): string | undefined;
|
|
217
|
+
/** One spot ETF of the chart's coin as a hosted run sends it (`wrunFacts.etfFunds`): the ticker
|
|
218
|
+
* the chart's own holdings and premium lanes send the transport as the fund symbol, and the
|
|
219
|
+
* issuer the premium lane asks with, whenever the directory lists one. */
|
|
220
|
+
export interface WrunEtfFund {
|
|
221
|
+
ticker: string;
|
|
222
|
+
issuer?: string;
|
|
223
|
+
}
|
|
224
|
+
/** The chart's effective session as a hosted run sends it (`wrunFacts.sessionType`). */
|
|
225
|
+
export type WrunHostedSessionType = 'regular' | 'extended';
|
|
226
|
+
/** The facts a hosted run sends the cloud (`wrunFacts`, on createScript and Run once), which holds
|
|
227
|
+
* no market directory: the chart's session type and its market's lane fills on every hosted run,
|
|
228
|
+
* and two independent lists, each its own lane's lookup in the directory's order, each present only
|
|
229
|
+
* when it is known and the sheet needs it, never empty. */
|
|
230
|
+
export interface WrunHostedFacts {
|
|
231
|
+
/** The ETF_FLOW listing's tickers for the chart's coin, for a sheet reading `etf_flow`. */
|
|
232
|
+
etfFlowTickers?: string[];
|
|
233
|
+
/** The ETF_METRICS listing's funds for the chart's coin, for a sheet reading `etf_holdings` or
|
|
234
|
+
* `etf_premium`. */
|
|
235
|
+
etfFunds?: WrunEtfFund[];
|
|
236
|
+
/** The chart's effective session (`isEquityExtendedSession` over the chart metadata's
|
|
237
|
+
* `sessionType`, unset reading as regular): the cloud closes a US-listing leg's bars on it the
|
|
238
|
+
* way the browser does (regular 09:30 to 16:00 New York, or extended). Sent for every chart on
|
|
239
|
+
* every venue whenever the hosted wire cap rides; never a needed fact. */
|
|
240
|
+
sessionType?: WrunHostedSessionType;
|
|
241
|
+
/** The chart market's kind, point value and zone codes under the shared host's own `hostFills`
|
|
242
|
+
* words (wrunHostedLaneFills): the facts the market's size unit reads, which a lane's
|
|
243
|
+
* `currency: "Auto"` (kit 0.69.0, the point value and the zone) and an input's `needed_by` (kit
|
|
244
|
+
* 0.72.0, the kind too) resolve on. The cloud plans the lanes from its own copy of the sheet and
|
|
245
|
+
* resolves both itself (wrunMarketSizeUnit); the chart resolves nothing for it. Sent for every
|
|
246
|
+
* chart whenever the hosted wire cap rides, like the session type. */
|
|
247
|
+
hostFills?: WrunHostedLaneFills;
|
|
248
|
+
}
|
|
249
|
+
/** The chart market's facts a hosted run's cloud reads its size unit from (`wrunFacts.hostFills`). */
|
|
250
|
+
export interface WrunHostedLaneFills {
|
|
251
|
+
/** The market's kind code (WRUN_MARKET_KINDS): absent from a carrier value an older build wrote. */
|
|
252
|
+
kind?: number;
|
|
253
|
+
point_value: number;
|
|
254
|
+
zone: number;
|
|
255
|
+
}
|
|
256
|
+
/** The fact lists this client sends and a refusal may ask for (the `wrunFacts` list keys), in their
|
|
257
|
+
* fixed order. The session type is no list: it always rides, so no refusal names it. */
|
|
258
|
+
export declare const WRUN_HOSTED_FACT_KINDS: readonly ["etfFlowTickers", "etfFunds"];
|
|
259
|
+
export type WrunHostedFactKind = (typeof WRUN_HOSTED_FACT_KINDS)[number];
|
|
260
|
+
/** The lists a refusal's `needsFacts` (`details.wrunRefusal.needsFacts` on the cloud's error frame
|
|
261
|
+
* for a list an input reads that was absent) names and this client knows, once each, in the fixed
|
|
262
|
+
* order: none for a value that is not an array; an unknown name is dropped. */
|
|
263
|
+
export declare function readWrunNeededFacts(value: unknown): WrunHostedFactKind[];
|
|
264
|
+
/** The key the main thread puts a hosted overlay's facts under, beside its settings (technical-script
|
|
265
|
+
* getReqPayload), only beside the hosted wire cap: the chart's session type and lane fills always, the ETF lists
|
|
266
|
+
* (through wrun-etf-funds.util) only for a sheet that reads an ETF source. The kScript socket
|
|
267
|
+
* worker lifts them to the createScript payload's `wrunFacts`, the one place the cloud reads them
|
|
268
|
+
* from, and never sends the key itself. */
|
|
269
|
+
export declare const WRUN_HOSTED_FACTS_KEY = "wrunHostedFacts";
|
|
270
|
+
/** The facts a carrier value holds, as the cloud receives them, in one fixed key order: each list
|
|
271
|
+
* shape-checked on its own (`readTickers`, `readFunds`) and present only when it holds an entry,
|
|
272
|
+
* the session type only when it is one of its two words, the lane fills only when the point value
|
|
273
|
+
* and the zone are finite numbers (the kind beside them when it is one too). A value that is not a
|
|
274
|
+
* record, or holds none of the four, reads as none (undefined): the wire never carries an empty list
|
|
275
|
+
* or an empty `wrunFacts`. */
|
|
276
|
+
export declare function readWrunHostedFacts(value: unknown): WrunHostedFacts | undefined;
|
|
277
|
+
/** A carrier value as session identity: the facts it holds, spelled exactly ('' for none), the
|
|
278
|
+
* session type included. Two settings whose identities differ ask for different hosted sessions:
|
|
279
|
+
* a list that landed or changed, or a chart flipped between Regular and Extended. */
|
|
280
|
+
export declare function wrunHostedFactsIdentity(value: unknown): string;
|
|
281
|
+
/** The row label of a param as the settings dialog shows it (wrunRowLabel,
|
|
282
|
+
* formatWrunRowLabel): its `label`, else its name read as words
|
|
283
|
+
* (`show_labels` -> "Show labels"); a description is never a label (for a
|
|
284
|
+
* port it is the encoding legend written for agents). */
|
|
285
|
+
export declare function wrunParamRowLabel(param: Pick<WrunMetadataParam, 'name' | 'label'>): string;
|
|
286
|
+
/** The alert arm's refusal only (C1 narrowed it): the first host-applied
|
|
287
|
+
* param the alerts engine cannot apply whose setting left its declared
|
|
288
|
+
* default, undefined when the arm may proceed. It is no hosted-lane rule any
|
|
289
|
+
* more: the cloud applies a timeframe pick (its select index over the
|
|
290
|
+
* sheet's `interval_param`) and a market pick (its text, wrunHostedSymbolValue)
|
|
291
|
+
* as the browser host does, so the Cloud dialog shows those rows like the
|
|
292
|
+
* browser one, with no lane hint. The alerts engine (kscript-alerts) still
|
|
293
|
+
* plans from the sheet's own pins: a source pick arms (it rides as its index
|
|
294
|
+
* into the nine source words, which the engine reads; hlcc4 is 8), a
|
|
295
|
+
* timeframe or symbol pick refuses, since the armed rule would silently
|
|
296
|
+
* evaluate another series than the chart draws. */
|
|
297
|
+
export declare function wrunHostParamOverride(metadata: Pick<WrunIndicatorMetadata, 'params'>, settings: unknown): WrunMetadataParam | undefined;
|
|
298
|
+
export {};
|