Skip to main content

@ai16z/eliza v0.1.3 / Relationship

Interface: Relationship

Represents a relationship between two users, including their IDs, the status of the relationship, and the room ID in which the relationship is established.

Properties

id

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

Defined in

packages/core/src/types.ts:263


userA

userA: `${string}-${string}-${string}-${string}-${string}`

Defined in

packages/core/src/types.ts:264


userB

userB: `${string}-${string}-${string}-${string}-${string}`

Defined in

packages/core/src/types.ts:265


userId

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

Defined in

packages/core/src/types.ts:266


roomId

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

Defined in

packages/core/src/types.ts:267


status

status: string

Defined in

packages/core/src/types.ts:268


createdAt?

optional createdAt: string

Defined in

packages/core/src/types.ts:269