mod builder;
mod error;
mod field;
mod interface;
mod media;
mod name;
#[cfg(feature = "openapi")]
mod openapi;
mod param;
mod plugins;
mod spec;
mod ui;
mod view;
#[cfg(feature = "transport-axum")]
pub(crate) use builder::schema_subtree_contains_binary;
#[cfg(feature = "transport-axum")]
pub(crate) use builder::RESERVED_FRAMEWORK_ROUTES;
pub use builder::{
ActionHandle, AppBuilder, BuiltApp, DefinitionCatalog, Registry, TypedActionHandle,
};
pub use error::BuildError;
pub use field::FieldSpec;
pub use field::{
AccessRule, AccessSpec, Decimal, Fields, Int, IntoFieldSpec, Key, Password, PresentationSpec,
Radio, StorageSpec, Str, Switch, Table, TableCheckSpec, TableForeignKeySpec, TableSpec, Text,
Timestamp, TimestampMode, Tree, ValidationSpec,
};
pub use interface::{ActionFnBuilder, Actions, Addon, Module, Modules};
pub use media::{
ActionMediaType, MultipartSpec, UploadLifecycle, DEFAULT_MULTIPART_MAX_FIELDS,
DEFAULT_MULTIPART_MAX_FILES, DEFAULT_MULTIPART_MAX_FILE_BYTES,
DEFAULT_MULTIPART_MAX_TEXT_FIELD_BYTES, DEFAULT_MULTIPART_MAX_TOTAL_BYTES,
};
#[doc(hidden)]
pub use name::{
__validate_field_literal, __validate_qualified_literal, __validate_ref_literal,
__validate_segment_literal,
};
pub use name::{
ActionName, ActionRef, AddonName, FieldName, FieldRef, ModuleName, TableName, ViewName, ViewRef,
};
#[cfg(feature = "openapi")]
pub use openapi::OpenApiInfo;
pub use param::{ParamInput, Params};
pub use plugins::{ActionLink, Plugins};
pub use spec::{
ActionSpec, AddonSpec, FieldKind, HttpMethod, ModuleSpec, ParamSource, ParamSpec, RouteSpec,
TreeViewSpec, ViewSpec,
};
pub use ui::{
AccountIdentitySchema, AccountIdentitySpec, ActionConfirmation, ActionDemoParamSchema,
ActionDemoSchema, ActionInteraction, ActionPlacement, ActionPresentationSchema,
ActionPresentationSpec, ActionResponseKind, AvailabilityHint, AvailabilityState,
FormFieldSchema, FormFieldValidationSchema, FormSchema, ModulePresentationSchema,
ModulePresentationSpec, RelationOptionsSchema, SortDirection, TableColumnSchema,
TableQuerySchema, TableSortSchema, TableSortSpec, TableViewSchema, TreeViewSchema, UiCatalog,
UiParamSource, WidgetHint, UI_SCHEMA_VERSION,
};
pub use view::{CompiledTableView, CompiledTreeView};
#[cfg(test)]
mod tests;
#[cfg(test)]
mod trybuild_tests;