Skip to main content

@elizaos/core v1.0.6 / v1 / Goal

Interface: Goal

Represents a high-level goal composed of objectives

Properties​

id?​

optional id: `${string}-${string}-${string}-${string}-${string}`

Optional unique identifier

Defined in​

packages/core/src/specs/v1/types.ts:110


roomId​

roomId: `${string}-${string}-${string}-${string}-${string}`

Room ID where goal exists

Defined in​

packages/core/src/specs/v1/types.ts:113


userId​

userId: `${string}-${string}-${string}-${string}-${string}`

User ID of goal owner

Defined in​

packages/core/src/specs/v1/types.ts:116


name​

name: string

Name/title of the goal

Defined in​

packages/core/src/specs/v1/types.ts:119


status​

status: GoalStatus

Current status

Defined in​

packages/core/src/specs/v1/types.ts:122


objectives​

objectives: Objective[]

Component objectives

Defined in​

packages/core/src/specs/v1/types.ts:125