backbone-accounting 0.9.27

GL, journals, ledger, reconciliation (extracted from bersihir)
Documentation
//! Use case type aliases for JournalLine 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::{CreateJournalLineDto, UpdateJournalLineDto};
use crate::application::service::JournalLineService;
use crate::domain::entity::JournalLine;

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

pub type CreateJournalLineUseCase = CreateUseCase<JournalLine, CreateJournalLineDto, JournalLineService>;
pub type UpdateJournalLineUseCase = UpdateUseCase<JournalLine, UpdateJournalLineDto, JournalLineService>;
pub type GetJournalLineUseCase    = GetUseCase<JournalLine, JournalLineService>;
pub type DeleteJournalLineUseCase = DeleteUseCase<JournalLine, JournalLineService>;
pub type ListJournalLineUseCase   = ListUseCase<JournalLine, JournalLineService>;

// <<< CUSTOM
// END CUSTOM