@oaknational/oak-curriculum-schema 2.3.0-beta.6 → 2.3.0-beta.8

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 +63 -63
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oaknational/oak-curriculum-schema",
3
- "version": "2.3.0-beta.6",
3
+ "version": "2.3.0-beta.8",
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";
27
29
  slidedeck: "slidedeck";
28
30
  worksheet: "worksheet";
29
31
  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";
76
78
  slidedeck: "slidedeck";
77
79
  worksheet: "worksheet";
78
80
  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";
115
117
  slidedeck: "slidedeck";
116
118
  worksheet: "worksheet";
117
119
  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";
159
161
  slidedeck: "slidedeck";
160
162
  worksheet: "worksheet";
161
163
  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: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
255
+ assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "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: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
288
+ assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "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: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
322
+ asset_type: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "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: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
355
+ assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "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: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
389
+ asset_type: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "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: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
424
+ assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "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: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
459
+ assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "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: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
492
+ assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "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: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
526
+ asset_type: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "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: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
559
+ assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "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: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
593
+ asset_type: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "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: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
628
+ assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "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: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
668
+ assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "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: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
701
+ assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "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: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
735
+ asset_type: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "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: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
768
+ assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "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: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
802
+ asset_type: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "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: "slidedeck" | "worksheet" | "worksheet_answers" | "lesson_guide" | "downloadable_file" | "supplementary_resource";
837
+ assetType: "lesson_guide" | "downloadable_file" | "slidedeck" | "worksheet" | "worksheet_answers" | "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";
1009
1011
  slidedeck: "slidedeck";
1010
1012
  worksheet: "worksheet";
1011
1013
  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;
@@ -4028,9 +4028,9 @@ declare const lessonSchema: z.ZodObject<{
4028
4028
  }, z.core.$strip>;
4029
4029
  type Lesson = z.infer<typeof lessonSchema>;
4030
4030
  declare const lessonNewSchema: z.ZodObject<{
4031
+ description: z.ZodString;
4031
4032
  lesson_id: z.ZodNumber;
4032
4033
  lesson_uid: z.ZodString;
4033
- description: z.ZodString;
4034
4034
  phonics_outcome: z.ZodNullable<z.ZodString>;
4035
4035
  key_learning_points: z.ZodNullable<z.ZodArray<z.ZodObject<{
4036
4036
  key_learning_point: z.ZodString;
@@ -4951,9 +4951,9 @@ declare const lessonSchemaCamel: Omit<z.ZodType<{
4951
4951
  };
4952
4952
  type LessonCamel = z.infer<typeof lessonSchemaCamel>;
4953
4953
  declare const lessonNewSchemaCamel: Omit<z.ZodType<{
4954
+ description: string;
4954
4955
  lessonId: number;
4955
4956
  lessonUid: string;
4956
- description: string;
4957
4957
  phonicsOutcome: string | null;
4958
4958
  keyLearningPoints: {
4959
4959
  keyLearningPoint: string;
@@ -5066,9 +5066,9 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
5066
5066
  } | null | undefined;
5067
5067
  lessonReleaseDate?: string | null | undefined;
5068
5068
  }, unknown, z.core.$ZodTypeInternals<{
5069
+ description: string;
5069
5070
  lessonId: number;
5070
5071
  lessonUid: string;
5071
- description: string;
5072
5072
  phonicsOutcome: string | null;
5073
5073
  keyLearningPoints: {
5074
5074
  keyLearningPoint: string;
@@ -5182,9 +5182,9 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
5182
5182
  lessonReleaseDate?: string | null | undefined;
5183
5183
  }, unknown>>, "parse" | "safeParse"> & {
5184
5184
  parse: (input: {
5185
+ description: string;
5185
5186
  lesson_id: number;
5186
5187
  lesson_uid: string;
5187
- description: string;
5188
5188
  phonics_outcome: string | null;
5189
5189
  key_learning_points: {
5190
5190
  key_learning_point: string;
@@ -5285,9 +5285,9 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
5285
5285
  }[]> | null | undefined;
5286
5286
  lesson_release_date?: string | null | undefined;
5287
5287
  }) => {
5288
+ description: string;
5288
5289
  lessonId: number;
5289
5290
  lessonUid: string;
5290
- description: string;
5291
5291
  phonicsOutcome: string | null;
5292
5292
  keyLearningPoints: {
5293
5293
  keyLearningPoint: string;
@@ -5401,9 +5401,9 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
5401
5401
  lessonReleaseDate?: string | null | undefined;
5402
5402
  };
5403
5403
  safeParse: (input: {
5404
+ description: string;
5404
5405
  lesson_id: number;
5405
5406
  lesson_uid: string;
5406
- description: string;
5407
5407
  phonics_outcome: string | null;
5408
5408
  key_learning_points: {
5409
5409
  key_learning_point: string;
@@ -5506,9 +5506,9 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
5506
5506
  }) => {
5507
5507
  success: boolean;
5508
5508
  data?: {
5509
+ description: string;
5509
5510
  lessonId: number;
5510
5511
  lessonUid: string;
5511
- description: string;
5512
5512
  phonicsOutcome: string | null;
5513
5513
  keyLearningPoints: {
5514
5514
  keyLearningPoint: string;
@@ -12646,6 +12646,7 @@ declare const actionsFixtureCamel: ({ overrides, }?: {
12646
12646
  }) => ActionsCamel;
12647
12647
 
12648
12648
  declare const lessonContentSchema: z.ZodObject<{
12649
+ _state: z.ZodUnion<readonly [z.ZodLiteral<"published">, z.ZodLiteral<"new">, z.ZodLiteral<"migration">]>;
12649
12650
  lesson_id: z.ZodNumber;
12650
12651
  phonics_outcome: z.ZodNullable<z.ZodString>;
12651
12652
  key_learning_points: z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -12688,7 +12689,6 @@ declare const lessonContentSchema: z.ZodObject<{
12688
12689
  transcriptSentences: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12689
12690
  }, z.core.$strip>>>>>;
12690
12691
  deprecated_fields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12691
- _state: z.ZodUnion<readonly [z.ZodLiteral<"published">, z.ZodLiteral<"new">, z.ZodLiteral<"migration">]>;
12692
12692
  lesson_release_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12693
12693
  lesson_slug: z.ZodString;
12694
12694
  lesson_title: z.ZodNullable<z.ZodString>;
@@ -13057,6 +13057,7 @@ declare const lessonContentSchema: z.ZodObject<{
13057
13057
  }, z.core.$strip>;
13058
13058
  type LessonContent = z.infer<typeof lessonContentSchema>;
13059
13059
  declare const lessonContentSchemaCamel: Omit<z.ZodType<{
13060
+ state: "published" | "new" | "migration";
13060
13061
  lessonId: number;
13061
13062
  phonicsOutcome: string | null;
13062
13063
  keyLearningPoints: {
@@ -13070,7 +13071,6 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
13070
13071
  deprecatedFields: {
13071
13072
  [x: string]: unknown;
13072
13073
  } | null;
13073
- state: "published" | "new" | "migration";
13074
13074
  lessonSlug: string;
13075
13075
  lessonTitle: string | null;
13076
13076
  contentGuidance: {
@@ -13428,6 +13428,7 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
13428
13428
  };
13429
13429
  }[] | null | undefined;
13430
13430
  }, unknown, z.core.$ZodTypeInternals<{
13431
+ state: "published" | "new" | "migration";
13431
13432
  lessonId: number;
13432
13433
  phonicsOutcome: string | null;
13433
13434
  keyLearningPoints: {
@@ -13441,7 +13442,6 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
13441
13442
  deprecatedFields: {
13442
13443
  [x: string]: unknown;
13443
13444
  } | null;
13444
- state: "published" | "new" | "migration";
13445
13445
  lessonSlug: string;
13446
13446
  lessonTitle: string | null;
13447
13447
  contentGuidance: {
@@ -13800,6 +13800,7 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
13800
13800
  }[] | null | undefined;
13801
13801
  }, unknown>>, "parse" | "safeParse"> & {
13802
13802
  parse: (input: {
13803
+ _state: "published" | "new" | "migration";
13803
13804
  lesson_id: number;
13804
13805
  phonics_outcome: string | null;
13805
13806
  key_learning_points: {
@@ -13811,7 +13812,6 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
13811
13812
  supervision_level: string | null;
13812
13813
  video_id: number | null;
13813
13814
  deprecated_fields: Record<string, unknown> | null;
13814
- _state: "published" | "new" | "migration";
13815
13815
  lesson_slug: string;
13816
13816
  lesson_title: string | null;
13817
13817
  content_guidance: {
@@ -14167,6 +14167,7 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
14167
14167
  };
14168
14168
  }[] | null | undefined;
14169
14169
  }) => {
14170
+ state: "published" | "new" | "migration";
14170
14171
  lessonId: number;
14171
14172
  phonicsOutcome: string | null;
14172
14173
  keyLearningPoints: {
@@ -14180,7 +14181,6 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
14180
14181
  deprecatedFields: {
14181
14182
  [x: string]: unknown;
14182
14183
  } | null;
14183
- state: "published" | "new" | "migration";
14184
14184
  lessonSlug: string;
14185
14185
  lessonTitle: string | null;
14186
14186
  contentGuidance: {
@@ -14539,6 +14539,7 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
14539
14539
  }[] | null | undefined;
14540
14540
  };
14541
14541
  safeParse: (input: {
14542
+ _state: "published" | "new" | "migration";
14542
14543
  lesson_id: number;
14543
14544
  phonics_outcome: string | null;
14544
14545
  key_learning_points: {
@@ -14550,7 +14551,6 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
14550
14551
  supervision_level: string | null;
14551
14552
  video_id: number | null;
14552
14553
  deprecated_fields: Record<string, unknown> | null;
14553
- _state: "published" | "new" | "migration";
14554
14554
  lesson_slug: string;
14555
14555
  lesson_title: string | null;
14556
14556
  content_guidance: {
@@ -14908,6 +14908,7 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
14908
14908
  }) => {
14909
14909
  success: boolean;
14910
14910
  data?: {
14911
+ state: "published" | "new" | "migration";
14911
14912
  lessonId: number;
14912
14913
  phonicsOutcome: string | null;
14913
14914
  keyLearningPoints: {
@@ -14921,7 +14922,6 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
14921
14922
  deprecatedFields: {
14922
14923
  [x: string]: unknown;
14923
14924
  } | null;
14924
- state: "published" | "new" | "migration";
14925
14925
  lessonSlug: string;
14926
14926
  lessonTitle: string | null;
14927
14927
  contentGuidance: {
@@ -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;