mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-11-06 16:28:18 +00:00
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:
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.
|
||||
|
||||
Reference in new issue
Block a user