@oaknational/oak-curriculum-schema 1.62.0 → 1.63.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/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import{z as e}from"zod";const i=e.enum(["published","new","migration"]),a=e.enum(["2020-2023","2023-2024","2024-2025","0"]),t=e.enum(["foundation","primary","secondary"]),n=e.enum(["Early Years Foundation Stage","Primary","Secondary"]),s=e.enum(["foundation","primary","secondary"]),r=e.enum(["KS1","KS2","KS3","KS4","EYFS","All key stages"]),l=e.enum(["ks1","ks2","ks3","ks4","early-years-foundation-stage","all-ks"]),o=e.enum(["Key Stage 1","Key Stage 2","Key Stage 3","Key Stage 4","Early Years Foundation Stage","All Key Stages"]),u=e.enum(["1","2","3","4","5","6","7","8","9","10","11","12","13","R","All"]),_=e.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"]),d=e.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"]),c=e.enum(["core","foundation","higher"]),p=e.enum(["core","foundation","higher"]),g=e.enum(["Core","Foundation","Higher"]),b=e.enum(["Core","GCSE"]),m=e.enum(["core","gcse"]),y=e.enum(["Core","GCSE"]),h=e.enum(["aqa","edexcel","eduqas","ocr","wjec","edexcelb"]),v=e.enum(["AQA","Edexcel","Eduqas","OCR","WJEC","Edexcel B"]),j=e.enum(["Assessment and Qualifications Alliance","Edexcel","Eduqas","Oxford, Cambridge and RSA Examinations","Welsh Joint Education Committee","Edexcel B"]),w=e.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.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=e.object({pathway:b.nullable(),pathway_id:e.number().nullable(),pathway_slug:m.nullable(),pathway_description:y.nullable(),pathway_display_order:e.number().nullable(),tier:c.nullable(),tier_id:e.number().nullable(),tier_slug:p.nullable(),tier_description:g.nullable(),tier_display_order:e.number().nullable(),examboard:v.nullable(),examboard_id:e.number().nullable(),examboard_slug:h.nullable(),examboard_description:j.nullable(),examboard_display_order:e.number().nullable(),year:u,year_slug:_,year_id:e.number(),year_description:d,year_display_order:e.number(),keystage:r,keystage_id:e.number(),keystage_slug:l,keystage_description:o,keystage_display_order:e.number(),phase:s,phase_id:e.number(),phase_slug:t,phase_description:n,phase_display_order:e.number(),subject:w,subject_id:e.number(),subject_slug:k,subject_description:e.string(),subject_display_order:e.number(),subject_parent:w.nullish(),optionality:e.string().optional(),legacy:e.string().optional(),dataset:e.string().optional()}),x=e.enum(["pupilSubjectListingQuery","pupilProgrammeListingQuery","pupilUnitListingQuery","pupilLessonListingQuery","pupilLessonQuery","unitListingQuery","lessonListingQuery","programmeListingQuery","subjectListingQuery","lessonOverviewQuery","lessonDownloadsQuery","lessonBetaDownloadsQuery","lessonShareQuery","lessonMediaClipsQuery","teacherPreviewLessonQuery","teachersPreviewLessonDownloadQuery","teachersPreviewUnitListingQuery"]),q=e.enum(["pupil","teacher","curriculum"]),O=e.union([x,q]),C=e.object({exclusions:e.array(O),opt_out:e.array(O),programme_field_overrides:f.partial(),display_expiring_banner:e.boolean(),disable_pupil_share:e.boolean(),display_PE_title:e.boolean(),display_vocab_button:e.boolean(),override_pathway:e.string(),is_pe_practical:e.boolean(),related_subject_slugs:e.array(k),group_units_as:e.string()}).partial(),P=e.object({pe_practical:e.boolean(),age_restriction:e.string().nullable()}).partial(),S=e.object({format:e.enum(["png","jpg","jpeg","webp","gif","svg"]).optional(),secure_url:e.string().url(),url:e.string().url().optional(),height:e.number().optional(),width:e.number().optional(),metadata:e.union([e.array(e.any()),e.object({attribution:e.string().optional(),usageRestriction:e.string().optional()})]),public_id:e.string().optional(),version:e.number().optional()}),Y=e.object({image_object:S,type:e.literal("image")}),E=e.object({text:e.string(),type:e.literal("text")}),Q=e.object({answer:e.array(e.union([E,Y]).optional()),answer_is_active:e.boolean().optional(),answer_is_correct:e.boolean().optional()}),z=e.object({answer:e.array(e.union([E,Y]).optional()),answer_is_active:e.boolean().optional(),answer_is_default:e.boolean().optional()}),F=e.object({answer:e.array(E),correct_order:e.number().optional(),answer_is_active:e.boolean().optional()}),T=e.object({answer_is_active:e.boolean().optional(),correct_choice:e.array(E),match_option:e.array(E).optional()}),A=e.object({question_id:e.number(),question_uid:e.string(),question_type:e.string(),question_stem:e.array(e.union([E,Y])).optional().nullable(),answers:e.object({"multiple-choice":e.array(Q).optional(),"short-answer":e.array(z).optional(),order:e.array(F).optional(),match:e.array(T).optional()}).optional().nullable(),feedback:e.string().optional().nullable(),hint:e.string().optional().nullable(),active:e.boolean().optional(),order:e.number()}),L=e.object({url:e.string(),type:e.string(),bytes:e.number(),format:e.string(),display_name:e.string(),resource_type:e.string()}),R=e.object({duration:e.number().nullable().optional(),mux_asset_id:e.string(),playback_ids:e.array(e.object({id:e.string(),policy:e.string()})),mux_playback_id:e.string()}).nullable(),W=e.object({order:e.number().or(e.string()),media_id:e.number().or(e.string()),video_id:e.number().nullable(),media_type:e.string().nullish(),custom_title:e.string().nullish(),media_object:L,video_object:R,transcriptSentences:e.array(e.string()).nullish()}),K=e.record(e.string(),e.array(W)),G=e.object({media_clips:K}),N=e.object({asset_id:e.number(),media_id:e.number(),media_object:e.object({url:e.string(),bytes:e.number(),display_name:e.string()})}),U=e.object({downloadable_files:e.array(N).nullish()}),M=e.object({equipment:e.string()}),B=e.object({key_learning_point:e.string()}),D=e.object({keyword:e.string(),description:e.string()}),H=e.object({misconception:e.string(),response:e.string()}),J=e.object({teacher_tip:e.string()}),V=e.object({contentguidance_label:e.string().nullable(),contentguidance_description:e.string().nullable(),contentguidance_area:e.string().nullable()}),I=e.object({lesson_outline:e.string()}),X=e.object({lesson_id:e.number(),lesson_slug:e.string(),lesson_title:e.string().nullable(),content_guidance:e.array(V).nullable(),misconceptions_and_common_mistakes:e.array(H).nullable(),teacher_tips:e.array(J).nullable(),equipment_and_resources:e.array(M).nullable(),pupil_lesson_outcome:e.string().nullable(),phonics_outcome:e.string().nullable(),lesson_keywords:e.array(D).nullable(),supervision_level:e.string().nullable(),key_learning_points:e.array(B).nullable().optional(),video_mux_playback_id:e.string().nullable(),video_with_sign_language_mux_playback_id:e.string().nullable(),video_id:e.number().nullable(),video_duration:e.string().nullable(),video_title:e.string().nullable(),transcript_sentences:e.string().nullable(),starter_quiz:e.array(A).optional().nullable(),exit_quiz:e.array(A).optional().nullable(),starter_quiz_id:e.number().nullable(),exit_quiz_id:e.number().nullable(),_state:i,is_legacy:e.boolean().nullable(),deprecated_fields:e.record(e.unknown()).nullable(),has_worksheet_google_drive_downloadable_version:e.boolean().nullable(),slide_deck_asset_id:e.number().nullable(),has_slide_deck_asset_object:e.boolean().nullable(),worksheet_asset_id:e.number().nullable(),has_worksheet_asset_object:e.boolean().nullable(),worksheet_answers_asset_id:e.number().nullable(),has_worksheet_answers_asset_object:e.boolean().nullable(),supplementary_asset_id:e.number().nullable(),has_supplementary_asset_object:e.boolean().nullable(),supplementary_asset_object_url:e.string().nullable(),worksheet_asset_object_url:e.string().nullable(),slide_deck_asset_object_url:e.string().nullable(),lesson_guide_asset_id:e.number().nullable().optional(),has_lesson_guide_object:e.boolean().nullable().optional(),lesson_guide_asset_object_url:e.string().nullable().optional(),has_lesson_guide_google_drive_downloadable_version:e.boolean().nullable().optional(),geo_restricted:e.boolean().nullable(),login_required:e.boolean().nullable(),media_clips:K.nullish(),lesson_outline:e.array(I).nullable().optional(),downloadable_files:e.array(N).nullable().optional(),lesson_release_date:e.string().nullable()}),Z=e.object({lesson_id:e.number(),lesson_uid:e.string(),slug:e.string(),title:e.string(),description:e.string(),pupil_lesson_outcome:e.string(),phonics_outcome:e.string().nullable(),key_learning_points:e.array(e.object({})).nullable(),equipment_and_resources:e.array(M).nullable(),content_guidance_details:e.array(e.object({})).nullable(),content_guidance:e.array(e.number()).nullable(),copyright_content:e.array(e.object({})).nullable(),supervision_level:e.string().nullable(),thirdpartycontent_list:e.array(e.number()).nullable(),misconceptions_and_common_mistakes:e.array(e.object({})).nullable(),keywords:e.array(e.object({})).nullable(),video_id:e.number().nullable(),sign_language_video_id:e.number().nullable(),quiz_id_starter:e.number().nullable(),quiz_id_exit:e.number().nullable(),asset_id_slidedeck:e.number().nullable(),asset_id_worksheet:e.number().nullable(),expiration_date:e.string().nullable(),lesson_outline:e.array(I).nullable().optional(),media_clips:K.nullable().optional(),deprecated_fields:e.record(e.unknown()).nullable(),_state:i,_cohort:a,updated_at:e.string(),lesson_release_date:e.string().nullable()}),$=e.object({unit_id:e.number(),unit_uid:e.string(),description:e.string().nullable(),slug:e.string(),tags:e.array(e.number()).nullable(),deprecated_fields:e.record(e.unknown()).nullable().optional(),title:e.string(),subjectcategories:e.array(e.union([e.number(),e.string()])).nullable(),_state:i,_cohort:a,expiration_date:e.string().nullable()}),ee=e.object({_state:i,_cohort:a,unit_id:e.number(),unitvariant_id:e.number(),_deleted:e.boolean(),unit_overrides:$.partial(),programme_fields:f.partial()}),ie=e.object({slug:e.string(),title:e.string(),order:e.number()}),ae=e.array(ie),te=e.object({lesson_slug:e.string(),unit_slug:e.string(),programme_slug:e.string(),is_legacy:e.boolean(),lesson_data:Z,unit_data:$,null_unitvariant_id:e.number(),unitvariant_id:e.number().nullish(),programme_fields:f,supplementary_data:e.object({unit_order:e.number(),order_in_unit:e.number()}),actions:C.nullable().optional(),features:P.nullable().optional(),static_lesson_list:ae.nullish()}),ne=e.object({base_slug:e.string(),unit_slug:e.string(),programme_slug:e.string(),is_legacy:e.boolean(),lesson_count:e.number(),lesson_sensitive_count:e.number(),lesson_expired_count:e.number(),unit_data:$,null_unitvariant_id:e.number(),programme_fields:f,supplementary_data:e.object({unit_order:e.number(),static_lesson_list:ae.nullish()}),expired:e.boolean(),actions:C.nullable().optional(),features:e.object({}).optional().nullable()}),se=e.object({year_slug:_,programme_slug:e.string(),base_slug:e.string(),is_legacy:e.boolean(),programme_fields:f,actions:C.nullable().optional(),features:e.object({nonCurriculum:e.boolean().optional()}).optional().nullable()}),re=e.object({unit_id:e.number(),threads:e.array(e.object({theme_slug:e.string(),theme_title:e.string()})).nullable()}),le=e.object(Object.assign(Object.assign({},te.omit({null_unitvariant_id:!0}).shape),{unitvariant_id:e.number().nullable(),null_unitvariant:ee,programme_fields:f.omit({pathway:!0,pathway_description:!0,pathway_display_order:!0,pathway_id:!0,pathway_slug:!0})})),oe=le.pick({lesson_data:!0,programme_fields:!0,is_legacy:!0,programme_slug:!0}),ue=e.array(oe),_e=e.object(Object.assign(Object.assign({},te.omit({supplementary_data:!0}).shape),{programme_slug_by_year:e.string().array(),order_in_unit:e.number()})),de=e.object({thread_id:e.number(),thread_title:e.string(),thread_slug:e.string()}),ce=e.object(Object.assign(Object.assign({},ne.shape),{programme_slug_by_year:e.string(),lesson_ids:e.array(e.number()).nullable(),threads:e.array(de).nullable()})),pe=e.object(Object.assign(Object.assign({},ne.shape),{age_restricted_lesson_count:e.number()})),ge=({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:[{}],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),be=({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),me=({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,subjectcategories:[1,2,3]},e),ye=({overrides:e={}}={})=>Object.assign({unitvariant_id:1,unit_id:1,_deleted:!1,_state:"published",_cohort:"2023-2024",unit_overrides:{},programme_fields:{}},e),he=({overrides:e={}}={})=>Object.assign({text:"Hello, World!",type:"text"},e),ve=({overrides:e={}}={})=>Object.assign({answer:[he(),{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),je=({overrides:e={}}={})=>Object.assign({answer:[he(),{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_default:!0},e),we=({overrides:e={}}={})=>Object.assign({answer:[he()],correct_order:1,answer_is_active:!0},e),ke=({overrides:e={}}={})=>Object.assign({answer_is_active:!0,correct_choice:[he({overrides:{text:"Paris"}})],match_option:[he({overrides:{text:"Capital of France"}})]},e),fe=({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":[ve({overrides:{answer_is_correct:!0}}),ve({overrides:{answer_is_correct:!1}}),ve({overrides:{answer_is_correct:!1}}),ve({overrides:{answer_is_correct:!1}})]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:1},e),xe=({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":[je()]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:2},e),qe=({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:[we({overrides:{correct_order:1}}),we({overrides:{correct_order:2}}),we({overrides:{correct_order:3}}),we({overrides:{correct_order:4}})]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:3},e),Oe=({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:[ke(),ke(),ke(),ke()]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:4},e),Ce=({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),Pe=({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),Se=({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:Pe(),video_object:Se()},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:Pe(),video_object:Se()},{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),Qe={media_clips:{cycle3:[Ye()],cycle4:[Ye(),Ye({overrides:{order:"2",media_id:"1911749",video_id:298345}})]}},ze=()=>({equipment:"equipment"}),Fe=()=>({teacher_tip:"teacher-tip"}),Te=()=>({keyword:"keyword",description:"description"}),Ae=()=>({misconception:"misconception",response:"response"}),Le=()=>({contentguidance_label:"contentguidance-label",contentguidance_description:"contentguidance-description",contentguidance_area:"contentguidance-area"}),Re=({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:[fe({overrides:{order:1,question_uid:"starter-quiz-1"}}),qe({overrides:{order:2,question_uid:"starter-quiz-2"}}),Oe({overrides:{order:3,question_uid:"starter-quiz-3"}}),xe({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:Ce().downloadable_files,lesson_release_date:"2024-05-10T08:34:55.166149+00:00"},e),We=({overrides:e={}}={})=>Object.assign({lesson_slug:"lesson-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",is_legacy:!1,lesson_data:ge(),unit_data:me(),null_unitvariant_id:0,programme_fields:be(),supplementary_data:{unit_order:1,order_in_unit:1}},e),Ke=({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:me(),null_unitvariant_id:0,programme_fields:be(),supplementary_data:{unit_order:1},expired:!1},e),Ge=({overrides:e={}}={})=>({year_slug:"year-1",base_slug:"maths-primary-year-1",programme_slug:"maths-primary-year-1",is_legacy:!1,programme_fields:be()}),Ne=({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:ge(),unit_data:me(),null_unitvariant_id:1,unitvariant_id:1,programme_fields:be(),order_in_unit:1,static_lesson_list:[{slug:"lesson-slug",title:"lesson-title",order:1}]},e),Ue=({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:me(),null_unitvariant_id:0,programme_fields:be(),supplementary_data:{unit_order:1,static_lesson_list:[{slug:"lesson-slug",title:"lesson-title",order:1}]},expired:!1,threads:null},e),Me=({overrides:e={}}={})=>Object.assign({thread_id:1,thread_title:"A thread",thread_slug:"a-thread"},e);export{a as _cohortSchema,i as _stateSchema,C as actionsSchema,Qe as additionalCyclesFixture,N as additionalFileObjectSchema,Ce as additionalFilesFixture,U as additionalFilesSchema,Le as contentGuidanceFixture,V as contentGuidanceSchema,j as examboardDescriptions,h as examboardSlugs,v as examboards,P as featuresSchema,Y as imageItemSchema,S as imageObjectSchema,O as journeysAndQueriesSchema,q as journeysSchema,B as keyLearningPointsSchema,o as keystageDescriptions,l as keystageSlugs,r as keystages,Te as keywordsFixture,D as keywordsSchema,Re as lessonContentFixture,X as lessonContentSchema,ge as lessonDataFixture,Z as lessonDataSchema,ze as lessonEquipmentAndResourcesFixture,M as lessonEquipmentAndResourcesSchema,G as lessonMediaClipsSchema,I as lessonOutlineSchema,ke as matchFixture,Oe as matchQuestion,T as matchSchema,Ye as mediaClipCycleFixture,W as mediaClipCycleSchema,L as mediaClipObjectSchema,Ee as mediaClipsFixture,K as mediaClipsRecordSchema,Pe as mediaObjectFixture,Ae as misconceptionsAndCommonMistakesFixture,H as misconceptionsAndCommonMistakesSchema,ve as multipleChoiceFixture,fe as multipleChoiceQuestion,Q as multipleChoiceSchema,we as orderFixture,qe as orderQuestion,F as orderSchema,y as pathwayDescriptions,m as pathwaySlugs,b as pathways,n as phaseDescriptions,t as phaseSlugs,s as phases,be as programmeFieldsFixture,f as programmeFieldsSchema,oe as programmeListingResponseSchema,ue as programmeListingResponseSchemaArray,x as queriesSchema,A as quizQuestionSchema,je as shortAnswerFixture,xe as shortAnswerQuestion,z as shortAnswerSchema,ae as staticLessonListSchema,k as subjectSlugs,w as subjects,Ge as syntheticProgrammesByYearFixture,se as syntheticProgrammesByYearSchema,Ne as syntheticUnitvariantLessonsByKsFixture,_e as syntheticUnitvariantLessonsByKsSchema,le as syntheticUnitvariantLessonsByKsSchemaOld,We as syntheticUnitvariantLessonsFixture,te as syntheticUnitvariantLessonsSchema,ne as syntheticUnitvariantsWithLessonIdsBaseSchema,Ue as syntheticUnitvariantsWithLessonIdsByKsFixture,ce as syntheticUnitvariantsWithLessonIdsByKsSchema,pe as syntheticUnitvariantsWithLessonIdsByYearsSchema,Ke as syntheticUnitvariantsWithLessonIdsFixture,Fe as teacherTipsFixture,J as teacherTipsSchema,E as textItemSchema,Me as threadFixture,de as threadSchema,re as threadsByUnitSchema,g as tierDescriptions,p as tierSlugs,c as tiers,me as unitDataFixture,$ as unitDataSchema,ye as unitvariantFixture,ee as unitvariantSchema,R as videoClipObjectSchema,Se as videoObjectFixture,d as yearDescriptions,_ as yearSlugs,u as years};
1
+ import e,{z as i}from"zod";const a=i.enum(["published","new","migration"]),t=i.enum(["2020-2023","2023-2024","2024-2025","0"]),n=i.enum(["foundation","primary","secondary"]),s=i.enum(["Early Years Foundation Stage","Primary","Secondary"]),r=i.enum(["foundation","primary","secondary"]),l=i.enum(["KS1","KS2","KS3","KS4","EYFS","All key stages"]),o=i.enum(["ks1","ks2","ks3","ks4","early-years-foundation-stage","all-ks"]),u=i.enum(["Key Stage 1","Key Stage 2","Key Stage 3","Key Stage 4","Early Years Foundation Stage","All Key Stages"]),_=i.enum(["1","2","3","4","5","6","7","8","9","10","11","12","13","R","All"]),d=i.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"]),c=i.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"]),p=i.enum(["core","foundation","higher"]),g=i.enum(["core","foundation","higher"]),b=i.enum(["Core","Foundation","Higher"]),m=i.enum(["Core","GCSE"]),y=i.enum(["core","gcse"]),h=i.enum(["Core","GCSE"]),v=i.enum(["aqa","edexcel","eduqas","ocr","wjec","edexcelb"]),j=i.enum(["AQA","Edexcel","Eduqas","OCR","WJEC","Edexcel B"]),w=i.enum(["Assessment and Qualifications Alliance","Edexcel","Eduqas","Oxford, Cambridge and RSA Examinations","Welsh Joint Education Committee","Edexcel B"]),k=i.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"]),f=i.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"]),x=e.enum(["ingest_started","ingest_complete","ready_to_ingest"]),q=e.enum(["no_asset"]),O=e.enum(["adding_captions","mux_complete","sent_to_mux","sent_captions_to_mux","mux_transcoded","no_audio","rev_complete","sent_to_rev","rev_skipped"]),C=i.object({pathway:m.nullable(),pathway_id:i.number().nullable(),pathway_slug:y.nullable(),pathway_description:h.nullable(),pathway_display_order:i.number().nullable(),tier:p.nullable(),tier_id:i.number().nullable(),tier_slug:g.nullable(),tier_description:b.nullable(),tier_display_order:i.number().nullable(),examboard:j.nullable(),examboard_id:i.number().nullable(),examboard_slug:v.nullable(),examboard_description:w.nullable(),examboard_display_order:i.number().nullable(),year:_,year_slug:d,year_id:i.number(),year_description:c,year_display_order:i.number(),keystage:l,keystage_id:i.number(),keystage_slug:o,keystage_description:u,keystage_display_order:i.number(),phase:r,phase_id:i.number(),phase_slug:n,phase_description:s,phase_display_order:i.number(),subject:k,subject_id:i.number(),subject_slug:f,subject_description:i.string(),subject_display_order:i.number(),subject_parent:k.nullish(),optionality:i.string().optional(),legacy:i.string().optional(),dataset:i.string().optional()}),P=i.enum(["pupilSubjectListingQuery","pupilProgrammeListingQuery","pupilUnitListingQuery","pupilLessonListingQuery","pupilLessonQuery","unitListingQuery","lessonListingQuery","programmeListingQuery","subjectListingQuery","lessonOverviewQuery","lessonDownloadsQuery","lessonBetaDownloadsQuery","lessonShareQuery","lessonMediaClipsQuery","teacherPreviewLessonQuery","teachersPreviewLessonDownloadQuery","teachersPreviewUnitListingQuery"]),S=i.enum(["pupil","teacher","curriculum"]),Y=i.union([P,S]),E=i.object({exclusions:i.array(Y),opt_out:i.array(Y),programme_field_overrides:C.partial(),display_expiring_banner:i.boolean(),disable_pupil_share:i.boolean(),display_PE_title:i.boolean(),display_vocab_button:i.boolean(),override_pathway:i.string(),is_pe_practical:i.boolean(),related_subject_slugs:i.array(f),group_units_as:i.string()}).partial(),Q=i.object({pe_practical:i.boolean(),age_restriction:i.string().nullable()}).partial(),z=i.object({format:i.enum(["png","jpg","jpeg","webp","gif","svg"]).optional(),secure_url:i.string().url(),url:i.string().url().optional(),height:i.number().optional(),width:i.number().optional(),metadata:i.union([i.array(i.any()),i.object({attribution:i.string().optional(),usageRestriction:i.string().optional()})]),public_id:i.string().optional(),version:i.number().optional()}),F=i.object({image_object:z,type:i.literal("image")}),T=i.object({text:i.string(),type:i.literal("text")}),A=i.object({answer:i.array(i.union([T,F]).optional()),answer_is_active:i.boolean().optional(),answer_is_correct:i.boolean().optional()}),L=i.object({answer:i.array(i.union([T,F]).optional()),answer_is_active:i.boolean().optional(),answer_is_default:i.boolean().optional()}),R=i.object({answer:i.array(T),correct_order:i.number().optional(),answer_is_active:i.boolean().optional()}),W=i.object({answer_is_active:i.boolean().optional(),correct_choice:i.array(T),match_option:i.array(T).optional()}),K=i.object({question_id:i.number(),question_uid:i.string(),question_type:i.string(),question_stem:i.array(i.union([T,F])).optional().nullable(),answers:i.object({"multiple-choice":i.array(A).optional(),"short-answer":i.array(L).optional(),order:i.array(R).optional(),match:i.array(W).optional()}).optional().nullable(),feedback:i.string().optional().nullable(),hint:i.string().optional().nullable(),active:i.boolean().optional(),order:i.number()}),G=i.object({url:i.string(),type:i.string(),bytes:i.number(),format:i.string(),display_name:i.string(),resource_type:i.string()}),N=i.object({duration:i.number().nullable().optional(),mux_asset_id:i.string(),playback_ids:i.array(i.object({id:i.string(),policy:i.string()})),mux_playback_id:i.string()}).nullable(),U=i.object({order:i.number().or(i.string()),media_id:i.number().or(i.string()),video_id:i.number().nullish(),media_type:i.string().nullish(),custom_title:i.string().nullish(),media_object:G,video_object:N,transcriptSentences:i.array(i.string()).nullish()}),M=i.record(i.string(),i.array(U)),B=i.object({media_clips:M}),D=i.object({asset_id:i.number(),media_id:i.number(),media_object:i.object({url:i.string(),bytes:i.number(),display_name:i.string()})}),H=i.object({downloadable_files:i.array(D).nullish()}),J=i.object({equipment:i.string()}),V=i.object({key_learning_point:i.string()}),I=i.object({keyword:i.string(),description:i.string()}),X=i.object({misconception:i.string(),response:i.string()}),Z=i.object({teacher_tip:i.string()}),$=i.object({contentguidance_label:i.string().nullable(),contentguidance_description:i.string().nullable(),contentguidance_area:i.string().nullable()}),ee=i.object({lesson_outline:i.string()}),ie=i.object({lesson_id:i.number(),lesson_slug:i.string(),lesson_title:i.string().nullable(),content_guidance:i.array($).nullable(),misconceptions_and_common_mistakes:i.array(X).nullable(),teacher_tips:i.array(Z).nullable(),equipment_and_resources:i.array(J).nullable(),pupil_lesson_outcome:i.string().nullable(),phonics_outcome:i.string().nullable(),lesson_keywords:i.array(I).nullable(),supervision_level:i.string().nullable(),key_learning_points:i.array(V).nullable().optional(),video_mux_playback_id:i.string().nullable(),video_with_sign_language_mux_playback_id:i.string().nullable(),video_id:i.number().nullable(),video_duration:i.string().nullable(),video_title:i.string().nullable(),transcript_sentences:i.string().nullable(),starter_quiz:i.array(K).optional().nullable(),exit_quiz:i.array(K).optional().nullable(),starter_quiz_id:i.number().nullable(),exit_quiz_id:i.number().nullable(),_state:a,is_legacy:i.boolean().nullable(),deprecated_fields:i.record(i.unknown()).nullable(),has_worksheet_google_drive_downloadable_version:i.boolean().nullable(),slide_deck_asset_id:i.number().nullable(),has_slide_deck_asset_object:i.boolean().nullable(),worksheet_asset_id:i.number().nullable(),has_worksheet_asset_object:i.boolean().nullable(),worksheet_answers_asset_id:i.number().nullable(),has_worksheet_answers_asset_object:i.boolean().nullable(),supplementary_asset_id:i.number().nullable(),has_supplementary_asset_object:i.boolean().nullable(),supplementary_asset_object_url:i.string().nullable(),worksheet_asset_object_url:i.string().nullable(),slide_deck_asset_object_url:i.string().nullable(),lesson_guide_asset_id:i.number().nullable().optional(),has_lesson_guide_object:i.boolean().nullable().optional(),lesson_guide_asset_object_url:i.string().nullable().optional(),has_lesson_guide_google_drive_downloadable_version:i.boolean().nullable().optional(),geo_restricted:i.boolean().nullable(),login_required:i.boolean().nullable(),media_clips:M.nullish(),lesson_outline:i.array(ee).nullable().optional(),downloadable_files:i.array(D).nullable().optional(),lesson_release_date:i.string().nullable()}),ae=i.object({lesson_id:i.number(),lesson_uid:i.string(),slug:i.string(),title:i.string(),description:i.string(),pupil_lesson_outcome:i.string(),phonics_outcome:i.string().nullable(),key_learning_points:i.array(i.object({})).nullable(),equipment_and_resources:i.array(J).nullable(),content_guidance_details:i.array(i.object({})).nullable(),content_guidance:i.array(i.number()).nullable(),copyright_content:i.array(i.object({})).nullable(),supervision_level:i.string().nullable(),thirdpartycontent_list:i.array(i.number()).nullable(),misconceptions_and_common_mistakes:i.array(i.object({})).nullable(),keywords:i.array(i.object({})).nullable(),video_id:i.number().nullable(),sign_language_video_id:i.number().nullable(),quiz_id_starter:i.number().nullable(),quiz_id_exit:i.number().nullable(),asset_id_slidedeck:i.number().nullable(),asset_id_worksheet:i.number().nullable(),expiration_date:i.string().nullable(),lesson_outline:i.array(ee).nullable().optional(),media_clips:M.nullable().optional(),deprecated_fields:i.record(i.unknown()).nullable(),_state:a,_cohort:t,updated_at:i.string(),lesson_release_date:i.string().nullable()}),te=i.object({unit_id:i.number(),unit_uid:i.string(),description:i.string().nullable(),slug:i.string(),tags:i.array(i.number()).nullable(),deprecated_fields:i.record(i.unknown()).nullable().optional(),title:i.string(),subjectcategories:i.array(i.union([i.number(),i.string()])).nullable(),_state:a,_cohort:t,expiration_date:i.string().nullable()}),ne=i.object({_state:a,_cohort:t,unit_id:i.number(),unitvariant_id:i.number(),_deleted:i.boolean(),unit_overrides:te.partial(),programme_fields:C.partial()}),se=i.object({slug:i.string(),title:i.string(),order:i.number()}),re=i.array(se),le=i.object({lesson_slug:i.string(),unit_slug:i.string(),programme_slug:i.string(),is_legacy:i.boolean(),lesson_data:ae,unit_data:te,null_unitvariant_id:i.number(),unitvariant_id:i.number().nullish(),programme_fields:C,supplementary_data:i.object({unit_order:i.number(),order_in_unit:i.number()}),actions:E.nullable().optional(),features:Q.nullable().optional(),static_lesson_list:re.nullish()}),oe=i.object({base_slug:i.string(),unit_slug:i.string(),programme_slug:i.string(),is_legacy:i.boolean(),lesson_count:i.number(),lesson_sensitive_count:i.number(),lesson_expired_count:i.number(),unit_data:te,null_unitvariant_id:i.number(),programme_fields:C,supplementary_data:i.object({unit_order:i.number(),static_lesson_list:re.nullish()}),expired:i.boolean(),actions:E.nullable().optional(),features:i.object({}).optional().nullable()}),ue=i.object({year_slug:d,programme_slug:i.string(),base_slug:i.string(),is_legacy:i.boolean(),programme_fields:C,actions:E.nullable().optional(),features:i.object({nonCurriculum:i.boolean().optional()}).optional().nullable()}),_e=i.object({unit_id:i.number(),threads:i.array(i.object({theme_slug:i.string(),theme_title:i.string()})).nullable()}),de=i.object(Object.assign(Object.assign({},le.omit({null_unitvariant_id:!0}).shape),{unitvariant_id:i.number().nullable(),null_unitvariant:ne,programme_fields:C.omit({pathway:!0,pathway_description:!0,pathway_display_order:!0,pathway_id:!0,pathway_slug:!0})})),ce=de.pick({lesson_data:!0,programme_fields:!0,is_legacy:!0,programme_slug:!0}),pe=i.array(ce),ge=i.object(Object.assign(Object.assign({},le.omit({supplementary_data:!0}).shape),{programme_slug_by_year:i.string().array(),order_in_unit:i.number()})),be=i.object({thread_id:i.number(),thread_title:i.string(),thread_slug:i.string()}),me=i.object(Object.assign(Object.assign({},oe.shape),{programme_slug_by_year:i.string(),lesson_ids:i.array(i.number()).nullable(),threads:i.array(be).nullable()})),ye=i.object(Object.assign(Object.assign({},oe.shape),{age_restricted_lesson_count:i.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:[{}],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),ve=({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),je=({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,subjectcategories:[1,2,3]},e),we=({overrides:e={}}={})=>Object.assign({unitvariant_id:1,unit_id:1,_deleted:!1,_state:"published",_cohort:"2023-2024",unit_overrides:{},programme_fields:{}},e),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),xe=({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_default:!0},e),qe=({overrides:e={}}={})=>Object.assign({answer:[ke()],correct_order:1,answer_is_active:!0},e),Oe=({overrides:e={}}={})=>Object.assign({answer_is_active:!0,correct_choice:[ke({overrides:{text:"Paris"}})],match_option:[ke({overrides:{text:"Capital of France"}})]},e),Ce=({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),Pe=({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":[xe()]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:2},e),Se=({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),Ye=({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:[Oe(),Oe(),Oe(),Oe()]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:4},e),Ee=({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),Qe=({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),ze=({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),Fe=({overrides:e}={})=>Object.assign({order:"1",media_id:"191188",video_id:29844,media_type:"video",custom_title:"Intro Video 1",media_object:Qe(),video_object:ze()},e),Te=({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:Qe(),video_object:ze()},{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:[Fe()],cycle4:[Fe(),Fe({overrides:{order:"2",media_id:"1911749",video_id:298345}})]}},Le=()=>({equipment:"equipment"}),Re=()=>({teacher_tip:"teacher-tip"}),We=()=>({keyword:"keyword",description:"description"}),Ke=()=>({misconception:"misconception",response:"response"}),Ge=()=>({contentguidance_label:"contentguidance-label",contentguidance_description:"contentguidance-description",contentguidance_area:"contentguidance-area"}),Ne=({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:[Ce({overrides:{order:1,question_uid:"starter-quiz-1"}}),Se({overrides:{order:2,question_uid:"starter-quiz-2"}}),Ye({overrides:{order:3,question_uid:"starter-quiz-3"}}),Pe({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:Te().media_clips,lesson_outline:[{lesson_outline:"lesson-outline-1"},{lesson_outline:"lesson-outline-2"}],downloadable_files:Ee().downloadable_files,lesson_release_date:"2024-05-10T08:34:55.166149+00:00"},e),Ue=({overrides:e={}}={})=>Object.assign({lesson_slug:"lesson-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",is_legacy:!1,lesson_data:he(),unit_data:je(),null_unitvariant_id:0,programme_fields:ve(),supplementary_data:{unit_order:1,order_in_unit:1}},e),Me=({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:je(),null_unitvariant_id:0,programme_fields:ve(),supplementary_data:{unit_order:1},expired:!1},e),Be=({overrides:e={}}={})=>({year_slug:"year-1",base_slug:"maths-primary-year-1",programme_slug:"maths-primary-year-1",is_legacy:!1,programme_fields:ve()}),De=({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:je(),null_unitvariant_id:1,unitvariant_id:1,programme_fields:ve(),order_in_unit:1,static_lesson_list:[{slug:"lesson-slug",title:"lesson-title",order:1}]},e),He=({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:je(),null_unitvariant_id:0,programme_fields:ve(),supplementary_data:{unit_order:1,static_lesson_list:[{slug:"lesson-slug",title:"lesson-title",order:1}]},expired:!1,threads:null},e),Je=({overrides:e={}}={})=>Object.assign({thread_id:1,thread_title:"A thread",thread_slug:"a-thread"},e);export{t as _cohortSchema,a as _stateSchema,E as actionsSchema,Ae as additionalCyclesFixture,D as additionalFileObjectSchema,Ee as additionalFilesFixture,H as additionalFilesSchema,q as assetIngestStates,x as baseIngestStates,Ge as contentGuidanceFixture,$ as contentGuidanceSchema,w as examboardDescriptions,v as examboardSlugs,j as examboards,Q as featuresSchema,F as imageItemSchema,z as imageObjectSchema,Y as journeysAndQueriesSchema,S as journeysSchema,V as keyLearningPointsSchema,u as keystageDescriptions,o as keystageSlugs,l as keystages,We as keywordsFixture,I as keywordsSchema,Ne as lessonContentFixture,ie as lessonContentSchema,he as lessonDataFixture,ae as lessonDataSchema,Le as lessonEquipmentAndResourcesFixture,J as lessonEquipmentAndResourcesSchema,B as lessonMediaClipsSchema,ee as lessonOutlineSchema,Oe as matchFixture,Ye as matchQuestion,W as matchSchema,Fe as mediaClipCycleFixture,U as mediaClipCycleSchema,G as mediaClipObjectSchema,Te as mediaClipsFixture,M as mediaClipsRecordSchema,Qe as mediaObjectFixture,Ke as misconceptionsAndCommonMistakesFixture,X as misconceptionsAndCommonMistakesSchema,fe as multipleChoiceFixture,Ce as multipleChoiceQuestion,A as multipleChoiceSchema,qe as orderFixture,Se as orderQuestion,R as orderSchema,h as pathwayDescriptions,y as pathwaySlugs,m as pathways,s as phaseDescriptions,n as phaseSlugs,r as phases,ve as programmeFieldsFixture,C as programmeFieldsSchema,ce as programmeListingResponseSchema,pe as programmeListingResponseSchemaArray,P as queriesSchema,K as quizQuestionSchema,xe as shortAnswerFixture,Pe as shortAnswerQuestion,L as shortAnswerSchema,re as staticLessonListSchema,f as subjectSlugs,k as subjects,Be as syntheticProgrammesByYearFixture,ue as syntheticProgrammesByYearSchema,De as syntheticUnitvariantLessonsByKsFixture,ge as syntheticUnitvariantLessonsByKsSchema,de as syntheticUnitvariantLessonsByKsSchemaOld,Ue as syntheticUnitvariantLessonsFixture,le as syntheticUnitvariantLessonsSchema,oe as syntheticUnitvariantsWithLessonIdsBaseSchema,He as syntheticUnitvariantsWithLessonIdsByKsFixture,me as syntheticUnitvariantsWithLessonIdsByKsSchema,ye as syntheticUnitvariantsWithLessonIdsByYearsSchema,Me as syntheticUnitvariantsWithLessonIdsFixture,Re as teacherTipsFixture,Z as teacherTipsSchema,T as textItemSchema,Je as threadFixture,be as threadSchema,_e as threadsByUnitSchema,b as tierDescriptions,g as tierSlugs,p as tiers,je as unitDataFixture,te as unitDataSchema,we as unitvariantFixture,ne as unitvariantSchema,N as videoClipObjectSchema,O as videoIngestStates,ze as videoObjectFixture,c as yearDescriptions,d as yearSlugs,_ as years};
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../src/schema/base.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/unitvariant.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/syntheticUnitvariantLessons.fixture.ts","../../src/fixtures/syntheticUnitvariantsWithLessonIds.fixture.ts","../../src/fixtures/syntheticProgrammesByYear.fixture.ts","../../src/fixtures/syntheticUnitvariantLessonsByKs.fixture.ts","../../src/fixtures/syntheticUnitvariantsWithLessonIdsByKs.fixture.ts","../../src/fixtures/thread.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\";\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 })\n .partial();\n\nexport type Features = z.infer<typeof featuresSchema>;\n","import { z } from \"zod\";\n\nexport const imageObjectSchema = z.object({\n format: z.enum([\"png\", \"jpg\", \"jpeg\", \"webp\", \"gif\", \"svg\"]).optional(),\n secure_url: z.string().url(),\n url: z.string().url().optional(),\n height: z.number().optional(),\n width: z.number().optional(),\n metadata: z.union([\n z.array(z.any()),\n z.object({\n attribution: z.string().optional(),\n usageRestriction: z.string().optional(),\n }),\n ]),\n public_id: z.string().optional(),\n version: z.number().optional(),\n});\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(z.union([textItemSchema, imageItemSchema]).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});\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().nullable(),\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 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(z.object({})).nullable(),\n equipment_and_resources: z\n .array(lessonEquipmentAndResourcesSchema)\n .nullable(),\n content_guidance_details: z.array(z.object({})).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(z.object({})).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 _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});\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});\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: [{}],\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 subjectcategories: [1, 2, 3],\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","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","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(), imageItemFixture()],\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 { 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 { 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 { 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 { 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 { 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"],"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","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","imageObjectSchema","format","secure_url","url","height","width","metadata","any","attribution","usageRestriction","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","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","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","lessonDataFixture","overrides","programmeFieldsFixture","unitDataFixture","unitvariantFixture","textItemFixture","multipleChoiceFixture","shortAnswerFixture","orderFixture","matchFixture","multipleChoiceQuestion","shortAnswerQuestion","orderQuestion","matchQuestion","additionalFilesFixture","mediaObjectFixture","videoObjectFixture","mediaClipCycleFixture","mediaClipsFixture","intro","cycle2","additionalCyclesFixture","cycle3","cycle4","lessonEquipmentAndResourcesFixture","teacherTipsFixture","keywordsFixture","misconceptionsAndCommonMistakesFixture","contentGuidanceFixture","lessonContentFixture","syntheticUnitvariantLessonsFixture","syntheticUnitvariantsWithLessonIdsFixture","syntheticProgrammesByYearFixture","syntheticUnitvariantLessonsByKsFixture","syntheticUnitvariantsWithLessonIdsByKsFixture","threadFixture"],"mappings":"wBAEa,MAAAA,EAAeC,EAAEC,KAAK,CAAC,YAAa,MAAO,cAC3CC,EAAgBF,EAAEC,KAAK,CAClC,YACA,YACA,YACA,MAGWE,EAAaH,EAAEC,KAAK,CAAC,aAAc,UAAW,cAC9CG,EAAoBJ,EAAEC,KAAK,CACtC,+BACA,UACA,cAEWI,EAASL,EAAEC,KAAK,CAAC,aAAc,UAAW,cAE1CK,EAAYN,EAAEC,KAAK,CAC9B,MACA,MACA,MACA,MACA,OACA,mBAEWM,EAAgBP,EAAEC,KAAK,CAClC,MACA,MACA,MACA,MACA,+BACA,WAEWO,EAAuBR,EAAEC,KAAK,CACzC,cACA,cACA,cACA,cACA,+BACA,mBAGWQ,EAAQT,EAAEC,KAAK,CAC1B,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KACA,KACA,KACA,KACA,IACA,QAEWS,EAAYV,EAAEC,KAAK,CAC9B,YACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,UACA,UACA,UACA,UACA,cAEWU,EAAmBX,EAAEC,KAAK,CACrC,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,UACA,UACA,UACA,UACA,YACA,cAGWW,EAAQZ,EAAEC,KAAK,CAAC,OAAQ,aAAc,WACtCY,EAAYb,EAAEC,KAAK,CAAC,OAAQ,aAAc,WAC1Ca,EAAmBd,EAAEC,KAAK,CAAC,OAAQ,aAAc,WAEjDc,EAAWf,EAAEC,KAAK,CAAC,OAAQ,SAC3Be,EAAehB,EAAEC,KAAK,CAAC,OAAQ,SAC/BgB,EAAsBjB,EAAEC,KAAK,CAAC,OAAQ,SAEtCiB,EAAiBlB,EAAEC,KAAK,CACnC,MACA,UACA,SACA,MACA,OACA,aAEWkB,EAAanB,EAAEC,KAAK,CAC/B,MACA,UACA,SACA,MACA,OACA,cAEWmB,EAAwBpB,EAAEC,KAAK,CAC1C,yCACA,UACA,SACA,yCACA,kCACA,cAGWoB,EAAWrB,EAAEC,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,EAAEC,KAAK,CACjC,qBACA,MACA,cACA,Y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ACbpC,UAAW0C,KACXzC,oBAAqB,EACrBR,iBAAkBgD,KAClBvC,mBAAoB,CAClBC,WAAY,EACZI,mBAAoB,CAClB,CAAErC,KAAM,cAAeC,MAAO,eAAgBnG,MAAO,KAGzD6I,SAAS,EACTI,QAAS,MACNuB,GC3BQkC,GAAgB,EAC3BlC,YAAY,CAAE,GAGZ,CAAA,IACFnB,OAAAC,OAAA,CAAAU,UAAW,EACXC,aAAc,WACdC,YAAa,YACVM"}
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/unitvariant.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/syntheticUnitvariantLessons.fixture.ts","../../src/fixtures/syntheticUnitvariantsWithLessonIds.fixture.ts","../../src/fixtures/syntheticProgrammesByYear.fixture.ts","../../src/fixtures/syntheticUnitvariantLessonsByKs.fixture.ts","../../src/fixtures/syntheticUnitvariantsWithLessonIdsByKs.fixture.ts","../../src/fixtures/thread.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 })\n .partial();\n\nexport type Features = z.infer<typeof featuresSchema>;\n","import { z } from \"zod\";\n\nexport const imageObjectSchema = z.object({\n format: z.enum([\"png\", \"jpg\", \"jpeg\", \"webp\", \"gif\", \"svg\"]).optional(),\n secure_url: z.string().url(),\n url: z.string().url().optional(),\n height: z.number().optional(),\n width: z.number().optional(),\n metadata: z.union([\n z.array(z.any()),\n z.object({\n attribution: z.string().optional(),\n usageRestriction: z.string().optional(),\n }),\n ]),\n public_id: z.string().optional(),\n version: z.number().optional(),\n});\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(z.union([textItemSchema, imageItemSchema]).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});\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 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(z.object({})).nullable(),\n equipment_and_resources: z\n .array(lessonEquipmentAndResourcesSchema)\n .nullable(),\n content_guidance_details: z.array(z.object({})).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(z.object({})).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 _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});\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});\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: [{}],\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 subjectcategories: [1, 2, 3],\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","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","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(), imageItemFixture()],\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 { 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 { 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 { 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 { 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 { 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"],"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","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","imageObjectSchema","format","secure_url","url","height","width","metadata","any","attribution","usageRestriction","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","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","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","lessonDataFixture","overrides","programmeFieldsFixture","unitDataFixture","unitvariantFixture","textItemFixture","multipleChoiceFixture","shortAnswerFixture","orderFixture","matchFixture","multipleChoiceQuestion","shortAnswerQuestion","orderQuestion","matchQuestion","additionalFilesFixture","mediaObjectFixture","videoObjectFixture","mediaClipCycleFixture","mediaClipsFixture","intro","cycle2","additionalCyclesFixture","cycle3","cycle4","lessonEquipmentAndResourcesFixture","teacherTipsFixture","keywordsFixture","misconceptionsAndCommonMistakesFixture","contentGuidanceFixture","lessonContentFixture","syntheticUnitvariantLessonsFixture","syntheticUnitvariantsWithLessonIdsFixture","syntheticProgrammesByYearFixture","syntheticUnitvariantLessonsByKsFixture","syntheticUnitvariantsWithLessonIdsByKsFixture","threadFixture"],"mappings":"2BAEa,MAAAA,EAAeC,EAAEC,KAAK,CAAC,YAAa,MAAO,cAC3CC,EAAgBF,EAAEC,KAAK,CAClC,YACA,YACA,YACA,MAGWE,EAAaH,EAAEC,KAAK,CAAC,aAAc,UAAW,cAC9CG,EAAoBJ,EAAEC,KAAK,CACtC,+BACA,UACA,cAEWI,EAASL,EAAEC,KAAK,CAAC,aAAc,UAAW,cAE1CK,EAAYN,EAAEC,KAAK,CAC9B,MACA,MACA,MACA,MACA,OACA,mBAEWM,EAAgBP,EAAEC,KAAK,CAClC,MACA,MACA,MACA,MACA,+BACA,WAEWO,EAAuBR,EAAEC,KAAK,CACzC,cACA,cACA,cACA,cACA,+BACA,mBAGWQ,EAAQT,EAAEC,KAAK,CAC1B,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KACA,KACA,KACA,KACA,IACA,QAEWS,EAAYV,EAAEC,KAAK,CAC9B,YACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,UACA,UACA,UACA,UACA,cAEWU,EAAmBX,EAAEC,KAAK,CACrC,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,UACA,UACA,UACA,UACA,YACA,cAGWW,EAAQZ,EAAEC,KAAK,CAAC,OAAQ,aAAc,WACtCY,EAAYb,EAAEC,KAAK,CAAC,OAAQ,aAAc,WAC1Ca,EAAmBd,EAAEC,KAAK,CAAC,OAAQ,aAAc,WAEjDc,EAAWf,EAAEC,KAAK,CAAC,OAAQ,SAC3Be,EAAehB,EAAEC,KAAK,CAAC,OAAQ,SAC/BgB,EAAsBjB,EAAEC,KAAK,CAAC,OAAQ,SAEtCiB,EAAiBlB,EAAEC,KAAK,CACnC,MACA,UACA,SACA,MACA,OACA,aAEWkB,EAAanB,EAAEC,KAAK,CAC/B,MACA,UACA,SACA,MACA,OACA,cAEWmB,EAAwBpB,EAAEC,KAAK,CAC1C,yCACA,UACA,SACA,yCACA,kCACA,cAGWoB,EAAWrB,EAAEC,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,EAAEC,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,EAAEC,KAAK,CACrC,iBACA,kBACA,oBAGWuB,EAAoBxB,EAAEC,KAAK,CAAC,aAE5BwB,EAAoBzB,EAAEC,KAAK,CACtC,kBACA,eACA,cACA,uBACA,iBACA,WACA,eACA,cACA,gBCKWyB,EAAwB1B,EAAE2B,OAAO,CAC5CC,QAASb,EAASc,WAClBC,WAAY9B,EAAE+B,SAASF,WACvBG,aAAchB,EAAaa,WAC3BI,oBAAqBhB,EAAoBY,WACzCK,sBAAuBlC,EAAE+B,SAASF,WAElCM,KAAMvB,EAAMiB,WACZO,QAASpC,EAAE+B,SAASF,WACpBQ,UAAWxB,EAAUgB,WACrBS,iBAAkBxB,EAAiBe,WACnCU,mBAAoBvC,EAAE+B,SAASF,WAE/BW,UAAWrB,EAAWU,WACtBY,aAAczC,EAAE+B,SAASF,WACzBa,eAAgBxB,EAAeW,WAC/Bc,sBAAuBvB,EAAsBS,WAC7Ce,wBAAyB5C,EAAE+B,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AgB,uBAChBpD,WAAW,EACX+C,iBAAkBgD,OCPP+B,GAAyC,EACpDhC,YAAY,CAAE,GAGZ,CAAA,IAAwCnB,OAAAC,OAAA,CAC1CjG,YAAa,cACbwE,UAAW,YACXC,eAAgB,iBAChBgC,uBAAwB,CAAC,uBACzBpF,WAAW,EACXqD,YAAawC,KACbvC,UAAW0C,KACXzC,oBAAqB,EACrBX,eAAgB,EAChBG,iBAAkBgD,KAClBrC,cAAe,EACfG,mBAAoB,CAClB,CAAErC,KAAM,cAAeC,MAAO,eAAgBnG,MAAO,KAEpDwK,GCpBQiC,GAAgD,EAC3DjC,YAAY,CAAA,GAGV,CAAE,IACJnB,OAAAC,OAAA,CAAAb,UAAW,YACXZ,UAAW,YACXC,eAAgB,iBAChBgC,uBAAwB,yBACxBpF,WAAW,EACXgE,aAAc,EACdC,uBAAwB,EACxBC,qBAAsB,EACtBwB,WAAY,CAAC,GACbpC,UAAW0C,KACXzC,oBAAqB,EACrBR,iBAAkBgD,KAClBvC,mBAAoB,CAClBC,WAAY,EACZI,mBAAoB,CAClB,CAAErC,KAAM,cAAeC,MAAO,eAAgBnG,MAAO,KAGzD6I,SAAS,EACTI,QAAS,MACNuB,GC3BQkC,GAAgB,EAC3BlC,YAAY,CAAE,GAGZ,CAAA,IACFnB,OAAAC,OAAA,CAAAU,UAAW,EACXC,aAAc,WACdC,YAAa,YACVM"}
@@ -2,7 +2,7 @@ import { unitDataFixture } from "./unitData.fixture";
2
2
  import { programmeFieldsFixture } from "./programmeFields.fixture";
3
3
  import { SyntheticUnitvariantsWithLessonIdsByYears } from "@/schema/syntheticUnitvariantsWithLessonIdsByYears.schema";
4
4
 
5
- export const syntheticUnitvariantsWithLessonIdsByKsFixture = ({
5
+ export const syntheticUnitvariantsWithLessonIdsByYearsFixture = ({
6
6
  overrides = {},
7
7
  }: {
8
8
  overrides?: Partial<SyntheticUnitvariantsWithLessonIdsByYears>;
@@ -1,4 +1,5 @@
1
1
  export * from "./base.schema";
2
+ export * from "./internal.schema";
2
3
  export * from "./actions.schema";
3
4
  export * from "./features.schema";
4
5
  export * from "./lessonData.schema";
@@ -0,0 +1,21 @@
1
+ import z from "zod";
2
+
3
+ export const baseIngestStates = z.enum([
4
+ "ingest_started",
5
+ "ingest_complete",
6
+ "ready_to_ingest",
7
+ ]);
8
+
9
+ export const assetIngestStates = z.enum(["no_asset"]);
10
+
11
+ export const videoIngestStates = z.enum([
12
+ "adding_captions",
13
+ "mux_complete",
14
+ "sent_to_mux",
15
+ "sent_captions_to_mux",
16
+ "mux_transcoded",
17
+ "no_audio",
18
+ "rev_complete",
19
+ "sent_to_rev",
20
+ "rev_skipped",
21
+ ]);