@oaknational/oak-curriculum-schema 2.9.2-beta.1 → 2.10.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 +28 -28
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oaknational/oak-curriculum-schema",
3
- "version": "2.9.2-beta.1",
3
+ "version": "2.10.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
@@ -19430,6 +19430,7 @@ declare const programmeListingSchema: z.ZodObject<{
19430
19430
  legacy: z.ZodOptional<z.ZodString>;
19431
19431
  dataset: z.ZodOptional<z.ZodString>;
19432
19432
  }, z.core.$strip>;
19433
+ is_legacy: z.ZodBoolean;
19433
19434
  lesson_data: z.ZodObject<{
19434
19435
  created_at: z.ZodString;
19435
19436
  updated_at: z.ZodString;
@@ -19544,7 +19545,6 @@ declare const programmeListingSchema: z.ZodObject<{
19544
19545
  lesson_release_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19545
19546
  }, z.core.$strip>;
19546
19547
  programme_slug: z.ZodString;
19547
- is_legacy: z.ZodBoolean;
19548
19548
  }, z.core.$strip>;
19549
19549
  type ProgrammeListing = z.infer<typeof programmeListingSchema>;
19550
19550
  declare const programmeListingSchemaCamel: Omit<z.ZodType<{
@@ -19584,6 +19584,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
19584
19584
  legacy?: string | undefined;
19585
19585
  dataset?: string | undefined;
19586
19586
  };
19587
+ isLegacy: boolean;
19587
19588
  lessonData: {
19588
19589
  createdAt: string;
19589
19590
  updatedAt: string;
@@ -19705,7 +19706,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
19705
19706
  lessonReleaseDate?: string | null | undefined;
19706
19707
  };
19707
19708
  programmeSlug: string;
19708
- isLegacy: boolean;
19709
19709
  }, unknown, z.core.$ZodTypeInternals<{
19710
19710
  programmeFields: {
19711
19711
  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";
@@ -19743,6 +19743,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
19743
19743
  legacy?: string | undefined;
19744
19744
  dataset?: string | undefined;
19745
19745
  };
19746
+ isLegacy: boolean;
19746
19747
  lessonData: {
19747
19748
  createdAt: string;
19748
19749
  updatedAt: string;
@@ -19864,7 +19865,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
19864
19865
  lessonReleaseDate?: string | null | undefined;
19865
19866
  };
19866
19867
  programmeSlug: string;
19867
- isLegacy: boolean;
19868
19868
  }, unknown>>, "parse" | "safeParse"> & {
19869
19869
  parse: (input: {
19870
19870
  programme_fields: {
@@ -19903,6 +19903,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
19903
19903
  legacy?: string | undefined;
19904
19904
  dataset?: string | undefined;
19905
19905
  };
19906
+ is_legacy: boolean;
19906
19907
  lesson_data: {
19907
19908
  created_at: string;
19908
19909
  updated_at: string;
@@ -20012,7 +20013,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
20012
20013
  lesson_release_date?: string | null | undefined;
20013
20014
  };
20014
20015
  programme_slug: string;
20015
- is_legacy: boolean;
20016
20016
  }) => {
20017
20017
  programmeFields: {
20018
20018
  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";
@@ -20050,6 +20050,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
20050
20050
  legacy?: string | undefined;
20051
20051
  dataset?: string | undefined;
20052
20052
  };
20053
+ isLegacy: boolean;
20053
20054
  lessonData: {
20054
20055
  createdAt: string;
20055
20056
  updatedAt: string;
@@ -20171,7 +20172,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
20171
20172
  lessonReleaseDate?: string | null | undefined;
20172
20173
  };
20173
20174
  programmeSlug: string;
20174
- isLegacy: boolean;
20175
20175
  };
20176
20176
  safeParse: (input: {
20177
20177
  programme_fields: {
@@ -20210,6 +20210,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
20210
20210
  legacy?: string | undefined;
20211
20211
  dataset?: string | undefined;
20212
20212
  };
20213
+ is_legacy: boolean;
20213
20214
  lesson_data: {
20214
20215
  created_at: string;
20215
20216
  updated_at: string;
@@ -20319,7 +20320,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
20319
20320
  lesson_release_date?: string | null | undefined;
20320
20321
  };
20321
20322
  programme_slug: string;
20322
- is_legacy: boolean;
20323
20323
  }) => {
20324
20324
  success: boolean;
20325
20325
  data?: {
@@ -20359,6 +20359,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
20359
20359
  legacy?: string | undefined;
20360
20360
  dataset?: string | undefined;
20361
20361
  };
20362
+ isLegacy: boolean;
20362
20363
  lessonData: {
20363
20364
  createdAt: string;
20364
20365
  updatedAt: string;
@@ -20480,7 +20481,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
20480
20481
  lessonReleaseDate?: string | null | undefined;
20481
20482
  };
20482
20483
  programmeSlug: string;
20483
- isLegacy: boolean;
20484
20484
  } | undefined;
20485
20485
  error?: any;
20486
20486
  };
@@ -20777,6 +20777,7 @@ declare const programmeListingArraySchema: z.ZodArray<z.ZodObject<{
20777
20777
  legacy: z.ZodOptional<z.ZodString>;
20778
20778
  dataset: z.ZodOptional<z.ZodString>;
20779
20779
  }, z.core.$strip>;
20780
+ is_legacy: z.ZodBoolean;
20780
20781
  lesson_data: z.ZodObject<{
20781
20782
  created_at: z.ZodString;
20782
20783
  updated_at: z.ZodString;
@@ -20891,7 +20892,6 @@ declare const programmeListingArraySchema: z.ZodArray<z.ZodObject<{
20891
20892
  lesson_release_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20892
20893
  }, z.core.$strip>;
20893
20894
  programme_slug: z.ZodString;
20894
- is_legacy: z.ZodBoolean;
20895
20895
  }, z.core.$strip>>;
20896
20896
  type ProgrammeListingArray = z.infer<typeof programmeListingArraySchema>;
20897
20897
  declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
@@ -20931,6 +20931,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
20931
20931
  legacy?: string | undefined;
20932
20932
  dataset?: string | undefined;
20933
20933
  };
20934
+ isLegacy: boolean;
20934
20935
  lessonData: {
20935
20936
  createdAt: string;
20936
20937
  updatedAt: string;
@@ -21052,7 +21053,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
21052
21053
  lessonReleaseDate?: string | null | undefined;
21053
21054
  };
21054
21055
  programmeSlug: string;
21055
- isLegacy: boolean;
21056
21056
  }[], unknown, z.core.$ZodTypeInternals<{
21057
21057
  programmeFields: {
21058
21058
  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";
@@ -21090,6 +21090,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
21090
21090
  legacy?: string | undefined;
21091
21091
  dataset?: string | undefined;
21092
21092
  };
21093
+ isLegacy: boolean;
21093
21094
  lessonData: {
21094
21095
  createdAt: string;
21095
21096
  updatedAt: string;
@@ -21211,7 +21212,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
21211
21212
  lessonReleaseDate?: string | null | undefined;
21212
21213
  };
21213
21214
  programmeSlug: string;
21214
- isLegacy: boolean;
21215
21215
  }[], unknown>>, "parse" | "safeParse"> & {
21216
21216
  parse: (input: {
21217
21217
  programme_fields: {
@@ -21250,6 +21250,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
21250
21250
  legacy?: string | undefined;
21251
21251
  dataset?: string | undefined;
21252
21252
  };
21253
+ is_legacy: boolean;
21253
21254
  lesson_data: {
21254
21255
  created_at: string;
21255
21256
  updated_at: string;
@@ -21359,7 +21360,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
21359
21360
  lesson_release_date?: string | null | undefined;
21360
21361
  };
21361
21362
  programme_slug: string;
21362
- is_legacy: boolean;
21363
21363
  }[]) => {
21364
21364
  programmeFields: {
21365
21365
  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";
@@ -21397,6 +21397,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
21397
21397
  legacy?: string | undefined;
21398
21398
  dataset?: string | undefined;
21399
21399
  };
21400
+ isLegacy: boolean;
21400
21401
  lessonData: {
21401
21402
  createdAt: string;
21402
21403
  updatedAt: string;
@@ -21518,7 +21519,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
21518
21519
  lessonReleaseDate?: string | null | undefined;
21519
21520
  };
21520
21521
  programmeSlug: string;
21521
- isLegacy: boolean;
21522
21522
  }[];
21523
21523
  safeParse: (input: {
21524
21524
  programme_fields: {
@@ -21557,6 +21557,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
21557
21557
  legacy?: string | undefined;
21558
21558
  dataset?: string | undefined;
21559
21559
  };
21560
+ is_legacy: boolean;
21560
21561
  lesson_data: {
21561
21562
  created_at: string;
21562
21563
  updated_at: string;
@@ -21666,7 +21667,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
21666
21667
  lesson_release_date?: string | null | undefined;
21667
21668
  };
21668
21669
  programme_slug: string;
21669
- is_legacy: boolean;
21670
21670
  }[]) => {
21671
21671
  success: boolean;
21672
21672
  data?: {
@@ -21706,6 +21706,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
21706
21706
  legacy?: string | undefined;
21707
21707
  dataset?: string | undefined;
21708
21708
  };
21709
+ isLegacy: boolean;
21709
21710
  lessonData: {
21710
21711
  createdAt: string;
21711
21712
  updatedAt: string;
@@ -21827,7 +21828,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
21827
21828
  lessonReleaseDate?: string | null | undefined;
21828
21829
  };
21829
21830
  programmeSlug: string;
21830
- isLegacy: boolean;
21831
21831
  }[] | undefined;
21832
21832
  error?: any;
21833
21833
  };
@@ -26235,6 +26235,8 @@ declare const syntheticUnitvariantLessonsByKsSchema: z.ZodObject<{
26235
26235
  legacy: z.ZodOptional<z.ZodString>;
26236
26236
  dataset: z.ZodOptional<z.ZodString>;
26237
26237
  }, z.core.$strip>;
26238
+ lesson_slug: z.ZodString;
26239
+ is_legacy: z.ZodBoolean;
26238
26240
  actions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26239
26241
  exclusions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
26240
26242
  pupilSubjectListingQuery: "pupilSubjectListingQuery";
@@ -26778,10 +26780,8 @@ declare const syntheticUnitvariantLessonsByKsSchema: z.ZodObject<{
26778
26780
  }>;
26779
26781
  expiration_date: z.ZodNullable<z.ZodString>;
26780
26782
  }, z.core.$strip>;
26781
- lesson_slug: z.ZodString;
26782
26783
  unit_slug: z.ZodString;
26783
26784
  programme_slug: z.ZodString;
26784
- is_legacy: z.ZodBoolean;
26785
26785
  null_unitvariant_id: z.ZodNumber;
26786
26786
  static_lesson_list: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
26787
26787
  slug: z.ZodString;
@@ -26836,6 +26836,8 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
26836
26836
  legacy?: string | undefined;
26837
26837
  dataset?: string | undefined;
26838
26838
  };
26839
+ lessonSlug: string;
26840
+ isLegacy: boolean;
26839
26841
  lessonData: {
26840
26842
  createdAt: string;
26841
26843
  updatedAt: string;
@@ -26972,10 +26974,8 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
26972
26974
  } | null | undefined;
26973
26975
  priorKnowledgeRequirements?: string[] | null | undefined;
26974
26976
  };
26975
- lessonSlug: string;
26976
26977
  unitSlug: string;
26977
26978
  programmeSlug: string;
26978
- isLegacy: boolean;
26979
26979
  nullUnitvariantId: number;
26980
26980
  features?: {
26981
26981
  pePractical?: boolean | undefined;
@@ -27092,6 +27092,8 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
27092
27092
  legacy?: string | undefined;
27093
27093
  dataset?: string | undefined;
27094
27094
  };
27095
+ lessonSlug: string;
27096
+ isLegacy: boolean;
27095
27097
  lessonData: {
27096
27098
  createdAt: string;
27097
27099
  updatedAt: string;
@@ -27228,10 +27230,8 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
27228
27230
  } | null | undefined;
27229
27231
  priorKnowledgeRequirements?: string[] | null | undefined;
27230
27232
  };
27231
- lessonSlug: string;
27232
27233
  unitSlug: string;
27233
27234
  programmeSlug: string;
27234
- isLegacy: boolean;
27235
27235
  nullUnitvariantId: number;
27236
27236
  features?: {
27237
27237
  pePractical?: boolean | undefined;
@@ -27349,6 +27349,8 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
27349
27349
  legacy?: string | undefined;
27350
27350
  dataset?: string | undefined;
27351
27351
  };
27352
+ lesson_slug: string;
27353
+ is_legacy: boolean;
27352
27354
  lesson_data: {
27353
27355
  created_at: string;
27354
27356
  updated_at: string;
@@ -27471,10 +27473,8 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
27471
27473
  deprecated_fields?: Record<string, unknown> | null | undefined;
27472
27474
  prior_knowledge_requirements?: string[] | null | undefined;
27473
27475
  };
27474
- lesson_slug: string;
27475
27476
  unit_slug: string;
27476
27477
  programme_slug: string;
27477
- is_legacy: boolean;
27478
27478
  null_unitvariant_id: number;
27479
27479
  features?: {
27480
27480
  pe_practical?: boolean | undefined;
@@ -27591,6 +27591,8 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
27591
27591
  legacy?: string | undefined;
27592
27592
  dataset?: string | undefined;
27593
27593
  };
27594
+ lessonSlug: string;
27595
+ isLegacy: boolean;
27594
27596
  lessonData: {
27595
27597
  createdAt: string;
27596
27598
  updatedAt: string;
@@ -27727,10 +27729,8 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
27727
27729
  } | null | undefined;
27728
27730
  priorKnowledgeRequirements?: string[] | null | undefined;
27729
27731
  };
27730
- lessonSlug: string;
27731
27732
  unitSlug: string;
27732
27733
  programmeSlug: string;
27733
- isLegacy: boolean;
27734
27734
  nullUnitvariantId: number;
27735
27735
  features?: {
27736
27736
  pePractical?: boolean | undefined;
@@ -27848,6 +27848,8 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
27848
27848
  legacy?: string | undefined;
27849
27849
  dataset?: string | undefined;
27850
27850
  };
27851
+ lesson_slug: string;
27852
+ is_legacy: boolean;
27851
27853
  lesson_data: {
27852
27854
  created_at: string;
27853
27855
  updated_at: string;
@@ -27970,10 +27972,8 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
27970
27972
  deprecated_fields?: Record<string, unknown> | null | undefined;
27971
27973
  prior_knowledge_requirements?: string[] | null | undefined;
27972
27974
  };
27973
- lesson_slug: string;
27974
27975
  unit_slug: string;
27975
27976
  programme_slug: string;
27976
- is_legacy: boolean;
27977
27977
  null_unitvariant_id: number;
27978
27978
  features?: {
27979
27979
  pe_practical?: boolean | undefined;
@@ -28092,6 +28092,8 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
28092
28092
  legacy?: string | undefined;
28093
28093
  dataset?: string | undefined;
28094
28094
  };
28095
+ lessonSlug: string;
28096
+ isLegacy: boolean;
28095
28097
  lessonData: {
28096
28098
  createdAt: string;
28097
28099
  updatedAt: string;
@@ -28228,10 +28230,8 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
28228
28230
  } | null | undefined;
28229
28231
  priorKnowledgeRequirements?: string[] | null | undefined;
28230
28232
  };
28231
- lessonSlug: string;
28232
28233
  unitSlug: string;
28233
28234
  programmeSlug: string;
28234
- isLegacy: boolean;
28235
28235
  nullUnitvariantId: number;
28236
28236
  features?: {
28237
28237
  pePractical?: boolean | undefined;