keiro-dsl-0.17.0.0: test/fixtures/mapped-nominal-query-only-enum.keiro
language keiro-dsl 6
context mapped-nominal-query-only-enum
enum TemplateKind { Draft=draft Published=published }
target template_table {
schema = "public"
table = "templates"
reset = clear
}
rebuild-group template_rebuild {
targets = [ template_table ]
order = [ template_table ]
}
projection-owner template_writer {
source = all
delivery = subscription
group = template_rebuild
targets = [ template_table ]
order = 10
subscription = "template-writer"
dedup = "template-writer-v1"
checkpoint-on-missing = from-beginning
replay = explicit
}
readmodel template_lookup {
columns {}
query input = TemplateKind
query result = List TemplateKind
version = 1
shape = "fnv1a:3c07a19c552c3547"
freshness = wait-for-head entire-log
group = template_rebuild
targets = [ template_table ]
}