packages feed

keiro-dsl-0.9.0.0: test/conformance-structural/Generated/StructuralConformance/ReplayAudit.hs

{-# LANGUAGE GADTs #-}
-- @generated by keiro-dsl 0.8.0.0 (language keiro-dsl 4) from context structural-conformance 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.StructuralConformance.ReplayAudit (auditTargets) where

import Generated.StructuralConformance.ArtifactCatalog.EventStream qualified as ArtifactCatalog
import Keiro.ReplayAudit (AuditTarget (..), SomeAuditTarget (..), streamInCategory)
import Keiro.Stream qualified as Stream

auditTargets :: [SomeAuditTarget]
auditTargets =
  [ SomeAuditTarget
      AuditTarget
        { eventStream = ArtifactCatalog.artifactCatalogEventStream
        , category = Stream.categoryText ArtifactCatalog.artifactCatalogCategory
        , mkStream = streamInCategory (Stream.categoryText ArtifactCatalog.artifactCatalogCategory)
        }
  ]