@oaknational/oak-curriculum-schema 2.10.1 → 2.11.0
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 +22 -22
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -6726,6 +6726,7 @@ declare const lessonNewSchema: z.ZodObject<{
|
|
|
6726
6726
|
display_name: z.ZodString;
|
|
6727
6727
|
}, z.core.$strip>;
|
|
6728
6728
|
}, z.core.$strip>>>;
|
|
6729
|
+
attribution: z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>;
|
|
6729
6730
|
phonics_outcome: z.ZodNullable<z.ZodString>;
|
|
6730
6731
|
key_learning_points: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
6731
6732
|
key_learning_point: z.ZodString;
|
|
@@ -6766,7 +6767,6 @@ declare const lessonNewSchema: z.ZodObject<{
|
|
|
6766
6767
|
lesson_outline: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
6767
6768
|
lesson_outline: z.ZodString;
|
|
6768
6769
|
}, z.core.$strip>>>>;
|
|
6769
|
-
attribution: z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>;
|
|
6770
6770
|
deprecated_fields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6771
6771
|
teacher_details: z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>;
|
|
6772
6772
|
tags: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
|
|
@@ -7616,6 +7616,9 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
|
|
|
7616
7616
|
displayName: string;
|
|
7617
7617
|
};
|
|
7618
7618
|
}[] | null;
|
|
7619
|
+
attribution: {
|
|
7620
|
+
[x: string]: never;
|
|
7621
|
+
}[] | null;
|
|
7619
7622
|
phonicsOutcome: string | null;
|
|
7620
7623
|
keyLearningPoints: {
|
|
7621
7624
|
keyLearningPoint: string;
|
|
@@ -7653,9 +7656,6 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
|
|
|
7653
7656
|
assetIdSupplementaryAsset: number | null;
|
|
7654
7657
|
assetIdLessonGuide: number | null;
|
|
7655
7658
|
expirationDate: string | null;
|
|
7656
|
-
attribution: {
|
|
7657
|
-
[x: string]: never;
|
|
7658
|
-
}[] | null;
|
|
7659
7659
|
deprecatedFields: {
|
|
7660
7660
|
[x: string]: unknown;
|
|
7661
7661
|
} | null;
|
|
@@ -7731,6 +7731,9 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
|
|
|
7731
7731
|
displayName: string;
|
|
7732
7732
|
};
|
|
7733
7733
|
}[] | null;
|
|
7734
|
+
attribution: {
|
|
7735
|
+
[x: string]: never;
|
|
7736
|
+
}[] | null;
|
|
7734
7737
|
phonicsOutcome: string | null;
|
|
7735
7738
|
keyLearningPoints: {
|
|
7736
7739
|
keyLearningPoint: string;
|
|
@@ -7768,9 +7771,6 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
|
|
|
7768
7771
|
assetIdSupplementaryAsset: number | null;
|
|
7769
7772
|
assetIdLessonGuide: number | null;
|
|
7770
7773
|
expirationDate: string | null;
|
|
7771
|
-
attribution: {
|
|
7772
|
-
[x: string]: never;
|
|
7773
|
-
}[] | null;
|
|
7774
7774
|
deprecatedFields: {
|
|
7775
7775
|
[x: string]: unknown;
|
|
7776
7776
|
} | null;
|
|
@@ -7847,6 +7847,7 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
|
|
|
7847
7847
|
display_name: string;
|
|
7848
7848
|
};
|
|
7849
7849
|
}[] | null;
|
|
7850
|
+
attribution: Record<string, never>[] | null;
|
|
7850
7851
|
phonics_outcome: string | null;
|
|
7851
7852
|
key_learning_points: {
|
|
7852
7853
|
key_learning_point: string;
|
|
@@ -7884,7 +7885,6 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
|
|
|
7884
7885
|
asset_id_supplementary_asset: number | null;
|
|
7885
7886
|
asset_id_lesson_guide: number | null;
|
|
7886
7887
|
expiration_date: string | null;
|
|
7887
|
-
attribution: Record<string, never>[] | null;
|
|
7888
7888
|
deprecated_fields: Record<string, unknown> | null;
|
|
7889
7889
|
teacher_details: Record<string, never>[] | null;
|
|
7890
7890
|
tags: number[] | null;
|
|
@@ -7950,6 +7950,9 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
|
|
|
7950
7950
|
displayName: string;
|
|
7951
7951
|
};
|
|
7952
7952
|
}[] | null;
|
|
7953
|
+
attribution: {
|
|
7954
|
+
[x: string]: never;
|
|
7955
|
+
}[] | null;
|
|
7953
7956
|
phonicsOutcome: string | null;
|
|
7954
7957
|
keyLearningPoints: {
|
|
7955
7958
|
keyLearningPoint: string;
|
|
@@ -7987,9 +7990,6 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
|
|
|
7987
7990
|
assetIdSupplementaryAsset: number | null;
|
|
7988
7991
|
assetIdLessonGuide: number | null;
|
|
7989
7992
|
expirationDate: string | null;
|
|
7990
|
-
attribution: {
|
|
7991
|
-
[x: string]: never;
|
|
7992
|
-
}[] | null;
|
|
7993
7993
|
deprecatedFields: {
|
|
7994
7994
|
[x: string]: unknown;
|
|
7995
7995
|
} | null;
|
|
@@ -8066,6 +8066,7 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
|
|
|
8066
8066
|
display_name: string;
|
|
8067
8067
|
};
|
|
8068
8068
|
}[] | null;
|
|
8069
|
+
attribution: Record<string, never>[] | null;
|
|
8069
8070
|
phonics_outcome: string | null;
|
|
8070
8071
|
key_learning_points: {
|
|
8071
8072
|
key_learning_point: string;
|
|
@@ -8103,7 +8104,6 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
|
|
|
8103
8104
|
asset_id_supplementary_asset: number | null;
|
|
8104
8105
|
asset_id_lesson_guide: number | null;
|
|
8105
8106
|
expiration_date: string | null;
|
|
8106
|
-
attribution: Record<string, never>[] | null;
|
|
8107
8107
|
deprecated_fields: Record<string, unknown> | null;
|
|
8108
8108
|
teacher_details: Record<string, never>[] | null;
|
|
8109
8109
|
tags: number[] | null;
|
|
@@ -8171,6 +8171,9 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
|
|
|
8171
8171
|
displayName: string;
|
|
8172
8172
|
};
|
|
8173
8173
|
}[] | null;
|
|
8174
|
+
attribution: {
|
|
8175
|
+
[x: string]: never;
|
|
8176
|
+
}[] | null;
|
|
8174
8177
|
phonicsOutcome: string | null;
|
|
8175
8178
|
keyLearningPoints: {
|
|
8176
8179
|
keyLearningPoint: string;
|
|
@@ -8208,9 +8211,6 @@ declare const lessonNewSchemaCamel: Omit<z.ZodType<{
|
|
|
8208
8211
|
assetIdSupplementaryAsset: number | null;
|
|
8209
8212
|
assetIdLessonGuide: number | null;
|
|
8210
8213
|
expirationDate: string | null;
|
|
8211
|
-
attribution: {
|
|
8212
|
-
[x: string]: never;
|
|
8213
|
-
}[] | null;
|
|
8214
8214
|
deprecatedFields: {
|
|
8215
8215
|
[x: string]: unknown;
|
|
8216
8216
|
} | null;
|
|
@@ -9437,7 +9437,6 @@ declare const questionNewSchema: z.ZodObject<{
|
|
|
9437
9437
|
}, z.core.$strip>>>;
|
|
9438
9438
|
}, z.core.$strip>>>;
|
|
9439
9439
|
}, z.core.$strip>>>;
|
|
9440
|
-
order: z.ZodNumber;
|
|
9441
9440
|
question_id: z.ZodNumber;
|
|
9442
9441
|
question_uid: z.ZodString;
|
|
9443
9442
|
question_type: z.ZodString;
|
|
@@ -9467,6 +9466,7 @@ declare const questionNewSchema: z.ZodObject<{
|
|
|
9467
9466
|
}, z.core.$strip>;
|
|
9468
9467
|
type: z.ZodLiteral<"image">;
|
|
9469
9468
|
}, z.core.$strip>]>>>>;
|
|
9469
|
+
order: z.ZodNumber;
|
|
9470
9470
|
feedback: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9471
9471
|
hint: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
9472
9472
|
active: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -10437,10 +10437,10 @@ declare const questionSchemaCamel: Omit<z.ZodType<{
|
|
|
10437
10437
|
};
|
|
10438
10438
|
type QuestionCamel = z.infer<typeof questionSchemaCamel>;
|
|
10439
10439
|
declare const questionNewSchemaCamel: Omit<z.ZodType<{
|
|
10440
|
-
order: number;
|
|
10441
10440
|
questionId: number;
|
|
10442
10441
|
questionUid: string;
|
|
10443
10442
|
questionType: string;
|
|
10443
|
+
order: number;
|
|
10444
10444
|
_state: "new";
|
|
10445
10445
|
answers?: {
|
|
10446
10446
|
"multiple-choice"?: {
|
|
@@ -10517,10 +10517,10 @@ declare const questionNewSchemaCamel: Omit<z.ZodType<{
|
|
|
10517
10517
|
hint?: string | null | undefined;
|
|
10518
10518
|
active?: boolean | undefined;
|
|
10519
10519
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
10520
|
-
order: number;
|
|
10521
10520
|
questionId: number;
|
|
10522
10521
|
questionUid: string;
|
|
10523
10522
|
questionType: string;
|
|
10523
|
+
order: number;
|
|
10524
10524
|
_state: "new";
|
|
10525
10525
|
answers?: {
|
|
10526
10526
|
"multiple-choice"?: {
|
|
@@ -10598,10 +10598,10 @@ declare const questionNewSchemaCamel: Omit<z.ZodType<{
|
|
|
10598
10598
|
active?: boolean | undefined;
|
|
10599
10599
|
}, unknown>>, "parse" | "safeParse"> & {
|
|
10600
10600
|
parse: (input: {
|
|
10601
|
-
order: number;
|
|
10602
10601
|
question_id: number;
|
|
10603
10602
|
question_uid: string;
|
|
10604
10603
|
question_type: string;
|
|
10604
|
+
order: number;
|
|
10605
10605
|
_state: "new";
|
|
10606
10606
|
answers?: {
|
|
10607
10607
|
"multiple-choice"?: {
|
|
@@ -10678,10 +10678,10 @@ declare const questionNewSchemaCamel: Omit<z.ZodType<{
|
|
|
10678
10678
|
hint?: string | null | undefined;
|
|
10679
10679
|
active?: boolean | undefined;
|
|
10680
10680
|
}) => {
|
|
10681
|
-
order: number;
|
|
10682
10681
|
questionId: number;
|
|
10683
10682
|
questionUid: string;
|
|
10684
10683
|
questionType: string;
|
|
10684
|
+
order: number;
|
|
10685
10685
|
_state: "new";
|
|
10686
10686
|
answers?: {
|
|
10687
10687
|
"multiple-choice"?: {
|
|
@@ -10759,10 +10759,10 @@ declare const questionNewSchemaCamel: Omit<z.ZodType<{
|
|
|
10759
10759
|
active?: boolean | undefined;
|
|
10760
10760
|
};
|
|
10761
10761
|
safeParse: (input: {
|
|
10762
|
-
order: number;
|
|
10763
10762
|
question_id: number;
|
|
10764
10763
|
question_uid: string;
|
|
10765
10764
|
question_type: string;
|
|
10765
|
+
order: number;
|
|
10766
10766
|
_state: "new";
|
|
10767
10767
|
answers?: {
|
|
10768
10768
|
"multiple-choice"?: {
|
|
@@ -10841,10 +10841,10 @@ declare const questionNewSchemaCamel: Omit<z.ZodType<{
|
|
|
10841
10841
|
}) => {
|
|
10842
10842
|
success: boolean;
|
|
10843
10843
|
data?: {
|
|
10844
|
-
order: number;
|
|
10845
10844
|
questionId: number;
|
|
10846
10845
|
questionUid: string;
|
|
10847
10846
|
questionType: string;
|
|
10847
|
+
order: number;
|
|
10848
10848
|
_state: "new";
|
|
10849
10849
|
answers?: {
|
|
10850
10850
|
"multiple-choice"?: {
|