postRoutinesRequestExerciseSchema.ts•655 B
/**
* Generated by Kubb (https://kubb.dev/).
* Do not edit manually.
*/
import { postRoutinesRequestSetSchema } from "./postRoutinesRequestSetSchema.ts";
import { z } from "zod";
export const postRoutinesRequestExerciseSchema = z.object({
"exercise_template_id": z.optional(z.string().describe("The ID of the exercise template.")),
"superset_id": z.number().int().describe("The ID of the superset.").nullish(),
"rest_seconds": z.number().int().describe("The rest time in seconds.").nullish(),
"notes": z.string().describe("Additional notes for the exercise.").nullish(),
"sets": z.optional(z.array(z.lazy(() => postRoutinesRequestSetSchema)))
})