keiro-dsl-0.4.0.1: test/conformance-coldstart/Generated/Billing/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.Billing.ReplayAudit (auditTargets) where
import Generated.Billing.Subscription.EventStream qualified as Subscription
import Keiro.ReplayAudit (AuditTarget (..), SomeAuditTarget (..), streamInCategory)
import Keiro.Stream qualified as Stream
auditTargets :: [SomeAuditTarget]
auditTargets =
[ SomeAuditTarget
AuditTarget
{ eventStream = Subscription.subscriptionEventStream
, category = Stream.categoryText Subscription.subscriptionCategory
, mkStream = streamInCategory (Stream.categoryText Subscription.subscriptionCategory)
}
]