@bitcobblers/wod-wiki-engine 0.39.2142 → 0.40.2144
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 +13 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.mjs +13 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -212,13 +212,13 @@ declare function csvToSessionRows(csv: string): SessionImportRows;
|
|
|
212
212
|
* Auto-generated build version metadata.
|
|
213
213
|
* Do not edit directly; updated by scripts/stamp-version.ts
|
|
214
214
|
*/
|
|
215
|
-
declare const VERSION = "0.
|
|
216
|
-
declare const GIT_SHA = "
|
|
217
|
-
declare const BUILD_TIME = "2026-10-
|
|
215
|
+
declare const VERSION = "0.40.2144";
|
|
216
|
+
declare const GIT_SHA = "52e4c49";
|
|
217
|
+
declare const BUILD_TIME = "2026-10-20T14:37:26.437Z";
|
|
218
218
|
declare const SEMVER: {
|
|
219
|
-
readonly version: "0.
|
|
220
|
-
readonly gitSha: "
|
|
221
|
-
readonly buildTime: "2026-10-
|
|
219
|
+
readonly version: "0.40.2144";
|
|
220
|
+
readonly gitSha: "52e4c49";
|
|
221
|
+
readonly buildTime: "2026-10-20T14:37:26.437Z";
|
|
222
222
|
};
|
|
223
223
|
|
|
224
224
|
declare const SEED_SCHEMA = 9;
|
package/dist/index.d.ts
CHANGED
|
@@ -212,13 +212,13 @@ declare function csvToSessionRows(csv: string): SessionImportRows;
|
|
|
212
212
|
* Auto-generated build version metadata.
|
|
213
213
|
* Do not edit directly; updated by scripts/stamp-version.ts
|
|
214
214
|
*/
|
|
215
|
-
declare const VERSION = "0.
|
|
216
|
-
declare const GIT_SHA = "
|
|
217
|
-
declare const BUILD_TIME = "2026-10-
|
|
215
|
+
declare const VERSION = "0.40.2144";
|
|
216
|
+
declare const GIT_SHA = "52e4c49";
|
|
217
|
+
declare const BUILD_TIME = "2026-10-20T14:37:26.437Z";
|
|
218
218
|
declare const SEMVER: {
|
|
219
|
-
readonly version: "0.
|
|
220
|
-
readonly gitSha: "
|
|
221
|
-
readonly buildTime: "2026-10-
|
|
219
|
+
readonly version: "0.40.2144";
|
|
220
|
+
readonly gitSha: "52e4c49";
|
|
221
|
+
readonly buildTime: "2026-10-20T14:37:26.437Z";
|
|
222
222
|
};
|
|
223
223
|
|
|
224
224
|
declare const SEED_SCHEMA = 9;
|
package/dist/index.mjs
CHANGED
|
@@ -5,6 +5,7 @@ export { ABSENT, AGGREGATE_BUILTINS, AUTHORITATIVE_CASTS, AmrapLogicStrategy, An
|
|
|
5
5
|
export { BlockTimerDisplay, ScriptRuntimeProvider, useActiveControls, useBlockMemory, useLiveAnalytics, useMemorySubscription, useNextPreview, useOutputStatements, usePrimaryTimer, useRoundDisplay, useRuntimeExecution, useScriptRuntime, useSecondaryTimers, useSnapshotBlocks, useStackDisplayRows, useStackFragmentSources, useStackSnapshot, useStackTimers, useTimerDisplay, useTimerElapsed } from '@bitcobblers/wod-wiki-lang/react';
|
|
6
6
|
import { WQL_TYPED_TAG_KEYS } from '@bitcobblers/wod-wiki-wql';
|
|
7
7
|
export { DASHBOARD_GRID_MAX_COLS, DASHBOARD_WIDGET_TYPES, DEFAULT_DASHBOARD_TITLE, DEFAULT_NOTEBOOK_SLUGS, PLANNED_WIDGET_TYPES, QueryService, WQL_AGGREGATORS, WQL_CALC_TARGETS, WQL_CHART_HEADS, WQL_COMPARISON_OPS, WQL_CONTENT_FILTER_KEYS, WQL_DISPLAY_UNITS, WQL_FIND_TARGETS, WQL_FUNCTION_HEADS, WQL_GRAINS, WQL_INTENSITY_TIERS, WQL_KEYWORDS, WQL_METRIC_AGGREGATES, WQL_METRIC_FAMILIES, WQL_RESULT_PLANES, WQL_ROLLUP_PERIODS, WQL_SOURCES, WQL_SOURCE_HEADS, WQL_SOURCE_VALUES, WQL_STANDARD_DATASETS, WQL_TAG_KEYS, WQL_VIRTUAL_DIMS, buildDashboardDocument, buildDashboardScaffold, dashboardSlug, defaultTokenValues, extractDashboardTokens, isAggregateQuery, isDashboardMeta, isDashboardWidgetType, isFindQuery, isNoteEditable, isPipelineQuery, normalizeWql, notebookOfItem, notebookSlugFromId, parseQuery, parseQueryWidgetSuffix, parseWqlSuffixes, resolveWidgetType, serialize, splitAtWhere, substituteTokens, toNotebookId, unknownTokensMessage, unknownWidgetTypeMessage, wql, wqlLanguage, wqlParser, wqlTerms } from '@bitcobblers/wod-wiki-wql';
|
|
8
|
+
import { userDeletedSeedNoteId } from '@bitcobblers/wod-wiki-storage';
|
|
8
9
|
|
|
9
10
|
// src/index.ts
|
|
10
11
|
var activePacks = /* @__PURE__ */ new Map();
|
|
@@ -618,13 +619,13 @@ function csvToSessionRows(csv) {
|
|
|
618
619
|
}
|
|
619
620
|
|
|
620
621
|
// src/version.ts
|
|
621
|
-
var VERSION = "0.
|
|
622
|
-
var GIT_SHA = "
|
|
623
|
-
var BUILD_TIME = "2026-10-
|
|
622
|
+
var VERSION = "0.40.2144";
|
|
623
|
+
var GIT_SHA = "52e4c49";
|
|
624
|
+
var BUILD_TIME = "2026-10-20T14:37:26.437Z";
|
|
624
625
|
var SEMVER = {
|
|
625
|
-
version: "0.
|
|
626
|
-
gitSha: "
|
|
627
|
-
buildTime: "2026-10-
|
|
626
|
+
version: "0.40.2144",
|
|
627
|
+
gitSha: "52e4c49",
|
|
628
|
+
buildTime: "2026-10-20T14:37:26.437Z"
|
|
628
629
|
};
|
|
629
630
|
var SEED_SCHEMA = 9;
|
|
630
631
|
var SEED_REGISTERED_WIDGETS = KNOWN_SECTION_WIDGETS;
|
|
@@ -890,6 +891,11 @@ async function applySeedChunk(storage, write) {
|
|
|
890
891
|
}
|
|
891
892
|
return storage.transaction(["notes", "block_revisions", "block_index", "block_efforts", "block_equipment", "page", "page_notes", "tags", "note_tags", "efforts", "equipment", "meta"], "readwrite", async (tx) => {
|
|
892
893
|
const metaStore = tx.readwrite("meta");
|
|
894
|
+
const userDeleted = /* @__PURE__ */ new Set();
|
|
895
|
+
for (const row of await metaStore.getAll()) {
|
|
896
|
+
const suppressed = userDeletedSeedNoteId(row?.key);
|
|
897
|
+
if (suppressed !== void 0) userDeleted.add(suppressed);
|
|
898
|
+
}
|
|
893
899
|
const actualMeta = await metaStore.get(write.meta.key);
|
|
894
900
|
if (!equal(actualMeta, write.expectedMeta)) throw new Error("Seed checkpoint changed during import");
|
|
895
901
|
if (write.meta.schema !== SEED_SCHEMA || write.manifest.schema !== SEED_SCHEMA) throw new Error("Incompatible seed schema; recreate artifacts");
|
|
@@ -927,6 +933,7 @@ async function applySeedChunk(storage, write) {
|
|
|
927
933
|
return max;
|
|
928
934
|
};
|
|
929
935
|
const ownedIds = allIds.filter((id) => {
|
|
936
|
+
if (userDeleted.has(id)) return false;
|
|
930
937
|
const note = existingById.get(id);
|
|
931
938
|
if (!note) return declared.has(id);
|
|
932
939
|
if (note.seedOrigin !== "seed") return false;
|