Skip to main content
Glama
createWorkout.ts1.22 kB
/** * Generated by Kubb (https://kubb.dev/). * Do not edit manually. */ import type { Workout } from '../types/Workout.ts' import { faker } from '@faker-js/faker' export function createWorkout(data?: Partial<Workout>): Workout { return { ...{ id: faker.string.alpha(), title: faker.string.alpha(), description: faker.string.alpha(), start_time: faker.number.float(), end_time: faker.number.float(), updated_at: faker.string.alpha(), created_at: faker.string.alpha(), exercises: faker.helpers.multiple(() => ({ index: faker.number.float(), title: faker.string.alpha(), notes: faker.string.alpha(), exercise_template_id: faker.string.alpha(), supersets_id: faker.number.float(), sets: faker.helpers.multiple(() => ({ index: faker.number.float(), type: faker.string.alpha(), weight_kg: faker.number.float(), reps: faker.number.float(), distance_meters: faker.number.float(), duration_seconds: faker.number.float(), rpe: faker.number.float(), custom_metric: faker.number.float(), })), })), }, ...(data || {}), } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chrisdoc/hevy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server