File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/core/src/v3/schemas Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -311,7 +311,8 @@ export const TaskRunExecutionDeployment = z.object({
311
311
export type TaskRunExecutionDeployment = z . infer < typeof TaskRunExecutionDeployment > ;
312
312
313
313
const StaticTaskRunExecutionShape = {
314
- task : TaskRunExecutionTask ,
314
+ // Passthrough needed for backwards compatibility
315
+ task : TaskRunExecutionTask . passthrough ( ) ,
315
316
queue : TaskRunExecutionQueue ,
316
317
environment : TaskRunExecutionEnvironment ,
317
318
organization : TaskRunExecutionOrganization ,
@@ -326,7 +327,8 @@ export const StaticTaskRunExecution = z.object(StaticTaskRunExecutionShape);
326
327
export type StaticTaskRunExecution = z . infer < typeof StaticTaskRunExecution > ;
327
328
328
329
export const TaskRunExecution = z . object ( {
329
- attempt : TaskRunExecutionAttempt ,
330
+ // Passthrough needed for backwards compatibility
331
+ attempt : TaskRunExecutionAttempt . passthrough ( ) ,
330
332
run : TaskRun . and (
331
333
z . object ( {
332
334
traceContext : z . record ( z . unknown ( ) ) . optional ( ) ,
You can’t perform that action at this time.
0 commit comments