@oaknational/oak-curriculum-schema 1.44.0 → 1.45.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/additionalFiles.fixture.ts +1 -4
- package/dist/src/src/fixtures/index.ts +1 -0
- package/dist/src/src/fixtures/lessonContent.fixture.ts +2 -0
- package/dist/src/src/fixtures/mediaClips.fixture.ts +165 -0
- package/dist/src/src/schema/actions.schema.ts +1 -0
- package/dist/src/src/schema/index.ts +1 -0
- package/dist/src/src/schema/lessonContent.schema.ts +4 -1
- package/dist/src/src/schema/mediaClips.schema.ts +91 -0
- package/dist/types.d.ts +2084 -178
- 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"]),s=e.z.enum(["2020-2023","2023-2024","2024-2025","0"]),a=e.z.enum(["foundation","primary","secondary"]),i=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"]),_=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"]),c=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"]),d=e.z.enum(["core","foundation","higher"]),p=e.z.enum(["core","foundation","higher"]),g=e.z.enum(["Core","Foundation","Higher"]),m=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:m.nullable(),pathway_id:e.z.number().nullable(),pathway_slug:b.nullable(),pathway_description:y.nullable(),pathway_display_order:e.z.number().nullable(),tier:d.nullable(),tier_id:e.z.number().nullable(),tier_slug:p.nullable(),tier_description:g.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:_,year_id:e.z.number(),year_description:c,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:a,phase_description:i,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","lessonShareQuery","lessonMediaClipsQuery","teacherPreviewLessonQuery"]),S=e.z.enum(["pupil","teacher","curriculum"]),f=e.z.union([k,S]),q=e.z.object({exclusions:e.z.array(f),opt_out:e.z.array(f),programme_field_overrides:w.partial(),display_expiring_banner:e.z.boolean(),disable_pupil_share:e.z.boolean()}).partial(),F=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()}),O=e.z.object({image_object:F,type:e.z.literal("image")}),C=e.z.object({text:e.z.string(),type:e.z.literal("text")}),E=e.z.object({answer:e.z.array(e.z.union([C,O]).optional()),answer_is_active:e.z.boolean().optional(),answer_is_correct:e.z.boolean().optional()}),L=e.z.object({answer:e.z.array(e.z.union([C,O]).optional()),answer_is_active:e.z.boolean().optional(),answer_is_default:e.z.boolean().optional()}),Q=e.z.object({answer:e.z.array(C),correct_order:e.z.number().optional(),answer_is_active:e.z.boolean().optional()}),A=e.z.object({answer_is_active:e.z.boolean().optional(),correct_choice:e.z.array(C),match_option:e.z.array(C).optional()}),Y=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([C,O])).optional().nullable(),answers:e.z.object({"multiple-choice":e.z.array(E).optional(),"short-answer":e.z.array(L).optional(),order:e.z.array(Q).optional(),match:e.z.array(A).optional()}).optional().nullable(),feedback:e.z.string().optional().nullable(),hint:e.z.string().optional().nullable(),active:e.z.boolean().optional(),order:e.z.number()}),P=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()}),K=e.z.object({files:e.z.array(e.z.object({title:e.z.string(),file_object:P}))}),R=e.z.object({equipment:e.z.string()}),D=e.z.object({key_learning_point:e.z.string()}),T=e.z.object({keyword:e.z.string(),description:e.z.string()}),U=e.z.object({misconception:e.z.string(),response:e.z.string()}),B=e.z.object({teacher_tip:e.z.string()}),W=e.z.object({contentguidance_label:e.z.string().nullable(),contentguidance_description:e.z.string().nullable(),contentguidance_area:e.z.string().nullable()}),G=e.z.object({lesson_id:e.z.number(),lesson_slug:e.z.string(),lesson_title:e.z.string().nullable(),content_guidance:e.z.array(W).nullable(),misconceptions_and_common_mistakes:e.z.array(U).nullable(),teacher_tips:e.z.array(B).nullable(),equipment_and_resources:e.z.array(R).nullable(),pupil_lesson_outcome:e.z.string().nullable(),phonics_outcome:e.z.string().nullable(),lesson_keywords:e.z.array(T).nullable(),supervision_level:e.z.string().nullable(),key_learning_points:e.z.array(D).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(Y).optional().nullable(),exit_quiz:e.z.array(Y).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_asset_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(K).nullable()}),I=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(R).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(),deprecated_fields:e.z.record(e.z.unknown()).nullable(),_state:t,_cohort:s,updated_at:e.z.string()}),M=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:s,expiration_date:e.z.string().nullable()}),H=e.z.object({_state:t,_cohort:s,unit_id:e.z.number(),unitvariant_id:e.z.number(),_deleted:e.z.boolean(),unit_overrides:M.partial(),programme_fields:w.partial()}),N=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:I,unit_data:M,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:e.z.object({}).optional().nullable()}),J=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:M,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()}),Z=e.z.object({year_slug:_,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()}),V=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()}),X=e.z.object(Object.assign(Object.assign({},N.omit({null_unitvariant_id:!0}).shape),{unitvariant_id:e.z.number().nullable(),null_unitvariant:H,programme_fields:w.omit({pathway:!0,pathway_description:!0,pathway_display_order:!0,pathway_id:!0,pathway_slug:!0})})),$=X.pick({lesson_data:!0,programme_fields:!0,is_legacy:!0,programme_slug:!0}),ee=e.z.array($),te=e.z.object(Object.assign(Object.assign({},N.omit({supplementary_data:!0}).shape),{programme_slug_by_year:e.z.string().array(),order_in_unit:e.z.number()})),se=e.z.object({thread_id:e.z.number(),thread_title:e.z.string(),thread_slug:e.z.string()}),ae=e.z.object(Object.assign(Object.assign({},J.shape),{programme_slug_by_year:e.z.string(),lesson_ids:e.z.array(e.z.number()).nullable(),threads:e.z.array(se).nullable()})),ie=({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},e),re=({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),ne=({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),oe=({overrides:e={}}={})=>Object.assign({text:"Hello, World!",type:"text"},e),le=({overrides:e={}}={})=>Object.assign({answer:[oe(),{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),ue=({overrides:e={}}={})=>Object.assign({answer:[oe(),{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),_e=({overrides:e={}}={})=>Object.assign({answer:[oe()],correct_order:1,answer_is_active:!0},e),ce=({overrides:e={}}={})=>Object.assign({answer_is_active:!0,correct_choice:[oe({overrides:{text:"Paris"}})],match_option:[oe({overrides:{text:"Capital of France"}})]},e),de=({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":[le({overrides:{answer_is_correct:!0}}),le({overrides:{answer_is_correct:!1}}),le({overrides:{answer_is_correct:!1}}),le({overrides:{answer_is_correct:!1}})]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:1},e),pe=({overrides:e={}}={})=>Object.assign({question_id:2,question_uid:"question-2",question_type:"short-answer",question_stem:[{text:"What is the capital of France?",type:"text"}],answers:{"short-answer":[ue()]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:2},e),ge=({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:[_e({overrides:{correct_order:1}}),_e({overrides:{correct_order:2}}),_e({overrides:{correct_order:3}}),_e({overrides:{correct_order:4}})]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:3},e),me=({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:[ce(),ce(),ce(),ce()]},feedback:"Paris is the capital of France.",hint:"Think about the Eiffel Tower.",active:!0,order:4},e),be=({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),ye=()=>({equipment:"equipment"}),ze=()=>({teacher_tip:"teacher-tip"}),he=()=>({keyword:"keyword",description:"description"}),xe=()=>({misconception:"misconception",response:"response"}),ve=()=>({contentguidance_label:"contentguidance-label",contentguidance_description:"contentguidance-description",contentguidance_area:"contentguidance-area"});exports._cohortSchema=s,exports._stateSchema=t,exports.actionsSchema=q,exports.additionalFilesFixture=be,exports.additionalFilesSchema=K,exports.contentGuidanceFixture=ve,exports.contentGuidanceSchema=W,exports.examboardDescriptions=x,exports.examboardSlugs=z,exports.examboards=h,exports.fileObjectSchema=P,exports.imageItemSchema=O,exports.imageObjectSchema=F,exports.journeysAndQueriesSchema=f,exports.journeysSchema=S,exports.keyLearningPointsSchema=D,exports.keystageDescriptions=l,exports.keystageSlugs=o,exports.keystages=n,exports.keywordsFixture=he,exports.keywordsSchema=T,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:[de({overrides:{order:1,question_uid:"starter-quiz-1"}}),ge({overrides:{order:2,question_uid:"starter-quiz-2"}}),me({overrides:{order:3,question_uid:"starter-quiz-3"}}),pe({overrides:{order:4,question_uid:"starter-quiz-4"}})],starter_quiz_id:1,exit_quiz:null,exit_quiz_id:null,supervision_level:null,_state:"published",slide_deck_asset_id:301,has_slide_deck_asset_object:!0,worksheet_asset_id:302,has_worksheet_answers_asset_object:!0,worksheet_answers_asset_id:303,has_worksheet_google_drive_downloadable_version:!0,has_supplementary_asset_object:!0,supplementary_asset_id:304,supplementary_asset_object_url:"supplementary-asset-object-url",slide_deck_asset_object_url:"slide-deck-asset-object-url",worksheet_asset_object_url:"worksheet-asset-object-url",has_worksheet_asset_object:!0,geo_restricted:!1,login_required:!1,lesson_guide_asset_id:1,has_lesson_guide_asset_object:!0,lesson_guide_asset_object_url:"lesson-guide-asset-object-url",has_lesson_guide_google_drive_downloadable_version:!1,additional_files:[be()]},e),exports.lessonContentSchema=G,exports.lessonDataFixture=ie,exports.lessonDataSchema=I,exports.lessonEquipmentAndResourcesFixture=ye,exports.lessonEquipmentAndResourcesSchema=R,exports.matchFixture=ce,exports.matchQuestion=me,exports.matchSchema=A,exports.misconceptionsAndCommonMistakesFixture=xe,exports.misconceptionsAndCommonMistakesSchema=U,exports.multipleChoiceFixture=le,exports.multipleChoiceQuestion=de,exports.multipleChoiceSchema=E,exports.orderFixture=_e,exports.orderQuestion=ge,exports.orderSchema=Q,exports.pathwayDescriptions=y,exports.pathwaySlugs=b,exports.pathways=m,exports.phaseDescriptions=i,exports.phaseSlugs=a,exports.phases=r,exports.programmeFieldsFixture=re,exports.programmeFieldsSchema=w,exports.programmeListingResponseSchema=$,exports.programmeListingResponseSchemaArray=ee,exports.queriesSchema=k,exports.quizQuestionSchema=Y,exports.shortAnswerFixture=ue,exports.shortAnswerQuestion=pe,exports.shortAnswerSchema=L,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:re()}),exports.syntheticProgrammesByYearSchema=Z,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:ie(),unit_data:ne(),null_unitvariant_id:1,unitvariant_id:1,programme_fields:re(),order_in_unit:1},e),exports.syntheticUnitvariantLessonsByKsSchema=te,exports.syntheticUnitvariantLessonsByKsSchemaOld=X,exports.syntheticUnitvariantLessonsFixture=({overrides:e={}}={})=>Object.assign({lesson_slug:"lesson-slug",unit_slug:"unit-slug",programme_slug:"programme-slug",is_legacy:!1,lesson_data:ie(),unit_data:ne(),null_unitvariant_id:0,programme_fields:re(),supplementary_data:{unit_order:1,order_in_unit:1}},e),exports.syntheticUnitvariantLessonsSchema=N,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:ne(),null_unitvariant_id:0,programme_fields:re(),supplementary_data:{unit_order:1},expired:!1,threads:null},e),exports.syntheticUnitvariantsWithLessonIdsByKsSchema=ae,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:ne(),null_unitvariant_id:0,programme_fields:re(),supplementary_data:{unit_order:1},expired:!1},e),exports.syntheticUnitvariantsWithLessonIdsSchema=J,exports.teacherTipsFixture=ze,exports.teacherTipsSchema=B,exports.textItemSchema=C,exports.threadFixture=({overrides:e={}}={})=>Object.assign({thread_id:1,thread_title:"A thread",thread_slug:"a-thread"},e),exports.threadSchema=se,exports.threadsByUnitSchema=V,exports.tierDescriptions=g,exports.tierSlugs=p,exports.tiers=d,exports.unitDataFixture=ne,exports.unitDataSchema=M,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=H,exports.yearDescriptions=c,exports.yearSlugs=_,exports.years=u;
|
|
1
|
+
"use strict";var e=require("zod");const t=e.z.enum(["published","new","migration"]),s=e.z.enum(["2020-2023","2023-2024","2024-2025","0"]),i=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:i,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()}).partial(),F=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()}),O=e.z.object({image_object:F,type:e.z.literal("image")}),C=e.z.object({text:e.z.string(),type:e.z.literal("text")}),P=e.z.object({answer:e.z.array(e.z.union([C,O]).optional()),answer_is_active:e.z.boolean().optional(),answer_is_correct:e.z.boolean().optional()}),L=e.z.object({answer:e.z.array(e.z.union([C,O]).optional()),answer_is_active:e.z.boolean().optional(),answer_is_default:e.z.boolean().optional()}),Y=e.z.object({answer:e.z.array(C),correct_order:e.z.number().optional(),answer_is_active:e.z.boolean().optional()}),A=e.z.object({answer_is_active:e.z.boolean().optional(),correct_choice:e.z.array(C),match_option:e.z.array(C).optional()}),Q=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([C,O])).optional().nullable(),answers:e.z.object({"multiple-choice":e.z.array(P).optional(),"short-answer":e.z.array(L).optional(),order:e.z.array(Y).optional(),match:e.z.array(A).optional()}).optional().nullable(),feedback:e.z.string().optional().nullable(),hint:e.z.string().optional().nullable(),active:e.z.boolean().optional(),order:e.z.number()}),R=e.z.object({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()}),E=e.z.object({files:e.z.array(e.z.object({title:e.z.string(),file_object:R}))}),K=e.z.object({asset_type:e.z.string(),source_type:e.z.string(),asset_source:e.z.string(),licence_type:e.z.string(),content_cycle:e.z.string(),permissionGranted:e.z.string()}).partial(),U=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(),metadata:K,secure_url:e.z.string(),access_mode:e.z.string(),asset_folder:e.z.string(),display_name:e.z.string(),resource_type:e.z.string()}),D=e.z.object({id:e.z.string(),type:e.z.string(),asset_id:e.z.string(),duration:e.z.number()}).partial(),W=e.z.object({id:e.z.string().optional(),status:e.z.string().optional(),tracks:e.z.array(D).optional(),duration:e.z.number(),created_at:e.z.number(),mp4_support:e.z.string(),passthrough:e.z.string(),mux_asset_id:e.z.string(),playback_ids:e.z.array(e.z.object({id:e.z.string(),policy:e.z.string()})),encoding_tier:e.z.string(),video_quality:e.z.string(),mux_playback_id:e.z.string(),signed_stream_id:e.z.string(),static_renditions:e.z.object({status:e.z.string()}),max_resolution_tier:e.z.string(),max_stored_resolution:e.z.string(),non_standard_input_reasons:e.z.object({audio_codec:e.z.string()})}).partial(),T=e.z.object({order:e.z.string(),media_id:e.z.string(),video_id:e.z.number(),media_type:e.z.string(),custom_title:e.z.string(),media_object:U,video_object:W}).partial(),M=e.z.record(e.z.string(),e.z.array(T)),G=e.z.object({media_clips:M}),H=e.z.object({equipment:e.z.string()}),N=e.z.object({key_learning_point:e.z.string()}),B=e.z.object({keyword:e.z.string(),description:e.z.string()}),J=e.z.object({misconception:e.z.string(),response:e.z.string()}),V=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()}),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(V).nullable(),equipment_and_resources:e.z.array(H).nullable(),pupil_lesson_outcome:e.z.string().nullable(),phonics_outcome:e.z.string().nullable(),lesson_keywords:e.z.array(B).nullable(),supervision_level:e.z.string().nullable(),key_learning_points:e.z.array(N).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(Q).optional().nullable(),exit_quiz:e.z.array(Q).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_asset_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(E).nullish(),has_additional_files:e.z.boolean().nullish(),media_clips:G.nullish()}),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(H).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(),deprecated_fields:e.z.record(e.z.unknown()).nullable(),_state:t,_cohort:s,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:s,expiration_date:e.z.string().nullable()}),ee=e.z.object({_state:t,_cohort:s,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:e.z.object({}).optional().nullable()}),se=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()}),ie=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({},se.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},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,width:0,format:"mp3",height:0,version:1736860290,duration:5.041633,metadata:{asset_type:"audio_speech",source_type:"partner_created",asset_source:"partner_created",licence_type:"no_licence",content_cycle:"cycle_2",permissionGranted:"notRequired"},secure_url:"https://example.com/video1.mp3",access_mode:"public",asset_folder:"Cycle 2 assets/MFL - French - Secondary/Audio/Y7/FR7U15/FR7U15L1",display_name:"9_task_C1_3",resource_type:"video"},video_object:{id:"hug9i01Tnpf1y83irOm00HRbvAJpttJPU78KNYzPav3mg",status:"ready",tracks:[{id:"32v67aMKIr5Z014b3n3AVwNHjAPnWSuhJCm008E026lYOQ",type:"audio",duration:5.041633},{id:"staging-mock-asset",asset_id:"hug9i01Tnpf1y83irOm00HRbvAJpttJPU78KNYzPav3mg"}],duration:5.055667,created_at:1736864397,mp4_support:"standard",passthrough:"VIDE-ZHHRL-29844",mux_asset_id:"hug9i01Tnpf1y83irOm00HRbvAJpttJPU78KNYzPav3mg",playback_ids:[{id:"mVkKUtOfoD1100012GNC1pCO6RvUgyGwqGoq01pYsy7WeA",policy:"signed"},{id:"BW00NkK9R01jB8PPO7R00YCFl2XBDn13GTkhd0001PNtheF00",policy:"public"}],encoding_tier:"smart",video_quality:"plus",mux_playback_id:"BW00NkK9R01jB8PPO7R00YCFl2XBDn13GTkhd0001PNtheF00",signed_stream_id:"mVkKUtOfoD1100012GNC1pCO6RvUgyGwqGoq01pYsy7WeA",static_renditions:{status:"preparing"},max_resolution_tier:"1080p",max_stored_resolution:"Audio only",non_standard_input_reasons:{audio_codec:"mp3"}}},{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,width:0,format:"mp3",height:0,version:1736860289,duration:7.601633,metadata:{asset_type:"audio_speech",source_type:"partner_created",asset_source:"partner_created",licence_type:"no_licence",content_cycle:"cycle_2",permissionGranted:"notRequired"},secure_url:"https://example.com/video2.mp3",access_mode:"public",asset_folder:"Cycle 2 assets/MFL - French - Secondary/Audio/Y7/FR7U15/FR7U15L1",display_name:"8_task_C1_2",resource_type:"video"},video_object:{id:"gyUmSG2VVqcuw00NzT9f02kZvlLmXsrnuT5P7KhrYhWJg",status:"ready",tracks:[{id:"01hRHlW4zKJxPMUCtlSHQLaQjecx9o02gNsy597cLs01500",type:"audio",duration:7.601633},{id:"staging-mock-asset",asset_id:"gyUmSG2VVqcuw00NzT9f02kZvlLmXsrnuT5P7KhrYhWJg"}],duration:7.603667,created_at:1736864397,mp4_support:"standard",passthrough:"VIDE-TVKWF-29845",mux_asset_id:"gyUmSG2VVqcuw00NzT9f02kZvlLmXsrnuT5P7KhrYhWJg",playback_ids:[{id:"9a02PY7PivjOBUHyH4N2mAwJH00aJoZeybWyy9hiwXVQY",policy:"public"},{id:"02mDhMdHMs4MOCAMutPLWzylp00NQgDYfiydlLQPDWI3M",policy:"signed"}],encoding_tier:"smart",video_quality:"plus",mux_playback_id:"9a02PY7PivjOBUHyH4N2mAwJH00aJoZeybWyy9hiwXVQY",signed_stream_id:"02mDhMdHMs4MOCAMutPLWzylp00NQgDYfiydlLQPDWI3M",static_renditions:{status:"preparing"},max_resolution_tier:"1080p",max_stored_resolution:"Audio only",non_standard_input_reasons:{audio_codec:"mp3"}}}]}},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.MediaClipsSchema=M,exports._cohortSchema=s,exports._stateSchema=t,exports.actionsSchema=q,exports.additionalFilesFixture=we,exports.additionalFilesSchema=E,exports.contentGuidanceFixture=Oe,exports.contentGuidanceSchema=I,exports.examboardDescriptions=x,exports.examboardSlugs=z,exports.examboards=h,exports.fileObjectSchema=R,exports.imageItemSchema=O,exports.imageObjectSchema=F,exports.journeysAndQueriesSchema=S,exports.journeysSchema=f,exports.keyLearningPointsSchema=N,exports.keystageDescriptions=l,exports.keystageSlugs=o,exports.keystages=n,exports.keywordsFixture=qe,exports.keywordsSchema=B,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_asset_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()},e),exports.lessonContentSchema=Z,exports.lessonDataFixture=_e,exports.lessonDataSchema=X,exports.lessonEquipmentAndResourcesFixture=fe,exports.lessonEquipmentAndResourcesSchema=H,exports.lessonMediaClipsSchema=G,exports.matchFixture=ze,exports.matchQuestion=je,exports.matchSchema=A,exports.mediaClipSchema=T,exports.mediaClipsFixture=ke,exports.misconceptionsAndCommonMistakesFixture=Fe,exports.misconceptionsAndCommonMistakesSchema=J,exports.multipleChoiceFixture=ge,exports.multipleChoiceQuestion=he,exports.multipleChoiceSchema=P,exports.orderFixture=ye,exports.orderQuestion=ve,exports.orderSchema=Y,exports.pathwayDescriptions=y,exports.pathwaySlugs=b,exports.pathways=g,exports.phaseDescriptions=a,exports.phaseSlugs=i,exports.phases=r,exports.programmeFieldsFixture=ce,exports.programmeFieldsSchema=w,exports.programmeListingResponseSchema=ne,exports.programmeListingResponseSchemaArray=oe,exports.queriesSchema=k,exports.quizQuestionSchema=Q,exports.shortAnswerFixture=be,exports.shortAnswerQuestion=xe,exports.shortAnswerSchema=L,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=ie,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=se,exports.teacherTipsFixture=Se,exports.teacherTipsSchema=V,exports.textItemSchema=C,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.videoObjectSchema=W,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/imageTextItems.schema.ts","../../src/schema/quizAnswers.schema.ts","../../src/schema/quizQuestion.schema.ts","../../src/schema/additionalFiles.schema.ts","../../src/schema/lessonContent.schema.ts","../../src/schema/lessonData.schema.ts","../../src/schema/unitData.schema.ts","../../src/schema/unitvariant.schema.ts","../../src/schema/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/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 \"lessonShareQuery\",\n \"lessonMediaClipsQuery\",\n \"teacherPreviewLessonQuery\",\n]);\n\nexport const journeysSchema = z.enum([\"pupil\", \"teacher\", \"curriculum\"]);\n\nexport const journeysAndQueriesSchema = z.union([\n queriesSchema,\n journeysSchema,\n]);\n\nexport const actionsSchema = z\n .object({\n exclusions: z.array(journeysAndQueriesSchema),\n opt_out: z.array(journeysAndQueriesSchema),\n programme_field_overrides: programmeFieldsSchema.partial(),\n display_expiring_banner: z.boolean(),\n disable_pupil_share: z.boolean(),\n })\n .partial();\n","import { z } from \"zod\";\n\nexport const imageObjectSchema = z.object({\n format: z.enum([\"png\", \"jpg\", \"jpeg\", \"webp\", \"gif\", \"svg\"]).optional(),\n secure_url: z.string().url(),\n url: z.string().url().optional(),\n height: z.number().optional(),\n width: z.number().optional(),\n metadata: z.union([\n z.array(z.any()),\n z.object({\n attribution: z.string().optional(),\n usageRestriction: z.string().optional(),\n }),\n ]),\n public_id: z.string().optional(),\n version: z.number().optional(),\n});\n\nexport type ImageObject = z.infer<typeof imageObjectSchema>;\n\nexport const imageItemSchema = z.object({\n image_object: imageObjectSchema,\n type: z.literal(\"image\"),\n});\n\nexport type ImageItem = z.infer<typeof imageItemSchema>;\n\nexport const textItemSchema = z.object({\n text: z.string(),\n type: z.literal(\"text\"),\n});\n\nexport type TextItem = z.infer<typeof textItemSchema>;\n","import { z } from \"zod\";\nimport { imageItemSchema, textItemSchema } from \"./imageTextItems.schema\";\n\nexport const multipleChoiceSchema = z.object({\n answer: z.array(z.union([textItemSchema, imageItemSchema]).optional()),\n answer_is_active: z.boolean().optional(),\n answer_is_correct: z.boolean().optional(),\n});\n\nexport type MultipleChoice = z.infer<typeof multipleChoiceSchema>;\n\nexport const shortAnswerSchema = z.object({\n answer: z.array(z.union([textItemSchema, imageItemSchema]).optional()),\n answer_is_active: z.boolean().optional(),\n answer_is_default: z.boolean().optional(),\n});\n\nexport type ShortAnswer = z.infer<typeof shortAnswerSchema>;\n\nexport const orderSchema = z.object({\n answer: z.array(textItemSchema),\n correct_order: z.number().optional(),\n answer_is_active: z.boolean().optional(),\n});\n\nexport type Order = z.infer<typeof orderSchema>;\n\nexport const matchSchema = z.object({\n answer_is_active: z.boolean().optional(),\n correct_choice: z.array(textItemSchema),\n match_option: z.array(textItemSchema).optional(),\n});\n\nexport type Match = z.infer<typeof matchSchema>;\n","import { z } from \"zod\";\n\nimport { imageItemSchema, textItemSchema } from \"./imageTextItems.schema\";\nimport {\n matchSchema,\n multipleChoiceSchema,\n orderSchema,\n shortAnswerSchema,\n} from \"./quizAnswers.schema\";\n\nexport const quizQuestionSchema = z.object({\n question_id: z.number(),\n question_uid: z.string(),\n question_type: z.string(),\n question_stem: z\n .array(z.union([textItemSchema, imageItemSchema]))\n .optional()\n .nullable(),\n answers: z\n .object({\n \"multiple-choice\": z.array(multipleChoiceSchema).optional(),\n \"short-answer\": z.array(shortAnswerSchema).optional(),\n order: z.array(orderSchema).optional(),\n match: z.array(matchSchema).optional(),\n })\n .optional()\n .nullable(),\n feedback: z.string().optional().nullable(),\n hint: z.string().optional().nullable(),\n active: z.boolean().optional(),\n order: z.number(),\n});\n\nexport type QuizQuestion = z.infer<typeof quizQuestionSchema>;\n","import { z } from \"zod\";\n\nexport const fileObjectSchema = z.object({\n id: z.string(),\n url: z.string(),\n type: z.string(),\n bytes: z.number(),\n width: z.number(),\n format: z.string(),\n height: z.number(),\n version: z.number(),\n duration: z.number().nullish(),\n metadata: z\n .object({\n source: z.string().nullish(),\n usageRestrictions: z.string().nullish(),\n attribution_required: z.string().nullish(),\n })\n .nullish(),\n created_at: z.string(),\n created_by: z.object({\n id: z.string(),\n type: z.string(),\n }),\n display_name: z.string(),\n resource_type: z.string(),\n});\n\nexport const additionalFilesSchema = z.object({\n files: z.array(\n z.object({\n title: z.string(),\n file_object: fileObjectSchema,\n }),\n ),\n});\n\nexport type FileObject = z.infer<typeof fileObjectSchema>;\nexport type AdditionalFiles = z.infer<typeof additionalFilesSchema>;\n","import { z } from \"zod\";\n\nimport { quizQuestionSchema } from \"./quizQuestion.schema\";\nimport { _stateSchema } from \"./base.schema\";\nimport { additionalFilesSchema } from \"./additionalFiles.schema\";\n\nexport const lessonEquipmentAndResourcesSchema = z.object({\n equipment: z.string(),\n});\n\nexport type LessonEquipmentAndResources = z.infer<\n typeof lessonEquipmentAndResourcesSchema\n>;\n\nexport const keyLearningPointsSchema = z.object({\n key_learning_point: z.string(),\n});\n\nexport type KeyLearningPoints = z.infer<typeof keyLearningPointsSchema>;\n\nexport const keywordsSchema = z.object({\n keyword: z.string(),\n description: z.string(),\n});\n\nexport type Keywords = z.infer<typeof keywordsSchema>;\n\nexport const misconceptionsAndCommonMistakesSchema = z.object({\n misconception: z.string(),\n response: z.string(),\n});\n\nexport type MisconceptionsAndCommonMistakes = z.infer<\n typeof misconceptionsAndCommonMistakesSchema\n>;\n\nexport const teacherTipsSchema = z.object({\n teacher_tip: z.string(),\n});\n\nexport type TeacherTips = z.infer<typeof teacherTipsSchema>;\n\nexport const contentGuidanceSchema = z.object({\n contentguidance_label: z.string().nullable(),\n contentguidance_description: z.string().nullable(),\n contentguidance_area: z.string().nullable(),\n});\n\nexport type ContentGuidance = z.infer<typeof contentGuidanceSchema>;\n\nexport const lessonContentSchema = z.object({\n lesson_id: z.number(),\n lesson_slug: z.string(),\n lesson_title: z.string().nullable(),\n content_guidance: z.array(contentGuidanceSchema).nullable(),\n misconceptions_and_common_mistakes: z\n .array(misconceptionsAndCommonMistakesSchema)\n .nullable(),\n teacher_tips: z.array(teacherTipsSchema).nullable(),\n equipment_and_resources: z\n .array(lessonEquipmentAndResourcesSchema)\n .nullable(),\n pupil_lesson_outcome: z.string().nullable(),\n phonics_outcome: z.string().nullable(),\n lesson_keywords: z.array(keywordsSchema).nullable(),\n supervision_level: z.string().nullable(),\n key_learning_points: z.array(keyLearningPointsSchema).nullable().optional(),\n video_mux_playback_id: z.string().nullable(),\n video_with_sign_language_mux_playback_id: z.string().nullable(),\n video_id: z.number().nullable(),\n video_duration: z.string().nullable(),\n video_title: z.string().nullable(),\n transcript_sentences: z.string().nullable(),\n starter_quiz: z.array(quizQuestionSchema).optional().nullable(),\n exit_quiz: z.array(quizQuestionSchema).optional().nullable(),\n starter_quiz_id: z.number().nullable(),\n exit_quiz_id: z.number().nullable(),\n _state: _stateSchema,\n is_legacy: z.boolean().nullable(),\n deprecated_fields: z.record(z.unknown()).nullable(),\n has_worksheet_google_drive_downloadable_version: z.boolean().nullable(),\n slide_deck_asset_id: z.number().nullable(),\n has_slide_deck_asset_object: z.boolean().nullable(),\n worksheet_asset_id: z.number().nullable(),\n has_worksheet_asset_object: z.boolean().nullable(),\n worksheet_answers_asset_id: z.number().nullable(),\n has_worksheet_answers_asset_object: z.boolean().nullable(),\n supplementary_asset_id: z.number().nullable(),\n has_supplementary_asset_object: z.boolean().nullable(),\n supplementary_asset_object_url: z.string().nullable(),\n worksheet_asset_object_url: z.string().nullable(),\n slide_deck_asset_object_url: z.string().nullable(),\n // currently set to optional whilst PE lessons are unpublished so as not to break lesson pages\n lesson_guide_asset_id: z.number().nullable().optional(),\n has_lesson_guide_asset_object: z.boolean().nullable().optional(),\n lesson_guide_asset_object_url: z.string().nullable().optional(),\n has_lesson_guide_google_drive_downloadable_version: z\n .boolean()\n .nullable()\n .optional(),\n geo_restricted: z.boolean().nullable(),\n login_required: z.boolean().nullable(),\n additional_files: z.array(additionalFilesSchema).nullable(),\n});\n\nexport type LessonContent = z.infer<typeof lessonContentSchema>;\n","import { z } from \"zod\";\n\nimport { _stateSchema, _cohortSchema } from \"./base.schema\";\nimport { lessonEquipmentAndResourcesSchema } from \"./lessonContent.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\n deprecated_fields: z.record(z.unknown()).nullable(),\n _state: _stateSchema,\n _cohort: _cohortSchema,\n updated_at: z.string(),\n});\n\nexport type LessonData = z.infer<typeof lessonDataSchema>;\n","import { z } from \"zod\";\n\nimport { _stateSchema, _cohortSchema } from \"./base.schema\";\n\nexport const unitDataSchema = z.object({\n unit_id: z.number(),\n unit_uid: z.string(),\n description: z.string().nullable(),\n slug: z.string(),\n tags: z.array(z.number()).nullable(),\n deprecated_fields: z.record(z.unknown()).nullable().optional(),\n title: z.string(),\n subjectcategories: z.array(z.union([z.number(), z.string()])).nullable(),\n _state: _stateSchema,\n _cohort: _cohortSchema,\n expiration_date: z.string().nullable(),\n});\n\nexport type UnitData = z.infer<typeof unitDataSchema>;\n","import { z } from \"zod\";\n\nimport { _stateSchema, _cohortSchema } from \"./base.schema\";\nimport { unitDataSchema } from \"./unitData.schema\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\n\nexport const unitvariantSchema = z.object({\n _state: _stateSchema,\n _cohort: _cohortSchema,\n unit_id: z.number(),\n unitvariant_id: z.number(),\n _deleted: z.boolean(),\n unit_overrides: unitDataSchema.partial(),\n programme_fields: programmeFieldsSchema.partial(),\n});\n\nexport type Unitvariant = z.infer<typeof unitvariantSchema>;\n","import { z } from \"zod\";\nimport { lessonDataSchema } from \"./lessonData.schema\";\nimport { unitDataSchema } from \"./unitData.schema\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\nimport { actionsSchema } from \"./actions.schema\";\n\nexport const syntheticUnitvariantLessonsSchema = z.object({\n lesson_slug: z.string(),\n unit_slug: z.string(),\n programme_slug: z.string(),\n is_legacy: z.boolean(),\n lesson_data: lessonDataSchema,\n unit_data: unitDataSchema,\n null_unitvariant_id: z.number(),\n unitvariant_id: z.number().nullish(),\n programme_fields: programmeFieldsSchema,\n supplementary_data: z.object({\n unit_order: z.number(),\n order_in_unit: z.number(),\n }),\n actions: actionsSchema.nullable().optional(),\n features: z.object({}).optional().nullable(),\n});\n\nexport type SyntheticUnitvariantLessons = z.infer<\n typeof syntheticUnitvariantLessonsSchema\n>;\n","import { z } from \"zod\";\nimport { unitDataSchema } from \"./unitData.schema\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\nimport { actionsSchema } from \"./actions.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsSchema = z.object({\n base_slug: z.string(),\n unit_slug: z.string(),\n programme_slug: z.string(),\n is_legacy: z.boolean(),\n lesson_count: z.number(),\n lesson_sensitive_count: z.number(),\n lesson_expired_count: z.number(),\n unit_data: unitDataSchema,\n null_unitvariant_id: z.number(),\n programme_fields: programmeFieldsSchema,\n supplementary_data: z.object({\n unit_order: z.number(),\n }),\n expired: z.boolean(),\n actions: actionsSchema.nullable().optional(), // the optional should be removed once old mvs are retired\n features: z.object({}).optional().nullable(), // the optional should be removed once old mvs are retired\n});\n\nexport type SyntheticUnitvariantsWithLessonIds = z.infer<\n typeof syntheticUnitvariantsWithLessonIdsSchema\n>;\n","import { z } from \"zod\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\nimport { yearSlugs } from \"./base.schema\";\nimport { actionsSchema } from \"./actions.schema\";\n\nexport const syntheticProgrammesByYearSchema = z.object({\n year_slug: yearSlugs,\n programme_slug: z.string(),\n base_slug: z.string(),\n is_legacy: z.boolean(),\n programme_fields: programmeFieldsSchema,\n actions: actionsSchema.nullable().optional(), // the optional should be removed once old mvs are retired\n features: z.object({}).optional().nullable(), // the optional should be removed once old mvs are retired\n});\n\nexport type SyntheticProgrammesByYear = z.infer<\n typeof syntheticProgrammesByYearSchema\n>;\n","import { z } from \"zod\";\n\nexport const threadsByUnitSchema = z.object({\n unit_id: z.number(),\n threads: z\n .array(z.object({ theme_slug: z.string(), theme_title: z.string() }))\n .nullable(),\n});\n\nexport type ThreadsByUnit = z.infer<typeof threadsByUnitSchema>;\n","import { z } from \"zod\";\nimport { syntheticUnitvariantLessonsSchema } from \"./syntheticUnitvariantLessons.schema\";\nimport { unitvariantSchema } from \"./unitvariant.schema\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\n\nexport const syntheticUnitvariantLessonsByKsSchemaOld = z.object({\n ...syntheticUnitvariantLessonsSchema.omit({ null_unitvariant_id: true })\n .shape,\n unitvariant_id: z.number().nullable(),\n null_unitvariant: unitvariantSchema,\n programme_fields: programmeFieldsSchema.omit({\n pathway: true,\n pathway_description: true,\n pathway_display_order: true,\n pathway_id: true,\n pathway_slug: true,\n }),\n});\n\nexport type SyntheticUnitvariantLessonsByKsOld = z.infer<\n typeof syntheticUnitvariantLessonsByKsSchemaOld\n>;\n","import { syntheticUnitvariantLessonsByKsSchemaOld } from \"./syntheticUnitvariantLessonsByKs.schema.old\";\nimport { z } from \"zod\";\n\nexport const programmeListingResponseSchema =\n syntheticUnitvariantLessonsByKsSchemaOld.pick({\n lesson_data: true,\n programme_fields: true,\n is_legacy: true,\n programme_slug: true,\n });\n\nexport const programmeListingResponseSchemaArray = z.array(\n programmeListingResponseSchema,\n);\n","import { z } from \"zod\";\nimport { syntheticUnitvariantLessonsSchema } from \"./syntheticUnitvariantLessons.schema\";\n\nexport const syntheticUnitvariantLessonsByKsSchema = z.object({\n ...syntheticUnitvariantLessonsSchema.omit({ supplementary_data: true }).shape,\n programme_slug_by_year: z.string().array(),\n order_in_unit: z.number(),\n});\n\nexport type SyntheticUnitvariantLessonsByKs = z.infer<\n typeof syntheticUnitvariantLessonsByKsSchema\n>;\n","import { z } from \"zod\";\n\nexport const threadSchema = z.object({\n thread_id: z.number(),\n thread_title: z.string(),\n thread_slug: z.string(),\n});\n\nexport type Thread = z.infer<typeof threadSchema>;\n","import { z } from \"zod\";\nimport { syntheticUnitvariantsWithLessonIdsSchema } from \"./syntheticUnitvariantsWithLessonIds.schema\";\nimport { threadSchema } from \"./thread.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsByKsSchema = z.object({\n ...syntheticUnitvariantsWithLessonIdsSchema.shape,\n programme_slug_by_year: z.string(),\n lesson_ids: z.array(z.number()).nullable(),\n threads: z.array(threadSchema).nullable(),\n});\n\nexport type SyntheticUnitvariantsWithLessonIdsByKs = z.infer<\n typeof syntheticUnitvariantsWithLessonIdsByKsSchema\n>;\n","import { LessonData } from \"@/schema/lessonData.schema\";\n\nexport const lessonDataFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<LessonData>;\n} = {}): LessonData => ({\n lesson_id: 1,\n lesson_uid: \"lesson-uid\",\n title: \"lesson-title\",\n description: \"lesson-description\",\n slug: \"lesson-slug\",\n pupil_lesson_outcome: \"pupil-lesson-outcome\",\n phonics_outcome: null,\n key_learning_points: [{}],\n equipment_and_resources: null,\n content_guidance_details: null,\n content_guidance: null,\n supervision_level: null,\n thirdpartycontent_list: null,\n misconceptions_and_common_mistakes: null,\n keywords: null,\n video_id: null,\n sign_language_video_id: null,\n quiz_id_starter: null,\n quiz_id_exit: null,\n asset_id_slidedeck: null,\n asset_id_worksheet: null,\n copyright_content: null,\n _state: \"published\",\n _cohort: \"2023-2024\",\n deprecated_fields: null,\n updated_at: \"2024-02-28T08:09:20.247619+00:00\",\n expiration_date: null,\n ...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 {\n AdditionalFiles,\n additionalFilesSchema,\n} 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 {\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\";\n\nexport const lessonEquipmentAndResourcesFixture =\n (): LessonEquipmentAndResources => ({\n equipment: \"equipment\",\n });\n\nexport const teacherTipsFixture = (): TeacherTips => ({\n teacher_tip: \"teacher-tip\",\n});\n\nexport const keywordsFixture = (): Keywords => ({\n keyword: \"keyword\",\n description: \"description\",\n});\n\nexport const misconceptionsAndCommonMistakesFixture = () => ({\n misconception: \"misconception\",\n response: \"response\",\n});\n\nexport const contentGuidanceFixture = () => ({\n contentguidance_label: \"contentguidance-label\",\n contentguidance_description: \"contentguidance-description\",\n contentguidance_area: \"contentguidance-area\",\n});\n\nexport const lessonContentFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<LessonContent>;\n} = {}): LessonContent => ({\n lesson_id: 1,\n lesson_title: \"lesson-title\",\n lesson_slug: \"lesson-slug\",\n deprecated_fields: {},\n is_legacy: false,\n misconceptions_and_common_mistakes: [\n misconceptionsAndCommonMistakesFixture(),\n ],\n equipment_and_resources: [lessonEquipmentAndResourcesFixture()],\n teacher_tips: [teacherTipsFixture()],\n key_learning_points: null,\n pupil_lesson_outcome: \"pupil-lesson-outcome\",\n phonics_outcome: null,\n lesson_keywords: [keywordsFixture()],\n content_guidance: [contentGuidanceFixture()],\n video_mux_playback_id: \"video-mux-playback-id\",\n video_id: null,\n video_duration: \"5 minutes\",\n video_with_sign_language_mux_playback_id:\n \"video-with-sign-language-mux-playback-id\",\n video_title: \"video-title\",\n transcript_sentences: \"this is the transcript\",\n starter_quiz: [\n multipleChoiceQuestion({\n overrides: { order: 1, question_uid: \"starter-quiz-1\" },\n }),\n orderQuestion({ overrides: { order: 2, question_uid: \"starter-quiz-2\" } }),\n matchQuestion({ overrides: { order: 3, question_uid: \"starter-quiz-3\" } }),\n shortAnswerQuestion({\n overrides: { order: 4, question_uid: \"starter-quiz-4\" },\n }),\n ],\n starter_quiz_id: 1,\n exit_quiz: null,\n exit_quiz_id: null,\n supervision_level: null,\n _state: \"published\",\n slide_deck_asset_id: 301,\n has_slide_deck_asset_object: true,\n worksheet_asset_id: 302,\n has_worksheet_answers_asset_object: true,\n worksheet_answers_asset_id: 303,\n has_worksheet_google_drive_downloadable_version: true,\n has_supplementary_asset_object: true,\n supplementary_asset_id: 304,\n supplementary_asset_object_url: \"supplementary-asset-object-url\",\n slide_deck_asset_object_url: \"slide-deck-asset-object-url\",\n worksheet_asset_object_url: \"worksheet-asset-object-url\",\n has_worksheet_asset_object: true,\n geo_restricted: false,\n login_required: false,\n lesson_guide_asset_id: 1,\n has_lesson_guide_asset_object: true,\n lesson_guide_asset_object_url: \"lesson-guide-asset-object-url\",\n has_lesson_guide_google_drive_downloadable_version: false,\n additional_files: [additionalFilesFixture()],\n ...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","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","lessonEquipmentAndResourcesSchema","equipment","keyLearningPointsSchema","key_learning_point","keywordsSchema","keyword","description","misconceptionsAndCommonMistakesSchema","misconception","response","teacherTipsSchema","teacher_tip","contentGuidanceSchema","contentguidance_label","contentguidance_description","contentguidance_area","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_id","video_duration","video_title","transcript_sentences","starter_quiz","exit_quiz","starter_quiz_id","exit_quiz_id","_state","is_legacy","deprecated_fields","record","unknown","has_worksheet_google_drive_downloadable_version","slide_deck_asset_id","has_slide_deck_asset_object","worksheet_asset_id","has_worksheet_asset_object","worksheet_answers_asset_id","has_worksheet_answers_asset_object","supplementary_asset_id","has_supplementary_asset_object","supplementary_asset_object_url","worksheet_asset_object_url","slide_deck_asset_object_url","lesson_guide_asset_id","has_lesson_guide_asset_object","lesson_guide_asset_object_url","has_lesson_guide_google_drive_downloadable_version","geo_restricted","login_required","additional_files","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","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,WACpBQ,UAAWrB,EAAUa,WACrBS,iBAAkBrB,EAAiBY,WACnCU,mBAAoBpC,EAACA,EAAC4B,SAASF,WAE/BW,UAAWlB,EAAWO,WACtBY,aAActC,EAACA,EAAC4B,SAASF,WACzBa,eAAgBrB,EAAeQ,WAC/Bc,sBAAuBpB,EAAsBM,WAC7Ce,wBAAyBzC,EAACA,EAAC4B,SAASF,WAEpCgB,KAAMjC,EACNkC,UAAWjC,EACXkC,QAAS5C,EAACA,EAAC4B,SACXiB,iBAAkBlC,EAClBmC,mBAAoB9C,EAACA,EAAC4B,SAEtBmB,SAAUzC,EACV0C,YAAahD,EAACA,EAAC4B,SACfqB,cAAe1C,EACf2C,qBAAsB1C,EACtB2C,uBAAwBnD,EAACA,EAAC4B,SAE1BwB,MAAO/C,EACPgD,SAA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ClBC,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,+JCrBwB,EAC3BA,YAAY,CAAE,GAGZ,CAAA,IACFjB,OAAAC,OAAA,CAAAU,UAAW,EACXC,aAAc,WACdC,YAAa,YACVI,uMCR6B,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/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 })\n .partial();\n","import { z } from \"zod\";\n\nexport const imageObjectSchema = z.object({\n format: z.enum([\"png\", \"jpg\", \"jpeg\", \"webp\", \"gif\", \"svg\"]).optional(),\n secure_url: z.string().url(),\n url: z.string().url().optional(),\n height: z.number().optional(),\n width: z.number().optional(),\n metadata: z.union([\n z.array(z.any()),\n z.object({\n attribution: z.string().optional(),\n usageRestriction: z.string().optional(),\n }),\n ]),\n public_id: z.string().optional(),\n version: z.number().optional(),\n});\n\nexport type ImageObject = z.infer<typeof imageObjectSchema>;\n\nexport const imageItemSchema = z.object({\n image_object: imageObjectSchema,\n type: z.literal(\"image\"),\n});\n\nexport type ImageItem = z.infer<typeof imageItemSchema>;\n\nexport const textItemSchema = z.object({\n text: z.string(),\n type: z.literal(\"text\"),\n});\n\nexport type TextItem = z.infer<typeof textItemSchema>;\n","import { z } from \"zod\";\nimport { imageItemSchema, textItemSchema } from \"./imageTextItems.schema\";\n\nexport const multipleChoiceSchema = z.object({\n answer: z.array(z.union([textItemSchema, imageItemSchema]).optional()),\n answer_is_active: z.boolean().optional(),\n answer_is_correct: z.boolean().optional(),\n});\n\nexport type MultipleChoice = z.infer<typeof multipleChoiceSchema>;\n\nexport const shortAnswerSchema = z.object({\n answer: z.array(z.union([textItemSchema, imageItemSchema]).optional()),\n answer_is_active: z.boolean().optional(),\n answer_is_default: z.boolean().optional(),\n});\n\nexport type ShortAnswer = z.infer<typeof shortAnswerSchema>;\n\nexport const orderSchema = z.object({\n answer: z.array(textItemSchema),\n correct_order: z.number().optional(),\n answer_is_active: z.boolean().optional(),\n});\n\nexport type Order = z.infer<typeof orderSchema>;\n\nexport const matchSchema = z.object({\n answer_is_active: z.boolean().optional(),\n correct_choice: z.array(textItemSchema),\n match_option: z.array(textItemSchema).optional(),\n});\n\nexport type Match = z.infer<typeof matchSchema>;\n","import { z } from \"zod\";\n\nimport { imageItemSchema, textItemSchema } from \"./imageTextItems.schema\";\nimport {\n matchSchema,\n multipleChoiceSchema,\n orderSchema,\n shortAnswerSchema,\n} from \"./quizAnswers.schema\";\n\nexport const quizQuestionSchema = z.object({\n question_id: z.number(),\n question_uid: z.string(),\n question_type: z.string(),\n question_stem: z\n .array(z.union([textItemSchema, imageItemSchema]))\n .optional()\n .nullable(),\n answers: z\n .object({\n \"multiple-choice\": z.array(multipleChoiceSchema).optional(),\n \"short-answer\": z.array(shortAnswerSchema).optional(),\n order: z.array(orderSchema).optional(),\n match: z.array(matchSchema).optional(),\n })\n .optional()\n .nullable(),\n feedback: z.string().optional().nullable(),\n hint: z.string().optional().nullable(),\n active: z.boolean().optional(),\n order: z.number(),\n});\n\nexport type QuizQuestion = z.infer<typeof quizQuestionSchema>;\n","import { z } from \"zod\";\n\nexport const fileObjectSchema = z.object({\n id: z.string(),\n url: z.string(),\n type: z.string(),\n bytes: z.number(),\n width: z.number(),\n format: z.string(),\n height: z.number(),\n version: z.number(),\n duration: z.number().nullish(),\n metadata: z\n .object({\n source: z.string().nullish(),\n usageRestrictions: z.string().nullish(),\n attribution_required: z.string().nullish(),\n })\n .nullish(),\n created_at: z.string(),\n created_by: z.object({\n id: z.string(),\n type: z.string(),\n }),\n display_name: z.string(),\n resource_type: z.string(),\n});\n\nexport const additionalFilesSchema = z.object({\n files: z.array(\n z.object({\n title: z.string(),\n file_object: fileObjectSchema,\n }),\n ),\n});\n\nexport type FileObject = z.infer<typeof fileObjectSchema>;\nexport type AdditionalFiles = z.infer<typeof additionalFilesSchema>;\n","import { z } from \"zod\";\n\nconst MetadataSchema = z\n .object({\n asset_type: z.string(),\n source_type: z.string(),\n asset_source: z.string(),\n licence_type: z.string(),\n content_cycle: z.string(),\n permissionGranted: z.string(),\n })\n .partial();\n\nconst mediaObjectSchema = 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(),\n metadata: MetadataSchema,\n secure_url: z.string(),\n access_mode: z.string(),\n asset_folder: z.string(),\n display_name: z.string(),\n resource_type: z.string(),\n});\n\nconst TrackSchema = z\n .object({\n id: z.string(),\n type: z.string(),\n asset_id: z.string(),\n duration: z.number(),\n })\n .partial();\n\nexport const videoObjectSchema = z\n .object({\n id: z.string().optional(),\n status: z.string().optional(),\n tracks: z.array(TrackSchema).optional(),\n duration: z.number(),\n created_at: z.number(),\n mp4_support: z.string(),\n passthrough: z.string(),\n mux_asset_id: z.string(),\n playback_ids: z.array(\n z.object({\n id: z.string(),\n policy: z.string(),\n }),\n ),\n encoding_tier: z.string(),\n video_quality: z.string(),\n mux_playback_id: z.string(),\n signed_stream_id: z.string(),\n static_renditions: z.object({\n status: z.string(),\n }),\n max_resolution_tier: z.string(),\n max_stored_resolution: z.string(),\n non_standard_input_reasons: z.object({\n audio_codec: z.string(),\n }),\n })\n .partial();\n\nexport const mediaClipSchema = z\n .object({\n order: z.string(),\n media_id: z.string(),\n video_id: z.number(),\n media_type: z.string(),\n custom_title: z.string(),\n media_object: mediaObjectSchema,\n video_object: videoObjectSchema,\n })\n .partial();\n\nexport const MediaClipsSchema = z.record(z.string(), z.array(mediaClipSchema));\n\nexport const lessonMediaClipsSchema = z.object({\n media_clips: MediaClipsSchema,\n});\nexport type LessonMediaClipsSchema = z.infer<typeof lessonMediaClipsSchema>;\nexport type MediaObjectSchema = z.infer<typeof mediaObjectSchema>;\nexport type VideoObjectSchema = z.infer<typeof videoObjectSchema>;\n","import { z } from \"zod\";\n\nimport { quizQuestionSchema } from \"./quizQuestion.schema\";\nimport { _stateSchema } from \"./base.schema\";\nimport { additionalFilesSchema } from \"./additionalFiles.schema\";\nimport { lessonMediaClipsSchema } 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 type ContentGuidance = z.infer<typeof contentGuidanceSchema>;\n\nexport const lessonContentSchema = z.object({\n lesson_id: z.number(),\n lesson_slug: z.string(),\n lesson_title: z.string().nullable(),\n content_guidance: z.array(contentGuidanceSchema).nullable(),\n misconceptions_and_common_mistakes: z\n .array(misconceptionsAndCommonMistakesSchema)\n .nullable(),\n teacher_tips: z.array(teacherTipsSchema).nullable(),\n equipment_and_resources: z\n .array(lessonEquipmentAndResourcesSchema)\n .nullable(),\n pupil_lesson_outcome: z.string().nullable(),\n phonics_outcome: z.string().nullable(),\n lesson_keywords: z.array(keywordsSchema).nullable(),\n supervision_level: z.string().nullable(),\n key_learning_points: z.array(keyLearningPointsSchema).nullable().optional(),\n video_mux_playback_id: z.string().nullable(),\n video_with_sign_language_mux_playback_id: z.string().nullable(),\n video_id: z.number().nullable(),\n video_duration: z.string().nullable(),\n video_title: z.string().nullable(),\n transcript_sentences: z.string().nullable(),\n starter_quiz: z.array(quizQuestionSchema).optional().nullable(),\n exit_quiz: z.array(quizQuestionSchema).optional().nullable(),\n starter_quiz_id: z.number().nullable(),\n exit_quiz_id: z.number().nullable(),\n _state: _stateSchema,\n is_legacy: z.boolean().nullable(),\n deprecated_fields: z.record(z.unknown()).nullable(),\n has_worksheet_google_drive_downloadable_version: z.boolean().nullable(),\n slide_deck_asset_id: z.number().nullable(),\n has_slide_deck_asset_object: z.boolean().nullable(),\n worksheet_asset_id: z.number().nullable(),\n has_worksheet_asset_object: z.boolean().nullable(),\n worksheet_answers_asset_id: z.number().nullable(),\n has_worksheet_answers_asset_object: z.boolean().nullable(),\n supplementary_asset_id: z.number().nullable(),\n has_supplementary_asset_object: z.boolean().nullable(),\n supplementary_asset_object_url: z.string().nullable(),\n worksheet_asset_object_url: z.string().nullable(),\n slide_deck_asset_object_url: z.string().nullable(),\n // currently set to optional whilst PE lessons are unpublished so as not to break lesson pages\n lesson_guide_asset_id: z.number().nullable().optional(),\n has_lesson_guide_asset_object: z.boolean().nullable().optional(),\n lesson_guide_asset_object_url: z.string().nullable().optional(),\n has_lesson_guide_google_drive_downloadable_version: z\n .boolean()\n .nullable()\n .optional(),\n geo_restricted: z.boolean().nullable(),\n login_required: z.boolean().nullable(),\n additional_files: z.array(additionalFilesSchema).nullish(),\n has_additional_files: z.boolean().nullish(),\n media_clips: lessonMediaClipsSchema.nullish(),\n});\n\nexport type LessonContent = z.infer<typeof lessonContentSchema>;\n","import { z } from \"zod\";\n\nimport { _stateSchema, _cohortSchema } from \"./base.schema\";\nimport { lessonEquipmentAndResourcesSchema } from \"./lessonContent.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\n deprecated_fields: z.record(z.unknown()).nullable(),\n _state: _stateSchema,\n _cohort: _cohortSchema,\n updated_at: z.string(),\n});\n\nexport type LessonData = z.infer<typeof lessonDataSchema>;\n","import { z } from \"zod\";\n\nimport { _stateSchema, _cohortSchema } from \"./base.schema\";\n\nexport const unitDataSchema = z.object({\n unit_id: z.number(),\n unit_uid: z.string(),\n description: z.string().nullable(),\n slug: z.string(),\n tags: z.array(z.number()).nullable(),\n deprecated_fields: z.record(z.unknown()).nullable().optional(),\n title: z.string(),\n subjectcategories: z.array(z.union([z.number(), z.string()])).nullable(),\n _state: _stateSchema,\n _cohort: _cohortSchema,\n expiration_date: z.string().nullable(),\n});\n\nexport type UnitData = z.infer<typeof unitDataSchema>;\n","import { z } from \"zod\";\n\nimport { _stateSchema, _cohortSchema } from \"./base.schema\";\nimport { unitDataSchema } from \"./unitData.schema\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\n\nexport const unitvariantSchema = z.object({\n _state: _stateSchema,\n _cohort: _cohortSchema,\n unit_id: z.number(),\n unitvariant_id: z.number(),\n _deleted: z.boolean(),\n unit_overrides: unitDataSchema.partial(),\n programme_fields: programmeFieldsSchema.partial(),\n});\n\nexport type Unitvariant = z.infer<typeof unitvariantSchema>;\n","import { z } from \"zod\";\nimport { lessonDataSchema } from \"./lessonData.schema\";\nimport { unitDataSchema } from \"./unitData.schema\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\nimport { actionsSchema } from \"./actions.schema\";\n\nexport const syntheticUnitvariantLessonsSchema = z.object({\n lesson_slug: z.string(),\n unit_slug: z.string(),\n programme_slug: z.string(),\n is_legacy: z.boolean(),\n lesson_data: lessonDataSchema,\n unit_data: unitDataSchema,\n null_unitvariant_id: z.number(),\n unitvariant_id: z.number().nullish(),\n programme_fields: programmeFieldsSchema,\n supplementary_data: z.object({\n unit_order: z.number(),\n order_in_unit: z.number(),\n }),\n actions: actionsSchema.nullable().optional(),\n features: z.object({}).optional().nullable(),\n});\n\nexport type SyntheticUnitvariantLessons = z.infer<\n typeof syntheticUnitvariantLessonsSchema\n>;\n","import { z } from \"zod\";\nimport { unitDataSchema } from \"./unitData.schema\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\nimport { actionsSchema } from \"./actions.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsSchema = z.object({\n base_slug: z.string(),\n unit_slug: z.string(),\n programme_slug: z.string(),\n is_legacy: z.boolean(),\n lesson_count: z.number(),\n lesson_sensitive_count: z.number(),\n lesson_expired_count: z.number(),\n unit_data: unitDataSchema,\n null_unitvariant_id: z.number(),\n programme_fields: programmeFieldsSchema,\n supplementary_data: z.object({\n unit_order: z.number(),\n }),\n expired: z.boolean(),\n actions: actionsSchema.nullable().optional(), // the optional should be removed once old mvs are retired\n features: z.object({}).optional().nullable(), // the optional should be removed once old mvs are retired\n});\n\nexport type SyntheticUnitvariantsWithLessonIds = z.infer<\n typeof syntheticUnitvariantsWithLessonIdsSchema\n>;\n","import { z } from \"zod\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\nimport { yearSlugs } from \"./base.schema\";\nimport { actionsSchema } from \"./actions.schema\";\n\nexport const syntheticProgrammesByYearSchema = z.object({\n year_slug: yearSlugs,\n programme_slug: z.string(),\n base_slug: z.string(),\n is_legacy: z.boolean(),\n programme_fields: programmeFieldsSchema,\n actions: actionsSchema.nullable().optional(), // the optional should be removed once old mvs are retired\n features: z.object({}).optional().nullable(), // the optional should be removed once old mvs are retired\n});\n\nexport type SyntheticProgrammesByYear = z.infer<\n typeof syntheticProgrammesByYearSchema\n>;\n","import { z } from \"zod\";\n\nexport const threadsByUnitSchema = z.object({\n unit_id: z.number(),\n threads: z\n .array(z.object({ theme_slug: z.string(), theme_title: z.string() }))\n .nullable(),\n});\n\nexport type ThreadsByUnit = z.infer<typeof threadsByUnitSchema>;\n","import { z } from \"zod\";\nimport { syntheticUnitvariantLessonsSchema } from \"./syntheticUnitvariantLessons.schema\";\nimport { unitvariantSchema } from \"./unitvariant.schema\";\nimport { programmeFieldsSchema } from \"./programmeFields.schema\";\n\nexport const syntheticUnitvariantLessonsByKsSchemaOld = z.object({\n ...syntheticUnitvariantLessonsSchema.omit({ null_unitvariant_id: true })\n .shape,\n unitvariant_id: z.number().nullable(),\n null_unitvariant: unitvariantSchema,\n programme_fields: programmeFieldsSchema.omit({\n pathway: true,\n pathway_description: true,\n pathway_display_order: true,\n pathway_id: true,\n pathway_slug: true,\n }),\n});\n\nexport type SyntheticUnitvariantLessonsByKsOld = z.infer<\n typeof syntheticUnitvariantLessonsByKsSchemaOld\n>;\n","import { syntheticUnitvariantLessonsByKsSchemaOld } from \"./syntheticUnitvariantLessonsByKs.schema.old\";\nimport { z } from \"zod\";\n\nexport const programmeListingResponseSchema =\n syntheticUnitvariantLessonsByKsSchemaOld.pick({\n lesson_data: true,\n programme_fields: true,\n is_legacy: true,\n programme_slug: true,\n });\n\nexport const programmeListingResponseSchemaArray = z.array(\n programmeListingResponseSchema,\n);\n","import { z } from \"zod\";\nimport { syntheticUnitvariantLessonsSchema } from \"./syntheticUnitvariantLessons.schema\";\n\nexport const syntheticUnitvariantLessonsByKsSchema = z.object({\n ...syntheticUnitvariantLessonsSchema.omit({ supplementary_data: true }).shape,\n programme_slug_by_year: z.string().array(),\n order_in_unit: z.number(),\n});\n\nexport type SyntheticUnitvariantLessonsByKs = z.infer<\n typeof syntheticUnitvariantLessonsByKsSchema\n>;\n","import { z } from \"zod\";\n\nexport const threadSchema = z.object({\n thread_id: z.number(),\n thread_title: z.string(),\n thread_slug: z.string(),\n});\n\nexport type Thread = z.infer<typeof threadSchema>;\n","import { z } from \"zod\";\nimport { syntheticUnitvariantsWithLessonIdsSchema } from \"./syntheticUnitvariantsWithLessonIds.schema\";\nimport { threadSchema } from \"./thread.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsByKsSchema = z.object({\n ...syntheticUnitvariantsWithLessonIdsSchema.shape,\n programme_slug_by_year: z.string(),\n lesson_ids: z.array(z.number()).nullable(),\n threads: z.array(threadSchema).nullable(),\n});\n\nexport type SyntheticUnitvariantsWithLessonIdsByKs = z.infer<\n typeof syntheticUnitvariantsWithLessonIdsByKsSchema\n>;\n","import { LessonData } from \"@/schema/lessonData.schema\";\n\nexport const lessonDataFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<LessonData>;\n} = {}): LessonData => ({\n lesson_id: 1,\n lesson_uid: \"lesson-uid\",\n title: \"lesson-title\",\n description: \"lesson-description\",\n slug: \"lesson-slug\",\n pupil_lesson_outcome: \"pupil-lesson-outcome\",\n phonics_outcome: null,\n key_learning_points: [{}],\n equipment_and_resources: null,\n content_guidance_details: null,\n content_guidance: null,\n supervision_level: null,\n thirdpartycontent_list: null,\n misconceptions_and_common_mistakes: null,\n keywords: null,\n video_id: null,\n sign_language_video_id: null,\n quiz_id_starter: null,\n quiz_id_exit: null,\n asset_id_slidedeck: null,\n asset_id_worksheet: null,\n copyright_content: null,\n _state: \"published\",\n _cohort: \"2023-2024\",\n deprecated_fields: null,\n updated_at: \"2024-02-28T08:09:20.247619+00:00\",\n expiration_date: null,\n ...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 { LessonMediaClipsSchema } from \"@/schema/mediaClips.schema\";\n\nexport const mediaClipsFixture = ({\n overrides,\n}: {\n overrides?: Partial<LessonMediaClipsSchema>;\n} = {}): LessonMediaClipsSchema => ({\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 width: 0,\n format: \"mp3\",\n height: 0,\n version: 1736860290,\n duration: 5.041633,\n metadata: {\n asset_type: \"audio_speech\",\n source_type: \"partner_created\",\n asset_source: \"partner_created\",\n licence_type: \"no_licence\",\n content_cycle: \"cycle_2\",\n permissionGranted: \"notRequired\",\n },\n secure_url: \"https://example.com/video1.mp3\",\n access_mode: \"public\",\n asset_folder:\n \"Cycle 2 assets/MFL - French - Secondary/Audio/Y7/FR7U15/FR7U15L1\",\n display_name: \"9_task_C1_3\",\n resource_type: \"video\",\n },\n video_object: {\n id: \"hug9i01Tnpf1y83irOm00HRbvAJpttJPU78KNYzPav3mg\",\n status: \"ready\",\n tracks: [\n {\n id: \"32v67aMKIr5Z014b3n3AVwNHjAPnWSuhJCm008E026lYOQ\",\n type: \"audio\",\n duration: 5.041633,\n },\n {\n id: \"staging-mock-asset\",\n asset_id: \"hug9i01Tnpf1y83irOm00HRbvAJpttJPU78KNYzPav3mg\",\n },\n ],\n duration: 5.055667,\n\n created_at: 1736864397,\n mp4_support: \"standard\",\n passthrough: \"VIDE-ZHHRL-29844\",\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 encoding_tier: \"smart\",\n video_quality: \"plus\",\n mux_playback_id: \"BW00NkK9R01jB8PPO7R00YCFl2XBDn13GTkhd0001PNtheF00\",\n signed_stream_id: \"mVkKUtOfoD1100012GNC1pCO6RvUgyGwqGoq01pYsy7WeA\",\n static_renditions: {\n status: \"preparing\",\n },\n max_resolution_tier: \"1080p\",\n max_stored_resolution: \"Audio only\",\n non_standard_input_reasons: {\n audio_codec: \"mp3\",\n },\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 width: 0,\n format: \"mp3\",\n height: 0,\n version: 1736860289,\n duration: 7.601633,\n metadata: {\n asset_type: \"audio_speech\",\n source_type: \"partner_created\",\n asset_source: \"partner_created\",\n licence_type: \"no_licence\",\n content_cycle: \"cycle_2\",\n permissionGranted: \"notRequired\",\n },\n secure_url: \"https://example.com/video2.mp3\",\n access_mode: \"public\",\n asset_folder:\n \"Cycle 2 assets/MFL - French - Secondary/Audio/Y7/FR7U15/FR7U15L1\",\n display_name: \"8_task_C1_2\",\n resource_type: \"video\",\n },\n video_object: {\n id: \"gyUmSG2VVqcuw00NzT9f02kZvlLmXsrnuT5P7KhrYhWJg\",\n status: \"ready\",\n tracks: [\n {\n id: \"01hRHlW4zKJxPMUCtlSHQLaQjecx9o02gNsy597cLs01500\",\n type: \"audio\",\n duration: 7.601633,\n },\n {\n id: \"staging-mock-asset\",\n asset_id: \"gyUmSG2VVqcuw00NzT9f02kZvlLmXsrnuT5P7KhrYhWJg\",\n },\n ],\n duration: 7.603667,\n\n created_at: 1736864397,\n mp4_support: \"standard\",\n passthrough: \"VIDE-TVKWF-29845\",\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 encoding_tier: \"smart\",\n video_quality: \"plus\",\n mux_playback_id: \"9a02PY7PivjOBUHyH4N2mAwJH00aJoZeybWyy9hiwXVQY\",\n signed_stream_id: \"02mDhMdHMs4MOCAMutPLWzylp00NQgDYfiydlLQPDWI3M\",\n static_renditions: {\n status: \"preparing\",\n },\n max_resolution_tier: \"1080p\",\n max_stored_resolution: \"Audio only\",\n non_standard_input_reasons: {\n audio_codec: \"mp3\",\n },\n },\n },\n ],\n },\n ...overrides,\n});\n\nexport default mediaClipsFixture;\n","import {\n Keywords,\n LessonContent,\n TeacherTips,\n LessonEquipmentAndResources,\n} from \"@/schema/lessonContent.schema\";\nimport {\n matchQuestion,\n multipleChoiceQuestion,\n orderQuestion,\n shortAnswerQuestion,\n} from \"./quizQuestion.fixture\";\nimport additionalFilesFixture from \"@/fixtures/additionalFiles.fixture\";\nimport mediaClipsFixture from \"./mediaClips.fixture\";\n\nexport const lessonEquipmentAndResourcesFixture =\n (): LessonEquipmentAndResources => ({\n equipment: \"equipment\",\n });\n\nexport const teacherTipsFixture = (): TeacherTips => ({\n teacher_tip: \"teacher-tip\",\n});\n\nexport const keywordsFixture = (): Keywords => ({\n keyword: \"keyword\",\n description: \"description\",\n});\n\nexport const misconceptionsAndCommonMistakesFixture = () => ({\n misconception: \"misconception\",\n response: \"response\",\n});\n\nexport const contentGuidanceFixture = () => ({\n contentguidance_label: \"contentguidance-label\",\n contentguidance_description: \"contentguidance-description\",\n contentguidance_area: \"contentguidance-area\",\n});\n\nexport const lessonContentFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<LessonContent>;\n} = {}): LessonContent => ({\n lesson_id: 1,\n lesson_title: \"lesson-title\",\n lesson_slug: \"lesson-slug\",\n deprecated_fields: {},\n is_legacy: false,\n misconceptions_and_common_mistakes: [\n misconceptionsAndCommonMistakesFixture(),\n ],\n equipment_and_resources: [lessonEquipmentAndResourcesFixture()],\n teacher_tips: [teacherTipsFixture()],\n key_learning_points: null,\n pupil_lesson_outcome: \"pupil-lesson-outcome\",\n phonics_outcome: null,\n lesson_keywords: [keywordsFixture()],\n content_guidance: [contentGuidanceFixture()],\n video_mux_playback_id: \"video-mux-playback-id\",\n video_id: null,\n video_duration: \"5 minutes\",\n video_with_sign_language_mux_playback_id:\n \"video-with-sign-language-mux-playback-id\",\n video_title: \"video-title\",\n transcript_sentences: \"this is the transcript\",\n starter_quiz: [\n multipleChoiceQuestion({\n overrides: { order: 1, question_uid: \"starter-quiz-1\" },\n }),\n orderQuestion({ overrides: { order: 2, question_uid: \"starter-quiz-2\" } }),\n matchQuestion({ overrides: { order: 3, question_uid: \"starter-quiz-3\" } }),\n shortAnswerQuestion({\n overrides: { order: 4, question_uid: \"starter-quiz-4\" },\n }),\n ],\n starter_quiz_id: 1,\n exit_quiz: null,\n exit_quiz_id: null,\n supervision_level: null,\n _state: \"published\",\n slide_deck_asset_id: 301,\n has_slide_deck_asset_object: true,\n worksheet_asset_id: 302,\n has_worksheet_answers_asset_object: true,\n worksheet_answers_asset_id: 303,\n has_worksheet_google_drive_downloadable_version: true,\n has_supplementary_asset_object: true,\n supplementary_asset_id: 304,\n supplementary_asset_object_url: \"supplementary-asset-object-url\",\n slide_deck_asset_object_url: \"slide-deck-asset-object-url\",\n worksheet_asset_object_url: \"worksheet-asset-object-url\",\n has_worksheet_asset_object: true,\n geo_restricted: false,\n login_required: false,\n lesson_guide_asset_id: 1,\n has_lesson_guide_asset_object: true,\n lesson_guide_asset_object_url: \"lesson-guide-asset-object-url\",\n has_lesson_guide_google_drive_downloadable_version: false,\n additional_files: [additionalFilesFixture()],\n media_clips: mediaClipsFixture(),\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","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","MetadataSchema","asset_type","source_type","asset_source","licence_type","content_cycle","permissionGranted","mediaObjectSchema","access_mode","asset_folder","TrackSchema","asset_id","videoObjectSchema","status","tracks","mp4_support","passthrough","mux_asset_id","playback_ids","policy","encoding_tier","video_quality","mux_playback_id","signed_stream_id","static_renditions","max_resolution_tier","max_stored_resolution","non_standard_input_reasons","audio_codec","mediaClipSchema","media_id","video_id","media_type","custom_title","media_object","video_object","MediaClipsSchema","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","lessonContentSchema","lesson_id","lesson_slug","lesson_title","content_guidance","misconceptions_and_common_mistakes","teacher_tips","equipment_and_resources","pupil_lesson_outcome","phonics_outcome","lesson_keywords","supervision_level","key_learning_points","video_mux_playback_id","video_with_sign_language_mux_playback_id","video_duration","video_title","transcript_sentences","starter_quiz","exit_quiz","starter_quiz_id","exit_quiz_id","_state","is_legacy","deprecated_fields","unknown","has_worksheet_google_drive_downloadable_version","slide_deck_asset_id","has_slide_deck_asset_object","worksheet_asset_id","has_worksheet_asset_object","worksheet_answers_asset_id","has_worksheet_answers_asset_object","supplementary_asset_id","has_supplementary_asset_object","supplementary_asset_object_url","worksheet_asset_object_url","slide_deck_asset_object_url","lesson_guide_asset_id","has_lesson_guide_asset_object","lesson_guide_asset_object_url","has_lesson_guide_google_drive_downloadable_version","geo_restricted","login_required","additional_files","has_additional_files","lessonDataSchema","lesson_uid","slug","content_guidance_details","copyright_content","thirdpartycontent_list","keywords","sign_language_video_id","quiz_id_starter","quiz_id_exit","asset_id_slidedeck","asset_id_worksheet","expiration_date","_cohort","updated_at","unitDataSchema","unit_id","unit_uid","tags","subjectcategories","unitvariantSchema","unitvariant_id","_deleted","unit_overrides","programme_fields","syntheticUnitvariantLessonsSchema","unit_slug","programme_slug","lesson_data","unit_data","null_unitvariant_id","supplementary_data","unit_order","order_in_unit","actions","features","syntheticUnitvariantsWithLessonIdsSchema","base_slug","lesson_count","lesson_sensitive_count","lesson_expired_count","expired","syntheticProgrammesByYearSchema","threadsByUnitSchema","threads","theme_slug","theme_title","syntheticUnitvariantLessonsByKsSchemaOld","Object","assign","omit","shape","null_unitvariant","programmeListingResponseSchema","pick","programmeListingResponseSchemaArray","syntheticUnitvariantLessonsByKsSchema","programme_slug_by_year","threadSchema","thread_id","thread_title","thread_slug","syntheticUnitvariantsWithLessonIdsByKsSchema","lesson_ids","lessonDataFixture","overrides","programmeFieldsFixture","unitDataFixture","textItemFixture","multipleChoiceFixture","shortAnswerFixture","orderFixture","matchFixture","multipleChoiceQuestion","shortAnswerQuestion","orderQuestion","matchQuestion","additionalFilesFixture","mediaClipsFixture","intro","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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