VersionedPatch
Type Alias: VersionedPatch
VersionedPatch =
object
Defined in: packages/versioning/src/history.ts:9
A Delta with commit-like bookkeeping attached. Use when you need to record
when a change was made, by whom, and optionally correlate it with an external
id. The engine operates on bare Delta; this type is for history/replication
layers that sit on top.
Properties
author?
readonlyoptionalauthor?:string
Defined in: packages/versioning/src/history.ts:14
Free-form identifier for the actor that authored the change (email, user id, service name).
delta
readonlydelta:Delta
Defined in: packages/versioning/src/history.ts:10
id?
readonlyoptionalid?:string
Defined in: packages/versioning/src/history.ts:18
Caller-supplied stable identifier (useful for dedup, replay, correlation).
message?
readonlyoptionalmessage?:string
Defined in: packages/versioning/src/history.ts:16
Short human-readable note, analogous to a git commit message.
timestamp
readonlytimestamp:number
Defined in: packages/versioning/src/history.ts:12
Milliseconds since epoch. Numeric for easy sort + monotonic math.