@oaknational/oak-curriculum-schema 2.3.0 → 2.3.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.3.0",
3
+ "version": "2.3.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
@@ -16507,7 +16507,6 @@ declare const programmeListingSchema: z.ZodObject<{
16507
16507
  dataset: z.ZodOptional<z.ZodString>;
16508
16508
  }, z.core.$strip>;
16509
16509
  is_legacy: z.ZodBoolean;
16510
- programme_slug: z.ZodString;
16511
16510
  lesson_data: z.ZodObject<{
16512
16511
  created_at: z.ZodString;
16513
16512
  updated_at: z.ZodString;
@@ -16621,6 +16620,7 @@ declare const programmeListingSchema: z.ZodObject<{
16621
16620
  }, z.core.$strip>>>;
16622
16621
  lesson_release_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16623
16622
  }, z.core.$strip>;
16623
+ programme_slug: z.ZodString;
16624
16624
  }, z.core.$strip>;
16625
16625
  type ProgrammeListing = z.infer<typeof programmeListingSchema>;
16626
16626
  declare const programmeListingSchemaCamel: Omit<z.ZodType<{
@@ -16661,7 +16661,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
16661
16661
  dataset?: string | undefined;
16662
16662
  };
16663
16663
  isLegacy: boolean;
16664
- programmeSlug: string;
16665
16664
  lessonData: {
16666
16665
  createdAt: string;
16667
16666
  updatedAt: string;
@@ -16782,6 +16781,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
16782
16781
  } | null | undefined;
16783
16782
  lessonReleaseDate?: string | null | undefined;
16784
16783
  };
16784
+ programmeSlug: string;
16785
16785
  }, unknown, z.core.$ZodTypeInternals<{
16786
16786
  programmeFields: {
16787
16787
  year: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "R" | "All";
@@ -16820,7 +16820,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
16820
16820
  dataset?: string | undefined;
16821
16821
  };
16822
16822
  isLegacy: boolean;
16823
- programmeSlug: string;
16824
16823
  lessonData: {
16825
16824
  createdAt: string;
16826
16825
  updatedAt: string;
@@ -16941,6 +16940,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
16941
16940
  } | null | undefined;
16942
16941
  lessonReleaseDate?: string | null | undefined;
16943
16942
  };
16943
+ programmeSlug: string;
16944
16944
  }, unknown>>, "parse" | "safeParse"> & {
16945
16945
  parse: (input: {
16946
16946
  programme_fields: {
@@ -16980,7 +16980,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
16980
16980
  dataset?: string | undefined;
16981
16981
  };
16982
16982
  is_legacy: boolean;
16983
- programme_slug: string;
16984
16983
  lesson_data: {
16985
16984
  created_at: string;
16986
16985
  updated_at: string;
@@ -17089,6 +17088,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17089
17088
  }[]> | null | undefined;
17090
17089
  lesson_release_date?: string | null | undefined;
17091
17090
  };
17091
+ programme_slug: string;
17092
17092
  }) => {
17093
17093
  programmeFields: {
17094
17094
  year: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "R" | "All";
@@ -17127,7 +17127,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17127
17127
  dataset?: string | undefined;
17128
17128
  };
17129
17129
  isLegacy: boolean;
17130
- programmeSlug: string;
17131
17130
  lessonData: {
17132
17131
  createdAt: string;
17133
17132
  updatedAt: string;
@@ -17248,6 +17247,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17248
17247
  } | null | undefined;
17249
17248
  lessonReleaseDate?: string | null | undefined;
17250
17249
  };
17250
+ programmeSlug: string;
17251
17251
  };
17252
17252
  safeParse: (input: {
17253
17253
  programme_fields: {
@@ -17287,7 +17287,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17287
17287
  dataset?: string | undefined;
17288
17288
  };
17289
17289
  is_legacy: boolean;
17290
- programme_slug: string;
17291
17290
  lesson_data: {
17292
17291
  created_at: string;
17293
17292
  updated_at: string;
@@ -17396,6 +17395,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17396
17395
  }[]> | null | undefined;
17397
17396
  lesson_release_date?: string | null | undefined;
17398
17397
  };
17398
+ programme_slug: string;
17399
17399
  }) => {
17400
17400
  success: boolean;
17401
17401
  data?: {
@@ -17436,7 +17436,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17436
17436
  dataset?: string | undefined;
17437
17437
  };
17438
17438
  isLegacy: boolean;
17439
- programmeSlug: string;
17440
17439
  lessonData: {
17441
17440
  createdAt: string;
17442
17441
  updatedAt: string;
@@ -17557,6 +17556,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17557
17556
  } | null | undefined;
17558
17557
  lessonReleaseDate?: string | null | undefined;
17559
17558
  };
17559
+ programmeSlug: string;
17560
17560
  } | undefined;
17561
17561
  error?: any;
17562
17562
  };
@@ -17854,7 +17854,6 @@ declare const programmeListingArraySchema: z.ZodArray<z.ZodObject<{
17854
17854
  dataset: z.ZodOptional<z.ZodString>;
17855
17855
  }, z.core.$strip>;
17856
17856
  is_legacy: z.ZodBoolean;
17857
- programme_slug: z.ZodString;
17858
17857
  lesson_data: z.ZodObject<{
17859
17858
  created_at: z.ZodString;
17860
17859
  updated_at: z.ZodString;
@@ -17968,6 +17967,7 @@ declare const programmeListingArraySchema: z.ZodArray<z.ZodObject<{
17968
17967
  }, z.core.$strip>>>;
17969
17968
  lesson_release_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17970
17969
  }, z.core.$strip>;
17970
+ programme_slug: z.ZodString;
17971
17971
  }, z.core.$strip>>;
17972
17972
  type ProgrammeListingArray = z.infer<typeof programmeListingArraySchema>;
17973
17973
  declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
@@ -18008,7 +18008,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18008
18008
  dataset?: string | undefined;
18009
18009
  };
18010
18010
  isLegacy: boolean;
18011
- programmeSlug: string;
18012
18011
  lessonData: {
18013
18012
  createdAt: string;
18014
18013
  updatedAt: string;
@@ -18129,6 +18128,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18129
18128
  } | null | undefined;
18130
18129
  lessonReleaseDate?: string | null | undefined;
18131
18130
  };
18131
+ programmeSlug: string;
18132
18132
  }[], unknown, z.core.$ZodTypeInternals<{
18133
18133
  programmeFields: {
18134
18134
  year: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "R" | "All";
@@ -18167,7 +18167,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18167
18167
  dataset?: string | undefined;
18168
18168
  };
18169
18169
  isLegacy: boolean;
18170
- programmeSlug: string;
18171
18170
  lessonData: {
18172
18171
  createdAt: string;
18173
18172
  updatedAt: string;
@@ -18288,6 +18287,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18288
18287
  } | null | undefined;
18289
18288
  lessonReleaseDate?: string | null | undefined;
18290
18289
  };
18290
+ programmeSlug: string;
18291
18291
  }[], unknown>>, "parse" | "safeParse"> & {
18292
18292
  parse: (input: {
18293
18293
  programme_fields: {
@@ -18327,7 +18327,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18327
18327
  dataset?: string | undefined;
18328
18328
  };
18329
18329
  is_legacy: boolean;
18330
- programme_slug: string;
18331
18330
  lesson_data: {
18332
18331
  created_at: string;
18333
18332
  updated_at: string;
@@ -18436,6 +18435,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18436
18435
  }[]> | null | undefined;
18437
18436
  lesson_release_date?: string | null | undefined;
18438
18437
  };
18438
+ programme_slug: string;
18439
18439
  }[]) => {
18440
18440
  programmeFields: {
18441
18441
  year: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "R" | "All";
@@ -18474,7 +18474,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18474
18474
  dataset?: string | undefined;
18475
18475
  };
18476
18476
  isLegacy: boolean;
18477
- programmeSlug: string;
18478
18477
  lessonData: {
18479
18478
  createdAt: string;
18480
18479
  updatedAt: string;
@@ -18595,6 +18594,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18595
18594
  } | null | undefined;
18596
18595
  lessonReleaseDate?: string | null | undefined;
18597
18596
  };
18597
+ programmeSlug: string;
18598
18598
  }[];
18599
18599
  safeParse: (input: {
18600
18600
  programme_fields: {
@@ -18634,7 +18634,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18634
18634
  dataset?: string | undefined;
18635
18635
  };
18636
18636
  is_legacy: boolean;
18637
- programme_slug: string;
18638
18637
  lesson_data: {
18639
18638
  created_at: string;
18640
18639
  updated_at: string;
@@ -18743,6 +18742,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18743
18742
  }[]> | null | undefined;
18744
18743
  lesson_release_date?: string | null | undefined;
18745
18744
  };
18745
+ programme_slug: string;
18746
18746
  }[]) => {
18747
18747
  success: boolean;
18748
18748
  data?: {
@@ -18783,7 +18783,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18783
18783
  dataset?: string | undefined;
18784
18784
  };
18785
18785
  isLegacy: boolean;
18786
- programmeSlug: string;
18787
18786
  lessonData: {
18788
18787
  createdAt: string;
18789
18788
  updatedAt: string;
@@ -18904,6 +18903,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18904
18903
  } | null | undefined;
18905
18904
  lessonReleaseDate?: string | null | undefined;
18906
18905
  };
18906
+ programmeSlug: string;
18907
18907
  }[] | undefined;
18908
18908
  error?: any;
18909
18909
  };
@@ -23446,7 +23446,6 @@ declare const syntheticUnitvariantLessonsByKsSchema: z.ZodObject<{
23446
23446
  group_by_subjectcategory: z.ZodBoolean;
23447
23447
  }, z.core.$strip>>;
23448
23448
  }, z.core.$strip>>>;
23449
- programme_slug: z.ZodString;
23450
23449
  lesson_data: z.ZodObject<{
23451
23450
  created_at: z.ZodString;
23452
23451
  updated_at: z.ZodString;
@@ -23580,6 +23579,7 @@ declare const syntheticUnitvariantLessonsByKsSchema: z.ZodObject<{
23580
23579
  expiration_date: z.ZodNullable<z.ZodString>;
23581
23580
  }, z.core.$strip>;
23582
23581
  unit_slug: z.ZodString;
23582
+ programme_slug: z.ZodString;
23583
23583
  null_unitvariant_id: z.ZodNumber;
23584
23584
  static_lesson_list: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23585
23585
  slug: z.ZodString;
@@ -23635,7 +23635,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
23635
23635
  };
23636
23636
  lessonSlug: string;
23637
23637
  isLegacy: boolean;
23638
- programmeSlug: string;
23639
23638
  lessonData: {
23640
23639
  createdAt: string;
23641
23640
  updatedAt: string;
@@ -23773,6 +23772,7 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
23773
23772
  priorKnowledgeRequirements?: string[] | null | undefined;
23774
23773
  };
23775
23774
  unitSlug: string;
23775
+ programmeSlug: string;
23776
23776
  nullUnitvariantId: number;
23777
23777
  features?: {
23778
23778
  pePractical?: boolean | undefined;
@@ -23891,7 +23891,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
23891
23891
  };
23892
23892
  lessonSlug: string;
23893
23893
  isLegacy: boolean;
23894
- programmeSlug: string;
23895
23894
  lessonData: {
23896
23895
  createdAt: string;
23897
23896
  updatedAt: string;
@@ -24029,6 +24028,7 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24029
24028
  priorKnowledgeRequirements?: string[] | null | undefined;
24030
24029
  };
24031
24030
  unitSlug: string;
24031
+ programmeSlug: string;
24032
24032
  nullUnitvariantId: number;
24033
24033
  features?: {
24034
24034
  pePractical?: boolean | undefined;
@@ -24148,7 +24148,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24148
24148
  };
24149
24149
  lesson_slug: string;
24150
24150
  is_legacy: boolean;
24151
- programme_slug: string;
24152
24151
  lesson_data: {
24153
24152
  created_at: string;
24154
24153
  updated_at: string;
@@ -24272,6 +24271,7 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24272
24271
  prior_knowledge_requirements?: string[] | null | undefined;
24273
24272
  };
24274
24273
  unit_slug: string;
24274
+ programme_slug: string;
24275
24275
  null_unitvariant_id: number;
24276
24276
  features?: {
24277
24277
  pe_practical?: boolean | undefined;
@@ -24390,7 +24390,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24390
24390
  };
24391
24391
  lessonSlug: string;
24392
24392
  isLegacy: boolean;
24393
- programmeSlug: string;
24394
24393
  lessonData: {
24395
24394
  createdAt: string;
24396
24395
  updatedAt: string;
@@ -24528,6 +24527,7 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24528
24527
  priorKnowledgeRequirements?: string[] | null | undefined;
24529
24528
  };
24530
24529
  unitSlug: string;
24530
+ programmeSlug: string;
24531
24531
  nullUnitvariantId: number;
24532
24532
  features?: {
24533
24533
  pePractical?: boolean | undefined;
@@ -24647,7 +24647,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24647
24647
  };
24648
24648
  lesson_slug: string;
24649
24649
  is_legacy: boolean;
24650
- programme_slug: string;
24651
24650
  lesson_data: {
24652
24651
  created_at: string;
24653
24652
  updated_at: string;
@@ -24771,6 +24770,7 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24771
24770
  prior_knowledge_requirements?: string[] | null | undefined;
24772
24771
  };
24773
24772
  unit_slug: string;
24773
+ programme_slug: string;
24774
24774
  null_unitvariant_id: number;
24775
24775
  features?: {
24776
24776
  pe_practical?: boolean | undefined;
@@ -24891,7 +24891,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24891
24891
  };
24892
24892
  lessonSlug: string;
24893
24893
  isLegacy: boolean;
24894
- programmeSlug: string;
24895
24894
  lessonData: {
24896
24895
  createdAt: string;
24897
24896
  updatedAt: string;
@@ -25029,6 +25028,7 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
25029
25028
  priorKnowledgeRequirements?: string[] | null | undefined;
25030
25029
  };
25031
25030
  unitSlug: string;
25031
+ programmeSlug: string;
25032
25032
  nullUnitvariantId: number;
25033
25033
  features?: {
25034
25034
  pePractical?: boolean | undefined;