baobao_codegen/schema/mod.rs
1//! Schema traversal and info types.
2//!
3//! This module provides types for working with parsed schemas:
4//! - [`CommandTree`] - Traversable view of command hierarchy
5//! - [`FlatCommand`] - Flattened command with path information
6//! - [`CommandInfo`] - Command metadata for code generation
7//! - [`ContextFieldInfo`] - Context field metadata for code generation
8
9mod commands;
10mod types;
11
12pub use commands::{CommandTree, FlatCommand};
13pub use types::{
14 CommandInfo, ContextFieldInfo, PoolConfigInfo, SqliteConfigInfo, collect_context_fields,
15};