Skip to content

js-bao-wss-client


js-bao-wss-client / SetAliasParams

Interface: SetAliasParams ​

Parameters for documents.aliases.set(): the alias to create or update plus the document it should point to. Set mustNotExist to fail instead of overwriting an existing alias.

Extends ​

Properties ​

aliasKey ​

aliasKey: string

Inherited from ​

ResolveAliasParams.aliasKey


documentId ​

documentId: string


mustNotExist? ​

optional mustNotExist?: boolean


scope ​

scope: "user"

Inherited from ​

ResolveAliasParams.scope


userId? ​

optional userId?: string

Inherited from ​

ResolveAliasParams.userId

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