@oaknational/oak-curriculum-schema 1.48.0 → 1.49.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"]),t=e.enum(["2020-2023","2023-2024","2024-2025","0"]),a=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","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","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:a,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"]),q=e.enum(["pupil","teacher","curriculum"]),O=e.union([x,q]),S=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()}).partial(),P=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()}),C=e.object({image_object:P,type:e.literal("image")}),Y=e.object({text:e.string(),type:e.literal("text")}),E=e.object({answer:e.array(e.union([Y,C]).optional()),answer_is_active:e.boolean().optional(),answer_is_correct:e.boolean().optional()}),T=e.object({answer:e.array(e.union([Y,C]).optional()),answer_is_active:e.boolean().optional(),answer_is_default:e.boolean().optional()}),Q=e.object({answer:e.array(Y),correct_order:e.number().optional(),answer_is_active:e.boolean().optional()}),z=e.object({answer_is_active:e.boolean().optional(),correct_choice:e.array(Y),match_option:e.array(Y).optional()}),A=e.object({question_id:e.number(),question_uid:e.string(),question_type:e.string(),question_stem:e.array(e.union([Y,C])).optional().nullable(),answers:e.object({"multiple-choice":e.array(E).optional(),"short-answer":e.array(T).optional(),order:e.array(Q).optional(),match:e.array(z).optional()}).optional().nullable(),feedback:e.string().optional().nullable(),hint:e.string().optional().nullable(),active:e.boolean().optional(),order:e.number()}),R=e.object({id:e.string(),url:e.string(),type:e.string(),bytes:e.number(),width:e.number(),format:e.string(),height:e.number(),version:e.number(),duration:e.number().nullish(),metadata:e.object({source:e.string().nullish(),usageRestrictions:e.string().nullish(),attribution_required:e.string().nullish()}).nullish(),created_at:e.string(),created_by:e.object({id:e.string(),type:e.string()}),display_name:e.string(),resource_type:e.string()}),W=e.object({files:e.array(e.object({title:e.string(),file_object:R}))}),F=e.object({id:e.string(),url:e.string(),type:e.string(),bytes:e.number(),format:e.string(),duration:e.number().nullable(),display_name:e.string(),resource_type:e.string()}).partial().nullish(),K=e.object({id:e.string(),duration:e.number().nullable(),mux_asset_id:e.string(),playback_ids:e.array(e.object({id:e.string(),policy:e.string()}).partial().nullish()),mux_playback_id:e.string()}).partial().nullish(),N=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:F,video_object:K}).partial().nullish(),G=e.record(e.string(),e.array(N)),J=e.object({media_clips:G}),L=e.object({equipment:e.string()}),U=e.object({key_learning_point:e.string()}),M=e.object({keyword:e.string(),description:e.string()}),D=e.object({misconception:e.string(),response:e.string()}),H=e.object({teacher_tip:e.string()}),B=e.object({contentguidance_label:e.string().nullable(),contentguidance_description:e.string().nullable(),contentguidance_area:e.string().nullable()}),V=e.object({lesson_outline:e.string()}),Z=e.object({lesson_id:e.number(),lesson_slug:e.string(),lesson_title:e.string().nullable(),content_guidance:e.array(B).nullable(),misconceptions_and_common_mistakes:e.array(D).nullable(),teacher_tips:e.array(H).nullable(),equipment_and_resources:e.array(L).nullable(),pupil_lesson_outcome:e.string().nullable(),phonics_outcome:e.string().nullable(),lesson_keywords:e.array(M).nullable(),supervision_level:e.string().nullable(),key_learning_points:e.array(U).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_asset_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(),additional_files:e.array(W).nullish(),has_additional_files:e.boolean().nullish(),media_clips:G.nullish(),lesson_outline:e.array(V).nullable().optional()}),I=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({})),equipment_and_resources:e.array(L).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(V).nullable().optional(),media_clips:G.nullable().optional(),deprecated_fields:e.record(e.unknown()).nullable(),_state:i,_cohort:t,updated_at:e.string()}),X=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:t,expiration_date:e.string().nullable()}),$=e.object({_state:i,_cohort:t,unit_id:e.number(),unitvariant_id:e.number(),_deleted:e.boolean(),unit_overrides:X.partial(),programme_fields:f.partial()}),ee=e.object({lesson_slug:e.string(),unit_slug:e.string(),programme_slug:e.string(),is_legacy:e.boolean(),lesson_data:I,unit_data:X,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:S.nullable().optional(),features:e.object({}).optional().nullable()}),ie=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:X,null_unitvariant_id:e.number(),programme_fields:f,supplementary_data:e.object({unit_order:e.number()}),expired:e.boolean(),actions:S.nullable().optional(),features:e.object({}).optional().nullable()}),te=e.object({year_slug:_,programme_slug:e.string(),base_slug:e.string(),is_legacy:e.boolean(),programme_fields:f,actions:S.nullable().optional(),features:e.object({}).optional().nullable()}),ae=e.object({unit_id:e.number(),threads:e.array(e.object({theme_slug:e.string(),theme_title:e.string()})).nullable()}),ne=e.object(Object.assign(Object.assign({},ee.omit({null_unitvariant_id:!0}).shape),{unitvariant_id:e.number().nullable(),null_unitvariant:$,programme_fields:f.omit({pathway:!0,pathway_description:!0,pathway_display_order:!0,pathway_id:!0,pathway_slug:!0})})),se=ne.pick({lesson_data:!0,programme_fields:!0,is_legacy:!0,programme_slug:!0}),re=e.array(se),le=e.object(Object.assign(Object.assign({},ee.omit({supplementary_data:!0}).shape),{programme_slug_by_year:e.string().array(),order_in_unit:e.number()})),oe=e.object({thread_id:e.number(),thread_title:e.string(),thread_slug:e.string()}),ue=e.object(Object.assign(Object.assign({},ie.shape),{programme_slug_by_year:e.string(),lesson_ids:e.array(e.number()).nullable(),threads:e.array(oe).nullable()})),_e=({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},e),de=({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),ce=({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),pe=({overrides:e={}}={})=>Object.assign({unitvariant_id:1,unit_id:1,_deleted:!1,_state:"published",_cohort:"2023-2024",unit_overrides:{},programme_fields:{}},e),ge=({overrides:e={}}={})=>Object.assign({text:"Hello, World!",type:"text"},e),be=({overrides:e={}}={})=>Object.assign({answer:[ge(),{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),me=({overrides:e={}}={})=>Object.assign({answer:[ge(),{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),ye=({overrides:e={}}={})=>Object.assign({answer:[ge()],correct_order:1,answer_is_active:!0},e),he=({overrides:e={}}={})=>Object.assign({answer_is_active:!0,correct_choice:[ge({overrides:{text:"Paris"}})],match_option:[ge({overrides:{text:"Capital of France"}})]},e),ve=({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":[be({overrides:{answer_is_correct:!0}}),be({overrides:{answer_is_correct:!1}}),be({overrides:{answer_is_correct:!1}}),be({overrides:{answer_is_correct:!1}})]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:1},e),je=({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":[me()]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:2},e),we=({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:[ye({overrides:{correct_order:1}}),ye({overrides:{correct_order:2}}),ye({overrides:{correct_order:3}}),ye({overrides:{correct_order:4}})]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:3},e),ke=({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:[he(),he(),he(),he()]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:4},e),fe=({overrides:e}={})=>Object.assign({files:[{title:"Sample File 1",file_object:{format:"jpg",id:"file123",url:"https://www.example.com",type:"image",bytes:5e3,width:1920,height:1080,version:1,duration:120,metadata:{source:"camera",usageRestrictions:"none",attribution_required:"yes"},created_at:"2023-01-01T00:00:00Z",created_by:{id:"user123",type:"admin"},display_name:"Sample Display Name",resource_type:"image"}},{title:"Sample File 2",file_object:{id:"file456",url:"https://www.example.com",type:"video",bytes:1e4,width:1280,format:"mp4",height:720,version:2,duration:300,metadata:{source:"screen_recording",usageRestrictions:"internal",attribution_required:"no"},created_at:"2023-02-01T00:00:00Z",created_by:{id:"user456",type:"user"},display_name:"Another Display Name",resource_type:"video"}}]},e),xe=({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:{id:"4de4d70775b95bbc722d4d259fb033ad",url:"http://example.com/video1.mp3",type:"upload",bytes:81127,format:"mp3",duration:5.041633,display_name:"9_task_C1_3",resource_type:"video"},video_object:{id:"hug9i01Tnpf1y83irOm00HRbvAJpttJPU78KNYzPav3mg",duration:5.055667,mux_asset_id:"hug9i01Tnpf1y83irOm00HRbvAJpttJPU78KNYzPav3mg",playback_ids:[{id:"mVkKUtOfoD1100012GNC1pCO6RvUgyGwqGoq01pYsy7WeA",policy:"signed"},{id:"BW00NkK9R01jB8PPO7R00YCFl2XBDn13GTkhd0001PNtheF00",policy:"public"}],mux_playback_id:"BW00NkK9R01jB8PPO7R00YCFl2XBDn13GTkhd0001PNtheF00"}},{order:"2",media_id:"191189",video_id:29845,media_type:"video",custom_title:"Intro Video 2",media_object:{id:"e3331a6ee856256933cee73f7a62041b",url:"http://example.com/video2.mp3",type:"upload",bytes:122087,format:"mp3",duration:7.601633,display_name:"8_task_C1_2",resource_type:"video"},video_object:{id:"gyUmSG2VVqcuw00NzT9f02kZvlLmXsrnuT5P7KhrYhWJg",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:{id:"3690e090829ca49c5506d6b90fd1106b",url:"http://oaknationalacademy-res.cloudinary.com/video/upload/v1736420414/u5bptym7h8ts8nyyrpwg.mp4",type:"upload",bytes:276767,format:"mp4",duration:5.613111,display_name:"australia fact",resource_type:"video"},video_object:{id:"4yb74fNKob6M6AT02AFTmsTrJEgXUl00WQWhpt01KttWcI",duration:5.613111,mux_asset_id:"4yb74fNKob6M6AT02AFTmsTrJEgXUl00WQWhpt01KttWcI",playback_ids:[{id:"RUIUNGcGf01kgZU1xC5peDCvGpC2d2YeRcwSMfJ4cvMk",policy:"public"},{id:"NVs5TJ5Lt6POkNwDBNtHZth2a2VtBvsyorgJPQfO6W4",policy:"signed"}],mux_playback_id:"RUIUNGcGf01kgZU1xC5peDCvGpC2d2YeRcwSMfJ4cvMk"}}]}},e),qe=()=>({equipment:"equipment"}),Oe=()=>({teacher_tip:"teacher-tip"}),Se=()=>({keyword:"keyword",description:"description"}),Pe=()=>({misconception:"misconception",response:"response"}),Ce=()=>({contentguidance_label:"contentguidance-label",contentguidance_description:"contentguidance-description",contentguidance_area:"contentguidance-area"}),Ye=({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:[ve({overrides:{order:1,question_uid:"starter-quiz-1"}}),we({overrides:{order:2,question_uid:"starter-quiz-2"}}),ke({overrides:{order:3,question_uid:"starter-quiz-3"}}),je({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_asset_object:!0,lesson_guide_asset_object_url:"lesson-guide-asset-object-url",has_lesson_guide_google_drive_downloadable_version:!1,additional_files:[fe()],media_clips:xe().media_clips,lesson_outline:[{lesson_outline:"lesson-outline-1"},{lesson_outline:"lesson-outline-2"}]},e),Ee=({overrides:e={}}={})=>Object.assign({lesson_slug:"lesson-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",is_legacy:!1,lesson_data:_e(),unit_data:ce(),null_unitvariant_id:0,programme_fields:de(),supplementary_data:{unit_order:1,order_in_unit:1}},e),Te=({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:ce(),null_unitvariant_id:0,programme_fields:de(),supplementary_data:{unit_order:1},expired:!1},e),Qe=({overrides:e={}}={})=>({year_slug:"year-1",base_slug:"maths-primary-year-1",programme_slug:"maths-primary-year-1",is_legacy:!1,programme_fields:de()}),ze=({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:_e(),unit_data:ce(),null_unitvariant_id:1,unitvariant_id:1,programme_fields:de(),order_in_unit:1},e),Ae=({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:ce(),null_unitvariant_id:0,programme_fields:de(),supplementary_data:{unit_order:1},expired:!1,threads:null},e),Re=({overrides:e={}}={})=>Object.assign({thread_id:1,thread_title:"A thread",thread_slug:"a-thread"},e);export{t as _cohortSchema,i as _stateSchema,S as actionsSchema,fe as additionalFilesFixture,W as additionalFilesSchema,F as clipMediaObjectSchema,K as clipVideoObjectSchema,Ce as contentGuidanceFixture,B as contentGuidanceSchema,j as examboardDescriptions,h as examboardSlugs,v as examboards,R as fileObjectSchema,C as imageItemSchema,P as imageObjectSchema,O as journeysAndQueriesSchema,q as journeysSchema,U as keyLearningPointsSchema,o as keystageDescriptions,l as keystageSlugs,r as keystages,Se as keywordsFixture,M as keywordsSchema,Ye as lessonContentFixture,Z as lessonContentSchema,_e as lessonDataFixture,I as lessonDataSchema,qe as lessonEquipmentAndResourcesFixture,L as lessonEquipmentAndResourcesSchema,J as lessonMediaClipsSchema,V as lessonOutlineSchema,he as matchFixture,ke as matchQuestion,z as matchSchema,N as mediaClipCycleSchema,xe as mediaClipsFixture,G as mediaClipsRecordSchema,Pe as misconceptionsAndCommonMistakesFixture,D as misconceptionsAndCommonMistakesSchema,be as multipleChoiceFixture,ve as multipleChoiceQuestion,E as multipleChoiceSchema,ye as orderFixture,we as orderQuestion,Q as orderSchema,y as pathwayDescriptions,m as pathwaySlugs,b as pathways,n as phaseDescriptions,a as phaseSlugs,s as phases,de as programmeFieldsFixture,f as programmeFieldsSchema,se as programmeListingResponseSchema,re as programmeListingResponseSchemaArray,x as queriesSchema,A as quizQuestionSchema,me as shortAnswerFixture,je as shortAnswerQuestion,T as shortAnswerSchema,k as subjectSlugs,w as subjects,Qe as syntheticProgrammesByYearFixture,te as syntheticProgrammesByYearSchema,ze as syntheticUnitvariantLessonsByKsFixture,le as syntheticUnitvariantLessonsByKsSchema,ne as syntheticUnitvariantLessonsByKsSchemaOld,Ee as syntheticUnitvariantLessonsFixture,ee as syntheticUnitvariantLessonsSchema,Ae as syntheticUnitvariantsWithLessonIdsByKsFixture,ue as syntheticUnitvariantsWithLessonIdsByKsSchema,Te as syntheticUnitvariantsWithLessonIdsFixture,ie as syntheticUnitvariantsWithLessonIdsSchema,Oe as teacherTipsFixture,H as teacherTipsSchema,Y as textItemSchema,Re as threadFixture,oe as threadSchema,ae as threadsByUnitSchema,g as tierDescriptions,p as tierSlugs,c as tiers,ce as unitDataFixture,X as unitDataSchema,pe as unitvariantFixture,$ as unitvariantSchema,d as yearDescriptions,_ as yearSlugs,u as years};
1
+ import{z as e}from"zod";const i=e.enum(["published","new","migration"]),t=e.enum(["2020-2023","2023-2024","2024-2025","0"]),a=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","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","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:a,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"]),q=e.enum(["pupil","teacher","curriculum"]),O=e.union([x,q]),P=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()}).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()}),C=e.object({image_object:S,type:e.literal("image")}),Y=e.object({text:e.string(),type:e.literal("text")}),E=e.object({answer:e.array(e.union([Y,C]).optional()),answer_is_active:e.boolean().optional(),answer_is_correct:e.boolean().optional()}),T=e.object({answer:e.array(e.union([Y,C]).optional()),answer_is_active:e.boolean().optional(),answer_is_default:e.boolean().optional()}),Q=e.object({answer:e.array(Y),correct_order:e.number().optional(),answer_is_active:e.boolean().optional()}),z=e.object({answer_is_active:e.boolean().optional(),correct_choice:e.array(Y),match_option:e.array(Y).optional()}),A=e.object({question_id:e.number(),question_uid:e.string(),question_type:e.string(),question_stem:e.array(e.union([Y,C])).optional().nullable(),answers:e.object({"multiple-choice":e.array(E).optional(),"short-answer":e.array(T).optional(),order:e.array(Q).optional(),match:e.array(z).optional()}).optional().nullable(),feedback:e.string().optional().nullable(),hint:e.string().optional().nullable(),active:e.boolean().optional(),order:e.number()}),R=e.object({id:e.string(),url:e.string(),type:e.string(),bytes:e.number(),width:e.number(),format:e.string(),height:e.number(),version:e.number(),duration:e.number().nullish(),metadata:e.object({source:e.string().nullish(),usageRestrictions:e.string().nullish(),attribution_required:e.string().nullish()}).nullish(),created_at:e.string(),created_by:e.object({id:e.string(),type:e.string()}),display_name:e.string(),resource_type:e.string()}),W=e.object({files:e.array(e.object({title:e.string(),file_object:R}))}),F=e.object({id:e.string(),url:e.string(),type:e.string(),bytes:e.number(),format:e.string(),duration:e.number().nullable(),display_name:e.string(),resource_type:e.string()}).partial().nullish(),K=e.object({id:e.string(),duration:e.number().nullable(),mux_asset_id:e.string(),playback_ids:e.array(e.object({id:e.string(),policy:e.string()}).partial().nullish()),mux_playback_id:e.string()}).partial().nullish(),N=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:F,video_object:K}).partial().nullish(),G=e.record(e.string(),e.array(N)),J=e.object({media_clips:G}),L=e.object({equipment:e.string()}),U=e.object({key_learning_point:e.string()}),M=e.object({keyword:e.string(),description:e.string()}),D=e.object({misconception:e.string(),response:e.string()}),H=e.object({teacher_tip:e.string()}),B=e.object({contentguidance_label:e.string().nullable(),contentguidance_description:e.string().nullable(),contentguidance_area:e.string().nullable()}),V=e.object({lesson_outline:e.string()}),Z=e.object({lesson_id:e.number(),lesson_slug:e.string(),lesson_title:e.string().nullable(),content_guidance:e.array(B).nullable(),misconceptions_and_common_mistakes:e.array(D).nullable(),teacher_tips:e.array(H).nullable(),equipment_and_resources:e.array(L).nullable(),pupil_lesson_outcome:e.string().nullable(),phonics_outcome:e.string().nullable(),lesson_keywords:e.array(M).nullable(),supervision_level:e.string().nullable(),key_learning_points:e.array(U).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_asset_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(),additional_files:e.array(W).nullish(),has_additional_files:e.boolean().nullish(),media_clips:G.nullish(),lesson_outline:e.array(V).nullable().optional()}),I=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({})),equipment_and_resources:e.array(L).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(V).nullable().optional(),media_clips:G.nullable().optional(),deprecated_fields:e.record(e.unknown()).nullable(),_state:i,_cohort:t,updated_at:e.string()}),X=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:t,expiration_date:e.string().nullable()}),$=e.object({_state:i,_cohort:t,unit_id:e.number(),unitvariant_id:e.number(),_deleted:e.boolean(),unit_overrides:X.partial(),programme_fields:f.partial()}),ee=e.object({lesson_slug:e.string(),unit_slug:e.string(),programme_slug:e.string(),is_legacy:e.boolean(),lesson_data:I,unit_data:X,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:P.nullable().optional(),features:e.object({}).optional().nullable()}),ie=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:X,null_unitvariant_id:e.number(),programme_fields:f,supplementary_data:e.object({unit_order:e.number()}),expired:e.boolean(),actions:P.nullable().optional(),features:e.object({}).optional().nullable()}),te=e.object({year_slug:_,programme_slug:e.string(),base_slug:e.string(),is_legacy:e.boolean(),programme_fields:f,actions:P.nullable().optional(),features:e.object({}).optional().nullable()}),ae=e.object({unit_id:e.number(),threads:e.array(e.object({theme_slug:e.string(),theme_title:e.string()})).nullable()}),ne=e.object(Object.assign(Object.assign({},ee.omit({null_unitvariant_id:!0}).shape),{unitvariant_id:e.number().nullable(),null_unitvariant:$,programme_fields:f.omit({pathway:!0,pathway_description:!0,pathway_display_order:!0,pathway_id:!0,pathway_slug:!0})})),se=ne.pick({lesson_data:!0,programme_fields:!0,is_legacy:!0,programme_slug:!0}),re=e.array(se),le=e.object(Object.assign(Object.assign({},ee.omit({supplementary_data:!0}).shape),{programme_slug_by_year:e.string().array(),order_in_unit:e.number()})),oe=e.object({thread_id:e.number(),thread_title:e.string(),thread_slug:e.string()}),ue=e.object(Object.assign(Object.assign({},ie.shape),{programme_slug_by_year:e.string(),lesson_ids:e.array(e.number()).nullable(),threads:e.array(oe).nullable()})),_e=({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},e),de=({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),ce=({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),pe=({overrides:e={}}={})=>Object.assign({unitvariant_id:1,unit_id:1,_deleted:!1,_state:"published",_cohort:"2023-2024",unit_overrides:{},programme_fields:{}},e),ge=({overrides:e={}}={})=>Object.assign({text:"Hello, World!",type:"text"},e),be=({overrides:e={}}={})=>Object.assign({answer:[ge(),{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),me=({overrides:e={}}={})=>Object.assign({answer:[ge(),{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),ye=({overrides:e={}}={})=>Object.assign({answer:[ge()],correct_order:1,answer_is_active:!0},e),he=({overrides:e={}}={})=>Object.assign({answer_is_active:!0,correct_choice:[ge({overrides:{text:"Paris"}})],match_option:[ge({overrides:{text:"Capital of France"}})]},e),ve=({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":[be({overrides:{answer_is_correct:!0}}),be({overrides:{answer_is_correct:!1}}),be({overrides:{answer_is_correct:!1}}),be({overrides:{answer_is_correct:!1}})]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:1},e),je=({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":[me()]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:2},e),we=({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:[ye({overrides:{correct_order:1}}),ye({overrides:{correct_order:2}}),ye({overrides:{correct_order:3}}),ye({overrides:{correct_order:4}})]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:3},e),ke=({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:[he(),he(),he(),he()]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:4},e),fe=({overrides:e}={})=>Object.assign({files:[{title:"Sample File 1",file_object:{format:"jpg",id:"file123",url:"https://www.example.com",type:"image",bytes:5e3,width:1920,height:1080,version:1,duration:120,metadata:{source:"camera",usageRestrictions:"none",attribution_required:"yes"},created_at:"2023-01-01T00:00:00Z",created_by:{id:"user123",type:"admin"},display_name:"Sample Display Name",resource_type:"image"}},{title:"Sample File 2",file_object:{id:"file456",url:"https://www.example.com",type:"video",bytes:1e4,width:1280,format:"mp4",height:720,version:2,duration:300,metadata:{source:"screen_recording",usageRestrictions:"internal",attribution_required:"no"},created_at:"2023-02-01T00:00:00Z",created_by:{id:"user456",type:"user"},display_name:"Another Display Name",resource_type:"video"}}]},e),xe=({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:{id:"4de4d70775b95bbc722d4d259fb033ad",url:"http://example.com/video1.mp3",type:"upload",bytes:81127,format:"mp3",duration:5.041633,display_name:"9_task_C1_3",resource_type:"video"},video_object:{id:"hug9i01Tnpf1y83irOm00HRbvAJpttJPU78KNYzPav3mg",duration:5.055667,mux_asset_id:"hug9i01Tnpf1y83irOm00HRbvAJpttJPU78KNYzPav3mg",playback_ids:[{id:"mVkKUtOfoD1100012GNC1pCO6RvUgyGwqGoq01pYsy7WeA",policy:"signed"},{id:"BW00NkK9R01jB8PPO7R00YCFl2XBDn13GTkhd0001PNtheF00",policy:"public"}],mux_playback_id:"BW00NkK9R01jB8PPO7R00YCFl2XBDn13GTkhd0001PNtheF00"}},{order:"2",media_id:"191189",video_id:29845,media_type:"video",custom_title:"Intro Video 2",media_object:{id:"e3331a6ee856256933cee73f7a62041b",url:"http://example.com/video2.mp3",type:"upload",bytes:122087,format:"mp3",duration:7.601633,display_name:"8_task_C1_2",resource_type:"video"},video_object:{id:"gyUmSG2VVqcuw00NzT9f02kZvlLmXsrnuT5P7KhrYhWJg",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:{id:"3690e090829ca49c5506d6b90fd1106b",url:"http://oaknationalacademy-res.cloudinary.com/video/upload/v1736420414/u5bptym7h8ts8nyyrpwg.mp4",type:"upload",bytes:276767,format:"mp4",duration:5.613111,display_name:"australia fact",resource_type:"video"},video_object:{id:"4yb74fNKob6M6AT02AFTmsTrJEgXUl00WQWhpt01KttWcI",duration:5.613111,mux_asset_id:"4yb74fNKob6M6AT02AFTmsTrJEgXUl00WQWhpt01KttWcI",playback_ids:[{id:"RUIUNGcGf01kgZU1xC5peDCvGpC2d2YeRcwSMfJ4cvMk",policy:"public"},{id:"NVs5TJ5Lt6POkNwDBNtHZth2a2VtBvsyorgJPQfO6W4",policy:"signed"}],mux_playback_id:"RUIUNGcGf01kgZU1xC5peDCvGpC2d2YeRcwSMfJ4cvMk"}}]}},e),qe=()=>({equipment:"equipment"}),Oe=()=>({teacher_tip:"teacher-tip"}),Pe=()=>({keyword:"keyword",description:"description"}),Se=()=>({misconception:"misconception",response:"response"}),Ce=()=>({contentguidance_label:"contentguidance-label",contentguidance_description:"contentguidance-description",contentguidance_area:"contentguidance-area"}),Ye=({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:[ve({overrides:{order:1,question_uid:"starter-quiz-1"}}),we({overrides:{order:2,question_uid:"starter-quiz-2"}}),ke({overrides:{order:3,question_uid:"starter-quiz-3"}}),je({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_asset_object:!0,lesson_guide_asset_object_url:"lesson-guide-asset-object-url",has_lesson_guide_google_drive_downloadable_version:!1,additional_files:[fe()],media_clips:xe().media_clips,lesson_outline:[{lesson_outline:"lesson-outline-1"},{lesson_outline:"lesson-outline-2"}]},e),Ee=({overrides:e={}}={})=>Object.assign({lesson_slug:"lesson-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",is_legacy:!1,lesson_data:_e(),unit_data:ce(),null_unitvariant_id:0,programme_fields:de(),supplementary_data:{unit_order:1,order_in_unit:1}},e),Te=({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:ce(),null_unitvariant_id:0,programme_fields:de(),supplementary_data:{unit_order:1},expired:!1},e),Qe=({overrides:e={}}={})=>({year_slug:"year-1",base_slug:"maths-primary-year-1",programme_slug:"maths-primary-year-1",is_legacy:!1,programme_fields:de()}),ze=({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:_e(),unit_data:ce(),null_unitvariant_id:1,unitvariant_id:1,programme_fields:de(),order_in_unit:1},e),Ae=({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:ce(),null_unitvariant_id:0,programme_fields:de(),supplementary_data:{unit_order:1},expired:!1,threads:null},e),Re=({overrides:e={}}={})=>Object.assign({thread_id:1,thread_title:"A thread",thread_slug:"a-thread"},e);export{t as _cohortSchema,i as _stateSchema,P as actionsSchema,fe as additionalFilesFixture,W as additionalFilesSchema,F as clipMediaObjectSchema,K as clipVideoObjectSchema,Ce as contentGuidanceFixture,B as contentGuidanceSchema,j as examboardDescriptions,h as examboardSlugs,v as examboards,R as fileObjectSchema,C as imageItemSchema,S as imageObjectSchema,O as journeysAndQueriesSchema,q as journeysSchema,U as keyLearningPointsSchema,o as keystageDescriptions,l as keystageSlugs,r as keystages,Pe as keywordsFixture,M as keywordsSchema,Ye as lessonContentFixture,Z as lessonContentSchema,_e as lessonDataFixture,I as lessonDataSchema,qe as lessonEquipmentAndResourcesFixture,L as lessonEquipmentAndResourcesSchema,J as lessonMediaClipsSchema,V as lessonOutlineSchema,he as matchFixture,ke as matchQuestion,z as matchSchema,N as mediaClipCycleSchema,xe as mediaClipsFixture,G as mediaClipsRecordSchema,Se as misconceptionsAndCommonMistakesFixture,D as misconceptionsAndCommonMistakesSchema,be as multipleChoiceFixture,ve as multipleChoiceQuestion,E as multipleChoiceSchema,ye as orderFixture,we as orderQuestion,Q as orderSchema,y as pathwayDescriptions,m as pathwaySlugs,b as pathways,n as phaseDescriptions,a as phaseSlugs,s as phases,de as programmeFieldsFixture,f as programmeFieldsSchema,se as programmeListingResponseSchema,re as programmeListingResponseSchemaArray,x as queriesSchema,A as quizQuestionSchema,me as shortAnswerFixture,je as shortAnswerQuestion,T as shortAnswerSchema,k as subjectSlugs,w as subjects,Qe as syntheticProgrammesByYearFixture,te as syntheticProgrammesByYearSchema,ze as syntheticUnitvariantLessonsByKsFixture,le as syntheticUnitvariantLessonsByKsSchema,ne as syntheticUnitvariantLessonsByKsSchemaOld,Ee as syntheticUnitvariantLessonsFixture,ee as syntheticUnitvariantLessonsSchema,Ae as syntheticUnitvariantsWithLessonIdsByKsFixture,ue as syntheticUnitvariantsWithLessonIdsByKsSchema,Te as syntheticUnitvariantsWithLessonIdsFixture,ie as syntheticUnitvariantsWithLessonIdsSchema,Oe as teacherTipsFixture,H as teacherTipsSchema,Y as textItemSchema,Re as threadFixture,oe as threadSchema,ae as threadsByUnitSchema,g as tierDescriptions,p as tierSlugs,c as tiers,ce as unitDataFixture,X as unitDataSchema,pe as unitvariantFixture,$ as unitvariantSchema,d as yearDescriptions,_ as yearSlugs,u 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/imageTextItems.schema.ts","../../src/schema/quizAnswers.schema.ts","../../src/schema/quizQuestion.schema.ts","../../src/schema/additionalFiles.schema.ts","../../src/schema/mediaClips.schema.ts","../../src/schema/lessonContent.schema.ts","../../src/schema/lessonData.schema.ts","../../src/schema/unitData.schema.ts","../../src/schema/unitvariant.schema.ts","../../src/schema/syntheticUnitvariantLessons.schema.ts","../../src/schema/syntheticUnitvariantsWithLessonIds.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/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 \"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 \"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\";\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]);\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 })\n .partial();\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 fileObjectSchema = z.object({\n id: z.string(),\n url: z.string(),\n type: z.string(),\n bytes: z.number(),\n width: z.number(),\n format: z.string(),\n height: z.number(),\n version: z.number(),\n duration: z.number().nullish(),\n metadata: z\n .object({\n source: z.string().nullish(),\n usageRestrictions: z.string().nullish(),\n attribution_required: z.string().nullish(),\n })\n .nullish(),\n created_at: z.string(),\n created_by: z.object({\n id: z.string(),\n type: z.string(),\n }),\n display_name: z.string(),\n resource_type: z.string(),\n});\n\nexport const additionalFilesSchema = z.object({\n files: z.array(\n z.object({\n title: z.string(),\n file_object: fileObjectSchema,\n }),\n ),\n});\n\nexport type FileObject = z.infer<typeof fileObjectSchema>;\nexport type AdditionalFiles = z.infer<typeof additionalFilesSchema>;\n","import { z } from \"zod\";\n\n// TODO: Schema is not complete so until data & structure is consistent is known partial() & nullish() being implemented\n\nexport const clipMediaObjectSchema = z\n .object({\n id: z.string(),\n url: z.string(),\n type: z.string(),\n bytes: z.number(),\n format: z.string(),\n duration: z.number().nullable(),\n display_name: z.string(),\n resource_type: z.string(),\n })\n .partial()\n .nullish();\n\nexport const clipVideoObjectSchema = z\n .object({\n id: z.string(),\n duration: z.number().nullable(),\n mux_asset_id: z.string(),\n playback_ids: z.array(\n z\n .object({\n id: z.string(),\n policy: z.string(),\n })\n .partial()\n .nullish(),\n ),\n mux_playback_id: z.string(),\n })\n .partial()\n .nullish();\n\nexport const mediaClipCycleSchema = z\n .object({\n // Test data had mixture 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: clipMediaObjectSchema,\n video_object: clipVideoObjectSchema,\n })\n .partial()\n .nullish();\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 ClipMediaObject = z.infer<typeof clipMediaObjectSchema>;\nexport type ClipVideoObject = z.infer<typeof clipVideoObjectSchema>;\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\nimport { quizQuestionSchema } from \"./quizQuestion.schema\";\nimport { _stateSchema } from \"./base.schema\";\nimport { additionalFilesSchema } from \"./additionalFiles.schema\";\nimport { mediaClipsRecordSchema } from \"./mediaClips.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 // currently set to optional whilst PE lessons are unpublished so as not to break lesson pages\n lesson_guide_asset_id: z.number().nullable().optional(),\n has_lesson_guide_asset_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 additional_files: z.array(additionalFilesSchema).nullish(),\n has_additional_files: z.boolean().nullish(),\n media_clips: mediaClipsRecordSchema.nullish(),\n lesson_outline: z.array(lessonOutlineSchema).nullable().optional(),\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({})),\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});\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\";\nimport { lessonDataSchema } from \"./lessonData.schema\";\nimport { unitDataSchema } from \"./unitData.schema\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\nimport { actionsSchema } from \"./actions.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: z.object({}).optional().nullable(),\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\";\n\nexport const syntheticUnitvariantsWithLessonIdsSchema = 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 }),\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 SyntheticUnitvariantsWithLessonIds = z.infer<\n typeof syntheticUnitvariantsWithLessonIdsSchema\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.object({}).optional().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 { syntheticUnitvariantsWithLessonIdsSchema } from \"./syntheticUnitvariantsWithLessonIds.schema\";\nimport { threadSchema } from \"./thread.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsByKsSchema = z.object({\n ...syntheticUnitvariantsWithLessonIdsSchema.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 { 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 ...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 files: [\n {\n title: \"Sample File 1\",\n file_object: {\n format: \"jpg\",\n id: \"file123\",\n url: \"https://www.example.com\",\n type: \"image\",\n bytes: 5000,\n width: 1920,\n height: 1080,\n version: 1,\n duration: 120,\n metadata: {\n source: \"camera\",\n usageRestrictions: \"none\",\n attribution_required: \"yes\",\n },\n created_at: \"2023-01-01T00:00:00Z\",\n created_by: {\n id: \"user123\",\n type: \"admin\",\n },\n display_name: \"Sample Display Name\",\n resource_type: \"image\",\n },\n },\n {\n title: \"Sample File 2\",\n file_object: {\n id: \"file456\",\n url: \"https://www.example.com\",\n type: \"video\",\n bytes: 10000,\n width: 1280,\n format: \"mp4\",\n height: 720,\n version: 2,\n duration: 300,\n metadata: {\n source: \"screen_recording\",\n usageRestrictions: \"internal\",\n attribution_required: \"no\",\n },\n created_at: \"2023-02-01T00:00:00Z\",\n created_by: {\n id: \"user456\",\n type: \"user\",\n },\n display_name: \"Another Display Name\",\n resource_type: \"video\",\n },\n },\n ],\n ...overrides,\n});\nexport default additionalFilesFixture;\n","import { LessonMediaClips } from \"@/schema/mediaClips.schema\";\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: {\n id: \"4de4d70775b95bbc722d4d259fb033ad\",\n url: \"http://example.com/video1.mp3\",\n type: \"upload\",\n bytes: 81127,\n format: \"mp3\",\n duration: 5.041633,\n\n display_name: \"9_task_C1_3\",\n resource_type: \"video\",\n },\n video_object: {\n id: \"hug9i01Tnpf1y83irOm00HRbvAJpttJPU78KNYzPav3mg\",\n\n duration: 5.055667,\n\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 },\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 id: \"e3331a6ee856256933cee73f7a62041b\",\n url: \"http://example.com/video2.mp3\",\n type: \"upload\",\n bytes: 122087,\n format: \"mp3\",\n duration: 7.601633,\n\n display_name: \"8_task_C1_2\",\n resource_type: \"video\",\n },\n video_object: {\n id: \"gyUmSG2VVqcuw00NzT9f02kZvlLmXsrnuT5P7KhrYhWJg\",\n\n duration: 7.603667,\n\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 id: \"3690e090829ca49c5506d6b90fd1106b\",\n url: \"http://oaknationalacademy-res.cloudinary.com/video/upload/v1736420414/u5bptym7h8ts8nyyrpwg.mp4\",\n type: \"upload\",\n bytes: 276767,\n format: \"mp4\",\n duration: 5.613111,\n\n display_name: \"australia fact\",\n resource_type: \"video\",\n },\n video_object: {\n id: \"4yb74fNKob6M6AT02AFTmsTrJEgXUl00WQWhpt01KttWcI\",\n\n duration: 5.613111,\n\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\n mux_playback_id: \"RUIUNGcGf01kgZU1xC5peDCvGpC2d2YeRcwSMfJ4cvMk\",\n },\n },\n ],\n },\n ...overrides,\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_asset_object: true,\n lesson_guide_asset_object_url: \"lesson-guide-asset-object-url\",\n has_lesson_guide_google_drive_downloadable_version: false,\n additional_files: [additionalFilesFixture()],\n media_clips: mediaClipsFixture().media_clips,\n lesson_outline: [\n { lesson_outline: \"lesson-outline-1\" },\n { lesson_outline: \"lesson-outline-2\" },\n ],\n ...overrides,\n});\n","import { SyntheticUnitvariantLessons } from \"@/schema/syntheticUnitvariantLessons.schema\";\n\nimport { lessonDataFixture } from \"./lessonData.fixture\";\nimport { unitDataFixture } from \"./unitData.fixture\";\nimport { unitvariantFixture } from \"./unitvariant.fixture\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\n\n// To be deprecated\nexport const syntheticUnitvariantLessonsFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticUnitvariantLessons>;\n} = {}): SyntheticUnitvariantLessons => ({\n lesson_slug: \"lesson-slug\",\n unit_slug: \"unit-slug\",\n programme_slug: \"programme-slug\",\n is_legacy: false,\n lesson_data: lessonDataFixture(),\n unit_data: unitDataFixture(),\n null_unitvariant_id: 0,\n programme_fields: programmeFieldsFixture(),\n supplementary_data: {\n unit_order: 1,\n order_in_unit: 1,\n },\n ...overrides,\n});\n","import { unitDataFixture } from \"./unitData.fixture\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\nimport { SyntheticUnitvariantsWithLessonIds } from \"@/schema/syntheticUnitvariantsWithLessonIds.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticUnitvariantsWithLessonIds>;\n} = {}): SyntheticUnitvariantsWithLessonIds => ({\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 ...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 },\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","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","fileObjectSchema","id","bytes","duration","source","usageRestrictions","attribution_required","created_at","created_by","display_name","resource_type","additionalFilesSchema","files","title","file_object","clipMediaObjectSchema","clipVideoObjectSchema","mux_asset_id","playback_ids","policy","mux_playback_id","mediaClipCycleSchema","or","media_id","video_id","media_type","custom_title","media_object","video_object","mediaClipsRecordSchema","record","lessonMediaClipsSchema","media_clips","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_asset_object","lesson_guide_asset_object_url","has_lesson_guide_google_drive_downloadable_version","geo_restricted","login_required","additional_files","has_additional_files","lessonDataSchema","lesson_uid","slug","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","syntheticUnitvariantLessonsSchema","unit_slug","programme_slug","lesson_data","unit_data","null_unitvariant_id","supplementary_data","unit_order","order_in_unit","actions","features","syntheticUnitvariantsWithLessonIdsSchema","base_slug","lesson_count","lesson_sensitive_count","lesson_expired_count","expired","syntheticProgrammesByYearSchema","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","lessonDataFixture","overrides","programmeFieldsFixture","unitDataFixture","unitvariantFixture","textItemFixture","multipleChoiceFixture","shortAnswerFixture","orderFixture","matchFixture","multipleChoiceQuestion","shortAnswerQuestion","orderQuestion","matchQuestion","additionalFilesFixture","mediaClipsFixture","intro","cycle2","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,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,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,sBCjMWsB,EAAwBvB,EAAEwB,OAAO,CAC5CC,QAASV,EAASW,WAClBC,WAAY3B,EAAE4B,SAASF,WACvBG,aAAcb,EAAaU,WAC3BI,oBAAqBb,EAAoBS,WACzCK,sBAAuB/B,EAAE4B,SAASF,WAElCM,KAAMpB,EAAMc,WACZO,QAASjC,EAAE4B,SAASF,WACpB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,SAAS,GACNwB,GCpBQyB,GAAmC,EAC9CzB,YAAY,CAAE,GAGZ,CAAA,KAAmC,CACrCjP,UAAW,SACXqN,UAAW,uBACXV,eAAgB,uBAChBlD,WAAW,EACX+C,iBAAkB0C,OCPPyB,GAAyC,EACpD1B,YAAY,CAAE,GAGZ,CAAA,IAAwCjB,OAAAC,OAAA,CAC1C7F,YAAa,cACbsE,UAAW,YACXC,eAAgB,iBAChB8B,uBAAwB,CAAC,uBACzBhF,WAAW,EACXmD,YAAaoC,KACbnC,UAAWsC,KACXrC,oBAAqB,EACrBT,eAAgB,EAChBG,iBAAkB0C,KAClBjC,cAAe,GACZgC,GCjBQ2B,GAAgD,EAC3D3B,YAAY,CAAA,GAGV,CAAE,IACJjB,OAAAC,OAAA,CAAAZ,UAAW,YACXX,UAAW,YACXC,eAAgB,iBAChB8B,uBAAwB,yBACxBhF,WAAW,EACX6D,aAAc,EACdC,uBAAwB,EACxBC,qBAAsB,EACtBuB,WAAY,CAAC,GACblC,UAAWsC,KACXrC,oBAAqB,EACrBN,iBAAkB0C,KAClBnC,mBAAoB,CAClBC,WAAY,GAEdS,SAAS,EACTG,QAAS,MACNqB,GCxBQ4B,GAAgB,EAC3B5B,YAAY,CAAE,GAGZ,CAAA,IACFjB,OAAAC,OAAA,CAAAU,UAAW,EACXC,aAAc,WACdC,YAAa,YACVI"}
1
+ {"version":3,"file":"index.js","sources":["../../src/schema/base.schema.ts","../../src/schema/programmeFields.schema.ts","../../src/schema/actions.schema.ts","../../src/schema/imageTextItems.schema.ts","../../src/schema/quizAnswers.schema.ts","../../src/schema/quizQuestion.schema.ts","../../src/schema/additionalFiles.schema.ts","../../src/schema/mediaClips.schema.ts","../../src/schema/lessonContent.schema.ts","../../src/schema/lessonData.schema.ts","../../src/schema/unitData.schema.ts","../../src/schema/unitvariant.schema.ts","../../src/schema/syntheticUnitvariantLessons.schema.ts","../../src/schema/syntheticUnitvariantsWithLessonIds.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/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 \"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 \"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\";\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]);\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 })\n .partial();\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 fileObjectSchema = z.object({\n id: z.string(),\n url: z.string(),\n type: z.string(),\n bytes: z.number(),\n width: z.number(),\n format: z.string(),\n height: z.number(),\n version: z.number(),\n duration: z.number().nullish(),\n metadata: z\n .object({\n source: z.string().nullish(),\n usageRestrictions: z.string().nullish(),\n attribution_required: z.string().nullish(),\n })\n .nullish(),\n created_at: z.string(),\n created_by: z.object({\n id: z.string(),\n type: z.string(),\n }),\n display_name: z.string(),\n resource_type: z.string(),\n});\n\nexport const additionalFilesSchema = z.object({\n files: z.array(\n z.object({\n title: z.string(),\n file_object: fileObjectSchema,\n }),\n ),\n});\n\nexport type FileObject = z.infer<typeof fileObjectSchema>;\nexport type AdditionalFiles = z.infer<typeof additionalFilesSchema>;\n","import { z } from \"zod\";\n\n// TODO: Schema is not complete so until data & structure is consistent is known partial() & nullish() being implemented\n\nexport const clipMediaObjectSchema = z\n .object({\n id: z.string(),\n url: z.string(),\n type: z.string(),\n bytes: z.number(),\n format: z.string(),\n duration: z.number().nullable(),\n display_name: z.string(),\n resource_type: z.string(),\n })\n .partial()\n .nullish();\n\nexport const clipVideoObjectSchema = z\n .object({\n id: z.string(),\n duration: z.number().nullable(),\n mux_asset_id: z.string(),\n playback_ids: z.array(\n z\n .object({\n id: z.string(),\n policy: z.string(),\n })\n .partial()\n .nullish(),\n ),\n mux_playback_id: z.string(),\n })\n .partial()\n .nullish();\n\nexport const mediaClipCycleSchema = z\n .object({\n // Test data had mixture 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: clipMediaObjectSchema,\n video_object: clipVideoObjectSchema,\n })\n .partial()\n .nullish();\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 ClipMediaObject = z.infer<typeof clipMediaObjectSchema>;\nexport type ClipVideoObject = z.infer<typeof clipVideoObjectSchema>;\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\nimport { quizQuestionSchema } from \"./quizQuestion.schema\";\nimport { _stateSchema } from \"./base.schema\";\nimport { additionalFilesSchema } from \"./additionalFiles.schema\";\nimport { mediaClipsRecordSchema } from \"./mediaClips.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 // currently set to optional whilst PE lessons are unpublished so as not to break lesson pages\n lesson_guide_asset_id: z.number().nullable().optional(),\n has_lesson_guide_asset_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 additional_files: z.array(additionalFilesSchema).nullish(),\n has_additional_files: z.boolean().nullish(),\n media_clips: mediaClipsRecordSchema.nullish(),\n lesson_outline: z.array(lessonOutlineSchema).nullable().optional(),\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({})),\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});\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\";\nimport { lessonDataSchema } from \"./lessonData.schema\";\nimport { unitDataSchema } from \"./unitData.schema\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\nimport { actionsSchema } from \"./actions.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: z.object({}).optional().nullable(),\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\";\n\nexport const syntheticUnitvariantsWithLessonIdsSchema = 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 }),\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 SyntheticUnitvariantsWithLessonIds = z.infer<\n typeof syntheticUnitvariantsWithLessonIdsSchema\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.object({}).optional().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 { syntheticUnitvariantsWithLessonIdsSchema } from \"./syntheticUnitvariantsWithLessonIds.schema\";\nimport { threadSchema } from \"./thread.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsByKsSchema = z.object({\n ...syntheticUnitvariantsWithLessonIdsSchema.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 { 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 ...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 files: [\n {\n title: \"Sample File 1\",\n file_object: {\n format: \"jpg\",\n id: \"file123\",\n url: \"https://www.example.com\",\n type: \"image\",\n bytes: 5000,\n width: 1920,\n height: 1080,\n version: 1,\n duration: 120,\n metadata: {\n source: \"camera\",\n usageRestrictions: \"none\",\n attribution_required: \"yes\",\n },\n created_at: \"2023-01-01T00:00:00Z\",\n created_by: {\n id: \"user123\",\n type: \"admin\",\n },\n display_name: \"Sample Display Name\",\n resource_type: \"image\",\n },\n },\n {\n title: \"Sample File 2\",\n file_object: {\n id: \"file456\",\n url: \"https://www.example.com\",\n type: \"video\",\n bytes: 10000,\n width: 1280,\n format: \"mp4\",\n height: 720,\n version: 2,\n duration: 300,\n metadata: {\n source: \"screen_recording\",\n usageRestrictions: \"internal\",\n attribution_required: \"no\",\n },\n created_at: \"2023-02-01T00:00:00Z\",\n created_by: {\n id: \"user456\",\n type: \"user\",\n },\n display_name: \"Another Display Name\",\n resource_type: \"video\",\n },\n },\n ],\n ...overrides,\n});\nexport default additionalFilesFixture;\n","import { LessonMediaClips } from \"@/schema/mediaClips.schema\";\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: {\n id: \"4de4d70775b95bbc722d4d259fb033ad\",\n url: \"http://example.com/video1.mp3\",\n type: \"upload\",\n bytes: 81127,\n format: \"mp3\",\n duration: 5.041633,\n\n display_name: \"9_task_C1_3\",\n resource_type: \"video\",\n },\n video_object: {\n id: \"hug9i01Tnpf1y83irOm00HRbvAJpttJPU78KNYzPav3mg\",\n\n duration: 5.055667,\n\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 },\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 id: \"e3331a6ee856256933cee73f7a62041b\",\n url: \"http://example.com/video2.mp3\",\n type: \"upload\",\n bytes: 122087,\n format: \"mp3\",\n duration: 7.601633,\n\n display_name: \"8_task_C1_2\",\n resource_type: \"video\",\n },\n video_object: {\n id: \"gyUmSG2VVqcuw00NzT9f02kZvlLmXsrnuT5P7KhrYhWJg\",\n\n duration: 7.603667,\n\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 id: \"3690e090829ca49c5506d6b90fd1106b\",\n url: \"http://oaknationalacademy-res.cloudinary.com/video/upload/v1736420414/u5bptym7h8ts8nyyrpwg.mp4\",\n type: \"upload\",\n bytes: 276767,\n format: \"mp4\",\n duration: 5.613111,\n\n display_name: \"australia fact\",\n resource_type: \"video\",\n },\n video_object: {\n id: \"4yb74fNKob6M6AT02AFTmsTrJEgXUl00WQWhpt01KttWcI\",\n\n duration: 5.613111,\n\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\n mux_playback_id: \"RUIUNGcGf01kgZU1xC5peDCvGpC2d2YeRcwSMfJ4cvMk\",\n },\n },\n ],\n },\n ...overrides,\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_asset_object: true,\n lesson_guide_asset_object_url: \"lesson-guide-asset-object-url\",\n has_lesson_guide_google_drive_downloadable_version: false,\n additional_files: [additionalFilesFixture()],\n media_clips: mediaClipsFixture().media_clips,\n lesson_outline: [\n { lesson_outline: \"lesson-outline-1\" },\n { lesson_outline: \"lesson-outline-2\" },\n ],\n ...overrides,\n});\n","import { SyntheticUnitvariantLessons } from \"@/schema/syntheticUnitvariantLessons.schema\";\n\nimport { lessonDataFixture } from \"./lessonData.fixture\";\nimport { unitDataFixture } from \"./unitData.fixture\";\nimport { unitvariantFixture } from \"./unitvariant.fixture\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\n\n// To be deprecated\nexport const syntheticUnitvariantLessonsFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticUnitvariantLessons>;\n} = {}): SyntheticUnitvariantLessons => ({\n lesson_slug: \"lesson-slug\",\n unit_slug: \"unit-slug\",\n programme_slug: \"programme-slug\",\n is_legacy: false,\n lesson_data: lessonDataFixture(),\n unit_data: unitDataFixture(),\n null_unitvariant_id: 0,\n programme_fields: programmeFieldsFixture(),\n supplementary_data: {\n unit_order: 1,\n order_in_unit: 1,\n },\n ...overrides,\n});\n","import { unitDataFixture } from \"./unitData.fixture\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\nimport { SyntheticUnitvariantsWithLessonIds } from \"@/schema/syntheticUnitvariantsWithLessonIds.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticUnitvariantsWithLessonIds>;\n} = {}): SyntheticUnitvariantsWithLessonIds => ({\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 ...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 },\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","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","fileObjectSchema","id","bytes","duration","source","usageRestrictions","attribution_required","created_at","created_by","display_name","resource_type","additionalFilesSchema","files","title","file_object","clipMediaObjectSchema","clipVideoObjectSchema","mux_asset_id","playback_ids","policy","mux_playback_id","mediaClipCycleSchema","or","media_id","video_id","media_type","custom_title","media_object","video_object","mediaClipsRecordSchema","record","lessonMediaClipsSchema","media_clips","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_asset_object","lesson_guide_asset_object_url","has_lesson_guide_google_drive_downloadable_version","geo_restricted","login_required","additional_files","has_additional_files","lessonDataSchema","lesson_uid","slug","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","syntheticUnitvariantLessonsSchema","unit_slug","programme_slug","lesson_data","unit_data","null_unitvariant_id","supplementary_data","unit_order","order_in_unit","actions","features","syntheticUnitvariantsWithLessonIdsSchema","base_slug","lesson_count","lesson_sensitive_count","lesson_expired_count","expired","syntheticProgrammesByYearSchema","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","lessonDataFixture","overrides","programmeFieldsFixture","unitDataFixture","unitvariantFixture","textItemFixture","multipleChoiceFixture","shortAnswerFixture","orderFixture","matchFixture","multipleChoiceQuestion","shortAnswerQuestion","orderQuestion","matchQuestion","additionalFilesFixture","mediaClipsFixture","intro","cycle2","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,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,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,sBCjMWsB,EAAwBvB,EAAEwB,OAAO,CAC5CC,QAASV,EAASW,WAClBC,WAAY3B,EAAE4B,SAASF,WACvBG,aAAcb,EAAaU,WAC3BI,oBAAqBb,EAAoBS,WACzCK,sBAAuB/B,EAAE4B,SAASF,WAElCM,KAAMpB,EAAMc,WACZO,QAASjC,EAAE4B,SAASF,WACpBQ,UAAWrB,EAAUa,WACrBS,iBAAkBrB,EA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AAY,GAEdS,SAAS,GACNwB,GCpBQyB,GAAmC,EAC9CzB,YAAY,CAAE,GAGZ,CAAA,KAAmC,CACrCnP,UAAW,SACXuN,UAAW,uBACXV,eAAgB,uBAChBlD,WAAW,EACX+C,iBAAkB0C,OCPPyB,GAAyC,EACpD1B,YAAY,CAAE,GAGZ,CAAA,IAAwCjB,OAAAC,OAAA,CAC1C7F,YAAa,cACbsE,UAAW,YACXC,eAAgB,iBAChB8B,uBAAwB,CAAC,uBACzBhF,WAAW,EACXmD,YAAaoC,KACbnC,UAAWsC,KACXrC,oBAAqB,EACrBT,eAAgB,EAChBG,iBAAkB0C,KAClBjC,cAAe,GACZgC,GCjBQ2B,GAAgD,EAC3D3B,YAAY,CAAA,GAGV,CAAE,IACJjB,OAAAC,OAAA,CAAAZ,UAAW,YACXX,UAAW,YACXC,eAAgB,iBAChB8B,uBAAwB,yBACxBhF,WAAW,EACX6D,aAAc,EACdC,uBAAwB,EACxBC,qBAAsB,EACtBuB,WAAY,CAAC,GACblC,UAAWsC,KACXrC,oBAAqB,EACrBN,iBAAkB0C,KAClBnC,mBAAoB,CAClBC,WAAY,GAEdS,SAAS,EACTG,QAAS,MACNqB,GCxBQ4B,GAAgB,EAC3B5B,YAAY,CAAE,GAGZ,CAAA,IACFjB,OAAAC,OAAA,CAAAU,UAAW,EACXC,aAAc,WACdC,YAAa,YACVI"}
@@ -33,5 +33,7 @@ export const actionsSchema = z
33
33
  programme_field_overrides: programmeFieldsSchema.partial(),
34
34
  display_expiring_banner: z.boolean(),
35
35
  disable_pupil_share: z.boolean(),
36
+ display_PE_title: z.boolean(),
37
+ display_vocab_button: z.boolean(),
36
38
  })
37
39
  .partial();