{"version":3,"file":"mvLessonRestrictionLevels.schema.cjs","sources":["../../../../../src/schema/published/mvLessonRestrictionLevels/mvLessonRestrictionLevels.schema.ts"],"sourcesContent":["import { z } from \"zod\";\nimport zodToCamelCase from \"zod-to-camel-case\";\n\nimport {\n  _stateSchema,\n  restrictionLevel,\n} from \"@/schema/public/components/base/base.schema\";\n\nexport const mvLessonRestrictionLevelsSchema = z.object({\n  lesson_id: z.number().int(),\n  _state: _stateSchema,\n  slug: z.string(),\n  tpc_media_max_restriction: restrictionLevel.nullable(),\n  tpc_quizimages_max_restriction: restrictionLevel.nullable(),\n  tpc_downloadablefiles_max_restriction: restrictionLevel.nullable(),\n  tpc_works_max_restriction: restrictionLevel.nullable(),\n});\n\nexport type MvLessonRestrictionLevels = z.infer<\n  typeof mvLessonRestrictionLevelsSchema\n>;\n\nexport const mvLessonRestrictionLevelsSchemaCamel = zodToCamelCase(\n  mvLessonRestrictionLevelsSchema,\n);\nexport type MvLessonRestrictionLevelsCamel = z.infer<\n  typeof mvLessonRestrictionLevelsSchemaCamel\n>;\n"],"names":["mvLessonRestrictionLevelsSchema","z","object","lesson_id","number","int","_state","_stateSchema","slug","string","tpc_media_max_restriction","restrictionLevel","nullable","tpc_quizimages_max_restriction","tpc_downloadablefiles_max_restriction","tpc_works_max_restriction","mvLessonRestrictionLevelsSchemaCamel","zodToCamelCase"],"mappings":"yLAQO,MAAMA,EAAkCC,EAAAA,EAAEC,OAAO,CACtDC,UAAWF,EAAAA,EAAEG,SAASC,MACtBC,OAAQC,EAAAA,aACRC,KAAMP,EAAAA,EAAEQ,SACRC,0BAA2BC,EAAAA,iBAAiBC,WAC5CC,+BAAgCF,EAAAA,iBAAiBC,WACjDE,sCAAuCH,EAAAA,iBAAiBC,WACxDG,0BAA2BJ,EAAAA,iBAAiBC,aAOjCI,EAAuCC,EAAAA,QAClDjB"}