@@ -173,6 +173,20 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"EXPERIMENTAL_formHooks": {
|
||||
"type": "object",
|
||||
"description": "A list of hooks and their inputs that the form should trigger before submitting the job",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "The form hook ID"
|
||||
},
|
||||
"input": {
|
||||
"type": "object",
|
||||
"description": "A object describing the inputs to the form hook."
|
||||
}
|
||||
}
|
||||
},
|
||||
"steps": {
|
||||
"type": "array",
|
||||
"description": "A list of steps to execute.",
|
||||
|
||||
@@ -56,6 +56,11 @@ export interface TemplateEntityV1beta3 extends Entity {
|
||||
*/
|
||||
EXPERIMENTAL_recovery?: TemplateRecoveryV1beta3;
|
||||
|
||||
/**
|
||||
* Form hooks to be run
|
||||
*/
|
||||
EXPERIMENTAL_formHooks?: { id: string; input: JsonObject }[];
|
||||
|
||||
/**
|
||||
* This is a JSONSchema or an array of JSONSchema's which is used to render a form in the frontend
|
||||
* to collect user input and validate it against that schema. This can then be used in the `steps` part below to template
|
||||
|
||||
Reference in New Issue
Block a user