packages feed

keiro-dsl-0.10.0.0: test/conformance-coldstart/Generated/Billing/ReplayAudit.hs

-- @generated by keiro-dsl 0.9.0.0 (language keiro-dsl 4) from context billing replay-audit assembly; do not edit.
--
-- 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)
        }
  ]