{"version":3,"file":"staticLessonList.schema.cjs","sources":["../../../../../../src/schema/public/components/staticLessonList/staticLessonList.schema.ts"],"sourcesContent":["import { z } from \"zod\";\nimport zodToCamelCase from \"zod-to-camel-case\";\n\nconst staticLesson = z.object({\n  slug: z.string(),\n  title: z.string(),\n  order: z.number(),\n  _state: z.string().optional(), // Optional field to match the fixture\n});\n\nexport const staticLessonListSchema = z.array(staticLesson);\n\nexport type StaticLesson = z.infer<typeof staticLesson>;\nexport type StaticLessonList = z.infer<typeof staticLessonListSchema>;\n\nexport const staticLessonCamel = zodToCamelCase(staticLesson);\nexport type StaticLessonCamel = z.infer<typeof staticLessonCamel>;\n\nexport const staticLessonListSchemaCamel = zodToCamelCase(\n  staticLessonListSchema,\n);\nexport type StaticLessonListCamel = z.infer<typeof staticLessonListSchemaCamel>;\n"],"names":["staticLesson","z","object","slug","string","title","order","number","_state","optional","staticLessonListSchema","array","staticLessonCamel","zodToCamelCase","staticLessonListSchemaCamel"],"mappings":"2HAGA,MAAMA,EAAeC,EAAAA,EAAEC,OAAO,CAC5BC,KAAMF,EAAAA,EAAEG,SACRC,MAAOJ,EAAAA,EAAEG,SACTE,MAAOL,EAAAA,EAAEM,SACTC,OAAQP,EAAAA,EAAEG,SAASK,aAGRC,EAAyBT,EAAAA,EAAEU,MAAMX,GAKjCY,EAAoBC,EAAAA,QAAeb,GAGnCc,EAA8BD,EAAAA,QACzCH"}