chore: hooks -> decorators

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-10-14 09:06:16 +02:00
parent aee334c14c
commit 88746203aa
15 changed files with 91 additions and 85 deletions
@@ -173,9 +173,9 @@
}
}
},
"EXPERIMENTAL_formHooks": {
"EXPERIMENTAL_formDecorators": {
"type": "object",
"description": "A list of hooks and their inputs that the form should trigger before submitting the job",
"description": "A list of decorators and their inputs that the form should trigger before submitting the job",
"properties": {
"id": {
"type": "string",
@@ -59,7 +59,7 @@ export interface TemplateEntityV1beta3 extends Entity {
/**
* Form hooks to be run
*/
EXPERIMENTAL_formHooks?: { id: string; input?: JsonObject }[];
EXPERIMENTAL_formDecorators?: { id: string; input?: JsonObject }[];
/**
* This is a JSONSchema or an array of JSONSchema's which is used to render a form in the frontend