AlpyneEvent
Properties
Section titled “Properties”claimedAt
Section titled “claimedAt”
readonlyclaimedAt:Date
The timestamp (in UTC) the event was claimed by a worker
createdAt
Section titled “createdAt”
readonlycreatedAt:Date
The timestamp (in UTC) the event was published
eventPrn
Section titled “eventPrn”
readonlyeventPrn:string
The PRN for the event. This can be considered the ‘topic’ of this event
eventPrnLineage
Section titled “eventPrnLineage”
readonlyeventPrnLineage:string[]
The lineage of event PRNs that triggered this event.
readonlyid:string
A unique, lexicographically sortable UUID for the event
itemId
Section titled “itemId”
readonlyitemId:string
The item targeted by this event
originalPrincipalId
Section titled “originalPrincipalId”
readonlyoriginalPrincipalId:string|null
The principal responsible for the top-level trace (rootParentId) that
caused this event to be published
parentId
Section titled “parentId”
readonlyparentId:string|null
The immediate parent event to this event TODO: is this the parent traceId or id?
payload
Section titled “payload”
readonlypayload:Record<string,unknown>
The event payload in raw un-zodded form
rootParentId
Section titled “rootParentId”
readonlyrootParentId:string|null
The top-level trace that caused this event to be published. This could be a request id from an HTTP request or another event TODO: if an event, is this a trace id or the id?
traceId
Section titled “traceId”
readonlytraceId:string
A unique identifier to trace work in Alpyne systems associated with this event
workspaceId
Section titled “workspaceId”
readonlyworkspaceId:string
The workspace that contains (‘tenants’?) this event. All entities that this event refers to MUST belong to this workspace

