backbone-accounting 0.10.1

GL, journals, ledger, reconciliation (extracted from bersihir)
Documentation
//! Use case type aliases for Ledger aggregate
//!
//! Generated by metaphor-schema. Do not edit manually.
//!
//! Each alias delegates to the matching generic use case in backbone-core.
//! Custom pre/post hooks go in `UseCaseHooks` implementations (// <<< CUSTOM).

use backbone_core::{
    CreateUseCase, UpdateUseCase, GetUseCase, DeleteUseCase, ListUseCase,
};

use crate::presentation::dto::{CreateLedgerDto, UpdateLedgerDto};
use crate::application::service::LedgerService;
use crate::domain::entity::Ledger;

// ─── Use case type aliases ───────────────────────────────────────────────────

pub type CreateLedgerUseCase = CreateUseCase<Ledger, CreateLedgerDto, LedgerService>;
pub type UpdateLedgerUseCase = UpdateUseCase<Ledger, UpdateLedgerDto, LedgerService>;
pub type GetLedgerUseCase    = GetUseCase<Ledger, LedgerService>;
pub type DeleteLedgerUseCase = DeleteUseCase<Ledger, LedgerService>;
pub type ListLedgerUseCase   = ListUseCase<Ledger, LedgerService>;

// <<< CUSTOM
// END CUSTOM