Skip to content

ema / @internals/db / ActorEntity

Interface: ActorEntity

Defined in: db/base.ts:86

Represents actor data structure

Extends

Properties

createdAt?

ts
optional createdAt: number;

Defined in: db/base.ts:14

The date and time the entity was created

Inherited from

Entity.createdAt


id?

ts
optional id: number;

Defined in: db/base.ts:10

The unique identifier for the entity

Inherited from

Entity.id


memoryBuffer

ts
memoryBuffer: Message[];

Defined in: db/base.ts:94

The memory buffer


roleId

ts
roleId: number;

Defined in: db/base.ts:90

Each actor has exactly one role


updatedAt?

ts
optional updatedAt: number;

Defined in: db/base.ts:98

The date and time the actor was last updated