Skip to content

js-bao-wss-client


js-bao-wss-client / DirectGroupAdd

Interface: DirectGroupAdd ​

Result of a direct group add — the email or userId mapped to an existing app user, so a real AppMembership row exists (or was just created).

Properties ​

addedAt ​

addedAt: string


addedBy ​

addedBy: string


status ​

status: "added" | "already_member"

"added" = new membership created by this call. "already_member" = the user was already a member (response fields reflect the existing membership row, not "now").


userEmail? ​

optional userEmail?: string


userId ​

userId: string


userName? ​

optional userName?: string

Documentation validated against js-bao-wss-client 3.4.0 · js-bao 0.11.0 · primitive-admin 1.0.62 · primitive-app 3.1.0 — 2026-09-30