Skip to content

js-bao-wss-client


js-bao-wss-client / DeclaredMetadataManifest

Interface: DeclaredMetadataManifest ​

A declared-access manifest. Declares exactly which resource metadata categories and scalar roots a type config's CEL rules may load: self categories on the subject, declared traversal paths, and the secrets / vars keys the rules reference. A category is reachable from a rule as md.self.<category>.<key> only when it is declared here — this is the manifest prerequisite for migrating off metadataAccess / contextId to metadata categories. Persisted JSON-stringified; the API returns it parsed.

Properties ​

paths? ​

optional paths?: Record<string, DeclaredManifestPath>

Declared traversal edges, keyed by the md.<name> they bind under.


secrets? ​

optional secrets?: string[]

Secret keys the rules may reference as secrets.<KEY>.


self? ​

optional self?: object

Categories on the subject resource to load under md.self.

categories ​

categories: string[]


vars? ​

optional vars?: string[]

Non-secret config-var keys the rules may reference as vars.<KEY>.

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