/**
* Generated by Kubb (https://kubb.dev/).
* Do not edit manually.
*/
import type { ExerciseTemplate } from "../types/ExerciseTemplate.ts";
import { faker } from "@faker-js/faker";
export function createExerciseTemplate(
data?: Partial<ExerciseTemplate>,
): ExerciseTemplate {
return {
...{
id: faker.string.alpha(),
title: faker.string.alpha(),
type: faker.string.alpha(),
primary_muscle_group: faker.string.alpha(),
secondary_muscle_groups: faker.helpers.multiple(() =>
faker.string.alpha(),
),
is_custom: faker.datatype.boolean(),
},
...(data || {}),
};
}