@bitcobblers/wod-wiki-engine 0.35.2117 → 0.35.2119
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/bin/wod.cjs +3 -1
- package/dist/bin/wod.cjs.map +1 -1
- package/dist/bin/wod.mjs +1 -1
- package/dist/{chunk-AKNXDA75.mjs → chunk-RZB4S7L6.mjs} +5 -3
- package/dist/chunk-RZB4S7L6.mjs.map +1 -0
- package/dist/index.cjs +9 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -6
- package/dist/index.d.ts +10 -6
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
- package/dist/chunk-AKNXDA75.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -2350,7 +2350,7 @@ async function putChanged(store, values, keys) {
|
|
|
2350
2350
|
async function applySeedChunk(storage, write) {
|
|
2351
2351
|
assertSeedManifest(write.manifest);
|
|
2352
2352
|
assertSeedRows(write.rows);
|
|
2353
|
-
const result = { totalNotes: 0, totalEfforts: 0, totalBlocks: 0, skippedUserOwned: 0, deleted: 0 };
|
|
2353
|
+
const result = { totalNotes: 0, totalEfforts: 0, totalBlocks: 0, skippedUserOwned: 0, deleted: 0, addedNotes: 0, updatedNotes: 0 };
|
|
2354
2354
|
const ids = await Promise.all(write.rows.map((row) => seedNoteId(row.path)));
|
|
2355
2355
|
const pagesBySlug = /* @__PURE__ */ new Map();
|
|
2356
2356
|
const linkIds = /* @__PURE__ */ new Map();
|
|
@@ -2405,6 +2405,8 @@ async function applySeedChunk(storage, write) {
|
|
|
2405
2405
|
result.skippedUserOwned++;
|
|
2406
2406
|
continue;
|
|
2407
2407
|
}
|
|
2408
|
+
if (!existing) result.addedNotes++;
|
|
2409
|
+
else if (existing.rawContent !== row.content) result.updatedNotes++;
|
|
2408
2410
|
wodWikiCore.validateNoteBlocks(row.content, row.blocks, 1, { registeredWidgets: exports.SEED_REGISTERED_WIDGETS });
|
|
2409
2411
|
const sourceRevision = existing ? existing.sourceRevision + (existing.rawContent === row.content ? 0 : 1) : 1;
|
|
2410
2412
|
let ordinal = 0;
|
|
@@ -3541,13 +3543,13 @@ async function cliMain(argv = process.argv.slice(2), io = {}) {
|
|
|
3541
3543
|
}
|
|
3542
3544
|
|
|
3543
3545
|
// src/version.ts
|
|
3544
|
-
var VERSION2 = "0.35.
|
|
3545
|
-
var GIT_SHA = "
|
|
3546
|
-
var BUILD_TIME = "2026-10-
|
|
3546
|
+
var VERSION2 = "0.35.2119";
|
|
3547
|
+
var GIT_SHA = "e0eb840";
|
|
3548
|
+
var BUILD_TIME = "2026-10-13T06:24:52.520Z";
|
|
3547
3549
|
var SEMVER = {
|
|
3548
|
-
version: "0.35.
|
|
3549
|
-
gitSha: "
|
|
3550
|
-
buildTime: "2026-10-
|
|
3550
|
+
version: "0.35.2119",
|
|
3551
|
+
gitSha: "e0eb840",
|
|
3552
|
+
buildTime: "2026-10-13T06:24:52.520Z"
|
|
3551
3553
|
};
|
|
3552
3554
|
|
|
3553
3555
|
// src/index.ts
|