Skip to main content

Crate appstruct_ir

Crate appstruct_ir 

Source
Expand description

Stable, serialization-friendly intermediate representation for AppStruct.

Structs§

AppIr
AppMeta
Application-level metadata.
AuditIr
Audit module settings normalized by the compiler.
AuthIr
Authentication facts known at compile time in the M0 compiler.
CommandIr
ConcurrencyIr
CrudAccessIr
CRUD rules are always explicit in normalized IR.
DatabaseIr
Database settings relevant to deterministic generation.
Diagnostic
Stable diagnostic shared by text and JSON consumers.
EntityId
Stable logical entity identifier. It never depends on vector position.
EntityIr
EntityViewsIr
EnumIr
FieldCapabilities
FieldId
Stable logical field identifier.
FieldIr
FileIr
File metadata and object-storage settings.
HooksIr
M0 preserves the future IR shape while leaving hooks empty.
IndexIr
IrValidationError
IrValidationErrors
JobQueueIr
JobsIr
PostgreSQL-backed job worker settings.
Label
MailIr
Mail module settings and compile-time validated templates.
MailTemplateIr
ModuleArtifactIr
PageIr
PresetIr
Locked official preset selected by the root App Spec.
QueryIr
RelationId
RelationIr
Explicit relation edge resolved by the compiler.
ResolvedModule
SeedIr
SourceSpan
Byte offsets plus user-facing line and column for a source range.
TenantIr
Tenant module settings normalized by the compiler.
ValidationIr
ValueFieldIr
ValueObjectIr

Enums§

AccessRuleIr
Cardinality
DatabaseDevMode
DatabaseMigrationPolicy
DatabaseProvider
FieldTypeIr
FileProviderIr
GeneratedValueIr
IrCompatibilityError
MailProviderIr
ModuleOrigin
OnDeleteIr
OperationTypeIr
Severity

Constants§

IR_VERSION

Functions§

from_compatible_json
Parse current IR or migrate a supported legacy representation in memory.
to_canonical_json
Serialize normalized IR using deterministic field and collection order.
validate_app_ir
Errors