@oaknational/oak-curriculum-schema 1.28.0 → 1.30.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/schema/base.schema.ts +1 -0
- package/dist/src/src/schema/syntheticProgrammesByYear.schema.ts +2 -0
- package/dist/types.d.ts +117 -111
- package/package.json +1 -1
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/schema/base.schema.ts","../../src/schema/imageTextItems.schema.ts","../../src/schema/quizAnswers.schema.ts","../../src/schema/quizQuestion.schema.ts","../../src/schema/lessonContent.schema.ts","../../src/schema/lessonData.schema.ts","../../src/schema/programmeFields.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.ts","../../src/schema/programmeListing.schema.ts","../../src/fixtures/lessonData.fixture.ts","../../src/fixtures/programmeFields.fixture.ts","../../src/fixtures/unitData.fixture.ts","../../src/fixtures/unitvariant.fixture.ts","../../src/fixtures/imageTextItems.fixture.ts","../../src/fixtures/quizAnswers.fixture.ts","../../src/fixtures/quizQuestion.fixture.ts","../../src/fixtures/lessonContent.fixture.ts","../../src/fixtures/syntheticUnitvariantLessons.fixture.ts","../../src/fixtures/syntheticUnitvariantsWithLessonIds.fixture.ts","../../src/fixtures/syntheticProgrammesByYear.fixture.ts","../../src/fixtures/syntheticUnitvariantLessonsByKs.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 \"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\";\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\nimport { quizQuestionSchema } from \"./quizQuestion.schema\";\nimport { _stateSchema } from \"./base.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 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 geo_restricted: z.boolean().nullable(),\n login_required: z.boolean().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 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\";\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\";\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\";\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 programme_fields: programmeFieldsSchema,\n supplementary_data: z.object({\n unit_order: z.number(),\n order_in_unit: z.number(),\n }),\n actions: z.object({}).optional().nullable(),\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 { unitvariantSchema } from \"./unitvariant.schema\";\nimport { programmeFieldsSchema } from \"./programmeFields.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: z.object({}).optional().nullable(),\n features: z.object({}).optional().nullable(),\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\";\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});\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 syntheticUnitvariantLessonsByKsSchema = 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 SyntheticUnitvariantLessonsByKs = z.infer<\n typeof syntheticUnitvariantLessonsByKsSchema\n>;\n","import { syntheticUnitvariantLessonsByKsSchema } from \"./syntheticUnitvariantLessonsByKs.schema\";\nimport { z } from \"zod\";\n\nexport const programmeListingResponseSchema =\n syntheticUnitvariantLessonsByKsSchema.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 { 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 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 { Unitvariant } from \"@/schema/unitvariant.schema\";\n\nexport const unitvariantFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<Unitvariant>;\n} = {}): Unitvariant => ({\n unitvariant_id: 1,\n unit_id: 1,\n _deleted: false,\n _state: \"published\",\n _cohort: \"2023-2024\",\n unit_overrides: {},\n programme_fields: {},\n ...overrides,\n});\n","import {\n ImageObject,\n ImageItem,\n TextItem,\n} from \"@/schema/imageTextItems.schema\";\n\nexport const imageObjectFixture = (): ImageObject => ({\n format: \"png\",\n secure_url: \"https://res.cloudinary.com/demo/image/upload/sample.png\",\n url: \"http://res.cloudinary.com/demo/image/upload/sample.png\",\n height: 100,\n width: 100,\n metadata: {\n attribution: \"author\",\n usageRestriction: \"free\",\n },\n public_id: \"sample\",\n version: 1234567890,\n});\n\nexport const imageItemFixture = (): ImageItem => ({\n image_object: imageObjectFixture(),\n type: \"image\",\n});\n\nexport const textItemFixture = ({\n overrides = {},\n}: { overrides?: Partial<TextItem> } = {}): TextItem => ({\n text: \"Hello, World!\",\n type: \"text\",\n ...overrides,\n});\n","import {\n Match,\n MultipleChoice,\n Order,\n ShortAnswer,\n} from \"@/schema/quizAnswers.schema\";\nimport { imageItemFixture, textItemFixture } from \"./imageTextItems.fixture\";\n\nexport const multipleChoiceFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<MultipleChoice>;\n} = {}): MultipleChoice => ({\n answer: [textItemFixture(), imageItemFixture()],\n answer_is_active: true,\n answer_is_correct: true,\n ...overrides,\n});\n\nexport const shortAnswerFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<ShortAnswer>;\n} = {}): ShortAnswer => ({\n answer: [textItemFixture(), imageItemFixture()],\n answer_is_active: true,\n answer_is_default: true,\n ...overrides,\n});\n\nexport const orderFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<Order>;\n} = {}): Order => ({\n answer: [textItemFixture()],\n correct_order: 1,\n answer_is_active: true,\n ...overrides,\n});\n\nexport const matchFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<Match>;\n} = {}): Match => ({\n answer_is_active: true,\n correct_choice: [textItemFixture({ overrides: { text: \"Paris\" } })],\n match_option: [textItemFixture({ overrides: { text: \"Capital of France\" } })],\n ...overrides,\n});\n","import { QuizQuestion } from \"@/schema/quizQuestion.schema\";\n\nimport {\n matchFixture,\n multipleChoiceFixture,\n orderFixture,\n shortAnswerFixture,\n} from \"./quizAnswers.fixture\";\n\nexport const multipleChoiceQuestion = ({\n overrides = {},\n}: {\n overrides?: Partial<QuizQuestion>;\n} = {}): QuizQuestion => ({\n question_id: 1,\n question_uid: \"question-1\",\n question_type: \"multiple-choice\",\n question_stem: [\n {\n text: \"What is the capital of France?\",\n type: \"text\",\n },\n ],\n answers: {\n \"multiple-choice\": [\n multipleChoiceFixture({ overrides: { answer_is_correct: true } }),\n multipleChoiceFixture({ overrides: { answer_is_correct: false } }),\n multipleChoiceFixture({ overrides: { answer_is_correct: false } }),\n multipleChoiceFixture({ overrides: { answer_is_correct: false } }),\n ],\n },\n feedback: \"Paris is the capital of France.\",\n hint: \"Think about the Eiffel Tower.\",\n active: true,\n order: 1,\n ...overrides,\n});\n\nexport const shortAnswerQuestion = ({\n overrides = {},\n}: {\n overrides?: Partial<QuizQuestion>;\n} = {}): QuizQuestion => ({\n question_id: 2,\n question_uid: \"question-2\",\n question_type: \"short-answer\",\n question_stem: [\n {\n text: \"What is the capital of France?\",\n type: \"text\",\n },\n ],\n answers: {\n \"short-answer\": [shortAnswerFixture()],\n },\n feedback: \"Paris is the capital of France.\",\n hint: \"Think about the Eiffel Tower.\",\n active: true,\n order: 2,\n ...overrides,\n});\n\nexport const orderQuestion = ({\n overrides = {},\n}: {\n overrides?: Partial<QuizQuestion>;\n} = {}): QuizQuestion => ({\n question_id: 3,\n question_uid: \"question-3\",\n question_type: \"order\",\n question_stem: [\n {\n text: \"What is the capital of France?\",\n type: \"text\",\n },\n ],\n answers: {\n order: [\n orderFixture({ overrides: { correct_order: 1 } }),\n orderFixture({ overrides: { correct_order: 2 } }),\n orderFixture({ overrides: { correct_order: 3 } }),\n orderFixture({ overrides: { correct_order: 4 } }),\n ],\n },\n feedback: \"Paris is the capital of France.\",\n hint: \"Think about the Eiffel Tower.\",\n active: true,\n order: 3,\n ...overrides,\n});\n\nexport const matchQuestion = ({\n overrides = {},\n}: {\n overrides?: Partial<QuizQuestion>;\n} = {}): QuizQuestion => ({\n question_id: 4,\n question_uid: \"question-4\",\n question_type: \"match\",\n question_stem: [\n {\n text: \"What is the capital of France?\",\n type: \"text\",\n },\n ],\n answers: {\n match: [matchFixture(), matchFixture(), matchFixture(), matchFixture()],\n },\n feedback: \"Paris is the capital of France.\",\n hint: \"Think about the Eiffel Tower.\",\n active: true,\n order: 4,\n ...overrides,\n});\n","import {\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\";\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 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 ...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\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 { unitvariantFixture } from \"./unitvariant.fixture\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\nimport { syntheticUnitvariantsWithLessonIds } from \"@/schema/syntheticUnitvariantsWithLessonIds.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<syntheticUnitvariantsWithLessonIds>;\n} = {}): syntheticUnitvariantsWithLessonIds => ({\n base_slug: \"base-slug\",\n unit_slug: \"unit-slug\",\n programme_slug: \"programme-slug\",\n is_legacy: false,\n lesson_count: 1,\n lesson_sensitive_count: 0,\n lesson_expired_count: 0,\n unit_data: unitDataFixture(),\n null_unitvariant_id: 0,\n programme_fields: programmeFieldsFixture(),\n supplementary_data: {\n unit_order: 1,\n },\n expired: false,\n ...overrides,\n});\n","import { SyntheticProgrammesByYear } from \"@/schema/syntheticProgrammesByYear.schema\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\n\nexport const syntheticProgrammesByYearFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticProgrammesByYear>;\n} = {}): SyntheticProgrammesByYear => ({\n year_slug: \"year-1\",\n base_slug: \"maths-primary-year-1\",\n programme_slug: \"maths-primary-year-1\",\n is_legacy: false,\n programme_fields: programmeFieldsFixture(),\n});\n","import { SyntheticUnitvariantLessonsByKs } from \"@/schema/syntheticUnitvariantLessonsByKs.schema\";\nimport { lessonDataFixture } from \"./lessonData.fixture\";\nimport { unitDataFixture } from \"./unitData.fixture\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\nimport { unitvariantFixture } from \"./unitvariant.fixture\";\n\nexport const syntheticUnitvariantLessonsByKsFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticUnitvariantLessonsByKs>;\n} = {}): SyntheticUnitvariantLessonsByKs => ({\n unitvariant_id: 1,\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: unitvariantFixture(),\n programme_fields: programmeFieldsFixture(),\n supplementary_data: {\n unit_order: 1,\n order_in_unit: 1,\n },\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","imageObjectSchema","object","format","optional","secure_url","string","url","height","number","width","metadata","union","array","any","attribution","usageRestriction","public_id","version","imageItemSchema","image_object","type","literal","textItemSchema","text","multipleChoiceSchema","answer","answer_is_active","boolean","answer_is_correct","shortAnswerSchema","answer_is_default","orderSchema","correct_order","matchSchema","correct_choice","match_option","quizQuestionSchema","question_id","question_uid","question_type","question_stem","nullable","answers","order","match","feedback","hint","active","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","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","geo_restricted","login_required","lessonDataSchema","lesson_uid","slug","title","content_guidance_details","copyright_content","thirdpartycontent_list","keywords","sign_language_video_id","quiz_id_starter","quiz_id_exit","asset_id_slidedeck","asset_id_worksheet","expiration_date","_cohort","updated_at","programmeFieldsSchema","pathway","pathway_id","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","subject_display_order","subject_parent","nullish","optionality","legacy","dataset","unitDataSchema","unit_id","unit_uid","tags","subjectcategories","unitvariantSchema","unitvariant_id","_deleted","unit_overrides","partial","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","syntheticUnitvariantLessonsByKsSchema","Object","assign","omit","shape","null_unitvariant","programmeListingResponseSchema","pick","programmeListingResponseSchemaArray","lessonDataFixture","overrides","programmeFieldsFixture","unitDataFixture","unitvariantFixture","textItemFixture","multipleChoiceFixture","shortAnswerFixture","orderFixture","matchFixture","multipleChoiceQuestion","shortAnswerQuestion","orderQuestion","matchQuestion","lessonEquipmentAndResourcesFixture","teacherTipsFixture","keywordsFixture","misconceptionsAndCommonMistakesFixture","contentGuidanceFixture","lessonContentFixture","syntheticUnitvariantLessonsFixture","syntheticUnitvariantsWithLessonIdsFixture","syntheticProgrammesByYearFixture","syntheticUnitvariantLessonsByKsFixture"],"mappings":"wBAEa,MAAAA,EAAeC,EAAEC,KAAK,CAAC,YAAa,MAAO,cAC3CC,EAAgBF,EAAEC,KAAK,CAClC,YACA,YACA,YACA,MAGWE,EAAaH,EAAEC,KAAK,CAAC,aAAc,UAAW,cAC9CG,EAAoBJ,EAAEC,KAAK,CACtC,+BACA,UACA,cAEWI,EAASL,EAAEC,KAAK,CAAC,aAAc,UAAW,cAE1CK,EAAYN,EAAEC,KAAK,CAC9B,MACA,MACA,MACA,MACA,OACA,mBAEWM,EAAgBP,EAAEC,KAAK,CAClC,MACA,MACA,MACA,MACA,+BACA,WAEWO,EAAuBR,EAAEC,KAAK,CACzC,cACA,cACA,cACA,cACA,+BACA,mBAGWQ,EAAQT,EAAEC,KAAK,CAC1B,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KACA,KACA,KACA,KACA,IACA,QAEWS,EAAYV,EAAEC,KAAK,CAC9B,YACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,UACA,UACA,UACA,UACA,cAEWU,EAAmBX,EAAEC,KAAK,CACrC,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,UACA,UACA,UACA,UACA,YACA,cAGWW,EAAQZ,EAAEC,KAAK,CAAC,OAAQ,aAAc,WACtCY,EAAYb,EAAEC,KAAK,CAAC,OAAQ,aAAc,WAC1Ca,EAAmBd,EAAEC,KAAK,CAAC,OAAQ,aAAc,WAEjDc,EAAWf,EAAEC,KAAK,CAAC,OAAQ,SAC3Be,EAAehB,EAAEC,KAAK,CAAC,OAAQ,SAC/BgB,EAAsBjB,EAAEC,KAAK,CAAC,OAAQ,SAEtCiB,EAAiBlB,EAAEC,KAAK,CACnC,MACA,UACA,SACA,MACA,OACA,aAEWkB,EAAanB,EAAEC,KAAK,CAC/B,MACA,UACA,SACA,MACA,OACA,cAEWmB,EAAwBpB,EAAEC,KAAK,CAC1C,yCACA,UACA,SACA,yCACA,kCACA,cAGWoB,EAAWrB,EAAEC,KAAK,CAC7B,uBACA,iBACA,cACA,YACA,wBACA,QACA,UACA,kBACA,+BACA,mBACA,6BACA,SACA,YACA,SACA,UACA,QACA,WACA,QACA,QACA,6CACA,qBACA,cACA,sBACA,UACA,UACA,YACA,mBACA,UACA,UACA,0BACA,aACA,6BACA,gBACA,qBACA,WACA,uBACA,YACA,uBACA,mBACA,sBACA,8BACA,kBACA,0BAEWqB,EAAetB,EAAEC,KAAK,CACjC,qBACA,MACA,cACA,YACA,oBACA,QACA,UACA,kBACA,+BACA,mBACA,6BACA,SACA,YACA,SACA,UACA,QACA,WACA,QACA,QACA,4CACA,qBACA,YACA,sBACA,UACA,UACA,YACA,mBACA,UACA,UACA,0BACA,aACA,6BACA,gBACA,qBACA,WACA,uBACA,YACA,uBACA,mBACA,sBACA,8BACA,8BACA,sBCtNWsB,EAAoBvB,EAAEwB,OAAO,CACxCC,OAAQzB,EAAEC,KAAK,CAAC,MAAO,MAAO,OAAQ,OAAQ,MAAO,QAAQyB,WAC7DC,WAAY3B,EAAE4B,SAASC,MACvBA,IAAK7B,EAAE4B,SAASC,MAAMH,WACtBI,OAAQ9B,EAAE+B,SAASL,WACnBM,MAAOhC,EAAE+B,SAASL,WAClBO,SAAUjC,EAAEkC,MAAM,CAChBlC,EAAEmC,MAAMnC,EAAEoC,OACVpC,EAAEwB,OAAO,CACPa,YAAarC,EAAE4B,SAASF,WACxBY,iBAAkBtC,EAAE4B,SAASF,eAGjCa,UAAWvC,EAAE4B,SAASF,WACtBc,QAASxC,EAAE+B,SAASL,aAKTe,EAAkBzC,EAAEwB,OAAO,CACtCkB,aAAcnB,EACdoB,KAAM3C,EAAE4C,QAAQ,WAKLC,EAAiB7C,EAAEwB,OAAO,CACrCsB,KAAM9C,EAAE4B,SACRe,KAAM3C,EAAE4C,QAAQ,UC3BLG,EAAuB/C,EAAEwB,OAAO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gC,iCAChCE,4BAA6B,8BAC7BD,2BAA4B,6BAC5BN,4BAA4B,EAC5BQ,gBAAgB,EAChBC,gBAAgB,GACbqG,GCtFQmB,GAAqC,EAChDnB,YAAY,CAAE,GAGZ,CAAA,IACFT,OAAAC,OAAA,CAAAnI,YAAa,cACb4G,UAAW,YACXC,eAAgB,iBAChBxF,WAAW,EACXyF,YAAa4B,IACb3B,UAAW8B,IACX7B,oBAAqB,EACrBN,iBAAkBkC,IAClB3B,mBAAoB,CAClBC,WAAY,EACZC,cAAe,IAEdwB,GCnBQoB,GAA4C,EACvDpB,YAAY,CAAA,GAGV,CAAE,IAAyCT,OAAAC,OAAA,CAC7CZ,UAAW,YACXX,UAAW,YACXC,eAAgB,iBAChBxF,WAAW,EACXmG,aAAc,EACdC,uBAAwB,EACxBC,qBAAsB,EACtBX,UAAW8B,IACX7B,oBAAqB,EACrBN,iBAAkBkC,IAClB3B,mBAAoB,CAClBC,WAAY,GAEdS,SAAS,GACNgB,GCrBQqB,GAAmC,EAC9CrB,YAAY,CAAE,GAGZ,CAAA,KAAmC,CACrCnE,UAAW,SACX+C,UAAW,uBACXV,eAAgB,uBAChBxF,WAAW,EACXqF,iBAAkBkC,MCNPqB,GAAyC,EACpDtB,YAAY,CAAA,GAGV,CAAE,IACJT,OAAAC,OAAA,CAAA7B,eAAgB,EAChBtG,YAAa,cACb4G,UAAW,YACXC,eAAgB,iBAChBxF,WAAW,EACXyF,YAAa4B,IACb3B,UAAW8B,IACXP,iBAAkBQ,IAClBpC,iBAAkBkC,IAClB3B,mBAAoB,CAClBC,WAAY,EACZC,cAAe,IAEdwB"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/schema/base.schema.ts","../../src/schema/imageTextItems.schema.ts","../../src/schema/quizAnswers.schema.ts","../../src/schema/quizQuestion.schema.ts","../../src/schema/lessonContent.schema.ts","../../src/schema/lessonData.schema.ts","../../src/schema/programmeFields.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.ts","../../src/schema/programmeListing.schema.ts","../../src/fixtures/lessonData.fixture.ts","../../src/fixtures/programmeFields.fixture.ts","../../src/fixtures/unitData.fixture.ts","../../src/fixtures/unitvariant.fixture.ts","../../src/fixtures/imageTextItems.fixture.ts","../../src/fixtures/quizAnswers.fixture.ts","../../src/fixtures/quizQuestion.fixture.ts","../../src/fixtures/lessonContent.fixture.ts","../../src/fixtures/syntheticUnitvariantLessons.fixture.ts","../../src/fixtures/syntheticUnitvariantsWithLessonIds.fixture.ts","../../src/fixtures/syntheticProgrammesByYear.fixture.ts","../../src/fixtures/syntheticUnitvariantLessonsByKs.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\";\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\nimport { quizQuestionSchema } from \"./quizQuestion.schema\";\nimport { _stateSchema } from \"./base.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 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 geo_restricted: z.boolean().nullable(),\n login_required: z.boolean().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 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\";\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\";\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\";\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 programme_fields: programmeFieldsSchema,\n supplementary_data: z.object({\n unit_order: z.number(),\n order_in_unit: z.number(),\n }),\n actions: z.object({}).optional().nullable(),\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 { unitvariantSchema } from \"./unitvariant.schema\";\nimport { programmeFieldsSchema } from \"./programmeFields.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: z.object({}).optional().nullable(),\n features: z.object({}).optional().nullable(),\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\";\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: z.object({}).optional().nullable(),\n features: z.object({}).optional().nullable(),\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 syntheticUnitvariantLessonsByKsSchema = 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 SyntheticUnitvariantLessonsByKs = z.infer<\n typeof syntheticUnitvariantLessonsByKsSchema\n>;\n","import { syntheticUnitvariantLessonsByKsSchema } from \"./syntheticUnitvariantLessonsByKs.schema\";\nimport { z } from \"zod\";\n\nexport const programmeListingResponseSchema =\n syntheticUnitvariantLessonsByKsSchema.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 { 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 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 { Unitvariant } from \"@/schema/unitvariant.schema\";\n\nexport const unitvariantFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<Unitvariant>;\n} = {}): Unitvariant => ({\n unitvariant_id: 1,\n unit_id: 1,\n _deleted: false,\n _state: \"published\",\n _cohort: \"2023-2024\",\n unit_overrides: {},\n programme_fields: {},\n ...overrides,\n});\n","import {\n ImageObject,\n ImageItem,\n TextItem,\n} from \"@/schema/imageTextItems.schema\";\n\nexport const imageObjectFixture = (): ImageObject => ({\n format: \"png\",\n secure_url: \"https://res.cloudinary.com/demo/image/upload/sample.png\",\n url: \"http://res.cloudinary.com/demo/image/upload/sample.png\",\n height: 100,\n width: 100,\n metadata: {\n attribution: \"author\",\n usageRestriction: \"free\",\n },\n public_id: \"sample\",\n version: 1234567890,\n});\n\nexport const imageItemFixture = (): ImageItem => ({\n image_object: imageObjectFixture(),\n type: \"image\",\n});\n\nexport const textItemFixture = ({\n overrides = {},\n}: { overrides?: Partial<TextItem> } = {}): TextItem => ({\n text: \"Hello, World!\",\n type: \"text\",\n ...overrides,\n});\n","import {\n Match,\n MultipleChoice,\n Order,\n ShortAnswer,\n} from \"@/schema/quizAnswers.schema\";\nimport { imageItemFixture, textItemFixture } from \"./imageTextItems.fixture\";\n\nexport const multipleChoiceFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<MultipleChoice>;\n} = {}): MultipleChoice => ({\n answer: [textItemFixture(), imageItemFixture()],\n answer_is_active: true,\n answer_is_correct: true,\n ...overrides,\n});\n\nexport const shortAnswerFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<ShortAnswer>;\n} = {}): ShortAnswer => ({\n answer: [textItemFixture(), imageItemFixture()],\n answer_is_active: true,\n answer_is_default: true,\n ...overrides,\n});\n\nexport const orderFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<Order>;\n} = {}): Order => ({\n answer: [textItemFixture()],\n correct_order: 1,\n answer_is_active: true,\n ...overrides,\n});\n\nexport const matchFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<Match>;\n} = {}): Match => ({\n answer_is_active: true,\n correct_choice: [textItemFixture({ overrides: { text: \"Paris\" } })],\n match_option: [textItemFixture({ overrides: { text: \"Capital of France\" } })],\n ...overrides,\n});\n","import { QuizQuestion } from \"@/schema/quizQuestion.schema\";\n\nimport {\n matchFixture,\n multipleChoiceFixture,\n orderFixture,\n shortAnswerFixture,\n} from \"./quizAnswers.fixture\";\n\nexport const multipleChoiceQuestion = ({\n overrides = {},\n}: {\n overrides?: Partial<QuizQuestion>;\n} = {}): QuizQuestion => ({\n question_id: 1,\n question_uid: \"question-1\",\n question_type: \"multiple-choice\",\n question_stem: [\n {\n text: \"What is the capital of France?\",\n type: \"text\",\n },\n ],\n answers: {\n \"multiple-choice\": [\n multipleChoiceFixture({ overrides: { answer_is_correct: true } }),\n multipleChoiceFixture({ overrides: { answer_is_correct: false } }),\n multipleChoiceFixture({ overrides: { answer_is_correct: false } }),\n multipleChoiceFixture({ overrides: { answer_is_correct: false } }),\n ],\n },\n feedback: \"Paris is the capital of France.\",\n hint: \"Think about the Eiffel Tower.\",\n active: true,\n order: 1,\n ...overrides,\n});\n\nexport const shortAnswerQuestion = ({\n overrides = {},\n}: {\n overrides?: Partial<QuizQuestion>;\n} = {}): QuizQuestion => ({\n question_id: 2,\n question_uid: \"question-2\",\n question_type: \"short-answer\",\n question_stem: [\n {\n text: \"What is the capital of France?\",\n type: \"text\",\n },\n ],\n answers: {\n \"short-answer\": [shortAnswerFixture()],\n },\n feedback: \"Paris is the capital of France.\",\n hint: \"Think about the Eiffel Tower.\",\n active: true,\n order: 2,\n ...overrides,\n});\n\nexport const orderQuestion = ({\n overrides = {},\n}: {\n overrides?: Partial<QuizQuestion>;\n} = {}): QuizQuestion => ({\n question_id: 3,\n question_uid: \"question-3\",\n question_type: \"order\",\n question_stem: [\n {\n text: \"What is the capital of France?\",\n type: \"text\",\n },\n ],\n answers: {\n order: [\n orderFixture({ overrides: { correct_order: 1 } }),\n orderFixture({ overrides: { correct_order: 2 } }),\n orderFixture({ overrides: { correct_order: 3 } }),\n orderFixture({ overrides: { correct_order: 4 } }),\n ],\n },\n feedback: \"Paris is the capital of France.\",\n hint: \"Think about the Eiffel Tower.\",\n active: true,\n order: 3,\n ...overrides,\n});\n\nexport const matchQuestion = ({\n overrides = {},\n}: {\n overrides?: Partial<QuizQuestion>;\n} = {}): QuizQuestion => ({\n question_id: 4,\n question_uid: \"question-4\",\n question_type: \"match\",\n question_stem: [\n {\n text: \"What is the capital of France?\",\n type: \"text\",\n },\n ],\n answers: {\n match: [matchFixture(), matchFixture(), matchFixture(), matchFixture()],\n },\n feedback: \"Paris is the capital of France.\",\n hint: \"Think about the Eiffel Tower.\",\n active: true,\n order: 4,\n ...overrides,\n});\n","import {\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\";\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 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 ...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\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 { unitvariantFixture } from \"./unitvariant.fixture\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\nimport { syntheticUnitvariantsWithLessonIds } from \"@/schema/syntheticUnitvariantsWithLessonIds.schema\";\n\nexport const syntheticUnitvariantsWithLessonIdsFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<syntheticUnitvariantsWithLessonIds>;\n} = {}): syntheticUnitvariantsWithLessonIds => ({\n base_slug: \"base-slug\",\n unit_slug: \"unit-slug\",\n programme_slug: \"programme-slug\",\n is_legacy: false,\n lesson_count: 1,\n lesson_sensitive_count: 0,\n lesson_expired_count: 0,\n unit_data: unitDataFixture(),\n null_unitvariant_id: 0,\n programme_fields: programmeFieldsFixture(),\n supplementary_data: {\n unit_order: 1,\n },\n expired: false,\n ...overrides,\n});\n","import { SyntheticProgrammesByYear } from \"@/schema/syntheticProgrammesByYear.schema\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\n\nexport const syntheticProgrammesByYearFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticProgrammesByYear>;\n} = {}): SyntheticProgrammesByYear => ({\n year_slug: \"year-1\",\n base_slug: \"maths-primary-year-1\",\n programme_slug: \"maths-primary-year-1\",\n is_legacy: false,\n programme_fields: programmeFieldsFixture(),\n});\n","import { SyntheticUnitvariantLessonsByKs } from \"@/schema/syntheticUnitvariantLessonsByKs.schema\";\nimport { lessonDataFixture } from \"./lessonData.fixture\";\nimport { unitDataFixture } from \"./unitData.fixture\";\nimport { programmeFieldsFixture } from \"./programmeFields.fixture\";\nimport { unitvariantFixture } from \"./unitvariant.fixture\";\n\nexport const syntheticUnitvariantLessonsByKsFixture = ({\n overrides = {},\n}: {\n overrides?: Partial<SyntheticUnitvariantLessonsByKs>;\n} = {}): SyntheticUnitvariantLessonsByKs => ({\n unitvariant_id: 1,\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: unitvariantFixture(),\n programme_fields: programmeFieldsFixture(),\n supplementary_data: {\n unit_order: 1,\n order_in_unit: 1,\n },\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","imageObjectSchema","object","format","optional","secure_url","string","url","height","number","width","metadata","union","array","any","attribution","usageRestriction","public_id","version","imageItemSchema","image_object","type","literal","textItemSchema","text","multipleChoiceSchema","answer","answer_is_active","boolean","answer_is_correct","shortAnswerSchema","answer_is_default","orderSchema","correct_order","matchSchema","correct_choice","match_option","quizQuestionSchema","question_id","question_uid","question_type","question_stem","nullable","answers","order","match","feedback","hint","active","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","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","geo_restricted","login_required","lessonDataSchema","lesson_uid","slug","title","content_guidance_details","copyright_content","thirdpartycontent_list","keywords","sign_language_video_id","quiz_id_starter","quiz_id_exit","asset_id_slidedeck","asset_id_worksheet","expiration_date","_cohort","updated_at","programmeFieldsSchema","pathway","pathway_id","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","subject_display_order","subject_parent","nullish","optionality","legacy","dataset","unitDataSchema","unit_id","unit_uid","tags","subjectcategories","unitvariantSchema","unitvariant_id","_deleted","unit_overrides","partial","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","syntheticUnitvariantLessonsByKsSchema","Object","assign","omit","shape","null_unitvariant","programmeListingResponseSchema","pick","programmeListingResponseSchemaArray","lessonDataFixture","overrides","programmeFieldsFixture","unitDataFixture","unitvariantFixture","textItemFixture","multipleChoiceFixture","shortAnswerFixture","orderFixture","matchFixture","multipleChoiceQuestion","shortAnswerQuestion","orderQuestion","matchQuestion","lessonEquipmentAndResourcesFixture","teacherTipsFixture","keywordsFixture","misconceptionsAndCommonMistakesFixture","contentGuidanceFixture","lessonContentFixture","syntheticUnitvariantLessonsFixture","syntheticUnitvariantsWithLessonIdsFixture","syntheticProgrammesByYearFixture","syntheticUnitvariantLessonsByKsFixture"],"mappings":"wBAEa,MAAAA,EAAeC,EAAEC,KAAK,CAAC,YAAa,MAAO,cAC3CC,EAAgBF,EAAEC,KAAK,CAClC,YACA,YACA,YACA,MAGWE,EAAaH,EAAEC,KAAK,CAAC,aAAc,UAAW,cAC9CG,EAAoBJ,EAAEC,KAAK,CACtC,+BACA,UACA,cAEWI,EAASL,EAAEC,KAAK,CAAC,aAAc,UAAW,cAE1CK,EAAYN,EAAEC,KAAK,CAC9B,MACA,MACA,MACA,MACA,OACA,mBAEWM,EAAgBP,EAAEC,KAAK,CAClC,MACA,MACA,MACA,MACA,+BACA,WAEWO,EAAuBR,EAAEC,KAAK,CACzC,cACA,cACA,cACA,cACA,+BACA,mBAGWQ,EAAQT,EAAEC,KAAK,CAC1B,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KACA,KACA,KACA,KACA,IACA,QAEWS,EAAYV,EAAEC,KAAK,CAC9B,YACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,UACA,UACA,UACA,UACA,cAEWU,EAAmBX,EAAEC,KAAK,CACrC,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,UACA,UACA,UACA,UACA,YACA,cAGWW,EAAQZ,EAAEC,KAAK,CAAC,OAAQ,aAAc,WACtCY,EAAYb,EAAEC,KAAK,CAAC,OAAQ,aAAc,WAC1Ca,EAAmBd,EAAEC,KAAK,CAAC,OAAQ,aAAc,WAEjDc,EAAWf,EAAEC,KAAK,CAAC,OAAQ,SAC3Be,EAAehB,EAAEC,KAAK,CAAC,OAAQ,SAC/BgB,EAAsBjB,EAAEC,KAAK,CAAC,OAAQ,SAEtCiB,EAAiBlB,EAAEC,KAAK,CACnC,MACA,UACA,SACA,MACA,OACA,aAEWkB,EAAanB,EAAEC,KAAK,CAC/B,MACA,UACA,SACA,MACA,OACA,cAEWmB,EAAwBpB,EAAEC,KAAK,CAC1C,yCACA,UACA,SACA,yCACA,kCACA,cAGWoB,EAAWrB,EAAEC,KAAK,CAC7B,uBACA,iBACA,cACA,YACA,mBACA,wBACA,QACA,UACA,kBACA,+BACA,mBACA,6BACA,SACA,YACA,SACA,UACA,QACA,WACA,QACA,QACA,6CACA,qBACA,cACA,sBACA,UACA,UACA,YACA,mBACA,UACA,UACA,0BACA,aACA,6BACA,gBACA,qBACA,WACA,uBACA,YACA,uBACA,mBACA,sBACA,8BACA,kBACA,0BAEWqB,EAAetB,EAAEC,KAAK,CACjC,qBACA,MACA,cACA,YACA,oBACA,QACA,UACA,kBACA,+BACA,mBACA,6BACA,SACA,YACA,SACA,UACA,QACA,WACA,QACA,QACA,4CACA,qBACA,YACA,sBACA,UACA,UACA,YACA,mBACA,UACA,UACA,0BACA,aACA,6BACA,gB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,YACXX,UAAW,YACXC,eAAgB,iBAChBxF,WAAW,EACXmG,aAAc,EACdC,uBAAwB,EACxBC,qBAAsB,EACtBX,UAAW8B,IACX7B,oBAAqB,EACrBN,iBAAkBkC,IAClB3B,mBAAoB,CAClBC,WAAY,GAEdS,SAAS,GACNgB,GCrBQqB,GAAmC,EAC9CrB,YAAY,CAAE,GAGZ,CAAA,KAAmC,CACrCnE,UAAW,SACX+C,UAAW,uBACXV,eAAgB,uBAChBxF,WAAW,EACXqF,iBAAkBkC,MCNPqB,GAAyC,EACpDtB,YAAY,CAAA,GAGV,CAAE,IACJT,OAAAC,OAAA,CAAA7B,eAAgB,EAChBtG,YAAa,cACb4G,UAAW,YACXC,eAAgB,iBAChBxF,WAAW,EACXyF,YAAa4B,IACb3B,UAAW8B,IACXP,iBAAkBQ,IAClBpC,iBAAkBkC,IAClB3B,mBAAoB,CAClBC,WAAY,EACZC,cAAe,IAEdwB"}
|
|
@@ -8,6 +8,8 @@ export const syntheticProgrammesByYearSchema = z.object({
|
|
|
8
8
|
base_slug: z.string(),
|
|
9
9
|
is_legacy: z.boolean(),
|
|
10
10
|
programme_fields: programmeFieldsSchema,
|
|
11
|
+
actions: z.object({}).optional().nullable(),
|
|
12
|
+
features: z.object({}).optional().nullable(),
|
|
11
13
|
});
|
|
12
14
|
|
|
13
15
|
export type SyntheticProgrammesByYear = z.infer<
|