Skip to content

RevisionInput

Defined in: libs/content-revision/src/lib/revision.ts:32

What computeRevision derives a revision from.

Properties

Name Description
deleted? Whether this revision deletes the entity.
parent? The revision this one follows.
state? Absent for a tombstone, which has no state.

readonly optional deleted?: boolean

Defined in: libs/content-revision/src/lib/revision.ts:38

Whether this revision deletes the entity.


readonly optional parent?: string

Defined in: libs/content-revision/src/lib/revision.ts:36

The revision this one follows. Absent for the first revision of an entity.


readonly optional state?: EntityState

Defined in: libs/content-revision/src/lib/revision.ts:34

Absent for a tombstone, which has no state.

TypeDBLite is an independent open-source project, built on TypeDB with thanks. It is not affiliated with, sponsored by, or endorsed by TypeDB Ltd. Released under the MPL-2.0 license.