70 lines
2.0 KiB
JSON
70 lines
2.0 KiB
JSON
{
|
|
"format": 1,
|
|
"seat": "mesh-catalog",
|
|
"scope": "mesh",
|
|
"grain": "seat-list",
|
|
"decision": "novox/hq ADR 0604",
|
|
"verbs": [
|
|
{
|
|
"name": "modules",
|
|
"description": "Every module the trunk holds, each with its repository, its directory there, the merge commit it was last changed at and its fingerprint (or why it has none): the catalog of the mesh, read from its holder's state. Reads only.",
|
|
"optional": true,
|
|
"input": {
|
|
"properties": {},
|
|
"type": "object"
|
|
}
|
|
},
|
|
{
|
|
"name": "module",
|
|
"description": "One module whole: its repository, directory, commit and fingerprint, and its manifest as the trunk holds it. Older versions are in its repository's history. Reads only.",
|
|
"optional": true,
|
|
"input": {
|
|
"properties": {
|
|
"module": {
|
|
"description": "the module's name",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"module"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
{
|
|
"name": "provides",
|
|
"description": "Which modules provide a provision (a module provides its own name too) and which require it, from the module graph's provision edges. Reads only.",
|
|
"optional": true,
|
|
"input": {
|
|
"properties": {
|
|
"provision": {
|
|
"description": "the provision, such as postgres-database",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"provision"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
{
|
|
"name": "dependents",
|
|
"description": "The modules whose build edges reach a module, directly or through others (a base, a mesh package it publishes, the build module that builds them): what a change of it builds again, from the module graph. Reads only.",
|
|
"optional": true,
|
|
"input": {
|
|
"properties": {
|
|
"module": {
|
|
"description": "the module's name",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"module"
|
|
],
|
|
"type": "object"
|
|
}
|
|
}
|
|
]
|
|
}
|