@oaknational/oak-curriculum-schema 1.67.2 → 1.68.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("zod");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=t(e);const i=e.z.enum(["published","new","migration"]),a=e.z.enum(["2020-2023","2023-2024","2024-2025","0"]),r=e.z.enum(["foundation","primary","secondary"]),n=e.z.enum(["Early Years Foundation Stage","Primary","Secondary"]),o=e.z.enum(["foundation","primary","secondary"]),l=e.z.enum(["KS1","KS2","KS3","KS4","EYFS","All key stages"]),u=e.z.enum(["ks1","ks2","ks3","ks4","early-years-foundation-stage","all-ks"]),_=e.z.enum(["Key Stage 1","Key Stage 2","Key Stage 3","Key Stage 4","Early Years Foundation Stage","All Key Stages"]),d=e.z.enum(["1","2","3","4","5","6","7","8","9","10","11","12","13","R","All"]),c=e.z.enum(["reception","year-1","year-2","year-3","year-4","year-5","year-6","year-7","year-8","year-9","year-10","year-11","year-12","year-13","all-years"]),p=e.z.enum(["Year 1","Year 2","Year 3","Year 4","Year 5","Year 6","Year 7","Year 8","Year 9","Year 10","Year 11","Year 12","Year 13","Reception","All years"]),m=e.z.enum(["core","foundation","higher"]),g=e.z.enum(["core","foundation","higher"]),b=e.z.enum(["Core","Foundation","Higher"]),y=e.z.enum(["Core","GCSE"]),z=e.z.enum(["core","gcse"]),h=e.z.enum(["Core","GCSE"]),x=e.z.enum(["aqa","edexcel","eduqas","ocr","wjec","edexcelb"]),v=e.z.enum(["AQA","Edexcel","Eduqas","OCR","WJEC","Edexcel B"]),j=e.z.enum(["Assessment and Qualifications Alliance","Edexcel","Eduqas","Oxford, Cambridge and RSA Examinations","Welsh Joint Education Committee","Edexcel B"]),w=e.z.enum(["Computing (non-GCSE)","Art and design","Citizenship","Computing","Computer Science","Design and technology","Drama","English","English grammar","English reading for pleasure","English spelling","Expressive arts and design","Financial education","French","Geography","German","History","Latin","Literacy","Maths","Music","Personal, social and emotional development","Physical education","RSHE (PSHE)","Religious education","Science","Biology","Chemistry","Combined science","Physics","Spanish","Understanding the world","Specialist","Communication and language","Creative arts","Independent living","Numeracy","Physical development","Therapies","Occupational therapy","Physical therapy","Sensory integration","Speech and language therapy","QA testing only","Cooking and nutrition"]),k=e.z.enum(["computing-non-gcse","art","citizenship","computing","design-technology","drama","english","english-grammar","english-reading-for-pleasure","english-spelling","expressive-arts-and-design","financial-education","french","geography","german","history","latin","literacy","maths","music","personal-social-and-emotional-development","physical-education","rshe-pshe","religious-education","science","biology","chemistry","combined-science","physics","spanish","understanding-the-world","specialist","communication-and-language","creative-arts","independent-living","numeracy","physical-development","therapies","occupational-therapy","physical-therapy","sensory-integration","speech-and-language-therapy","testing-not-for-publication","cooking-nutrition"]),f=s.default.enum(["ingest_started","ingest_complete","ready_to_ingest"]),S=s.default.enum(["no_asset"]),q=s.default.enum(["adding_captions","mux_complete","sent_to_mux","sent_captions_to_mux","mux_transcoded","no_audio","rev_complete","sent_to_rev","rev_skipped"]),O=e.z.object({pathway:y.nullable(),pathway_id:e.z.number().nullable(),pathway_slug:z.nullable(),pathway_description:h.nullable(),pathway_display_order:e.z.number().nullable(),tier:m.nullable(),tier_id:e.z.number().nullable(),tier_slug:g.nullable(),tier_description:b.nullable(),tier_display_order:e.z.number().nullable(),examboard:v.nullable(),examboard_id:e.z.number().nullable(),examboard_slug:x.nullable(),examboard_description:j.nullable(),examboard_display_order:e.z.number().nullable(),year:d,year_slug:c,year_id:e.z.number(),year_description:p,year_display_order:e.z.number(),keystage:l,keystage_id:e.z.number(),keystage_slug:u,keystage_description:_,keystage_display_order:e.z.number(),phase:o,phase_id:e.z.number(),phase_slug:r,phase_description:n,phase_display_order:e.z.number(),subject:w,subject_id:e.z.number(),subject_slug:k,subject_description:e.z.string(),subject_display_order:e.z.number(),subject_parent:w.nullish(),optionality:e.z.string().optional(),legacy:e.z.string().optional(),dataset:e.z.string().optional()}),F=e.z.enum(["pupilSubjectListingQuery","pupilProgrammeListingQuery","pupilUnitListingQuery","pupilLessonListingQuery","pupilLessonQuery","unitListingQuery","lessonListingQuery","programmeListingQuery","subjectListingQuery","lessonOverviewQuery","lessonDownloadsQuery","lessonBetaDownloadsQuery","lessonShareQuery","lessonMediaClipsQuery","teacherPreviewLessonQuery","teachersPreviewLessonDownloadQuery","teachersPreviewUnitListingQuery"]),C=e.z.enum(["pupil","teacher","curriculum"]),P=e.z.union([F,C]),L=e.z.object({exclusions:e.z.array(P),opt_out:e.z.array(P),programme_field_overrides:O.partial(),display_expiring_banner:e.z.boolean(),disable_pupil_share:e.z.boolean(),display_PE_title:e.z.boolean(),display_vocab_button:e.z.boolean(),override_pathway:e.z.string(),is_pe_practical:e.z.boolean(),related_subject_slugs:e.z.array(k),group_units_as:e.z.string()}).partial(),Q=e.z.object({pe_practical:e.z.boolean(),age_restriction:e.z.string().nullable(),agf__geo_restricted:e.z.boolean().nullish(),agf__login_required:e.z.boolean().nullish()}).partial(),Y=e.z.object({format:e.z.enum(["png","jpg","jpeg","webp","gif","svg"]),secure_url:e.z.string().url(),url:e.z.string().url(),height:e.z.number(),width:e.z.number(),metadata:e.z.union([e.z.object({attribution:e.z.string(),usageRestriction:e.z.string()}).partial(),e.z.array(e.z.never()).length(0)]),public_id:e.z.string(),version:e.z.number()}).partial(),E=e.z.object({image_object:Y,type:e.z.literal("image")}),A=e.z.object({text:e.z.string(),type:e.z.literal("text")}),U=e.z.object({answer:e.z.array(e.z.union([A,E]).optional()),answer_is_active:e.z.boolean().optional(),answer_is_correct:e.z.boolean().optional()}),B=e.z.object({answer:e.z.array(A.optional()),answer_is_active:e.z.boolean().optional(),answer_is_default:e.z.boolean().optional()}),D=e.z.object({answer:e.z.array(A),correct_order:e.z.number().optional(),answer_is_active:e.z.boolean().optional()}),W=e.z.object({answer_is_active:e.z.boolean().optional(),correct_choice:e.z.array(A),match_option:e.z.array(A).optional()}),K=e.z.object({question_id:e.z.number(),question_uid:e.z.string(),question_type:e.z.string(),question_stem:e.z.array(e.z.union([A,E])).optional().nullable(),answers:e.z.object({"multiple-choice":e.z.array(U).optional(),"short-answer":e.z.array(B).optional(),order:e.z.array(D).optional(),match:e.z.array(W).optional()}).optional().nullable(),feedback:e.z.string().optional().nullable(),hint:e.z.string().optional().nullable(),active:e.z.boolean().optional(),order:e.z.number()}),R=e.z.object({url:e.z.string(),type:e.z.string(),bytes:e.z.number(),format:e.z.string(),display_name:e.z.string(),resource_type:e.z.string(),metadata:e.z.object({attribution:e.z.string().nullish()}).nullish()}),T=e.z.object({duration:e.z.number().nullable().optional(),mux_asset_id:e.z.string(),playback_ids:e.z.array(e.z.object({id:e.z.string(),policy:e.z.string()})),mux_playback_id:e.z.string()}).nullable(),G=e.z.object({order:e.z.number().or(e.z.string()),media_id:e.z.number().or(e.z.string()),video_id:e.z.number().nullish(),media_type:e.z.string().nullish(),custom_title:e.z.string().nullish(),media_object:R,video_object:T,transcriptSentences:e.z.array(e.z.string()).nullish()}),I=e.z.record(e.z.string(),e.z.array(G)),M=e.z.object({media_clips:I}),N=e.z.object({asset_id:e.z.number(),media_id:e.z.number(),media_object:e.z.object({url:e.z.string(),bytes:e.z.number(),display_name:e.z.string()})}),H=e.z.object({downloadable_files:e.z.array(N).nullish()}),J=e.z.object({equipment:e.z.string()}),V=e.z.object({key_learning_point:e.z.string()}),X=e.z.object({keyword:e.z.string(),description:e.z.string()}),Z=e.z.object({misconception:e.z.string(),response:e.z.string()}),$=e.z.object({teacher_tip:e.z.string()}),ee=e.z.object({contentguidance_label:e.z.string().nullable(),contentguidance_description:e.z.string().nullable(),contentguidance_area:e.z.string().nullable()}),te=e.z.object({lesson_outline:e.z.string()}),se=e.z.object({lesson_id:e.z.number(),lesson_slug:e.z.string(),lesson_title:e.z.string().nullable(),content_guidance:e.z.array(ee).nullable(),misconceptions_and_common_mistakes:e.z.array(Z).nullable(),teacher_tips:e.z.array($).nullable(),equipment_and_resources:e.z.array(J).nullable(),pupil_lesson_outcome:e.z.string().nullable(),phonics_outcome:e.z.string().nullable(),lesson_keywords:e.z.array(X).nullable(),supervision_level:e.z.string().nullable(),key_learning_points:e.z.array(V).nullable().optional(),video_mux_playback_id:e.z.string().nullable(),video_with_sign_language_mux_playback_id:e.z.string().nullable(),video_id:e.z.number().nullable(),video_duration:e.z.string().nullable(),video_title:e.z.string().nullable(),transcript_sentences:e.z.string().nullable(),starter_quiz:e.z.array(K).optional().nullable(),exit_quiz:e.z.array(K).optional().nullable(),starter_quiz_id:e.z.number().nullable(),exit_quiz_id:e.z.number().nullable(),_state:i,is_legacy:e.z.boolean().nullable(),deprecated_fields:e.z.record(e.z.unknown()).nullable(),has_worksheet_google_drive_downloadable_version:e.z.boolean().nullable(),slide_deck_asset_id:e.z.number().nullable(),has_slide_deck_asset_object:e.z.boolean().nullable(),worksheet_asset_id:e.z.number().nullable(),has_worksheet_asset_object:e.z.boolean().nullable(),worksheet_answers_asset_id:e.z.number().nullable(),has_worksheet_answers_asset_object:e.z.boolean().nullable(),supplementary_asset_id:e.z.number().nullable(),has_supplementary_asset_object:e.z.boolean().nullable(),supplementary_asset_object_url:e.z.string().nullable(),worksheet_asset_object_url:e.z.string().nullable(),slide_deck_asset_object_url:e.z.string().nullable(),lesson_guide_asset_id:e.z.number().nullable().optional(),has_lesson_guide_object:e.z.boolean().nullable().optional(),lesson_guide_asset_object_url:e.z.string().nullable().optional(),has_lesson_guide_google_drive_downloadable_version:e.z.boolean().nullable().optional(),geo_restricted:e.z.boolean().nullable(),login_required:e.z.boolean().nullable(),media_clips:I.nullish(),lesson_outline:e.z.array(te).nullable().optional(),downloadable_files:e.z.array(N).nullable().optional(),lesson_release_date:e.z.string().nullable()}),ie=e.z.object({lesson_id:e.z.number(),lesson_uid:e.z.string(),slug:e.z.string(),title:e.z.string(),description:e.z.string(),pupil_lesson_outcome:e.z.string(),phonics_outcome:e.z.string().nullable(),key_learning_points:e.z.array(V).nullable(),equipment_and_resources:e.z.array(J).nullable(),content_guidance_details:e.z.array(e.z.object({details:e.z.string()})).nullable(),content_guidance:e.z.array(e.z.number()).nullable(),copyright_content:e.z.array(e.z.object({})).nullable(),supervision_level:e.z.string().nullable(),thirdpartycontent_list:e.z.array(e.z.number()).nullable(),misconceptions_and_common_mistakes:e.z.array(e.z.object({})).nullable(),keywords:e.z.array(X).nullable(),video_id:e.z.number().nullable(),sign_language_video_id:e.z.number().nullable(),quiz_id_starter:e.z.number().nullable(),quiz_id_exit:e.z.number().nullable(),asset_id_slidedeck:e.z.number().nullable(),asset_id_worksheet:e.z.number().nullable(),expiration_date:e.z.string().nullable(),lesson_outline:e.z.array(te).nullable().optional(),media_clips:I.nullable().optional(),deprecated_fields:e.z.record(e.z.unknown()).nullable(),_state:i,_cohort:a,updated_at:e.z.string(),lesson_release_date:e.z.string().nullable()}),ae=e.z.object({unit_id:e.z.number(),unit_uid:e.z.string(),description:e.z.string().nullable(),slug:e.z.string(),tags:e.z.array(e.z.number()).nullable(),deprecated_fields:e.z.record(e.z.unknown()).nullable().optional(),title:e.z.string(),subjectcategories:e.z.array(e.z.union([e.z.number(),e.z.string()])).nullable(),prior_knowledge_requirements:e.z.array(e.z.string()).nullish(),_state:i,_cohort:a,expiration_date:e.z.string().nullable()}),re=e.z.object({_state:i,_cohort:a,unit_id:e.z.number(),unitvariant_id:e.z.number(),_deleted:e.z.boolean(),unit_overrides:ae.partial(),programme_fields:O.partial()}),ne=e.z.object({slug:e.z.string(),title:e.z.string(),order:e.z.number(),_state:e.z.string().optional()}),oe=e.z.array(ne),le=e.z.object({lesson_slug:e.z.string(),unit_slug:e.z.string(),programme_slug:e.z.string(),is_legacy:e.z.boolean(),lesson_data:ie,unit_data:ae,null_unitvariant_id:e.z.number(),unitvariant_id:e.z.number().nullish(),programme_fields:O,supplementary_data:e.z.object({unit_order:e.z.number(),order_in_unit:e.z.number()}),actions:L.nullable().optional(),features:Q.nullable().optional(),static_lesson_list:oe.nullish()}),ue=e.z.object({base_slug:e.z.string(),unit_slug:e.z.string(),programme_slug:e.z.string(),is_legacy:e.z.boolean(),lesson_count:e.z.number(),lesson_sensitive_count:e.z.number(),lesson_expired_count:e.z.number(),unit_data:ae,null_unitvariant_id:e.z.number(),programme_fields:O,supplementary_data:e.z.object({unit_order:e.z.number(),static_lesson_list:oe.nullish()}),expired:e.z.boolean(),actions:L.nullable().optional(),features:e.z.object({}).optional().nullable()}),_e=e.z.object({year_slug:c,programme_slug:e.z.string(),base_slug:e.z.string(),is_legacy:e.z.boolean(),programme_fields:O,actions:L.nullable().optional(),features:e.z.object({nonCurriculum:e.z.boolean().optional()}).optional().nullable()}),de=e.z.object({unit_id:e.z.number(),threads:e.z.array(e.z.object({theme_slug:e.z.string(),theme_title:e.z.string()})).nullable()}),ce=e.z.object(Object.assign(Object.assign({},le.omit({null_unitvariant_id:!0}).shape),{unitvariant_id:e.z.number().nullable(),null_unitvariant:re,programme_fields:O.omit({pathway:!0,pathway_description:!0,pathway_display_order:!0,pathway_id:!0,pathway_slug:!0})})),pe=ce.pick({lesson_data:!0,programme_fields:!0,is_legacy:!0,programme_slug:!0}),me=e.z.array(pe),ge=e.z.object(Object.assign(Object.assign({},le.omit({supplementary_data:!0}).shape),{programme_slug_by_year:e.z.string().array(),order_in_unit:e.z.number()})),be=e.z.object({thread_id:e.z.number(),thread_title:e.z.string(),thread_slug:e.z.string()}),ye=e.z.object(Object.assign(Object.assign({},ue.shape),{programme_slug_by_year:e.z.string(),lesson_ids:e.z.array(e.z.number()).nullable(),threads:e.z.array(be).nullable()})),ze=e.z.object(Object.assign(Object.assign({},ue.shape),{age_restricted_lesson_count:e.z.number(),complex_copyright_lesson_count:e.z.number()})),he=({overrides:e={}}={})=>Object.assign({lesson_id:1,lesson_uid:"lesson-uid",title:"lesson-title",description:"lesson-description",slug:"lesson-slug",pupil_lesson_outcome:"pupil-lesson-outcome",phonics_outcome:null,key_learning_points:[{key_learning_point:"point 1"}],equipment_and_resources:null,content_guidance_details:null,content_guidance:null,supervision_level:null,thirdpartycontent_list:null,misconceptions_and_common_mistakes:null,keywords:null,video_id:null,sign_language_video_id:null,quiz_id_starter:null,quiz_id_exit:null,asset_id_slidedeck:null,asset_id_worksheet:null,copyright_content:null,_state:"published",_cohort:"2023-2024",deprecated_fields:null,updated_at:"2024-02-28T08:09:20.247619+00:00",expiration_date:null,lesson_outline:null,media_clips:null,lesson_release_date:null},e),xe=({overrides:e}={})=>Object.assign({tier:null,tier_id:null,tier_slug:null,tier_description:null,tier_display_order:null,pathway:null,pathway_id:null,pathway_slug:null,pathway_description:null,pathway_display_order:null,examboard:null,examboard_id:null,examboard_slug:null,examboard_description:null,examboard_display_order:null,year:"1",year_slug:"year-1",year_id:1,year_description:"Year 1",year_display_order:1,keystage:"KS1",keystage_id:1,keystage_slug:"ks1",keystage_description:"Key Stage 1",keystage_display_order:1,phase:"primary",phase_id:0,phase_slug:"primary",phase_description:"Primary",phase_display_order:1,subject:"Maths",subject_id:1,subject_slug:"maths",subject_description:"subject-description",subject_display_order:1,subject_parent:"Maths"},e),ve=({overrides:e={}}={})=>Object.assign({unit_id:0,unit_uid:"unit-uid",description:null,slug:"unit-slug",tags:null,title:"unit-title",_state:"published",_cohort:"2023-2024",expiration_date:null,prior_knowledge_requirements:["requirement 1","requirement 2"],subjectcategories:[1,2,3]},e),je=({overrides:e={}}={})=>Object.assign({text:"Hello, World!",type:"text"},e),we=({overrides:e={}}={})=>Object.assign({answer:[je(),{image_object:{format:"png",secure_url:"https://res.cloudinary.com/demo/image/upload/sample.png",url:"http://res.cloudinary.com/demo/image/upload/sample.png",height:100,width:100,metadata:{attribution:"author",usageRestriction:"free"},public_id:"sample",version:1234567890},type:"image"}],answer_is_active:!0,answer_is_correct:!0},e),ke=({overrides:e={}}={})=>Object.assign({answer:[je()],answer_is_active:!0,answer_is_default:!0},e),fe=({overrides:e={}}={})=>Object.assign({answer:[je()],correct_order:1,answer_is_active:!0},e),Se=({overrides:e={}}={})=>Object.assign({answer_is_active:!0,correct_choice:[je({overrides:{text:"Paris"}})],match_option:[je({overrides:{text:"Capital of France"}})]},e),qe=({overrides:e={}}={})=>Object.assign({question_id:1,question_uid:"question-1",question_type:"multiple-choice",question_stem:[{text:"What is the capital of France?",type:"text"}],answers:{"multiple-choice":[we({overrides:{answer_is_correct:!0}}),we({overrides:{answer_is_correct:!1}}),we({overrides:{answer_is_correct:!1}}),we({overrides:{answer_is_correct:!1}})]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:1},e),Oe=({overrides:e={}}={})=>Object.assign({question_id:2,question_uid:"question-2",question_type:"short-answer",question_stem:[{text:"What is the capital of France?",type:"text"}],answers:{"short-answer":[ke()]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:2},e),Fe=({overrides:e={}}={})=>Object.assign({question_id:3,question_uid:"question-3",question_type:"order",question_stem:[{text:"What is the capital of France?",type:"text"}],answers:{order:[fe({overrides:{correct_order:1}}),fe({overrides:{correct_order:2}}),fe({overrides:{correct_order:3}}),fe({overrides:{correct_order:4}})]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:3},e),Ce=({overrides:e={}}={})=>Object.assign({question_id:4,question_uid:"question-4",question_type:"match",question_stem:[{text:"What is the capital of France?",type:"text"}],answers:{match:[Se(),Se(),Se(),Se()]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:4},e),Pe=({overrides:e}={})=>Object.assign({downloadable_files:[{asset_id:456,media_id:3456,media_object:{url:"https://example.com/file1.pdf",bytes:1e3,display_name:"File 1"}},{asset_id:932,media_id:2435,media_object:{url:"https://example.com/file2.pdf",bytes:2e3,display_name:"File 2"}}]},e),Le=({overrides:e}={})=>Object.assign({url:"http://example.com/video1.mp3",type:"upload",bytes:81127,format:"mp3",display_name:"9_task_C1_3",resource_type:"video"},e),Qe=({overrides:e}={})=>Object.assign({duration:5.055667,mux_asset_id:"hug9i01Tnpf1y83irOm00HRbvAJpttJPU78KNYzPav3mg",playback_ids:[{id:"mVkKUtOfoD1100012GNC1pCO6RvUgyGwqGoq01pYsy7WeA",policy:"signed"},{id:"BW00NkK9R01jB8PPO7R00YCFl2XBDn13GTkhd0001PNtheF00",policy:"public"}],mux_playback_id:"BW00NkK9R01jB8PPO7R00YCFl2XBDn13GTkhd0001PNtheF00"},e),Ye=({overrides:e}={})=>Object.assign({order:"1",media_id:"191188",video_id:29844,media_type:"video",custom_title:"Intro Video 1",media_object:Le(),video_object:Qe()},e),Ee=({overrides:e}={})=>Object.assign({media_clips:{intro:[{order:"1",media_id:"191188",video_id:29844,media_type:"video",custom_title:"Intro Video 1",media_object:Le(),video_object:Qe()},{order:"2",media_id:"191189",video_id:29845,media_type:"video",custom_title:"Intro Video 2",media_object:{url:"http://example.com/video2.mp3",type:"upload",bytes:122087,format:"mp3",display_name:"8_task_C1_2",resource_type:"video"},video_object:{duration:7.603667,mux_asset_id:"gyUmSG2VVqcuw00NzT9f02kZvlLmXsrnuT5P7KhrYhWJg",playback_ids:[{id:"9a02PY7PivjOBUHyH4N2mAwJH00aJoZeybWyy9hiwXVQY",policy:"public"},{id:"02mDhMdHMs4MOCAMutPLWzylp00NQgDYfiydlLQPDWI3M",policy:"signed"}],mux_playback_id:"9a02PY7PivjOBUHyH4N2mAwJH00aJoZeybWyy9hiwXVQY"}}],cycle2:[{order:"1",media_id:"191117",video_id:29877,media_type:"video",custom_title:"",media_object:{url:"http://oaknationalacademy-res.cloudinary.com/video/upload/v1736420414/u5bptym7h8ts8nyyrpwg.mp4",type:"upload",bytes:276767,format:"mp4",display_name:"australia fact",resource_type:"video"},video_object:{duration:5.613111,mux_asset_id:"4yb74fNKob6M6AT02AFTmsTrJEgXUl00WQWhpt01KttWcI",playback_ids:[{id:"RUIUNGcGf01kgZU1xC5peDCvGpC2d2YeRcwSMfJ4cvMk",policy:"public"},{id:"NVs5TJ5Lt6POkNwDBNtHZth2a2VtBvsyorgJPQfO6W4",policy:"signed"}],mux_playback_id:"RUIUNGcGf01kgZU1xC5peDCvGpC2d2YeRcwSMfJ4cvMk"}}]}},e),Ae={media_clips:{cycle3:[Ye()],cycle4:[Ye(),Ye({overrides:{order:"2",media_id:"1911749",video_id:298345}})]}},Ue=()=>({equipment:"equipment"}),Be=()=>({teacher_tip:"teacher-tip"}),De=()=>({keyword:"keyword",description:"description"}),We=()=>({misconception:"misconception",response:"response"}),Ke=()=>({contentguidance_label:"contentguidance-label",contentguidance_description:"contentguidance-description",contentguidance_area:"contentguidance-area"});exports._cohortSchema=a,exports._stateSchema=i,exports.actionsSchema=L,exports.additionalCyclesFixture=Ae,exports.additionalFileObjectSchema=N,exports.additionalFilesFixture=Pe,exports.additionalFilesSchema=H,exports.assetIngestStates=S,exports.baseIngestStates=f,exports.contentGuidanceFixture=Ke,exports.contentGuidanceSchema=ee,exports.examboardDescriptions=j,exports.examboardSlugs=x,exports.examboards=v,exports.featuresSchema=Q,exports.imageItemSchema=E,exports.imageObjectSchema=Y,exports.journeysAndQueriesSchema=P,exports.journeysSchema=C,exports.keyLearningPointsSchema=V,exports.keystageDescriptions=_,exports.keystageSlugs=u,exports.keystages=l,exports.keywordsFixture=De,exports.keywordsSchema=X,exports.lessonContentFixture=({overrides:e={}}={})=>Object.assign({lesson_id:1,lesson_title:"lesson-title",lesson_slug:"lesson-slug",deprecated_fields:{},is_legacy:!1,misconceptions_and_common_mistakes:[{misconception:"misconception",response:"response"}],equipment_and_resources:[{equipment:"equipment"}],teacher_tips:[{teacher_tip:"teacher-tip"}],key_learning_points:null,pupil_lesson_outcome:"pupil-lesson-outcome",phonics_outcome:null,lesson_keywords:[{keyword:"keyword",description:"description"}],content_guidance:[{contentguidance_label:"contentguidance-label",contentguidance_description:"contentguidance-description",contentguidance_area:"contentguidance-area"}],video_mux_playback_id:"video-mux-playback-id",video_id:null,video_duration:"5 minutes",video_with_sign_language_mux_playback_id:"video-with-sign-language-mux-playback-id",video_title:"video-title",transcript_sentences:"this is the transcript",starter_quiz:[qe({overrides:{order:1,question_uid:"starter-quiz-1"}}),Fe({overrides:{order:2,question_uid:"starter-quiz-2"}}),Ce({overrides:{order:3,question_uid:"starter-quiz-3"}}),Oe({overrides:{order:4,question_uid:"starter-quiz-4"}})],starter_quiz_id:1,exit_quiz:null,exit_quiz_id:null,supervision_level:null,_state:"published",slide_deck_asset_id:301,has_slide_deck_asset_object:!0,worksheet_asset_id:302,has_worksheet_answers_asset_object:!0,worksheet_answers_asset_id:303,has_worksheet_google_drive_downloadable_version:!0,has_supplementary_asset_object:!0,supplementary_asset_id:304,supplementary_asset_object_url:"supplementary-asset-object-url",slide_deck_asset_object_url:"slide-deck-asset-object-url",worksheet_asset_object_url:"worksheet-asset-object-url",has_worksheet_asset_object:!0,geo_restricted:!1,login_required:!1,lesson_guide_asset_id:1,has_lesson_guide_object:!0,lesson_guide_asset_object_url:"lesson-guide-asset-object-url",has_lesson_guide_google_drive_downloadable_version:!1,media_clips:Ee().media_clips,lesson_outline:[{lesson_outline:"lesson-outline-1"},{lesson_outline:"lesson-outline-2"}],downloadable_files:Pe().downloadable_files,lesson_release_date:"2024-05-10T08:34:55.166149+00:00"},e),exports.lessonContentSchema=se,exports.lessonDataFixture=he,exports.lessonDataSchema=ie,exports.lessonEquipmentAndResourcesFixture=Ue,exports.lessonEquipmentAndResourcesSchema=J,exports.lessonMediaClipsSchema=M,exports.lessonOutlineSchema=te,exports.matchFixture=Se,exports.matchQuestion=Ce,exports.matchSchema=W,exports.mediaClipCycleFixture=Ye,exports.mediaClipCycleSchema=G,exports.mediaClipObjectSchema=R,exports.mediaClipsFixture=Ee,exports.mediaClipsRecordSchema=I,exports.mediaObjectFixture=Le,exports.misconceptionsAndCommonMistakesFixture=We,exports.misconceptionsAndCommonMistakesSchema=Z,exports.multipleChoiceFixture=we,exports.multipleChoiceQuestion=qe,exports.multipleChoiceSchema=U,exports.orderFixture=fe,exports.orderQuestion=Fe,exports.orderSchema=D,exports.pathwayDescriptions=h,exports.pathwaySlugs=z,exports.pathways=y,exports.phaseDescriptions=n,exports.phaseSlugs=r,exports.phases=o,exports.programmeFieldsFixture=xe,exports.programmeFieldsSchema=O,exports.programmeListingResponseSchema=pe,exports.programmeListingResponseSchemaArray=me,exports.queriesSchema=F,exports.quizQuestionSchema=K,exports.shortAnswerFixture=ke,exports.shortAnswerQuestion=Oe,exports.shortAnswerSchema=B,exports.staticLessonListSchema=oe,exports.subjectSlugs=k,exports.subjects=w,exports.syntheticProgrammesByYearFixture=({overrides:e={}}={})=>({year_slug:"year-1",base_slug:"maths-primary-year-1",programme_slug:"maths-primary-year-1",is_legacy:!1,programme_fields:xe()}),exports.syntheticProgrammesByYearSchema=_e,exports.syntheticUnitvariantLessonsByKsFixture=({overrides:e={}}={})=>Object.assign({lesson_slug:"lesson-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",programme_slug_by_year:["programme-slug-year"],is_legacy:!1,lesson_data:he(),unit_data:ve(),null_unitvariant_id:1,unitvariant_id:1,programme_fields:xe(),order_in_unit:1,static_lesson_list:[{slug:"lesson-slug",title:"lesson-title",order:1}]},e),exports.syntheticUnitvariantLessonsByKsSchema=ge,exports.syntheticUnitvariantLessonsByKsSchemaOld=ce,exports.syntheticUnitvariantLessonsFixture=({overrides:e={}}={})=>Object.assign({lesson_slug:"lesson-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",is_legacy:!1,lesson_data:he(),unit_data:ve(),null_unitvariant_id:0,programme_fields:xe(),supplementary_data:{unit_order:1,order_in_unit:1}},e),exports.syntheticUnitvariantLessonsSchema=le,exports.syntheticUnitvariantsWithLessonIdsBaseSchema=ue,exports.syntheticUnitvariantsWithLessonIdsByKsFixture=({overrides:e={}}={})=>Object.assign({base_slug:"base-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",programme_slug_by_year:"programme-slug-by-year",is_legacy:!1,lesson_count:1,lesson_sensitive_count:0,lesson_expired_count:0,lesson_ids:[1],unit_data:ve(),null_unitvariant_id:0,programme_fields:xe(),supplementary_data:{unit_order:1,static_lesson_list:[{slug:"lesson-slug",title:"lesson-title",order:1}]},expired:!1,threads:null},e),exports.syntheticUnitvariantsWithLessonIdsByKsSchema=ye,exports.syntheticUnitvariantsWithLessonIdsByYearsSchema=ze,exports.syntheticUnitvariantsWithLessonIdsFixture=({overrides:e={}}={})=>Object.assign({base_slug:"base-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",is_legacy:!1,lesson_count:1,lesson_sensitive_count:0,lesson_expired_count:0,unit_data:ve(),null_unitvariant_id:0,programme_fields:xe(),supplementary_data:{unit_order:1},expired:!1},e),exports.teacherTipsFixture=Be,exports.teacherTipsSchema=$,exports.textItemSchema=A,exports.threadFixture=({overrides:e={}}={})=>Object.assign({thread_id:1,thread_title:"A thread",thread_slug:"a-thread"},e),exports.threadSchema=be,exports.threadsByUnitSchema=de,exports.tierDescriptions=b,exports.tierSlugs=g,exports.tiers=m,exports.unitDataFixture=ve,exports.unitDataSchema=ae,exports.unitvariantFixture=({overrides:e={}}={})=>Object.assign({unitvariant_id:1,unit_id:1,_deleted:!1,_state:"published",_cohort:"2023-2024",unit_overrides:{},programme_fields:{}},e),exports.unitvariantSchema=re,exports.videoClipObjectSchema=T,exports.videoIngestStates=q,exports.videoObjectFixture=Qe,exports.yearDescriptions=p,exports.yearSlugs=c,exports.years=d;
1
+ "use strict";var e=require("zod");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=t(e);const i=e.z.enum(["published","new","migration"]),a=e.z.enum(["2020-2023","2023-2024","2024-2025","0"]),r=e.z.enum(["foundation","primary","secondary"]),n=e.z.enum(["Early Years Foundation Stage","Primary","Secondary"]),o=e.z.enum(["foundation","primary","secondary"]),l=e.z.enum(["KS1","KS2","KS3","KS4","EYFS","All key stages"]),u=e.z.enum(["ks1","ks2","ks3","ks4","early-years-foundation-stage","all-ks"]),_=e.z.enum(["Key Stage 1","Key Stage 2","Key Stage 3","Key Stage 4","Early Years Foundation Stage","All Key Stages"]),d=e.z.enum(["1","2","3","4","5","6","7","8","9","10","11","12","13","R","All"]),c=e.z.enum(["reception","year-1","year-2","year-3","year-4","year-5","year-6","year-7","year-8","year-9","year-10","year-11","year-12","year-13","all-years"]),p=e.z.enum(["Year 1","Year 2","Year 3","Year 4","Year 5","Year 6","Year 7","Year 8","Year 9","Year 10","Year 11","Year 12","Year 13","Reception","All years"]),m=e.z.enum(["core","foundation","higher"]),g=e.z.enum(["core","foundation","higher"]),b=e.z.enum(["Core","Foundation","Higher"]),y=e.z.enum(["Core","GCSE"]),z=e.z.enum(["core","gcse"]),h=e.z.enum(["Core","GCSE"]),x=e.z.enum(["aqa","edexcel","eduqas","ocr","wjec","edexcelb"]),v=e.z.enum(["AQA","Edexcel","Eduqas","OCR","WJEC","Edexcel B"]),j=e.z.enum(["Assessment and Qualifications Alliance","Edexcel","Eduqas","Oxford, Cambridge and RSA Examinations","Welsh Joint Education Committee","Edexcel B"]),w=e.z.enum(["Computing (non-GCSE)","Art and design","Citizenship","Computing","Computer Science","Design and technology","Drama","English","English grammar","English reading for pleasure","English spelling","Expressive arts and design","Financial education","French","Geography","German","History","Latin","Literacy","Maths","Music","Personal, social and emotional development","Physical education","RSHE (PSHE)","Religious education","Science","Biology","Chemistry","Combined science","Physics","Spanish","Understanding the world","Specialist","Communication and language","Creative arts","Independent living","Numeracy","Physical development","Therapies","Occupational therapy","Physical therapy","Sensory integration","Speech and language therapy","QA testing only","Cooking and nutrition"]),k=e.z.enum(["computing-non-gcse","art","citizenship","computing","design-technology","drama","english","english-grammar","english-reading-for-pleasure","english-spelling","expressive-arts-and-design","financial-education","french","geography","german","history","latin","literacy","maths","music","personal-social-and-emotional-development","physical-education","rshe-pshe","religious-education","science","biology","chemistry","combined-science","physics","spanish","understanding-the-world","specialist","communication-and-language","creative-arts","independent-living","numeracy","physical-development","therapies","occupational-therapy","physical-therapy","sensory-integration","speech-and-language-therapy","testing-not-for-publication","cooking-nutrition"]),f=s.default.enum(["ingest_started","ingest_complete","ready_to_ingest"]),S=s.default.enum(["no_asset"]),q=s.default.enum(["adding_captions","mux_complete","sent_to_mux","sent_captions_to_mux","mux_transcoded","no_audio","rev_complete","sent_to_rev","rev_skipped"]),F=e.z.object({pathway:y.nullable(),pathway_id:e.z.number().nullable(),pathway_slug:z.nullable(),pathway_description:h.nullable(),pathway_display_order:e.z.number().nullable(),tier:m.nullable(),tier_id:e.z.number().nullable(),tier_slug:g.nullable(),tier_description:b.nullable(),tier_display_order:e.z.number().nullable(),examboard:v.nullable(),examboard_id:e.z.number().nullable(),examboard_slug:x.nullable(),examboard_description:j.nullable(),examboard_display_order:e.z.number().nullable(),year:d,year_slug:c,year_id:e.z.number(),year_description:p,year_display_order:e.z.number(),keystage:l,keystage_id:e.z.number(),keystage_slug:u,keystage_description:_,keystage_display_order:e.z.number(),phase:o,phase_id:e.z.number(),phase_slug:r,phase_description:n,phase_display_order:e.z.number(),subject:w,subject_id:e.z.number(),subject_slug:k,subject_description:e.z.string(),subject_display_order:e.z.number(),subject_parent:w.nullish(),optionality:e.z.string().optional(),legacy:e.z.string().optional(),dataset:e.z.string().optional()}),O=e.z.enum(["pupilSubjectListingQuery","pupilProgrammeListingQuery","pupilUnitListingQuery","pupilLessonListingQuery","pupilLessonQuery","unitListingQuery","lessonListingQuery","programmeListingQuery","subjectListingQuery","lessonOverviewQuery","lessonDownloadsQuery","lessonBetaDownloadsQuery","lessonShareQuery","lessonMediaClipsQuery","teacherPreviewLessonQuery","teachersPreviewLessonDownloadQuery","teachersPreviewUnitListingQuery"]),C=e.z.enum(["pupil","teacher","curriculum"]),P=e.z.union([O,C]),L=e.z.object({exclusions:e.z.array(P),opt_out:e.z.array(P),programme_field_overrides:F.partial(),display_expiring_banner:e.z.boolean(),disable_pupil_share:e.z.boolean(),display_PE_title:e.z.boolean(),display_vocab_button:e.z.boolean(),override_pathway:e.z.string(),is_pe_practical:e.z.boolean(),related_subject_slugs:e.z.array(k),group_units_as:e.z.string()}).partial(),Q=e.z.object({pe_practical:e.z.boolean(),age_restriction:e.z.string().nullable(),agf__geo_restricted:e.z.boolean().nullish(),agf__login_required:e.z.boolean().nullish()}).partial(),Y=e.z.object({format:e.z.enum(["png","jpg","jpeg","webp","gif","svg"]),secure_url:e.z.string().url(),url:e.z.string().url(),height:e.z.number(),width:e.z.number(),metadata:e.z.union([e.z.object({attribution:e.z.string(),usageRestriction:e.z.string()}).partial(),e.z.array(e.z.never()).length(0)]),public_id:e.z.string(),version:e.z.number()}).partial(),E=e.z.object({image_object:Y,type:e.z.literal("image")}),A=e.z.object({text:e.z.string(),type:e.z.literal("text")}),U=e.z.object({answer:e.z.array(e.z.union([A,E]).optional()),answer_is_active:e.z.boolean().optional(),answer_is_correct:e.z.boolean().optional()}),R=e.z.object({answer:e.z.array(A.optional()),answer_is_active:e.z.boolean().optional(),answer_is_default:e.z.boolean().optional()}),B=e.z.object({answer:e.z.array(A),correct_order:e.z.number().optional(),answer_is_active:e.z.boolean().optional()}),D=e.z.object({answer_is_active:e.z.boolean().optional(),correct_choice:e.z.array(A),match_option:e.z.array(A).optional()}),W=e.z.object({question_id:e.z.number(),question_uid:e.z.string(),question_type:e.z.string(),question_stem:e.z.array(e.z.union([A,E])).optional().nullable(),answers:e.z.object({"multiple-choice":e.z.array(U).optional(),"short-answer":e.z.array(R).optional(),order:e.z.array(B).optional(),match:e.z.array(D).optional()}).optional().nullable(),feedback:e.z.string().optional().nullable(),hint:e.z.string().optional().nullable(),active:e.z.boolean().optional(),order:e.z.number()}),K=e.z.object({url:e.z.string(),type:e.z.string(),bytes:e.z.number(),format:e.z.string(),display_name:e.z.string(),resource_type:e.z.string(),metadata:e.z.object({attribution:e.z.string().nullish()}).nullish()}),T=e.z.object({duration:e.z.number().nullable().optional(),mux_asset_id:e.z.string(),playback_ids:e.z.array(e.z.object({id:e.z.string(),policy:e.z.string()})),mux_playback_id:e.z.string()}).nullable(),I=e.z.object({order:e.z.number().or(e.z.string()),media_id:e.z.number().or(e.z.string()),video_id:e.z.number().nullish(),media_type:e.z.string().nullish(),custom_title:e.z.string().nullish(),media_object:K,video_object:T,transcriptSentences:e.z.array(e.z.string()).nullish()}),G=e.z.record(e.z.string(),e.z.array(I)),M=e.z.object({media_clips:G}),N=e.z.object({asset_id:e.z.number(),media_id:e.z.number(),media_object:e.z.object({url:e.z.string(),bytes:e.z.number(),display_name:e.z.string()})}),H=e.z.object({downloadable_files:e.z.array(N).nullish()}),J=e.z.object({equipment:e.z.string()}),V=e.z.object({key_learning_point:e.z.string()}),X=e.z.object({keyword:e.z.string(),description:e.z.string()}),Z=e.z.object({misconception:e.z.string(),response:e.z.string()}),$=e.z.object({teacher_tip:e.z.string()}),ee=e.z.object({contentguidance_label:e.z.string().nullable(),contentguidance_description:e.z.string().nullable(),contentguidance_area:e.z.string().nullable()}),te=e.z.object({lesson_outline:e.z.string()}),se=e.z.object({lesson_id:e.z.number(),lesson_slug:e.z.string(),lesson_title:e.z.string().nullable(),content_guidance:e.z.array(ee).nullable(),misconceptions_and_common_mistakes:e.z.array(Z).nullable(),teacher_tips:e.z.array($).nullable(),equipment_and_resources:e.z.array(J).nullable(),pupil_lesson_outcome:e.z.string().nullable(),phonics_outcome:e.z.string().nullable(),lesson_keywords:e.z.array(X).nullable(),supervision_level:e.z.string().nullable(),key_learning_points:e.z.array(V).nullable().optional(),video_mux_playback_id:e.z.string().nullable(),video_with_sign_language_mux_playback_id:e.z.string().nullable(),video_id:e.z.number().nullable(),video_duration:e.z.string().nullable(),video_title:e.z.string().nullable(),transcript_sentences:e.z.string().nullable(),starter_quiz:e.z.array(W).optional().nullable(),exit_quiz:e.z.array(W).optional().nullable(),starter_quiz_id:e.z.number().nullable(),exit_quiz_id:e.z.number().nullable(),_state:i,is_legacy:e.z.boolean().nullable(),deprecated_fields:e.z.record(e.z.unknown()).nullable(),has_worksheet_google_drive_downloadable_version:e.z.boolean().nullable(),slide_deck_asset_id:e.z.number().nullable(),has_slide_deck_asset_object:e.z.boolean().nullable(),worksheet_asset_id:e.z.number().nullable(),has_worksheet_asset_object:e.z.boolean().nullable(),worksheet_answers_asset_id:e.z.number().nullable(),has_worksheet_answers_asset_object:e.z.boolean().nullable(),supplementary_asset_id:e.z.number().nullable(),has_supplementary_asset_object:e.z.boolean().nullable(),supplementary_asset_object_url:e.z.string().nullable(),worksheet_asset_object_url:e.z.string().nullable(),slide_deck_asset_object_url:e.z.string().nullable(),lesson_guide_asset_id:e.z.number().nullable().optional(),has_lesson_guide_object:e.z.boolean().nullable().optional(),lesson_guide_asset_object_url:e.z.string().nullable().optional(),has_lesson_guide_google_drive_downloadable_version:e.z.boolean().nullable().optional(),geo_restricted:e.z.boolean().nullable(),login_required:e.z.boolean().nullable(),media_clips:G.nullish(),lesson_outline:e.z.array(te).nullable().optional(),downloadable_files:e.z.array(N).nullable().optional(),lesson_release_date:e.z.string().nullable()}),ie=e.z.object({lesson_id:e.z.number(),lesson_uid:e.z.string(),slug:e.z.string(),title:e.z.string(),description:e.z.string(),pupil_lesson_outcome:e.z.string(),phonics_outcome:e.z.string().nullable(),key_learning_points:e.z.array(V).nullable(),equipment_and_resources:e.z.array(J).nullable(),content_guidance_details:e.z.array(e.z.object({details:e.z.string()})).nullable(),content_guidance:e.z.array(e.z.number()).nullable(),copyright_content:e.z.array(e.z.object({})).nullable(),supervision_level:e.z.string().nullable(),thirdpartycontent_list:e.z.array(e.z.number()).nullable(),misconceptions_and_common_mistakes:e.z.array(e.z.object({})).nullable(),keywords:e.z.array(X).nullable(),video_id:e.z.number().nullable(),sign_language_video_id:e.z.number().nullable(),quiz_id_starter:e.z.number().nullable(),quiz_id_exit:e.z.number().nullable(),asset_id_slidedeck:e.z.number().nullable(),asset_id_worksheet:e.z.number().nullable(),expiration_date:e.z.string().nullable(),lesson_outline:e.z.array(te).nullable().optional(),media_clips:G.nullable().optional(),deprecated_fields:e.z.record(e.z.unknown()).nullable(),_state:i,_cohort:a,updated_at:e.z.string(),lesson_release_date:e.z.string().nullable()}),ae=e.z.object({unit_id:e.z.number(),unit_uid:e.z.string(),description:e.z.string().nullable(),slug:e.z.string(),tags:e.z.array(e.z.number()).nullable(),deprecated_fields:e.z.record(e.z.unknown()).nullable().optional(),title:e.z.string(),subjectcategories:e.z.array(e.z.union([e.z.number(),e.z.string()])).nullable(),prior_knowledge_requirements:e.z.array(e.z.string()).nullish(),_state:i,_cohort:a,expiration_date:e.z.string().nullable()}),re=e.z.object({_state:i,_cohort:a,unit_id:e.z.number(),unitvariant_id:e.z.number(),_deleted:e.z.boolean(),unit_overrides:ae.partial(),programme_fields:F.partial()}),ne=e.z.object({slug:e.z.string(),title:e.z.string(),order:e.z.number(),_state:e.z.string().optional()}),oe=e.z.array(ne),le=e.z.object({lesson_slug:e.z.string(),unit_slug:e.z.string(),programme_slug:e.z.string(),is_legacy:e.z.boolean(),lesson_data:ie,unit_data:ae,null_unitvariant_id:e.z.number(),unitvariant_id:e.z.number().nullish(),programme_fields:F,supplementary_data:e.z.object({unit_order:e.z.number(),order_in_unit:e.z.number()}),actions:L.nullable().optional(),features:Q.nullable().optional(),static_lesson_list:oe.nullish()}),ue=e.z.object({base_slug:e.z.string(),unit_slug:e.z.string(),programme_slug:e.z.string(),is_legacy:e.z.boolean(),lesson_count:e.z.number(),lesson_sensitive_count:e.z.number(),lesson_expired_count:e.z.number(),unit_data:ae,null_unitvariant_id:e.z.number(),programme_fields:F,supplementary_data:e.z.object({unit_order:e.z.number(),static_lesson_list:oe.nullish()}),expired:e.z.boolean(),actions:L.nullable().optional(),features:e.z.object({}).optional().nullable()}),_e=e.z.object({year_slug:c,programme_slug:e.z.string(),base_slug:e.z.string(),is_legacy:e.z.boolean(),programme_fields:F,actions:L.nullable().optional(),features:e.z.object({nonCurriculum:e.z.boolean().optional()}).optional().nullable()}),de=e.z.object({unit_id:e.z.number(),threads:e.z.array(e.z.object({theme_slug:e.z.string(),theme_title:e.z.string()})).nullable()}),ce=e.z.object(Object.assign(Object.assign({},le.omit({null_unitvariant_id:!0}).shape),{unitvariant_id:e.z.number().nullable(),null_unitvariant:re,programme_fields:F.omit({pathway:!0,pathway_description:!0,pathway_display_order:!0,pathway_id:!0,pathway_slug:!0})})),pe=ce.pick({lesson_data:!0,programme_fields:!0,is_legacy:!0,programme_slug:!0}),me=e.z.array(pe),ge=e.z.object(Object.assign(Object.assign({},le.omit({supplementary_data:!0}).shape),{programme_slug_by_year:e.z.string().array(),order_in_unit:e.z.number()})),be=e.z.object({thread_id:e.z.number(),thread_title:e.z.string(),thread_slug:e.z.string()}),ye=e.z.object(Object.assign(Object.assign({},ue.shape),{programme_slug_by_year:e.z.string(),lesson_ids:e.z.array(e.z.number()).nullable(),threads:e.z.array(be).nullable()})),ze=e.z.object(Object.assign(Object.assign({},ue.shape),{age_restricted_lesson_count:e.z.number(),complex_copyright_lesson_count:e.z.number()})),he=({overrides:e={}}={})=>Object.assign({lesson_id:1,lesson_uid:"lesson-uid",title:"lesson-title",description:"lesson-description",slug:"lesson-slug",pupil_lesson_outcome:"pupil-lesson-outcome",phonics_outcome:null,key_learning_points:[{key_learning_point:"point 1"}],equipment_and_resources:null,content_guidance_details:null,content_guidance:null,supervision_level:null,thirdpartycontent_list:null,misconceptions_and_common_mistakes:null,keywords:null,video_id:null,sign_language_video_id:null,quiz_id_starter:null,quiz_id_exit:null,asset_id_slidedeck:null,asset_id_worksheet:null,copyright_content:null,_state:"published",_cohort:"2023-2024",deprecated_fields:null,updated_at:"2024-02-28T08:09:20.247619+00:00",expiration_date:null,lesson_outline:null,media_clips:null,lesson_release_date:null},e),xe=({overrides:e}={})=>Object.assign({tier:null,tier_id:null,tier_slug:null,tier_description:null,tier_display_order:null,pathway:null,pathway_id:null,pathway_slug:null,pathway_description:null,pathway_display_order:null,examboard:null,examboard_id:null,examboard_slug:null,examboard_description:null,examboard_display_order:null,year:"1",year_slug:"year-1",year_id:1,year_description:"Year 1",year_display_order:1,keystage:"KS1",keystage_id:1,keystage_slug:"ks1",keystage_description:"Key Stage 1",keystage_display_order:1,phase:"primary",phase_id:0,phase_slug:"primary",phase_description:"Primary",phase_display_order:1,subject:"Maths",subject_id:1,subject_slug:"maths",subject_description:"subject-description",subject_display_order:1,subject_parent:"Maths"},e),ve=({overrides:e={}}={})=>Object.assign({unit_id:0,unit_uid:"unit-uid",description:null,slug:"unit-slug",tags:null,title:"unit-title",_state:"published",_cohort:"2023-2024",expiration_date:null,prior_knowledge_requirements:["requirement 1","requirement 2"],subjectcategories:[1,2,3]},e),je=()=>({format:"png",secure_url:"https://res.cloudinary.com/demo/image/upload/sample.png",url:"http://res.cloudinary.com/demo/image/upload/sample.png",height:100,width:100,metadata:{attribution:"author",usageRestriction:"free"},public_id:"sample",version:1234567890}),we=()=>({image_object:{format:"png",secure_url:"https://res.cloudinary.com/demo/image/upload/sample.png",url:"http://res.cloudinary.com/demo/image/upload/sample.png",height:100,width:100,metadata:{attribution:"author",usageRestriction:"free"},public_id:"sample",version:1234567890},type:"image"}),ke=({overrides:e={}}={})=>Object.assign({text:"Hello, World!",type:"text"},e),fe=({overrides:e={}}={})=>Object.assign({answer:[ke(),{image_object:{format:"png",secure_url:"https://res.cloudinary.com/demo/image/upload/sample.png",url:"http://res.cloudinary.com/demo/image/upload/sample.png",height:100,width:100,metadata:{attribution:"author",usageRestriction:"free"},public_id:"sample",version:1234567890},type:"image"}],answer_is_active:!0,answer_is_correct:!0},e),Se=({overrides:e={}}={})=>Object.assign({answer:[ke()],answer_is_active:!0,answer_is_default:!0},e),qe=({overrides:e={}}={})=>Object.assign({answer:[ke()],correct_order:1,answer_is_active:!0},e),Fe=({overrides:e={}}={})=>Object.assign({answer_is_active:!0,correct_choice:[ke({overrides:{text:"Paris"}})],match_option:[ke({overrides:{text:"Capital of France"}})]},e),Oe=({overrides:e={}}={})=>Object.assign({question_id:1,question_uid:"question-1",question_type:"multiple-choice",question_stem:[{text:"What is the capital of France?",type:"text"}],answers:{"multiple-choice":[fe({overrides:{answer_is_correct:!0}}),fe({overrides:{answer_is_correct:!1}}),fe({overrides:{answer_is_correct:!1}}),fe({overrides:{answer_is_correct:!1}})]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:1},e),Ce=({overrides:e={}}={})=>Object.assign({question_id:2,question_uid:"question-2",question_type:"short-answer",question_stem:[{text:"What is the capital of France?",type:"text"}],answers:{"short-answer":[Se()]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:2},e),Pe=({overrides:e={}}={})=>Object.assign({question_id:3,question_uid:"question-3",question_type:"order",question_stem:[{text:"What is the capital of France?",type:"text"}],answers:{order:[qe({overrides:{correct_order:1}}),qe({overrides:{correct_order:2}}),qe({overrides:{correct_order:3}}),qe({overrides:{correct_order:4}})]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:3},e),Le=({overrides:e={}}={})=>Object.assign({question_id:4,question_uid:"question-4",question_type:"match",question_stem:[{text:"What is the capital of France?",type:"text"}],answers:{match:[Fe(),Fe(),Fe(),Fe()]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:4},e),Qe=({overrides:e}={})=>Object.assign({downloadable_files:[{asset_id:456,media_id:3456,media_object:{url:"https://example.com/file1.pdf",bytes:1e3,display_name:"File 1"}},{asset_id:932,media_id:2435,media_object:{url:"https://example.com/file2.pdf",bytes:2e3,display_name:"File 2"}}]},e),Ye=({overrides:e}={})=>Object.assign({url:"http://example.com/video1.mp3",type:"upload",bytes:81127,format:"mp3",display_name:"9_task_C1_3",resource_type:"video"},e),Ee=({overrides:e}={})=>Object.assign({duration:5.055667,mux_asset_id:"hug9i01Tnpf1y83irOm00HRbvAJpttJPU78KNYzPav3mg",playback_ids:[{id:"mVkKUtOfoD1100012GNC1pCO6RvUgyGwqGoq01pYsy7WeA",policy:"signed"},{id:"BW00NkK9R01jB8PPO7R00YCFl2XBDn13GTkhd0001PNtheF00",policy:"public"}],mux_playback_id:"BW00NkK9R01jB8PPO7R00YCFl2XBDn13GTkhd0001PNtheF00"},e),Ae=({overrides:e}={})=>Object.assign({order:"1",media_id:"191188",video_id:29844,media_type:"video",custom_title:"Intro Video 1",media_object:Ye(),video_object:Ee()},e),Ue=({overrides:e}={})=>Object.assign({media_clips:{intro:[{order:"1",media_id:"191188",video_id:29844,media_type:"video",custom_title:"Intro Video 1",media_object:Ye(),video_object:Ee()},{order:"2",media_id:"191189",video_id:29845,media_type:"video",custom_title:"Intro Video 2",media_object:{url:"http://example.com/video2.mp3",type:"upload",bytes:122087,format:"mp3",display_name:"8_task_C1_2",resource_type:"video"},video_object:{duration:7.603667,mux_asset_id:"gyUmSG2VVqcuw00NzT9f02kZvlLmXsrnuT5P7KhrYhWJg",playback_ids:[{id:"9a02PY7PivjOBUHyH4N2mAwJH00aJoZeybWyy9hiwXVQY",policy:"public"},{id:"02mDhMdHMs4MOCAMutPLWzylp00NQgDYfiydlLQPDWI3M",policy:"signed"}],mux_playback_id:"9a02PY7PivjOBUHyH4N2mAwJH00aJoZeybWyy9hiwXVQY"}}],cycle2:[{order:"1",media_id:"191117",video_id:29877,media_type:"video",custom_title:"",media_object:{url:"http://oaknationalacademy-res.cloudinary.com/video/upload/v1736420414/u5bptym7h8ts8nyyrpwg.mp4",type:"upload",bytes:276767,format:"mp4",display_name:"australia fact",resource_type:"video"},video_object:{duration:5.613111,mux_asset_id:"4yb74fNKob6M6AT02AFTmsTrJEgXUl00WQWhpt01KttWcI",playback_ids:[{id:"RUIUNGcGf01kgZU1xC5peDCvGpC2d2YeRcwSMfJ4cvMk",policy:"public"},{id:"NVs5TJ5Lt6POkNwDBNtHZth2a2VtBvsyorgJPQfO6W4",policy:"signed"}],mux_playback_id:"RUIUNGcGf01kgZU1xC5peDCvGpC2d2YeRcwSMfJ4cvMk"}}]}},e),Re={media_clips:{cycle3:[Ae()],cycle4:[Ae(),Ae({overrides:{order:"2",media_id:"1911749",video_id:298345}})]}},Be=()=>({equipment:"equipment"}),De=()=>({teacher_tip:"teacher-tip"}),We=()=>({keyword:"keyword",description:"description"}),Ke=()=>({misconception:"misconception",response:"response"}),Te=()=>({contentguidance_label:"contentguidance-label",contentguidance_description:"contentguidance-description",contentguidance_area:"contentguidance-area"});exports._cohortSchema=a,exports._stateSchema=i,exports.actionsSchema=L,exports.additionalCyclesFixture=Re,exports.additionalFileObjectSchema=N,exports.additionalFilesFixture=Qe,exports.additionalFilesSchema=H,exports.assetIngestStates=S,exports.baseIngestStates=f,exports.contentGuidanceFixture=Te,exports.contentGuidanceSchema=ee,exports.examboardDescriptions=j,exports.examboardSlugs=x,exports.examboards=v,exports.featuresSchema=Q,exports.imageItemFixture=we,exports.imageItemSchema=E,exports.imageObjectFixture=je,exports.imageObjectSchema=Y,exports.journeysAndQueriesSchema=P,exports.journeysSchema=C,exports.keyLearningPointsSchema=V,exports.keystageDescriptions=_,exports.keystageSlugs=u,exports.keystages=l,exports.keywordsFixture=We,exports.keywordsSchema=X,exports.lessonContentFixture=({overrides:e={}}={})=>Object.assign({lesson_id:1,lesson_title:"lesson-title",lesson_slug:"lesson-slug",deprecated_fields:{},is_legacy:!1,misconceptions_and_common_mistakes:[{misconception:"misconception",response:"response"}],equipment_and_resources:[{equipment:"equipment"}],teacher_tips:[{teacher_tip:"teacher-tip"}],key_learning_points:null,pupil_lesson_outcome:"pupil-lesson-outcome",phonics_outcome:null,lesson_keywords:[{keyword:"keyword",description:"description"}],content_guidance:[{contentguidance_label:"contentguidance-label",contentguidance_description:"contentguidance-description",contentguidance_area:"contentguidance-area"}],video_mux_playback_id:"video-mux-playback-id",video_id:null,video_duration:"5 minutes",video_with_sign_language_mux_playback_id:"video-with-sign-language-mux-playback-id",video_title:"video-title",transcript_sentences:"this is the transcript",starter_quiz:[Oe({overrides:{order:1,question_uid:"starter-quiz-1"}}),Pe({overrides:{order:2,question_uid:"starter-quiz-2"}}),Le({overrides:{order:3,question_uid:"starter-quiz-3"}}),Ce({overrides:{order:4,question_uid:"starter-quiz-4"}})],starter_quiz_id:1,exit_quiz:null,exit_quiz_id:null,supervision_level:null,_state:"published",slide_deck_asset_id:301,has_slide_deck_asset_object:!0,worksheet_asset_id:302,has_worksheet_answers_asset_object:!0,worksheet_answers_asset_id:303,has_worksheet_google_drive_downloadable_version:!0,has_supplementary_asset_object:!0,supplementary_asset_id:304,supplementary_asset_object_url:"supplementary-asset-object-url",slide_deck_asset_object_url:"slide-deck-asset-object-url",worksheet_asset_object_url:"worksheet-asset-object-url",has_worksheet_asset_object:!0,geo_restricted:!1,login_required:!1,lesson_guide_asset_id:1,has_lesson_guide_object:!0,lesson_guide_asset_object_url:"lesson-guide-asset-object-url",has_lesson_guide_google_drive_downloadable_version:!1,media_clips:Ue().media_clips,lesson_outline:[{lesson_outline:"lesson-outline-1"},{lesson_outline:"lesson-outline-2"}],downloadable_files:Qe().downloadable_files,lesson_release_date:"2024-05-10T08:34:55.166149+00:00"},e),exports.lessonContentSchema=se,exports.lessonDataFixture=he,exports.lessonDataSchema=ie,exports.lessonEquipmentAndResourcesFixture=Be,exports.lessonEquipmentAndResourcesSchema=J,exports.lessonMediaClipsSchema=M,exports.lessonOutlineSchema=te,exports.matchFixture=Fe,exports.matchQuestion=Le,exports.matchSchema=D,exports.mediaClipCycleFixture=Ae,exports.mediaClipCycleSchema=I,exports.mediaClipObjectSchema=K,exports.mediaClipsFixture=Ue,exports.mediaClipsRecordSchema=G,exports.mediaObjectFixture=Ye,exports.misconceptionsAndCommonMistakesFixture=Ke,exports.misconceptionsAndCommonMistakesSchema=Z,exports.multipleChoiceFixture=fe,exports.multipleChoiceQuestion=Oe,exports.multipleChoiceSchema=U,exports.orderFixture=qe,exports.orderQuestion=Pe,exports.orderSchema=B,exports.pathwayDescriptions=h,exports.pathwaySlugs=z,exports.pathways=y,exports.phaseDescriptions=n,exports.phaseSlugs=r,exports.phases=o,exports.programmeFieldsFixture=xe,exports.programmeFieldsSchema=F,exports.programmeListingResponseSchema=pe,exports.programmeListingResponseSchemaArray=me,exports.queriesSchema=O,exports.quizQuestionSchema=W,exports.shortAnswerFixture=Se,exports.shortAnswerQuestion=Ce,exports.shortAnswerSchema=R,exports.staticLessonListSchema=oe,exports.subjectSlugs=k,exports.subjects=w,exports.syntheticProgrammesByYearFixture=({overrides:e={}}={})=>({year_slug:"year-1",base_slug:"maths-primary-year-1",programme_slug:"maths-primary-year-1",is_legacy:!1,programme_fields:xe()}),exports.syntheticProgrammesByYearSchema=_e,exports.syntheticUnitvariantLessonsByKsFixture=({overrides:e={}}={})=>Object.assign({lesson_slug:"lesson-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",programme_slug_by_year:["programme-slug-year"],is_legacy:!1,lesson_data:he(),unit_data:ve(),null_unitvariant_id:1,unitvariant_id:1,programme_fields:xe(),order_in_unit:1,static_lesson_list:[{slug:"lesson-slug",title:"lesson-title",order:1}]},e),exports.syntheticUnitvariantLessonsByKsSchema=ge,exports.syntheticUnitvariantLessonsByKsSchemaOld=ce,exports.syntheticUnitvariantLessonsFixture=({overrides:e={}}={})=>Object.assign({lesson_slug:"lesson-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",is_legacy:!1,lesson_data:he(),unit_data:ve(),null_unitvariant_id:0,programme_fields:xe(),supplementary_data:{unit_order:1,order_in_unit:1}},e),exports.syntheticUnitvariantLessonsSchema=le,exports.syntheticUnitvariantsWithLessonIdsBaseSchema=ue,exports.syntheticUnitvariantsWithLessonIdsByKsFixture=({overrides:e={}}={})=>Object.assign({base_slug:"base-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",programme_slug_by_year:"programme-slug-by-year",is_legacy:!1,lesson_count:1,lesson_sensitive_count:0,lesson_expired_count:0,lesson_ids:[1],unit_data:ve(),null_unitvariant_id:0,programme_fields:xe(),supplementary_data:{unit_order:1,static_lesson_list:[{slug:"lesson-slug",title:"lesson-title",order:1}]},expired:!1,threads:null},e),exports.syntheticUnitvariantsWithLessonIdsByKsSchema=ye,exports.syntheticUnitvariantsWithLessonIdsByYearsSchema=ze,exports.syntheticUnitvariantsWithLessonIdsFixture=({overrides:e={}}={})=>Object.assign({base_slug:"base-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",is_legacy:!1,lesson_count:1,lesson_sensitive_count:0,lesson_expired_count:0,unit_data:ve(),null_unitvariant_id:0,programme_fields:xe(),supplementary_data:{unit_order:1},expired:!1},e),exports.teacherTipsFixture=De,exports.teacherTipsSchema=$,exports.textAndImageItemFixture=()=>[{image_object:{format:"png",secure_url:"https://res.cloudinary.com/demo/image/upload/sample.png",url:"http://res.cloudinary.com/demo/image/upload/sample.png",height:100,width:100,metadata:{attribution:"author",usageRestriction:"free"},public_id:"sample",version:1234567890},type:"image"},ke({overrides:{text:"This is a text item."}})],exports.textItemFixture=ke,exports.textItemSchema=A,exports.threadFixture=({overrides:e={}}={})=>Object.assign({thread_id:1,thread_title:"A thread",thread_slug:"a-thread"},e),exports.threadSchema=be,exports.threadsByUnitSchema=de,exports.tierDescriptions=b,exports.tierSlugs=g,exports.tiers=m,exports.unitDataFixture=ve,exports.unitDataSchema=ae,exports.unitvariantFixture=({overrides:e={}}={})=>Object.assign({unitvariant_id:1,unit_id:1,_deleted:!1,_state:"published",_cohort:"2023-2024",unit_overrides:{},programme_fields:{}},e),exports.unitvariantSchema=re,exports.videoClipObjectSchema=T,exports.videoIngestStates=q,exports.videoObjectFixture=Ee,exports.yearDescriptions=p,exports.yearSlugs=c,exports.years=d;
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../src/schema/base.schema.ts","../../src/schema/internal.schema.ts","../../src/schema/programmeFields.schema.ts","../../src/schema/actions.schema.ts","../../src/schema/features.schema.ts","../../src/schema/imageTextItems.schema.ts","../../src/schema/quizAnswers.schema.ts","../../src/schema/quizQuestion.schema.ts","../../src/schema/mediaClips.schema.ts","../../src/schema/additionalFiles.schema.ts","../../src/schema/lessonContent.schema.ts","../../src/schema/lessonData.schema.ts","../../src/schema/unitData.schema.ts","../../src/schema/unitvariant.schema.ts","../../src/schema/staticLessonList.schema.ts","../../src/schema/syntheticUnitvariantLessons.schema.ts","../../src/schema/syntheticUnitvariantsWithLessonIdsBase.schema.ts","../../src/schema/syntheticProgrammesByYear.schema.ts","../../src/schema/threadsByUnit.schema.ts","../../src/schema/syntheticUnitvariantLessonsByKs.schema.old.ts","../../src/schema/programmeListing.schema.ts","../../src/schema/syntheticUnitvariantLessonsByKs.schema.ts","../../src/schema/thread.schema.ts","../../src/schema/syntheticUnitvariantsWithLessonIdsByKs.schema.ts","../../src/schema/syntheticUnitvariantsWithLessonIdsByYears.schema.ts","../../src/fixtures/lessonData.fixture.ts","../../src/fixtures/programmeFields.fixture.ts","../../src/fixtures/unitData.fixture.ts","../../src/fixtures/imageTextItems.fixture.ts","../../src/fixtures/quizAnswers.fixture.ts","../../src/fixtures/quizQuestion.fixture.ts","../../src/fixtures/additionalFiles.fixture.ts","../../src/fixtures/mediaClips.fixture.ts","../../src/fixtures/lessonContent.fixture.ts","../../src/fixtures/syntheticProgrammesByYear.fixture.ts","../../src/fixtures/syntheticUnitvariantLessonsByKs.fixture.ts","../../src/fixtures/syntheticUnitvariantLessons.fixture.ts","../../src/fixtures/syntheticUnitvariantsWithLessonIdsByKs.fixture.ts","../../src/fixtures/syntheticUnitvariantsWithLessonIds.fixture.ts","../../src/fixtures/thread.fixture.ts","../../src/fixtures/unitvariant.fixture.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const _stateSchema = z.enum([\"published\", \"new\", \"migration\"]);\nexport const _cohortSchema = z.enum([\n \"2020-2023\",\n \"2023-2024\",\n \"2024-2025\",\n \"0\",\n]);\n\nexport const phaseSlugs = z.enum([\"foundation\", \"primary\", \"secondary\"]);\nexport const phaseDescriptions = z.enum([\n \"Early Years Foundation Stage\",\n \"Primary\",\n \"Secondary\",\n]);\nexport const phases = z.enum([\"foundation\", \"primary\", \"secondary\"]);\n\nexport const keystages = z.enum([\n \"KS1\",\n \"KS2\",\n \"KS3\",\n \"KS4\",\n \"EYFS\",\n \"All key stages\",\n]);\nexport const keystageSlugs = z.enum([\n \"ks1\",\n \"ks2\",\n \"ks3\",\n \"ks4\",\n \"early-years-foundation-stage\",\n \"all-ks\",\n]);\nexport const keystageDescriptions = z.enum([\n \"Key Stage 1\",\n \"Key Stage 2\",\n \"Key Stage 3\",\n \"Key Stage 4\",\n \"Early Years Foundation Stage\",\n \"All Key Stages\",\n]);\n\nexport const years = z.enum([\n \"1\",\n \"2\",\n \"3\",\n \"4\",\n \"5\",\n \"6\",\n \"7\",\n \"8\",\n \"9\",\n \"10\",\n \"11\",\n \"12\",\n \"13\",\n \"R\",\n \"All\",\n]);\nexport const yearSlugs = z.enum([\n \"reception\",\n \"year-1\",\n \"year-2\",\n \"year-3\",\n \"year-4\",\n \"year-5\",\n \"year-6\",\n \"year-7\",\n \"year-8\",\n \"year-9\",\n \"year-10\",\n \"year-11\",\n \"year-12\",\n \"year-13\",\n \"all-years\",\n]);\nexport const yearDescriptions = z.enum([\n \"Year 1\",\n \"Year 2\",\n \"Year 3\",\n \"Year 4\",\n \"Year 5\",\n \"Year 6\",\n \"Year 7\",\n \"Year 8\",\n \"Year 9\",\n \"Year 10\",\n \"Year 11\",\n \"Year 12\",\n \"Year 13\",\n \"Reception\",\n \"All years\",\n]);\n\nexport const tiers = z.enum([\"core\", \"foundation\", \"higher\"]);\nexport const tierSlugs = z.enum([\"core\", \"foundation\", \"higher\"]);\nexport const tierDescriptions = z.enum([\"Core\", \"Foundation\", \"Higher\"]);\n\nexport const pathways = z.enum([\"Core\", \"GCSE\"]);\nexport const pathwaySlugs = z.enum([\"core\", \"gcse\"]);\nexport const pathwayDescriptions = z.enum([\"Core\", \"GCSE\"]);\n\nexport const examboardSlugs = z.enum([\n \"aqa\",\n \"edexcel\",\n \"eduqas\",\n \"ocr\",\n \"wjec\",\n \"edexcelb\",\n]);\nexport const examboards = z.enum([\n \"AQA\",\n \"Edexcel\",\n \"Eduqas\",\n \"OCR\",\n \"WJEC\",\n \"Edexcel B\",\n]);\nexport const examboardDescriptions = z.enum([\n \"Assessment and Qualifications Alliance\",\n \"Edexcel\",\n \"Eduqas\",\n \"Oxford, Cambridge and RSA Examinations\",\n \"Welsh Joint Education Committee\",\n \"Edexcel B\",\n]);\n\nexport const subjects = z.enum([\n \"Computing (non-GCSE)\",\n \"Art and design\",\n \"Citizenship\",\n \"Computing\",\n \"Computer Science\",\n \"Design and technology\",\n \"Drama\",\n \"English\",\n \"English grammar\",\n \"English reading for pleasure\",\n \"English spelling\",\n \"Expressive arts and design\",\n \"Financial education\",\n \"French\",\n \"Geography\",\n \"German\",\n \"History\",\n \"Latin\",\n \"Literacy\",\n \"Maths\",\n \"Music\",\n \"Personal, social and emotional development\",\n \"Physical education\",\n \"RSHE (PSHE)\",\n \"Religious education\",\n \"Science\",\n \"Biology\",\n \"Chemistry\",\n \"Combined science\",\n \"Physics\",\n \"Spanish\",\n \"Understanding the world\",\n \"Specialist\",\n \"Communication and language\",\n \"Creative arts\",\n \"Independent living\",\n \"Numeracy\",\n \"Physical development\",\n \"Therapies\",\n \"Occupational therapy\",\n \"Physical therapy\",\n \"Sensory integration\",\n \"Speech and language therapy\",\n \"QA testing only\",\n \"Cooking and nutrition\",\n]);\nexport const subjectSlugs = z.enum([\n \"computing-non-gcse\",\n \"art\",\n \"citizenship\",\n \"computing\",\n \"design-technology\",\n \"drama\",\n \"english\",\n \"english-grammar\",\n \"english-reading-for-pleasure\",\n \"english-spelling\",\n \"expressive-arts-and-design\",\n \"financial-education\",\n \"french\",\n \"geography\",\n \"german\",\n \"history\",\n \"latin\",\n \"literacy\",\n \"maths\",\n \"music\",\n \"personal-social-and-emotional-development\",\n \"physical-education\",\n \"rshe-pshe\",\n \"religious-education\",\n \"science\",\n \"biology\",\n \"chemistry\",\n \"combined-science\",\n \"physics\",\n \"spanish\",\n \"understanding-the-world\",\n \"specialist\",\n \"communication-and-language\",\n \"creative-arts\",\n \"independent-living\",\n \"numeracy\",\n \"physical-development\",\n \"therapies\",\n \"occupational-therapy\",\n \"physical-therapy\",\n \"sensory-integration\",\n \"speech-and-language-therapy\",\n \"testing-not-for-publication\",\n \"cooking-nutrition\",\n]);\n","import z from \"zod\";\n\nexport const baseIngestStates = z.enum([\n \"ingest_started\",\n \"ingest_complete\",\n \"ready_to_ingest\",\n]);\n\nexport const assetIngestStates = z.enum([\"no_asset\"]);\n\nexport const videoIngestStates = z.enum([\n \"adding_captions\",\n \"mux_complete\",\n \"sent_to_mux\",\n \"sent_captions_to_mux\",\n \"mux_transcoded\",\n \"no_audio\",\n \"rev_complete\",\n \"sent_to_rev\",\n \"rev_skipped\",\n]);\n","import { z } from \"zod\";\nimport {\n keystages,\n keystageSlugs,\n keystageDescriptions,\n examboards,\n examboardSlugs,\n examboardDescriptions,\n tierSlugs,\n tierDescriptions,\n tiers,\n yearSlugs,\n yearDescriptions,\n years,\n phases,\n phaseSlugs,\n phaseDescriptions,\n subjects,\n subjectSlugs,\n pathways,\n pathwaySlugs,\n pathwayDescriptions,\n} from \"./base.schema\";\n\nexport const programmeFieldsSchema = z.object({\n pathway: pathways.nullable(),\n pathway_id: z.number().nullable(),\n pathway_slug: pathwaySlugs.nullable(),\n pathway_description: pathwayDescriptions.nullable(),\n pathway_display_order: z.number().nullable(),\n\n tier: tiers.nullable(),\n tier_id: z.number().nullable(),\n tier_slug: tierSlugs.nullable(),\n tier_description: tierDescriptions.nullable(),\n tier_display_order: z.number().nullable(),\n\n examboard: examboards.nullable(),\n examboard_id: z.number().nullable(),\n examboard_slug: examboardSlugs.nullable(),\n examboard_description: examboardDescriptions.nullable(),\n examboard_display_order: z.number().nullable(),\n\n year: years,\n year_slug: yearSlugs,\n year_id: z.number(),\n year_description: yearDescriptions,\n year_display_order: z.number(),\n\n keystage: keystages,\n keystage_id: z.number(),\n keystage_slug: keystageSlugs,\n keystage_description: keystageDescriptions,\n keystage_display_order: z.number(),\n\n phase: phases,\n phase_id: z.number(),\n phase_slug: phaseSlugs,\n phase_description: phaseDescriptions,\n phase_display_order: z.number(),\n\n subject: subjects,\n subject_id: z.number(),\n subject_slug: subjectSlugs,\n subject_description: z.string(),\n subject_display_order: z.number(),\n subject_parent: subjects.nullish(),\n\n optionality: z.string().optional(),\n legacy: z.string().optional(),\n dataset: z.string().optional(),\n});\n\nexport type ProgrammeFields = z.infer<typeof programmeFieldsSchema>;\n","import { z } from \"zod\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\nimport { subjectSlugs } from \"./base.schema\";\n\nexport const queriesSchema = z.enum([\n \"pupilSubjectListingQuery\",\n \"pupilProgrammeListingQuery\",\n \"pupilUnitListingQuery\",\n \"pupilLessonListingQuery\",\n \"pupilLessonQuery\",\n \"unitListingQuery\",\n \"lessonListingQuery\",\n \"programmeListingQuery\",\n \"subjectListingQuery\",\n \"lessonOverviewQuery\",\n \"lessonDownloadsQuery\",\n \"lessonBetaDownloadsQuery\",\n \"lessonShareQuery\",\n \"lessonMediaClipsQuery\",\n \"teacherPreviewLessonQuery\",\n \"teachersPreviewLessonDownloadQuery\",\n \"teachersPreviewUnitListingQuery\",\n]);\n\nexport const journeysSchema = z.enum([\"pupil\", \"teacher\", \"curriculum\"]);\n\nexport const journeysAndQueriesSchema = z.union([\n queriesSchema,\n journeysSchema,\n]);\n\nexport const actionsSchema = z\n .object({\n exclusions: z.array(journeysAndQueriesSchema),\n opt_out: z.array(journeysAndQueriesSchema),\n programme_field_overrides: programmeFieldsSchema.partial(),\n display_expiring_banner: z.boolean(),\n disable_pupil_share: z.boolean(),\n display_PE_title: z.boolean(),\n display_vocab_button: z.boolean(),\n override_pathway: z.string(), // we have to override pathway in this way because we don't have the functionality to override different selection of programme fields across different queries\n is_pe_practical: z.boolean(),\n related_subject_slugs: z.array(subjectSlugs),\n group_units_as: z.string(),\n })\n .partial();\n\nexport type Actions = z.infer<typeof actionsSchema>;\n","import { z } from \"zod\";\n\nexport const featuresSchema = z\n .object({\n pe_practical: z.boolean(),\n age_restriction: z.string().nullable(),\n agf__geo_restricted: z.boolean().nullish(),\n agf__login_required: z.boolean().nullish(),\n })\n .partial();\n\nexport type Features = z.infer<typeof featuresSchema>;\n","import { z } from \"zod\";\n\nexport const imageObjectSchema = z\n .object({\n format: z.enum([\"png\", \"jpg\", \"jpeg\", \"webp\", \"gif\", \"svg\"]),\n secure_url: z.string().url(),\n url: z.string().url(),\n height: z.number(),\n width: z.number(),\n metadata: z.union([\n z\n .object({\n attribution: z.string(),\n usageRestriction: z.string(),\n })\n .partial(),\n z.array(z.never()).length(0), // cloudinary provides an empty array if there is no metadata ?!\n ]),\n public_id: z.string(),\n version: z.number(),\n })\n .partial();\n\nexport type ImageObject = z.infer<typeof imageObjectSchema>;\n\nexport const imageItemSchema = z.object({\n image_object: imageObjectSchema,\n type: z.literal(\"image\"),\n});\n\nexport type ImageItem = z.infer<typeof imageItemSchema>;\n\nexport const textItemSchema = z.object({\n text: z.string(),\n type: z.literal(\"text\"),\n});\n\nexport type TextItem = z.infer<typeof textItemSchema>;\n","import { z } from \"zod\";\nimport { imageItemSchema, textItemSchema } from \"./imageTextItems.schema\";\n\nexport const multipleChoiceSchema = z.object({\n answer: z.array(z.union([textItemSchema, imageItemSchema]).optional()),\n answer_is_active: z.boolean().optional(),\n answer_is_correct: z.boolean().optional(),\n});\n\nexport type MultipleChoice = z.infer<typeof multipleChoiceSchema>;\n\nexport const shortAnswerSchema = z.object({\n answer: z.array(textItemSchema.optional()),\n answer_is_active: z.boolean().optional(),\n answer_is_default: z.boolean().optional(),\n});\n\nexport type ShortAnswer = z.infer<typeof shortAnswerSchema>;\n\nexport const orderSchema = z.object({\n answer: z.array(textItemSchema),\n correct_order: z.number().optional(),\n answer_is_active: z.boolean().optional(),\n});\n\nexport type Order = z.infer<typeof orderSchema>;\n\nexport const matchSchema = z.object({\n answer_is_active: z.boolean().optional(),\n correct_choice: z.array(textItemSchema),\n match_option: z.array(textItemSchema).optional(),\n});\n\nexport type Match = z.infer<typeof matchSchema>;\n","import { z } from \"zod\";\n\nimport { imageItemSchema, textItemSchema } from \"./imageTextItems.schema\";\nimport {\n matchSchema,\n multipleChoiceSchema,\n orderSchema,\n shortAnswerSchema,\n} from \"./quizAnswers.schema\";\n\nexport const quizQuestionSchema = z.object({\n question_id: z.number(),\n question_uid: z.string(),\n question_type: z.string(),\n question_stem: z\n .array(z.union([textItemSchema, imageItemSchema]))\n .optional()\n .nullable(),\n answers: z\n .object({\n \"multiple-choice\": z.array(multipleChoiceSchema).optional(),\n \"short-answer\": z.array(shortAnswerSchema).optional(),\n order: z.array(orderSchema).optional(),\n match: z.array(matchSchema).optional(),\n })\n .optional()\n .nullable(),\n feedback: z.string().optional().nullable(),\n hint: z.string().optional().nullable(),\n active: z.boolean().optional(),\n order: z.number(),\n});\n\nexport type QuizQuestion = z.infer<typeof quizQuestionSchema>;\n","import { z } from \"zod\";\n\nexport const mediaClipObjectSchema = z.object({\n url: z.string(),\n type: z.string(),\n bytes: z.number(),\n format: z.string(),\n display_name: z.string(),\n resource_type: z.string(),\n metadata: z\n .object({\n attribution: z.string().nullish(),\n })\n .nullish(),\n});\n\nexport const videoClipObjectSchema = z\n .object({\n duration: z.number().nullable().optional(),\n mux_asset_id: z.string(),\n playback_ids: z.array(\n z.object({\n id: z.string(),\n policy: z.string(),\n }),\n ),\n mux_playback_id: z.string(),\n })\n .nullable();\n\nexport const mediaClipCycleSchema = z.object({\n // text data had a mix of numbers and strings\n order: z.number().or(z.string()),\n media_id: z.number().or(z.string()),\n video_id: z.number().nullish(),\n media_type: z.string().nullish(),\n custom_title: z.string().nullish(),\n media_object: mediaClipObjectSchema,\n video_object: videoClipObjectSchema,\n transcriptSentences: z.array(z.string()).nullish(),\n});\n\nexport const mediaClipsRecordSchema = z.record(\n z.string(),\n z.array(mediaClipCycleSchema),\n);\n\nexport const lessonMediaClipsSchema = z.object({\n media_clips: mediaClipsRecordSchema,\n});\n\nexport type MediaClipObject = z.infer<typeof mediaClipObjectSchema>;\nexport type VideoClipObject = z.infer<typeof videoClipObjectSchema>;\nexport type MediaClipCycle = z.infer<typeof mediaClipCycleSchema>;\nexport type MediaClipsRecord = z.infer<typeof mediaClipsRecordSchema>;\nexport type LessonMediaClips = z.infer<typeof lessonMediaClipsSchema>;\n","import { z } from \"zod\";\n\nexport const additionalFileObjectSchema = z.object({\n asset_id: z.number(),\n media_id: z.number(),\n media_object: z.object({\n url: z.string(),\n bytes: z.number(),\n display_name: z.string(),\n }),\n});\n\nexport const additionalFilesSchema = z.object({\n downloadable_files: z.array(additionalFileObjectSchema).nullish(),\n});\n\nexport type AdditionalFileObject = z.infer<typeof additionalFileObjectSchema>;\nexport type AdditionalFiles = z.infer<typeof additionalFilesSchema>;\n","import { z } from \"zod\";\n\nimport { quizQuestionSchema } from \"./quizQuestion.schema\";\nimport { _stateSchema } from \"./base.schema\";\nimport { mediaClipsRecordSchema } from \"./mediaClips.schema\";\nimport { additionalFileObjectSchema } from \"./additionalFiles.schema\";\n\nexport const lessonEquipmentAndResourcesSchema = z.object({\n equipment: z.string(),\n});\n\nexport type LessonEquipmentAndResources = z.infer<\n typeof lessonEquipmentAndResourcesSchema\n>;\n\nexport const keyLearningPointsSchema = z.object({\n key_learning_point: z.string(),\n});\n\nexport type KeyLearningPoints = z.infer<typeof keyLearningPointsSchema>;\n\nexport const keywordsSchema = z.object({\n keyword: z.string(),\n description: z.string(),\n});\n\nexport type Keywords = z.infer<typeof keywordsSchema>;\n\nexport const misconceptionsAndCommonMistakesSchema = z.object({\n misconception: z.string(),\n response: z.string(),\n});\n\nexport type MisconceptionsAndCommonMistakes = z.infer<\n typeof misconceptionsAndCommonMistakesSchema\n>;\n\nexport const teacherTipsSchema = z.object({\n teacher_tip: z.string(),\n});\n\nexport type TeacherTips = z.infer<typeof teacherTipsSchema>;\n\nexport const contentGuidanceSchema = z.object({\n contentguidance_label: z.string().nullable(),\n contentguidance_description: z.string().nullable(),\n contentguidance_area: z.string().nullable(),\n});\n\nexport const lessonOutlineSchema = z.object({\n lesson_outline: z.string(),\n});\n\nexport type ContentGuidance = z.infer<typeof contentGuidanceSchema>;\n\nexport const lessonContentSchema = z.object({\n lesson_id: z.number(),\n lesson_slug: z.string(),\n lesson_title: z.string().nullable(),\n content_guidance: z.array(contentGuidanceSchema).nullable(),\n misconceptions_and_common_mistakes: z\n .array(misconceptionsAndCommonMistakesSchema)\n .nullable(),\n teacher_tips: z.array(teacherTipsSchema).nullable(),\n equipment_and_resources: z\n .array(lessonEquipmentAndResourcesSchema)\n .nullable(),\n pupil_lesson_outcome: z.string().nullable(),\n phonics_outcome: z.string().nullable(),\n lesson_keywords: z.array(keywordsSchema).nullable(),\n supervision_level: z.string().nullable(),\n key_learning_points: z.array(keyLearningPointsSchema).nullable().optional(),\n video_mux_playback_id: z.string().nullable(),\n video_with_sign_language_mux_playback_id: z.string().nullable(),\n video_id: z.number().nullable(),\n video_duration: z.string().nullable(),\n video_title: z.string().nullable(),\n transcript_sentences: z.string().nullable(),\n starter_quiz: z.array(quizQuestionSchema).optional().nullable(),\n exit_quiz: z.array(quizQuestionSchema).optional().nullable(),\n starter_quiz_id: z.number().nullable(),\n exit_quiz_id: z.number().nullable(),\n _state: _stateSchema,\n is_legacy: z.boolean().nullable(),\n deprecated_fields: z.record(z.unknown()).nullable(),\n has_worksheet_google_drive_downloadable_version: z.boolean().nullable(),\n slide_deck_asset_id: z.number().nullable(),\n has_slide_deck_asset_object: z.boolean().nullable(),\n worksheet_asset_id: z.number().nullable(),\n has_worksheet_asset_object: z.boolean().nullable(),\n worksheet_answers_asset_id: z.number().nullable(),\n has_worksheet_answers_asset_object: z.boolean().nullable(),\n supplementary_asset_id: z.number().nullable(),\n has_supplementary_asset_object: z.boolean().nullable(),\n supplementary_asset_object_url: z.string().nullable(),\n worksheet_asset_object_url: z.string().nullable(),\n slide_deck_asset_object_url: z.string().nullable(),\n lesson_guide_asset_id: z.number().nullable().optional(),\n has_lesson_guide_object: z.boolean().nullable().optional(),\n lesson_guide_asset_object_url: z.string().nullable().optional(),\n has_lesson_guide_google_drive_downloadable_version: z\n .boolean()\n .nullable()\n .optional(),\n geo_restricted: z.boolean().nullable(),\n login_required: z.boolean().nullable(),\n media_clips: mediaClipsRecordSchema.nullish(),\n lesson_outline: z.array(lessonOutlineSchema).nullable().optional(),\n downloadable_files: z.array(additionalFileObjectSchema).nullable().optional(),\n lesson_release_date: z.string().nullable(),\n});\n\nexport type LessonContent = z.infer<typeof lessonContentSchema>;\n","import { z } from \"zod\";\n\nimport { _stateSchema, _cohortSchema } from \"./base.schema\";\nimport {\n contentGuidanceSchema,\n keyLearningPointsSchema,\n keywordsSchema,\n lessonEquipmentAndResourcesSchema,\n lessonOutlineSchema,\n} from \"./lessonContent.schema\";\nimport { mediaClipsRecordSchema } from \"./mediaClips.schema\";\n\nexport const lessonDataSchema = z.object({\n lesson_id: z.number(),\n lesson_uid: z.string(),\n slug: z.string(),\n title: z.string(),\n description: z.string(),\n pupil_lesson_outcome: z.string(),\n phonics_outcome: z.string().nullable(),\n key_learning_points: z.array(keyLearningPointsSchema).nullable(),\n equipment_and_resources: z\n .array(lessonEquipmentAndResourcesSchema)\n .nullable(),\n content_guidance_details: z\n .array(z.object({ details: z.string() }))\n .nullable(),\n content_guidance: z.array(z.number()).nullable(),\n copyright_content: z.array(z.object({})).nullable(),\n supervision_level: z.string().nullable(),\n thirdpartycontent_list: z.array(z.number()).nullable(),\n misconceptions_and_common_mistakes: z.array(z.object({})).nullable(),\n keywords: z.array(keywordsSchema).nullable(),\n video_id: z.number().nullable(),\n sign_language_video_id: z.number().nullable(),\n quiz_id_starter: z.number().nullable(),\n quiz_id_exit: z.number().nullable(),\n asset_id_slidedeck: z.number().nullable(),\n asset_id_worksheet: z.number().nullable(),\n expiration_date: z.string().nullable(),\n lesson_outline: z.array(lessonOutlineSchema).nullable().optional(),\n media_clips: mediaClipsRecordSchema.nullable().optional(),\n deprecated_fields: z.record(z.unknown()).nullable(),\n _state: _stateSchema,\n _cohort: _cohortSchema,\n updated_at: z.string(),\n lesson_release_date: z.string().nullable(),\n});\n\nexport type LessonData = z.infer<typeof lessonDataSchema>;\n","import { z } from \"zod\";\n\nimport { _stateSchema, _cohortSchema } from \"./base.schema\";\n\nexport const unitDataSchema = z.object({\n unit_id: z.number(),\n unit_uid: z.string(),\n description: z.string().nullable(),\n slug: z.string(),\n tags: z.array(z.number()).nullable(),\n deprecated_fields: z.record(z.unknown()).nullable().optional(),\n title: z.string(),\n subjectcategories: z.array(z.union([z.number(), z.string()])).nullable(),\n prior_knowledge_requirements: z.array(z.string()).nullish(),\n _state: _stateSchema,\n _cohort: _cohortSchema,\n expiration_date: z.string().nullable(),\n});\n\nexport type UnitData = z.infer<typeof unitDataSchema>;\n","import { z } from \"zod\";\n\nimport { _stateSchema, _cohortSchema } from \"./base.schema\";\nimport { unitDataSchema } from \"./unitData.schema\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\n\nexport const unitvariantSchema = z.object({\n _state: _stateSchema,\n _cohort: _cohortSchema,\n unit_id: z.number(),\n unitvariant_id: z.number(),\n _deleted: z.boolean(),\n unit_overrides: unitDataSchema.partial(),\n programme_fields: programmeFieldsSchema.partial(),\n});\n\nexport type Unitvariant = z.infer<typeof unitvariantSchema>;\n","import { z } from \"zod\";\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","import { z } from \"zod\";\nimport { lessonDataSchema } from \"./lessonData.schema\";\nimport { unitDataSchema } from \"./unitData.schema\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\nimport { actionsSchema } from \"./actions.schema\";\nimport { featuresSchema } from \"./features.schema\";\nimport { staticLessonListSchema } from \"./staticLessonList.schema\";\n\nexport const syntheticUnitvariantLessonsSchema = z.object({\n lesson_slug: z.string(),\n unit_slug: z.string(),\n programme_slug: z.string(),\n is_legacy: z.boolean(),\n lesson_data: lessonDataSchema,\n unit_data: unitDataSchema,\n null_unitvariant_id: z.number(),\n unitvariant_id: z.number().nullish(),\n programme_fields: programmeFieldsSchema,\n supplementary_data: z.object({\n unit_order: z.number(),\n order_in_unit: z.number(),\n }),\n actions: actionsSchema.nullable().optional(),\n features: featuresSchema.nullable().optional(),\n static_lesson_list: staticLessonListSchema.nullish(),\n});\n\nexport type SyntheticUnitvariantLessons = z.infer<\n typeof syntheticUnitvariantLessonsSchema\n>;\n","import { z } from \"zod\";\nimport { unitDataSchema } from \"./unitData.schema\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\nimport { actionsSchema } from \"./actions.schema\";\nimport { staticLessonListSchema } from \"./staticLessonList.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsBaseSchema = z.object({\n base_slug: z.string(),\n unit_slug: z.string(),\n programme_slug: z.string(),\n is_legacy: z.boolean(),\n lesson_count: z.number(),\n lesson_sensitive_count: z.number(),\n lesson_expired_count: z.number(),\n unit_data: unitDataSchema,\n null_unitvariant_id: z.number(),\n programme_fields: programmeFieldsSchema,\n supplementary_data: z.object({\n unit_order: z.number(),\n static_lesson_list: staticLessonListSchema.nullish(),\n }),\n expired: z.boolean(),\n actions: actionsSchema.nullable().optional(), // the optional should be removed once old mvs are retired\n features: z.object({}).optional().nullable(), // the optional should be removed once old mvs are retired\n});\n\nexport type SyntheticUnitvariantsWithLessonIdsBase = z.infer<\n typeof syntheticUnitvariantsWithLessonIdsBaseSchema\n>;\n","import { z } from \"zod\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\nimport { yearSlugs } from \"./base.schema\";\nimport { actionsSchema } from \"./actions.schema\";\n\nexport const syntheticProgrammesByYearSchema = z.object({\n year_slug: yearSlugs,\n programme_slug: z.string(),\n base_slug: z.string(),\n is_legacy: z.boolean(),\n programme_fields: programmeFieldsSchema,\n actions: actionsSchema.nullable().optional(), // the optional should be removed once old mvs are retired\n features: z\n .object({ nonCurriculum: z.boolean().optional() })\n .optional()\n .nullable(), // the optional should be removed once old mvs are retired\n});\n\nexport type SyntheticProgrammesByYear = z.infer<\n typeof syntheticProgrammesByYearSchema\n>;\n","import { z } from \"zod\";\n\nexport const threadsByUnitSchema = z.object({\n unit_id: z.number(),\n threads: z\n .array(z.object({ theme_slug: z.string(), theme_title: z.string() }))\n .nullable(),\n});\n\nexport type ThreadsByUnit = z.infer<typeof threadsByUnitSchema>;\n","import { z } from \"zod\";\nimport { syntheticUnitvariantLessonsSchema } from \"./syntheticUnitvariantLessons.schema\";\nimport { unitvariantSchema } from \"./unitvariant.schema\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\n\nexport const syntheticUnitvariantLessonsByKsSchemaOld = z.object({\n ...syntheticUnitvariantLessonsSchema.omit({ null_unitvariant_id: true })\n .shape,\n unitvariant_id: z.number().nullable(),\n null_unitvariant: unitvariantSchema,\n programme_fields: programmeFieldsSchema.omit({\n pathway: true,\n pathway_description: true,\n pathway_display_order: true,\n pathway_id: true,\n pathway_slug: true,\n }),\n});\n\nexport type SyntheticUnitvariantLessonsByKsOld = z.infer<\n typeof syntheticUnitvariantLessonsByKsSchemaOld\n>;\n","import { syntheticUnitvariantLessonsByKsSchemaOld } from \"./syntheticUnitvariantLessonsByKs.schema.old\";\nimport { z } from \"zod\";\n\nexport const programmeListingResponseSchema =\n syntheticUnitvariantLessonsByKsSchemaOld.pick({\n lesson_data: true,\n programme_fields: true,\n is_legacy: true,\n programme_slug: true,\n });\n\nexport const programmeListingResponseSchemaArray = z.array(\n programmeListingResponseSchema,\n);\n","import { z } from \"zod\";\nimport { syntheticUnitvariantLessonsSchema } from \"./syntheticUnitvariantLessons.schema\";\n\nexport const syntheticUnitvariantLessonsByKsSchema = z.object({\n ...syntheticUnitvariantLessonsSchema.omit({ supplementary_data: true }).shape,\n programme_slug_by_year: z.string().array(),\n order_in_unit: z.number(),\n});\n\nexport type SyntheticUnitvariantLessonsByKs = z.infer<\n typeof syntheticUnitvariantLessonsByKsSchema\n>;\n","import { z } from \"zod\";\n\nexport const threadSchema = z.object({\n thread_id: z.number(),\n thread_title: z.string(),\n thread_slug: z.string(),\n});\n\nexport type Thread = z.infer<typeof threadSchema>;\n","import { z } from \"zod\";\nimport { syntheticUnitvariantsWithLessonIdsBaseSchema } from \"./syntheticUnitvariantsWithLessonIdsBase.schema\";\nimport { threadSchema } from \"./thread.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsByKsSchema = z.object({\n ...syntheticUnitvariantsWithLessonIdsBaseSchema.shape,\n programme_slug_by_year: z.string(),\n lesson_ids: z.array(z.number()).nullable(),\n threads: z.array(threadSchema).nullable(),\n});\n\nexport type SyntheticUnitvariantsWithLessonIdsByKs = z.infer<\n typeof syntheticUnitvariantsWithLessonIdsByKsSchema\n>;\n","import { z } from \"zod\";\nimport { syntheticUnitvariantsWithLessonIdsBaseSchema } from \"./syntheticUnitvariantsWithLessonIdsBase.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsByYearsSchema = z.object({\n ...syntheticUnitvariantsWithLessonIdsBaseSchema.shape,\n age_restricted_lesson_count: z.number(),\n complex_copyright_lesson_count: z.number(),\n});\n\nexport type SyntheticUnitvariantsWithLessonIdsByYears = z.infer<\n typeof syntheticUnitvariantsWithLessonIdsByYearsSchema\n>;\n","import { LessonData } from \"@/schema/lessonData.schema\";\n\nexport const lessonDataFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<LessonData>;\n} = {}): LessonData => ({\n lesson_id: 1,\n lesson_uid: \"lesson-uid\",\n title: \"lesson-title\",\n description: \"lesson-description\",\n slug: \"lesson-slug\",\n pupil_lesson_outcome: \"pupil-lesson-outcome\",\n phonics_outcome: null,\n key_learning_points: [{ key_learning_point: \"point 1\" }],\n equipment_and_resources: null,\n content_guidance_details: null,\n content_guidance: null,\n supervision_level: null,\n thirdpartycontent_list: null,\n misconceptions_and_common_mistakes: null,\n keywords: null,\n video_id: null,\n sign_language_video_id: null,\n quiz_id_starter: null,\n quiz_id_exit: null,\n asset_id_slidedeck: null,\n asset_id_worksheet: null,\n copyright_content: null,\n _state: \"published\",\n _cohort: \"2023-2024\",\n deprecated_fields: null,\n updated_at: \"2024-02-28T08:09:20.247619+00:00\",\n expiration_date: null,\n lesson_outline: null,\n media_clips: null,\n lesson_release_date: null,\n ...overrides,\n});\n","import { ProgrammeFields } from \"@/schema/programmeFields.schema\";\n\nexport const programmeFieldsFixture = ({\n overrides,\n}: {\n overrides?: Partial<ProgrammeFields>;\n} = {}): ProgrammeFields => ({\n tier: null,\n tier_id: null,\n tier_slug: null,\n tier_description: null,\n tier_display_order: null,\n pathway: null,\n pathway_id: null,\n pathway_slug: null,\n pathway_description: null,\n pathway_display_order: null,\n examboard: null,\n examboard_id: null,\n examboard_slug: null,\n examboard_description: null,\n examboard_display_order: null,\n year: \"1\",\n year_slug: \"year-1\",\n year_id: 1,\n year_description: \"Year 1\",\n year_display_order: 1,\n keystage: \"KS1\",\n keystage_id: 1,\n keystage_slug: \"ks1\",\n keystage_description: \"Key Stage 1\",\n keystage_display_order: 1,\n phase: \"primary\",\n phase_id: 0,\n phase_slug: \"primary\",\n phase_description: \"Primary\",\n phase_display_order: 1,\n subject: \"Maths\",\n subject_id: 1,\n subject_slug: \"maths\",\n subject_description: \"subject-description\",\n subject_display_order: 1,\n subject_parent: \"Maths\",\n ...overrides,\n});\n","import { UnitData } from \"@/schema/unitData.schema\";\n\nexport const unitDataFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<UnitData>;\n} = {}): UnitData => ({\n unit_id: 0,\n unit_uid: \"unit-uid\",\n description: null,\n slug: \"unit-slug\",\n tags: null,\n title: \"unit-title\",\n _state: \"published\",\n _cohort: \"2023-2024\",\n expiration_date: null,\n prior_knowledge_requirements: [\"requirement 1\", \"requirement 2\"],\n subjectcategories: [1, 2, 3],\n ...overrides,\n});\n","import {\n ImageObject,\n ImageItem,\n TextItem,\n} from \"@/schema/imageTextItems.schema\";\n\nexport const imageObjectFixture = (): ImageObject => ({\n format: \"png\",\n secure_url: \"https://res.cloudinary.com/demo/image/upload/sample.png\",\n url: \"http://res.cloudinary.com/demo/image/upload/sample.png\",\n height: 100,\n width: 100,\n metadata: {\n attribution: \"author\",\n usageRestriction: \"free\",\n },\n public_id: \"sample\",\n version: 1234567890,\n});\n\nexport const imageItemFixture = (): ImageItem => ({\n image_object: imageObjectFixture(),\n type: \"image\",\n});\n\nexport const textItemFixture = ({\n overrides = {},\n}: { overrides?: Partial<TextItem> } = {}): TextItem => ({\n text: \"Hello, World!\",\n type: \"text\",\n ...overrides,\n});\n\nexport const textAndImageItemFixture = (): (TextItem | ImageItem)[] => [\n imageItemFixture(),\n textItemFixture({ overrides: { text: \"This is a text item.\" } }),\n];\n","import {\n Match,\n MultipleChoice,\n Order,\n ShortAnswer,\n} from \"@/schema/quizAnswers.schema\";\nimport { imageItemFixture, textItemFixture } from \"./imageTextItems.fixture\";\n\nexport const multipleChoiceFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<MultipleChoice>;\n} = {}): MultipleChoice => ({\n answer: [textItemFixture(), imageItemFixture()],\n answer_is_active: true,\n answer_is_correct: true,\n ...overrides,\n});\n\nexport const shortAnswerFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<ShortAnswer>;\n} = {}): ShortAnswer => ({\n answer: [textItemFixture()],\n answer_is_active: true,\n answer_is_default: true,\n ...overrides,\n});\n\nexport const orderFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<Order>;\n} = {}): Order => ({\n answer: [textItemFixture()],\n correct_order: 1,\n answer_is_active: true,\n ...overrides,\n});\n\nexport const matchFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<Match>;\n} = {}): Match => ({\n answer_is_active: true,\n correct_choice: [textItemFixture({ overrides: { text: \"Paris\" } })],\n match_option: [textItemFixture({ overrides: { text: \"Capital of France\" } })],\n ...overrides,\n});\n","import { QuizQuestion } from \"@/schema/quizQuestion.schema\";\n\nimport {\n matchFixture,\n multipleChoiceFixture,\n orderFixture,\n shortAnswerFixture,\n} from \"./quizAnswers.fixture\";\n\nexport const multipleChoiceQuestion = ({\n overrides = {},\n}: {\n overrides?: Partial<QuizQuestion>;\n} = {}): QuizQuestion => ({\n question_id: 1,\n question_uid: \"question-1\",\n question_type: \"multiple-choice\",\n question_stem: [\n {\n text: \"What is the capital of France?\",\n type: \"text\",\n },\n ],\n answers: {\n \"multiple-choice\": [\n multipleChoiceFixture({ overrides: { answer_is_correct: true } }),\n multipleChoiceFixture({ overrides: { answer_is_correct: false } }),\n multipleChoiceFixture({ overrides: { answer_is_correct: false } }),\n multipleChoiceFixture({ overrides: { answer_is_correct: false } }),\n ],\n },\n feedback: \"Paris is the capital of France.\",\n hint: \"Think about the Eiffel Tower.\",\n active: true,\n order: 1,\n ...overrides,\n});\n\nexport const shortAnswerQuestion = ({\n overrides = {},\n}: {\n overrides?: Partial<QuizQuestion>;\n} = {}): QuizQuestion => ({\n question_id: 2,\n question_uid: \"question-2\",\n question_type: \"short-answer\",\n question_stem: [\n {\n text: \"What is the capital of France?\",\n type: \"text\",\n },\n ],\n answers: {\n \"short-answer\": [shortAnswerFixture()],\n },\n feedback: \"Paris is the capital of France.\",\n hint: \"Think about the Eiffel Tower.\",\n active: true,\n order: 2,\n ...overrides,\n});\n\nexport const orderQuestion = ({\n overrides = {},\n}: {\n overrides?: Partial<QuizQuestion>;\n} = {}): QuizQuestion => ({\n question_id: 3,\n question_uid: \"question-3\",\n question_type: \"order\",\n question_stem: [\n {\n text: \"What is the capital of France?\",\n type: \"text\",\n },\n ],\n answers: {\n order: [\n orderFixture({ overrides: { correct_order: 1 } }),\n orderFixture({ overrides: { correct_order: 2 } }),\n orderFixture({ overrides: { correct_order: 3 } }),\n orderFixture({ overrides: { correct_order: 4 } }),\n ],\n },\n feedback: \"Paris is the capital of France.\",\n hint: \"Think about the Eiffel Tower.\",\n active: true,\n order: 3,\n ...overrides,\n});\n\nexport const matchQuestion = ({\n overrides = {},\n}: {\n overrides?: Partial<QuizQuestion>;\n} = {}): QuizQuestion => ({\n question_id: 4,\n question_uid: \"question-4\",\n question_type: \"match\",\n question_stem: [\n {\n text: \"What is the capital of France?\",\n type: \"text\",\n },\n ],\n answers: {\n match: [matchFixture(), matchFixture(), matchFixture(), matchFixture()],\n },\n feedback: \"Paris is the capital of France.\",\n hint: \"Think about the Eiffel Tower.\",\n active: true,\n order: 4,\n ...overrides,\n});\n","import { AdditionalFiles } from \"@/schema/additionalFiles.schema\";\n\nexport const additionalFilesFixture = ({\n overrides,\n}: {\n overrides?: Partial<AdditionalFiles>;\n} = {}): AdditionalFiles => ({\n downloadable_files: [\n {\n asset_id: 456,\n media_id: 3456,\n media_object: {\n url: \"https://example.com/file1.pdf\",\n bytes: 1000,\n display_name: \"File 1\",\n },\n },\n {\n asset_id: 932,\n media_id: 2435,\n media_object: {\n url: \"https://example.com/file2.pdf\",\n bytes: 2000,\n display_name: \"File 2\",\n },\n },\n ],\n ...overrides,\n});\nexport default additionalFilesFixture;\n","import {\n LessonMediaClips,\n MediaClipObject,\n VideoClipObject,\n MediaClipCycle,\n} from \"@/schema/mediaClips.schema\";\n\nexport const mediaObjectFixture = ({\n overrides,\n}: {\n overrides?: Partial<MediaClipObject>;\n} = {}): MediaClipObject => ({\n url: \"http://example.com/video1.mp3\",\n type: \"upload\",\n bytes: 81127,\n format: \"mp3\",\n display_name: \"9_task_C1_3\",\n resource_type: \"video\",\n ...overrides,\n});\n\nexport const videoObjectFixture = ({\n overrides,\n}: {\n overrides?: Partial<VideoClipObject>;\n} = {}): VideoClipObject => ({\n duration: 5.055667,\n mux_asset_id: \"hug9i01Tnpf1y83irOm00HRbvAJpttJPU78KNYzPav3mg\",\n playback_ids: [\n {\n id: \"mVkKUtOfoD1100012GNC1pCO6RvUgyGwqGoq01pYsy7WeA\",\n policy: \"signed\",\n },\n {\n id: \"BW00NkK9R01jB8PPO7R00YCFl2XBDn13GTkhd0001PNtheF00\",\n policy: \"public\",\n },\n ],\n mux_playback_id: \"BW00NkK9R01jB8PPO7R00YCFl2XBDn13GTkhd0001PNtheF00\",\n ...overrides,\n});\n\nexport const mediaClipCycleFixture = ({\n overrides,\n}: {\n overrides?: Partial<MediaClipCycle>;\n} = {}): MediaClipCycle => ({\n order: \"1\",\n media_id: \"191188\",\n video_id: 29844,\n media_type: \"video\",\n custom_title: \"Intro Video 1\",\n media_object: mediaObjectFixture(),\n video_object: videoObjectFixture(),\n ...overrides,\n});\n\nexport const mediaClipsFixture = ({\n overrides,\n}: {\n overrides?: Partial<LessonMediaClips>;\n} = {}): LessonMediaClips => ({\n media_clips: {\n intro: [\n {\n order: \"1\",\n media_id: \"191188\",\n video_id: 29844,\n media_type: \"video\",\n custom_title: \"Intro Video 1\",\n media_object: mediaObjectFixture(),\n video_object: videoObjectFixture(),\n },\n {\n order: \"2\",\n media_id: \"191189\",\n video_id: 29845,\n media_type: \"video\",\n custom_title: \"Intro Video 2\",\n media_object: {\n url: \"http://example.com/video2.mp3\",\n type: \"upload\",\n bytes: 122087,\n format: \"mp3\",\n display_name: \"8_task_C1_2\",\n resource_type: \"video\",\n },\n video_object: {\n duration: 7.603667,\n mux_asset_id: \"gyUmSG2VVqcuw00NzT9f02kZvlLmXsrnuT5P7KhrYhWJg\",\n playback_ids: [\n {\n id: \"9a02PY7PivjOBUHyH4N2mAwJH00aJoZeybWyy9hiwXVQY\",\n policy: \"public\",\n },\n {\n id: \"02mDhMdHMs4MOCAMutPLWzylp00NQgDYfiydlLQPDWI3M\",\n policy: \"signed\",\n },\n ],\n mux_playback_id: \"9a02PY7PivjOBUHyH4N2mAwJH00aJoZeybWyy9hiwXVQY\",\n },\n },\n ],\n cycle2: [\n {\n order: \"1\",\n media_id: \"191117\",\n video_id: 29877,\n media_type: \"video\",\n custom_title: \"\",\n media_object: {\n url: \"http://oaknationalacademy-res.cloudinary.com/video/upload/v1736420414/u5bptym7h8ts8nyyrpwg.mp4\",\n type: \"upload\",\n bytes: 276767,\n format: \"mp4\",\n display_name: \"australia fact\",\n resource_type: \"video\",\n },\n video_object: {\n duration: 5.613111,\n mux_asset_id: \"4yb74fNKob6M6AT02AFTmsTrJEgXUl00WQWhpt01KttWcI\",\n playback_ids: [\n {\n id: \"RUIUNGcGf01kgZU1xC5peDCvGpC2d2YeRcwSMfJ4cvMk\",\n policy: \"public\",\n },\n {\n id: \"NVs5TJ5Lt6POkNwDBNtHZth2a2VtBvsyorgJPQfO6W4\",\n policy: \"signed\",\n },\n ],\n mux_playback_id: \"RUIUNGcGf01kgZU1xC5peDCvGpC2d2YeRcwSMfJ4cvMk\",\n },\n },\n ],\n },\n ...overrides,\n});\n\nexport const additionalCyclesFixture = {\n media_clips: {\n cycle3: [mediaClipCycleFixture()],\n cycle4: [\n mediaClipCycleFixture(),\n mediaClipCycleFixture({\n overrides: {\n order: \"2\",\n media_id: \"1911749\",\n video_id: 298345,\n },\n }),\n ],\n },\n};\n\nexport default mediaClipsFixture;\n","import {\n Keywords,\n LessonContent,\n TeacherTips,\n LessonEquipmentAndResources,\n} from \"@/schema/lessonContent.schema\";\nimport {\n matchQuestion,\n multipleChoiceQuestion,\n orderQuestion,\n shortAnswerQuestion,\n} from \"./quizQuestion.fixture\";\nimport additionalFilesFixture from \"@/fixtures/additionalFiles.fixture\";\nimport mediaClipsFixture from \"./mediaClips.fixture\";\n\nexport const lessonEquipmentAndResourcesFixture =\n (): LessonEquipmentAndResources => ({\n equipment: \"equipment\",\n });\n\nexport const teacherTipsFixture = (): TeacherTips => ({\n teacher_tip: \"teacher-tip\",\n});\n\nexport const keywordsFixture = (): Keywords => ({\n keyword: \"keyword\",\n description: \"description\",\n});\n\nexport const misconceptionsAndCommonMistakesFixture = () => ({\n misconception: \"misconception\",\n response: \"response\",\n});\n\nexport const contentGuidanceFixture = () => ({\n contentguidance_label: \"contentguidance-label\",\n contentguidance_description: \"contentguidance-description\",\n contentguidance_area: \"contentguidance-area\",\n});\n\nexport const lessonContentFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<LessonContent>;\n} = {}): LessonContent => ({\n lesson_id: 1,\n lesson_title: \"lesson-title\",\n lesson_slug: \"lesson-slug\",\n deprecated_fields: {},\n is_legacy: false,\n misconceptions_and_common_mistakes: [\n misconceptionsAndCommonMistakesFixture(),\n ],\n equipment_and_resources: [lessonEquipmentAndResourcesFixture()],\n teacher_tips: [teacherTipsFixture()],\n key_learning_points: null,\n pupil_lesson_outcome: \"pupil-lesson-outcome\",\n phonics_outcome: null,\n lesson_keywords: [keywordsFixture()],\n content_guidance: [contentGuidanceFixture()],\n video_mux_playback_id: \"video-mux-playback-id\",\n video_id: null,\n video_duration: \"5 minutes\",\n video_with_sign_language_mux_playback_id:\n \"video-with-sign-language-mux-playback-id\",\n video_title: \"video-title\",\n transcript_sentences: \"this is the transcript\",\n starter_quiz: [\n multipleChoiceQuestion({\n overrides: { order: 1, question_uid: \"starter-quiz-1\" },\n }),\n orderQuestion({ overrides: { order: 2, question_uid: \"starter-quiz-2\" } }),\n matchQuestion({ overrides: { order: 3, question_uid: \"starter-quiz-3\" } }),\n shortAnswerQuestion({\n overrides: { order: 4, question_uid: \"starter-quiz-4\" },\n }),\n ],\n starter_quiz_id: 1,\n exit_quiz: null,\n exit_quiz_id: null,\n supervision_level: null,\n _state: \"published\",\n slide_deck_asset_id: 301,\n has_slide_deck_asset_object: true,\n worksheet_asset_id: 302,\n has_worksheet_answers_asset_object: true,\n worksheet_answers_asset_id: 303,\n has_worksheet_google_drive_downloadable_version: true,\n has_supplementary_asset_object: true,\n supplementary_asset_id: 304,\n supplementary_asset_object_url: \"supplementary-asset-object-url\",\n slide_deck_asset_object_url: \"slide-deck-asset-object-url\",\n worksheet_asset_object_url: \"worksheet-asset-object-url\",\n has_worksheet_asset_object: true,\n geo_restricted: false,\n login_required: false,\n lesson_guide_asset_id: 1,\n has_lesson_guide_object: true,\n lesson_guide_asset_object_url: \"lesson-guide-asset-object-url\",\n has_lesson_guide_google_drive_downloadable_version: false,\n media_clips: mediaClipsFixture().media_clips,\n lesson_outline: [\n { lesson_outline: \"lesson-outline-1\" },\n { lesson_outline: \"lesson-outline-2\" },\n ],\n downloadable_files: additionalFilesFixture().downloadable_files,\n lesson_release_date: \"2024-05-10T08:34:55.166149+00:00\",\n ...overrides,\n});\n","import { SyntheticProgrammesByYear } from \"@/schema/syntheticProgrammesByYear.schema\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\n\nexport const syntheticProgrammesByYearFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticProgrammesByYear>;\n} = {}): SyntheticProgrammesByYear => ({\n year_slug: \"year-1\",\n base_slug: \"maths-primary-year-1\",\n programme_slug: \"maths-primary-year-1\",\n is_legacy: false,\n programme_fields: programmeFieldsFixture(),\n});\n","import { SyntheticUnitvariantLessonsByKs } from \"@/schema/syntheticUnitvariantLessonsByKs.schema\";\nimport { lessonDataFixture } from \"./lessonData.fixture\";\nimport { unitDataFixture } from \"./unitData.fixture\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\n\nexport const syntheticUnitvariantLessonsByKsFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticUnitvariantLessonsByKs>;\n} = {}): SyntheticUnitvariantLessonsByKs => ({\n lesson_slug: \"lesson-slug\",\n unit_slug: \"unit-slug\",\n programme_slug: \"programme-slug\",\n programme_slug_by_year: [\"programme-slug-year\"],\n is_legacy: false,\n lesson_data: lessonDataFixture(),\n unit_data: unitDataFixture(),\n null_unitvariant_id: 1,\n unitvariant_id: 1,\n programme_fields: programmeFieldsFixture(),\n order_in_unit: 1,\n static_lesson_list: [\n { slug: \"lesson-slug\", title: \"lesson-title\", order: 1 },\n ],\n ...overrides,\n});\n","import { SyntheticUnitvariantLessons } from \"@/schema/syntheticUnitvariantLessons.schema\";\n\nimport { lessonDataFixture } from \"./lessonData.fixture\";\nimport { unitDataFixture } from \"./unitData.fixture\";\nimport { unitvariantFixture } from \"./unitvariant.fixture\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\n\n// To be deprecated\nexport const syntheticUnitvariantLessonsFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticUnitvariantLessons>;\n} = {}): SyntheticUnitvariantLessons => ({\n lesson_slug: \"lesson-slug\",\n unit_slug: \"unit-slug\",\n programme_slug: \"programme-slug\",\n is_legacy: false,\n lesson_data: lessonDataFixture(),\n unit_data: unitDataFixture(),\n null_unitvariant_id: 0,\n programme_fields: programmeFieldsFixture(),\n supplementary_data: {\n unit_order: 1,\n order_in_unit: 1,\n },\n ...overrides,\n});\n","import { unitDataFixture } from \"./unitData.fixture\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\nimport { SyntheticUnitvariantsWithLessonIdsByKs } from \"@/schema/syntheticUnitvariantsWithLessonIdsByKs.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsByKsFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticUnitvariantsWithLessonIdsByKs>;\n} = {}): SyntheticUnitvariantsWithLessonIdsByKs => ({\n base_slug: \"base-slug\",\n unit_slug: \"unit-slug\",\n programme_slug: \"programme-slug\",\n programme_slug_by_year: \"programme-slug-by-year\",\n is_legacy: false,\n lesson_count: 1,\n lesson_sensitive_count: 0,\n lesson_expired_count: 0,\n lesson_ids: [1],\n unit_data: unitDataFixture(),\n null_unitvariant_id: 0,\n programme_fields: programmeFieldsFixture(),\n supplementary_data: {\n unit_order: 1,\n static_lesson_list: [\n { slug: \"lesson-slug\", title: \"lesson-title\", order: 1 },\n ],\n },\n expired: false,\n threads: null,\n ...overrides,\n});\n","import { unitDataFixture } from \"./unitData.fixture\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\nimport { SyntheticUnitvariantsWithLessonIdsBase } from \"@/schema/syntheticUnitvariantsWithLessonIdsBase.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticUnitvariantsWithLessonIdsBase>;\n} = {}): SyntheticUnitvariantsWithLessonIdsBase => ({\n base_slug: \"base-slug\",\n unit_slug: \"unit-slug\",\n programme_slug: \"programme-slug\",\n is_legacy: false,\n lesson_count: 1,\n lesson_sensitive_count: 0,\n lesson_expired_count: 0,\n unit_data: unitDataFixture(),\n null_unitvariant_id: 0,\n programme_fields: programmeFieldsFixture(),\n supplementary_data: {\n unit_order: 1,\n },\n expired: false,\n ...overrides,\n});\n","import { Thread } from \"@/schema/thread.schema\";\n\nexport const threadFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<Thread>;\n} = {}): Thread => ({\n thread_id: 1,\n thread_title: \"A thread\",\n thread_slug: \"a-thread\",\n ...overrides,\n});\n","import { Unitvariant } from \"@/schema/unitvariant.schema\";\n\nexport const unitvariantFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<Unitvariant>;\n} = {}): Unitvariant => ({\n unitvariant_id: 1,\n unit_id: 1,\n _deleted: false,\n _state: \"published\",\n _cohort: \"2023-2024\",\n unit_overrides: {},\n programme_fields: {},\n ...overrides,\n});\n"],"names":["_stateSchema","z","enum","_cohortSchema","phaseSlugs","phaseDescriptions","phases","keystages","keystageSlugs","keystageDescriptions","years","yearSlugs","yearDescriptions","tiers","tierSlugs","tierDescriptions","pathways","pathwaySlugs","pathwayDescriptions","examboardSlugs","examboards","examboardDescriptions","subjects","subjectSlugs","baseIngestStates","default","assetIngestStates","videoIngestStates","programmeFieldsSchema","object","pathway","nullable","pathway_id","number","pathway_slug","pathway_description","pathway_display_order","tier","tier_id","tier_slug","tier_description","tier_display_order","examboard","examboard_id","examboard_slug","examboard_description","examboard_display_order","year","year_slug","year_id","year_description","year_display_order","keystage","keystage_id","keystage_slug","keystage_description","keystage_display_order","phase","phase_id","phase_slug","phase_description","phase_display_order","subject","subject_id","subject_slug","subject_description","string","subject_display_order","subject_parent","nullish","optionality","optional","legacy","dataset","queriesSchema","journeysSchema","journeysAndQueriesSchema","union","actionsSchema","exclusions","array","opt_out","programme_field_overrides","partial","display_expiring_banner","boolean","disable_pupil_share","display_PE_title","display_vocab_button","override_pathway","is_pe_practical","related_subject_slugs","group_units_as","featuresSchema","pe_practical","age_restriction","agf__geo_restricted","agf__login_required","imageObjectSchema","format","secure_url","url","height","width","metadata","attribution","usageRestriction","never","length","public_id","version","imageItemSchema","image_object","type","literal","textItemSchema","text","multipleChoiceSchema","answer","answer_is_active","answer_is_correct","shortAnswerSchema","answer_is_default","orderSchema","correct_order","matchSchema","correct_choice","match_option","quizQuestionSchema","question_id","question_uid","question_type","question_stem","answers","order","match","feedback","hint","active","mediaClipObjectSchema","bytes","display_name","resource_type","videoClipObjectSchema","duration","mux_asset_id","playback_ids","id","policy","mux_playback_id","mediaClipCycleSchema","or","media_id","video_id","media_type","custom_title","media_object","video_object","transcriptSentences","mediaClipsRecordSchema","record","lessonMediaClipsSchema","media_clips","additionalFileObjectSchema","asset_id","additionalFilesSchema","downloadable_files","lessonEquipmentAndResourcesSchema","equipment","keyLearningPointsSchema","key_learning_point","keywordsSchema","keyword","description","misconceptionsAndCommonMistakesSchema","misconception","response","teacherTipsSchema","teacher_tip","contentGuidanceSchema","contentguidance_label","contentguidance_description","contentguidance_area","lessonOutlineSchema","lesson_outline","lessonContentSchema","lesson_id","lesson_slug","lesson_title","content_guidance","misconceptions_and_common_mistakes","teacher_tips","equipment_and_resources","pupil_lesson_outcome","phonics_outcome","lesson_keywords","supervision_level","key_learning_points","video_mux_playback_id","video_with_sign_language_mux_playback_id","video_duration","video_title","transcript_sentences","starter_quiz","exit_quiz","starter_quiz_id","exit_quiz_id","_state","is_legacy","deprecated_fields","unknown","has_worksheet_google_drive_downloadable_version","slide_deck_asset_id","has_slide_deck_asset_object","worksheet_asset_id","has_worksheet_asset_object","worksheet_answers_asset_id","has_worksheet_answers_asset_object","supplementary_asset_id","has_supplementary_asset_object","supplementary_asset_object_url","worksheet_asset_object_url","slide_deck_asset_object_url","lesson_guide_asset_id","has_lesson_guide_object","lesson_guide_asset_object_url","has_lesson_guide_google_drive_downloadable_version","geo_restricted","login_required","lesson_release_date","lessonDataSchema","lesson_uid","slug","title","content_guidance_details","details","copyright_content","thirdpartycontent_list","keywords","sign_language_video_id","quiz_id_starter","quiz_id_exit","asset_id_slidedeck","asset_id_worksheet","expiration_date","_cohort","updated_at","unitDataSchema","unit_id","unit_uid","tags","subjectcategories","prior_knowledge_requirements","unitvariantSchema","unitvariant_id","_deleted","unit_overrides","programme_fields","staticLesson","staticLessonListSchema","syntheticUnitvariantLessonsSchema","unit_slug","programme_slug","lesson_data","unit_data","null_unitvariant_id","supplementary_data","unit_order","order_in_unit","actions","features","static_lesson_list","syntheticUnitvariantsWithLessonIdsBaseSchema","base_slug","lesson_count","lesson_sensitive_count","lesson_expired_count","expired","syntheticProgrammesByYearSchema","nonCurriculum","threadsByUnitSchema","threads","theme_slug","theme_title","syntheticUnitvariantLessonsByKsSchemaOld","Object","assign","omit","shape","null_unitvariant","programmeListingResponseSchema","pick","programmeListingResponseSchemaArray","syntheticUnitvariantLessonsByKsSchema","programme_slug_by_year","threadSchema","thread_id","thread_title","thread_slug","syntheticUnitvariantsWithLessonIdsByKsSchema","lesson_ids","syntheticUnitvariantsWithLessonIdsByYearsSchema","age_restricted_lesson_count","complex_copyright_lesson_count","lessonDataFixture","overrides","programmeFieldsFixture","unitDataFixture","textItemFixture","multipleChoiceFixture","shortAnswerFixture","orderFixture","matchFixture","multipleChoiceQuestion","shortAnswerQuestion","orderQuestion","matchQuestion","additionalFilesFixture","mediaObjectFixture","videoObjectFixture","mediaClipCycleFixture","mediaClipsFixture","intro","cycle2","additionalCyclesFixture","cycle3","cycle4","lessonEquipmentAndResourcesFixture","teacherTipsFixture","keywordsFixture","misconceptionsAndCommonMistakesFixture","contentGuidanceFixture"],"mappings":"qHAEa,MAAAA,EAAeC,EAACA,EAACC,KAAK,CAAC,YAAa,MAAO,cAC3CC,EAAgBF,EAACA,EAACC,KAAK,CAClC,YACA,YACA,YACA,MAGWE,EAAaH,EAACA,EAACC,KAAK,CAAC,aAAc,UAAW,cAC9CG,EAAoBJ,EAACA,EAACC,KAAK,CACtC,+BACA,UACA,cAEWI,EAASL,EAACA,EAACC,KAAK,CAAC,aAAc,UAAW,cAE1CK,EAAYN,EAACA,EAACC,KAAK,CAC9B,MACA,MACA,MACA,MACA,OACA,mBAEWM,EAAgBP,EAACA,EAACC,KAAK,CAClC,MACA,MACA,MACA,MACA,+BACA,WAEWO,EAAuBR,EAACA,EAACC,KAAK,CACzC,cACA,cACA,cACA,cACA,+BACA,mBAGWQ,EAAQT,EAACA,EAACC,KAAK,CAC1B,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KACA,KACA,KACA,KACA,IACA,QAEWS,EAAYV,EAACA,EAACC,KAAK,CAC9B,YACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,UACA,UACA,UACA,UACA,cAEWU,EAAmBX,EAACA,EAACC,KAAK,CACrC,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,UACA,UACA,UACA,UACA,YACA,cAGWW,EAAQZ,EAACA,EAACC,KAAK,CAAC,OAAQ,aAAc,WACtCY,EAAYb,EAACA,EAACC,KAAK,CAAC,OAAQ,aAAc,WAC1Ca,EAAmBd,EAACA,EAACC,KAAK,CAAC,OAAQ,aAAc,WAEjDc,EAAWf,EAAAA,EAAEC,KAAK,CAAC,OAAQ,SAC3Be,EAAehB,EAAAA,EAAEC,KAAK,CAAC,OAAQ,SAC/BgB,EAAsBjB,EAAAA,EAAEC,KAAK,CAAC,OAAQ,SAEtCiB,EAAiBlB,EAACA,EAACC,KAAK,CACnC,MACA,UACA,SACA,MACA,OACA,aAEWkB,EAAanB,EAACA,EAACC,KAAK,CAC/B,MACA,UACA,SACA,MACA,OACA,cAEWmB,EAAwBpB,EAACA,EAACC,KAAK,CAC1C,yCACA,UACA,SACA,yCACA,kCACA,cAGWoB,EAAWrB,EAACA,EAACC,KAAK,CAC7B,uBACA,iBACA,cACA,YACA,mBACA,wBACA,QACA,UACA,kBACA,+BACA,mBACA,6BACA,sBACA,SACA,YACA,SACA,UACA,QACA,WACA,QACA,QACA,6CACA,qBACA,cACA,sBACA,UACA,UACA,YACA,mBACA,UACA,UACA,0BACA,aACA,6BACA,gBACA,qBACA,WACA,uBACA,YACA,uBACA,mBACA,sBACA,8BACA,kBACA,0BAEWqB,EAAetB,EAACA,EAACC,KAAK,CACjC,qBACA,MACA,cACA,YACA,oBACA,QACA,UACA,kBACA,+BACA,mBACA,6BACA,sBACA,SACA,YACA,SACA,UACA,QACA,WACA,QACA,QACA,4CACA,qBACA,YACA,sBACA,UACA,UACA,YACA,mBACA,UACA,UACA,0BACA,aACA,6BACA,gBACA,qBACA,WACA,uBACA,YACA,uBACA,mBACA,sBACA,8BACA,8BACA,sBCzNWsB,EAAmBvB,EAACwB,QAACvB,KAAK,CACrC,iBACA,kBACA,oBAGWwB,EAAoBzB,EAACwB,QAACvB,KAAK,CAAC,aAE5ByB,EAAoB1B,EAACwB,QAACvB,KAAK,CACtC,kBACA,eACA,cACA,uBACA,iBACA,WACA,eACA,cACA,gBCKW0B,EAAwB3B,EAACA,EAAC4B,OAAO,CAC5CC,QAASd,EAASe,WAClBC,WAAY/B,EAACA,EAACgC,SAASF,WACvBG,aAAcjB,EAAac,WAC3BI,oBAAqBjB,EAAoBa,WACzCK,sBAAuBnC,EAACA,EAACgC,SAASF,WAElCM,KAAMxB,EAAMkB,WACZO,QAASrC,EAACA,EAACgC,SAASF,WACpBQ,UAAWzB,EAAUiB,WACrBS,iBAAkBzB,EAAiBgB,WACnCU,mBAAoBxC,EAACA,EAACgC,SAASF,WAE/BW,UAAWtB,EAAWW,WACtBY,aAAc1C,EAACA,EAACgC,SAASF,WACzBa,eAAgBzB,EAAeY,WAC/Bc,sBAAuBxB,EAAsBU,WAC7Ce,wBAAyB7C,EAACA,EAACgC,SAASF,WAEpCgB,KAAMrC,EACNsC,UAAWrC,EACXsC,QAAShD,EAACA,EAACgC,SACXiB,iBAAkBtC,EAClBuC,mBAAoBlD,EAACA,EAACgC,SAEtBmB,SAAU7C,EACV8C,YAAapD,EAACA,EAACgC,SACfqB,cAAe9C,EACf+C,qBAAsB9C,EACtB+C,uBAAwBv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BtD,WAAW,EACXuD,YAAayC,KACbxC,UAAW2C,KACX1C,oBAAqB,EACrBR,iBAAkBiD,KAClBxC,mBAAoB,CAClBC,WAAY,EACZC,cAAe,IAEdqC,8JCrBwD,EAC3DA,YAAY,CAAA,GAGV,CAAE,IACJpB,OAAAC,OAAA,CAAAb,UAAW,YACXZ,UAAW,YACXC,eAAgB,iBAChBgC,uBAAwB,yBACxBtF,WAAW,EACXkE,aAAc,EACdC,uBAAwB,EACxBC,qBAAsB,EACtBwB,WAAY,CAAC,GACbpC,UAAW2C,KACX1C,oBAAqB,EACrBR,iBAAkBiD,KAClBxC,mBAAoB,CAClBC,WAAY,EACZI,mBAAoB,CAClB,CAAEvC,KAAM,cAAeC,MAAO,eAAgBnG,MAAO,KAGzD+I,SAAS,EACTI,QAAS,MACNwB,wKCzBoD,EACvDA,YAAY,CAAA,GAGV,CAAE,IAA6CpB,OAAAC,OAAA,CACjDb,UAAW,YACXZ,UAAW,YACXC,eAAgB,iBAChBtD,WAAW,EACXkE,aAAc,EACdC,uBAAwB,EACxBC,qBAAsB,EACtBZ,UAAW2C,KACX1C,oBAAqB,EACrBR,iBAAkBiD,KAClBxC,mBAAoB,CAClBC,WAAY,GAEdU,SAAS,GACN4B,4GCrBwB,EAC3BA,YAAY,CAAE,GAGZ,CAAA,IACFpB,OAAAC,OAAA,CAAAU,UAAW,EACXC,aAAc,WACdC,YAAa,YACVO,yMCR6B,EAChCA,YAAY,CAAA,GAGV,CAAA,IACFpB,OAAAC,OAAA,CAAAhC,eAAgB,EAChBN,QAAS,EACTO,UAAU,EACVhD,OAAQ,YACRsC,QAAS,YACTW,eAAgB,GAChBC,iBAAkB,CAAE,GACjBgD"}
1
+ {"version":3,"file":"index.js","sources":["../../src/schema/base.schema.ts","../../src/schema/internal.schema.ts","../../src/schema/programmeFields.schema.ts","../../src/schema/actions.schema.ts","../../src/schema/features.schema.ts","../../src/schema/imageTextItems.schema.ts","../../src/schema/quizAnswers.schema.ts","../../src/schema/quizQuestion.schema.ts","../../src/schema/mediaClips.schema.ts","../../src/schema/additionalFiles.schema.ts","../../src/schema/lessonContent.schema.ts","../../src/schema/lessonData.schema.ts","../../src/schema/unitData.schema.ts","../../src/schema/unitvariant.schema.ts","../../src/schema/staticLessonList.schema.ts","../../src/schema/syntheticUnitvariantLessons.schema.ts","../../src/schema/syntheticUnitvariantsWithLessonIdsBase.schema.ts","../../src/schema/syntheticProgrammesByYear.schema.ts","../../src/schema/threadsByUnit.schema.ts","../../src/schema/syntheticUnitvariantLessonsByKs.schema.old.ts","../../src/schema/programmeListing.schema.ts","../../src/schema/syntheticUnitvariantLessonsByKs.schema.ts","../../src/schema/thread.schema.ts","../../src/schema/syntheticUnitvariantsWithLessonIdsByKs.schema.ts","../../src/schema/syntheticUnitvariantsWithLessonIdsByYears.schema.ts","../../src/fixtures/lessonData.fixture.ts","../../src/fixtures/programmeFields.fixture.ts","../../src/fixtures/unitData.fixture.ts","../../src/fixtures/imageTextItems.fixture.ts","../../src/fixtures/quizAnswers.fixture.ts","../../src/fixtures/quizQuestion.fixture.ts","../../src/fixtures/additionalFiles.fixture.ts","../../src/fixtures/mediaClips.fixture.ts","../../src/fixtures/lessonContent.fixture.ts","../../src/fixtures/syntheticProgrammesByYear.fixture.ts","../../src/fixtures/syntheticUnitvariantLessonsByKs.fixture.ts","../../src/fixtures/syntheticUnitvariantLessons.fixture.ts","../../src/fixtures/syntheticUnitvariantsWithLessonIdsByKs.fixture.ts","../../src/fixtures/syntheticUnitvariantsWithLessonIds.fixture.ts","../../src/fixtures/thread.fixture.ts","../../src/fixtures/unitvariant.fixture.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const _stateSchema = z.enum([\"published\", \"new\", \"migration\"]);\nexport const _cohortSchema = z.enum([\n \"2020-2023\",\n \"2023-2024\",\n \"2024-2025\",\n \"0\",\n]);\n\nexport const phaseSlugs = z.enum([\"foundation\", \"primary\", \"secondary\"]);\nexport const phaseDescriptions = z.enum([\n \"Early Years Foundation Stage\",\n \"Primary\",\n \"Secondary\",\n]);\nexport const phases = z.enum([\"foundation\", \"primary\", \"secondary\"]);\n\nexport const keystages = z.enum([\n \"KS1\",\n \"KS2\",\n \"KS3\",\n \"KS4\",\n \"EYFS\",\n \"All key stages\",\n]);\nexport const keystageSlugs = z.enum([\n \"ks1\",\n \"ks2\",\n \"ks3\",\n \"ks4\",\n \"early-years-foundation-stage\",\n \"all-ks\",\n]);\nexport const keystageDescriptions = z.enum([\n \"Key Stage 1\",\n \"Key Stage 2\",\n \"Key Stage 3\",\n \"Key Stage 4\",\n \"Early Years Foundation Stage\",\n \"All Key Stages\",\n]);\n\nexport const years = z.enum([\n \"1\",\n \"2\",\n \"3\",\n \"4\",\n \"5\",\n \"6\",\n \"7\",\n \"8\",\n \"9\",\n \"10\",\n \"11\",\n \"12\",\n \"13\",\n \"R\",\n \"All\",\n]);\nexport const yearSlugs = z.enum([\n \"reception\",\n \"year-1\",\n \"year-2\",\n \"year-3\",\n \"year-4\",\n \"year-5\",\n \"year-6\",\n \"year-7\",\n \"year-8\",\n \"year-9\",\n \"year-10\",\n \"year-11\",\n \"year-12\",\n \"year-13\",\n \"all-years\",\n]);\nexport const yearDescriptions = z.enum([\n \"Year 1\",\n \"Year 2\",\n \"Year 3\",\n \"Year 4\",\n \"Year 5\",\n \"Year 6\",\n \"Year 7\",\n \"Year 8\",\n \"Year 9\",\n \"Year 10\",\n \"Year 11\",\n \"Year 12\",\n \"Year 13\",\n \"Reception\",\n \"All years\",\n]);\n\nexport const tiers = z.enum([\"core\", \"foundation\", \"higher\"]);\nexport const tierSlugs = z.enum([\"core\", \"foundation\", \"higher\"]);\nexport const tierDescriptions = z.enum([\"Core\", \"Foundation\", \"Higher\"]);\n\nexport const pathways = z.enum([\"Core\", \"GCSE\"]);\nexport const pathwaySlugs = z.enum([\"core\", \"gcse\"]);\nexport const pathwayDescriptions = z.enum([\"Core\", \"GCSE\"]);\n\nexport const examboardSlugs = z.enum([\n \"aqa\",\n \"edexcel\",\n \"eduqas\",\n \"ocr\",\n \"wjec\",\n \"edexcelb\",\n]);\nexport const examboards = z.enum([\n \"AQA\",\n \"Edexcel\",\n \"Eduqas\",\n \"OCR\",\n \"WJEC\",\n \"Edexcel B\",\n]);\nexport const examboardDescriptions = z.enum([\n \"Assessment and Qualifications Alliance\",\n \"Edexcel\",\n \"Eduqas\",\n \"Oxford, Cambridge and RSA Examinations\",\n \"Welsh Joint Education Committee\",\n \"Edexcel B\",\n]);\n\nexport const subjects = z.enum([\n \"Computing (non-GCSE)\",\n \"Art and design\",\n \"Citizenship\",\n \"Computing\",\n \"Computer Science\",\n \"Design and technology\",\n \"Drama\",\n \"English\",\n \"English grammar\",\n \"English reading for pleasure\",\n \"English spelling\",\n \"Expressive arts and design\",\n \"Financial education\",\n \"French\",\n \"Geography\",\n \"German\",\n \"History\",\n \"Latin\",\n \"Literacy\",\n \"Maths\",\n \"Music\",\n \"Personal, social and emotional development\",\n \"Physical education\",\n \"RSHE (PSHE)\",\n \"Religious education\",\n \"Science\",\n \"Biology\",\n \"Chemistry\",\n \"Combined science\",\n \"Physics\",\n \"Spanish\",\n \"Understanding the world\",\n \"Specialist\",\n \"Communication and language\",\n \"Creative arts\",\n \"Independent living\",\n \"Numeracy\",\n \"Physical development\",\n \"Therapies\",\n \"Occupational therapy\",\n \"Physical therapy\",\n \"Sensory integration\",\n \"Speech and language therapy\",\n \"QA testing only\",\n \"Cooking and nutrition\",\n]);\nexport const subjectSlugs = z.enum([\n \"computing-non-gcse\",\n \"art\",\n \"citizenship\",\n \"computing\",\n \"design-technology\",\n \"drama\",\n \"english\",\n \"english-grammar\",\n \"english-reading-for-pleasure\",\n \"english-spelling\",\n \"expressive-arts-and-design\",\n \"financial-education\",\n \"french\",\n \"geography\",\n \"german\",\n \"history\",\n \"latin\",\n \"literacy\",\n \"maths\",\n \"music\",\n \"personal-social-and-emotional-development\",\n \"physical-education\",\n \"rshe-pshe\",\n \"religious-education\",\n \"science\",\n \"biology\",\n \"chemistry\",\n \"combined-science\",\n \"physics\",\n \"spanish\",\n \"understanding-the-world\",\n \"specialist\",\n \"communication-and-language\",\n \"creative-arts\",\n \"independent-living\",\n \"numeracy\",\n \"physical-development\",\n \"therapies\",\n \"occupational-therapy\",\n \"physical-therapy\",\n \"sensory-integration\",\n \"speech-and-language-therapy\",\n \"testing-not-for-publication\",\n \"cooking-nutrition\",\n]);\n","import z from \"zod\";\n\nexport const baseIngestStates = z.enum([\n \"ingest_started\",\n \"ingest_complete\",\n \"ready_to_ingest\",\n]);\n\nexport const assetIngestStates = z.enum([\"no_asset\"]);\n\nexport const videoIngestStates = z.enum([\n \"adding_captions\",\n \"mux_complete\",\n \"sent_to_mux\",\n \"sent_captions_to_mux\",\n \"mux_transcoded\",\n \"no_audio\",\n \"rev_complete\",\n \"sent_to_rev\",\n \"rev_skipped\",\n]);\n","import { z } from \"zod\";\nimport {\n keystages,\n keystageSlugs,\n keystageDescriptions,\n examboards,\n examboardSlugs,\n examboardDescriptions,\n tierSlugs,\n tierDescriptions,\n tiers,\n yearSlugs,\n yearDescriptions,\n years,\n phases,\n phaseSlugs,\n phaseDescriptions,\n subjects,\n subjectSlugs,\n pathways,\n pathwaySlugs,\n pathwayDescriptions,\n} from \"./base.schema\";\n\nexport const programmeFieldsSchema = z.object({\n pathway: pathways.nullable(),\n pathway_id: z.number().nullable(),\n pathway_slug: pathwaySlugs.nullable(),\n pathway_description: pathwayDescriptions.nullable(),\n pathway_display_order: z.number().nullable(),\n\n tier: tiers.nullable(),\n tier_id: z.number().nullable(),\n tier_slug: tierSlugs.nullable(),\n tier_description: tierDescriptions.nullable(),\n tier_display_order: z.number().nullable(),\n\n examboard: examboards.nullable(),\n examboard_id: z.number().nullable(),\n examboard_slug: examboardSlugs.nullable(),\n examboard_description: examboardDescriptions.nullable(),\n examboard_display_order: z.number().nullable(),\n\n year: years,\n year_slug: yearSlugs,\n year_id: z.number(),\n year_description: yearDescriptions,\n year_display_order: z.number(),\n\n keystage: keystages,\n keystage_id: z.number(),\n keystage_slug: keystageSlugs,\n keystage_description: keystageDescriptions,\n keystage_display_order: z.number(),\n\n phase: phases,\n phase_id: z.number(),\n phase_slug: phaseSlugs,\n phase_description: phaseDescriptions,\n phase_display_order: z.number(),\n\n subject: subjects,\n subject_id: z.number(),\n subject_slug: subjectSlugs,\n subject_description: z.string(),\n subject_display_order: z.number(),\n subject_parent: subjects.nullish(),\n\n optionality: z.string().optional(),\n legacy: z.string().optional(),\n dataset: z.string().optional(),\n});\n\nexport type ProgrammeFields = z.infer<typeof programmeFieldsSchema>;\n","import { z } from \"zod\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\nimport { subjectSlugs } from \"./base.schema\";\n\nexport const queriesSchema = z.enum([\n \"pupilSubjectListingQuery\",\n \"pupilProgrammeListingQuery\",\n \"pupilUnitListingQuery\",\n \"pupilLessonListingQuery\",\n \"pupilLessonQuery\",\n \"unitListingQuery\",\n \"lessonListingQuery\",\n \"programmeListingQuery\",\n \"subjectListingQuery\",\n \"lessonOverviewQuery\",\n \"lessonDownloadsQuery\",\n \"lessonBetaDownloadsQuery\",\n \"lessonShareQuery\",\n \"lessonMediaClipsQuery\",\n \"teacherPreviewLessonQuery\",\n \"teachersPreviewLessonDownloadQuery\",\n \"teachersPreviewUnitListingQuery\",\n]);\n\nexport const journeysSchema = z.enum([\"pupil\", \"teacher\", \"curriculum\"]);\n\nexport const journeysAndQueriesSchema = z.union([\n queriesSchema,\n journeysSchema,\n]);\n\nexport const actionsSchema = z\n .object({\n exclusions: z.array(journeysAndQueriesSchema),\n opt_out: z.array(journeysAndQueriesSchema),\n programme_field_overrides: programmeFieldsSchema.partial(),\n display_expiring_banner: z.boolean(),\n disable_pupil_share: z.boolean(),\n display_PE_title: z.boolean(),\n display_vocab_button: z.boolean(),\n override_pathway: z.string(), // we have to override pathway in this way because we don't have the functionality to override different selection of programme fields across different queries\n is_pe_practical: z.boolean(),\n related_subject_slugs: z.array(subjectSlugs),\n group_units_as: z.string(),\n })\n .partial();\n\nexport type Actions = z.infer<typeof actionsSchema>;\n","import { z } from \"zod\";\n\nexport const featuresSchema = z\n .object({\n pe_practical: z.boolean(),\n age_restriction: z.string().nullable(),\n agf__geo_restricted: z.boolean().nullish(),\n agf__login_required: z.boolean().nullish(),\n })\n .partial();\n\nexport type Features = z.infer<typeof featuresSchema>;\n","import { z } from \"zod\";\n\nexport const imageObjectSchema = z\n .object({\n format: z.enum([\"png\", \"jpg\", \"jpeg\", \"webp\", \"gif\", \"svg\"]),\n secure_url: z.string().url(),\n url: z.string().url(),\n height: z.number(),\n width: z.number(),\n metadata: z.union([\n z\n .object({\n attribution: z.string(),\n usageRestriction: z.string(),\n })\n .partial(),\n z.array(z.never()).length(0), // cloudinary provides an empty array if there is no metadata ?!\n ]),\n public_id: z.string(),\n version: z.number(),\n })\n .partial();\n\nexport type ImageObject = z.infer<typeof imageObjectSchema>;\n\nexport const imageItemSchema = z.object({\n image_object: imageObjectSchema,\n type: z.literal(\"image\"),\n});\n\nexport type ImageItem = z.infer<typeof imageItemSchema>;\n\nexport const textItemSchema = z.object({\n text: z.string(),\n type: z.literal(\"text\"),\n});\n\nexport type TextItem = z.infer<typeof textItemSchema>;\n","import { z } from \"zod\";\nimport { imageItemSchema, textItemSchema } from \"./imageTextItems.schema\";\n\nexport const multipleChoiceSchema = z.object({\n answer: z.array(z.union([textItemSchema, imageItemSchema]).optional()),\n answer_is_active: z.boolean().optional(),\n answer_is_correct: z.boolean().optional(),\n});\n\nexport type MultipleChoice = z.infer<typeof multipleChoiceSchema>;\n\nexport const shortAnswerSchema = z.object({\n answer: z.array(textItemSchema.optional()),\n answer_is_active: z.boolean().optional(),\n answer_is_default: z.boolean().optional(),\n});\n\nexport type ShortAnswer = z.infer<typeof shortAnswerSchema>;\n\nexport const orderSchema = z.object({\n answer: z.array(textItemSchema),\n correct_order: z.number().optional(),\n answer_is_active: z.boolean().optional(),\n});\n\nexport type Order = z.infer<typeof orderSchema>;\n\nexport const matchSchema = z.object({\n answer_is_active: z.boolean().optional(),\n correct_choice: z.array(textItemSchema),\n match_option: z.array(textItemSchema).optional(),\n});\n\nexport type Match = z.infer<typeof matchSchema>;\n","import { z } from \"zod\";\n\nimport { imageItemSchema, textItemSchema } from \"./imageTextItems.schema\";\nimport {\n matchSchema,\n multipleChoiceSchema,\n orderSchema,\n shortAnswerSchema,\n} from \"./quizAnswers.schema\";\n\nexport const quizQuestionSchema = z.object({\n question_id: z.number(),\n question_uid: z.string(),\n question_type: z.string(),\n question_stem: z\n .array(z.union([textItemSchema, imageItemSchema]))\n .optional()\n .nullable(),\n answers: z\n .object({\n \"multiple-choice\": z.array(multipleChoiceSchema).optional(),\n \"short-answer\": z.array(shortAnswerSchema).optional(),\n order: z.array(orderSchema).optional(),\n match: z.array(matchSchema).optional(),\n })\n .optional()\n .nullable(),\n feedback: z.string().optional().nullable(),\n hint: z.string().optional().nullable(),\n active: z.boolean().optional(),\n order: z.number(),\n});\n\nexport type QuizQuestion = z.infer<typeof quizQuestionSchema>;\n","import { z } from \"zod\";\n\nexport const mediaClipObjectSchema = z.object({\n url: z.string(),\n type: z.string(),\n bytes: z.number(),\n format: z.string(),\n display_name: z.string(),\n resource_type: z.string(),\n metadata: z\n .object({\n attribution: z.string().nullish(),\n })\n .nullish(),\n});\n\nexport const videoClipObjectSchema = z\n .object({\n duration: z.number().nullable().optional(),\n mux_asset_id: z.string(),\n playback_ids: z.array(\n z.object({\n id: z.string(),\n policy: z.string(),\n }),\n ),\n mux_playback_id: z.string(),\n })\n .nullable();\n\nexport const mediaClipCycleSchema = z.object({\n // text data had a mix of numbers and strings\n order: z.number().or(z.string()),\n media_id: z.number().or(z.string()),\n video_id: z.number().nullish(),\n media_type: z.string().nullish(),\n custom_title: z.string().nullish(),\n media_object: mediaClipObjectSchema,\n video_object: videoClipObjectSchema,\n transcriptSentences: z.array(z.string()).nullish(),\n});\n\nexport const mediaClipsRecordSchema = z.record(\n z.string(),\n z.array(mediaClipCycleSchema),\n);\n\nexport const lessonMediaClipsSchema = z.object({\n media_clips: mediaClipsRecordSchema,\n});\n\nexport type MediaClipObject = z.infer<typeof mediaClipObjectSchema>;\nexport type VideoClipObject = z.infer<typeof videoClipObjectSchema>;\nexport type MediaClipCycle = z.infer<typeof mediaClipCycleSchema>;\nexport type MediaClipsRecord = z.infer<typeof mediaClipsRecordSchema>;\nexport type LessonMediaClips = z.infer<typeof lessonMediaClipsSchema>;\n","import { z } from \"zod\";\n\nexport const additionalFileObjectSchema = z.object({\n asset_id: z.number(),\n media_id: z.number(),\n media_object: z.object({\n url: z.string(),\n bytes: z.number(),\n display_name: z.string(),\n }),\n});\n\nexport const additionalFilesSchema = z.object({\n downloadable_files: z.array(additionalFileObjectSchema).nullish(),\n});\n\nexport type AdditionalFileObject = z.infer<typeof additionalFileObjectSchema>;\nexport type AdditionalFiles = z.infer<typeof additionalFilesSchema>;\n","import { z } from \"zod\";\n\nimport { quizQuestionSchema } from \"./quizQuestion.schema\";\nimport { _stateSchema } from \"./base.schema\";\nimport { mediaClipsRecordSchema } from \"./mediaClips.schema\";\nimport { additionalFileObjectSchema } from \"./additionalFiles.schema\";\n\nexport const lessonEquipmentAndResourcesSchema = z.object({\n equipment: z.string(),\n});\n\nexport type LessonEquipmentAndResources = z.infer<\n typeof lessonEquipmentAndResourcesSchema\n>;\n\nexport const keyLearningPointsSchema = z.object({\n key_learning_point: z.string(),\n});\n\nexport type KeyLearningPoints = z.infer<typeof keyLearningPointsSchema>;\n\nexport const keywordsSchema = z.object({\n keyword: z.string(),\n description: z.string(),\n});\n\nexport type Keywords = z.infer<typeof keywordsSchema>;\n\nexport const misconceptionsAndCommonMistakesSchema = z.object({\n misconception: z.string(),\n response: z.string(),\n});\n\nexport type MisconceptionsAndCommonMistakes = z.infer<\n typeof misconceptionsAndCommonMistakesSchema\n>;\n\nexport const teacherTipsSchema = z.object({\n teacher_tip: z.string(),\n});\n\nexport type TeacherTips = z.infer<typeof teacherTipsSchema>;\n\nexport const contentGuidanceSchema = z.object({\n contentguidance_label: z.string().nullable(),\n contentguidance_description: z.string().nullable(),\n contentguidance_area: z.string().nullable(),\n});\n\nexport const lessonOutlineSchema = z.object({\n lesson_outline: z.string(),\n});\n\nexport type ContentGuidance = z.infer<typeof contentGuidanceSchema>;\n\nexport const lessonContentSchema = z.object({\n lesson_id: z.number(),\n lesson_slug: z.string(),\n lesson_title: z.string().nullable(),\n content_guidance: z.array(contentGuidanceSchema).nullable(),\n misconceptions_and_common_mistakes: z\n .array(misconceptionsAndCommonMistakesSchema)\n .nullable(),\n teacher_tips: z.array(teacherTipsSchema).nullable(),\n equipment_and_resources: z\n .array(lessonEquipmentAndResourcesSchema)\n .nullable(),\n pupil_lesson_outcome: z.string().nullable(),\n phonics_outcome: z.string().nullable(),\n lesson_keywords: z.array(keywordsSchema).nullable(),\n supervision_level: z.string().nullable(),\n key_learning_points: z.array(keyLearningPointsSchema).nullable().optional(),\n video_mux_playback_id: z.string().nullable(),\n video_with_sign_language_mux_playback_id: z.string().nullable(),\n video_id: z.number().nullable(),\n video_duration: z.string().nullable(),\n video_title: z.string().nullable(),\n transcript_sentences: z.string().nullable(),\n starter_quiz: z.array(quizQuestionSchema).optional().nullable(),\n exit_quiz: z.array(quizQuestionSchema).optional().nullable(),\n starter_quiz_id: z.number().nullable(),\n exit_quiz_id: z.number().nullable(),\n _state: _stateSchema,\n is_legacy: z.boolean().nullable(),\n deprecated_fields: z.record(z.unknown()).nullable(),\n has_worksheet_google_drive_downloadable_version: z.boolean().nullable(),\n slide_deck_asset_id: z.number().nullable(),\n has_slide_deck_asset_object: z.boolean().nullable(),\n worksheet_asset_id: z.number().nullable(),\n has_worksheet_asset_object: z.boolean().nullable(),\n worksheet_answers_asset_id: z.number().nullable(),\n has_worksheet_answers_asset_object: z.boolean().nullable(),\n supplementary_asset_id: z.number().nullable(),\n has_supplementary_asset_object: z.boolean().nullable(),\n supplementary_asset_object_url: z.string().nullable(),\n worksheet_asset_object_url: z.string().nullable(),\n slide_deck_asset_object_url: z.string().nullable(),\n lesson_guide_asset_id: z.number().nullable().optional(),\n has_lesson_guide_object: z.boolean().nullable().optional(),\n lesson_guide_asset_object_url: z.string().nullable().optional(),\n has_lesson_guide_google_drive_downloadable_version: z\n .boolean()\n .nullable()\n .optional(),\n geo_restricted: z.boolean().nullable(),\n login_required: z.boolean().nullable(),\n media_clips: mediaClipsRecordSchema.nullish(),\n lesson_outline: z.array(lessonOutlineSchema).nullable().optional(),\n downloadable_files: z.array(additionalFileObjectSchema).nullable().optional(),\n lesson_release_date: z.string().nullable(),\n});\n\nexport type LessonContent = z.infer<typeof lessonContentSchema>;\n","import { z } from \"zod\";\n\nimport { _stateSchema, _cohortSchema } from \"./base.schema\";\nimport {\n contentGuidanceSchema,\n keyLearningPointsSchema,\n keywordsSchema,\n lessonEquipmentAndResourcesSchema,\n lessonOutlineSchema,\n} from \"./lessonContent.schema\";\nimport { mediaClipsRecordSchema } from \"./mediaClips.schema\";\n\nexport const lessonDataSchema = z.object({\n lesson_id: z.number(),\n lesson_uid: z.string(),\n slug: z.string(),\n title: z.string(),\n description: z.string(),\n pupil_lesson_outcome: z.string(),\n phonics_outcome: z.string().nullable(),\n key_learning_points: z.array(keyLearningPointsSchema).nullable(),\n equipment_and_resources: z\n .array(lessonEquipmentAndResourcesSchema)\n .nullable(),\n content_guidance_details: z\n .array(z.object({ details: z.string() }))\n .nullable(),\n content_guidance: z.array(z.number()).nullable(),\n copyright_content: z.array(z.object({})).nullable(),\n supervision_level: z.string().nullable(),\n thirdpartycontent_list: z.array(z.number()).nullable(),\n misconceptions_and_common_mistakes: z.array(z.object({})).nullable(),\n keywords: z.array(keywordsSchema).nullable(),\n video_id: z.number().nullable(),\n sign_language_video_id: z.number().nullable(),\n quiz_id_starter: z.number().nullable(),\n quiz_id_exit: z.number().nullable(),\n asset_id_slidedeck: z.number().nullable(),\n asset_id_worksheet: z.number().nullable(),\n expiration_date: z.string().nullable(),\n lesson_outline: z.array(lessonOutlineSchema).nullable().optional(),\n media_clips: mediaClipsRecordSchema.nullable().optional(),\n deprecated_fields: z.record(z.unknown()).nullable(),\n _state: _stateSchema,\n _cohort: _cohortSchema,\n updated_at: z.string(),\n lesson_release_date: z.string().nullable(),\n});\n\nexport type LessonData = z.infer<typeof lessonDataSchema>;\n","import { z } from \"zod\";\n\nimport { _stateSchema, _cohortSchema } from \"./base.schema\";\n\nexport const unitDataSchema = z.object({\n unit_id: z.number(),\n unit_uid: z.string(),\n description: z.string().nullable(),\n slug: z.string(),\n tags: z.array(z.number()).nullable(),\n deprecated_fields: z.record(z.unknown()).nullable().optional(),\n title: z.string(),\n subjectcategories: z.array(z.union([z.number(), z.string()])).nullable(),\n prior_knowledge_requirements: z.array(z.string()).nullish(),\n _state: _stateSchema,\n _cohort: _cohortSchema,\n expiration_date: z.string().nullable(),\n});\n\nexport type UnitData = z.infer<typeof unitDataSchema>;\n","import { z } from \"zod\";\n\nimport { _stateSchema, _cohortSchema } from \"./base.schema\";\nimport { unitDataSchema } from \"./unitData.schema\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\n\nexport const unitvariantSchema = z.object({\n _state: _stateSchema,\n _cohort: _cohortSchema,\n unit_id: z.number(),\n unitvariant_id: z.number(),\n _deleted: z.boolean(),\n unit_overrides: unitDataSchema.partial(),\n programme_fields: programmeFieldsSchema.partial(),\n});\n\nexport type Unitvariant = z.infer<typeof unitvariantSchema>;\n","import { z } from \"zod\";\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","import { z } from \"zod\";\nimport { lessonDataSchema } from \"./lessonData.schema\";\nimport { unitDataSchema } from \"./unitData.schema\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\nimport { actionsSchema } from \"./actions.schema\";\nimport { featuresSchema } from \"./features.schema\";\nimport { staticLessonListSchema } from \"./staticLessonList.schema\";\n\nexport const syntheticUnitvariantLessonsSchema = z.object({\n lesson_slug: z.string(),\n unit_slug: z.string(),\n programme_slug: z.string(),\n is_legacy: z.boolean(),\n lesson_data: lessonDataSchema,\n unit_data: unitDataSchema,\n null_unitvariant_id: z.number(),\n unitvariant_id: z.number().nullish(),\n programme_fields: programmeFieldsSchema,\n supplementary_data: z.object({\n unit_order: z.number(),\n order_in_unit: z.number(),\n }),\n actions: actionsSchema.nullable().optional(),\n features: featuresSchema.nullable().optional(),\n static_lesson_list: staticLessonListSchema.nullish(),\n});\n\nexport type SyntheticUnitvariantLessons = z.infer<\n typeof syntheticUnitvariantLessonsSchema\n>;\n","import { z } from \"zod\";\nimport { unitDataSchema } from \"./unitData.schema\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\nimport { actionsSchema } from \"./actions.schema\";\nimport { staticLessonListSchema } from \"./staticLessonList.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsBaseSchema = z.object({\n base_slug: z.string(),\n unit_slug: z.string(),\n programme_slug: z.string(),\n is_legacy: z.boolean(),\n lesson_count: z.number(),\n lesson_sensitive_count: z.number(),\n lesson_expired_count: z.number(),\n unit_data: unitDataSchema,\n null_unitvariant_id: z.number(),\n programme_fields: programmeFieldsSchema,\n supplementary_data: z.object({\n unit_order: z.number(),\n static_lesson_list: staticLessonListSchema.nullish(),\n }),\n expired: z.boolean(),\n actions: actionsSchema.nullable().optional(), // the optional should be removed once old mvs are retired\n features: z.object({}).optional().nullable(), // the optional should be removed once old mvs are retired\n});\n\nexport type SyntheticUnitvariantsWithLessonIdsBase = z.infer<\n typeof syntheticUnitvariantsWithLessonIdsBaseSchema\n>;\n","import { z } from \"zod\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\nimport { yearSlugs } from \"./base.schema\";\nimport { actionsSchema } from \"./actions.schema\";\n\nexport const syntheticProgrammesByYearSchema = z.object({\n year_slug: yearSlugs,\n programme_slug: z.string(),\n base_slug: z.string(),\n is_legacy: z.boolean(),\n programme_fields: programmeFieldsSchema,\n actions: actionsSchema.nullable().optional(), // the optional should be removed once old mvs are retired\n features: z\n .object({ nonCurriculum: z.boolean().optional() })\n .optional()\n .nullable(), // the optional should be removed once old mvs are retired\n});\n\nexport type SyntheticProgrammesByYear = z.infer<\n typeof syntheticProgrammesByYearSchema\n>;\n","import { z } from \"zod\";\n\nexport const threadsByUnitSchema = z.object({\n unit_id: z.number(),\n threads: z\n .array(z.object({ theme_slug: z.string(), theme_title: z.string() }))\n .nullable(),\n});\n\nexport type ThreadsByUnit = z.infer<typeof threadsByUnitSchema>;\n","import { z } from \"zod\";\nimport { syntheticUnitvariantLessonsSchema } from \"./syntheticUnitvariantLessons.schema\";\nimport { unitvariantSchema } from \"./unitvariant.schema\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\n\nexport const syntheticUnitvariantLessonsByKsSchemaOld = z.object({\n ...syntheticUnitvariantLessonsSchema.omit({ null_unitvariant_id: true })\n .shape,\n unitvariant_id: z.number().nullable(),\n null_unitvariant: unitvariantSchema,\n programme_fields: programmeFieldsSchema.omit({\n pathway: true,\n pathway_description: true,\n pathway_display_order: true,\n pathway_id: true,\n pathway_slug: true,\n }),\n});\n\nexport type SyntheticUnitvariantLessonsByKsOld = z.infer<\n typeof syntheticUnitvariantLessonsByKsSchemaOld\n>;\n","import { syntheticUnitvariantLessonsByKsSchemaOld } from \"./syntheticUnitvariantLessonsByKs.schema.old\";\nimport { z } from \"zod\";\n\nexport const programmeListingResponseSchema =\n syntheticUnitvariantLessonsByKsSchemaOld.pick({\n lesson_data: true,\n programme_fields: true,\n is_legacy: true,\n programme_slug: true,\n });\n\nexport const programmeListingResponseSchemaArray = z.array(\n programmeListingResponseSchema,\n);\n","import { z } from \"zod\";\nimport { syntheticUnitvariantLessonsSchema } from \"./syntheticUnitvariantLessons.schema\";\n\nexport const syntheticUnitvariantLessonsByKsSchema = z.object({\n ...syntheticUnitvariantLessonsSchema.omit({ supplementary_data: true }).shape,\n programme_slug_by_year: z.string().array(),\n order_in_unit: z.number(),\n});\n\nexport type SyntheticUnitvariantLessonsByKs = z.infer<\n typeof syntheticUnitvariantLessonsByKsSchema\n>;\n","import { z } from \"zod\";\n\nexport const threadSchema = z.object({\n thread_id: z.number(),\n thread_title: z.string(),\n thread_slug: z.string(),\n});\n\nexport type Thread = z.infer<typeof threadSchema>;\n","import { z } from \"zod\";\nimport { syntheticUnitvariantsWithLessonIdsBaseSchema } from \"./syntheticUnitvariantsWithLessonIdsBase.schema\";\nimport { threadSchema } from \"./thread.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsByKsSchema = z.object({\n ...syntheticUnitvariantsWithLessonIdsBaseSchema.shape,\n programme_slug_by_year: z.string(),\n lesson_ids: z.array(z.number()).nullable(),\n threads: z.array(threadSchema).nullable(),\n});\n\nexport type SyntheticUnitvariantsWithLessonIdsByKs = z.infer<\n typeof syntheticUnitvariantsWithLessonIdsByKsSchema\n>;\n","import { z } from \"zod\";\nimport { syntheticUnitvariantsWithLessonIdsBaseSchema } from \"./syntheticUnitvariantsWithLessonIdsBase.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsByYearsSchema = z.object({\n ...syntheticUnitvariantsWithLessonIdsBaseSchema.shape,\n age_restricted_lesson_count: z.number(),\n complex_copyright_lesson_count: z.number(),\n});\n\nexport type SyntheticUnitvariantsWithLessonIdsByYears = z.infer<\n typeof syntheticUnitvariantsWithLessonIdsByYearsSchema\n>;\n","import { LessonData } from \"@/schema/lessonData.schema\";\n\nexport const lessonDataFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<LessonData>;\n} = {}): LessonData => ({\n lesson_id: 1,\n lesson_uid: \"lesson-uid\",\n title: \"lesson-title\",\n description: \"lesson-description\",\n slug: \"lesson-slug\",\n pupil_lesson_outcome: \"pupil-lesson-outcome\",\n phonics_outcome: null,\n key_learning_points: [{ key_learning_point: \"point 1\" }],\n equipment_and_resources: null,\n content_guidance_details: null,\n content_guidance: null,\n supervision_level: null,\n thirdpartycontent_list: null,\n misconceptions_and_common_mistakes: null,\n keywords: null,\n video_id: null,\n sign_language_video_id: null,\n quiz_id_starter: null,\n quiz_id_exit: null,\n asset_id_slidedeck: null,\n asset_id_worksheet: null,\n copyright_content: null,\n _state: \"published\",\n _cohort: \"2023-2024\",\n deprecated_fields: null,\n updated_at: \"2024-02-28T08:09:20.247619+00:00\",\n expiration_date: null,\n lesson_outline: null,\n media_clips: null,\n lesson_release_date: null,\n ...overrides,\n});\n","import { ProgrammeFields } from \"@/schema/programmeFields.schema\";\n\nexport const programmeFieldsFixture = ({\n overrides,\n}: {\n overrides?: Partial<ProgrammeFields>;\n} = {}): ProgrammeFields => ({\n tier: null,\n tier_id: null,\n tier_slug: null,\n tier_description: null,\n tier_display_order: null,\n pathway: null,\n pathway_id: null,\n pathway_slug: null,\n pathway_description: null,\n pathway_display_order: null,\n examboard: null,\n examboard_id: null,\n examboard_slug: null,\n examboard_description: null,\n examboard_display_order: null,\n year: \"1\",\n year_slug: \"year-1\",\n year_id: 1,\n year_description: \"Year 1\",\n year_display_order: 1,\n keystage: \"KS1\",\n keystage_id: 1,\n keystage_slug: \"ks1\",\n keystage_description: \"Key Stage 1\",\n keystage_display_order: 1,\n phase: \"primary\",\n phase_id: 0,\n phase_slug: \"primary\",\n phase_description: \"Primary\",\n phase_display_order: 1,\n subject: \"Maths\",\n subject_id: 1,\n subject_slug: \"maths\",\n subject_description: \"subject-description\",\n subject_display_order: 1,\n subject_parent: \"Maths\",\n ...overrides,\n});\n","import { UnitData } from \"@/schema/unitData.schema\";\n\nexport const unitDataFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<UnitData>;\n} = {}): UnitData => ({\n unit_id: 0,\n unit_uid: \"unit-uid\",\n description: null,\n slug: \"unit-slug\",\n tags: null,\n title: \"unit-title\",\n _state: \"published\",\n _cohort: \"2023-2024\",\n expiration_date: null,\n prior_knowledge_requirements: [\"requirement 1\", \"requirement 2\"],\n subjectcategories: [1, 2, 3],\n ...overrides,\n});\n","import {\n ImageObject,\n ImageItem,\n TextItem,\n} from \"@/schema/imageTextItems.schema\";\n\nexport const imageObjectFixture = (): ImageObject => ({\n format: \"png\",\n secure_url: \"https://res.cloudinary.com/demo/image/upload/sample.png\",\n url: \"http://res.cloudinary.com/demo/image/upload/sample.png\",\n height: 100,\n width: 100,\n metadata: {\n attribution: \"author\",\n usageRestriction: \"free\",\n },\n public_id: \"sample\",\n version: 1234567890,\n});\n\nexport const imageItemFixture = (): ImageItem => ({\n image_object: imageObjectFixture(),\n type: \"image\",\n});\n\nexport const textItemFixture = ({\n overrides = {},\n}: { overrides?: Partial<TextItem> } = {}): TextItem => ({\n text: \"Hello, World!\",\n type: \"text\",\n ...overrides,\n});\n\nexport const textAndImageItemFixture = (): (TextItem | ImageItem)[] => [\n imageItemFixture(),\n textItemFixture({ overrides: { text: \"This is a text item.\" } }),\n];\n","import {\n Match,\n MultipleChoice,\n Order,\n ShortAnswer,\n} from \"@/schema/quizAnswers.schema\";\nimport { imageItemFixture, textItemFixture } from \"./imageTextItems.fixture\";\n\nexport const multipleChoiceFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<MultipleChoice>;\n} = {}): MultipleChoice => ({\n answer: [textItemFixture(), imageItemFixture()],\n answer_is_active: true,\n answer_is_correct: true,\n ...overrides,\n});\n\nexport const shortAnswerFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<ShortAnswer>;\n} = {}): ShortAnswer => ({\n answer: [textItemFixture()],\n answer_is_active: true,\n answer_is_default: true,\n ...overrides,\n});\n\nexport const orderFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<Order>;\n} = {}): Order => ({\n answer: [textItemFixture()],\n correct_order: 1,\n answer_is_active: true,\n ...overrides,\n});\n\nexport const matchFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<Match>;\n} = {}): Match => ({\n answer_is_active: true,\n correct_choice: [textItemFixture({ overrides: { text: \"Paris\" } })],\n match_option: [textItemFixture({ overrides: { text: \"Capital of France\" } })],\n ...overrides,\n});\n","import { QuizQuestion } from \"@/schema/quizQuestion.schema\";\n\nimport {\n matchFixture,\n multipleChoiceFixture,\n orderFixture,\n shortAnswerFixture,\n} from \"./quizAnswers.fixture\";\n\nexport const multipleChoiceQuestion = ({\n overrides = {},\n}: {\n overrides?: Partial<QuizQuestion>;\n} = {}): QuizQuestion => ({\n question_id: 1,\n question_uid: \"question-1\",\n question_type: \"multiple-choice\",\n question_stem: [\n {\n text: \"What is the capital of France?\",\n type: \"text\",\n },\n ],\n answers: {\n \"multiple-choice\": [\n multipleChoiceFixture({ overrides: { answer_is_correct: true } }),\n multipleChoiceFixture({ overrides: { answer_is_correct: false } }),\n multipleChoiceFixture({ overrides: { answer_is_correct: false } }),\n multipleChoiceFixture({ overrides: { answer_is_correct: false } }),\n ],\n },\n feedback: \"Paris is the capital of France.\",\n hint: \"Think about the Eiffel Tower.\",\n active: true,\n order: 1,\n ...overrides,\n});\n\nexport const shortAnswerQuestion = ({\n overrides = {},\n}: {\n overrides?: Partial<QuizQuestion>;\n} = {}): QuizQuestion => ({\n question_id: 2,\n question_uid: \"question-2\",\n question_type: \"short-answer\",\n question_stem: [\n {\n text: \"What is the capital of France?\",\n type: \"text\",\n },\n ],\n answers: {\n \"short-answer\": [shortAnswerFixture()],\n },\n feedback: \"Paris is the capital of France.\",\n hint: \"Think about the Eiffel Tower.\",\n active: true,\n order: 2,\n ...overrides,\n});\n\nexport const orderQuestion = ({\n overrides = {},\n}: {\n overrides?: Partial<QuizQuestion>;\n} = {}): QuizQuestion => ({\n question_id: 3,\n question_uid: \"question-3\",\n question_type: \"order\",\n question_stem: [\n {\n text: \"What is the capital of France?\",\n type: \"text\",\n },\n ],\n answers: {\n order: [\n orderFixture({ overrides: { correct_order: 1 } }),\n orderFixture({ overrides: { correct_order: 2 } }),\n orderFixture({ overrides: { correct_order: 3 } }),\n orderFixture({ overrides: { correct_order: 4 } }),\n ],\n },\n feedback: \"Paris is the capital of France.\",\n hint: \"Think about the Eiffel Tower.\",\n active: true,\n order: 3,\n ...overrides,\n});\n\nexport const matchQuestion = ({\n overrides = {},\n}: {\n overrides?: Partial<QuizQuestion>;\n} = {}): QuizQuestion => ({\n question_id: 4,\n question_uid: \"question-4\",\n question_type: \"match\",\n question_stem: [\n {\n text: \"What is the capital of France?\",\n type: \"text\",\n },\n ],\n answers: {\n match: [matchFixture(), matchFixture(), matchFixture(), matchFixture()],\n },\n feedback: \"Paris is the capital of France.\",\n hint: \"Think about the Eiffel Tower.\",\n active: true,\n order: 4,\n ...overrides,\n});\n","import { AdditionalFiles } from \"@/schema/additionalFiles.schema\";\n\nexport const additionalFilesFixture = ({\n overrides,\n}: {\n overrides?: Partial<AdditionalFiles>;\n} = {}): AdditionalFiles => ({\n downloadable_files: [\n {\n asset_id: 456,\n media_id: 3456,\n media_object: {\n url: \"https://example.com/file1.pdf\",\n bytes: 1000,\n display_name: \"File 1\",\n },\n },\n {\n asset_id: 932,\n media_id: 2435,\n media_object: {\n url: \"https://example.com/file2.pdf\",\n bytes: 2000,\n display_name: \"File 2\",\n },\n },\n ],\n ...overrides,\n});\nexport default additionalFilesFixture;\n","import {\n LessonMediaClips,\n MediaClipObject,\n VideoClipObject,\n MediaClipCycle,\n} from \"@/schema/mediaClips.schema\";\n\nexport const mediaObjectFixture = ({\n overrides,\n}: {\n overrides?: Partial<MediaClipObject>;\n} = {}): MediaClipObject => ({\n url: \"http://example.com/video1.mp3\",\n type: \"upload\",\n bytes: 81127,\n format: \"mp3\",\n display_name: \"9_task_C1_3\",\n resource_type: \"video\",\n ...overrides,\n});\n\nexport const videoObjectFixture = ({\n overrides,\n}: {\n overrides?: Partial<VideoClipObject>;\n} = {}): VideoClipObject => ({\n duration: 5.055667,\n mux_asset_id: \"hug9i01Tnpf1y83irOm00HRbvAJpttJPU78KNYzPav3mg\",\n playback_ids: [\n {\n id: \"mVkKUtOfoD1100012GNC1pCO6RvUgyGwqGoq01pYsy7WeA\",\n policy: \"signed\",\n },\n {\n id: \"BW00NkK9R01jB8PPO7R00YCFl2XBDn13GTkhd0001PNtheF00\",\n policy: \"public\",\n },\n ],\n mux_playback_id: \"BW00NkK9R01jB8PPO7R00YCFl2XBDn13GTkhd0001PNtheF00\",\n ...overrides,\n});\n\nexport const mediaClipCycleFixture = ({\n overrides,\n}: {\n overrides?: Partial<MediaClipCycle>;\n} = {}): MediaClipCycle => ({\n order: \"1\",\n media_id: \"191188\",\n video_id: 29844,\n media_type: \"video\",\n custom_title: \"Intro Video 1\",\n media_object: mediaObjectFixture(),\n video_object: videoObjectFixture(),\n ...overrides,\n});\n\nexport const mediaClipsFixture = ({\n overrides,\n}: {\n overrides?: Partial<LessonMediaClips>;\n} = {}): LessonMediaClips => ({\n media_clips: {\n intro: [\n {\n order: \"1\",\n media_id: \"191188\",\n video_id: 29844,\n media_type: \"video\",\n custom_title: \"Intro Video 1\",\n media_object: mediaObjectFixture(),\n video_object: videoObjectFixture(),\n },\n {\n order: \"2\",\n media_id: \"191189\",\n video_id: 29845,\n media_type: \"video\",\n custom_title: \"Intro Video 2\",\n media_object: {\n url: \"http://example.com/video2.mp3\",\n type: \"upload\",\n bytes: 122087,\n format: \"mp3\",\n display_name: \"8_task_C1_2\",\n resource_type: \"video\",\n },\n video_object: {\n duration: 7.603667,\n mux_asset_id: \"gyUmSG2VVqcuw00NzT9f02kZvlLmXsrnuT5P7KhrYhWJg\",\n playback_ids: [\n {\n id: \"9a02PY7PivjOBUHyH4N2mAwJH00aJoZeybWyy9hiwXVQY\",\n policy: \"public\",\n },\n {\n id: \"02mDhMdHMs4MOCAMutPLWzylp00NQgDYfiydlLQPDWI3M\",\n policy: \"signed\",\n },\n ],\n mux_playback_id: \"9a02PY7PivjOBUHyH4N2mAwJH00aJoZeybWyy9hiwXVQY\",\n },\n },\n ],\n cycle2: [\n {\n order: \"1\",\n media_id: \"191117\",\n video_id: 29877,\n media_type: \"video\",\n custom_title: \"\",\n media_object: {\n url: \"http://oaknationalacademy-res.cloudinary.com/video/upload/v1736420414/u5bptym7h8ts8nyyrpwg.mp4\",\n type: \"upload\",\n bytes: 276767,\n format: \"mp4\",\n display_name: \"australia fact\",\n resource_type: \"video\",\n },\n video_object: {\n duration: 5.613111,\n mux_asset_id: \"4yb74fNKob6M6AT02AFTmsTrJEgXUl00WQWhpt01KttWcI\",\n playback_ids: [\n {\n id: \"RUIUNGcGf01kgZU1xC5peDCvGpC2d2YeRcwSMfJ4cvMk\",\n policy: \"public\",\n },\n {\n id: \"NVs5TJ5Lt6POkNwDBNtHZth2a2VtBvsyorgJPQfO6W4\",\n policy: \"signed\",\n },\n ],\n mux_playback_id: \"RUIUNGcGf01kgZU1xC5peDCvGpC2d2YeRcwSMfJ4cvMk\",\n },\n },\n ],\n },\n ...overrides,\n});\n\nexport const additionalCyclesFixture = {\n media_clips: {\n cycle3: [mediaClipCycleFixture()],\n cycle4: [\n mediaClipCycleFixture(),\n mediaClipCycleFixture({\n overrides: {\n order: \"2\",\n media_id: \"1911749\",\n video_id: 298345,\n },\n }),\n ],\n },\n};\n\nexport default mediaClipsFixture;\n","import {\n Keywords,\n LessonContent,\n TeacherTips,\n LessonEquipmentAndResources,\n} from \"@/schema/lessonContent.schema\";\nimport {\n matchQuestion,\n multipleChoiceQuestion,\n orderQuestion,\n shortAnswerQuestion,\n} from \"./quizQuestion.fixture\";\nimport additionalFilesFixture from \"@/fixtures/additionalFiles.fixture\";\nimport mediaClipsFixture from \"./mediaClips.fixture\";\n\nexport const lessonEquipmentAndResourcesFixture =\n (): LessonEquipmentAndResources => ({\n equipment: \"equipment\",\n });\n\nexport const teacherTipsFixture = (): TeacherTips => ({\n teacher_tip: \"teacher-tip\",\n});\n\nexport const keywordsFixture = (): Keywords => ({\n keyword: \"keyword\",\n description: \"description\",\n});\n\nexport const misconceptionsAndCommonMistakesFixture = () => ({\n misconception: \"misconception\",\n response: \"response\",\n});\n\nexport const contentGuidanceFixture = () => ({\n contentguidance_label: \"contentguidance-label\",\n contentguidance_description: \"contentguidance-description\",\n contentguidance_area: \"contentguidance-area\",\n});\n\nexport const lessonContentFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<LessonContent>;\n} = {}): LessonContent => ({\n lesson_id: 1,\n lesson_title: \"lesson-title\",\n lesson_slug: \"lesson-slug\",\n deprecated_fields: {},\n is_legacy: false,\n misconceptions_and_common_mistakes: [\n misconceptionsAndCommonMistakesFixture(),\n ],\n equipment_and_resources: [lessonEquipmentAndResourcesFixture()],\n teacher_tips: [teacherTipsFixture()],\n key_learning_points: null,\n pupil_lesson_outcome: \"pupil-lesson-outcome\",\n phonics_outcome: null,\n lesson_keywords: [keywordsFixture()],\n content_guidance: [contentGuidanceFixture()],\n video_mux_playback_id: \"video-mux-playback-id\",\n video_id: null,\n video_duration: \"5 minutes\",\n video_with_sign_language_mux_playback_id:\n \"video-with-sign-language-mux-playback-id\",\n video_title: \"video-title\",\n transcript_sentences: \"this is the transcript\",\n starter_quiz: [\n multipleChoiceQuestion({\n overrides: { order: 1, question_uid: \"starter-quiz-1\" },\n }),\n orderQuestion({ overrides: { order: 2, question_uid: \"starter-quiz-2\" } }),\n matchQuestion({ overrides: { order: 3, question_uid: \"starter-quiz-3\" } }),\n shortAnswerQuestion({\n overrides: { order: 4, question_uid: \"starter-quiz-4\" },\n }),\n ],\n starter_quiz_id: 1,\n exit_quiz: null,\n exit_quiz_id: null,\n supervision_level: null,\n _state: \"published\",\n slide_deck_asset_id: 301,\n has_slide_deck_asset_object: true,\n worksheet_asset_id: 302,\n has_worksheet_answers_asset_object: true,\n worksheet_answers_asset_id: 303,\n has_worksheet_google_drive_downloadable_version: true,\n has_supplementary_asset_object: true,\n supplementary_asset_id: 304,\n supplementary_asset_object_url: \"supplementary-asset-object-url\",\n slide_deck_asset_object_url: \"slide-deck-asset-object-url\",\n worksheet_asset_object_url: \"worksheet-asset-object-url\",\n has_worksheet_asset_object: true,\n geo_restricted: false,\n login_required: false,\n lesson_guide_asset_id: 1,\n has_lesson_guide_object: true,\n lesson_guide_asset_object_url: \"lesson-guide-asset-object-url\",\n has_lesson_guide_google_drive_downloadable_version: false,\n media_clips: mediaClipsFixture().media_clips,\n lesson_outline: [\n { lesson_outline: \"lesson-outline-1\" },\n { lesson_outline: \"lesson-outline-2\" },\n ],\n downloadable_files: additionalFilesFixture().downloadable_files,\n lesson_release_date: \"2024-05-10T08:34:55.166149+00:00\",\n ...overrides,\n});\n","import { SyntheticProgrammesByYear } from \"@/schema/syntheticProgrammesByYear.schema\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\n\nexport const syntheticProgrammesByYearFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticProgrammesByYear>;\n} = {}): SyntheticProgrammesByYear => ({\n year_slug: \"year-1\",\n base_slug: \"maths-primary-year-1\",\n programme_slug: \"maths-primary-year-1\",\n is_legacy: false,\n programme_fields: programmeFieldsFixture(),\n});\n","import { SyntheticUnitvariantLessonsByKs } from \"@/schema/syntheticUnitvariantLessonsByKs.schema\";\nimport { lessonDataFixture } from \"./lessonData.fixture\";\nimport { unitDataFixture } from \"./unitData.fixture\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\n\nexport const syntheticUnitvariantLessonsByKsFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticUnitvariantLessonsByKs>;\n} = {}): SyntheticUnitvariantLessonsByKs => ({\n lesson_slug: \"lesson-slug\",\n unit_slug: \"unit-slug\",\n programme_slug: \"programme-slug\",\n programme_slug_by_year: [\"programme-slug-year\"],\n is_legacy: false,\n lesson_data: lessonDataFixture(),\n unit_data: unitDataFixture(),\n null_unitvariant_id: 1,\n unitvariant_id: 1,\n programme_fields: programmeFieldsFixture(),\n order_in_unit: 1,\n static_lesson_list: [\n { slug: \"lesson-slug\", title: \"lesson-title\", order: 1 },\n ],\n ...overrides,\n});\n","import { SyntheticUnitvariantLessons } from \"@/schema/syntheticUnitvariantLessons.schema\";\n\nimport { lessonDataFixture } from \"./lessonData.fixture\";\nimport { unitDataFixture } from \"./unitData.fixture\";\nimport { unitvariantFixture } from \"./unitvariant.fixture\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\n\n// To be deprecated\nexport const syntheticUnitvariantLessonsFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticUnitvariantLessons>;\n} = {}): SyntheticUnitvariantLessons => ({\n lesson_slug: \"lesson-slug\",\n unit_slug: \"unit-slug\",\n programme_slug: \"programme-slug\",\n is_legacy: false,\n lesson_data: lessonDataFixture(),\n unit_data: unitDataFixture(),\n null_unitvariant_id: 0,\n programme_fields: programmeFieldsFixture(),\n supplementary_data: {\n unit_order: 1,\n order_in_unit: 1,\n },\n ...overrides,\n});\n","import { unitDataFixture } from \"./unitData.fixture\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\nimport { SyntheticUnitvariantsWithLessonIdsByKs } from \"@/schema/syntheticUnitvariantsWithLessonIdsByKs.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsByKsFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticUnitvariantsWithLessonIdsByKs>;\n} = {}): SyntheticUnitvariantsWithLessonIdsByKs => ({\n base_slug: \"base-slug\",\n unit_slug: \"unit-slug\",\n programme_slug: \"programme-slug\",\n programme_slug_by_year: \"programme-slug-by-year\",\n is_legacy: false,\n lesson_count: 1,\n lesson_sensitive_count: 0,\n lesson_expired_count: 0,\n lesson_ids: [1],\n unit_data: unitDataFixture(),\n null_unitvariant_id: 0,\n programme_fields: programmeFieldsFixture(),\n supplementary_data: {\n unit_order: 1,\n static_lesson_list: [\n { slug: \"lesson-slug\", title: \"lesson-title\", order: 1 },\n ],\n },\n expired: false,\n threads: null,\n ...overrides,\n});\n","import { unitDataFixture } from \"./unitData.fixture\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\nimport { SyntheticUnitvariantsWithLessonIdsBase } from \"@/schema/syntheticUnitvariantsWithLessonIdsBase.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticUnitvariantsWithLessonIdsBase>;\n} = {}): SyntheticUnitvariantsWithLessonIdsBase => ({\n base_slug: \"base-slug\",\n unit_slug: \"unit-slug\",\n programme_slug: \"programme-slug\",\n is_legacy: false,\n lesson_count: 1,\n lesson_sensitive_count: 0,\n lesson_expired_count: 0,\n unit_data: unitDataFixture(),\n null_unitvariant_id: 0,\n programme_fields: programmeFieldsFixture(),\n supplementary_data: {\n unit_order: 1,\n },\n expired: false,\n ...overrides,\n});\n","import { Thread } from \"@/schema/thread.schema\";\n\nexport const threadFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<Thread>;\n} = {}): Thread => ({\n thread_id: 1,\n thread_title: \"A thread\",\n thread_slug: \"a-thread\",\n ...overrides,\n});\n","import { Unitvariant } from \"@/schema/unitvariant.schema\";\n\nexport const unitvariantFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<Unitvariant>;\n} = {}): Unitvariant => ({\n unitvariant_id: 1,\n unit_id: 1,\n _deleted: false,\n _state: \"published\",\n _cohort: \"2023-2024\",\n unit_overrides: {},\n programme_fields: {},\n ...overrides,\n});\n"],"names":["_stateSchema","z","enum","_cohortSchema","phaseSlugs","phaseDescriptions","phases","keystages","keystageSlugs","keystageDescriptions","years","yearSlugs","yearDescriptions","tiers","tierSlugs","tierDescriptions","pathways","pathwaySlugs","pathwayDescriptions","examboardSlugs","examboards","examboardDescriptions","subjects","subjectSlugs","baseIngestStates","default","assetIngestStates","videoIngestStates","programmeFieldsSchema","object","pathway","nullable","pathway_id","number","pathway_slug","pathway_description","pathway_display_order","tier","tier_id","tier_slug","tier_description","tier_display_order","examboard","examboard_id","examboard_slug","examboard_description","examboard_display_order","year","year_slug","year_id","year_description","year_display_order","keystage","keystage_id","keystage_slug","keystage_description","keystage_display_order","phase","phase_id","phase_slug","phase_description","phase_display_order","subject","subject_id","subject_slug","subject_description","string","subject_display_order","subject_parent","nullish","optionality","optional","legacy","dataset","queriesSchema","journeysSchema","journeysAndQueriesSchema","union","actionsSchema","exclusions","array","opt_out","programme_field_overrides","partial","display_expiring_banner","boolean","disable_pupil_share","display_PE_title","display_vocab_button","override_pathway","is_pe_practical","related_subject_slugs","group_units_as","featuresSchema","pe_practical","age_restriction","agf__geo_restricted","agf__login_required","imageObjectSchema","format","secure_url","url","height","width","metadata","attribution","usageRestriction","never","length","public_id","version","imageItemSchema","image_object","type","literal","textItemSchema","text","multipleChoiceSchema","answer","answer_is_active","answer_is_correct","shortAnswerSchema","answer_is_default","orderSchema","correct_order","matchSchema","correct_choice","match_option","quizQuestionSchema","question_id","question_uid","question_type","question_stem","answers","order","match","feedback","hint","active","mediaClipObjectSchema","bytes","display_name","resource_type","videoClipObjectSchema","duration","mux_asset_id","playback_ids","id","policy","mux_playback_id","mediaClipCycleSchema","or","media_id","video_id","media_type","custom_title","media_object","video_object","transcriptSentences","mediaClipsRecordSchema","record","lessonMediaClipsSchema","media_clips","additionalFileObjectSchema","asset_id","additionalFilesSchema","downloadable_files","lessonEquipmentAndResourcesSchema","equipment","keyLearningPointsSchema","key_learning_point","keywordsSchema","keyword","description","misconceptionsAndCommonMistakesSchema","misconception","response","teacherTipsSchema","teacher_tip","contentGuidanceSchema","contentguidance_label","contentguidance_description","contentguidance_area","lessonOutlineSchema","lesson_outline","lessonContentSchema","lesson_id","lesson_slug","lesson_title","content_guidance","misconceptions_and_common_mistakes","teacher_tips","equipment_and_resources","pupil_lesson_outcome","phonics_outcome","lesson_keywords","supervision_level","key_learning_points","video_mux_playback_id","video_with_sign_language_mux_playback_id","video_duration","video_title","transcript_sentences","starter_quiz","exit_quiz","starter_quiz_id","exit_quiz_id","_state","is_legacy","deprecated_fields","unknown","has_worksheet_google_drive_downloadable_version","slide_deck_asset_id","has_slide_deck_asset_object","worksheet_asset_id","has_worksheet_asset_object","worksheet_answers_asset_id","has_worksheet_answers_asset_object","supplementary_asset_id","has_supplementary_asset_object","supplementary_asset_object_url","worksheet_asset_object_url","slide_deck_asset_object_url","lesson_guide_asset_id","has_lesson_guide_object","lesson_guide_asset_object_url","has_lesson_guide_google_drive_downloadable_version","geo_restricted","login_required","lesson_release_date","lessonDataSchema","lesson_uid","slug","title","content_guidance_details","details","copyright_content","thirdpartycontent_list","keywords","sign_language_video_id","quiz_id_starter","quiz_id_exit","asset_id_slidedeck","asset_id_worksheet","expiration_date","_cohort","updated_at","unitDataSchema","unit_id","unit_uid","tags","subjectcategories","prior_knowledge_requirements","unitvariantSchema","unitvariant_id","_deleted","unit_overrides","programme_fields","staticLesson","staticLessonListSchema","syntheticUnitvariantLessonsSchema","unit_slug","programme_slug","lesson_data","unit_data","null_unitvariant_id","supplementary_data","unit_order","order_in_unit","actions","features","static_lesson_list","syntheticUnitvariantsWithLessonIdsBaseSchema","base_slug","lesson_count","lesson_sensitive_count","lesson_expired_count","expired","syntheticProgrammesByYearSchema","nonCurriculum","threadsByUnitSchema","threads","theme_slug","theme_title","syntheticUnitvariantLessonsByKsSchemaOld","Object","assign","omit","shape","null_unitvariant","programmeListingResponseSchema","pick","programmeListingResponseSchemaArray","syntheticUnitvariantLessonsByKsSchema","programme_slug_by_year","threadSchema","thread_id","thread_title","thread_slug","syntheticUnitvariantsWithLessonIdsByKsSchema","lesson_ids","syntheticUnitvariantsWithLessonIdsByYearsSchema","age_restricted_lesson_count","complex_copyright_lesson_count","lessonDataFixture","overrides","programmeFieldsFixture","unitDataFixture","imageObjectFixture","imageItemFixture","textItemFixture","multipleChoiceFixture","shortAnswerFixture","orderFixture","matchFixture","multipleChoiceQuestion","shortAnswerQuestion","orderQuestion","matchQuestion","additionalFilesFixture","mediaObjectFixture","videoObjectFixture","mediaClipCycleFixture","mediaClipsFixture","intro","cycle2","additionalCyclesFixture","cycle3","cycle4","lessonEquipmentAndResourcesFixture","teacherTipsFixture","keywordsFixture","misconceptionsAndCommonMistakesFixture","contentGuidanceFixture"],"mappings":"qHAEa,MAAAA,EAAeC,EAACA,EAACC,KAAK,CAAC,YAAa,MAAO,cAC3CC,EAAgBF,EAACA,EAACC,KAAK,CAClC,YACA,YACA,YACA,MAGWE,EAAaH,EAACA,EAACC,KAAK,CAAC,aAAc,UAAW,cAC9CG,EAAoBJ,EAACA,EAACC,KAAK,CACtC,+BACA,UACA,cAEWI,EAASL,EAACA,EAACC,KAAK,CAAC,aAAc,UAAW,cAE1CK,EAAYN,EAACA,EAACC,KAAK,CAC9B,MACA,MACA,MACA,MACA,OACA,mBAEWM,EAAgBP,EAACA,EAACC,KAAK,CAClC,MACA,MACA,MACA,MACA,+BACA,WAEWO,EAAuBR,EAACA,EAACC,KAAK,CACzC,cACA,cACA,cACA,cACA,+BACA,mBAGWQ,EAAQT,EAACA,EAACC,KAAK,CAC1B,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KACA,KACA,KACA,KACA,IACA,QAEWS,EAAYV,EAACA,EAACC,KAAK,CAC9B,YACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,UACA,UACA,UACA,UACA,cAEWU,EAAmBX,EAACA,EAACC,KAAK,CACrC,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,UACA,UACA,UACA,UACA,YACA,cAGWW,EAAQZ,EAACA,EAACC,KAAK,CAAC,OAAQ,aAAc,WACtCY,EAAYb,EAACA,EAACC,KAAK,CAAC,OAAQ,aAAc,WAC1Ca,EAAmBd,EAACA,EAACC,KAAK,CAAC,OAAQ,aAAc,WAEjDc,EAAWf,EAAAA,EAAEC,KAAK,CAAC,OAAQ,SAC3Be,EAAehB,EAAAA,EAAEC,KAAK,CAAC,OAAQ,SAC/BgB,EAAsBjB,EAAAA,EAAEC,KAAK,CAAC,OAAQ,SAEtCiB,EAAiBlB,EAACA,EAACC,KAAK,CACnC,MACA,UACA,SACA,MACA,OACA,aAEWkB,EAAanB,EAACA,EAACC,KAAK,CAC/B,MACA,UACA,SACA,MACA,OACA,cAEWmB,EAAwBpB,EAACA,EAACC,KAAK,CAC1C,yCACA,UACA,SACA,yCACA,kCACA,cAGWoB,EAAWrB,EAACA,EAACC,KAAK,CAC7B,uBACA,iBACA,cACA,YACA,mBACA,wBACA,QACA,UACA,kBACA,+BACA,mBACA,6BACA,sBACA,SACA,YACA,SACA,UACA,QACA,WACA,QACA,QACA,6CACA,qBACA,cACA,sBACA,UACA,UACA,YACA,mBACA,UACA,UACA,0BACA,aACA,6BACA,gBACA,qBACA,WACA,uBACA,YACA,uBACA,mBACA,sBACA,8BACA,kBACA,0BAEWqB,EAAetB,EAACA,EAACC,KAAK,CACjC,qBACA,MACA,cACA,YACA,oBACA,QACA,UACA,kBACA,+BACA,mBACA,6BACA,sBACA,SACA,YACA,SACA,UACA,QACA,WACA,QACA,QACA,4CACA,qBACA,YACA,sBACA,UACA,UACA,YACA,mBACA,UACA,UACA,0BACA,aACA,6BACA,gBACA,qBACA,WACA,uBACA,YACA,uBACA,mBACA,sBACA,8BACA,8BACA,sBCzNWsB,EAAmBvB,EAACwB,QAACvB,KAAK,CACrC,iBACA,kBACA,oBAGWwB,EAAoBzB,EAACwB,QAACvB,KAAK,CAAC,aAE5ByB,EAAoB1B,EAACwB,QAACvB,KAAK,CACtC,kBACA,eACA,cACA,uBACA,iBACA,WACA,eACA,cACA,gBCKW0B,EAAwB3B,EAACA,EAAC4B,OAAO,CAC5CC,QAASd,EAASe,WAClBC,WAAY/B,EAACA,EAACgC,SAASF,WACvBG,aAAcjB,EAAac,WAC3BI,oBAAqBjB,EAAoBa,WACzCK,sBAAuBnC,EAACA,EAACgC,SAASF,WAElCM,KAAMxB,EAAMkB,WACZO,QAASrC,EAACA,EAACgC,SAASF,WACpBQ,UAAWzB,EAAUiB,WACrBS,iBAAkBzB,EAAiBgB,WACnCU,mBAAoBxC,EAACA,EAACgC,SAASF,WAE/BW,UAAWtB,EAAWW,WACtBY,aAAc1C,EAACA,EAACgC,SAASF,WACzBa,eAAgBzB,EAAeY,WAC/Bc,sBAAuBxB,EAAsBU,WAC7Ce,wBA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