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