packages feed

keiro-dsl-0.12.0.0: test/conformance-projection-catalog/Generated/CatalogDemo/CatalogAudit/ReadModel.hs

-- @generated by keiro-dsl 0.12.0.0 (language keiro-dsl 5) from readmodel catalogAudit; do not edit.
module Generated.CatalogDemo.CatalogAudit.ReadModel
  ( catalogAuditReadModel
  , catalogAuditQualifiedTable
  ) where

import Generated.CatalogDemo.CatalogAudit.ReadModelTable (catalogAuditQualifiedTable)
import CatalogDemo.CatalogAudit.ReadModelHoles (CatalogAuditQueryInput, CatalogAuditQueryResult, catalogAuditQuery)
import Keiro.ReadModel (QueryCursorAuthority (..), ReadModel, ReadModelBlueprint (..), immediateReadModel)

catalogAuditReadModel :: ReadModel CatalogAuditQueryInput CatalogAuditQueryResult
catalogAuditReadModel =
  immediateReadModel catalogAuditReadModelBlueprint

catalogAuditReadModelBlueprint :: ReadModelBlueprint CatalogAuditQueryInput CatalogAuditQueryResult
catalogAuditReadModelBlueprint =
  ReadModelBlueprint
    { name = "catalog-demo-catalogAudit"
    , tableName = "audit_log"
    , schema = "sales"
    , version = 1
    , shapeHash = "fnv1a:9682af3ada04bf50"
    , cursorAuthority = DurableQueryCursor "catalog-demo-audit"
    , query = catalogAuditQuery
    }