@elizaos/core v1.0.6 / v1 / Relationship
Interface: Relationship
Represents a relationship between users
Properties​
id​
id: `${string}-${string}-${string}-${string}-${string}`
Unique identifier
Defined in​
packages/core/src/specs/v1/types.ts:533
userA​
userA: `${string}-${string}-${string}-${string}-${string}`
First user ID
Defined in​
packages/core/src/specs/v1/types.ts:536
userB​
userB: `${string}-${string}-${string}-${string}-${string}`
Second user ID
Defined in​
packages/core/src/specs/v1/types.ts:539
userId​
userId: `${string}-${string}-${string}-${string}-${string}`
Primary user ID
Defined in​
packages/core/src/specs/v1/types.ts:542
roomId​
roomId: `${string}-${string}-${string}-${string}-${string}`
Associated room ID
Defined in​
packages/core/src/specs/v1/types.ts:545
status​
status:
string
Relationship status
Defined in​
packages/core/src/specs/v1/types.ts:548
createdAt?​
optional
createdAt:string
Optional creation timestamp