Expand description
Stable, serialization-friendly intermediate representation for AppStruct.
Structs§
- Activity
Ir - Record-scoped collaboration settings and the entities that expose a timeline.
- Activity
Resource Ir - Aggregate
Ir - AppIr
- AppMeta
- Application-level metadata.
- AuditIr
- Audit module settings normalized by the compiler.
- AuthIr
- Authentication facts known at compile time in the M0 compiler.
- Billing
Ir - Billing facts known at compile time. Provider secrets are deliberately not part of the IR.
- Billing
Plan Ir - ChartIr
- Command
Ir - Concurrency
Ir - Crud
Access Ir - CRUD rules are always explicit in normalized IR.
- Database
Ir - Database settings relevant to deterministic generation.
- Diagnostic
- Stable diagnostic shared by text and JSON consumers.
- Entity
Id - Stable logical entity identifier. It never depends on vector position.
- Entity
Ir - Entity
Views Ir - EnumIr
- Field
Capabilities - 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
- IrValidation
Error - IrValidation
Errors - JobQueue
Ir - JobSchedule
Ir - Declarative recurring job schedule.
- JobsIr
- PostgreSQL-backed job worker settings.
- Label
- MailIr
- Mail module settings and compile-time validated templates.
- Mail
Template Ir - Module
Artifact Ir - PageIr
- Preset
Ir - Locked official preset selected by the root App Spec.
- QueryIr
- Realtime
Ir - Authenticated server-sent events and database-backed online presence.
- Relation
Id - Relation
Ir - Explicit relation edge resolved by the compiler.
- Report
Ir - Report
Template Ir - Required
When Ir - Resolved
Module - Security
Headers Ir - Security response headers applied to every generated route.
- SeedIr
- Server
Ir - Application server settings normalized by the compiler.
- Source
Span - Byte offsets plus user-facing line and column for a source range.
- Tenant
Ir - Tenant module settings normalized by the compiler.
- Validation
Ir - Value
Field Ir - Value
Object Ir - Webhook
Endpoint Ir - Webhooks
Ir - PostgreSQL outbox-backed signed webhook settings.
- Workflow
Ir - Workflow
Transition Ir
Enums§
- Access
Rule Ir - Cardinality
- Chart
Dimension Ir - Chart
Kind Ir - Chart
Measure Ir - Condition
Value Ir - Database
DevMode - Database
Migration Policy - Database
Provider - Field
Semantic Ir - Field
Type Ir - File
Provider Ir - Frame
Options Ir - X-Frame-Options policy.
- Generated
Value Ir - HstsIr
- Strict-Transport-Security policy.
Autoemits the header only in production. - Index
Method - Supported PostgreSQL index access methods.
- Index
Operator Class - Allowlisted operator classes for text substring and JSONB search.
- IrJson
Error - Mail
Provider Ir - Module
Origin - OnDelete
Ir - Operation
Type Ir - Referrer
Policy Ir - Referrer-Policy policy.
- Report
Renderer Ir - Severity
Constants§
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.