Skip to main content

@okcashpro/okai v0.1.7-alpha.1 / Relationship

Interface: Relationship

Represents a relationship between users

Properties

id

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

Unique identifier

Defined in

packages/core/src/types.ts:479


userA

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

First user ID

Defined in

packages/core/src/types.ts:482


userB

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

Second user ID

Defined in

packages/core/src/types.ts:485


userId

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

Primary user ID

Defined in

packages/core/src/types.ts:488


roomId

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

Associated room ID

Defined in

packages/core/src/types.ts:491


status

status: string

Relationship status

Defined in

packages/core/src/types.ts:494


createdAt?

optional createdAt: string

Optional creation timestamp

Defined in

packages/core/src/types.ts:497