Expand description
Bounded, provider-owned declarations fixed for a module’s spawn.
Structs§
- Provider
Declarations Error - A safe-to-report HELLO refusal, without echoing provider-owned content.
Constants§
- MAX_
PROVIDER_ DECLARATIONS - Bound the number of providers a single manifest can address.
- MAX_
PROVIDER_ DECLARATIONS_ BYTES - Bound the complete field, including keys and JSON punctuation.
- MAX_
PROVIDER_ DECLARATION_ BYTES - Bound each relayed provider entry’s compact JSON representation.
Functions§
- catalog_
update_ has_ provider_ declarations - Detects the frozen key directly in a raw
catalog.updateJSON body, without decoding the update’s schema or retaining its values. Even a null or invalid declaration must be refused withcatalog_update_frozen_declarations. Malformed JSON remains a JSON error, not a declaration update. - validate_
hello_ provider_ declarations - Run before lenient manifest decoding so malformed declarations refuse HELLO
with
invalid_provider_declarations, rather than being silently dropped.
Type Aliases§
- Provider
Declarations - Providers own the schemas inside these objects; readers retain unknown keys.