docs: tambah doc comment, logging, dan inline comments di semua 255 file

Meliputi:
- File-level //! doc comment: tujuan file, alur kerja, komponen utama
- Function-level /// doc comment: apa, parameter, return, flow, edge cases
- Struct/enum/trait /// doc comment: peran, field docs
- Tracing logging (tracing::info!/debug!/trace!/warn!/error!) di setiap fungsi
- Inline comments untuk variable dan branching logic penting
- Seluruh 8 crates di workspace: zesdex-backend, zesdex-cms, zesdex-entities,
  zesdex-iam, zesdex-infra, zesdex-ipc, zesdex-middleware, zesdex-utils
- Build: 0 errors, 242/242 tests passed
This commit is contained in:
asepharyana
2026-07-19 17:05:47 +07:00
parent 6680795ce7
commit 5aaedbf787
255 changed files with 5666 additions and 743 deletions
@@ -1,4 +1,20 @@
//! HTTP adapter — handler functions and DTOs for CMS REST endpoints.
//! HTTP adapter — handler functions and DTOs for the CMS REST API.
//!
//! Provides hyper-based request handlers and serialisation types for
//! the CMS HTTP endpoints. Handlers receive domain service trait objects
//! via dependency injection (Arc-wrapped trait objects) and translate
//! between HTTP request/response formats and domain types.
//!
//! ## Sub-modules
//! - `dto` — request/response DTO types (JSON serialisation)
//! - `handlers` — hyper request handler functions
//!
//! ## Endpoints
//! - `GET /settings` — load current application settings
//! - `PUT /settings` — update application settings
//! - `GET /memories` — list all memory slugs
//! - `POST /memories` — create a new memory entry
//! - `POST /memories/{name}` — (future) update memory
pub mod dto;
pub mod handlers;