postRoutinesRequestBodySchema.ts•695 B
/**
* Generated by Kubb (https://kubb.dev/).
* Do not edit manually.
*/
import { postRoutinesRequestExerciseSchema } from "./postRoutinesRequestExerciseSchema.ts";
import { z } from "zod";
export const postRoutinesRequestBodySchema = z.object({
"routine": z.optional(z.object({
"title": z.optional(z.string().describe("The title of the routine.")),
"folder_id": z.number().describe("The folder id the routine should be added to. Pass null to insert the routine into default \"My Routines\" folder").nullish(),
"notes": z.optional(z.string().describe("Additional notes for the routine.")),
"exercises": z.optional(z.array(z.lazy(() => postRoutinesRequestExerciseSchema)))
}))
})