@bitcobblers/wod-wiki-wql 0.37.2139 → 0.38.2141
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.cjs +66 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +29 -15
- package/dist/index.d.ts +29 -15
- package/dist/index.mjs +52 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -2,8 +2,8 @@ import { LRParser } from '@lezer/lr';
|
|
|
2
2
|
import { LanguageSupport, HighlightStyle, LRLanguage } from '@codemirror/language';
|
|
3
3
|
import { Completion, CompletionContext, CompletionResult } from '@codemirror/autocomplete';
|
|
4
4
|
import { Extension } from '@codemirror/state';
|
|
5
|
-
import { SummaryCoverage, BlockIndexRow, Note, EventRecord, PageNote, Page, AnalyticsDataPoint, ResultOrigin, StoredOutputStatement, NoteBlockChange } from '@bitcobblers/wod-wiki-core';
|
|
6
|
-
export { SYSTEM_DEFAULT_OUTPUT_UNIT, UnitConversionError, convertViaCatalog, dimensionKeyOf, lookupUnit, systemDefaultUnit } from '@bitcobblers/wod-wiki-core';
|
|
5
|
+
import { SummaryCoverage, BlockIndexRow, Note, EventRecord, PageNote, Page, AnalyticsDataPoint, NotebookId, ResultOrigin, StoredOutputStatement, NoteBlockChange } from '@bitcobblers/wod-wiki-core';
|
|
6
|
+
export { DEFAULT_NOTEBOOK_SLUGS, DefaultNotebookSlug, NotebookId, SYSTEM_DEFAULT_OUTPUT_UNIT, UnitConversionError, convertViaCatalog, dimensionKeyOf, isNoteEditable, lookupUnit, notebookSlugFromId, systemDefaultUnit, toNotebookId } from '@bitcobblers/wod-wiki-core';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* WQL vocabulary — the single owner of the WQL dictionary: aggregators,
|
|
@@ -39,7 +39,7 @@ type WqlTagKey = (typeof WQL_TAG_KEYS)[number];
|
|
|
39
39
|
/** Content-plane keys — meaningful only on find:/rows:. On an aggregate
|
|
40
40
|
* they are a category error (a fact row has no note text or source);
|
|
41
41
|
* every other non-structural key is a candidate custom dimension. */
|
|
42
|
-
declare const WQL_CONTENT_ONLY_KEYS: readonly ["type", "text", "has", "source", "catalog"];
|
|
42
|
+
declare const WQL_CONTENT_ONLY_KEYS: readonly ["type", "text", "has", "source", "catalog", "notebook"];
|
|
43
43
|
/** Filter keys the effort registry can resolve (runFindEffort) — anything
|
|
44
44
|
* else on find:effort is ignored and reported as an advisory. */
|
|
45
45
|
declare const WQL_EFFORT_FILTER_KEYS: readonly ["effort", "discipline", "intensity", "origin", "text"];
|
|
@@ -532,11 +532,6 @@ declare function rowsParseError(raw: string): string;
|
|
|
532
532
|
* source/function head or legacy `agg:metric` head parses as a single query.
|
|
533
533
|
*/
|
|
534
534
|
declare function parseQuery(raw: string): AnyParsedQuery;
|
|
535
|
-
/**
|
|
536
|
-
* C2 Compatibility normalizer: rewrites legacy query syntax into modern WQL.
|
|
537
|
-
* - Legacy trailing `in <scope>` rewrites into `{source:<scope>}`
|
|
538
|
-
* Returns the normalized query string and any deprecation advisories.
|
|
539
|
-
*/
|
|
540
535
|
declare function normalizeWql(raw: string): {
|
|
541
536
|
query: string;
|
|
542
537
|
advisories: string[];
|
|
@@ -1189,6 +1184,24 @@ declare function catalogOfItem(item: {
|
|
|
1189
1184
|
sourceId?: string;
|
|
1190
1185
|
catalog?: string;
|
|
1191
1186
|
}): string | undefined;
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* Resolve the canonical `notebook/{slug}` container for any Note or BlockIndexRow.
|
|
1190
|
+
* Unifies explicit `notebookId`, default notebooks (`notebook/journal`, `notebook/playground`,
|
|
1191
|
+
* `notebook/guides`), `notebook:{slug}` tags, and seed catalogs (`notebook/{catalog}`).
|
|
1192
|
+
*/
|
|
1193
|
+
declare function notebookOfItem(item: {
|
|
1194
|
+
id?: string;
|
|
1195
|
+
noteId?: string;
|
|
1196
|
+
sourceId?: string;
|
|
1197
|
+
type?: string;
|
|
1198
|
+
seedOrigin?: string;
|
|
1199
|
+
seedChunkId?: string;
|
|
1200
|
+
sourcePath?: string;
|
|
1201
|
+
catalog?: string;
|
|
1202
|
+
notebookId?: string;
|
|
1203
|
+
tags?: readonly string[];
|
|
1204
|
+
}): NotebookId | undefined;
|
|
1192
1205
|
/** Match a single row against one source filter value. The `journal` kind matches
|
|
1193
1206
|
* rows with no sourceId, the literal 'journal', or UUID / journal/date lineage
|
|
1194
1207
|
* pointing to the original note. Lineage also passes corpus exclusions below.
|
|
@@ -1216,6 +1229,7 @@ declare function sourceMatches(item: {
|
|
|
1216
1229
|
seedChunkId?: string;
|
|
1217
1230
|
sourcePath?: string;
|
|
1218
1231
|
catalog?: string;
|
|
1232
|
+
notebookId?: string;
|
|
1219
1233
|
}, kind: string): boolean;
|
|
1220
1234
|
interface FindQueryResult {
|
|
1221
1235
|
parsed: ParsedFindQuery;
|
|
@@ -2122,13 +2136,13 @@ declare function migrateLegacyDashboardBodies(raw: string): string;
|
|
|
2122
2136
|
* Auto-generated build version metadata.
|
|
2123
2137
|
* Do not edit directly; updated by scripts/stamp-version.ts
|
|
2124
2138
|
*/
|
|
2125
|
-
declare const VERSION = "0.
|
|
2126
|
-
declare const GIT_SHA = "
|
|
2127
|
-
declare const BUILD_TIME = "2026-10-
|
|
2139
|
+
declare const VERSION = "0.38.2141";
|
|
2140
|
+
declare const GIT_SHA = "b9b40a7";
|
|
2141
|
+
declare const BUILD_TIME = "2026-10-19T12:09:48.802Z";
|
|
2128
2142
|
declare const SEMVER: {
|
|
2129
|
-
readonly version: "0.
|
|
2130
|
-
readonly gitSha: "
|
|
2131
|
-
readonly buildTime: "2026-10-
|
|
2143
|
+
readonly version: "0.38.2141";
|
|
2144
|
+
readonly gitSha: "b9b40a7";
|
|
2145
|
+
readonly buildTime: "2026-10-19T12:09:48.802Z";
|
|
2132
2146
|
};
|
|
2133
2147
|
|
|
2134
|
-
export { type Aggregator, type AnyParsedQuery, BUILD_TIME, type BlockQueryStore, CONTENT_GROUPING_DIMENSIONS, type CatalogFieldSuggestion, type CatalogValueSuggestion, type ComparisonOp, DASHBOARD_GRID_MAX_COLS, DASHBOARD_WIDGET_TYPES, DEFAULT_DASHBOARD_TITLE, DISCIPLINE_FACTORS, type DashboardDocument, type DashboardMeta, type DashboardParsedSection, type DashboardSectionInput, type DashboardToken, type DashboardWidget, type DashboardWidgetType, type DocumentAssignment, type DocumentDefaults, type DocumentFormula, type DocumentOutput, type DocumentResult, EFFORT_DISCIPLINES, type EffortDiscipline, type EffortQueryStore, type EventRowIdentity, type EventStore, type ExecutionContext, type FamilyRunPayload, type FindOptions, type FindPredicate, type FindQueryResult, type FormulaEvaluation, type FormulaEvaluator, GIT_SHA, type IEffort, type IFieldCatalog, type LinkWidget, type MetricPredicate, type NoteContainer, type NoteQueryStore, type NoteRelationBundle, type OperandValue, type OutputUnitResolution, PLANNED_WIDGET_TYPES, type PageSourceEntry, PageSourceRegistry, type ParsedAggregateQuery, type ParsedDocument, type ParsedFindQuery, type ParsedFrontmatter, type ParsedPipelineQuery, type ParsedRowsQuery, type ParsedWqlRollupSuffix, type ParsedWqlSuffixes, type ParsedWqlWindowSuffix, type PipelineOptions, type PipelineResult, type PipelineSink, type PipelineSource, type PointwiseInputs, type QueryDocument, QueryDocumentRunner$1 as QueryDocumentRunner, type QueryDocumentRunnerHost, type QueryDocumentRunnerOptions, type QueryOptions, type QueryResult, QueryService, type QueryServiceStores, type QueryWidgetSuffix, type QueryWindow, type ResolvedRange, type RowsPipes, type RowsQueryResult, type RowsRun, SEMVER, type Series, type SeriesPoint, QueryDocumentRunner as SharedQueryDocumentRunner, type SharedRunnerOptions, type SummaryFactIdentity, type SummaryFactSourceOutput, type TabularColumn, type TabularGroup, type TabularResult, type TagFilter, type TagValue, UNASSIGNED, type UnitBearingFact, type UnitFamily, VERSION, WQL_AGGREGATORS, WQL_CALC_TARGETS, WQL_CHART_HEADS, WQL_COMPARISON_OPS, WQL_CONTENT_FILTER_KEYS, WQL_CONTENT_ONLY_KEYS, WQL_DISPLAY_UNITS, WQL_EFFORT_FILTER_KEYS, WQL_FIND_TARGETS, WQL_FUNCTION_HEADS, WQL_GRAINS, WQL_INTENSITY_TIERS, WQL_KEYWORDS, WQL_METRIC_AGGREGATES, WQL_METRIC_FAMILIES, WQL_NOTE_DEFAULT_SOURCES, WQL_RESULT_PLANES, WQL_ROLLUP_PERIODS, WQL_SOURCES, WQL_SOURCE_HEADS, WQL_SOURCE_HEAD_SCOPES, WQL_SOURCE_VALUES, WQL_STANDARD_DATASETS, WQL_TAG_KEYS, WQL_TYPED_TAG_KEYS, WQL_TYPE_HEADS, WQL_VIRTUAL_DIMS, type WidgetOpResult, type WidgetSpan, type WidgetSpec, type WqlAggregator, type WqlCalcTarget, type WqlChartHead, type WqlComparisonOp, type WqlCompletionOptions, type WqlContentFilterKey, type WqlDisplayUnit, type WqlDomainOrder, type WqlDomainPredicate, type WqlDomainReadResult, type WqlFindTarget, type WqlFunctionHead, type WqlGrain, type WqlIntensityTier, type WqlKeyword, type WqlMetricAggregate, type WqlMetricFamily, type WqlResultPlane, type WqlRollupPeriod, type WqlSource, type WqlSourceHead, type WqlSourceValue, type WqlStandardDataset, type WqlTagKey, type WqlTypedTagKey, type WqlVirtualDim, allowedFilterTypesForTarget, appendSuffixes, appendWidget, buildDashboardDocument, buildDashboardScaffold, buildDrillDownQuery, captureContext, catalogOfItem, civilDateAdd, civilDateDiff, civilDateOf, civilDatesCoveredByRange, civilMonday, consumesRollupFacts, convertDisplay, createBuiltinFormulaEvaluator, dashboardSlug, defaultTokenValues, disciplineFactorFor, duplicateWidget, eventsToStoredLogs, extractDashboardTokens, extractFrontmatterTags, findTargetAdvisories, getList, getScalar, getUnitFamily, inRange, isAggregateQuery, isDashboardMeta, isDashboardWidgetType, isEffortDiscipline, isFindQuery, isPipelineQuery, isProposedMetric, migrateLegacyDashboardBodies, moveWidget, normalizeSummaryFacts, normalizeWql, parseDashboardNote, parseDocument, parseFlatProperties, parseFrontmatter, parseFrontmatterBody, parseFrontmatterCategories, parseFrontmatterProps, parseQuery, parseQueryWidgetSuffix, parseWqlSuffixes, projectEventToFacts, referencedTokens, removeWidget, renderWidgetGroup, resizeWidget, resolveCanonicalMetricKey, resolveOutputUnit, resolveWidgetType, resolveWindowRange, rowsParseError, serialize, serializeDocument, serializeFrontmatter, setDashboardTokenValue, sourceMatches, splitAtWhere, stripFrontmatter, substituteTokens, substituteTokens$1 as substituteTokensRaw, supportsWqlFilterKey, systemTimeZone, toEventRows, toSummaryEventRows, unknownTokensMessage, unknownWidgetTypeMessage, updateWidget, widgetBodyLine, widgetFenceTag, wql, wqlCompletion, wqlCompletionSource, wqlFilterKeys, wqlGroupingDimensions, wqlHighlightStyle, wqlLanguage, parser as wqlParser, wql_parser_terms as wqlTerms, zonedNoon, zonedStartOfDay };
|
|
2148
|
+
export { type Aggregator, type AnyParsedQuery, BUILD_TIME, type BlockQueryStore, CONTENT_GROUPING_DIMENSIONS, type CatalogFieldSuggestion, type CatalogValueSuggestion, type ComparisonOp, DASHBOARD_GRID_MAX_COLS, DASHBOARD_WIDGET_TYPES, DEFAULT_DASHBOARD_TITLE, DISCIPLINE_FACTORS, type DashboardDocument, type DashboardMeta, type DashboardParsedSection, type DashboardSectionInput, type DashboardToken, type DashboardWidget, type DashboardWidgetType, type DocumentAssignment, type DocumentDefaults, type DocumentFormula, type DocumentOutput, type DocumentResult, EFFORT_DISCIPLINES, type EffortDiscipline, type EffortQueryStore, type EventRowIdentity, type EventStore, type ExecutionContext, type FamilyRunPayload, type FindOptions, type FindPredicate, type FindQueryResult, type FormulaEvaluation, type FormulaEvaluator, GIT_SHA, type IEffort, type IFieldCatalog, type LinkWidget, type MetricPredicate, type NoteContainer, type NoteQueryStore, type NoteRelationBundle, type OperandValue, type OutputUnitResolution, PLANNED_WIDGET_TYPES, type PageSourceEntry, PageSourceRegistry, type ParsedAggregateQuery, type ParsedDocument, type ParsedFindQuery, type ParsedFrontmatter, type ParsedPipelineQuery, type ParsedRowsQuery, type ParsedWqlRollupSuffix, type ParsedWqlSuffixes, type ParsedWqlWindowSuffix, type PipelineOptions, type PipelineResult, type PipelineSink, type PipelineSource, type PointwiseInputs, type QueryDocument, QueryDocumentRunner$1 as QueryDocumentRunner, type QueryDocumentRunnerHost, type QueryDocumentRunnerOptions, type QueryOptions, type QueryResult, QueryService, type QueryServiceStores, type QueryWidgetSuffix, type QueryWindow, type ResolvedRange, type RowsPipes, type RowsQueryResult, type RowsRun, SEMVER, type Series, type SeriesPoint, QueryDocumentRunner as SharedQueryDocumentRunner, type SharedRunnerOptions, type SummaryFactIdentity, type SummaryFactSourceOutput, type TabularColumn, type TabularGroup, type TabularResult, type TagFilter, type TagValue, UNASSIGNED, type UnitBearingFact, type UnitFamily, VERSION, WQL_AGGREGATORS, WQL_CALC_TARGETS, WQL_CHART_HEADS, WQL_COMPARISON_OPS, WQL_CONTENT_FILTER_KEYS, WQL_CONTENT_ONLY_KEYS, WQL_DISPLAY_UNITS, WQL_EFFORT_FILTER_KEYS, WQL_FIND_TARGETS, WQL_FUNCTION_HEADS, WQL_GRAINS, WQL_INTENSITY_TIERS, WQL_KEYWORDS, WQL_METRIC_AGGREGATES, WQL_METRIC_FAMILIES, WQL_NOTE_DEFAULT_SOURCES, WQL_RESULT_PLANES, WQL_ROLLUP_PERIODS, WQL_SOURCES, WQL_SOURCE_HEADS, WQL_SOURCE_HEAD_SCOPES, WQL_SOURCE_VALUES, WQL_STANDARD_DATASETS, WQL_TAG_KEYS, WQL_TYPED_TAG_KEYS, WQL_TYPE_HEADS, WQL_VIRTUAL_DIMS, type WidgetOpResult, type WidgetSpan, type WidgetSpec, type WqlAggregator, type WqlCalcTarget, type WqlChartHead, type WqlComparisonOp, type WqlCompletionOptions, type WqlContentFilterKey, type WqlDisplayUnit, type WqlDomainOrder, type WqlDomainPredicate, type WqlDomainReadResult, type WqlFindTarget, type WqlFunctionHead, type WqlGrain, type WqlIntensityTier, type WqlKeyword, type WqlMetricAggregate, type WqlMetricFamily, type WqlResultPlane, type WqlRollupPeriod, type WqlSource, type WqlSourceHead, type WqlSourceValue, type WqlStandardDataset, type WqlTagKey, type WqlTypedTagKey, type WqlVirtualDim, allowedFilterTypesForTarget, appendSuffixes, appendWidget, buildDashboardDocument, buildDashboardScaffold, buildDrillDownQuery, captureContext, catalogOfItem, civilDateAdd, civilDateDiff, civilDateOf, civilDatesCoveredByRange, civilMonday, consumesRollupFacts, convertDisplay, createBuiltinFormulaEvaluator, dashboardSlug, defaultTokenValues, disciplineFactorFor, duplicateWidget, eventsToStoredLogs, extractDashboardTokens, extractFrontmatterTags, findTargetAdvisories, getList, getScalar, getUnitFamily, inRange, isAggregateQuery, isDashboardMeta, isDashboardWidgetType, isEffortDiscipline, isFindQuery, isPipelineQuery, isProposedMetric, migrateLegacyDashboardBodies, moveWidget, normalizeSummaryFacts, normalizeWql, notebookOfItem, parseDashboardNote, parseDocument, parseFlatProperties, parseFrontmatter, parseFrontmatterBody, parseFrontmatterCategories, parseFrontmatterProps, parseQuery, parseQueryWidgetSuffix, parseWqlSuffixes, projectEventToFacts, referencedTokens, removeWidget, renderWidgetGroup, resizeWidget, resolveCanonicalMetricKey, resolveOutputUnit, resolveWidgetType, resolveWindowRange, rowsParseError, serialize, serializeDocument, serializeFrontmatter, setDashboardTokenValue, sourceMatches, splitAtWhere, stripFrontmatter, substituteTokens, substituteTokens$1 as substituteTokensRaw, supportsWqlFilterKey, systemTimeZone, toEventRows, toSummaryEventRows, unknownTokensMessage, unknownWidgetTypeMessage, updateWidget, widgetBodyLine, widgetFenceTag, wql, wqlCompletion, wqlCompletionSource, wqlFilterKeys, wqlGroupingDimensions, wqlHighlightStyle, wqlLanguage, parser as wqlParser, wql_parser_terms as wqlTerms, zonedNoon, zonedStartOfDay };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { LRParser } from '@lezer/lr';
|
|
|
2
2
|
import { LanguageSupport, HighlightStyle, LRLanguage } from '@codemirror/language';
|
|
3
3
|
import { Completion, CompletionContext, CompletionResult } from '@codemirror/autocomplete';
|
|
4
4
|
import { Extension } from '@codemirror/state';
|
|
5
|
-
import { SummaryCoverage, BlockIndexRow, Note, EventRecord, PageNote, Page, AnalyticsDataPoint, ResultOrigin, StoredOutputStatement, NoteBlockChange } from '@bitcobblers/wod-wiki-core';
|
|
6
|
-
export { SYSTEM_DEFAULT_OUTPUT_UNIT, UnitConversionError, convertViaCatalog, dimensionKeyOf, lookupUnit, systemDefaultUnit } from '@bitcobblers/wod-wiki-core';
|
|
5
|
+
import { SummaryCoverage, BlockIndexRow, Note, EventRecord, PageNote, Page, AnalyticsDataPoint, NotebookId, ResultOrigin, StoredOutputStatement, NoteBlockChange } from '@bitcobblers/wod-wiki-core';
|
|
6
|
+
export { DEFAULT_NOTEBOOK_SLUGS, DefaultNotebookSlug, NotebookId, SYSTEM_DEFAULT_OUTPUT_UNIT, UnitConversionError, convertViaCatalog, dimensionKeyOf, isNoteEditable, lookupUnit, notebookSlugFromId, systemDefaultUnit, toNotebookId } from '@bitcobblers/wod-wiki-core';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* WQL vocabulary — the single owner of the WQL dictionary: aggregators,
|
|
@@ -39,7 +39,7 @@ type WqlTagKey = (typeof WQL_TAG_KEYS)[number];
|
|
|
39
39
|
/** Content-plane keys — meaningful only on find:/rows:. On an aggregate
|
|
40
40
|
* they are a category error (a fact row has no note text or source);
|
|
41
41
|
* every other non-structural key is a candidate custom dimension. */
|
|
42
|
-
declare const WQL_CONTENT_ONLY_KEYS: readonly ["type", "text", "has", "source", "catalog"];
|
|
42
|
+
declare const WQL_CONTENT_ONLY_KEYS: readonly ["type", "text", "has", "source", "catalog", "notebook"];
|
|
43
43
|
/** Filter keys the effort registry can resolve (runFindEffort) — anything
|
|
44
44
|
* else on find:effort is ignored and reported as an advisory. */
|
|
45
45
|
declare const WQL_EFFORT_FILTER_KEYS: readonly ["effort", "discipline", "intensity", "origin", "text"];
|
|
@@ -532,11 +532,6 @@ declare function rowsParseError(raw: string): string;
|
|
|
532
532
|
* source/function head or legacy `agg:metric` head parses as a single query.
|
|
533
533
|
*/
|
|
534
534
|
declare function parseQuery(raw: string): AnyParsedQuery;
|
|
535
|
-
/**
|
|
536
|
-
* C2 Compatibility normalizer: rewrites legacy query syntax into modern WQL.
|
|
537
|
-
* - Legacy trailing `in <scope>` rewrites into `{source:<scope>}`
|
|
538
|
-
* Returns the normalized query string and any deprecation advisories.
|
|
539
|
-
*/
|
|
540
535
|
declare function normalizeWql(raw: string): {
|
|
541
536
|
query: string;
|
|
542
537
|
advisories: string[];
|
|
@@ -1189,6 +1184,24 @@ declare function catalogOfItem(item: {
|
|
|
1189
1184
|
sourceId?: string;
|
|
1190
1185
|
catalog?: string;
|
|
1191
1186
|
}): string | undefined;
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* Resolve the canonical `notebook/{slug}` container for any Note or BlockIndexRow.
|
|
1190
|
+
* Unifies explicit `notebookId`, default notebooks (`notebook/journal`, `notebook/playground`,
|
|
1191
|
+
* `notebook/guides`), `notebook:{slug}` tags, and seed catalogs (`notebook/{catalog}`).
|
|
1192
|
+
*/
|
|
1193
|
+
declare function notebookOfItem(item: {
|
|
1194
|
+
id?: string;
|
|
1195
|
+
noteId?: string;
|
|
1196
|
+
sourceId?: string;
|
|
1197
|
+
type?: string;
|
|
1198
|
+
seedOrigin?: string;
|
|
1199
|
+
seedChunkId?: string;
|
|
1200
|
+
sourcePath?: string;
|
|
1201
|
+
catalog?: string;
|
|
1202
|
+
notebookId?: string;
|
|
1203
|
+
tags?: readonly string[];
|
|
1204
|
+
}): NotebookId | undefined;
|
|
1192
1205
|
/** Match a single row against one source filter value. The `journal` kind matches
|
|
1193
1206
|
* rows with no sourceId, the literal 'journal', or UUID / journal/date lineage
|
|
1194
1207
|
* pointing to the original note. Lineage also passes corpus exclusions below.
|
|
@@ -1216,6 +1229,7 @@ declare function sourceMatches(item: {
|
|
|
1216
1229
|
seedChunkId?: string;
|
|
1217
1230
|
sourcePath?: string;
|
|
1218
1231
|
catalog?: string;
|
|
1232
|
+
notebookId?: string;
|
|
1219
1233
|
}, kind: string): boolean;
|
|
1220
1234
|
interface FindQueryResult {
|
|
1221
1235
|
parsed: ParsedFindQuery;
|
|
@@ -2122,13 +2136,13 @@ declare function migrateLegacyDashboardBodies(raw: string): string;
|
|
|
2122
2136
|
* Auto-generated build version metadata.
|
|
2123
2137
|
* Do not edit directly; updated by scripts/stamp-version.ts
|
|
2124
2138
|
*/
|
|
2125
|
-
declare const VERSION = "0.
|
|
2126
|
-
declare const GIT_SHA = "
|
|
2127
|
-
declare const BUILD_TIME = "2026-10-
|
|
2139
|
+
declare const VERSION = "0.38.2141";
|
|
2140
|
+
declare const GIT_SHA = "b9b40a7";
|
|
2141
|
+
declare const BUILD_TIME = "2026-10-19T12:09:48.802Z";
|
|
2128
2142
|
declare const SEMVER: {
|
|
2129
|
-
readonly version: "0.
|
|
2130
|
-
readonly gitSha: "
|
|
2131
|
-
readonly buildTime: "2026-10-
|
|
2143
|
+
readonly version: "0.38.2141";
|
|
2144
|
+
readonly gitSha: "b9b40a7";
|
|
2145
|
+
readonly buildTime: "2026-10-19T12:09:48.802Z";
|
|
2132
2146
|
};
|
|
2133
2147
|
|
|
2134
|
-
export { type Aggregator, type AnyParsedQuery, BUILD_TIME, type BlockQueryStore, CONTENT_GROUPING_DIMENSIONS, type CatalogFieldSuggestion, type CatalogValueSuggestion, type ComparisonOp, DASHBOARD_GRID_MAX_COLS, DASHBOARD_WIDGET_TYPES, DEFAULT_DASHBOARD_TITLE, DISCIPLINE_FACTORS, type DashboardDocument, type DashboardMeta, type DashboardParsedSection, type DashboardSectionInput, type DashboardToken, type DashboardWidget, type DashboardWidgetType, type DocumentAssignment, type DocumentDefaults, type DocumentFormula, type DocumentOutput, type DocumentResult, EFFORT_DISCIPLINES, type EffortDiscipline, type EffortQueryStore, type EventRowIdentity, type EventStore, type ExecutionContext, type FamilyRunPayload, type FindOptions, type FindPredicate, type FindQueryResult, type FormulaEvaluation, type FormulaEvaluator, GIT_SHA, type IEffort, type IFieldCatalog, type LinkWidget, type MetricPredicate, type NoteContainer, type NoteQueryStore, type NoteRelationBundle, type OperandValue, type OutputUnitResolution, PLANNED_WIDGET_TYPES, type PageSourceEntry, PageSourceRegistry, type ParsedAggregateQuery, type ParsedDocument, type ParsedFindQuery, type ParsedFrontmatter, type ParsedPipelineQuery, type ParsedRowsQuery, type ParsedWqlRollupSuffix, type ParsedWqlSuffixes, type ParsedWqlWindowSuffix, type PipelineOptions, type PipelineResult, type PipelineSink, type PipelineSource, type PointwiseInputs, type QueryDocument, QueryDocumentRunner$1 as QueryDocumentRunner, type QueryDocumentRunnerHost, type QueryDocumentRunnerOptions, type QueryOptions, type QueryResult, QueryService, type QueryServiceStores, type QueryWidgetSuffix, type QueryWindow, type ResolvedRange, type RowsPipes, type RowsQueryResult, type RowsRun, SEMVER, type Series, type SeriesPoint, QueryDocumentRunner as SharedQueryDocumentRunner, type SharedRunnerOptions, type SummaryFactIdentity, type SummaryFactSourceOutput, type TabularColumn, type TabularGroup, type TabularResult, type TagFilter, type TagValue, UNASSIGNED, type UnitBearingFact, type UnitFamily, VERSION, WQL_AGGREGATORS, WQL_CALC_TARGETS, WQL_CHART_HEADS, WQL_COMPARISON_OPS, WQL_CONTENT_FILTER_KEYS, WQL_CONTENT_ONLY_KEYS, WQL_DISPLAY_UNITS, WQL_EFFORT_FILTER_KEYS, WQL_FIND_TARGETS, WQL_FUNCTION_HEADS, WQL_GRAINS, WQL_INTENSITY_TIERS, WQL_KEYWORDS, WQL_METRIC_AGGREGATES, WQL_METRIC_FAMILIES, WQL_NOTE_DEFAULT_SOURCES, WQL_RESULT_PLANES, WQL_ROLLUP_PERIODS, WQL_SOURCES, WQL_SOURCE_HEADS, WQL_SOURCE_HEAD_SCOPES, WQL_SOURCE_VALUES, WQL_STANDARD_DATASETS, WQL_TAG_KEYS, WQL_TYPED_TAG_KEYS, WQL_TYPE_HEADS, WQL_VIRTUAL_DIMS, type WidgetOpResult, type WidgetSpan, type WidgetSpec, type WqlAggregator, type WqlCalcTarget, type WqlChartHead, type WqlComparisonOp, type WqlCompletionOptions, type WqlContentFilterKey, type WqlDisplayUnit, type WqlDomainOrder, type WqlDomainPredicate, type WqlDomainReadResult, type WqlFindTarget, type WqlFunctionHead, type WqlGrain, type WqlIntensityTier, type WqlKeyword, type WqlMetricAggregate, type WqlMetricFamily, type WqlResultPlane, type WqlRollupPeriod, type WqlSource, type WqlSourceHead, type WqlSourceValue, type WqlStandardDataset, type WqlTagKey, type WqlTypedTagKey, type WqlVirtualDim, allowedFilterTypesForTarget, appendSuffixes, appendWidget, buildDashboardDocument, buildDashboardScaffold, buildDrillDownQuery, captureContext, catalogOfItem, civilDateAdd, civilDateDiff, civilDateOf, civilDatesCoveredByRange, civilMonday, consumesRollupFacts, convertDisplay, createBuiltinFormulaEvaluator, dashboardSlug, defaultTokenValues, disciplineFactorFor, duplicateWidget, eventsToStoredLogs, extractDashboardTokens, extractFrontmatterTags, findTargetAdvisories, getList, getScalar, getUnitFamily, inRange, isAggregateQuery, isDashboardMeta, isDashboardWidgetType, isEffortDiscipline, isFindQuery, isPipelineQuery, isProposedMetric, migrateLegacyDashboardBodies, moveWidget, normalizeSummaryFacts, normalizeWql, parseDashboardNote, parseDocument, parseFlatProperties, parseFrontmatter, parseFrontmatterBody, parseFrontmatterCategories, parseFrontmatterProps, parseQuery, parseQueryWidgetSuffix, parseWqlSuffixes, projectEventToFacts, referencedTokens, removeWidget, renderWidgetGroup, resizeWidget, resolveCanonicalMetricKey, resolveOutputUnit, resolveWidgetType, resolveWindowRange, rowsParseError, serialize, serializeDocument, serializeFrontmatter, setDashboardTokenValue, sourceMatches, splitAtWhere, stripFrontmatter, substituteTokens, substituteTokens$1 as substituteTokensRaw, supportsWqlFilterKey, systemTimeZone, toEventRows, toSummaryEventRows, unknownTokensMessage, unknownWidgetTypeMessage, updateWidget, widgetBodyLine, widgetFenceTag, wql, wqlCompletion, wqlCompletionSource, wqlFilterKeys, wqlGroupingDimensions, wqlHighlightStyle, wqlLanguage, parser as wqlParser, wql_parser_terms as wqlTerms, zonedNoon, zonedStartOfDay };
|
|
2148
|
+
export { type Aggregator, type AnyParsedQuery, BUILD_TIME, type BlockQueryStore, CONTENT_GROUPING_DIMENSIONS, type CatalogFieldSuggestion, type CatalogValueSuggestion, type ComparisonOp, DASHBOARD_GRID_MAX_COLS, DASHBOARD_WIDGET_TYPES, DEFAULT_DASHBOARD_TITLE, DISCIPLINE_FACTORS, type DashboardDocument, type DashboardMeta, type DashboardParsedSection, type DashboardSectionInput, type DashboardToken, type DashboardWidget, type DashboardWidgetType, type DocumentAssignment, type DocumentDefaults, type DocumentFormula, type DocumentOutput, type DocumentResult, EFFORT_DISCIPLINES, type EffortDiscipline, type EffortQueryStore, type EventRowIdentity, type EventStore, type ExecutionContext, type FamilyRunPayload, type FindOptions, type FindPredicate, type FindQueryResult, type FormulaEvaluation, type FormulaEvaluator, GIT_SHA, type IEffort, type IFieldCatalog, type LinkWidget, type MetricPredicate, type NoteContainer, type NoteQueryStore, type NoteRelationBundle, type OperandValue, type OutputUnitResolution, PLANNED_WIDGET_TYPES, type PageSourceEntry, PageSourceRegistry, type ParsedAggregateQuery, type ParsedDocument, type ParsedFindQuery, type ParsedFrontmatter, type ParsedPipelineQuery, type ParsedRowsQuery, type ParsedWqlRollupSuffix, type ParsedWqlSuffixes, type ParsedWqlWindowSuffix, type PipelineOptions, type PipelineResult, type PipelineSink, type PipelineSource, type PointwiseInputs, type QueryDocument, QueryDocumentRunner$1 as QueryDocumentRunner, type QueryDocumentRunnerHost, type QueryDocumentRunnerOptions, type QueryOptions, type QueryResult, QueryService, type QueryServiceStores, type QueryWidgetSuffix, type QueryWindow, type ResolvedRange, type RowsPipes, type RowsQueryResult, type RowsRun, SEMVER, type Series, type SeriesPoint, QueryDocumentRunner as SharedQueryDocumentRunner, type SharedRunnerOptions, type SummaryFactIdentity, type SummaryFactSourceOutput, type TabularColumn, type TabularGroup, type TabularResult, type TagFilter, type TagValue, UNASSIGNED, type UnitBearingFact, type UnitFamily, VERSION, WQL_AGGREGATORS, WQL_CALC_TARGETS, WQL_CHART_HEADS, WQL_COMPARISON_OPS, WQL_CONTENT_FILTER_KEYS, WQL_CONTENT_ONLY_KEYS, WQL_DISPLAY_UNITS, WQL_EFFORT_FILTER_KEYS, WQL_FIND_TARGETS, WQL_FUNCTION_HEADS, WQL_GRAINS, WQL_INTENSITY_TIERS, WQL_KEYWORDS, WQL_METRIC_AGGREGATES, WQL_METRIC_FAMILIES, WQL_NOTE_DEFAULT_SOURCES, WQL_RESULT_PLANES, WQL_ROLLUP_PERIODS, WQL_SOURCES, WQL_SOURCE_HEADS, WQL_SOURCE_HEAD_SCOPES, WQL_SOURCE_VALUES, WQL_STANDARD_DATASETS, WQL_TAG_KEYS, WQL_TYPED_TAG_KEYS, WQL_TYPE_HEADS, WQL_VIRTUAL_DIMS, type WidgetOpResult, type WidgetSpan, type WidgetSpec, type WqlAggregator, type WqlCalcTarget, type WqlChartHead, type WqlComparisonOp, type WqlCompletionOptions, type WqlContentFilterKey, type WqlDisplayUnit, type WqlDomainOrder, type WqlDomainPredicate, type WqlDomainReadResult, type WqlFindTarget, type WqlFunctionHead, type WqlGrain, type WqlIntensityTier, type WqlKeyword, type WqlMetricAggregate, type WqlMetricFamily, type WqlResultPlane, type WqlRollupPeriod, type WqlSource, type WqlSourceHead, type WqlSourceValue, type WqlStandardDataset, type WqlTagKey, type WqlTypedTagKey, type WqlVirtualDim, allowedFilterTypesForTarget, appendSuffixes, appendWidget, buildDashboardDocument, buildDashboardScaffold, buildDrillDownQuery, captureContext, catalogOfItem, civilDateAdd, civilDateDiff, civilDateOf, civilDatesCoveredByRange, civilMonday, consumesRollupFacts, convertDisplay, createBuiltinFormulaEvaluator, dashboardSlug, defaultTokenValues, disciplineFactorFor, duplicateWidget, eventsToStoredLogs, extractDashboardTokens, extractFrontmatterTags, findTargetAdvisories, getList, getScalar, getUnitFamily, inRange, isAggregateQuery, isDashboardMeta, isDashboardWidgetType, isEffortDiscipline, isFindQuery, isPipelineQuery, isProposedMetric, migrateLegacyDashboardBodies, moveWidget, normalizeSummaryFacts, normalizeWql, notebookOfItem, parseDashboardNote, parseDocument, parseFlatProperties, parseFrontmatter, parseFrontmatterBody, parseFrontmatterCategories, parseFrontmatterProps, parseQuery, parseQueryWidgetSuffix, parseWqlSuffixes, projectEventToFacts, referencedTokens, removeWidget, renderWidgetGroup, resizeWidget, resolveCanonicalMetricKey, resolveOutputUnit, resolveWidgetType, resolveWindowRange, rowsParseError, serialize, serializeDocument, serializeFrontmatter, setDashboardTokenValue, sourceMatches, splitAtWhere, stripFrontmatter, substituteTokens, substituteTokens$1 as substituteTokensRaw, supportsWqlFilterKey, systemTimeZone, toEventRows, toSummaryEventRows, unknownTokensMessage, unknownWidgetTypeMessage, updateWidget, widgetBodyLine, widgetFenceTag, wql, wqlCompletion, wqlCompletionSource, wqlFilterKeys, wqlGroupingDimensions, wqlHighlightStyle, wqlLanguage, parser as wqlParser, wql_parser_terms as wqlTerms, zonedNoon, zonedStartOfDay };
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { KNOWN_OUTPUT_TYPES, dimensionKeyOf, convertViaCatalog, systemDefaultUnit, MetricType, valueKindOf, normalizeFieldPath, validateNoteBlocks, fieldRefKey, normalizeFieldComponent } from '@bitcobblers/wod-wiki-core';
|
|
2
|
-
export { SYSTEM_DEFAULT_OUTPUT_UNIT, UnitConversionError, convertViaCatalog, dimensionKeyOf, lookupUnit, systemDefaultUnit } from '@bitcobblers/wod-wiki-core';
|
|
1
|
+
import { KNOWN_OUTPUT_TYPES, dimensionKeyOf, convertViaCatalog, systemDefaultUnit, MetricType, valueKindOf, normalizeFieldPath, toNotebookId, notebookSlugFromId, validateNoteBlocks, fieldRefKey, normalizeFieldComponent } from '@bitcobblers/wod-wiki-core';
|
|
2
|
+
export { DEFAULT_NOTEBOOK_SLUGS, SYSTEM_DEFAULT_OUTPUT_UNIT, UnitConversionError, convertViaCatalog, dimensionKeyOf, isNoteEditable, lookupUnit, notebookSlugFromId, systemDefaultUnit, toNotebookId } from '@bitcobblers/wod-wiki-core';
|
|
3
3
|
import { LRParser } from '@lezer/lr';
|
|
4
4
|
import { LRLanguage, HighlightStyle, LanguageSupport, syntaxHighlighting } from '@codemirror/language';
|
|
5
5
|
import { autocompletion, CompletionContext, startCompletion, snippetCompletion } from '@codemirror/autocomplete';
|
|
@@ -30,7 +30,7 @@ var WQL_TAG_KEYS = [
|
|
|
30
30
|
"result",
|
|
31
31
|
"tags"
|
|
32
32
|
];
|
|
33
|
-
var WQL_CONTENT_ONLY_KEYS = ["type", "text", "has", "source", "catalog"];
|
|
33
|
+
var WQL_CONTENT_ONLY_KEYS = ["type", "text", "has", "source", "catalog", "notebook"];
|
|
34
34
|
var WQL_EFFORT_FILTER_KEYS = ["effort", "discipline", "intensity", "origin", "text"];
|
|
35
35
|
var WQL_VIRTUAL_DIMS = ["day", "week", "session", "round"];
|
|
36
36
|
var WQL_CALC_TARGETS = [
|
|
@@ -128,8 +128,8 @@ var AGGREGATE_TYPES = /* @__PURE__ */ new Set([
|
|
|
128
128
|
"metric"
|
|
129
129
|
]);
|
|
130
130
|
var TARGET_TYPES = {
|
|
131
|
-
note: /* @__PURE__ */ new Set(["text", "catalog", "tag", "effort", ...WQL_TYPED_TAG_KEYS, "type", "page", "source", "note", "time", "groupby", "where"]),
|
|
132
|
-
block: /* @__PURE__ */ new Set(["text", "catalog", "tag", "effort", "type", "source", "note", "time", "groupby", "where"]),
|
|
131
|
+
note: /* @__PURE__ */ new Set(["text", "catalog", "notebook", "tag", "effort", ...WQL_TYPED_TAG_KEYS, "type", "page", "source", "note", "time", "groupby", "where"]),
|
|
132
|
+
block: /* @__PURE__ */ new Set(["text", "catalog", "notebook", "tag", "effort", "type", "source", "note", "time", "groupby", "where"]),
|
|
133
133
|
effort: /* @__PURE__ */ new Set([...WQL_EFFORT_FILTER_KEYS, "groupby"]),
|
|
134
134
|
session: /* @__PURE__ */ new Set(["result", "block", "note", "plane", "time", "groupby"]),
|
|
135
135
|
segment: /* @__PURE__ */ new Set([...TABLE_KEYS, "time", "groupby", "unit"]),
|
|
@@ -597,9 +597,12 @@ function parseQuery(raw) {
|
|
|
597
597
|
}
|
|
598
598
|
return parseSingleQuery(raw);
|
|
599
599
|
}
|
|
600
|
+
function normalizeNotebookFilterText(raw) {
|
|
601
|
+
return raw.replace(/\bnotebook:notebook\/([a-zA-Z0-9_-]+)/g, 'notebook:"notebook/$1"');
|
|
602
|
+
}
|
|
600
603
|
function normalizeWql(raw) {
|
|
601
604
|
const advisories = [];
|
|
602
|
-
let text = raw.trim();
|
|
605
|
+
let text = normalizeNotebookFilterText(raw.trim());
|
|
603
606
|
const { primary, where } = splitAtWhere(text);
|
|
604
607
|
const isFind = primary.startsWith("find:");
|
|
605
608
|
if (isFind) {
|
|
@@ -869,7 +872,8 @@ function cannotParseFind(text) {
|
|
|
869
872
|
return `Cannot parse "${text}". Expected :source{key:value, !key:value}; filters are optional. Optional suffixes include by {dimension}, last <n>d or last <n>w, from YYYY-MM-DD [to YYYY-MM-DD], where <aggregator>:<metric>{filters} <operator> <number>, and | order by <column> | limit <n>. Support depends on the target.`;
|
|
870
873
|
}
|
|
871
874
|
function parseFindQuery(raw, opts) {
|
|
872
|
-
const
|
|
875
|
+
const normalizedRaw = normalizeNotebookFilterText(raw);
|
|
876
|
+
const { text: rawNoPipes, pipes } = extractPipes(normalizedRaw);
|
|
873
877
|
const suffixes = parseWqlSuffixes(rawNoPipes);
|
|
874
878
|
const { where: whereText, window: windowSuffix, legacyScope, groupBy, displayUnit, primaryText: text } = suffixes;
|
|
875
879
|
const win = toQueryWindow(windowSuffix);
|
|
@@ -2898,8 +2902,6 @@ function dedupeById(facts) {
|
|
|
2898
2902
|
}
|
|
2899
2903
|
return out;
|
|
2900
2904
|
}
|
|
2901
|
-
|
|
2902
|
-
// src/QueryService.ts
|
|
2903
2905
|
var NOTE_UUID_RE = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
2904
2906
|
function catalogOfItem(item) {
|
|
2905
2907
|
if (item.catalog) return item.catalog;
|
|
@@ -2911,6 +2913,25 @@ function catalogOfItem(item) {
|
|
|
2911
2913
|
if (!isCollectionOrFeed && !clean.includes("/")) return void 0;
|
|
2912
2914
|
return clean.split("/")[0];
|
|
2913
2915
|
}
|
|
2916
|
+
function notebookOfItem(item) {
|
|
2917
|
+
if (item.notebookId && item.notebookId.trim()) {
|
|
2918
|
+
return toNotebookId(item.notebookId);
|
|
2919
|
+
}
|
|
2920
|
+
if (item.tags) {
|
|
2921
|
+
for (const tag of item.tags) {
|
|
2922
|
+
if (tag.startsWith("notebook:") || tag.startsWith("notebook/")) {
|
|
2923
|
+
const slug = notebookSlugFromId(tag);
|
|
2924
|
+
if (slug) return toNotebookId(slug);
|
|
2925
|
+
}
|
|
2926
|
+
}
|
|
2927
|
+
}
|
|
2928
|
+
if (sourceMatches(item, "playground")) return "notebook/playground";
|
|
2929
|
+
if (sourceMatches(item, "guides")) return "notebook/guides";
|
|
2930
|
+
const cat = catalogOfItem(item);
|
|
2931
|
+
if (cat) return toNotebookId(cat);
|
|
2932
|
+
if (sourceMatches(item, "journal")) return "notebook/journal";
|
|
2933
|
+
return void 0;
|
|
2934
|
+
}
|
|
2914
2935
|
function sourceMatches(item, kind) {
|
|
2915
2936
|
const sourceId = item.sourceId;
|
|
2916
2937
|
if (kind === "all") return !sourceId || WQL_SOURCE_VALUES.some((k) => sourceMatches(item, k));
|
|
@@ -2950,6 +2971,19 @@ function applySourceFilter(items, filters) {
|
|
|
2950
2971
|
}
|
|
2951
2972
|
return items;
|
|
2952
2973
|
}
|
|
2974
|
+
function applyNotebookFilter(items, filters) {
|
|
2975
|
+
for (const filter of filters) {
|
|
2976
|
+
if (filter.key !== "notebook") continue;
|
|
2977
|
+
const wanted = new Set(filter.values.map((v) => toNotebookId(v.value)));
|
|
2978
|
+
items = items.filter((item) => {
|
|
2979
|
+
const nb = notebookOfItem(item);
|
|
2980
|
+
if (!nb) return filter.negate;
|
|
2981
|
+
const hit = wanted.has(nb);
|
|
2982
|
+
return filter.negate ? !hit : hit;
|
|
2983
|
+
});
|
|
2984
|
+
}
|
|
2985
|
+
return items;
|
|
2986
|
+
}
|
|
2953
2987
|
var DOMAIN_SOURCE_KINDS = {
|
|
2954
2988
|
feed: true,
|
|
2955
2989
|
feeds: true,
|
|
@@ -3723,6 +3757,7 @@ var QueryService = class {
|
|
|
3723
3757
|
});
|
|
3724
3758
|
}
|
|
3725
3759
|
}
|
|
3760
|
+
notes = applyNotebookFilter(notes, parsed.filters);
|
|
3726
3761
|
for (const filter of parsed.filters) {
|
|
3727
3762
|
if (filter.key === "note") {
|
|
3728
3763
|
const wanted = new Set(filter.values.map((v) => v.value));
|
|
@@ -3861,6 +3896,7 @@ var QueryService = class {
|
|
|
3861
3896
|
});
|
|
3862
3897
|
}
|
|
3863
3898
|
}
|
|
3899
|
+
blocks = applyNotebookFilter(blocks, parsed.filters);
|
|
3864
3900
|
for (const filter of parsed.filters) {
|
|
3865
3901
|
if (filter.key === "tags" && !filter.negate) {
|
|
3866
3902
|
const matchingNoteIds = /* @__PURE__ */ new Set();
|
|
@@ -5220,15 +5256,15 @@ ${query}
|
|
|
5220
5256
|
}
|
|
5221
5257
|
|
|
5222
5258
|
// src/version.ts
|
|
5223
|
-
var VERSION = "0.
|
|
5224
|
-
var GIT_SHA = "
|
|
5225
|
-
var BUILD_TIME = "2026-10-
|
|
5259
|
+
var VERSION = "0.38.2141";
|
|
5260
|
+
var GIT_SHA = "b9b40a7";
|
|
5261
|
+
var BUILD_TIME = "2026-10-19T12:09:48.802Z";
|
|
5226
5262
|
var SEMVER = {
|
|
5227
|
-
version: "0.
|
|
5228
|
-
gitSha: "
|
|
5229
|
-
buildTime: "2026-10-
|
|
5263
|
+
version: "0.38.2141",
|
|
5264
|
+
gitSha: "b9b40a7",
|
|
5265
|
+
buildTime: "2026-10-19T12:09:48.802Z"
|
|
5230
5266
|
};
|
|
5231
5267
|
|
|
5232
|
-
export { BUILD_TIME, CONTENT_GROUPING_DIMENSIONS, DASHBOARD_GRID_MAX_COLS, DASHBOARD_WIDGET_TYPES, DEFAULT_DASHBOARD_TITLE, DISCIPLINE_FACTORS, EFFORT_DISCIPLINES, GIT_SHA, PLANNED_WIDGET_TYPES, PageSourceRegistry, QueryDocumentRunner, QueryService, SEMVER, QueryDocumentRunner2 as SharedQueryDocumentRunner, UNASSIGNED, VERSION, WQL_AGGREGATORS, WQL_CALC_TARGETS, WQL_CHART_HEADS, WQL_COMPARISON_OPS, WQL_CONTENT_FILTER_KEYS, WQL_CONTENT_ONLY_KEYS, WQL_DISPLAY_UNITS, WQL_EFFORT_FILTER_KEYS, WQL_FIND_TARGETS, WQL_FUNCTION_HEADS, WQL_GRAINS, WQL_INTENSITY_TIERS, WQL_KEYWORDS, WQL_METRIC_AGGREGATES, WQL_METRIC_FAMILIES, WQL_NOTE_DEFAULT_SOURCES, WQL_RESULT_PLANES, WQL_ROLLUP_PERIODS, WQL_SOURCES, WQL_SOURCE_HEADS, WQL_SOURCE_HEAD_SCOPES, WQL_SOURCE_VALUES, WQL_STANDARD_DATASETS, WQL_TAG_KEYS, WQL_TYPED_TAG_KEYS, WQL_TYPE_HEADS, WQL_VIRTUAL_DIMS, allowedFilterTypesForTarget, appendSuffixes, appendWidget, buildDashboardDocument, buildDashboardScaffold, buildDrillDownQuery, captureContext, catalogOfItem, civilDateAdd, civilDateDiff, civilDateOf, civilDatesCoveredByRange, civilMonday, consumesRollupFacts, convertDisplay, createBuiltinFormulaEvaluator, dashboardSlug, defaultTokenValues, disciplineFactorFor, duplicateWidget, eventsToStoredLogs, extractDashboardTokens, extractFrontmatterTags, findTargetAdvisories, getList, getScalar, getUnitFamily, inRange, isAggregateQuery, isDashboardMeta, isDashboardWidgetType, isEffortDiscipline, isFindQuery, isPipelineQuery, isProposedMetric, migrateLegacyDashboardBodies, moveWidget, normalizeSummaryFacts, normalizeWql, parseDashboardNote, parseDocument, parseFlatProperties, parseFrontmatter, parseFrontmatterBody, parseFrontmatterCategories, parseFrontmatterProps, parseQuery, parseQueryWidgetSuffix, parseWqlSuffixes, projectEventToFacts, referencedTokens, removeWidget, renderWidgetGroup, resizeWidget, resolveCanonicalMetricKey, resolveOutputUnit, resolveWidgetType, resolveWindowRange, rowsParseError, serialize, serializeDocument, serializeFrontmatter, setDashboardTokenValue, sourceMatches, splitAtWhere, stripFrontmatter, substituteTokens2 as substituteTokens, substituteTokens as substituteTokensRaw, supportsWqlFilterKey, systemTimeZone, toEventRows, toSummaryEventRows, unknownTokensMessage, unknownWidgetTypeMessage, updateWidget, widgetBodyLine, widgetFenceTag, wql, wqlCompletion, wqlCompletionSource, wqlFilterKeys, wqlGroupingDimensions, wqlHighlightStyle, wqlLanguage, parser as wqlParser, wql_parser_terms_exports as wqlTerms, zonedNoon, zonedStartOfDay };
|
|
5268
|
+
export { BUILD_TIME, CONTENT_GROUPING_DIMENSIONS, DASHBOARD_GRID_MAX_COLS, DASHBOARD_WIDGET_TYPES, DEFAULT_DASHBOARD_TITLE, DISCIPLINE_FACTORS, EFFORT_DISCIPLINES, GIT_SHA, PLANNED_WIDGET_TYPES, PageSourceRegistry, QueryDocumentRunner, QueryService, SEMVER, QueryDocumentRunner2 as SharedQueryDocumentRunner, UNASSIGNED, VERSION, WQL_AGGREGATORS, WQL_CALC_TARGETS, WQL_CHART_HEADS, WQL_COMPARISON_OPS, WQL_CONTENT_FILTER_KEYS, WQL_CONTENT_ONLY_KEYS, WQL_DISPLAY_UNITS, WQL_EFFORT_FILTER_KEYS, WQL_FIND_TARGETS, WQL_FUNCTION_HEADS, WQL_GRAINS, WQL_INTENSITY_TIERS, WQL_KEYWORDS, WQL_METRIC_AGGREGATES, WQL_METRIC_FAMILIES, WQL_NOTE_DEFAULT_SOURCES, WQL_RESULT_PLANES, WQL_ROLLUP_PERIODS, WQL_SOURCES, WQL_SOURCE_HEADS, WQL_SOURCE_HEAD_SCOPES, WQL_SOURCE_VALUES, WQL_STANDARD_DATASETS, WQL_TAG_KEYS, WQL_TYPED_TAG_KEYS, WQL_TYPE_HEADS, WQL_VIRTUAL_DIMS, allowedFilterTypesForTarget, appendSuffixes, appendWidget, buildDashboardDocument, buildDashboardScaffold, buildDrillDownQuery, captureContext, catalogOfItem, civilDateAdd, civilDateDiff, civilDateOf, civilDatesCoveredByRange, civilMonday, consumesRollupFacts, convertDisplay, createBuiltinFormulaEvaluator, dashboardSlug, defaultTokenValues, disciplineFactorFor, duplicateWidget, eventsToStoredLogs, extractDashboardTokens, extractFrontmatterTags, findTargetAdvisories, getList, getScalar, getUnitFamily, inRange, isAggregateQuery, isDashboardMeta, isDashboardWidgetType, isEffortDiscipline, isFindQuery, isPipelineQuery, isProposedMetric, migrateLegacyDashboardBodies, moveWidget, normalizeSummaryFacts, normalizeWql, notebookOfItem, parseDashboardNote, parseDocument, parseFlatProperties, parseFrontmatter, parseFrontmatterBody, parseFrontmatterCategories, parseFrontmatterProps, parseQuery, parseQueryWidgetSuffix, parseWqlSuffixes, projectEventToFacts, referencedTokens, removeWidget, renderWidgetGroup, resizeWidget, resolveCanonicalMetricKey, resolveOutputUnit, resolveWidgetType, resolveWindowRange, rowsParseError, serialize, serializeDocument, serializeFrontmatter, setDashboardTokenValue, sourceMatches, splitAtWhere, stripFrontmatter, substituteTokens2 as substituteTokens, substituteTokens as substituteTokensRaw, supportsWqlFilterKey, systemTimeZone, toEventRows, toSummaryEventRows, unknownTokensMessage, unknownWidgetTypeMessage, updateWidget, widgetBodyLine, widgetFenceTag, wql, wqlCompletion, wqlCompletionSource, wqlFilterKeys, wqlGroupingDimensions, wqlHighlightStyle, wqlLanguage, parser as wqlParser, wql_parser_terms_exports as wqlTerms, zonedNoon, zonedStartOfDay };
|
|
5233
5269
|
//# sourceMappingURL=index.mjs.map
|
|
5234
5270
|
//# sourceMappingURL=index.mjs.map
|