@bitcobblers/wod-wiki-engine 0.62.2264 → 0.63.2266
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/agent.cjs +8 -1
- package/dist/agent.cjs.map +1 -1
- package/dist/agent.mjs +1 -1
- package/dist/{chunk-R2OTL4D6.mjs → chunk-JPZWJPC6.mjs} +15 -8
- package/dist/chunk-JPZWJPC6.mjs.map +1 -0
- 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 +1 -1
- package/package.json +5 -5
- package/dist/chunk-R2OTL4D6.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -941,13 +941,13 @@ function csvToTelemetryBundle(csv) {
|
|
|
941
941
|
}
|
|
942
942
|
|
|
943
943
|
// src/version.ts
|
|
944
|
-
var VERSION = "0.
|
|
945
|
-
var GIT_SHA = "
|
|
946
|
-
var BUILD_TIME = "2026-11-
|
|
944
|
+
var VERSION = "0.63.2266";
|
|
945
|
+
var GIT_SHA = "9fdbf97";
|
|
946
|
+
var BUILD_TIME = "2026-11-24T03:13:31.519Z";
|
|
947
947
|
var SEMVER = {
|
|
948
|
-
version: "0.
|
|
949
|
-
gitSha: "
|
|
950
|
-
buildTime: "2026-11-
|
|
948
|
+
version: "0.63.2266",
|
|
949
|
+
gitSha: "9fdbf97",
|
|
950
|
+
buildTime: "2026-11-24T03:13:31.519Z"
|
|
951
951
|
};
|
|
952
952
|
var SEED_SCHEMA = 9;
|
|
953
953
|
var SEED_REGISTERED_WIDGETS = wodWikiCore.KNOWN_SECTION_WIDGETS;
|
|
@@ -4282,10 +4282,17 @@ async function setNoteNotebooks(storage, input) {
|
|
|
4282
4282
|
const primaryUserNb = finalMemberships.find(
|
|
4283
4283
|
(id) => id !== "notebook/journal" && id !== "notebook/playground"
|
|
4284
4284
|
);
|
|
4285
|
+
const cleanedTags = note.tags ? note.tags.filter((tag) => {
|
|
4286
|
+
if (!tag.startsWith("notebook:") && !tag.startsWith("notebook/")) return true;
|
|
4287
|
+
const slug = wodWikiCore.notebookSlugFromId(tag);
|
|
4288
|
+
if (!slug) return true;
|
|
4289
|
+
return finalMemberships.includes(wodWikiCore.toNotebookId(slug));
|
|
4290
|
+
}) : void 0;
|
|
4285
4291
|
const { notebookId: _priorSingle, ...rest } = note;
|
|
4286
4292
|
const updatedNote = {
|
|
4287
4293
|
...rest,
|
|
4288
4294
|
notebookIds: finalMemberships,
|
|
4295
|
+
...cleanedTags !== void 0 ? { tags: cleanedTags } : {},
|
|
4289
4296
|
...primaryUserNb ? { notebookId: primaryUserNb } : {}
|
|
4290
4297
|
};
|
|
4291
4298
|
await tx.readwrite("notes").put(updatedNote);
|