keiro-dsl-0.25.1.0: test/conformance-mapped-readmodel/Generated/MappedReadmodel/Inspection.hs
-- @generated by keiro-dsl 0.25.1.0 (language keiro-dsl 5) from context mapped-readmodel inspection catalog; do not edit.
--
-- The complete read-only inspection catalog for this service: one aggregate
-- inspector per declared aggregate, the replay-audit targets and the projection
-- catalog. Mount them through Keiro.Ops.AppHooks; see docs/user/operations.md.
module Generated.MappedReadmodel.Inspection
( aggregateInspectorCatalog
, aggregateInspectors
, inspectionAuditTargets
, inspectionProjectionCatalog
) where
import Generated.MappedReadmodel.ProjectionCatalog (validatedProjectionCatalog)
import Keiro.Inspection.Aggregate (AggregateInspectors, SomeAggregateInspector (..))
import Keiro.Inspection.Aggregate qualified
import Keiro.Projection.Catalog (ValidatedProjectionCatalog)
import Keiro.ReplayAudit (SomeAuditTarget)
aggregateInspectorCatalog :: [SomeAggregateInspector]
aggregateInspectorCatalog = []
aggregateInspectors :: AggregateInspectors
aggregateInspectors = case Keiro.Inspection.Aggregate.aggregateInspectors aggregateInspectorCatalog of
Right inspectors -> inspectors
Left message -> error ("keiro-dsl generated an invalid aggregate inspector catalog: " <> show message)
inspectionAuditTargets :: [SomeAuditTarget]
inspectionAuditTargets = []
inspectionProjectionCatalog :: ValidatedProjectionCatalog
inspectionProjectionCatalog = validatedProjectionCatalog