Skip to main content
Glama
createExercise.ts549 B
/** * Generated by Kubb (https://kubb.dev/). * Do not edit manually. */ import type { Exercise } from "../types/Exercise.ts"; import { createSet } from "./createSet.ts"; import { faker } from "@faker-js/faker"; export function createExercise(data?: Partial<Exercise>): Exercise { return { ...{"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(() => (createSet()))}, ...data || {} } }

Latest Blog Posts

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