13 lines
456 B
Plaintext
13 lines
456 B
Plaintext
|
|
let base = import "../nickel/stratum-base/stratum-base.ncl" in
|
||
|
|
{
|
||
|
|
id = "fmt-crate",
|
||
|
|
handler = "scripts/nu/fmt.nu",
|
||
|
|
input_schemas = {},
|
||
|
|
output_schemas = { "formatted-code" = "schemas/capabilities/formatted-code.ncl" },
|
||
|
|
compensate = null,
|
||
|
|
retry = { max = 1, backoff_secs = 5, strategy = 'fixed },
|
||
|
|
timeout_secs = 60,
|
||
|
|
atomic = true,
|
||
|
|
triggers = ["dev.crate.*.modified"],
|
||
|
|
} | base.NodeDefinition
|