packages feed

keiro-dsl-0.6.0.0: test/conformance-scalar-expressions/Generated/AggregateScalarExpressions/ReplayAudit.hs

{-# LANGUAGE GADTs #-}
-- @generated by keiro-dsl; do not edit. Regenerated from the .keiro spec.
--
-- Deployment contract:
--   * replay-neutral diff: no data audit is required;
--   * affected diff: run AuditTargeted with the emitted affected set
--     against a production copy under the candidate binary;
--   * one-time runtime cutover: run AuditFull;
--   * any non-zero audit exit blocks deployment.
module Generated.AggregateScalarExpressions.ReplayAudit (auditTargets) where

import Generated.AggregateScalarExpressions.ScalarAccount.EventStream qualified as ScalarAccount
import Keiro.ReplayAudit (AuditTarget (..), SomeAuditTarget (..), streamInCategory)
import Keiro.Stream qualified as Stream

auditTargets :: [SomeAuditTarget]
auditTargets =
  [ SomeAuditTarget
      AuditTarget
        { eventStream = ScalarAccount.scalarAccountEventStream
        , category = Stream.categoryText ScalarAccount.scalarAccountCategory
        , mkStream = streamInCategory (Stream.categoryText ScalarAccount.scalarAccountCategory)
        }
  ]