20 lines
473 B
Plaintext
20 lines
473 B
Plaintext
|
|
let qa_entry_type = {
|
||
|
|
id | String,
|
||
|
|
question | String,
|
||
|
|
answer | String,
|
||
|
|
actor | String | default = "human",
|
||
|
|
created_at | String | default = "",
|
||
|
|
tags | Array String | default = [],
|
||
|
|
related | Array String | default = [], # ontology node IDs or ADR refs
|
||
|
|
verified | Bool | default = false,
|
||
|
|
} in
|
||
|
|
|
||
|
|
let qa_store_type = {
|
||
|
|
entries | Array qa_entry_type | default = [],
|
||
|
|
} in
|
||
|
|
|
||
|
|
{
|
||
|
|
QaEntry = qa_entry_type,
|
||
|
|
QaStore = qa_store_type,
|
||
|
|
}
|