EntityFields
EntityFields =
object
Defined in: src/types/entity.ts:9
The fields an Entity can carry. Every one is optional: a query returns exactly the parts
it selected, and undefined means “not asked for” rather than “empty”.
Properties
Section titled “Properties”attributes?
Section titled “attributes?”
optionalattributes:Attributes
Defined in: src/types/entity.ts:26
Attribute names, types and values.
attributeSchema?
Section titled “attributeSchema?”
optionalattributeSchema:AttributeSchema
Defined in: src/types/entity.ts:24
Attribute names and types, with no values.
contentType?
Section titled “contentType?”
optionalcontentType:string
Defined in: src/types/entity.ts:21
createdAt?
Section titled “createdAt?”
optionalcreatedAt:bigint
Defined in: src/types/entity.ts:14
Block the entity was created at.
creationFlags?
Section titled “creationFlags?”
optionalcreationFlags:ResolvedCreationFlags
Defined in: src/types/entity.ts:20
The immutable properties the entity was created with.
creator?
Section titled “creator?”
optionalcreator:Hex
Defined in: src/types/entity.ts:12
expiresAt?
Section titled “expiresAt?”
optionalexpiresAt:bigint
Defined in: src/types/entity.ts:18
Block the entity expires at.
optionalkey:Hex
Defined in: src/types/entity.ts:10
owner?
Section titled “owner?”
optionalowner:Hex
Defined in: src/types/entity.ts:11
payload?
Section titled “payload?”
optionalpayload:Uint8Array
Defined in: src/types/entity.ts:22
updatedAt?
Section titled “updatedAt?”
optionalupdatedAt:bigint
Defined in: src/types/entity.ts:16
Block the entity was last patched at.