Skip to content
Developer Preview

HookDeclareParams

Experimental

hook/declare params: the connection’s whole hook set, in install order and then manifest order. The call replaces the set that the connection declared before, and an empty list removes it.

  • hooks — Experimental
Source

schema/msp/experimental/msp.schema.json#/types/HookDeclareParams

{
"description": "`hook/declare` params: the connection's whole\nhook set, in install order and then manifest order. The call replaces the\nset that the connection declared before, and an empty list removes it.",
"properties": {
"hooks": {
"description": "The declared hooks.",
"items": {
"$ref": "#/$defs/HookDeclaration"
},
"maxItems": 128,
"type": "array"
}
},
"required": [
"hooks"
],
"type": "object",
"x-msp-descriptor": "hook/declare",
"x-msp-stability": "experimental"
}