Skip to content

Commit b74d15d

Browse files
committed
checkpoint image ref is optional for output as well
1 parent bf36a53 commit b74d15d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/v3/schemas/runEngine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ export type CheckpointType = z.infer<typeof CheckpointType>;
161161
export const CheckpointInput = z.object({
162162
type: CheckpointType,
163163
location: z.string(),
164+
imageRef: z.string().nullish(),
164165
reason: z.string().nullish(),
165166
});
166167

@@ -170,7 +171,6 @@ export const TaskRunCheckpoint = CheckpointInput.merge(
170171
z.object({
171172
id: z.string(),
172173
friendlyId: z.string(),
173-
imageRef: z.string(),
174174
})
175175
);
176176

0 commit comments

Comments
 (0)