ontoref/.ontoref/registry.ncl
Jesús Pérez c5be37dcd5
Some checks failed
Nickel Type Check / Nickel Type Checking (push) Has been cancelled
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
chore: fix errors in registry projects and skip if project setting fails
2026-03-13 01:19:53 +00:00

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",
},
],
}