Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/tools/get-data/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ const zodOutputSchema = z.object({
data: z.array(
z.record(z.unknown())
).describe('The data returned from the query.'),
}).strict()
})

export const outputSchema = zodToJsonSchema(zodOutputSchema)
export const outputSchema = zodToJsonSchema(zodOutputSchema)
2 changes: 1 addition & 1 deletion src/tools/get-dataflow/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const zodOutputSchema = z.object({
last_success_run_at: z.string().nullish().describe('The date and time of the last successful run of the source. ISO 8601 format.'),
error_details: z.string().nullish().describe('The error details of the source.'),
})).describe('The sources of the data flow.'),
}).strict()
})
})

export const outputSchema = zodToJsonSchema(zodOutputSchema)
5 changes: 3 additions & 2 deletions src/tools/list-dataflows/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ const zodOutputSchema = z.object({
z.object({
id: z.string().describe('The ID of the dataflow.'),
name: z.string().describe('The name of the dataflow.'),
last_successful_execution_id: z.string().nullish().describe('The ID of the last successful run (execution) of the dataflow.')
}).strict()
last_successful_execution_id: z.string().nullish().describe('The ID of the last successful run (execution) of the dataflow.'),
last_success_run_at: z.string().nullish().describe('The date and time of the last successful run (execution) of the dataflow. ISO 8601 format.'),
})
)
})

Expand Down