Skip to main content

Module node

Module node 

Source
Expand description

Schema node graph for validated canister/entity/type definitions.

This module owns the typed node descriptors used by schema validation, derive code generation, and visitor traversal.

Structs§

Args
Args
Canister
Canister
Def
Entity
Entity
Enum
Enum
EnumVariant
EnumVariant
Field
FieldList
FieldList
Index
Index
Item
Item
List
List
Map
Map
Newtype
Newtype
PrimaryKey
PrimaryKey
Record
Record
RelationEdge
RelationEdge
Sanitizer
Sanitizer
Schema
Schema
Set
Set
StableMemoryAllocation
Stable-memory allocation descriptor.
StableMemoryAllocationMetadata
Diagnostic schema metadata associated with a stable-memory allocation.
Store
Store
StoreHeapConfig
Heap storage configuration for one volatile store.
StoreStableMemoryConfig
Stable-memory IDs for the three durable roles owned by one store.
StoreStorageCapabilities
Storage capability descriptor derived from a store storage mode.
Tuple
Tuple
Type
Type
TypeSanitizer
TypeSanitizer
TypeValidator
TypeValidator
Validator
Validator
Value
Value

Enums§

AllocationIdentityCapability
Whether a store storage mode owns durable stable-memory allocation identity.
Arg
Arg
ArgNumber
ArgNumber
CommitParticipation
Store commit participation class.
FieldGeneration
Field
FieldWriteManagement
IndexExpression
IndexExpression
IndexKeyItem
IndexKeyItem
IndexKeyItemsRef
IndexKeyItemsRef
ItemTarget
ItemTarget
LiveValidationCapability
Whether the store can participate in live validation.
NodeError
NodeError
PrimaryKeySource
PrimaryKeySource
RelationSourceCapability
Strong relation source capability for a store.
RelationTargetCapability
Strong relation target capability for a store.
SchemaMetadataCapability
Store schema metadata persistence class.
SchemaNode
SchemaNode
StoreDurability
Store durability class.
StoreMemoryRole
StoreRecoveryCapability
Store recovery capability.
StoreStorage
Storage configuration owned by one schema store declaration.
StoreStorageMode
Diagnostic storage mode carried by a storage capability descriptor.

Constants§

APP_MEMORY_ID_MAX
APP_MEMORY_ID_MIN

Functions§

app_memory_id_is_valid
memory_id_is_in_range
memory_id_is_reserved
stable_key_segment_is_canonical
stable_memory_key