rulvar API reference / @rulvar/rulvar / normalizeEntry
Function: normalizeEntry()
ts
function normalizeEntry(raw): JournalEntry;Defined in: packages/core/dist/index.d.ts
Round-1 normalization: hashVersion is taken from hashVersion, else from the legacy v field, else 1. Stores are never rewritten; normalization happens at read.
Parameters
| Parameter | Type |
|---|---|
raw | unknown |