File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -602,6 +602,11 @@ export const RunTaskOptionsSchema = z.object({
602602
603603export type RunTaskOptions = z . input < typeof RunTaskOptionsSchema > ;
604604
605+ export type OverridableRunTaskOptions = Pick <
606+ RunTaskOptions ,
607+ "retry" | "delayUntil" | "description"
608+ > ;
609+
605610export const RunTaskBodyInputSchema = RunTaskOptionsSchema . extend ( {
606611 idempotencyKey : z . string ( ) ,
607612 parentId : z . string ( ) . optional ( ) ,
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import type {
22 DisplayProperty ,
33 EventFilter ,
44 Logger ,
5+ OverridableRunTaskOptions ,
56 Prettify ,
67 RedactString ,
78 RegisteredOptionsDiff ,
@@ -16,6 +17,7 @@ import { TriggerClient } from "./triggerClient";
1617export type {
1718 DisplayProperty ,
1819 Logger ,
20+ OverridableRunTaskOptions ,
1921 Prettify ,
2022 RedactString ,
2123 RegisteredOptionsDiff ,
You can’t perform that action at this time.
0 commit comments