feat(CLI): Add optional --parameters to scheduled recipe (#8741)
Signed-off-by: Douwe Osinga <douwe@squareup.com> Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
@@ -7712,6 +7712,22 @@
|
||||
"format": "date-time",
|
||||
"nullable": true
|
||||
},
|
||||
"parameters": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"allOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"paused": {
|
||||
"type": "boolean"
|
||||
},
|
||||
@@ -7720,6 +7736,11 @@
|
||||
"format": "date-time",
|
||||
"nullable": true
|
||||
},
|
||||
"recipe_base_dir": {
|
||||
"type": "string",
|
||||
"description": "Original directory of the recipe file before it was copied to scheduled_recipes/.\nPreserved so that relative paths (sub-recipes, template includes) resolve correctly\nagainst the source tree rather than the scheduler's internal storage directory.",
|
||||
"nullable": true
|
||||
},
|
||||
"source": {
|
||||
"type": "string"
|
||||
}
|
||||
|
||||
@@ -1255,8 +1255,15 @@ export type ScheduledJob = {
|
||||
currently_running?: boolean;
|
||||
id: string;
|
||||
last_run?: string | null;
|
||||
parameters?: Array<Array<string>>;
|
||||
paused?: boolean;
|
||||
process_start_time?: string | null;
|
||||
/**
|
||||
* Original directory of the recipe file before it was copied to scheduled_recipes/.
|
||||
* Preserved so that relative paths (sub-recipes, template includes) resolve correctly
|
||||
* against the source tree rather than the scheduler's internal storage directory.
|
||||
*/
|
||||
recipe_base_dir?: string | null;
|
||||
source: string;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user