36 lines
1.3 KiB
Rust
36 lines
1.3 KiB
Rust
mod application;
|
|
mod commands;
|
|
mod domain;
|
|
mod errors;
|
|
mod events;
|
|
|
|
mod asset_object_core;
|
|
#[cfg(feature = "server-service")]
|
|
mod asset_object_service;
|
|
|
|
pub use application::{
|
|
AssetEntityBindingProcedureResult, AssetHistoryListResult, AssetObjectProcedureResult,
|
|
ConfirmAssetObjectResult, build_asset_entity_binding_input, build_asset_object_upsert_input,
|
|
};
|
|
#[cfg(feature = "server-service")]
|
|
pub use asset_object_service::{
|
|
AssetObjectService, ConfirmAssetObjectError, InMemoryAssetObjectStore,
|
|
};
|
|
pub use commands::{
|
|
AssetEntityBindingInput, AssetHistoryListInput, AssetObjectUpsertInput, ConfirmAssetObjectInput,
|
|
};
|
|
pub use domain::{
|
|
ASSET_BINDING_ID_PREFIX, ASSET_OBJECT_ID_PREFIX, AssetEntityBindingRecord,
|
|
AssetEntityBindingSnapshot, AssetHistoryEntryRecord, AssetHistoryEntrySnapshot,
|
|
AssetObjectAccessPolicy, AssetObjectRecord, AssetObjectUpsertSnapshot,
|
|
INITIAL_ASSET_OBJECT_VERSION,
|
|
};
|
|
pub use errors::AssetObjectFieldError;
|
|
pub use events::{AssetDomainEvent, AssetEntityBindingChangedEvent, AssetObjectConfirmedEvent};
|
|
|
|
pub use asset_object_core::{
|
|
build_asset_entity_binding_record, build_asset_history_entry_record, build_asset_object_record,
|
|
generate_asset_binding_id, generate_asset_object_id, normalize_optional_value,
|
|
validate_asset_entity_binding_fields, validate_asset_object_fields,
|
|
};
|