postWorkoutsRequestExerciseSchema.ts•587 B
/**
* Generated by Kubb (https://kubb.dev/).
* Do not edit manually.
*/
import { postWorkoutsRequestSetSchema } from './postWorkoutsRequestSetSchema.ts'
import { z } from 'zod'
export const postWorkoutsRequestExerciseSchema = z.object({
exercise_template_id: z.string().describe('The ID of the exercise template.').optional(),
superset_id: z.number().int().describe('The ID of the superset.').nullable().nullish(),
notes: z.string().describe('Additional notes for the exercise.').nullable().nullish(),
sets: z.array(z.lazy(() => postWorkoutsRequestSetSchema)).optional(),
})