import { keysToCamelCase } from "zod-to-camel-case"; import type { KeyLearningPoints, KeyLearningPointsCamel, } from "@/schema/public/components/keyLearningPoints/keyLearningPoints.schema"; export const keyLearningPointsFixture = ({ overrides = {}, }: { overrides?: Partial; } = {}): KeyLearningPoints => ({ key_learning_point: "Example key learning point", ...overrides, }); export const keyLearningPointsFixtureCamel = ({ overrides = {}, }: { overrides?: Partial; } = {}): KeyLearningPointsCamel => keysToCamelCase( keyLearningPointsFixture({ overrides: overrides as Partial, }), );