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

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.5",
3
+ "version": "2.3.0-beta.6",
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;
@@ -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;
4032
4031
  lesson_id: z.ZodNumber;
4033
4032
  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;
4955
4954
  lessonId: number;
4956
4955
  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;
5070
5069
  lessonId: number;
5071
5070
  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;
5186
5185
  lesson_id: number;
5187
5186
  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;
5289
5288
  lessonId: number;
5290
5289
  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;
5405
5404
  lesson_id: number;
5406
5405
  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;
5510
5509
  lessonId: number;
5511
5510
  lessonUid: string;
5511
+ description: string;
5512
5512
  phonicsOutcome: string | null;
5513
5513
  keyLearningPoints: {
5514
5514
  keyLearningPoint: string;
@@ -12646,7 +12646,6 @@ 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">]>;
12650
12649
  lesson_id: z.ZodNumber;
12651
12650
  phonics_outcome: z.ZodNullable<z.ZodString>;
12652
12651
  key_learning_points: z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -12689,6 +12688,7 @@ declare const lessonContentSchema: z.ZodObject<{
12689
12688
  transcriptSentences: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12690
12689
  }, z.core.$strip>>>>>;
12691
12690
  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,7 +13057,6 @@ 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";
13061
13060
  lessonId: number;
13062
13061
  phonicsOutcome: string | null;
13063
13062
  keyLearningPoints: {
@@ -13071,6 +13070,7 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
13071
13070
  deprecatedFields: {
13072
13071
  [x: string]: unknown;
13073
13072
  } | null;
13073
+ state: "published" | "new" | "migration";
13074
13074
  lessonSlug: string;
13075
13075
  lessonTitle: string | null;
13076
13076
  contentGuidance: {
@@ -13428,7 +13428,6 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
13428
13428
  };
13429
13429
  }[] | null | undefined;
13430
13430
  }, unknown, z.core.$ZodTypeInternals<{
13431
- state: "published" | "new" | "migration";
13432
13431
  lessonId: number;
13433
13432
  phonicsOutcome: string | null;
13434
13433
  keyLearningPoints: {
@@ -13442,6 +13441,7 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
13442
13441
  deprecatedFields: {
13443
13442
  [x: string]: unknown;
13444
13443
  } | null;
13444
+ state: "published" | "new" | "migration";
13445
13445
  lessonSlug: string;
13446
13446
  lessonTitle: string | null;
13447
13447
  contentGuidance: {
@@ -13800,7 +13800,6 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
13800
13800
  }[] | null | undefined;
13801
13801
  }, unknown>>, "parse" | "safeParse"> & {
13802
13802
  parse: (input: {
13803
- _state: "published" | "new" | "migration";
13804
13803
  lesson_id: number;
13805
13804
  phonics_outcome: string | null;
13806
13805
  key_learning_points: {
@@ -13812,6 +13811,7 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
13812
13811
  supervision_level: string | null;
13813
13812
  video_id: number | null;
13814
13813
  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,7 +14167,6 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
14167
14167
  };
14168
14168
  }[] | null | undefined;
14169
14169
  }) => {
14170
- state: "published" | "new" | "migration";
14171
14170
  lessonId: number;
14172
14171
  phonicsOutcome: string | null;
14173
14172
  keyLearningPoints: {
@@ -14181,6 +14180,7 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
14181
14180
  deprecatedFields: {
14182
14181
  [x: string]: unknown;
14183
14182
  } | null;
14183
+ state: "published" | "new" | "migration";
14184
14184
  lessonSlug: string;
14185
14185
  lessonTitle: string | null;
14186
14186
  contentGuidance: {
@@ -14539,7 +14539,6 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
14539
14539
  }[] | null | undefined;
14540
14540
  };
14541
14541
  safeParse: (input: {
14542
- _state: "published" | "new" | "migration";
14543
14542
  lesson_id: number;
14544
14543
  phonics_outcome: string | null;
14545
14544
  key_learning_points: {
@@ -14551,6 +14550,7 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
14551
14550
  supervision_level: string | null;
14552
14551
  video_id: number | null;
14553
14552
  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,7 +14908,6 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
14908
14908
  }) => {
14909
14909
  success: boolean;
14910
14910
  data?: {
14911
- state: "published" | "new" | "migration";
14912
14911
  lessonId: number;
14913
14912
  phonicsOutcome: string | null;
14914
14913
  keyLearningPoints: {
@@ -14922,6 +14921,7 @@ declare const lessonContentSchemaCamel: Omit<z.ZodType<{
14922
14921
  deprecatedFields: {
14923
14922
  [x: string]: unknown;
14924
14923
  } | null;
14924
+ state: "published" | "new" | "migration";
14925
14925
  lessonSlug: string;
14926
14926
  lessonTitle: string | null;
14927
14927
  contentGuidance: {
@@ -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;