@oaknational/oak-curriculum-schema 2.3.0-beta.10 → 2.3.0-beta.11

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.3.0-beta.10",
3
+ "version": "2.3.0-beta.11",
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
@@ -16506,7 +16506,6 @@ declare const programmeListingSchema: z.ZodObject<{
16506
16506
  legacy: z.ZodOptional<z.ZodString>;
16507
16507
  dataset: z.ZodOptional<z.ZodString>;
16508
16508
  }, z.core.$strip>;
16509
- is_legacy: z.ZodBoolean;
16510
16509
  lesson_data: z.ZodObject<{
16511
16510
  created_at: z.ZodString;
16512
16511
  updated_at: z.ZodString;
@@ -16621,6 +16620,7 @@ declare const programmeListingSchema: z.ZodObject<{
16621
16620
  lesson_release_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16622
16621
  }, z.core.$strip>;
16623
16622
  programme_slug: z.ZodString;
16623
+ is_legacy: z.ZodBoolean;
16624
16624
  }, z.core.$strip>;
16625
16625
  type ProgrammeListing = z.infer<typeof programmeListingSchema>;
16626
16626
  declare const programmeListingSchemaCamel: Omit<z.ZodType<{
@@ -16660,7 +16660,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
16660
16660
  legacy?: string | undefined;
16661
16661
  dataset?: string | undefined;
16662
16662
  };
16663
- isLegacy: boolean;
16664
16663
  lessonData: {
16665
16664
  createdAt: string;
16666
16665
  updatedAt: string;
@@ -16782,6 +16781,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
16782
16781
  lessonReleaseDate?: string | null | undefined;
16783
16782
  };
16784
16783
  programmeSlug: string;
16784
+ isLegacy: boolean;
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";
@@ -16819,7 +16819,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
16819
16819
  legacy?: string | undefined;
16820
16820
  dataset?: string | undefined;
16821
16821
  };
16822
- isLegacy: boolean;
16823
16822
  lessonData: {
16824
16823
  createdAt: string;
16825
16824
  updatedAt: string;
@@ -16941,6 +16940,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
16941
16940
  lessonReleaseDate?: string | null | undefined;
16942
16941
  };
16943
16942
  programmeSlug: string;
16943
+ isLegacy: boolean;
16944
16944
  }, unknown>>, "parse" | "safeParse"> & {
16945
16945
  parse: (input: {
16946
16946
  programme_fields: {
@@ -16979,7 +16979,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
16979
16979
  legacy?: string | undefined;
16980
16980
  dataset?: string | undefined;
16981
16981
  };
16982
- is_legacy: boolean;
16983
16982
  lesson_data: {
16984
16983
  created_at: string;
16985
16984
  updated_at: string;
@@ -17089,6 +17088,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17089
17088
  lesson_release_date?: string | null | undefined;
17090
17089
  };
17091
17090
  programme_slug: string;
17091
+ is_legacy: boolean;
17092
17092
  }) => {
17093
17093
  programmeFields: {
17094
17094
  year: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "R" | "All";
@@ -17126,7 +17126,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17126
17126
  legacy?: string | undefined;
17127
17127
  dataset?: string | undefined;
17128
17128
  };
17129
- isLegacy: boolean;
17130
17129
  lessonData: {
17131
17130
  createdAt: string;
17132
17131
  updatedAt: string;
@@ -17248,6 +17247,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17248
17247
  lessonReleaseDate?: string | null | undefined;
17249
17248
  };
17250
17249
  programmeSlug: string;
17250
+ isLegacy: boolean;
17251
17251
  };
17252
17252
  safeParse: (input: {
17253
17253
  programme_fields: {
@@ -17286,7 +17286,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17286
17286
  legacy?: string | undefined;
17287
17287
  dataset?: string | undefined;
17288
17288
  };
17289
- is_legacy: boolean;
17290
17289
  lesson_data: {
17291
17290
  created_at: string;
17292
17291
  updated_at: string;
@@ -17396,6 +17395,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17396
17395
  lesson_release_date?: string | null | undefined;
17397
17396
  };
17398
17397
  programme_slug: string;
17398
+ is_legacy: boolean;
17399
17399
  }) => {
17400
17400
  success: boolean;
17401
17401
  data?: {
@@ -17435,7 +17435,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17435
17435
  legacy?: string | undefined;
17436
17436
  dataset?: string | undefined;
17437
17437
  };
17438
- isLegacy: boolean;
17439
17438
  lessonData: {
17440
17439
  createdAt: string;
17441
17440
  updatedAt: string;
@@ -17557,6 +17556,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17557
17556
  lessonReleaseDate?: string | null | undefined;
17558
17557
  };
17559
17558
  programmeSlug: string;
17559
+ isLegacy: boolean;
17560
17560
  } | undefined;
17561
17561
  error?: any;
17562
17562
  };
@@ -17853,7 +17853,6 @@ declare const programmeListingArraySchema: z.ZodArray<z.ZodObject<{
17853
17853
  legacy: z.ZodOptional<z.ZodString>;
17854
17854
  dataset: z.ZodOptional<z.ZodString>;
17855
17855
  }, z.core.$strip>;
17856
- is_legacy: z.ZodBoolean;
17857
17856
  lesson_data: z.ZodObject<{
17858
17857
  created_at: z.ZodString;
17859
17858
  updated_at: z.ZodString;
@@ -17968,6 +17967,7 @@ declare const programmeListingArraySchema: z.ZodArray<z.ZodObject<{
17968
17967
  lesson_release_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17969
17968
  }, z.core.$strip>;
17970
17969
  programme_slug: z.ZodString;
17970
+ is_legacy: z.ZodBoolean;
17971
17971
  }, z.core.$strip>>;
17972
17972
  type ProgrammeListingArray = z.infer<typeof programmeListingArraySchema>;
17973
17973
  declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
@@ -18007,7 +18007,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18007
18007
  legacy?: string | undefined;
18008
18008
  dataset?: string | undefined;
18009
18009
  };
18010
- isLegacy: boolean;
18011
18010
  lessonData: {
18012
18011
  createdAt: string;
18013
18012
  updatedAt: string;
@@ -18129,6 +18128,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18129
18128
  lessonReleaseDate?: string | null | undefined;
18130
18129
  };
18131
18130
  programmeSlug: string;
18131
+ isLegacy: boolean;
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";
@@ -18166,7 +18166,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18166
18166
  legacy?: string | undefined;
18167
18167
  dataset?: string | undefined;
18168
18168
  };
18169
- isLegacy: boolean;
18170
18169
  lessonData: {
18171
18170
  createdAt: string;
18172
18171
  updatedAt: string;
@@ -18288,6 +18287,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18288
18287
  lessonReleaseDate?: string | null | undefined;
18289
18288
  };
18290
18289
  programmeSlug: string;
18290
+ isLegacy: boolean;
18291
18291
  }[], unknown>>, "parse" | "safeParse"> & {
18292
18292
  parse: (input: {
18293
18293
  programme_fields: {
@@ -18326,7 +18326,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18326
18326
  legacy?: string | undefined;
18327
18327
  dataset?: string | undefined;
18328
18328
  };
18329
- is_legacy: boolean;
18330
18329
  lesson_data: {
18331
18330
  created_at: string;
18332
18331
  updated_at: string;
@@ -18436,6 +18435,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18436
18435
  lesson_release_date?: string | null | undefined;
18437
18436
  };
18438
18437
  programme_slug: string;
18438
+ is_legacy: boolean;
18439
18439
  }[]) => {
18440
18440
  programmeFields: {
18441
18441
  year: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "R" | "All";
@@ -18473,7 +18473,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18473
18473
  legacy?: string | undefined;
18474
18474
  dataset?: string | undefined;
18475
18475
  };
18476
- isLegacy: boolean;
18477
18476
  lessonData: {
18478
18477
  createdAt: string;
18479
18478
  updatedAt: string;
@@ -18595,6 +18594,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18595
18594
  lessonReleaseDate?: string | null | undefined;
18596
18595
  };
18597
18596
  programmeSlug: string;
18597
+ isLegacy: boolean;
18598
18598
  }[];
18599
18599
  safeParse: (input: {
18600
18600
  programme_fields: {
@@ -18633,7 +18633,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18633
18633
  legacy?: string | undefined;
18634
18634
  dataset?: string | undefined;
18635
18635
  };
18636
- is_legacy: boolean;
18637
18636
  lesson_data: {
18638
18637
  created_at: string;
18639
18638
  updated_at: string;
@@ -18743,6 +18742,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18743
18742
  lesson_release_date?: string | null | undefined;
18744
18743
  };
18745
18744
  programme_slug: string;
18745
+ is_legacy: boolean;
18746
18746
  }[]) => {
18747
18747
  success: boolean;
18748
18748
  data?: {
@@ -18782,7 +18782,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18782
18782
  legacy?: string | undefined;
18783
18783
  dataset?: string | undefined;
18784
18784
  };
18785
- isLegacy: boolean;
18786
18785
  lessonData: {
18787
18786
  createdAt: string;
18788
18787
  updatedAt: string;
@@ -18904,6 +18903,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18904
18903
  lessonReleaseDate?: string | null | undefined;
18905
18904
  };
18906
18905
  programmeSlug: string;
18906
+ isLegacy: boolean;
18907
18907
  }[] | undefined;
18908
18908
  error?: any;
18909
18909
  };
@@ -23033,8 +23033,6 @@ declare const syntheticUnitvariantLessonsByKsSchema: z.ZodObject<{
23033
23033
  legacy: z.ZodOptional<z.ZodString>;
23034
23034
  dataset: z.ZodOptional<z.ZodString>;
23035
23035
  }, z.core.$strip>;
23036
- lesson_slug: z.ZodString;
23037
- is_legacy: z.ZodBoolean;
23038
23036
  actions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23039
23037
  exclusions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
23040
23038
  pupilSubjectListingQuery: "pupilSubjectListingQuery";
@@ -23578,8 +23576,10 @@ declare const syntheticUnitvariantLessonsByKsSchema: z.ZodObject<{
23578
23576
  }>;
23579
23577
  expiration_date: z.ZodNullable<z.ZodString>;
23580
23578
  }, z.core.$strip>;
23579
+ lesson_slug: z.ZodString;
23581
23580
  unit_slug: z.ZodString;
23582
23581
  programme_slug: z.ZodString;
23582
+ is_legacy: z.ZodBoolean;
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;
@@ -23633,8 +23633,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
23633
23633
  legacy?: string | undefined;
23634
23634
  dataset?: string | undefined;
23635
23635
  };
23636
- lessonSlug: string;
23637
- isLegacy: boolean;
23638
23636
  lessonData: {
23639
23637
  createdAt: string;
23640
23638
  updatedAt: string;
@@ -23771,8 +23769,10 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
23771
23769
  } | null | undefined;
23772
23770
  priorKnowledgeRequirements?: string[] | null | undefined;
23773
23771
  };
23772
+ lessonSlug: string;
23774
23773
  unitSlug: string;
23775
23774
  programmeSlug: string;
23775
+ isLegacy: boolean;
23776
23776
  nullUnitvariantId: number;
23777
23777
  features?: {
23778
23778
  pePractical?: boolean | undefined;
@@ -23889,8 +23889,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
23889
23889
  legacy?: string | undefined;
23890
23890
  dataset?: string | undefined;
23891
23891
  };
23892
- lessonSlug: string;
23893
- isLegacy: boolean;
23894
23892
  lessonData: {
23895
23893
  createdAt: string;
23896
23894
  updatedAt: string;
@@ -24027,8 +24025,10 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24027
24025
  } | null | undefined;
24028
24026
  priorKnowledgeRequirements?: string[] | null | undefined;
24029
24027
  };
24028
+ lessonSlug: string;
24030
24029
  unitSlug: string;
24031
24030
  programmeSlug: string;
24031
+ isLegacy: boolean;
24032
24032
  nullUnitvariantId: number;
24033
24033
  features?: {
24034
24034
  pePractical?: boolean | undefined;
@@ -24146,8 +24146,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24146
24146
  legacy?: string | undefined;
24147
24147
  dataset?: string | undefined;
24148
24148
  };
24149
- lesson_slug: string;
24150
- is_legacy: boolean;
24151
24149
  lesson_data: {
24152
24150
  created_at: string;
24153
24151
  updated_at: string;
@@ -24270,8 +24268,10 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24270
24268
  deprecated_fields?: Record<string, unknown> | null | undefined;
24271
24269
  prior_knowledge_requirements?: string[] | null | undefined;
24272
24270
  };
24271
+ lesson_slug: string;
24273
24272
  unit_slug: string;
24274
24273
  programme_slug: string;
24274
+ is_legacy: boolean;
24275
24275
  null_unitvariant_id: number;
24276
24276
  features?: {
24277
24277
  pe_practical?: boolean | undefined;
@@ -24388,8 +24388,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24388
24388
  legacy?: string | undefined;
24389
24389
  dataset?: string | undefined;
24390
24390
  };
24391
- lessonSlug: string;
24392
- isLegacy: boolean;
24393
24391
  lessonData: {
24394
24392
  createdAt: string;
24395
24393
  updatedAt: string;
@@ -24526,8 +24524,10 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24526
24524
  } | null | undefined;
24527
24525
  priorKnowledgeRequirements?: string[] | null | undefined;
24528
24526
  };
24527
+ lessonSlug: string;
24529
24528
  unitSlug: string;
24530
24529
  programmeSlug: string;
24530
+ isLegacy: boolean;
24531
24531
  nullUnitvariantId: number;
24532
24532
  features?: {
24533
24533
  pePractical?: boolean | undefined;
@@ -24645,8 +24645,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24645
24645
  legacy?: string | undefined;
24646
24646
  dataset?: string | undefined;
24647
24647
  };
24648
- lesson_slug: string;
24649
- is_legacy: boolean;
24650
24648
  lesson_data: {
24651
24649
  created_at: string;
24652
24650
  updated_at: string;
@@ -24769,8 +24767,10 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24769
24767
  deprecated_fields?: Record<string, unknown> | null | undefined;
24770
24768
  prior_knowledge_requirements?: string[] | null | undefined;
24771
24769
  };
24770
+ lesson_slug: string;
24772
24771
  unit_slug: string;
24773
24772
  programme_slug: string;
24773
+ is_legacy: boolean;
24774
24774
  null_unitvariant_id: number;
24775
24775
  features?: {
24776
24776
  pe_practical?: boolean | undefined;
@@ -24889,8 +24889,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24889
24889
  legacy?: string | undefined;
24890
24890
  dataset?: string | undefined;
24891
24891
  };
24892
- lessonSlug: string;
24893
- isLegacy: boolean;
24894
24892
  lessonData: {
24895
24893
  createdAt: string;
24896
24894
  updatedAt: string;
@@ -25027,8 +25025,10 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
25027
25025
  } | null | undefined;
25028
25026
  priorKnowledgeRequirements?: string[] | null | undefined;
25029
25027
  };
25028
+ lessonSlug: string;
25030
25029
  unitSlug: string;
25031
25030
  programmeSlug: string;
25031
+ isLegacy: boolean;
25032
25032
  nullUnitvariantId: number;
25033
25033
  features?: {
25034
25034
  pePractical?: boolean | undefined;