Skip to content

js-bao-wss-client


js-bao-wss-client / UpdateDatabaseTypeConfigParams

Interface: UpdateDatabaseTypeConfigParams ​

Parameters for databaseTypeConfigs.update(). Only the provided fields change; pass null to clear the rule set, triggers, or manifest.

Properties ​

metadataAccess? ​

optional metadataAccess?: string | null

Replacement metadata-access CEL expression, or null to clear it.

Deprecated ​

Prefer resource metadata categories — declare a category in metadataManifest (separate readRule/writeRule) and read it as md.self.<category>.<key>.


metadataManifest? ​

optional metadataManifest?: DeclaredMetadataManifest | null

Replacement declared-access manifest, or null to clear it. Set this to make metadata categories reachable from this type's CEL rules as md.self.<category>.<key> when migrating off metadataAccess.


ruleSetId? ​

optional ruleSetId?: string | null

New rule set ID to associate, or null to remove the current rule set


triggers? ​

optional triggers?: Record<string, ModelRulesInfo> | null

Replacement trigger rules object, or null to clear all triggers. Server validates the structure on every update.

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