fix(storage): adapt timestamp guard to current Commonlib

Use the packaged Commonlib type import and add regression coverage for every Obsidian vault and storage write method. Verify that fractional timestamps are floored without mutating caller-owned options.
This commit is contained in:
vorotamoroz committed 2026-08-09 08:46:21 +00:00
1 parent 00de35e5d4
commit 21d904cfd6
3 files changed
+64 -2

No files matched your search

@@ -1,4 +1,4 @@
import type { UXDataWriteOptions } from "@lib/common/types";
import type { UXDataWriteOptions } from "@vrtmrz/livesync-commonlib/compat/common/types";
/**
* Coerce the timestamp fields of a write-options object to integer milliseconds.