@bitcobblers/wod-wiki-storage 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/{chunk-7BDO6DD4.mjs → chunk-NUJEAUAK.mjs} +4 -4
- package/dist/chunk-NUJEAUAK.mjs.map +1 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/sql/index.cjs +2 -2
- package/dist/sql/index.cjs.map +1 -1
- package/dist/sql/index.mjs +2 -2
- package/dist/sql/index.mjs.map +1 -1
- package/package.json +6 -6
- package/dist/chunk-7BDO6DD4.mjs.map +0 -1
package/dist/sql/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { STORE_DEFS, extractKeyPart, validateStorageRow, isRange, DB_VERSION, rowsEqual, validateStoredPins, DOMAIN_PROJECTION_VERSION, bufferToOps, stampUserOwned, bufferedGet, overlayRows, rangeFromIDB, isDirty, keyFromValue, bufferSlot, COLUMN_TYPES, keyInRange, compareKeys } from '../chunk-
|
|
1
|
+
import { STORE_DEFS, extractKeyPart, validateStorageRow, isRange, DB_VERSION, rowsEqual, validateStoredPins, DOMAIN_PROJECTION_VERSION, bufferToOps, stampUserOwned, bufferedGet, overlayRows, rangeFromIDB, isDirty, keyFromValue, bufferSlot, COLUMN_TYPES, keyInRange, compareKeys } from '../chunk-NUJEAUAK.mjs';
|
|
2
2
|
import { libsqlDatabase } from '../chunk-6ZTAWTAP.mjs';
|
|
3
3
|
export { libsqlDatabase } from '../chunk-6ZTAWTAP.mjs';
|
|
4
4
|
import { StorageError } from '../chunk-XRQKLSOT.mjs';
|
|
@@ -610,7 +610,7 @@ var TABLES = ["domain_note", "query_block"];
|
|
|
610
610
|
var PROJECTION_GUARD_KEY = "domain_projection";
|
|
611
611
|
function sourceItem(row) {
|
|
612
612
|
const item = {};
|
|
613
|
-
for (const key of ["id", "noteId", "sourceId", "type", "seedOrigin", "seedChunkId", "sourcePath", "catalog"]) {
|
|
613
|
+
for (const key of ["id", "noteId", "sourceId", "type", "seedOrigin", "seedChunkId", "sourcePath", "catalog", "notebookId"]) {
|
|
614
614
|
const value = row[key];
|
|
615
615
|
if (typeof value === "string") item[key] = value;
|
|
616
616
|
else if (value != null) throw new StorageError(400, `${key} must be a string`);
|