@oaknational/oak-curriculum-schema 2.4.0 → 2.5.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 +65 -65
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oaknational/oak-curriculum-schema",
3
- "version": "2.4.0",
3
+ "version": "2.5.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
@@ -24,11 +24,11 @@ declare const videoIngestStatesSchema: z.ZodEnum<{
24
24
  type VideoIngestStates = z.infer<typeof videoIngestStatesSchema>;
25
25
 
26
26
  declare const assetTypeSchema: z.ZodEnum<{
27
- lesson_guide: "lesson_guide";
28
- downloadable_file: "downloadable_file";
29
27
  slidedeck: "slidedeck";
30
28
  worksheet: "worksheet";
31
29
  worksheet_answers: "worksheet_answers";
30
+ lesson_guide: "lesson_guide";
31
+ downloadable_file: "downloadable_file";
32
32
  supplementary_resource: "supplementary_resource";
33
33
  }>;
34
34
  type AssetTypeType = z.infer<typeof assetTypeSchema>;
@@ -73,11 +73,11 @@ declare const assetSchema: z.ZodObject<{
73
73
  title: z.ZodString;
74
74
  description: z.ZodString;
75
75
  asset_type: z.ZodEnum<{
76
- lesson_guide: "lesson_guide";
77
- downloadable_file: "downloadable_file";
78
76
  slidedeck: "slidedeck";
79
77
  worksheet: "worksheet";
80
78
  worksheet_answers: "worksheet_answers";
79
+ lesson_guide: "lesson_guide";
80
+ downloadable_file: "downloadable_file";
81
81
  supplementary_resource: "supplementary_resource";
82
82
  }>;
83
83
  url: z.ZodURL;
@@ -112,11 +112,11 @@ declare const assetNewSchema: z.ZodObject<{
112
112
  asset_id: z.ZodNumber;
113
113
  asset_uid: z.ZodString;
114
114
  asset_type: z.ZodEnum<{
115
- lesson_guide: "lesson_guide";
116
- downloadable_file: "downloadable_file";
117
115
  slidedeck: "slidedeck";
118
116
  worksheet: "worksheet";
119
117
  worksheet_answers: "worksheet_answers";
118
+ lesson_guide: "lesson_guide";
119
+ downloadable_file: "downloadable_file";
120
120
  supplementary_resource: "supplementary_resource";
121
121
  }>;
122
122
  asset_object: z.ZodObject<{
@@ -156,11 +156,11 @@ declare const assetPublishedSchema: z.ZodObject<{
156
156
  title: z.ZodString;
157
157
  description: z.ZodString;
158
158
  asset_type: z.ZodEnum<{
159
- lesson_guide: "lesson_guide";
160
- downloadable_file: "downloadable_file";
161
159
  slidedeck: "slidedeck";
162
160
  worksheet: "worksheet";
163
161
  worksheet_answers: "worksheet_answers";
162
+ lesson_guide: "lesson_guide";
163
+ downloadable_file: "downloadable_file";
164
164
  supplementary_resource: "supplementary_resource";
165
165
  }>;
166
166
  url: z.ZodURL;
@@ -252,7 +252,7 @@ declare const assetSchemaCamel: Omit<z.ZodType<{
252
252
  _state: "published" | "new" | "migration";
253
253
  title: string;
254
254
  description: string;
255
- assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "supplementary_resource";
255
+ assetType: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
256
256
  url: string;
257
257
  assetObject: {
258
258
  pdf?: {
@@ -285,7 +285,7 @@ declare const assetSchemaCamel: Omit<z.ZodType<{
285
285
  _state: "published" | "new" | "migration";
286
286
  title: string;
287
287
  description: string;
288
- assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "supplementary_resource";
288
+ assetType: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
289
289
  url: string;
290
290
  assetObject: {
291
291
  pdf?: {
@@ -319,7 +319,7 @@ declare const assetSchemaCamel: Omit<z.ZodType<{
319
319
  _state: "published" | "new" | "migration";
320
320
  title: string;
321
321
  description: string;
322
- asset_type: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "supplementary_resource";
322
+ asset_type: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
323
323
  url: string;
324
324
  asset_object: {
325
325
  pdf?: {
@@ -352,7 +352,7 @@ declare const assetSchemaCamel: Omit<z.ZodType<{
352
352
  _state: "published" | "new" | "migration";
353
353
  title: string;
354
354
  description: string;
355
- assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "supplementary_resource";
355
+ assetType: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
356
356
  url: string;
357
357
  assetObject: {
358
358
  pdf?: {
@@ -386,7 +386,7 @@ declare const assetSchemaCamel: Omit<z.ZodType<{
386
386
  _state: "published" | "new" | "migration";
387
387
  title: string;
388
388
  description: string;
389
- asset_type: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "supplementary_resource";
389
+ asset_type: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
390
390
  url: string;
391
391
  asset_object: {
392
392
  pdf?: {
@@ -421,7 +421,7 @@ declare const assetSchemaCamel: Omit<z.ZodType<{
421
421
  _state: "published" | "new" | "migration";
422
422
  title: string;
423
423
  description: string;
424
- assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "supplementary_resource";
424
+ assetType: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
425
425
  url: string;
426
426
  assetObject: {
427
427
  pdf?: {
@@ -456,7 +456,7 @@ declare const assetNewSchemaCamel: Omit<z.ZodType<{
456
456
  updatedAt: string;
457
457
  assetId: number;
458
458
  assetUid: string;
459
- assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "supplementary_resource";
459
+ assetType: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
460
460
  assetObject: {
461
461
  pdf?: {
462
462
  bucketName: string | null;
@@ -489,7 +489,7 @@ declare const assetNewSchemaCamel: Omit<z.ZodType<{
489
489
  updatedAt: string;
490
490
  assetId: number;
491
491
  assetUid: string;
492
- assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "supplementary_resource";
492
+ assetType: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
493
493
  assetObject: {
494
494
  pdf?: {
495
495
  bucketName: string | null;
@@ -523,7 +523,7 @@ declare const assetNewSchemaCamel: Omit<z.ZodType<{
523
523
  updated_at: string;
524
524
  asset_id: number;
525
525
  asset_uid: string;
526
- asset_type: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "supplementary_resource";
526
+ asset_type: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
527
527
  asset_object: {
528
528
  pdf?: {
529
529
  bucket_name: string | null;
@@ -556,7 +556,7 @@ declare const assetNewSchemaCamel: Omit<z.ZodType<{
556
556
  updatedAt: string;
557
557
  assetId: number;
558
558
  assetUid: string;
559
- assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "supplementary_resource";
559
+ assetType: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
560
560
  assetObject: {
561
561
  pdf?: {
562
562
  bucketName: string | null;
@@ -590,7 +590,7 @@ declare const assetNewSchemaCamel: Omit<z.ZodType<{
590
590
  updated_at: string;
591
591
  asset_id: number;
592
592
  asset_uid: string;
593
- asset_type: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "supplementary_resource";
593
+ asset_type: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
594
594
  asset_object: {
595
595
  pdf?: {
596
596
  bucket_name: string | null;
@@ -625,7 +625,7 @@ declare const assetNewSchemaCamel: Omit<z.ZodType<{
625
625
  updatedAt: string;
626
626
  assetId: number;
627
627
  assetUid: string;
628
- assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "supplementary_resource";
628
+ assetType: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
629
629
  assetObject: {
630
630
  pdf?: {
631
631
  bucketName: string | null;
@@ -665,7 +665,7 @@ declare const assetPublishedSchemaCamel: Omit<z.ZodType<{
665
665
  assetUid: string;
666
666
  title: string;
667
667
  description: string;
668
- assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "supplementary_resource";
668
+ assetType: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
669
669
  url: string;
670
670
  assetObject: {
671
671
  pdf?: {
@@ -698,7 +698,7 @@ declare const assetPublishedSchemaCamel: Omit<z.ZodType<{
698
698
  assetUid: string;
699
699
  title: string;
700
700
  description: string;
701
- assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "supplementary_resource";
701
+ assetType: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
702
702
  url: string;
703
703
  assetObject: {
704
704
  pdf?: {
@@ -732,7 +732,7 @@ declare const assetPublishedSchemaCamel: Omit<z.ZodType<{
732
732
  asset_uid: string;
733
733
  title: string;
734
734
  description: string;
735
- asset_type: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "supplementary_resource";
735
+ asset_type: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
736
736
  url: string;
737
737
  asset_object: {
738
738
  pdf?: {
@@ -765,7 +765,7 @@ declare const assetPublishedSchemaCamel: Omit<z.ZodType<{
765
765
  assetUid: string;
766
766
  title: string;
767
767
  description: string;
768
- assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "supplementary_resource";
768
+ assetType: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
769
769
  url: string;
770
770
  assetObject: {
771
771
  pdf?: {
@@ -799,7 +799,7 @@ declare const assetPublishedSchemaCamel: Omit<z.ZodType<{
799
799
  asset_uid: string;
800
800
  title: string;
801
801
  description: string;
802
- asset_type: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "supplementary_resource";
802
+ asset_type: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
803
803
  url: string;
804
804
  asset_object: {
805
805
  pdf?: {
@@ -834,7 +834,7 @@ declare const assetPublishedSchemaCamel: Omit<z.ZodType<{
834
834
  assetUid: string;
835
835
  title: string;
836
836
  description: string;
837
- assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "supplementary_resource";
837
+ assetType: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
838
838
  url: string;
839
839
  assetObject: {
840
840
  pdf?: {
@@ -1006,11 +1006,11 @@ declare const assetsSchema: z.ZodObject<{
1006
1006
  title: z.ZodString;
1007
1007
  description: z.ZodString;
1008
1008
  asset_type: z.ZodEnum<{
1009
- lesson_guide: "lesson_guide";
1010
- downloadable_file: "downloadable_file";
1011
1009
  slidedeck: "slidedeck";
1012
1010
  worksheet: "worksheet";
1013
1011
  worksheet_answers: "worksheet_answers";
1012
+ lesson_guide: "lesson_guide";
1013
+ downloadable_file: "downloadable_file";
1014
1014
  supplementary_resource: "supplementary_resource";
1015
1015
  }>;
1016
1016
  url: z.ZodURL;
@@ -4014,9 +4014,9 @@ declare const lessonSchema: z.ZodObject<{
4014
4014
  }, z.core.$strip>;
4015
4015
  type Lesson = z.infer<typeof lessonSchema>;
4016
4016
  declare const lessonNewSchema: z.ZodObject<{
4017
- description: z.ZodString;
4018
4017
  lesson_id: z.ZodNumber;
4019
4018
  lesson_uid: z.ZodString;
4019
+ description: z.ZodString;
4020
4020
  phonics_outcome: z.ZodNullable<z.ZodString>;
4021
4021
  key_learning_points: z.ZodNullable<z.ZodArray<z.ZodObject<{
4022
4022
  key_learning_point: z.ZodString;
@@ -4937,9 +4937,9 @@ declare const lessonSchemaCamel: Omit<z.ZodType<{
4937
4937
  };
4938
4938
  type LessonCamel = z.infer<typeof lessonSchemaCamel>;
4939
4939
  declare const lessonNewSchemaCamel: Omit<z.ZodType<{
4940
- description: string;
4941
4940
  lessonId: number;
4942
4941
  lessonUid: string;
4942
+ description: string;
4943
4943
  phonicsOutcome: string | null;
4944
4944
  keyLearningPoints: {
4945
4945
  keyLearningPoint: string;
@@ -5052,9 +5052,9 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
5052
5052
  } | null | undefined;
5053
5053
  lessonReleaseDate?: string | null | undefined;
5054
5054
  }, unknown, z.core.$ZodTypeInternals<{
5055
- description: string;
5056
5055
  lessonId: number;
5057
5056
  lessonUid: string;
5057
+ description: string;
5058
5058
  phonicsOutcome: string | null;
5059
5059
  keyLearningPoints: {
5060
5060
  keyLearningPoint: string;
@@ -5168,9 +5168,9 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
5168
5168
  lessonReleaseDate?: string | null | undefined;
5169
5169
  }, unknown>>, "parse" | "safeParse"> & {
5170
5170
  parse: (input: {
5171
- description: string;
5172
5171
  lesson_id: number;
5173
5172
  lesson_uid: string;
5173
+ description: string;
5174
5174
  phonics_outcome: string | null;
5175
5175
  key_learning_points: {
5176
5176
  key_learning_point: string;
@@ -5271,9 +5271,9 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
5271
5271
  }[]> | null | undefined;
5272
5272
  lesson_release_date?: string | null | undefined;
5273
5273
  }) => {
5274
- description: string;
5275
5274
  lessonId: number;
5276
5275
  lessonUid: string;
5276
+ description: string;
5277
5277
  phonicsOutcome: string | null;
5278
5278
  keyLearningPoints: {
5279
5279
  keyLearningPoint: string;
@@ -5387,9 +5387,9 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
5387
5387
  lessonReleaseDate?: string | null | undefined;
5388
5388
  };
5389
5389
  safeParse: (input: {
5390
- description: string;
5391
5390
  lesson_id: number;
5392
5391
  lesson_uid: string;
5392
+ description: string;
5393
5393
  phonics_outcome: string | null;
5394
5394
  key_learning_points: {
5395
5395
  key_learning_point: string;
@@ -5492,9 +5492,9 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
5492
5492
  }) => {
5493
5493
  success: boolean;
5494
5494
  data?: {
5495
- description: string;
5496
5495
  lessonId: number;
5497
5496
  lessonUid: string;
5497
+ description: string;
5498
5498
  phonicsOutcome: string | null;
5499
5499
  keyLearningPoints: {
5500
5500
  keyLearningPoint: string;
@@ -12632,7 +12632,6 @@ declare const actionsFixtureCamel: ({ overrides, }?: {
12632
12632
  }) => ActionsCamel;
12633
12633
 
12634
12634
  declare const lessonContentSchema: z.ZodObject<{
12635
- _state: z.ZodUnion<readonly [z.ZodLiteral<"published">, z.ZodLiteral<"new">, z.ZodLiteral<"migration">]>;
12636
12635
  lesson_id: z.ZodNumber;
12637
12636
  phonics_outcome: z.ZodNullable<z.ZodString>;
12638
12637
  key_learning_points: z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -12675,6 +12674,7 @@ declare const lessonContentSchema: z.ZodObject<{
12675
12674
  transcriptSentences: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12676
12675
  }, z.core.$strip>>>>>;
12677
12676
  deprecated_fields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12677
+ _state: z.ZodUnion<readonly [z.ZodLiteral<"published">, z.ZodLiteral<"new">, z.ZodLiteral<"migration">]>;
12678
12678
  lesson_release_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12679
12679
  lesson_slug: z.ZodString;
12680
12680
  lesson_title: z.ZodNullable<z.ZodString>;
@@ -13043,7 +13043,6 @@ declare const lessonContentSchema: z.ZodObject<{
13043
13043
  }, z.core.$strip>;
13044
13044
  type LessonContent = z.infer<typeof lessonContentSchema>;
13045
13045
  declare const lessonContentSchemaCamel: Omit<z.ZodType<{
13046
- _state: "published" | "new" | "migration";
13047
13046
  lessonId: number;
13048
13047
  phonicsOutcome: string | null;
13049
13048
  keyLearningPoints: {
@@ -13057,6 +13056,7 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
13057
13056
  deprecatedFields: {
13058
13057
  [x: string]: unknown;
13059
13058
  } | null;
13059
+ _state: "published" | "new" | "migration";
13060
13060
  lessonSlug: string;
13061
13061
  lessonTitle: string | null;
13062
13062
  contentGuidance: {
@@ -13414,7 +13414,6 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
13414
13414
  };
13415
13415
  }[] | null | undefined;
13416
13416
  }, unknown, z.core.$ZodTypeInternals<{
13417
- _state: "published" | "new" | "migration";
13418
13417
  lessonId: number;
13419
13418
  phonicsOutcome: string | null;
13420
13419
  keyLearningPoints: {
@@ -13428,6 +13427,7 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
13428
13427
  deprecatedFields: {
13429
13428
  [x: string]: unknown;
13430
13429
  } | null;
13430
+ _state: "published" | "new" | "migration";
13431
13431
  lessonSlug: string;
13432
13432
  lessonTitle: string | null;
13433
13433
  contentGuidance: {
@@ -13786,7 +13786,6 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
13786
13786
  }[] | null | undefined;
13787
13787
  }, unknown>>, "parse" | "safeParse"> & {
13788
13788
  parse: (input: {
13789
- _state: "published" | "new" | "migration";
13790
13789
  lesson_id: number;
13791
13790
  phonics_outcome: string | null;
13792
13791
  key_learning_points: {
@@ -13798,6 +13797,7 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
13798
13797
  supervision_level: string | null;
13799
13798
  video_id: number | null;
13800
13799
  deprecated_fields: Record<string, unknown> | null;
13800
+ _state: "published" | "new" | "migration";
13801
13801
  lesson_slug: string;
13802
13802
  lesson_title: string | null;
13803
13803
  content_guidance: {
@@ -14153,7 +14153,6 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
14153
14153
  };
14154
14154
  }[] | null | undefined;
14155
14155
  }) => {
14156
- _state: "published" | "new" | "migration";
14157
14156
  lessonId: number;
14158
14157
  phonicsOutcome: string | null;
14159
14158
  keyLearningPoints: {
@@ -14167,6 +14166,7 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
14167
14166
  deprecatedFields: {
14168
14167
  [x: string]: unknown;
14169
14168
  } | null;
14169
+ _state: "published" | "new" | "migration";
14170
14170
  lessonSlug: string;
14171
14171
  lessonTitle: string | null;
14172
14172
  contentGuidance: {
@@ -14525,7 +14525,6 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
14525
14525
  }[] | null | undefined;
14526
14526
  };
14527
14527
  safeParse: (input: {
14528
- _state: "published" | "new" | "migration";
14529
14528
  lesson_id: number;
14530
14529
  phonics_outcome: string | null;
14531
14530
  key_learning_points: {
@@ -14537,6 +14536,7 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
14537
14536
  supervision_level: string | null;
14538
14537
  video_id: number | null;
14539
14538
  deprecated_fields: Record<string, unknown> | null;
14539
+ _state: "published" | "new" | "migration";
14540
14540
  lesson_slug: string;
14541
14541
  lesson_title: string | null;
14542
14542
  content_guidance: {
@@ -14894,7 +14894,6 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
14894
14894
  }) => {
14895
14895
  success: boolean;
14896
14896
  data?: {
14897
- _state: "published" | "new" | "migration";
14898
14897
  lessonId: number;
14899
14898
  phonicsOutcome: string | null;
14900
14899
  keyLearningPoints: {
@@ -14908,6 +14907,7 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
14908
14907
  deprecatedFields: {
14909
14908
  [x: string]: unknown;
14910
14909
  } | null;
14910
+ _state: "published" | "new" | "migration";
14911
14911
  lessonSlug: string;
14912
14912
  lessonTitle: string | null;
14913
14913
  contentGuidance: {
@@ -16493,6 +16493,7 @@ declare const programmeListingSchema: z.ZodObject<{
16493
16493
  dataset: z.ZodOptional<z.ZodString>;
16494
16494
  }, z.core.$strip>;
16495
16495
  is_legacy: z.ZodBoolean;
16496
+ programme_slug: z.ZodString;
16496
16497
  lesson_data: z.ZodObject<{
16497
16498
  created_at: z.ZodString;
16498
16499
  updated_at: z.ZodString;
@@ -16606,7 +16607,6 @@ declare const programmeListingSchema: z.ZodObject<{
16606
16607
  }, z.core.$strip>>>;
16607
16608
  lesson_release_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16608
16609
  }, z.core.$strip>;
16609
- programme_slug: z.ZodString;
16610
16610
  }, z.core.$strip>;
16611
16611
  type ProgrammeListing = z.infer<typeof programmeListingSchema>;
16612
16612
  declare const programmeListingSchemaCamel: Omit<z.ZodType<{
@@ -16647,6 +16647,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
16647
16647
  dataset?: string | undefined;
16648
16648
  };
16649
16649
  isLegacy: boolean;
16650
+ programmeSlug: string;
16650
16651
  lessonData: {
16651
16652
  createdAt: string;
16652
16653
  updatedAt: string;
@@ -16767,7 +16768,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
16767
16768
  } | null | undefined;
16768
16769
  lessonReleaseDate?: string | null | undefined;
16769
16770
  };
16770
- programmeSlug: string;
16771
16771
  }, unknown, z.core.$ZodTypeInternals<{
16772
16772
  programmeFields: {
16773
16773
  year: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "R" | "All";
@@ -16806,6 +16806,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
16806
16806
  dataset?: string | undefined;
16807
16807
  };
16808
16808
  isLegacy: boolean;
16809
+ programmeSlug: string;
16809
16810
  lessonData: {
16810
16811
  createdAt: string;
16811
16812
  updatedAt: string;
@@ -16926,7 +16927,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
16926
16927
  } | null | undefined;
16927
16928
  lessonReleaseDate?: string | null | undefined;
16928
16929
  };
16929
- programmeSlug: string;
16930
16930
  }, unknown>>, "parse" | "safeParse"> & {
16931
16931
  parse: (input: {
16932
16932
  programme_fields: {
@@ -16966,6 +16966,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
16966
16966
  dataset?: string | undefined;
16967
16967
  };
16968
16968
  is_legacy: boolean;
16969
+ programme_slug: string;
16969
16970
  lesson_data: {
16970
16971
  created_at: string;
16971
16972
  updated_at: string;
@@ -17074,7 +17075,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17074
17075
  }[]> | null | undefined;
17075
17076
  lesson_release_date?: string | null | undefined;
17076
17077
  };
17077
- programme_slug: string;
17078
17078
  }) => {
17079
17079
  programmeFields: {
17080
17080
  year: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "R" | "All";
@@ -17113,6 +17113,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17113
17113
  dataset?: string | undefined;
17114
17114
  };
17115
17115
  isLegacy: boolean;
17116
+ programmeSlug: string;
17116
17117
  lessonData: {
17117
17118
  createdAt: string;
17118
17119
  updatedAt: string;
@@ -17233,7 +17234,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17233
17234
  } | null | undefined;
17234
17235
  lessonReleaseDate?: string | null | undefined;
17235
17236
  };
17236
- programmeSlug: string;
17237
17237
  };
17238
17238
  safeParse: (input: {
17239
17239
  programme_fields: {
@@ -17273,6 +17273,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17273
17273
  dataset?: string | undefined;
17274
17274
  };
17275
17275
  is_legacy: boolean;
17276
+ programme_slug: string;
17276
17277
  lesson_data: {
17277
17278
  created_at: string;
17278
17279
  updated_at: string;
@@ -17381,7 +17382,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17381
17382
  }[]> | null | undefined;
17382
17383
  lesson_release_date?: string | null | undefined;
17383
17384
  };
17384
- programme_slug: string;
17385
17385
  }) => {
17386
17386
  success: boolean;
17387
17387
  data?: {
@@ -17422,6 +17422,7 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17422
17422
  dataset?: string | undefined;
17423
17423
  };
17424
17424
  isLegacy: boolean;
17425
+ programmeSlug: string;
17425
17426
  lessonData: {
17426
17427
  createdAt: string;
17427
17428
  updatedAt: string;
@@ -17542,7 +17543,6 @@ declare const programmeListingSchemaCamel: Omit<z.ZodType<{
17542
17543
  } | null | undefined;
17543
17544
  lessonReleaseDate?: string | null | undefined;
17544
17545
  };
17545
- programmeSlug: string;
17546
17546
  } | undefined;
17547
17547
  error?: any;
17548
17548
  };
@@ -17840,6 +17840,7 @@ declare const programmeListingArraySchema: z.ZodArray<z.ZodObject<{
17840
17840
  dataset: z.ZodOptional<z.ZodString>;
17841
17841
  }, z.core.$strip>;
17842
17842
  is_legacy: z.ZodBoolean;
17843
+ programme_slug: z.ZodString;
17843
17844
  lesson_data: z.ZodObject<{
17844
17845
  created_at: z.ZodString;
17845
17846
  updated_at: z.ZodString;
@@ -17953,7 +17954,6 @@ declare const programmeListingArraySchema: z.ZodArray<z.ZodObject<{
17953
17954
  }, z.core.$strip>>>;
17954
17955
  lesson_release_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17955
17956
  }, z.core.$strip>;
17956
- programme_slug: z.ZodString;
17957
17957
  }, z.core.$strip>>;
17958
17958
  type ProgrammeListingArray = z.infer<typeof programmeListingArraySchema>;
17959
17959
  declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
@@ -17994,6 +17994,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
17994
17994
  dataset?: string | undefined;
17995
17995
  };
17996
17996
  isLegacy: boolean;
17997
+ programmeSlug: string;
17997
17998
  lessonData: {
17998
17999
  createdAt: string;
17999
18000
  updatedAt: string;
@@ -18114,7 +18115,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18114
18115
  } | null | undefined;
18115
18116
  lessonReleaseDate?: string | null | undefined;
18116
18117
  };
18117
- programmeSlug: string;
18118
18118
  }[], unknown, z.core.$ZodTypeInternals<{
18119
18119
  programmeFields: {
18120
18120
  year: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "R" | "All";
@@ -18153,6 +18153,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18153
18153
  dataset?: string | undefined;
18154
18154
  };
18155
18155
  isLegacy: boolean;
18156
+ programmeSlug: string;
18156
18157
  lessonData: {
18157
18158
  createdAt: string;
18158
18159
  updatedAt: string;
@@ -18273,7 +18274,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18273
18274
  } | null | undefined;
18274
18275
  lessonReleaseDate?: string | null | undefined;
18275
18276
  };
18276
- programmeSlug: string;
18277
18277
  }[], unknown>>, "parse" | "safeParse"> & {
18278
18278
  parse: (input: {
18279
18279
  programme_fields: {
@@ -18313,6 +18313,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18313
18313
  dataset?: string | undefined;
18314
18314
  };
18315
18315
  is_legacy: boolean;
18316
+ programme_slug: string;
18316
18317
  lesson_data: {
18317
18318
  created_at: string;
18318
18319
  updated_at: string;
@@ -18421,7 +18422,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18421
18422
  }[]> | null | undefined;
18422
18423
  lesson_release_date?: string | null | undefined;
18423
18424
  };
18424
- programme_slug: string;
18425
18425
  }[]) => {
18426
18426
  programmeFields: {
18427
18427
  year: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "R" | "All";
@@ -18460,6 +18460,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18460
18460
  dataset?: string | undefined;
18461
18461
  };
18462
18462
  isLegacy: boolean;
18463
+ programmeSlug: string;
18463
18464
  lessonData: {
18464
18465
  createdAt: string;
18465
18466
  updatedAt: string;
@@ -18580,7 +18581,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18580
18581
  } | null | undefined;
18581
18582
  lessonReleaseDate?: string | null | undefined;
18582
18583
  };
18583
- programmeSlug: string;
18584
18584
  }[];
18585
18585
  safeParse: (input: {
18586
18586
  programme_fields: {
@@ -18620,6 +18620,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18620
18620
  dataset?: string | undefined;
18621
18621
  };
18622
18622
  is_legacy: boolean;
18623
+ programme_slug: string;
18623
18624
  lesson_data: {
18624
18625
  created_at: string;
18625
18626
  updated_at: string;
@@ -18728,7 +18729,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18728
18729
  }[]> | null | undefined;
18729
18730
  lesson_release_date?: string | null | undefined;
18730
18731
  };
18731
- programme_slug: string;
18732
18732
  }[]) => {
18733
18733
  success: boolean;
18734
18734
  data?: {
@@ -18769,6 +18769,7 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18769
18769
  dataset?: string | undefined;
18770
18770
  };
18771
18771
  isLegacy: boolean;
18772
+ programmeSlug: string;
18772
18773
  lessonData: {
18773
18774
  createdAt: string;
18774
18775
  updatedAt: string;
@@ -18889,7 +18890,6 @@ declare const programmeListingArraySchemaCamel: Omit<z.ZodType<{
18889
18890
  } | null | undefined;
18890
18891
  lessonReleaseDate?: string | null | undefined;
18891
18892
  };
18892
- programmeSlug: string;
18893
18893
  }[] | undefined;
18894
18894
  error?: any;
18895
18895
  };
@@ -23019,8 +23019,6 @@ declare const syntheticUnitvariantLessonsByKsSchema: z.ZodObject<{
23019
23019
  legacy: z.ZodOptional<z.ZodString>;
23020
23020
  dataset: z.ZodOptional<z.ZodString>;
23021
23021
  }, z.core.$strip>;
23022
- lesson_slug: z.ZodString;
23023
- is_legacy: z.ZodBoolean;
23024
23022
  actions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23025
23023
  exclusions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
23026
23024
  pupilSubjectListingQuery: "pupilSubjectListingQuery";
@@ -23432,6 +23430,9 @@ declare const syntheticUnitvariantLessonsByKsSchema: z.ZodObject<{
23432
23430
  group_by_subjectcategory: z.ZodBoolean;
23433
23431
  }, z.core.$strip>>;
23434
23432
  }, z.core.$strip>>>;
23433
+ lesson_slug: z.ZodString;
23434
+ is_legacy: z.ZodBoolean;
23435
+ programme_slug: z.ZodString;
23435
23436
  lesson_data: z.ZodObject<{
23436
23437
  created_at: z.ZodString;
23437
23438
  updated_at: z.ZodString;
@@ -23565,7 +23566,6 @@ declare const syntheticUnitvariantLessonsByKsSchema: z.ZodObject<{
23565
23566
  expiration_date: z.ZodNullable<z.ZodString>;
23566
23567
  }, z.core.$strip>;
23567
23568
  unit_slug: z.ZodString;
23568
- programme_slug: z.ZodString;
23569
23569
  null_unitvariant_id: z.ZodNumber;
23570
23570
  static_lesson_list: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23571
23571
  slug: z.ZodString;
@@ -23621,6 +23621,7 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
23621
23621
  };
23622
23622
  lessonSlug: string;
23623
23623
  isLegacy: boolean;
23624
+ programmeSlug: string;
23624
23625
  lessonData: {
23625
23626
  createdAt: string;
23626
23627
  updatedAt: string;
@@ -23758,7 +23759,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
23758
23759
  priorKnowledgeRequirements?: string[] | null | undefined;
23759
23760
  };
23760
23761
  unitSlug: string;
23761
- programmeSlug: string;
23762
23762
  nullUnitvariantId: number;
23763
23763
  features?: {
23764
23764
  pePractical?: boolean | undefined;
@@ -23877,6 +23877,7 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
23877
23877
  };
23878
23878
  lessonSlug: string;
23879
23879
  isLegacy: boolean;
23880
+ programmeSlug: string;
23880
23881
  lessonData: {
23881
23882
  createdAt: string;
23882
23883
  updatedAt: string;
@@ -24014,7 +24015,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24014
24015
  priorKnowledgeRequirements?: string[] | null | undefined;
24015
24016
  };
24016
24017
  unitSlug: string;
24017
- programmeSlug: string;
24018
24018
  nullUnitvariantId: number;
24019
24019
  features?: {
24020
24020
  pePractical?: boolean | undefined;
@@ -24134,6 +24134,7 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24134
24134
  };
24135
24135
  lesson_slug: string;
24136
24136
  is_legacy: boolean;
24137
+ programme_slug: string;
24137
24138
  lesson_data: {
24138
24139
  created_at: string;
24139
24140
  updated_at: string;
@@ -24257,7 +24258,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24257
24258
  prior_knowledge_requirements?: string[] | null | undefined;
24258
24259
  };
24259
24260
  unit_slug: string;
24260
- programme_slug: string;
24261
24261
  null_unitvariant_id: number;
24262
24262
  features?: {
24263
24263
  pe_practical?: boolean | undefined;
@@ -24376,6 +24376,7 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24376
24376
  };
24377
24377
  lessonSlug: string;
24378
24378
  isLegacy: boolean;
24379
+ programmeSlug: string;
24379
24380
  lessonData: {
24380
24381
  createdAt: string;
24381
24382
  updatedAt: string;
@@ -24513,7 +24514,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24513
24514
  priorKnowledgeRequirements?: string[] | null | undefined;
24514
24515
  };
24515
24516
  unitSlug: string;
24516
- programmeSlug: string;
24517
24517
  nullUnitvariantId: number;
24518
24518
  features?: {
24519
24519
  pePractical?: boolean | undefined;
@@ -24633,6 +24633,7 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24633
24633
  };
24634
24634
  lesson_slug: string;
24635
24635
  is_legacy: boolean;
24636
+ programme_slug: string;
24636
24637
  lesson_data: {
24637
24638
  created_at: string;
24638
24639
  updated_at: string;
@@ -24756,7 +24757,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24756
24757
  prior_knowledge_requirements?: string[] | null | undefined;
24757
24758
  };
24758
24759
  unit_slug: string;
24759
- programme_slug: string;
24760
24760
  null_unitvariant_id: number;
24761
24761
  features?: {
24762
24762
  pe_practical?: boolean | undefined;
@@ -24877,6 +24877,7 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
24877
24877
  };
24878
24878
  lessonSlug: string;
24879
24879
  isLegacy: boolean;
24880
+ programmeSlug: string;
24880
24881
  lessonData: {
24881
24882
  createdAt: string;
24882
24883
  updatedAt: string;
@@ -25014,7 +25015,6 @@ declare const syntheticUnitvariantLessonsByKsSchemaCamel: Omit<z.ZodType<{
25014
25015
  priorKnowledgeRequirements?: string[] | null | undefined;
25015
25016
  };
25016
25017
  unitSlug: string;
25017
- programmeSlug: string;
25018
25018
  nullUnitvariantId: number;
25019
25019
  features?: {
25020
25020
  pePractical?: boolean | undefined;