manta_shared/types/mod.rs
1//! Wire types shared between the `manta-cli` and `manta-server`
2//! binaries — the CLI↔server API contract.
3//!
4//! Everything in this module is "wire-shaped" data: request/response
5//! bodies, query-string structs, and CLI-built parameter structs
6//! (`api/`), response DTOs re-exported from upstream crates (`dto`),
7//! auth wire shapes (`auth`), plus pure helpers that operate on those
8//! types (`cluster_status`). There is no business logic and no I/O;
9//! this module depends only on `serde`, `utoipa`, and
10//! `manta-backend-dispatcher` type re-exports. Anything that performs
11//! work — config loading, tracing init, error conversion — lives in
12//! [`super::common`].
13
14pub mod api;
15pub mod auth;
16pub mod cluster_status;
17pub mod dto;