@oaknational/oak-curriculum-schema 1.52.2 → 1.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/src/src/fixtures/actions.fixture.ts +1 -0
- package/dist/src/src/schema/actions.schema.ts +2 -0
- package/dist/types.d.ts +39 -0
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("zod");const t=e.z.enum(["published","new","migration"]),i=e.z.enum(["2020-2023","2023-2024","2024-2025","0"]),s=e.z.enum(["foundation","primary","secondary"]),a=e.z.enum(["Early Years Foundation Stage","Primary","Secondary"]),r=e.z.enum(["foundation","primary","secondary"]),n=e.z.enum(["KS1","KS2","KS3","KS4","EYFS","All key stages"]),o=e.z.enum(["ks1","ks2","ks3","ks4","early-years-foundation-stage","all-ks"]),l=e.z.enum(["Key Stage 1","Key Stage 2","Key Stage 3","Key Stage 4","Early Years Foundation Stage","All Key Stages"]),u=e.z.enum(["1","2","3","4","5","6","7","8","9","10","11","12","13","R","All"]),d=e.z.enum(["reception","year-1","year-2","year-3","year-4","year-5","year-6","year-7","year-8","year-9","year-10","year-11","year-12","year-13","all-years"]),_=e.z.enum(["Year 1","Year 2","Year 3","Year 4","Year 5","Year 6","Year 7","Year 8","Year 9","Year 10","Year 11","Year 12","Year 13","Reception","All years"]),c=e.z.enum(["core","foundation","higher"]),p=e.z.enum(["core","foundation","higher"]),m=e.z.enum(["Core","Foundation","Higher"]),g=e.z.enum(["Core","GCSE"]),b=e.z.enum(["core","gcse"]),y=e.z.enum(["Core","GCSE"]),z=e.z.enum(["aqa","edexcel","eduqas","ocr","wjec","edexcelb"]),h=e.z.enum(["AQA","Edexcel","Eduqas","OCR","WJEC","Edexcel B"]),x=e.z.enum(["Assessment and Qualifications Alliance","Edexcel","Eduqas","Oxford, Cambridge and RSA Examinations","Welsh Joint Education Committee","Edexcel B"]),v=e.z.enum(["Computing (non-GCSE)","Art and design","Citizenship","Computing","Computer Science","Design and technology","Drama","English","English grammar","English reading for pleasure","English spelling","Expressive arts and design","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"]),j=e.z.enum(["computing-non-gcse","art","citizenship","computing","design-technology","drama","english","english-grammar","english-reading-for-pleasure","english-spelling","expressive-arts-and-design","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"]),w=e.z.object({pathway:g.nullable(),pathway_id:e.z.number().nullable(),pathway_slug:b.nullable(),pathway_description:y.nullable(),pathway_display_order:e.z.number().nullable(),tier:c.nullable(),tier_id:e.z.number().nullable(),tier_slug:p.nullable(),tier_description:m.nullable(),tier_display_order:e.z.number().nullable(),examboard:h.nullable(),examboard_id:e.z.number().nullable(),examboard_slug:z.nullable(),examboard_description:x.nullable(),examboard_display_order:e.z.number().nullable(),year:u,year_slug:d,year_id:e.z.number(),year_description:_,year_display_order:e.z.number(),keystage:n,keystage_id:e.z.number(),keystage_slug:o,keystage_description:l,keystage_display_order:e.z.number(),phase:r,phase_id:e.z.number(),phase_slug:s,phase_description:a,phase_display_order:e.z.number(),subject:v,subject_id:e.z.number(),subject_slug:j,subject_description:e.z.string(),subject_display_order:e.z.number(),subject_parent:v.nullish(),optionality:e.z.string().optional(),legacy:e.z.string().optional(),dataset:e.z.string().optional()}),k=e.z.enum(["pupilSubjectListingQuery","pupilProgrammeListingQuery","pupilUnitListingQuery","pupilLessonListingQuery","pupilLessonQuery","unitListingQuery","lessonListingQuery","programmeListingQuery","subjectListingQuery","lessonOverviewQuery","lessonDownloadsQuery","lessonBetaDownloadsQuery","lessonShareQuery","lessonMediaClipsQuery","teacherPreviewLessonQuery"]),f=e.z.enum(["pupil","teacher","curriculum"]),S=e.z.union([k,f]),q=e.z.object({exclusions:e.z.array(S),opt_out:e.z.array(S),programme_field_overrides:w.partial(),display_expiring_banner:e.z.boolean(),disable_pupil_share:e.z.boolean(),display_PE_title:e.z.boolean(),display_vocab_button:e.z.boolean(),override_pathway:e.z.string(),is_pe_practical:e.z.boolean()}).partial(),F=e.z.object({pe_practical:e.z.boolean()}).partial(),O=e.z.object({format:e.z.enum(["png","jpg","jpeg","webp","gif","svg"]).optional(),secure_url:e.z.string().url(),url:e.z.string().url().optional(),height:e.z.number().optional(),width:e.z.number().optional(),metadata:e.z.union([e.z.array(e.z.any()),e.z.object({attribution:e.z.string().optional(),usageRestriction:e.z.string().optional()})]),public_id:e.z.string().optional(),version:e.z.number().optional()}),C=e.z.object({image_object:O,type:e.z.literal("image")}),P=e.z.object({text:e.z.string(),type:e.z.literal("text")}),Y=e.z.object({answer:e.z.array(e.z.union([P,C]).optional()),answer_is_active:e.z.boolean().optional(),answer_is_correct:e.z.boolean().optional()}),A=e.z.object({answer:e.z.array(e.z.union([P,C]).optional()),answer_is_active:e.z.boolean().optional(),answer_is_default:e.z.boolean().optional()}),E=e.z.object({answer:e.z.array(P),correct_order:e.z.number().optional(),answer_is_active:e.z.boolean().optional()}),Q=e.z.object({answer_is_active:e.z.boolean().optional(),correct_choice:e.z.array(P),match_option:e.z.array(P).optional()}),L=e.z.object({question_id:e.z.number(),question_uid:e.z.string(),question_type:e.z.string(),question_stem:e.z.array(e.z.union([P,C])).optional().nullable(),answers:e.z.object({"multiple-choice":e.z.array(Y).optional(),"short-answer":e.z.array(A).optional(),order:e.z.array(E).optional(),match:e.z.array(Q).optional()}).optional().nullable(),feedback:e.z.string().optional().nullable(),hint:e.z.string().optional().nullable(),active:e.z.boolean().optional(),order:e.z.number()}),T=e.z.object({id:e.z.string(),url:e.z.string(),type:e.z.string(),bytes:e.z.number(),width:e.z.number(),format:e.z.string(),height:e.z.number(),version:e.z.number(),duration:e.z.number().nullish(),metadata:e.z.object({source:e.z.string().nullish(),usageRestrictions:e.z.string().nullish(),attribution_required:e.z.string().nullish()}).nullish(),created_at:e.z.string(),created_by:e.z.object({id:e.z.string(),type:e.z.string()}),display_name:e.z.string(),resource_type:e.z.string()}),R=e.z.object({files:e.z.array(e.z.object({title:e.z.string(),file_object:T}))}),U=e.z.object({id:e.z.string(),url:e.z.string(),type:e.z.string(),bytes:e.z.number(),format:e.z.string(),duration:e.z.number().nullable(),display_name:e.z.string(),resource_type:e.z.string()}).partial().nullish(),K=e.z.object({id:e.z.string(),duration:e.z.number().nullable(),mux_asset_id:e.z.string(),playback_ids:e.z.array(e.z.object({id:e.z.string(),policy:e.z.string()}).partial().nullish()),mux_playback_id:e.z.string()}).partial().nullish(),W=e.z.object({order:e.z.number().or(e.z.string()),media_id:e.z.number().or(e.z.string()),video_id:e.z.number().nullable(),media_type:e.z.string().nullish(),custom_title:e.z.string().nullish(),media_object:U,video_object:K}).partial().nullish(),D=e.z.record(e.z.string(),e.z.array(W)),B=e.z.object({media_clips:D}),N=e.z.object({equipment:e.z.string()}),G=e.z.object({key_learning_point:e.z.string()}),M=e.z.object({keyword:e.z.string(),description:e.z.string()}),J=e.z.object({misconception:e.z.string(),response:e.z.string()}),H=e.z.object({teacher_tip:e.z.string()}),I=e.z.object({contentguidance_label:e.z.string().nullable(),contentguidance_description:e.z.string().nullable(),contentguidance_area:e.z.string().nullable()}),V=e.z.object({lesson_outline:e.z.string()}),Z=e.z.object({lesson_id:e.z.number(),lesson_slug:e.z.string(),lesson_title:e.z.string().nullable(),content_guidance:e.z.array(I).nullable(),misconceptions_and_common_mistakes:e.z.array(J).nullable(),teacher_tips:e.z.array(H).nullable(),equipment_and_resources:e.z.array(N).nullable(),pupil_lesson_outcome:e.z.string().nullable(),phonics_outcome:e.z.string().nullable(),lesson_keywords:e.z.array(M).nullable(),supervision_level:e.z.string().nullable(),key_learning_points:e.z.array(G).nullable().optional(),video_mux_playback_id:e.z.string().nullable(),video_with_sign_language_mux_playback_id:e.z.string().nullable(),video_id:e.z.number().nullable(),video_duration:e.z.string().nullable(),video_title:e.z.string().nullable(),transcript_sentences:e.z.string().nullable(),starter_quiz:e.z.array(L).optional().nullable(),exit_quiz:e.z.array(L).optional().nullable(),starter_quiz_id:e.z.number().nullable(),exit_quiz_id:e.z.number().nullable(),_state:t,is_legacy:e.z.boolean().nullable(),deprecated_fields:e.z.record(e.z.unknown()).nullable(),has_worksheet_google_drive_downloadable_version:e.z.boolean().nullable(),slide_deck_asset_id:e.z.number().nullable(),has_slide_deck_asset_object:e.z.boolean().nullable(),worksheet_asset_id:e.z.number().nullable(),has_worksheet_asset_object:e.z.boolean().nullable(),worksheet_answers_asset_id:e.z.number().nullable(),has_worksheet_answers_asset_object:e.z.boolean().nullable(),supplementary_asset_id:e.z.number().nullable(),has_supplementary_asset_object:e.z.boolean().nullable(),supplementary_asset_object_url:e.z.string().nullable(),worksheet_asset_object_url:e.z.string().nullable(),slide_deck_asset_object_url:e.z.string().nullable(),lesson_guide_asset_id:e.z.number().nullable().optional(),has_lesson_guide_object:e.z.boolean().nullable().optional(),lesson_guide_asset_object_url:e.z.string().nullable().optional(),has_lesson_guide_google_drive_downloadable_version:e.z.boolean().nullable().optional(),geo_restricted:e.z.boolean().nullable(),login_required:e.z.boolean().nullable(),additional_files:e.z.array(R).nullish(),has_additional_files:e.z.boolean().nullish(),media_clips:D.nullish(),lesson_outline:e.z.array(V).nullable().optional()}),X=e.z.object({lesson_id:e.z.number(),lesson_uid:e.z.string(),slug:e.z.string(),title:e.z.string(),description:e.z.string(),pupil_lesson_outcome:e.z.string(),phonics_outcome:e.z.string().nullable(),key_learning_points:e.z.array(e.z.object({})),equipment_and_resources:e.z.array(N).nullable(),content_guidance_details:e.z.array(e.z.object({})).nullable(),content_guidance:e.z.array(e.z.number()).nullable(),copyright_content:e.z.array(e.z.object({})).nullable(),supervision_level:e.z.string().nullable(),thirdpartycontent_list:e.z.array(e.z.number()).nullable(),misconceptions_and_common_mistakes:e.z.array(e.z.object({})).nullable(),keywords:e.z.array(e.z.object({})).nullable(),video_id:e.z.number().nullable(),sign_language_video_id:e.z.number().nullable(),quiz_id_starter:e.z.number().nullable(),quiz_id_exit:e.z.number().nullable(),asset_id_slidedeck:e.z.number().nullable(),asset_id_worksheet:e.z.number().nullable(),expiration_date:e.z.string().nullable(),lesson_outline:e.z.array(V).nullable().optional(),media_clips:D.nullable().optional(),deprecated_fields:e.z.record(e.z.unknown()).nullable(),_state:t,_cohort:i,updated_at:e.z.string()}),$=e.z.object({unit_id:e.z.number(),unit_uid:e.z.string(),description:e.z.string().nullable(),slug:e.z.string(),tags:e.z.array(e.z.number()).nullable(),deprecated_fields:e.z.record(e.z.unknown()).nullable().optional(),title:e.z.string(),subjectcategories:e.z.array(e.z.union([e.z.number(),e.z.string()])).nullable(),_state:t,_cohort:i,expiration_date:e.z.string().nullable()}),ee=e.z.object({_state:t,_cohort:i,unit_id:e.z.number(),unitvariant_id:e.z.number(),_deleted:e.z.boolean(),unit_overrides:$.partial(),programme_fields:w.partial()}),te=e.z.object({lesson_slug:e.z.string(),unit_slug:e.z.string(),programme_slug:e.z.string(),is_legacy:e.z.boolean(),lesson_data:X,unit_data:$,null_unitvariant_id:e.z.number(),unitvariant_id:e.z.number().nullish(),programme_fields:w,supplementary_data:e.z.object({unit_order:e.z.number(),order_in_unit:e.z.number()}),actions:q.nullable().optional(),features:F.nullable().optional()}),ie=e.z.object({base_slug:e.z.string(),unit_slug:e.z.string(),programme_slug:e.z.string(),is_legacy:e.z.boolean(),lesson_count:e.z.number(),lesson_sensitive_count:e.z.number(),lesson_expired_count:e.z.number(),unit_data:$,null_unitvariant_id:e.z.number(),programme_fields:w,supplementary_data:e.z.object({unit_order:e.z.number()}),expired:e.z.boolean(),actions:q.nullable().optional(),features:e.z.object({}).optional().nullable()}),se=e.z.object({year_slug:d,programme_slug:e.z.string(),base_slug:e.z.string(),is_legacy:e.z.boolean(),programme_fields:w,actions:q.nullable().optional(),features:e.z.object({}).optional().nullable()}),ae=e.z.object({unit_id:e.z.number(),threads:e.z.array(e.z.object({theme_slug:e.z.string(),theme_title:e.z.string()})).nullable()}),re=e.z.object(Object.assign(Object.assign({},te.omit({null_unitvariant_id:!0}).shape),{unitvariant_id:e.z.number().nullable(),null_unitvariant:ee,programme_fields:w.omit({pathway:!0,pathway_description:!0,pathway_display_order:!0,pathway_id:!0,pathway_slug:!0})})),ne=re.pick({lesson_data:!0,programme_fields:!0,is_legacy:!0,programme_slug:!0}),oe=e.z.array(ne),le=e.z.object(Object.assign(Object.assign({},te.omit({supplementary_data:!0}).shape),{programme_slug_by_year:e.z.string().array(),order_in_unit:e.z.number()})),ue=e.z.object({thread_id:e.z.number(),thread_title:e.z.string(),thread_slug:e.z.string()}),de=e.z.object(Object.assign(Object.assign({},ie.shape),{programme_slug_by_year:e.z.string(),lesson_ids:e.z.array(e.z.number()).nullable(),threads:e.z.array(ue).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),ce=({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),pe=({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),me=({overrides:e={}}={})=>Object.assign({text:"Hello, World!",type:"text"},e),ge=({overrides:e={}}={})=>Object.assign({answer:[me(),{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),be=({overrides:e={}}={})=>Object.assign({answer:[me(),{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:[me()],correct_order:1,answer_is_active:!0},e),ze=({overrides:e={}}={})=>Object.assign({answer_is_active:!0,correct_choice:[me({overrides:{text:"Paris"}})],match_option:[me({overrides:{text:"Capital of France"}})]},e),he=({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":[ge({overrides:{answer_is_correct:!0}}),ge({overrides:{answer_is_correct:!1}}),ge({overrides:{answer_is_correct:!1}}),ge({overrides:{answer_is_correct:!1}})]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:1},e),xe=({overrides:e={}}={})=>Object.assign({question_id:2,question_uid:"question-2",question_type:"short-answer",question_stem:[{text:"What is the capital of France?",type:"text"}],answers:{"short-answer":[be()]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:2},e),ve=({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),je=({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:[ze(),ze(),ze(),ze()]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:4},e),we=({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),ke=({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),fe=()=>({equipment:"equipment"}),Se=()=>({teacher_tip:"teacher-tip"}),qe=()=>({keyword:"keyword",description:"description"}),Fe=()=>({misconception:"misconception",response:"response"}),Oe=()=>({contentguidance_label:"contentguidance-label",contentguidance_description:"contentguidance-description",contentguidance_area:"contentguidance-area"});exports._cohortSchema=i,exports._stateSchema=t,exports.actionsSchema=q,exports.additionalFilesFixture=we,exports.additionalFilesSchema=R,exports.clipMediaObjectSchema=U,exports.clipVideoObjectSchema=K,exports.contentGuidanceFixture=Oe,exports.contentGuidanceSchema=I,exports.examboardDescriptions=x,exports.examboardSlugs=z,exports.examboards=h,exports.featuresSchema=F,exports.fileObjectSchema=T,exports.imageItemSchema=C,exports.imageObjectSchema=O,exports.journeysAndQueriesSchema=S,exports.journeysSchema=f,exports.keyLearningPointsSchema=G,exports.keystageDescriptions=l,exports.keystageSlugs=o,exports.keystages=n,exports.keywordsFixture=qe,exports.keywordsSchema=M,exports.lessonContentFixture=({overrides:e={}}={})=>Object.assign({lesson_id:1,lesson_title:"lesson-title",lesson_slug:"lesson-slug",deprecated_fields:{},is_legacy:!1,misconceptions_and_common_mistakes:[{misconception:"misconception",response:"response"}],equipment_and_resources:[{equipment:"equipment"}],teacher_tips:[{teacher_tip:"teacher-tip"}],key_learning_points:null,pupil_lesson_outcome:"pupil-lesson-outcome",phonics_outcome:null,lesson_keywords:[{keyword:"keyword",description:"description"}],content_guidance:[{contentguidance_label:"contentguidance-label",contentguidance_description:"contentguidance-description",contentguidance_area:"contentguidance-area"}],video_mux_playback_id:"video-mux-playback-id",video_id:null,video_duration:"5 minutes",video_with_sign_language_mux_playback_id:"video-with-sign-language-mux-playback-id",video_title:"video-title",transcript_sentences:"this is the transcript",starter_quiz:[he({overrides:{order:1,question_uid:"starter-quiz-1"}}),ve({overrides:{order:2,question_uid:"starter-quiz-2"}}),je({overrides:{order:3,question_uid:"starter-quiz-3"}}),xe({overrides:{order:4,question_uid:"starter-quiz-4"}})],starter_quiz_id:1,exit_quiz:null,exit_quiz_id:null,supervision_level:null,_state:"published",slide_deck_asset_id:301,has_slide_deck_asset_object:!0,worksheet_asset_id:302,has_worksheet_answers_asset_object:!0,worksheet_answers_asset_id:303,has_worksheet_google_drive_downloadable_version:!0,has_supplementary_asset_object:!0,supplementary_asset_id:304,supplementary_asset_object_url:"supplementary-asset-object-url",slide_deck_asset_object_url:"slide-deck-asset-object-url",worksheet_asset_object_url:"worksheet-asset-object-url",has_worksheet_asset_object:!0,geo_restricted:!1,login_required:!1,lesson_guide_asset_id:1,has_lesson_guide_object:!0,lesson_guide_asset_object_url:"lesson-guide-asset-object-url",has_lesson_guide_google_drive_downloadable_version:!1,additional_files:[we()],media_clips:ke().media_clips,lesson_outline:[{lesson_outline:"lesson-outline-1"},{lesson_outline:"lesson-outline-2"}]},e),exports.lessonContentSchema=Z,exports.lessonDataFixture=_e,exports.lessonDataSchema=X,exports.lessonEquipmentAndResourcesFixture=fe,exports.lessonEquipmentAndResourcesSchema=N,exports.lessonMediaClipsSchema=B,exports.lessonOutlineSchema=V,exports.matchFixture=ze,exports.matchQuestion=je,exports.matchSchema=Q,exports.mediaClipCycleSchema=W,exports.mediaClipsFixture=ke,exports.mediaClipsRecordSchema=D,exports.misconceptionsAndCommonMistakesFixture=Fe,exports.misconceptionsAndCommonMistakesSchema=J,exports.multipleChoiceFixture=ge,exports.multipleChoiceQuestion=he,exports.multipleChoiceSchema=Y,exports.orderFixture=ye,exports.orderQuestion=ve,exports.orderSchema=E,exports.pathwayDescriptions=y,exports.pathwaySlugs=b,exports.pathways=g,exports.phaseDescriptions=a,exports.phaseSlugs=s,exports.phases=r,exports.programmeFieldsFixture=ce,exports.programmeFieldsSchema=w,exports.programmeListingResponseSchema=ne,exports.programmeListingResponseSchemaArray=oe,exports.queriesSchema=k,exports.quizQuestionSchema=L,exports.shortAnswerFixture=be,exports.shortAnswerQuestion=xe,exports.shortAnswerSchema=A,exports.subjectSlugs=j,exports.subjects=v,exports.syntheticProgrammesByYearFixture=({overrides:e={}}={})=>({year_slug:"year-1",base_slug:"maths-primary-year-1",programme_slug:"maths-primary-year-1",is_legacy:!1,programme_fields:ce()}),exports.syntheticProgrammesByYearSchema=se,exports.syntheticUnitvariantLessonsByKsFixture=({overrides:e={}}={})=>Object.assign({lesson_slug:"lesson-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",programme_slug_by_year:["programme-slug-year"],is_legacy:!1,lesson_data:_e(),unit_data:pe(),null_unitvariant_id:1,unitvariant_id:1,programme_fields:ce(),order_in_unit:1},e),exports.syntheticUnitvariantLessonsByKsSchema=le,exports.syntheticUnitvariantLessonsByKsSchemaOld=re,exports.syntheticUnitvariantLessonsFixture=({overrides:e={}}={})=>Object.assign({lesson_slug:"lesson-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",is_legacy:!1,lesson_data:_e(),unit_data:pe(),null_unitvariant_id:0,programme_fields:ce(),supplementary_data:{unit_order:1,order_in_unit:1}},e),exports.syntheticUnitvariantLessonsSchema=te,exports.syntheticUnitvariantsWithLessonIdsByKsFixture=({overrides:e={}}={})=>Object.assign({base_slug:"base-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",programme_slug_by_year:"programme-slug-by-year",is_legacy:!1,lesson_count:1,lesson_sensitive_count:0,lesson_expired_count:0,lesson_ids:[1],unit_data:pe(),null_unitvariant_id:0,programme_fields:ce(),supplementary_data:{unit_order:1},expired:!1,threads:null},e),exports.syntheticUnitvariantsWithLessonIdsByKsSchema=de,exports.syntheticUnitvariantsWithLessonIdsFixture=({overrides:e={}}={})=>Object.assign({base_slug:"base-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",is_legacy:!1,lesson_count:1,lesson_sensitive_count:0,lesson_expired_count:0,unit_data:pe(),null_unitvariant_id:0,programme_fields:ce(),supplementary_data:{unit_order:1},expired:!1},e),exports.syntheticUnitvariantsWithLessonIdsSchema=ie,exports.teacherTipsFixture=Se,exports.teacherTipsSchema=H,exports.textItemSchema=P,exports.threadFixture=({overrides:e={}}={})=>Object.assign({thread_id:1,thread_title:"A thread",thread_slug:"a-thread"},e),exports.threadSchema=ue,exports.threadsByUnitSchema=ae,exports.tierDescriptions=m,exports.tierSlugs=p,exports.tiers=c,exports.unitDataFixture=pe,exports.unitDataSchema=$,exports.unitvariantFixture=({overrides:e={}}={})=>Object.assign({unitvariant_id:1,unit_id:1,_deleted:!1,_state:"published",_cohort:"2023-2024",unit_overrides:{},programme_fields:{}},e),exports.unitvariantSchema=ee,exports.yearDescriptions=_,exports.yearSlugs=d,exports.years=u;
|
|
1
|
+
"use strict";var e=require("zod");const t=e.z.enum(["published","new","migration"]),i=e.z.enum(["2020-2023","2023-2024","2024-2025","0"]),s=e.z.enum(["foundation","primary","secondary"]),a=e.z.enum(["Early Years Foundation Stage","Primary","Secondary"]),r=e.z.enum(["foundation","primary","secondary"]),n=e.z.enum(["KS1","KS2","KS3","KS4","EYFS","All key stages"]),o=e.z.enum(["ks1","ks2","ks3","ks4","early-years-foundation-stage","all-ks"]),l=e.z.enum(["Key Stage 1","Key Stage 2","Key Stage 3","Key Stage 4","Early Years Foundation Stage","All Key Stages"]),u=e.z.enum(["1","2","3","4","5","6","7","8","9","10","11","12","13","R","All"]),d=e.z.enum(["reception","year-1","year-2","year-3","year-4","year-5","year-6","year-7","year-8","year-9","year-10","year-11","year-12","year-13","all-years"]),_=e.z.enum(["Year 1","Year 2","Year 3","Year 4","Year 5","Year 6","Year 7","Year 8","Year 9","Year 10","Year 11","Year 12","Year 13","Reception","All years"]),c=e.z.enum(["core","foundation","higher"]),p=e.z.enum(["core","foundation","higher"]),m=e.z.enum(["Core","Foundation","Higher"]),g=e.z.enum(["Core","GCSE"]),b=e.z.enum(["core","gcse"]),y=e.z.enum(["Core","GCSE"]),z=e.z.enum(["aqa","edexcel","eduqas","ocr","wjec","edexcelb"]),h=e.z.enum(["AQA","Edexcel","Eduqas","OCR","WJEC","Edexcel B"]),x=e.z.enum(["Assessment and Qualifications Alliance","Edexcel","Eduqas","Oxford, Cambridge and RSA Examinations","Welsh Joint Education Committee","Edexcel B"]),v=e.z.enum(["Computing (non-GCSE)","Art and design","Citizenship","Computing","Computer Science","Design and technology","Drama","English","English grammar","English reading for pleasure","English spelling","Expressive arts and design","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"]),j=e.z.enum(["computing-non-gcse","art","citizenship","computing","design-technology","drama","english","english-grammar","english-reading-for-pleasure","english-spelling","expressive-arts-and-design","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"]),w=e.z.object({pathway:g.nullable(),pathway_id:e.z.number().nullable(),pathway_slug:b.nullable(),pathway_description:y.nullable(),pathway_display_order:e.z.number().nullable(),tier:c.nullable(),tier_id:e.z.number().nullable(),tier_slug:p.nullable(),tier_description:m.nullable(),tier_display_order:e.z.number().nullable(),examboard:h.nullable(),examboard_id:e.z.number().nullable(),examboard_slug:z.nullable(),examboard_description:x.nullable(),examboard_display_order:e.z.number().nullable(),year:u,year_slug:d,year_id:e.z.number(),year_description:_,year_display_order:e.z.number(),keystage:n,keystage_id:e.z.number(),keystage_slug:o,keystage_description:l,keystage_display_order:e.z.number(),phase:r,phase_id:e.z.number(),phase_slug:s,phase_description:a,phase_display_order:e.z.number(),subject:v,subject_id:e.z.number(),subject_slug:j,subject_description:e.z.string(),subject_display_order:e.z.number(),subject_parent:v.nullish(),optionality:e.z.string().optional(),legacy:e.z.string().optional(),dataset:e.z.string().optional()}),k=e.z.enum(["pupilSubjectListingQuery","pupilProgrammeListingQuery","pupilUnitListingQuery","pupilLessonListingQuery","pupilLessonQuery","unitListingQuery","lessonListingQuery","programmeListingQuery","subjectListingQuery","lessonOverviewQuery","lessonDownloadsQuery","lessonBetaDownloadsQuery","lessonShareQuery","lessonMediaClipsQuery","teacherPreviewLessonQuery"]),f=e.z.enum(["pupil","teacher","curriculum"]),S=e.z.union([k,f]),q=e.z.object({exclusions:e.z.array(S),opt_out:e.z.array(S),programme_field_overrides:w.partial(),display_expiring_banner:e.z.boolean(),disable_pupil_share:e.z.boolean(),display_PE_title:e.z.boolean(),display_vocab_button:e.z.boolean(),override_pathway:e.z.string(),is_pe_practical:e.z.boolean(),related_subject_slugs:e.z.array(j)}).partial(),F=e.z.object({pe_practical:e.z.boolean()}).partial(),O=e.z.object({format:e.z.enum(["png","jpg","jpeg","webp","gif","svg"]).optional(),secure_url:e.z.string().url(),url:e.z.string().url().optional(),height:e.z.number().optional(),width:e.z.number().optional(),metadata:e.z.union([e.z.array(e.z.any()),e.z.object({attribution:e.z.string().optional(),usageRestriction:e.z.string().optional()})]),public_id:e.z.string().optional(),version:e.z.number().optional()}),C=e.z.object({image_object:O,type:e.z.literal("image")}),P=e.z.object({text:e.z.string(),type:e.z.literal("text")}),Y=e.z.object({answer:e.z.array(e.z.union([P,C]).optional()),answer_is_active:e.z.boolean().optional(),answer_is_correct:e.z.boolean().optional()}),A=e.z.object({answer:e.z.array(e.z.union([P,C]).optional()),answer_is_active:e.z.boolean().optional(),answer_is_default:e.z.boolean().optional()}),E=e.z.object({answer:e.z.array(P),correct_order:e.z.number().optional(),answer_is_active:e.z.boolean().optional()}),Q=e.z.object({answer_is_active:e.z.boolean().optional(),correct_choice:e.z.array(P),match_option:e.z.array(P).optional()}),L=e.z.object({question_id:e.z.number(),question_uid:e.z.string(),question_type:e.z.string(),question_stem:e.z.array(e.z.union([P,C])).optional().nullable(),answers:e.z.object({"multiple-choice":e.z.array(Y).optional(),"short-answer":e.z.array(A).optional(),order:e.z.array(E).optional(),match:e.z.array(Q).optional()}).optional().nullable(),feedback:e.z.string().optional().nullable(),hint:e.z.string().optional().nullable(),active:e.z.boolean().optional(),order:e.z.number()}),T=e.z.object({id:e.z.string(),url:e.z.string(),type:e.z.string(),bytes:e.z.number(),width:e.z.number(),format:e.z.string(),height:e.z.number(),version:e.z.number(),duration:e.z.number().nullish(),metadata:e.z.object({source:e.z.string().nullish(),usageRestrictions:e.z.string().nullish(),attribution_required:e.z.string().nullish()}).nullish(),created_at:e.z.string(),created_by:e.z.object({id:e.z.string(),type:e.z.string()}),display_name:e.z.string(),resource_type:e.z.string()}),R=e.z.object({files:e.z.array(e.z.object({title:e.z.string(),file_object:T}))}),U=e.z.object({id:e.z.string(),url:e.z.string(),type:e.z.string(),bytes:e.z.number(),format:e.z.string(),duration:e.z.number().nullable(),display_name:e.z.string(),resource_type:e.z.string()}).partial().nullish(),K=e.z.object({id:e.z.string(),duration:e.z.number().nullable(),mux_asset_id:e.z.string(),playback_ids:e.z.array(e.z.object({id:e.z.string(),policy:e.z.string()}).partial().nullish()),mux_playback_id:e.z.string()}).partial().nullish(),W=e.z.object({order:e.z.number().or(e.z.string()),media_id:e.z.number().or(e.z.string()),video_id:e.z.number().nullable(),media_type:e.z.string().nullish(),custom_title:e.z.string().nullish(),media_object:U,video_object:K}).partial().nullish(),D=e.z.record(e.z.string(),e.z.array(W)),B=e.z.object({media_clips:D}),N=e.z.object({equipment:e.z.string()}),G=e.z.object({key_learning_point:e.z.string()}),M=e.z.object({keyword:e.z.string(),description:e.z.string()}),J=e.z.object({misconception:e.z.string(),response:e.z.string()}),H=e.z.object({teacher_tip:e.z.string()}),I=e.z.object({contentguidance_label:e.z.string().nullable(),contentguidance_description:e.z.string().nullable(),contentguidance_area:e.z.string().nullable()}),V=e.z.object({lesson_outline:e.z.string()}),Z=e.z.object({lesson_id:e.z.number(),lesson_slug:e.z.string(),lesson_title:e.z.string().nullable(),content_guidance:e.z.array(I).nullable(),misconceptions_and_common_mistakes:e.z.array(J).nullable(),teacher_tips:e.z.array(H).nullable(),equipment_and_resources:e.z.array(N).nullable(),pupil_lesson_outcome:e.z.string().nullable(),phonics_outcome:e.z.string().nullable(),lesson_keywords:e.z.array(M).nullable(),supervision_level:e.z.string().nullable(),key_learning_points:e.z.array(G).nullable().optional(),video_mux_playback_id:e.z.string().nullable(),video_with_sign_language_mux_playback_id:e.z.string().nullable(),video_id:e.z.number().nullable(),video_duration:e.z.string().nullable(),video_title:e.z.string().nullable(),transcript_sentences:e.z.string().nullable(),starter_quiz:e.z.array(L).optional().nullable(),exit_quiz:e.z.array(L).optional().nullable(),starter_quiz_id:e.z.number().nullable(),exit_quiz_id:e.z.number().nullable(),_state:t,is_legacy:e.z.boolean().nullable(),deprecated_fields:e.z.record(e.z.unknown()).nullable(),has_worksheet_google_drive_downloadable_version:e.z.boolean().nullable(),slide_deck_asset_id:e.z.number().nullable(),has_slide_deck_asset_object:e.z.boolean().nullable(),worksheet_asset_id:e.z.number().nullable(),has_worksheet_asset_object:e.z.boolean().nullable(),worksheet_answers_asset_id:e.z.number().nullable(),has_worksheet_answers_asset_object:e.z.boolean().nullable(),supplementary_asset_id:e.z.number().nullable(),has_supplementary_asset_object:e.z.boolean().nullable(),supplementary_asset_object_url:e.z.string().nullable(),worksheet_asset_object_url:e.z.string().nullable(),slide_deck_asset_object_url:e.z.string().nullable(),lesson_guide_asset_id:e.z.number().nullable().optional(),has_lesson_guide_object:e.z.boolean().nullable().optional(),lesson_guide_asset_object_url:e.z.string().nullable().optional(),has_lesson_guide_google_drive_downloadable_version:e.z.boolean().nullable().optional(),geo_restricted:e.z.boolean().nullable(),login_required:e.z.boolean().nullable(),additional_files:e.z.array(R).nullish(),has_additional_files:e.z.boolean().nullish(),media_clips:D.nullish(),lesson_outline:e.z.array(V).nullable().optional()}),X=e.z.object({lesson_id:e.z.number(),lesson_uid:e.z.string(),slug:e.z.string(),title:e.z.string(),description:e.z.string(),pupil_lesson_outcome:e.z.string(),phonics_outcome:e.z.string().nullable(),key_learning_points:e.z.array(e.z.object({})),equipment_and_resources:e.z.array(N).nullable(),content_guidance_details:e.z.array(e.z.object({})).nullable(),content_guidance:e.z.array(e.z.number()).nullable(),copyright_content:e.z.array(e.z.object({})).nullable(),supervision_level:e.z.string().nullable(),thirdpartycontent_list:e.z.array(e.z.number()).nullable(),misconceptions_and_common_mistakes:e.z.array(e.z.object({})).nullable(),keywords:e.z.array(e.z.object({})).nullable(),video_id:e.z.number().nullable(),sign_language_video_id:e.z.number().nullable(),quiz_id_starter:e.z.number().nullable(),quiz_id_exit:e.z.number().nullable(),asset_id_slidedeck:e.z.number().nullable(),asset_id_worksheet:e.z.number().nullable(),expiration_date:e.z.string().nullable(),lesson_outline:e.z.array(V).nullable().optional(),media_clips:D.nullable().optional(),deprecated_fields:e.z.record(e.z.unknown()).nullable(),_state:t,_cohort:i,updated_at:e.z.string()}),$=e.z.object({unit_id:e.z.number(),unit_uid:e.z.string(),description:e.z.string().nullable(),slug:e.z.string(),tags:e.z.array(e.z.number()).nullable(),deprecated_fields:e.z.record(e.z.unknown()).nullable().optional(),title:e.z.string(),subjectcategories:e.z.array(e.z.union([e.z.number(),e.z.string()])).nullable(),_state:t,_cohort:i,expiration_date:e.z.string().nullable()}),ee=e.z.object({_state:t,_cohort:i,unit_id:e.z.number(),unitvariant_id:e.z.number(),_deleted:e.z.boolean(),unit_overrides:$.partial(),programme_fields:w.partial()}),te=e.z.object({lesson_slug:e.z.string(),unit_slug:e.z.string(),programme_slug:e.z.string(),is_legacy:e.z.boolean(),lesson_data:X,unit_data:$,null_unitvariant_id:e.z.number(),unitvariant_id:e.z.number().nullish(),programme_fields:w,supplementary_data:e.z.object({unit_order:e.z.number(),order_in_unit:e.z.number()}),actions:q.nullable().optional(),features:F.nullable().optional()}),ie=e.z.object({base_slug:e.z.string(),unit_slug:e.z.string(),programme_slug:e.z.string(),is_legacy:e.z.boolean(),lesson_count:e.z.number(),lesson_sensitive_count:e.z.number(),lesson_expired_count:e.z.number(),unit_data:$,null_unitvariant_id:e.z.number(),programme_fields:w,supplementary_data:e.z.object({unit_order:e.z.number()}),expired:e.z.boolean(),actions:q.nullable().optional(),features:e.z.object({}).optional().nullable()}),se=e.z.object({year_slug:d,programme_slug:e.z.string(),base_slug:e.z.string(),is_legacy:e.z.boolean(),programme_fields:w,actions:q.nullable().optional(),features:e.z.object({}).optional().nullable()}),ae=e.z.object({unit_id:e.z.number(),threads:e.z.array(e.z.object({theme_slug:e.z.string(),theme_title:e.z.string()})).nullable()}),re=e.z.object(Object.assign(Object.assign({},te.omit({null_unitvariant_id:!0}).shape),{unitvariant_id:e.z.number().nullable(),null_unitvariant:ee,programme_fields:w.omit({pathway:!0,pathway_description:!0,pathway_display_order:!0,pathway_id:!0,pathway_slug:!0})})),ne=re.pick({lesson_data:!0,programme_fields:!0,is_legacy:!0,programme_slug:!0}),oe=e.z.array(ne),le=e.z.object(Object.assign(Object.assign({},te.omit({supplementary_data:!0}).shape),{programme_slug_by_year:e.z.string().array(),order_in_unit:e.z.number()})),ue=e.z.object({thread_id:e.z.number(),thread_title:e.z.string(),thread_slug:e.z.string()}),de=e.z.object(Object.assign(Object.assign({},ie.shape),{programme_slug_by_year:e.z.string(),lesson_ids:e.z.array(e.z.number()).nullable(),threads:e.z.array(ue).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),ce=({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),pe=({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),me=({overrides:e={}}={})=>Object.assign({text:"Hello, World!",type:"text"},e),ge=({overrides:e={}}={})=>Object.assign({answer:[me(),{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),be=({overrides:e={}}={})=>Object.assign({answer:[me(),{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:[me()],correct_order:1,answer_is_active:!0},e),ze=({overrides:e={}}={})=>Object.assign({answer_is_active:!0,correct_choice:[me({overrides:{text:"Paris"}})],match_option:[me({overrides:{text:"Capital of France"}})]},e),he=({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":[ge({overrides:{answer_is_correct:!0}}),ge({overrides:{answer_is_correct:!1}}),ge({overrides:{answer_is_correct:!1}}),ge({overrides:{answer_is_correct:!1}})]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:1},e),xe=({overrides:e={}}={})=>Object.assign({question_id:2,question_uid:"question-2",question_type:"short-answer",question_stem:[{text:"What is the capital of France?",type:"text"}],answers:{"short-answer":[be()]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:2},e),ve=({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),je=({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:[ze(),ze(),ze(),ze()]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:4},e),we=({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),ke=({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),fe=()=>({equipment:"equipment"}),Se=()=>({teacher_tip:"teacher-tip"}),qe=()=>({keyword:"keyword",description:"description"}),Fe=()=>({misconception:"misconception",response:"response"}),Oe=()=>({contentguidance_label:"contentguidance-label",contentguidance_description:"contentguidance-description",contentguidance_area:"contentguidance-area"});exports._cohortSchema=i,exports._stateSchema=t,exports.actionsSchema=q,exports.additionalFilesFixture=we,exports.additionalFilesSchema=R,exports.clipMediaObjectSchema=U,exports.clipVideoObjectSchema=K,exports.contentGuidanceFixture=Oe,exports.contentGuidanceSchema=I,exports.examboardDescriptions=x,exports.examboardSlugs=z,exports.examboards=h,exports.featuresSchema=F,exports.fileObjectSchema=T,exports.imageItemSchema=C,exports.imageObjectSchema=O,exports.journeysAndQueriesSchema=S,exports.journeysSchema=f,exports.keyLearningPointsSchema=G,exports.keystageDescriptions=l,exports.keystageSlugs=o,exports.keystages=n,exports.keywordsFixture=qe,exports.keywordsSchema=M,exports.lessonContentFixture=({overrides:e={}}={})=>Object.assign({lesson_id:1,lesson_title:"lesson-title",lesson_slug:"lesson-slug",deprecated_fields:{},is_legacy:!1,misconceptions_and_common_mistakes:[{misconception:"misconception",response:"response"}],equipment_and_resources:[{equipment:"equipment"}],teacher_tips:[{teacher_tip:"teacher-tip"}],key_learning_points:null,pupil_lesson_outcome:"pupil-lesson-outcome",phonics_outcome:null,lesson_keywords:[{keyword:"keyword",description:"description"}],content_guidance:[{contentguidance_label:"contentguidance-label",contentguidance_description:"contentguidance-description",contentguidance_area:"contentguidance-area"}],video_mux_playback_id:"video-mux-playback-id",video_id:null,video_duration:"5 minutes",video_with_sign_language_mux_playback_id:"video-with-sign-language-mux-playback-id",video_title:"video-title",transcript_sentences:"this is the transcript",starter_quiz:[he({overrides:{order:1,question_uid:"starter-quiz-1"}}),ve({overrides:{order:2,question_uid:"starter-quiz-2"}}),je({overrides:{order:3,question_uid:"starter-quiz-3"}}),xe({overrides:{order:4,question_uid:"starter-quiz-4"}})],starter_quiz_id:1,exit_quiz:null,exit_quiz_id:null,supervision_level:null,_state:"published",slide_deck_asset_id:301,has_slide_deck_asset_object:!0,worksheet_asset_id:302,has_worksheet_answers_asset_object:!0,worksheet_answers_asset_id:303,has_worksheet_google_drive_downloadable_version:!0,has_supplementary_asset_object:!0,supplementary_asset_id:304,supplementary_asset_object_url:"supplementary-asset-object-url",slide_deck_asset_object_url:"slide-deck-asset-object-url",worksheet_asset_object_url:"worksheet-asset-object-url",has_worksheet_asset_object:!0,geo_restricted:!1,login_required:!1,lesson_guide_asset_id:1,has_lesson_guide_object:!0,lesson_guide_asset_object_url:"lesson-guide-asset-object-url",has_lesson_guide_google_drive_downloadable_version:!1,additional_files:[we()],media_clips:ke().media_clips,lesson_outline:[{lesson_outline:"lesson-outline-1"},{lesson_outline:"lesson-outline-2"}]},e),exports.lessonContentSchema=Z,exports.lessonDataFixture=_e,exports.lessonDataSchema=X,exports.lessonEquipmentAndResourcesFixture=fe,exports.lessonEquipmentAndResourcesSchema=N,exports.lessonMediaClipsSchema=B,exports.lessonOutlineSchema=V,exports.matchFixture=ze,exports.matchQuestion=je,exports.matchSchema=Q,exports.mediaClipCycleSchema=W,exports.mediaClipsFixture=ke,exports.mediaClipsRecordSchema=D,exports.misconceptionsAndCommonMistakesFixture=Fe,exports.misconceptionsAndCommonMistakesSchema=J,exports.multipleChoiceFixture=ge,exports.multipleChoiceQuestion=he,exports.multipleChoiceSchema=Y,exports.orderFixture=ye,exports.orderQuestion=ve,exports.orderSchema=E,exports.pathwayDescriptions=y,exports.pathwaySlugs=b,exports.pathways=g,exports.phaseDescriptions=a,exports.phaseSlugs=s,exports.phases=r,exports.programmeFieldsFixture=ce,exports.programmeFieldsSchema=w,exports.programmeListingResponseSchema=ne,exports.programmeListingResponseSchemaArray=oe,exports.queriesSchema=k,exports.quizQuestionSchema=L,exports.shortAnswerFixture=be,exports.shortAnswerQuestion=xe,exports.shortAnswerSchema=A,exports.subjectSlugs=j,exports.subjects=v,exports.syntheticProgrammesByYearFixture=({overrides:e={}}={})=>({year_slug:"year-1",base_slug:"maths-primary-year-1",programme_slug:"maths-primary-year-1",is_legacy:!1,programme_fields:ce()}),exports.syntheticProgrammesByYearSchema=se,exports.syntheticUnitvariantLessonsByKsFixture=({overrides:e={}}={})=>Object.assign({lesson_slug:"lesson-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",programme_slug_by_year:["programme-slug-year"],is_legacy:!1,lesson_data:_e(),unit_data:pe(),null_unitvariant_id:1,unitvariant_id:1,programme_fields:ce(),order_in_unit:1},e),exports.syntheticUnitvariantLessonsByKsSchema=le,exports.syntheticUnitvariantLessonsByKsSchemaOld=re,exports.syntheticUnitvariantLessonsFixture=({overrides:e={}}={})=>Object.assign({lesson_slug:"lesson-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",is_legacy:!1,lesson_data:_e(),unit_data:pe(),null_unitvariant_id:0,programme_fields:ce(),supplementary_data:{unit_order:1,order_in_unit:1}},e),exports.syntheticUnitvariantLessonsSchema=te,exports.syntheticUnitvariantsWithLessonIdsByKsFixture=({overrides:e={}}={})=>Object.assign({base_slug:"base-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",programme_slug_by_year:"programme-slug-by-year",is_legacy:!1,lesson_count:1,lesson_sensitive_count:0,lesson_expired_count:0,lesson_ids:[1],unit_data:pe(),null_unitvariant_id:0,programme_fields:ce(),supplementary_data:{unit_order:1},expired:!1,threads:null},e),exports.syntheticUnitvariantsWithLessonIdsByKsSchema=de,exports.syntheticUnitvariantsWithLessonIdsFixture=({overrides:e={}}={})=>Object.assign({base_slug:"base-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",is_legacy:!1,lesson_count:1,lesson_sensitive_count:0,lesson_expired_count:0,unit_data:pe(),null_unitvariant_id:0,programme_fields:ce(),supplementary_data:{unit_order:1},expired:!1},e),exports.syntheticUnitvariantsWithLessonIdsSchema=ie,exports.teacherTipsFixture=Se,exports.teacherTipsSchema=H,exports.textItemSchema=P,exports.threadFixture=({overrides:e={}}={})=>Object.assign({thread_id:1,thread_title:"A thread",thread_slug:"a-thread"},e),exports.threadSchema=ue,exports.threadsByUnitSchema=ae,exports.tierDescriptions=m,exports.tierSlugs=p,exports.tiers=c,exports.unitDataFixture=pe,exports.unitDataSchema=$,exports.unitvariantFixture=({overrides:e={}}={})=>Object.assign({unitvariant_id:1,unit_id:1,_deleted:!1,_state:"published",_cohort:"2023-2024",unit_overrides:{},programme_fields:{}},e),exports.unitvariantSchema=ee,exports.yearDescriptions=_,exports.yearSlugs=d,exports.years=u;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/schema/base.schema.ts","../../src/schema/programmeFields.schema.ts","../../src/schema/actions.schema.ts","../../src/schema/features.schema.ts","../../src/schema/imageTextItems.schema.ts","../../src/schema/quizAnswers.schema.ts","../../src/schema/quizQuestion.schema.ts","../../src/schema/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/imageTextItems.fixture.ts","../../src/fixtures/quizAnswers.fixture.ts","../../src/fixtures/quizQuestion.fixture.ts","../../src/fixtures/additionalFiles.fixture.ts","../../src/fixtures/mediaClips.fixture.ts","../../src/fixtures/lessonContent.fixture.ts","../../src/fixtures/syntheticProgrammesByYear.fixture.ts","../../src/fixtures/syntheticUnitvariantLessonsByKs.fixture.ts","../../src/fixtures/syntheticUnitvariantLessons.fixture.ts","../../src/fixtures/syntheticUnitvariantsWithLessonIdsByKs.fixture.ts","../../src/fixtures/syntheticUnitvariantsWithLessonIds.fixture.ts","../../src/fixtures/thread.fixture.ts","../../src/fixtures/unitvariant.fixture.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const _stateSchema = z.enum([\"published\", \"new\", \"migration\"]);\nexport const _cohortSchema = z.enum([\n \"2020-2023\",\n \"2023-2024\",\n \"2024-2025\",\n \"0\",\n]);\n\nexport const phaseSlugs = z.enum([\"foundation\", \"primary\", \"secondary\"]);\nexport const phaseDescriptions = z.enum([\n \"Early Years Foundation Stage\",\n \"Primary\",\n \"Secondary\",\n]);\nexport const phases = z.enum([\"foundation\", \"primary\", \"secondary\"]);\n\nexport const keystages = z.enum([\n \"KS1\",\n \"KS2\",\n \"KS3\",\n \"KS4\",\n \"EYFS\",\n \"All key stages\",\n]);\nexport const keystageSlugs = z.enum([\n \"ks1\",\n \"ks2\",\n \"ks3\",\n \"ks4\",\n \"early-years-foundation-stage\",\n \"all-ks\",\n]);\nexport const keystageDescriptions = z.enum([\n \"Key Stage 1\",\n \"Key Stage 2\",\n \"Key Stage 3\",\n \"Key Stage 4\",\n \"Early Years Foundation Stage\",\n \"All Key Stages\",\n]);\n\nexport const years = z.enum([\n \"1\",\n \"2\",\n \"3\",\n \"4\",\n \"5\",\n \"6\",\n \"7\",\n \"8\",\n \"9\",\n \"10\",\n \"11\",\n \"12\",\n \"13\",\n \"R\",\n \"All\",\n]);\nexport const yearSlugs = z.enum([\n \"reception\",\n \"year-1\",\n \"year-2\",\n \"year-3\",\n \"year-4\",\n \"year-5\",\n \"year-6\",\n \"year-7\",\n \"year-8\",\n \"year-9\",\n \"year-10\",\n \"year-11\",\n \"year-12\",\n \"year-13\",\n \"all-years\",\n]);\nexport const yearDescriptions = z.enum([\n \"Year 1\",\n \"Year 2\",\n \"Year 3\",\n \"Year 4\",\n \"Year 5\",\n \"Year 6\",\n \"Year 7\",\n \"Year 8\",\n \"Year 9\",\n \"Year 10\",\n \"Year 11\",\n \"Year 12\",\n \"Year 13\",\n \"Reception\",\n \"All years\",\n]);\n\nexport const tiers = z.enum([\"core\", \"foundation\", \"higher\"]);\nexport const tierSlugs = z.enum([\"core\", \"foundation\", \"higher\"]);\nexport const tierDescriptions = z.enum([\"Core\", \"Foundation\", \"Higher\"]);\n\nexport const pathways = z.enum([\"Core\", \"GCSE\"]);\nexport const pathwaySlugs = z.enum([\"core\", \"gcse\"]);\nexport const pathwayDescriptions = z.enum([\"Core\", \"GCSE\"]);\n\nexport const examboardSlugs = z.enum([\n \"aqa\",\n \"edexcel\",\n \"eduqas\",\n \"ocr\",\n \"wjec\",\n \"edexcelb\",\n]);\nexport const examboards = z.enum([\n \"AQA\",\n \"Edexcel\",\n \"Eduqas\",\n \"OCR\",\n \"WJEC\",\n \"Edexcel B\",\n]);\nexport const examboardDescriptions = z.enum([\n \"Assessment and Qualifications Alliance\",\n \"Edexcel\",\n \"Eduqas\",\n \"Oxford, Cambridge and RSA Examinations\",\n \"Welsh Joint Education Committee\",\n \"Edexcel B\",\n]);\n\nexport const subjects = z.enum([\n \"Computing (non-GCSE)\",\n \"Art and design\",\n \"Citizenship\",\n \"Computing\",\n \"Computer Science\",\n \"Design and technology\",\n \"Drama\",\n \"English\",\n \"English grammar\",\n \"English reading for pleasure\",\n \"English spelling\",\n \"Expressive arts and design\",\n \"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 override_pathway: z.string(), // we have to override pathway in this way because we don't have the functionality to override different selection of programme fields across different queries\n is_pe_practical: z.boolean(),\n })\n .partial();\n\nexport type Actions = z.infer<typeof actionsSchema>;\n","import { z } from \"zod\";\n\nexport const featuresSchema = z\n .object({\n pe_practical: z.boolean(),\n })\n .partial();\n\nexport type Features = z.infer<typeof featuresSchema>;\n","import { z } from \"zod\";\n\nexport const imageObjectSchema = z.object({\n format: z.enum([\"png\", \"jpg\", \"jpeg\", \"webp\", \"gif\", \"svg\"]).optional(),\n secure_url: z.string().url(),\n url: z.string().url().optional(),\n height: z.number().optional(),\n width: z.number().optional(),\n metadata: z.union([\n z.array(z.any()),\n z.object({\n attribution: z.string().optional(),\n usageRestriction: z.string().optional(),\n }),\n ]),\n public_id: z.string().optional(),\n version: z.number().optional(),\n});\n\nexport type ImageObject = z.infer<typeof imageObjectSchema>;\n\nexport const imageItemSchema = z.object({\n image_object: imageObjectSchema,\n type: z.literal(\"image\"),\n});\n\nexport type ImageItem = z.infer<typeof imageItemSchema>;\n\nexport const textItemSchema = z.object({\n text: z.string(),\n type: z.literal(\"text\"),\n});\n\nexport type TextItem = z.infer<typeof textItemSchema>;\n","import { z } from \"zod\";\nimport { imageItemSchema, textItemSchema } from \"./imageTextItems.schema\";\n\nexport const multipleChoiceSchema = z.object({\n answer: z.array(z.union([textItemSchema, imageItemSchema]).optional()),\n answer_is_active: z.boolean().optional(),\n answer_is_correct: z.boolean().optional(),\n});\n\nexport type MultipleChoice = z.infer<typeof multipleChoiceSchema>;\n\nexport const shortAnswerSchema = z.object({\n answer: z.array(z.union([textItemSchema, imageItemSchema]).optional()),\n answer_is_active: z.boolean().optional(),\n answer_is_default: z.boolean().optional(),\n});\n\nexport type ShortAnswer = z.infer<typeof shortAnswerSchema>;\n\nexport const orderSchema = z.object({\n answer: z.array(textItemSchema),\n correct_order: z.number().optional(),\n answer_is_active: z.boolean().optional(),\n});\n\nexport type Order = z.infer<typeof orderSchema>;\n\nexport const matchSchema = z.object({\n answer_is_active: z.boolean().optional(),\n correct_choice: z.array(textItemSchema),\n match_option: z.array(textItemSchema).optional(),\n});\n\nexport type Match = z.infer<typeof matchSchema>;\n","import { z } from \"zod\";\n\nimport { imageItemSchema, textItemSchema } from \"./imageTextItems.schema\";\nimport {\n matchSchema,\n multipleChoiceSchema,\n orderSchema,\n shortAnswerSchema,\n} from \"./quizAnswers.schema\";\n\nexport const quizQuestionSchema = z.object({\n question_id: z.number(),\n question_uid: z.string(),\n question_type: z.string(),\n question_stem: z\n .array(z.union([textItemSchema, imageItemSchema]))\n .optional()\n .nullable(),\n answers: z\n .object({\n \"multiple-choice\": z.array(multipleChoiceSchema).optional(),\n \"short-answer\": z.array(shortAnswerSchema).optional(),\n order: z.array(orderSchema).optional(),\n match: z.array(matchSchema).optional(),\n })\n .optional()\n .nullable(),\n feedback: z.string().optional().nullable(),\n hint: z.string().optional().nullable(),\n active: z.boolean().optional(),\n order: z.number(),\n});\n\nexport type QuizQuestion = z.infer<typeof quizQuestionSchema>;\n","import { z } from \"zod\";\n\nexport const 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 lesson_guide_asset_id: z.number().nullable().optional(),\n has_lesson_guide_object: z.boolean().nullable().optional(),\n lesson_guide_asset_object_url: z.string().nullable().optional(),\n has_lesson_guide_google_drive_downloadable_version: z\n .boolean()\n .nullable()\n .optional(),\n geo_restricted: z.boolean().nullable(),\n login_required: z.boolean().nullable(),\n 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\";\nimport { featuresSchema } from \"./features.schema\";\n\nexport const syntheticUnitvariantLessonsSchema = z.object({\n lesson_slug: z.string(),\n unit_slug: z.string(),\n programme_slug: z.string(),\n is_legacy: z.boolean(),\n lesson_data: lessonDataSchema,\n unit_data: unitDataSchema,\n null_unitvariant_id: z.number(),\n unitvariant_id: z.number().nullish(),\n programme_fields: programmeFieldsSchema,\n supplementary_data: z.object({\n unit_order: z.number(),\n order_in_unit: z.number(),\n }),\n actions: actionsSchema.nullable().optional(),\n features: featuresSchema.nullable().optional(),\n});\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 {\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_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 { 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 { SyntheticUnitvariantLessons } from \"@/schema/syntheticUnitvariantLessons.schema\";\n\nimport { lessonDataFixture } from \"./lessonData.fixture\";\nimport { unitDataFixture } from \"./unitData.fixture\";\nimport { unitvariantFixture } from \"./unitvariant.fixture\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\n\n// To be deprecated\nexport const syntheticUnitvariantLessonsFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticUnitvariantLessons>;\n} = {}): SyntheticUnitvariantLessons => ({\n lesson_slug: \"lesson-slug\",\n unit_slug: \"unit-slug\",\n programme_slug: \"programme-slug\",\n is_legacy: false,\n lesson_data: lessonDataFixture(),\n unit_data: unitDataFixture(),\n null_unitvariant_id: 0,\n programme_fields: programmeFieldsFixture(),\n supplementary_data: {\n unit_order: 1,\n order_in_unit: 1,\n },\n ...overrides,\n});\n","import { unitDataFixture } from \"./unitData.fixture\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\nimport { SyntheticUnitvariantsWithLessonIdsByKs } from \"@/schema/syntheticUnitvariantsWithLessonIdsByKs.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsByKsFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticUnitvariantsWithLessonIdsByKs>;\n} = {}): SyntheticUnitvariantsWithLessonIdsByKs => ({\n base_slug: \"base-slug\",\n unit_slug: \"unit-slug\",\n programme_slug: \"programme-slug\",\n programme_slug_by_year: \"programme-slug-by-year\",\n is_legacy: false,\n lesson_count: 1,\n lesson_sensitive_count: 0,\n lesson_expired_count: 0,\n lesson_ids: [1],\n unit_data: unitDataFixture(),\n null_unitvariant_id: 0,\n programme_fields: programmeFieldsFixture(),\n supplementary_data: {\n unit_order: 1,\n },\n expired: false,\n threads: null,\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 { Thread } from \"@/schema/thread.schema\";\n\nexport const threadFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<Thread>;\n} = {}): Thread => ({\n thread_id: 1,\n thread_title: \"A thread\",\n thread_slug: \"a-thread\",\n ...overrides,\n});\n","import { Unitvariant } from \"@/schema/unitvariant.schema\";\n\nexport const unitvariantFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<Unitvariant>;\n} = {}): Unitvariant => ({\n unitvariant_id: 1,\n unit_id: 1,\n _deleted: false,\n _state: \"published\",\n _cohort: \"2023-2024\",\n unit_overrides: {},\n programme_fields: {},\n ...overrides,\n});\n"],"names":["_stateSchema","z","enum","_cohortSchema","phaseSlugs","phaseDescriptions","phases","keystages","keystageSlugs","keystageDescriptions","years","yearSlugs","yearDescriptions","tiers","tierSlugs","tierDescriptions","pathways","pathwaySlugs","pathwayDescriptions","examboardSlugs","examboards","examboardDescriptions","subjects","subjectSlugs","programmeFieldsSchema","object","pathway","nullable","pathway_id","number","pathway_slug","pathway_description","pathway_display_order","tier","tier_id","tier_slug","tier_description","tier_display_order","examboard","examboard_id","examboard_slug","examboard_description","examboard_display_order","year","year_slug","year_id","year_description","year_display_order","keystage","keystage_id","keystage_slug","keystage_description","keystage_display_order","phase","phase_id","phase_slug","phase_description","phase_display_order","subject","subject_id","subject_slug","subject_description","string","subject_display_order","subject_parent","nullish","optionality","optional","legacy","dataset","queriesSchema","journeysSchema","journeysAndQueriesSchema","union","actionsSchema","exclusions","array","opt_out","programme_field_overrides","partial","display_expiring_banner","boolean","disable_pupil_share","display_PE_title","display_vocab_button","override_pathway","is_pe_practical","featuresSchema","pe_practical","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_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","textItemFixture","multipleChoiceFixture","shortAnswerFixture","orderFixture","matchFixture","multipleChoiceQuestion","shortAnswerQuestion","orderQuestion","matchQuestion","additionalFilesFixture","mediaClipsFixture","intro","cycle2","lessonEquipmentAndResourcesFixture","teacherTipsFixture","keywordsFixture","misconceptionsAndCommonMistakesFixture","contentGuidanceFixture"],"mappings":"kCAEa,MAAAA,EAAeC,EAACA,EAACC,KAAK,CAAC,YAAa,MAAO,cAC3CC,EAAgBF,EAACA,EAACC,KAAK,CAClC,YACA,YACA,YACA,MAGWE,EAAaH,EAACA,EAACC,KAAK,CAAC,aAAc,UAAW,cAC9CG,EAAoBJ,EAACA,EAACC,KAAK,CACtC,+BACA,UACA,cAEWI,EAASL,EAACA,EAACC,KAAK,CAAC,aAAc,UAAW,cAE1CK,EAAYN,EAACA,EAACC,KAAK,CAC9B,MACA,MACA,MACA,MACA,OACA,mBAEWM,EAAgBP,EAACA,EAACC,KAAK,CAClC,MACA,MACA,MACA,MACA,+BACA,WAEWO,EAAuBR,EAACA,EAACC,KAAK,CACzC,cACA,cACA,cACA,cACA,+BACA,mBAGWQ,EAAQT,EAACA,EAACC,KAAK,CAC1B,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KACA,KACA,KACA,KACA,IACA,QAEWS,EAAYV,EAACA,EAACC,KAAK,CAC9B,YACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,UACA,UACA,UACA,UACA,cAEWU,EAAmBX,EAACA,EAACC,KAAK,CACrC,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,UACA,UACA,UACA,UACA,YACA,cAGWW,EAAQZ,EAACA,EAACC,KAAK,CAAC,OAAQ,aAAc,WACtCY,EAAYb,EAACA,EAACC,KAAK,CAAC,OAAQ,aAAc,WAC1Ca,EAAmBd,EAACA,EAACC,KAAK,CAAC,OAAQ,aAAc,WAEjDc,EAAWf,EAAAA,EAAEC,KAAK,CAAC,OAAQ,SAC3Be,EAAehB,EAAAA,EAAEC,KAAK,CAAC,OAAQ,SAC/BgB,EAAsBjB,EAAAA,EAAEC,KAAK,CAAC,OAAQ,SAEtCiB,EAAiBlB,EAACA,EAACC,KAAK,CACnC,MACA,UACA,SACA,MACA,OACA,aAEWkB,EAAanB,EAACA,EAACC,KAAK,CAC/B,MACA,UACA,SACA,MACA,OACA,cAEWmB,EAAwBpB,EAACA,EAACC,KAAK,CAC1C,yCACA,UACA,SACA,yCACA,kCACA,cAGWoB,EAAWrB,EAACA,EAACC,KAAK,CAC7B,uBACA,iBACA,cACA,YACA,mBACA,wBACA,QACA,UACA,kBACA,+BACA,mBACA,6BACA,SACA,YACA,SACA,UACA,QACA,WACA,QACA,QACA,6CACA,qBACA,cACA,sBACA,UACA,UACA,YACA,mBACA,UACA,UACA,0BACA,aACA,6BACA,gBACA,qBACA,WACA,uBACA,YACA,uBACA,mBACA,sBACA,8BACA,kBACA,0BAEWqB,EAAetB,EAACA,EAACC,KAAK,CACjC,qBACA,MACA,cACA,YACA,oBACA,QACA,UACA,kBACA,+BACA,mBACA,6BACA,SACA,YACA,SACA,UACA,QACA,WACA,QACA,QACA,4CACA,qBACA,YACA,sBACA,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CAClBC,WAAY,GAEdS,SAAS,EACTG,QAAS,MACNqB,6GCtBoD,EACvDA,YAAY,CAAA,GAGV,CAAE,IAAyCjB,OAAAC,OAAA,CAC7CZ,UAAW,YACXX,UAAW,YACXC,eAAgB,iBAChBlD,WAAW,EACX6D,aAAc,EACdC,uBAAwB,EACxBC,qBAAsB,EACtBX,UAAWsC,KACXrC,oBAAqB,EACrBN,iBAAkB0C,KAClBnC,mBAAoB,CAClBC,WAAY,GAEdS,SAAS,GACNwB,gKCrBwB,EAC3BA,YAAY,CAAE,GAGZ,CAAA,IACFjB,OAAAC,OAAA,CAAAU,UAAW,EACXC,aAAc,WACdC,YAAa,YACVI,wMCR6B,EAChCA,YAAY,CAAA,GAGV,CAAA,IACFjB,OAAAC,OAAA,CAAA5B,eAAgB,EAChBL,QAAS,EACTM,UAAU,EACV9C,OAAQ,YACRqC,QAAS,YACTU,eAAgB,GAChBC,iBAAkB,CAAE,GACjByC"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/schema/base.schema.ts","../../src/schema/programmeFields.schema.ts","../../src/schema/actions.schema.ts","../../src/schema/features.schema.ts","../../src/schema/imageTextItems.schema.ts","../../src/schema/quizAnswers.schema.ts","../../src/schema/quizQuestion.schema.ts","../../src/schema/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/imageTextItems.fixture.ts","../../src/fixtures/quizAnswers.fixture.ts","../../src/fixtures/quizQuestion.fixture.ts","../../src/fixtures/additionalFiles.fixture.ts","../../src/fixtures/mediaClips.fixture.ts","../../src/fixtures/lessonContent.fixture.ts","../../src/fixtures/syntheticProgrammesByYear.fixture.ts","../../src/fixtures/syntheticUnitvariantLessonsByKs.fixture.ts","../../src/fixtures/syntheticUnitvariantLessons.fixture.ts","../../src/fixtures/syntheticUnitvariantsWithLessonIdsByKs.fixture.ts","../../src/fixtures/syntheticUnitvariantsWithLessonIds.fixture.ts","../../src/fixtures/thread.fixture.ts","../../src/fixtures/unitvariant.fixture.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const _stateSchema = z.enum([\"published\", \"new\", \"migration\"]);\nexport const _cohortSchema = z.enum([\n \"2020-2023\",\n \"2023-2024\",\n \"2024-2025\",\n \"0\",\n]);\n\nexport const phaseSlugs = z.enum([\"foundation\", \"primary\", \"secondary\"]);\nexport const phaseDescriptions = z.enum([\n \"Early Years Foundation Stage\",\n \"Primary\",\n \"Secondary\",\n]);\nexport const phases = z.enum([\"foundation\", \"primary\", \"secondary\"]);\n\nexport const keystages = z.enum([\n \"KS1\",\n \"KS2\",\n \"KS3\",\n \"KS4\",\n \"EYFS\",\n \"All key stages\",\n]);\nexport const keystageSlugs = z.enum([\n \"ks1\",\n \"ks2\",\n \"ks3\",\n \"ks4\",\n \"early-years-foundation-stage\",\n \"all-ks\",\n]);\nexport const keystageDescriptions = z.enum([\n \"Key Stage 1\",\n \"Key Stage 2\",\n \"Key Stage 3\",\n \"Key Stage 4\",\n \"Early Years Foundation Stage\",\n \"All Key Stages\",\n]);\n\nexport const years = z.enum([\n \"1\",\n \"2\",\n \"3\",\n \"4\",\n \"5\",\n \"6\",\n \"7\",\n \"8\",\n \"9\",\n \"10\",\n \"11\",\n \"12\",\n \"13\",\n \"R\",\n \"All\",\n]);\nexport const yearSlugs = z.enum([\n \"reception\",\n \"year-1\",\n \"year-2\",\n \"year-3\",\n \"year-4\",\n \"year-5\",\n \"year-6\",\n \"year-7\",\n \"year-8\",\n \"year-9\",\n \"year-10\",\n \"year-11\",\n \"year-12\",\n \"year-13\",\n \"all-years\",\n]);\nexport const yearDescriptions = z.enum([\n \"Year 1\",\n \"Year 2\",\n \"Year 3\",\n \"Year 4\",\n \"Year 5\",\n \"Year 6\",\n \"Year 7\",\n \"Year 8\",\n \"Year 9\",\n \"Year 10\",\n \"Year 11\",\n \"Year 12\",\n \"Year 13\",\n \"Reception\",\n \"All years\",\n]);\n\nexport const tiers = z.enum([\"core\", \"foundation\", \"higher\"]);\nexport const tierSlugs = z.enum([\"core\", \"foundation\", \"higher\"]);\nexport const tierDescriptions = z.enum([\"Core\", \"Foundation\", \"Higher\"]);\n\nexport const pathways = z.enum([\"Core\", \"GCSE\"]);\nexport const pathwaySlugs = z.enum([\"core\", \"gcse\"]);\nexport const pathwayDescriptions = z.enum([\"Core\", \"GCSE\"]);\n\nexport const examboardSlugs = z.enum([\n \"aqa\",\n \"edexcel\",\n \"eduqas\",\n \"ocr\",\n \"wjec\",\n \"edexcelb\",\n]);\nexport const examboards = z.enum([\n \"AQA\",\n \"Edexcel\",\n \"Eduqas\",\n \"OCR\",\n \"WJEC\",\n \"Edexcel B\",\n]);\nexport const examboardDescriptions = z.enum([\n \"Assessment and Qualifications Alliance\",\n \"Edexcel\",\n \"Eduqas\",\n \"Oxford, Cambridge and RSA Examinations\",\n \"Welsh Joint Education Committee\",\n \"Edexcel B\",\n]);\n\nexport const subjects = z.enum([\n \"Computing (non-GCSE)\",\n \"Art and design\",\n \"Citizenship\",\n \"Computing\",\n \"Computer Science\",\n \"Design and technology\",\n \"Drama\",\n \"English\",\n \"English grammar\",\n \"English reading for pleasure\",\n \"English spelling\",\n \"Expressive arts and design\",\n \"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\";\nimport { subjectSlugs } from \"./base.schema\";\n\nexport const queriesSchema = z.enum([\n \"pupilSubjectListingQuery\",\n \"pupilProgrammeListingQuery\",\n \"pupilUnitListingQuery\",\n \"pupilLessonListingQuery\",\n \"pupilLessonQuery\",\n \"unitListingQuery\",\n \"lessonListingQuery\",\n \"programmeListingQuery\",\n \"subjectListingQuery\",\n \"lessonOverviewQuery\",\n \"lessonDownloadsQuery\",\n \"lessonBetaDownloadsQuery\",\n \"lessonShareQuery\",\n \"lessonMediaClipsQuery\",\n \"teacherPreviewLessonQuery\",\n]);\n\nexport const journeysSchema = z.enum([\"pupil\", \"teacher\", \"curriculum\"]);\n\nexport const journeysAndQueriesSchema = z.union([\n queriesSchema,\n journeysSchema,\n]);\n\nexport const actionsSchema = z\n .object({\n exclusions: z.array(journeysAndQueriesSchema),\n opt_out: z.array(journeysAndQueriesSchema),\n programme_field_overrides: programmeFieldsSchema.partial(),\n display_expiring_banner: z.boolean(),\n disable_pupil_share: z.boolean(),\n display_PE_title: z.boolean(),\n display_vocab_button: z.boolean(),\n override_pathway: z.string(), // we have to override pathway in this way because we don't have the functionality to override different selection of programme fields across different queries\n is_pe_practical: z.boolean(),\n related_subject_slugs: z.array(subjectSlugs),\n })\n .partial();\n\nexport type Actions = z.infer<typeof actionsSchema>;\n","import { z } from \"zod\";\n\nexport const featuresSchema = z\n .object({\n pe_practical: z.boolean(),\n })\n .partial();\n\nexport type Features = z.infer<typeof featuresSchema>;\n","import { z } from \"zod\";\n\nexport const imageObjectSchema = z.object({\n format: z.enum([\"png\", \"jpg\", \"jpeg\", \"webp\", \"gif\", \"svg\"]).optional(),\n secure_url: z.string().url(),\n url: z.string().url().optional(),\n height: z.number().optional(),\n width: z.number().optional(),\n metadata: z.union([\n z.array(z.any()),\n z.object({\n attribution: z.string().optional(),\n usageRestriction: z.string().optional(),\n }),\n ]),\n public_id: z.string().optional(),\n version: z.number().optional(),\n});\n\nexport type ImageObject = z.infer<typeof imageObjectSchema>;\n\nexport const imageItemSchema = z.object({\n image_object: imageObjectSchema,\n type: z.literal(\"image\"),\n});\n\nexport type ImageItem = z.infer<typeof imageItemSchema>;\n\nexport const textItemSchema = z.object({\n text: z.string(),\n type: z.literal(\"text\"),\n});\n\nexport type TextItem = z.infer<typeof textItemSchema>;\n","import { z } from \"zod\";\nimport { imageItemSchema, textItemSchema } from \"./imageTextItems.schema\";\n\nexport const multipleChoiceSchema = z.object({\n answer: z.array(z.union([textItemSchema, imageItemSchema]).optional()),\n answer_is_active: z.boolean().optional(),\n answer_is_correct: z.boolean().optional(),\n});\n\nexport type MultipleChoice = z.infer<typeof multipleChoiceSchema>;\n\nexport const shortAnswerSchema = z.object({\n answer: z.array(z.union([textItemSchema, imageItemSchema]).optional()),\n answer_is_active: z.boolean().optional(),\n answer_is_default: z.boolean().optional(),\n});\n\nexport type ShortAnswer = z.infer<typeof shortAnswerSchema>;\n\nexport const orderSchema = z.object({\n answer: z.array(textItemSchema),\n correct_order: z.number().optional(),\n answer_is_active: z.boolean().optional(),\n});\n\nexport type Order = z.infer<typeof orderSchema>;\n\nexport const matchSchema = z.object({\n answer_is_active: z.boolean().optional(),\n correct_choice: z.array(textItemSchema),\n match_option: z.array(textItemSchema).optional(),\n});\n\nexport type Match = z.infer<typeof matchSchema>;\n","import { z } from \"zod\";\n\nimport { imageItemSchema, textItemSchema } from \"./imageTextItems.schema\";\nimport {\n matchSchema,\n multipleChoiceSchema,\n orderSchema,\n shortAnswerSchema,\n} from \"./quizAnswers.schema\";\n\nexport const quizQuestionSchema = z.object({\n question_id: z.number(),\n question_uid: z.string(),\n question_type: z.string(),\n question_stem: z\n .array(z.union([textItemSchema, imageItemSchema]))\n .optional()\n .nullable(),\n answers: z\n .object({\n \"multiple-choice\": z.array(multipleChoiceSchema).optional(),\n \"short-answer\": z.array(shortAnswerSchema).optional(),\n order: z.array(orderSchema).optional(),\n match: z.array(matchSchema).optional(),\n })\n .optional()\n .nullable(),\n feedback: z.string().optional().nullable(),\n hint: z.string().optional().nullable(),\n active: z.boolean().optional(),\n order: z.number(),\n});\n\nexport type QuizQuestion = z.infer<typeof quizQuestionSchema>;\n","import { z } from \"zod\";\n\nexport const 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 lesson_guide_asset_id: z.number().nullable().optional(),\n has_lesson_guide_object: z.boolean().nullable().optional(),\n lesson_guide_asset_object_url: z.string().nullable().optional(),\n has_lesson_guide_google_drive_downloadable_version: z\n .boolean()\n .nullable()\n .optional(),\n geo_restricted: z.boolean().nullable(),\n login_required: z.boolean().nullable(),\n 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\";\nimport { featuresSchema } from \"./features.schema\";\n\nexport const syntheticUnitvariantLessonsSchema = z.object({\n lesson_slug: z.string(),\n unit_slug: z.string(),\n programme_slug: z.string(),\n is_legacy: z.boolean(),\n lesson_data: lessonDataSchema,\n unit_data: unitDataSchema,\n null_unitvariant_id: z.number(),\n unitvariant_id: z.number().nullish(),\n programme_fields: programmeFieldsSchema,\n supplementary_data: z.object({\n unit_order: z.number(),\n order_in_unit: z.number(),\n }),\n actions: actionsSchema.nullable().optional(),\n features: featuresSchema.nullable().optional(),\n});\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 {\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_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 { 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 { SyntheticUnitvariantLessons } from \"@/schema/syntheticUnitvariantLessons.schema\";\n\nimport { lessonDataFixture } from \"./lessonData.fixture\";\nimport { unitDataFixture } from \"./unitData.fixture\";\nimport { unitvariantFixture } from \"./unitvariant.fixture\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\n\n// To be deprecated\nexport const syntheticUnitvariantLessonsFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticUnitvariantLessons>;\n} = {}): SyntheticUnitvariantLessons => ({\n lesson_slug: \"lesson-slug\",\n unit_slug: \"unit-slug\",\n programme_slug: \"programme-slug\",\n is_legacy: false,\n lesson_data: lessonDataFixture(),\n unit_data: unitDataFixture(),\n null_unitvariant_id: 0,\n programme_fields: programmeFieldsFixture(),\n supplementary_data: {\n unit_order: 1,\n order_in_unit: 1,\n },\n ...overrides,\n});\n","import { unitDataFixture } from \"./unitData.fixture\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\nimport { SyntheticUnitvariantsWithLessonIdsByKs } from \"@/schema/syntheticUnitvariantsWithLessonIdsByKs.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsByKsFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticUnitvariantsWithLessonIdsByKs>;\n} = {}): SyntheticUnitvariantsWithLessonIdsByKs => ({\n base_slug: \"base-slug\",\n unit_slug: \"unit-slug\",\n programme_slug: \"programme-slug\",\n programme_slug_by_year: \"programme-slug-by-year\",\n is_legacy: false,\n lesson_count: 1,\n lesson_sensitive_count: 0,\n lesson_expired_count: 0,\n lesson_ids: [1],\n unit_data: unitDataFixture(),\n null_unitvariant_id: 0,\n programme_fields: programmeFieldsFixture(),\n supplementary_data: {\n unit_order: 1,\n },\n expired: false,\n threads: null,\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 { Thread } from \"@/schema/thread.schema\";\n\nexport const threadFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<Thread>;\n} = {}): Thread => ({\n thread_id: 1,\n thread_title: \"A thread\",\n thread_slug: \"a-thread\",\n ...overrides,\n});\n","import { Unitvariant } from \"@/schema/unitvariant.schema\";\n\nexport const unitvariantFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<Unitvariant>;\n} = {}): Unitvariant => ({\n unitvariant_id: 1,\n unit_id: 1,\n _deleted: false,\n _state: \"published\",\n _cohort: \"2023-2024\",\n unit_overrides: {},\n programme_fields: {},\n ...overrides,\n});\n"],"names":["_stateSchema","z","enum","_cohortSchema","phaseSlugs","phaseDescriptions","phases","keystages","keystageSlugs","keystageDescriptions","years","yearSlugs","yearDescriptions","tiers","tierSlugs","tierDescriptions","pathways","pathwaySlugs","pathwayDescriptions","examboardSlugs","examboards","examboardDescriptions","subjects","subjectSlugs","programmeFieldsSchema","object","pathway","nullable","pathway_id","number","pathway_slug","pathway_description","pathway_display_order","tier","tier_id","tier_slug","tier_description","tier_display_order","examboard","examboard_id","examboard_slug","examboard_description","examboard_display_order","year","year_slug","year_id","year_description","year_display_order","keystage","keystage_id","keystage_slug","keystage_description","keystage_display_order","phase","phase_id","phase_slug","phase_description","phase_display_order","subject","subject_id","subject_slug","subject_description","string","subject_display_order","subject_parent","nullish","optionality","optional","legacy","dataset","queriesSchema","journeysSchema","journeysAndQueriesSchema","union","actionsSchema","exclusions","array","opt_out","programme_field_overrides","partial","display_expiring_banner","boolean","disable_pupil_share","display_PE_title","display_vocab_button","override_pathway","is_pe_practical","related_subject_slugs","featuresSchema","pe_practical","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_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","textItemFixture","multipleChoiceFixture","shortAnswerFixture","orderFixture","matchFixture","multipleChoiceQuestion","shortAnswerQuestion","orderQuestion","matchQuestion","additionalFilesFixture","mediaClipsFixture","intro","cycle2","lessonEquipmentAndResourcesFixture","teacherTipsFixture","keywordsFixture","misconceptionsAndCommonMistakesFixture","contentGuidanceFixture"],"mappings":"kCAEa,MAAAA,EAAeC,EAACA,EAACC,KAAK,CAAC,YAAa,MAAO,cAC3CC,EAAgBF,EAACA,EAACC,KAAK,CAClC,YACA,YACA,YACA,MAGWE,EAAaH,EAACA,EAACC,KAAK,CAAC,aAAc,UAAW,cAC9CG,EAAoBJ,EAACA,EAACC,KAAK,CACtC,+BACA,UACA,cAEWI,EAASL,EAACA,EAACC,KAAK,CAAC,aAAc,UAAW,cAE1CK,EAAYN,EAACA,EAACC,KAAK,CAC9B,MACA,MACA,MACA,MACA,OACA,mBAEWM,EAAgBP,EAACA,EAACC,KAAK,CAClC,MACA,MACA,MACA,MACA,+BACA,WAEWO,EAAuBR,EAACA,EAACC,KAAK,CACzC,cACA,cACA,cACA,cACA,+BACA,mBAGWQ,EAAQT,EAACA,EAACC,KAAK,CAC1B,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KACA,KACA,KACA,KACA,IACA,QAEWS,EAAYV,EAACA,EAACC,KAAK,CAC9B,YACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,UACA,UACA,UACA,UACA,cAEWU,EAAmBX,EAACA,EAACC,KAAK,CACrC,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,UACA,UACA,UACA,UACA,YACA,cAGWW,EAAQZ,EAACA,EAACC,KAAK,CAAC,OAAQ,aAAc,WACtCY,EAAYb,EAACA,EAACC,KAAK,CAAC,OAAQ,aAAc,WAC1Ca,EAAmBd,EAACA,EAACC,KAAK,CAAC,OAAQ,aAAc,WAEjDc,EAAWf,EAAAA,EAAEC,KAAK,CAAC,OAAQ,SAC3Be,EAAehB,EAAAA,EAAEC,KAAK,CAAC,OAAQ,SAC/BgB,EAAsBjB,EAAAA,EAAEC,KAAK,CAAC,OAAQ,SAEtCiB,EAAiBlB,EAACA,EAACC,KAAK,CACnC,MACA,UACA,SACA,MACA,OACA,aAEWkB,EAAanB,EAACA,EAACC,KAAK,CAC/B,MACA,UACA,SACA,MACA,OACA,cAEWmB,EAAwBpB,EAACA,EAACC,KAAK,CAC1C,yCACA,UACA,SACA,yCACA,kCACA,cAGWoB,EAAWrB,EAACA,EAACC,KAAK,CAC7B,uBACA,iBACA,cACA,YACA,mBACA,wBACA,QACA,UACA,kBACA,+BACA,mBACA,6BACA,SACA,YACA,SACA,UACA,QACA,WACA,QACA,QACA,6CACA,qBACA,cACA,sBACA,UACA,UACA,YACA,mBACA,UACA,UACA,0BACA,aACA,6BACA,gBACA,qBACA,WACA,uBACA,YACA,uBACA,mBACA,sBACA,8BACA,kBACA,0BAEWqB,EAAetB,EAACA,EAACC,KAAK,CACjC,qBACA,MACA,cACA,YACA,oBACA,QACA,UACA,kBACA,+BACA,mBACA,6BACA,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,EAACA,EAACwB,OAAO,CAC5CC,QAASV,EAASW,WAClBC,WAAY3B,EAACA,EAAC4B,SAASF,WACvBG,aAAcb,EAAaU,WAC3BI,oBAAqBb,EAAoBS,WACzCK,sBAAuB/B,EAACA,EAAC4B,SAASF,WAElCM,KAAMpB,EAAMc,WACZO,QAASjC,EAACA,EAAC4B,SAASF,WACp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