/**
* Generated by Kubb (https://kubb.dev/).
* Do not edit manually.
*/
import type { ExerciseHistoryEntry } from "../types/ExerciseHistoryEntry.ts";
import { faker } from "@faker-js/faker";
export function createExerciseHistoryEntry(
data?: Partial<ExerciseHistoryEntry>,
): ExerciseHistoryEntry {
return {
...{
workout_id: faker.string.alpha(),
workout_title: faker.string.alpha(),
workout_start_time: faker.string.alpha(),
workout_end_time: faker.string.alpha(),
exercise_template_id: faker.string.alpha(),
weight_kg: faker.number.float(),
reps: faker.number.int(),
distance_meters: faker.number.int(),
duration_seconds: faker.number.int(),
rpe: faker.number.float(),
custom_metric: faker.number.float(),
set_type: faker.string.alpha(),
},
...(data || {}),
};
}