Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / normalizeEntry

Function: normalizeEntry()

ts
function normalizeEntry(raw): JournalEntry;

Defined in: packages/core/src/l0/entries.ts:674

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

ParameterType
rawunknown

Returns

JournalEntry