Skip to main content

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

createdAt?

optional createdAt: string

Defined in

packages/core/src/types.ts:266


id

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

Defined in

packages/core/src/types.ts:260


roomId

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

Defined in

packages/core/src/types.ts:264


status

status: string

Defined in

packages/core/src/types.ts:265


userA

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

Defined in

packages/core/src/types.ts:261


userB

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

Defined in

packages/core/src/types.ts:262


userId

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

Defined in

packages/core/src/types.ts:263