Skip to main content

Crate appstruct_ir

Crate appstruct_ir 

Source
Expand description

Stable, serialization-friendly intermediate representation for AppStruct.

Structs§

ActivityIr
Record-scoped collaboration settings and the entities that expose a timeline.
ActivityResourceIr
AggregateIr
AppIr
AppMeta
Application-level metadata.
AuditIr
Audit module settings normalized by the compiler.
AuthIr
Authentication facts known at compile time in the M0 compiler.
BillingIr
Billing facts known at compile time. Provider secrets are deliberately not part of the IR.
BillingPlanIr
ChartIr
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
JobScheduleIr
Declarative recurring job schedule.
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
RealtimeIr
Authenticated server-sent events and database-backed online presence.
RelationId
RelationIr
Explicit relation edge resolved by the compiler.
ReportIr
ReportTemplateIr
RequiredWhenIr
ResolvedModule
SecurityHeadersIr
Security response headers applied to every generated route.
SeedIr
ServerIr
Application server settings normalized by the compiler.
SourceSpan
Byte offsets plus user-facing line and column for a source range.
TenantIr
Tenant module settings normalized by the compiler.
ValidationIr
ValueFieldIr
ValueObjectIr
WebhookEndpointIr
WebhooksIr
PostgreSQL outbox-backed signed webhook settings.
WorkflowIr
WorkflowTransitionIr

Enums§

AccessRuleIr
Cardinality
ChartDimensionIr
ChartKindIr
ChartMeasureIr
ConditionValueIr
DatabaseDevMode
DatabaseMigrationPolicy
DatabaseProvider
FieldSemanticIr
FieldTypeIr
FileProviderIr
FrameOptionsIr
X-Frame-Options policy.
GeneratedValueIr
HstsIr
Strict-Transport-Security policy. Auto emits the header only in production.
IndexMethod
Supported PostgreSQL index access methods.
IndexOperatorClass
Allowlisted operator classes for text substring and JSONB search.
IrJsonError
MailProviderIr
ModuleOrigin
OnDeleteIr
OperationTypeIr
ReferrerPolicyIr
Referrer-Policy policy.
ReportRendererIr
Severity

Constants§

IR_VERSION

Functions§

from_json
Parse the current IR format without upgrading historical representations.
to_canonical_json
Serialize normalized IR using deterministic field and collection order.
validate_aggregates
Validate ownership, bounded editing and workflow guards for aggregate collections.
validate_app_ir
Errors
validate_charts
Validate bounded, typed chart declarations.
validate_form_rules
Check the portable, same-record validation contract without executing application code.