createGetV1WorkoutsCount.ts•941 B
/**
* Generated by Kubb (https://kubb.dev/).
* Do not edit manually.
*/
import type { GetV1WorkoutsCountHeaderParams, GetV1WorkoutsCount200, GetV1WorkoutsCountQueryResponse } from '../types/GetV1WorkoutsCount.ts'
import { faker } from '@faker-js/faker'
export function createGetV1WorkoutsCountHeaderParams(data?: Partial<GetV1WorkoutsCountHeaderParams>): GetV1WorkoutsCountHeaderParams {
return {
...{ 'api-key': faker.string.uuid() },
...(data || {}),
}
}
/**
* @description The total count of workouts
*/
export function createGetV1WorkoutsCount200(data?: Partial<GetV1WorkoutsCount200>): GetV1WorkoutsCount200 {
return {
...{ workout_count: faker.number.int() },
...(data || {}),
}
}
export function createGetV1WorkoutsCountQueryResponse(data?: Partial<GetV1WorkoutsCountQueryResponse>): GetV1WorkoutsCountQueryResponse {
return data || faker.helpers.arrayElement<any>([createGetV1WorkoutsCount200()])
}