Expand description
Prelude module for common imports.
Re-exports§
pub use crate::Forge;pub use crate::ForgeBuilder;pub use serde_json;
Structs§
- Action
Context - Context for action functions (can call external APIs).
- Auth
Context - Authentication context available to all functions.
- Cron
Context - Context available to cron handlers.
- Date
Time - ISO 8601 combined date and time with time zone.
- Delta
- Delta format for subscription updates.
- Field
Def - Definition of a model field.
- Forge
Config - Root configuration for FORGE.
- JobContext
- Context available to job handlers.
- Mutation
Context - Context for mutation functions (transactional database access).
- Query
Context - Context for query functions (read-only database access).
- Schema
Registry - Global registry of all schema definitions. This is populated at compile time by the proc macros.
- Table
Def - Complete table definition.
- Utc
- The UTC time zone. This is the most efficient time zone when you don’t need the local time. It is also used as an offset (which is also a dummy type).
- Uuid
- A Universally Unique Identifier (UUID).
- Workflow
Context - Context available to workflow handlers.
Enums§
- Forge
Error - Core error type for FORGE operations.
- JobPriority
- Job priority levels.
- Node
Role - Node role in the cluster.
Traits§
- Deserialize
- A data structure that can be deserialized from any data format supported by Serde.
- EnvAccess
- Extension methods for environment variable access on contexts.
- Forge
Cron - Trait for cron job handlers.
- Forge
Job - Trait for FORGE job handlers.
- Forge
Mutation - A mutation function (transactional write).
- Forge
Query - A query function (read-only, cacheable, subscribable).
- Forge
Workflow - Trait for workflow handlers.
- Model
Meta - Trait implemented by all FORGE models. Generated by the #[forge::model] macro.
- Serialize
- A data structure that can be serialized into any data format supported by Serde.