EntityState
Defined in: libs/content-revision/src/lib/canonical.ts:40
Everything about a thing that a revision covers: its type, its attributes and the roles it plays. What canonical encodes and computeRevision hashes.
Member summary
Section titled “Member summary”Properties
| Name | Description |
|---|---|
| attributes | Its attributes, in any order: the encoding sorts them. |
| roles | The roles it plays, in any order: the encoding sorts them. |
| type | The thing’s type label. |
Properties
Section titled “Properties”attributes
Section titled “attributes”
readonlyattributes: readonlyCanonicalAttribute[]
Defined in: libs/content-revision/src/lib/canonical.ts:44
Its attributes, in any order: the encoding sorts them.
readonlyroles: readonlyCanonicalRole[]
Defined in: libs/content-revision/src/lib/canonical.ts:46
The roles it plays, in any order: the encoding sorts them.
readonlytype:string
Defined in: libs/content-revision/src/lib/canonical.ts:42
The thing’s type label.
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.