@oaknational/oak-curriculum-schema 2.10.1 → 2.11.0-beta.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +21 -21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oaknational/oak-curriculum-schema",
3
- "version": "2.10.1",
3
+ "version": "2.11.0-beta.1",
4
4
  "type": "module",
5
5
  "description": "Contract tests to ensure data integrity between Oak apps and their data",
6
6
  "main": "cjs/index.cjs",
package/types.d.ts CHANGED
@@ -20003,6 +20003,7 @@ declare const programmeListingSchema: z.ZodObject<{
20003
20003
  dataset: z.ZodOptional<z.ZodString>;
20004
20004
  }, z.core.$strip>;
20005
20005
  is_legacy: z.ZodBoolean;
20006
+ programme_slug: z.ZodString;
20006
20007
  lesson_data: z.ZodObject<{
20007
20008
  created_at: z.ZodString;
20008
20009
  updated_at: z.ZodString;
@@ -20116,7 +20117,6 @@ declare const programmeListingSchema: z.ZodObject<{
20116
20117
  }, z.core.$strip>>>;
20117
20118
  lesson_release_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20118
20119
  }, z.core.$strip>;
20119
- programme_slug: z.ZodString;
20120
20120
  }, z.core.$strip>;
20121
20121
  type ProgrammeListing = z.infer<typeof programmeListingSchema>;
20122
20122
  declare const programmeListingSchemaCamel: Omit<z.ZodType<{
@@ -20157,6 +20157,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
20157
20157
  dataset?: string | undefined;
20158
20158
  };
20159
20159
  isLegacy: boolean;
20160
+ programmeSlug: string;
20160
20161
  lessonData: {
20161
20162
  createdAt: string;
20162
20163
  updatedAt: string;
@@ -20277,7 +20278,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
20277
20278
  } | null | undefined;
20278
20279
  lessonReleaseDate?: string | null | undefined;
20279
20280
  };
20280
- programmeSlug: string;
20281
20281
  }, unknown, z.core.$ZodTypeInternals<{
20282
20282
  programmeFields: {
20283
20283
  subject: "Computing (non-GCSE)" | "Art and design" | "Citizenship" | "Computing" | "Computer Science" | "Design and technology" | "Drama" | "English" | "English grammar" | "English reading for pleasure" | "English spelling" | "Expressive arts and design" | "Financial education" | "French" | "Geography" | "German" | "History" | "Latin" | "Literacy" | "Maths" | "Music" | "Personal, social and emotional development" | "Physical education" | "RSHE (PSHE)" | "Religious education" | "Rule of law" | "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";
@@ -20316,6 +20316,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
20316
20316
  dataset?: string | undefined;
20317
20317
  };
20318
20318
  isLegacy: boolean;
20319
+ programmeSlug: string;
20319
20320
  lessonData: {
20320
20321
  createdAt: string;
20321
20322
  updatedAt: string;
@@ -20436,7 +20437,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
20436
20437
  } | null | undefined;
20437
20438
  lessonReleaseDate?: string | null | undefined;
20438
20439
  };
20439
- programmeSlug: string;
20440
20440
  }, unknown>>, "parse" | "safeParse"> & {
20441
20441
  parse: (input: {
20442
20442
  programme_fields: {
@@ -20476,6 +20476,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
20476
20476
  dataset?: string | undefined;
20477
20477
  };
20478
20478
  is_legacy: boolean;
20479
+ programme_slug: string;
20479
20480
  lesson_data: {
20480
20481
  created_at: string;
20481
20482
  updated_at: string;
@@ -20584,7 +20585,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
20584
20585
  }[]> | null | undefined;
20585
20586
  lesson_release_date?: string | null | undefined;
20586
20587
  };
20587
- programme_slug: string;
20588
20588
  }) => {
20589
20589
  programmeFields: {
20590
20590
  subject: "Computing (non-GCSE)" | "Art and design" | "Citizenship" | "Computing" | "Computer Science" | "Design and technology" | "Drama" | "English" | "English grammar" | "English reading for pleasure" | "English spelling" | "Expressive arts and design" | "Financial education" | "French" | "Geography" | "German" | "History" | "Latin" | "Literacy" | "Maths" | "Music" | "Personal, social and emotional development" | "Physical education" | "RSHE (PSHE)" | "Religious education" | "Rule of law" | "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";
@@ -20623,6 +20623,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
20623
20623
  dataset?: string | undefined;
20624
20624
  };
20625
20625
  isLegacy: boolean;
20626
+ programmeSlug: string;
20626
20627
  lessonData: {
20627
20628
  createdAt: string;
20628
20629
  updatedAt: string;
@@ -20743,7 +20744,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
20743
20744
  } | null | undefined;
20744
20745
  lessonReleaseDate?: string | null | undefined;
20745
20746
  };
20746
- programmeSlug: string;
20747
20747
  };
20748
20748
  safeParse: (input: {
20749
20749
  programme_fields: {
@@ -20783,6 +20783,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
20783
20783
  dataset?: string | undefined;
20784
20784
  };
20785
20785
  is_legacy: boolean;
20786
+ programme_slug: string;
20786
20787
  lesson_data: {
20787
20788
  created_at: string;
20788
20789
  updated_at: string;
@@ -20891,7 +20892,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
20891
20892
  }[]> | null | undefined;
20892
20893
  lesson_release_date?: string | null | undefined;
20893
20894
  };
20894
- programme_slug: string;
20895
20895
  }) => {
20896
20896
  success: boolean;
20897
20897
  data?: {
@@ -20932,6 +20932,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
20932
20932
  dataset?: string | undefined;
20933
20933
  };
20934
20934
  isLegacy: boolean;
20935
+ programmeSlug: string;
20935
20936
  lessonData: {
20936
20937
  createdAt: string;
20937
20938
  updatedAt: string;
@@ -21052,7 +21053,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
21052
21053
  } | null | undefined;
21053
21054
  lessonReleaseDate?: string | null | undefined;
21054
21055
  };
21055
- programmeSlug: string;
21056
21056
  } | undefined;
21057
21057
  error?: any;
21058
21058
  };
@@ -21350,6 +21350,7 @@ declare const programmeListingArraySchema: z.ZodArray<z.ZodObject<{
21350
21350
  dataset: z.ZodOptional<z.ZodString>;
21351
21351
  }, z.core.$strip>;
21352
21352
  is_legacy: z.ZodBoolean;
21353
+ programme_slug: z.ZodString;
21353
21354
  lesson_data: z.ZodObject<{
21354
21355
  created_at: z.ZodString;
21355
21356
  updated_at: z.ZodString;
@@ -21463,7 +21464,6 @@ declare const programmeListingArraySchema: z.ZodArray<z.ZodObject<{
21463
21464
  }, z.core.$strip>>>;
21464
21465
  lesson_release_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21465
21466
  }, z.core.$strip>;
21466
- programme_slug: z.ZodString;
21467
21467
  }, z.core.$strip>>;
21468
21468
  type ProgrammeListingArray = z.infer<typeof programmeListingArraySchema>;
21469
21469
  declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
@@ -21504,6 +21504,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
21504
21504
  dataset?: string | undefined;
21505
21505
  };
21506
21506
  isLegacy: boolean;
21507
+ programmeSlug: string;
21507
21508
  lessonData: {
21508
21509
  createdAt: string;
21509
21510
  updatedAt: string;
@@ -21624,7 +21625,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
21624
21625
  } | null | undefined;
21625
21626
  lessonReleaseDate?: string | null | undefined;
21626
21627
  };
21627
- programmeSlug: string;
21628
21628
  }[], unknown, z.core.$ZodTypeInternals<{
21629
21629
  programmeFields: {
21630
21630
  subject: "Computing (non-GCSE)" | "Art and design" | "Citizenship" | "Computing" | "Computer Science" | "Design and technology" | "Drama" | "English" | "English grammar" | "English reading for pleasure" | "English spelling" | "Expressive arts and design" | "Financial education" | "French" | "Geography" | "German" | "History" | "Latin" | "Literacy" | "Maths" | "Music" | "Personal, social and emotional development" | "Physical education" | "RSHE (PSHE)" | "Religious education" | "Rule of law" | "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";
@@ -21663,6 +21663,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
21663
21663
  dataset?: string | undefined;
21664
21664
  };
21665
21665
  isLegacy: boolean;
21666
+ programmeSlug: string;
21666
21667
  lessonData: {
21667
21668
  createdAt: string;
21668
21669
  updatedAt: string;
@@ -21783,7 +21784,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
21783
21784
  } | null | undefined;
21784
21785
  lessonReleaseDate?: string | null | undefined;
21785
21786
  };
21786
- programmeSlug: string;
21787
21787
  }[], unknown>>, "parse" | "safeParse"> & {
21788
21788
  parse: (input: {
21789
21789
  programme_fields: {
@@ -21823,6 +21823,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
21823
21823
  dataset?: string | undefined;
21824
21824
  };
21825
21825
  is_legacy: boolean;
21826
+ programme_slug: string;
21826
21827
  lesson_data: {
21827
21828
  created_at: string;
21828
21829
  updated_at: string;
@@ -21931,7 +21932,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
21931
21932
  }[]> | null | undefined;
21932
21933
  lesson_release_date?: string | null | undefined;
21933
21934
  };
21934
- programme_slug: string;
21935
21935
  }[]) => {
21936
21936
  programmeFields: {
21937
21937
  subject: "Computing (non-GCSE)" | "Art and design" | "Citizenship" | "Computing" | "Computer Science" | "Design and technology" | "Drama" | "English" | "English grammar" | "English reading for pleasure" | "English spelling" | "Expressive arts and design" | "Financial education" | "French" | "Geography" | "German" | "History" | "Latin" | "Literacy" | "Maths" | "Music" | "Personal, social and emotional development" | "Physical education" | "RSHE (PSHE)" | "Religious education" | "Rule of law" | "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";
@@ -21970,6 +21970,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
21970
21970
  dataset?: string | undefined;
21971
21971
  };
21972
21972
  isLegacy: boolean;
21973
+ programmeSlug: string;
21973
21974
  lessonData: {
21974
21975
  createdAt: string;
21975
21976
  updatedAt: string;
@@ -22090,7 +22091,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
22090
22091
  } | null | undefined;
22091
22092
  lessonReleaseDate?: string | null | undefined;
22092
22093
  };
22093
- programmeSlug: string;
22094
22094
  }[];
22095
22095
  safeParse: (input: {
22096
22096
  programme_fields: {
@@ -22130,6 +22130,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
22130
22130
  dataset?: string | undefined;
22131
22131
  };
22132
22132
  is_legacy: boolean;
22133
+ programme_slug: string;
22133
22134
  lesson_data: {
22134
22135
  created_at: string;
22135
22136
  updated_at: string;
@@ -22238,7 +22239,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
22238
22239
  }[]> | null | undefined;
22239
22240
  lesson_release_date?: string | null | undefined;
22240
22241
  };
22241
- programme_slug: string;
22242
22242
  }[]) => {
22243
22243
  success: boolean;
22244
22244
  data?: {
@@ -22279,6 +22279,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
22279
22279
  dataset?: string | undefined;
22280
22280
  };
22281
22281
  isLegacy: boolean;
22282
+ programmeSlug: string;
22282
22283
  lessonData: {
22283
22284
  createdAt: string;
22284
22285
  updatedAt: string;
@@ -22399,7 +22400,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
22399
22400
  } | null | undefined;
22400
22401
  lessonReleaseDate?: string | null | undefined;
22401
22402
  };
22402
- programmeSlug: string;
22403
22403
  }[] | undefined;
22404
22404
  error?: any;
22405
22405
  };
@@ -27220,6 +27220,7 @@ declare const syntheticUnitvariantLessonsByKsSchema: z.ZodObject<{
27220
27220
  group_by_subjectcategory: z.ZodBoolean;
27221
27221
  }, z.core.$strip>>;
27222
27222
  }, z.core.$strip>>>;
27223
+ programme_slug: z.ZodString;
27223
27224
  lesson_data: z.ZodObject<{
27224
27225
  created_at: z.ZodString;
27225
27226
  updated_at: z.ZodString;
@@ -27353,7 +27354,6 @@ declare const syntheticUnitvariantLessonsByKsSchema: z.ZodObject<{
27353
27354
  expiration_date: z.ZodNullable<z.ZodString>;
27354
27355
  }, z.core.$strip>;
27355
27356
  unit_slug: z.ZodString;
27356
- programme_slug: z.ZodString;
27357
27357
  null_unitvariant_id: z.ZodNumber;
27358
27358
  static_lesson_list: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
27359
27359
  slug: z.ZodString;
@@ -27410,6 +27410,7 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
27410
27410
  };
27411
27411
  lessonSlug: string;
27412
27412
  isLegacy: boolean;
27413
+ programmeSlug: string;
27413
27414
  lessonData: {
27414
27415
  createdAt: string;
27415
27416
  updatedAt: string;
@@ -27547,7 +27548,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
27547
27548
  priorKnowledgeRequirements?: string[] | null | undefined;
27548
27549
  };
27549
27550
  unitSlug: string;
27550
- programmeSlug: string;
27551
27551
  nullUnitvariantId: number;
27552
27552
  features?: {
27553
27553
  pePractical?: boolean | undefined;
@@ -27666,6 +27666,7 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
27666
27666
  };
27667
27667
  lessonSlug: string;
27668
27668
  isLegacy: boolean;
27669
+ programmeSlug: string;
27669
27670
  lessonData: {
27670
27671
  createdAt: string;
27671
27672
  updatedAt: string;
@@ -27803,7 +27804,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
27803
27804
  priorKnowledgeRequirements?: string[] | null | undefined;
27804
27805
  };
27805
27806
  unitSlug: string;
27806
- programmeSlug: string;
27807
27807
  nullUnitvariantId: number;
27808
27808
  features?: {
27809
27809
  pePractical?: boolean | undefined;
@@ -27923,6 +27923,7 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
27923
27923
  };
27924
27924
  lesson_slug: string;
27925
27925
  is_legacy: boolean;
27926
+ programme_slug: string;
27926
27927
  lesson_data: {
27927
27928
  created_at: string;
27928
27929
  updated_at: string;
@@ -28046,7 +28047,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
28046
28047
  prior_knowledge_requirements?: string[] | null | undefined;
28047
28048
  };
28048
28049
  unit_slug: string;
28049
- programme_slug: string;
28050
28050
  null_unitvariant_id: number;
28051
28051
  features?: {
28052
28052
  pe_practical?: boolean | undefined;
@@ -28165,6 +28165,7 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
28165
28165
  };
28166
28166
  lessonSlug: string;
28167
28167
  isLegacy: boolean;
28168
+ programmeSlug: string;
28168
28169
  lessonData: {
28169
28170
  createdAt: string;
28170
28171
  updatedAt: string;
@@ -28302,7 +28303,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
28302
28303
  priorKnowledgeRequirements?: string[] | null | undefined;
28303
28304
  };
28304
28305
  unitSlug: string;
28305
- programmeSlug: string;
28306
28306
  nullUnitvariantId: number;
28307
28307
  features?: {
28308
28308
  pePractical?: boolean | undefined;
@@ -28422,6 +28422,7 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
28422
28422
  };
28423
28423
  lesson_slug: string;
28424
28424
  is_legacy: boolean;
28425
+ programme_slug: string;
28425
28426
  lesson_data: {
28426
28427
  created_at: string;
28427
28428
  updated_at: string;
@@ -28545,7 +28546,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
28545
28546
  prior_knowledge_requirements?: string[] | null | undefined;
28546
28547
  };
28547
28548
  unit_slug: string;
28548
- programme_slug: string;
28549
28549
  null_unitvariant_id: number;
28550
28550
  features?: {
28551
28551
  pe_practical?: boolean | undefined;
@@ -28666,6 +28666,7 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
28666
28666
  };
28667
28667
  lessonSlug: string;
28668
28668
  isLegacy: boolean;
28669
+ programmeSlug: string;
28669
28670
  lessonData: {
28670
28671
  createdAt: string;
28671
28672
  updatedAt: string;
@@ -28803,7 +28804,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
28803
28804
  priorKnowledgeRequirements?: string[] | null | undefined;
28804
28805
  };
28805
28806
  unitSlug: string;
28806
- programmeSlug: string;
28807
28807
  nullUnitvariantId: number;
28808
28808
  features?: {
28809
28809
  pePractical?: boolean | undefined;