postWorkoutsRequestSetSchema.ts•899 B
/**
* Generated by Kubb (https://kubb.dev/).
* Do not edit manually.
*/
import { z } from "zod";
export const postWorkoutsRequestSetSchema = z.object({
"type": z.optional(z.enum(["warmup", "normal", "failure", "dropset"]).describe("The type of the set.")),
"weight_kg": z.number().describe("The weight in kilograms.").nullish(),
"reps": z.number().int().describe("The number of repetitions.").nullish(),
"distance_meters": z.number().int().describe("The distance in meters.").nullish(),
"duration_seconds": z.number().int().describe("The duration in seconds.").nullish(),
"custom_metric": z.number().describe("A custom metric for the set. Currently used for steps and floors.").nullish(),
"rpe": z.union([z.literal(6), z.literal(7), z.literal(7.5), z.literal(8), z.literal(8.5), z.literal(9), z.literal(9.5), z.literal(10)]).describe("The Rating of Perceived Exertion (RPE).").nullish()
})