Skip to main content

Module provider_declarations

Module provider_declarations 

Source
Expand description

Bounded, provider-owned declarations fixed for a module’s spawn.

Structs§

ProviderDeclarationsError
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.update JSON body, without decoding the update’s schema or retaining its values. Even a null or invalid declaration must be refused with catalog_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§

ProviderDeclarations
Providers own the schemas inside these objects; readers retain unknown keys.