34 lines
782 B
Plaintext
34 lines
782 B
Plaintext
|
|
# Registry source of truth — consumed by gen-registry.nu to produce registry.toml.
|
||
|
|
# Path existence is validated at generation time (Nickel is pure; no filesystem access).
|
||
|
|
# Hash values are Argon2id PHC strings produced by: ontoref-daemon --hash-password <pw>
|
||
|
|
|
||
|
|
let KeyRole = [| 'admin, 'viewer |] in
|
||
|
|
|
||
|
|
let KeyEntry = {
|
||
|
|
role | KeyRole,
|
||
|
|
hash | String,
|
||
|
|
} in
|
||
|
|
|
||
|
|
let ProjectEntry = {
|
||
|
|
slug | String,
|
||
|
|
root | String,
|
||
|
|
keys | Array KeyEntry | default = [],
|
||
|
|
} in
|
||
|
|
|
||
|
|
{
|
||
|
|
projects | Array ProjectEntry = [
|
||
|
|
{
|
||
|
|
slug = "ontoref",
|
||
|
|
root = "/Users/Akasha/Development/ontoref",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
slug = "typedialog",
|
||
|
|
root = "/Users/Akasha/Development/typedialog",
|
||
|
|
},
|
||
|
|
{
|
||
|
|
slug = "stratumiops",
|
||
|
|
root = "/Users/Akasha/Development/stratumiops",
|
||
|
|
},
|
||
|
|
],
|
||
|
|
}
|