js-bao-wss-client / CelContextResult
Interface: CelContextResult<C>
Result of reading a database's CEL context dict. The same dict is exposed under both metadata (legacy wire name) and celContext (new user-facing name). C is an optional additive generic typing the caller's context shape; it defaults to today's untyped Record<string, any>. Shared by getCelContext and its deprecated getMetadata alias so the two can't drift.
Deprecated
Use resource metadata categories instead. A category has separate readRule/writeRule (read no longer implies update) and is read from CEL as md.self.<category>.<key>.
Type Parameters
C
C extends object = Record<string, unknown>
Properties
celContext
celContext:
C|null
databaseId
databaseId:
string
metadata
metadata:
C|null