@bitcobblers/wod-wiki-lang 0.59.2244 → 0.59.2245

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/dist/index.d.cts CHANGED
@@ -67,7 +67,7 @@ declare class Registry<T extends {
67
67
  * parser attach to a statement so that compiler strategies and the label
68
68
  * composer can make decisions. Hints used to live in a parallel `Set<string>`
69
69
  * channel on the statement; they now flow through the single metric channel
70
- * as {@link MetricType.Hint} metrics.
70
+ * as `MetricType.Hint` metrics.
71
71
  *
72
72
  * Hint metrics are deliberately excluded from display resolution
73
73
  * (see ownership `legacyAdapters`) and from runtime block fragments
@@ -2191,6 +2191,7 @@ declare class NextAction implements IRuntimeAction {
2191
2191
  * When provided (e.g., from PopBlockAction carrying createdAt), these options
2192
2192
  * are merged with a snapshot clock. When omitted (e.g., user-triggered next),
2193
2193
  * a fresh snapshot clock is created.
2194
+ * @param now Clock provider used when minting a fresh snapshot clock.
2194
2195
  */
2195
2196
  constructor(options?: BlockLifecycleOptions | undefined, now?: INowProvider);
2196
2197
  do(runtime: IRuntimeContext): IRuntimeAction[];
package/dist/index.d.ts CHANGED
@@ -67,7 +67,7 @@ declare class Registry<T extends {
67
67
  * parser attach to a statement so that compiler strategies and the label
68
68
  * composer can make decisions. Hints used to live in a parallel `Set<string>`
69
69
  * channel on the statement; they now flow through the single metric channel
70
- * as {@link MetricType.Hint} metrics.
70
+ * as `MetricType.Hint` metrics.
71
71
  *
72
72
  * Hint metrics are deliberately excluded from display resolution
73
73
  * (see ownership `legacyAdapters`) and from runtime block fragments
@@ -2191,6 +2191,7 @@ declare class NextAction implements IRuntimeAction {
2191
2191
  * When provided (e.g., from PopBlockAction carrying createdAt), these options
2192
2192
  * are merged with a snapshot clock. When omitted (e.g., user-triggered next),
2193
2193
  * a fresh snapshot clock is created.
2194
+ * @param now Clock provider used when minting a fresh snapshot clock.
2194
2195
  */
2195
2196
  constructor(options?: BlockLifecycleOptions | undefined, now?: INowProvider);
2196
2197
  do(runtime: IRuntimeContext): IRuntimeAction[];
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { UnitRegistry, hintsToContainer, hasHint, CONSUMED_HINTS, wallClockNow, TimeSpan, metricPresentation, hintMetric, resolveTagContributions, tagReferenceFor, tagContributionMetrics, tagMarkerType, collectTagReferences, tagMarkerSlugs, getHints } from './chunk-WALDXZIA.mjs';
2
- export { CONSUMED_HINTS, CONSUMED_HINT_KEYS, MAX_TAG_CONTRIBUTION_DEPTH, STANDARD_UNITS, TAG_MARKER_PREFIX, TimeSpan, UnitRegistry, UnitSet, buildTooltip, calculateDuration, computeColumnLabel, computeLabel, createBrowserRuntimeNow, createPolicy as createMetricPresentationPolicy, findTagContributionCycles, formatDurationCompact, formatDurationSmart, formatSecondsHHMMSS, formatSecondsMMSS, formatTime, formatTimeHHMMSS, formatTimeMMSS, formatTimePrecise, formatTimestamp, frozenNow, getHints, getRuntimeNowMs, hasHint, hintMetric, hintsToContainer, interpolateSessionClockFrame, isRequiredCountdownLocked, isTimeLikeMetric, metricPresentation, observeSessionClockInputs, projectLiveSessionTelemetry, projectScriptOutline, projectSessionClock, resolveTagContributions, resolveVisualPolarity, roundToTenth, synthesizeWorkoutFormat, tagContributionMetrics, tagMarkerSlug, tagMarkerSlugs, tagMarkerType, wallClockNow } from './chunk-WALDXZIA.mjs';
1
+ import { UnitRegistry, hintsToContainer, hasHint, CONSUMED_HINTS, wallClockNow, TimeSpan, metricPresentation, hintMetric, resolveTagContributions, tagReferenceFor, tagContributionMetrics, tagMarkerType, collectTagReferences, tagMarkerSlugs, getHints } from './chunk-L6BUOOKE.mjs';
2
+ export { CONSUMED_HINTS, CONSUMED_HINT_KEYS, MAX_TAG_CONTRIBUTION_DEPTH, STANDARD_UNITS, TAG_MARKER_PREFIX, TimeSpan, UnitRegistry, UnitSet, buildTooltip, calculateDuration, computeColumnLabel, computeLabel, createBrowserRuntimeNow, createPolicy as createMetricPresentationPolicy, findTagContributionCycles, formatDurationCompact, formatDurationSmart, formatSecondsHHMMSS, formatSecondsMMSS, formatTime, formatTimeHHMMSS, formatTimeMMSS, formatTimePrecise, formatTimestamp, frozenNow, getHints, getRuntimeNowMs, hasHint, hintMetric, hintsToContainer, interpolateSessionClockFrame, isRequiredCountdownLocked, isTimeLikeMetric, metricPresentation, observeSessionClockInputs, projectLiveSessionTelemetry, projectScriptOutline, projectSessionClock, resolveTagContributions, resolveVisualPolarity, roundToTenth, synthesizeWorkoutFormat, tagContributionMetrics, tagMarkerSlug, tagMarkerSlugs, tagMarkerType, wallClockNow } from './chunk-L6BUOOKE.mjs';
3
3
  import { MetricType, MetricContainer, BlockKey, REFERENCE_METADATA_KEY, ParsedCodeStatement, getReferenceMetadata, TAG_REFERENCE_METADATA_KEY, parseFrontmatter, getScalar, OutputStatement, valueKindOf, normalizeFieldPath } from '@bitcobblers/wod-wiki-core';
4
4
  import { LRParser } from '@lezer/lr';
5
5
  import { LRLanguage, LanguageSupport, syntaxTree } from '@codemirror/language';
@@ -4732,7 +4732,7 @@ function createReferenceIndex(catalog, materialize) {
4732
4732
  const resolvedEquipment = resolveEquipmentValues(values);
4733
4733
  equipmentRefs = resolvedEquipment.refs;
4734
4734
  diagnostics.push(...resolvedEquipment.diagnostics);
4735
- if (effortEntity?.equipment?.length) {
4735
+ if (effortEntity && effortEntity.equipment?.length) {
4736
4736
  const definitionSlugs = new Set(effortEntity.equipment);
4737
4737
  const authoredSlugs = equipmentRefs.map((ref) => ref.slug);
4738
4738
  if (authoredSlugs.length > 0 && authoredSlugs.some((slug) => !definitionSlugs.has(slug))) {
@@ -5065,6 +5065,7 @@ var NextAction = class {
5065
5065
  * When provided (e.g., from PopBlockAction carrying createdAt), these options
5066
5066
  * are merged with a snapshot clock. When omitted (e.g., user-triggered next),
5067
5067
  * a fresh snapshot clock is created.
5068
+ * @param now Clock provider used when minting a fresh snapshot clock.
5068
5069
  */
5069
5070
  constructor(options, now = wallClockNow) {
5070
5071
  this.options = options;