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