@oaknational/oak-curriculum-schema 2.12.0-beta.1 → 2.12.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 +30 -30
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -2774,9 +2774,15 @@ declare const assetNewSchema: z.ZodObject<{
|
|
|
2774
2774
|
created_at: z.ZodString;
|
|
2775
2775
|
updated_at: z.ZodString;
|
|
2776
2776
|
asset_id: z.ZodNumber;
|
|
2777
|
-
tpc_media_ids: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
|
|
2778
|
-
tpc_works_ids: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
|
|
2779
2777
|
asset_uid: z.ZodString;
|
|
2778
|
+
asset_type: z.ZodEnum<{
|
|
2779
|
+
worksheet_answers: "worksheet_answers";
|
|
2780
|
+
downloadable_file: "downloadable_file";
|
|
2781
|
+
supplementary_resource: "supplementary_resource";
|
|
2782
|
+
worksheet: "worksheet";
|
|
2783
|
+
slidedeck: "slidedeck";
|
|
2784
|
+
lesson_guide: "lesson_guide";
|
|
2785
|
+
}>;
|
|
2780
2786
|
asset_object: z.ZodObject<{
|
|
2781
2787
|
pdf: z.ZodOptional<z.ZodObject<{
|
|
2782
2788
|
bucket_name: z.ZodNullable<z.ZodString>;
|
|
@@ -2798,14 +2804,8 @@ declare const assetNewSchema: z.ZodObject<{
|
|
|
2798
2804
|
url: z.ZodNullable<z.ZodURL>;
|
|
2799
2805
|
}, z.core.$strip>>;
|
|
2800
2806
|
}, z.core.$strip>;
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
downloadable_file: "downloadable_file";
|
|
2804
|
-
supplementary_resource: "supplementary_resource";
|
|
2805
|
-
worksheet: "worksheet";
|
|
2806
|
-
slidedeck: "slidedeck";
|
|
2807
|
-
lesson_guide: "lesson_guide";
|
|
2808
|
-
}>;
|
|
2807
|
+
tpc_media_ids: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
|
|
2808
|
+
tpc_works_ids: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
|
|
2809
2809
|
_state: z.ZodLiteral<"new">;
|
|
2810
2810
|
url: z.ZodNullable<z.ZodURL>;
|
|
2811
2811
|
title: z.ZodNullable<z.ZodString>;
|
|
@@ -3119,9 +3119,8 @@ declare const assetNewSchemaCamel: Omit<z.ZodType<{
|
|
|
3119
3119
|
createdAt: string;
|
|
3120
3120
|
updatedAt: string;
|
|
3121
3121
|
assetId: number;
|
|
3122
|
-
tpcMediaIds: number[] | null;
|
|
3123
|
-
tpcWorksIds: number[] | null;
|
|
3124
3122
|
assetUid: string;
|
|
3123
|
+
assetType: "worksheet_answers" | "downloadable_file" | "supplementary_resource" | "worksheet" | "slidedeck" | "lesson_guide";
|
|
3125
3124
|
assetObject: {
|
|
3126
3125
|
pdf?: {
|
|
3127
3126
|
bucketName: string | null;
|
|
@@ -3143,7 +3142,8 @@ declare const assetNewSchemaCamel: Omit<z.ZodType<{
|
|
|
3143
3142
|
url: string | null;
|
|
3144
3143
|
} | undefined;
|
|
3145
3144
|
};
|
|
3146
|
-
|
|
3145
|
+
tpcMediaIds: number[] | null;
|
|
3146
|
+
tpcWorksIds: number[] | null;
|
|
3147
3147
|
_state: "new";
|
|
3148
3148
|
url: string | null;
|
|
3149
3149
|
title: string | null;
|
|
@@ -3152,9 +3152,8 @@ declare const assetNewSchemaCamel: Omit<z.ZodType<{
|
|
|
3152
3152
|
createdAt: string;
|
|
3153
3153
|
updatedAt: string;
|
|
3154
3154
|
assetId: number;
|
|
3155
|
-
tpcMediaIds: number[] | null;
|
|
3156
|
-
tpcWorksIds: number[] | null;
|
|
3157
3155
|
assetUid: string;
|
|
3156
|
+
assetType: "worksheet_answers" | "downloadable_file" | "supplementary_resource" | "worksheet" | "slidedeck" | "lesson_guide";
|
|
3158
3157
|
assetObject: {
|
|
3159
3158
|
pdf?: {
|
|
3160
3159
|
bucketName: string | null;
|
|
@@ -3176,7 +3175,8 @@ declare const assetNewSchemaCamel: Omit<z.ZodType<{
|
|
|
3176
3175
|
url: string | null;
|
|
3177
3176
|
} | undefined;
|
|
3178
3177
|
};
|
|
3179
|
-
|
|
3178
|
+
tpcMediaIds: number[] | null;
|
|
3179
|
+
tpcWorksIds: number[] | null;
|
|
3180
3180
|
_state: "new";
|
|
3181
3181
|
url: string | null;
|
|
3182
3182
|
title: string | null;
|
|
@@ -3186,9 +3186,8 @@ declare const assetNewSchemaCamel: Omit<z.ZodType<{
|
|
|
3186
3186
|
created_at: string;
|
|
3187
3187
|
updated_at: string;
|
|
3188
3188
|
asset_id: number;
|
|
3189
|
-
tpc_media_ids: number[] | null;
|
|
3190
|
-
tpc_works_ids: number[] | null;
|
|
3191
3189
|
asset_uid: string;
|
|
3190
|
+
asset_type: "worksheet_answers" | "downloadable_file" | "supplementary_resource" | "worksheet" | "slidedeck" | "lesson_guide";
|
|
3192
3191
|
asset_object: {
|
|
3193
3192
|
pdf?: {
|
|
3194
3193
|
bucket_name: string | null;
|
|
@@ -3210,7 +3209,8 @@ declare const assetNewSchemaCamel: Omit<z.ZodType<{
|
|
|
3210
3209
|
url: string | null;
|
|
3211
3210
|
} | undefined;
|
|
3212
3211
|
};
|
|
3213
|
-
|
|
3212
|
+
tpc_media_ids: number[] | null;
|
|
3213
|
+
tpc_works_ids: number[] | null;
|
|
3214
3214
|
_state: "new";
|
|
3215
3215
|
url: string | null;
|
|
3216
3216
|
title: string | null;
|
|
@@ -3219,9 +3219,8 @@ declare const assetNewSchemaCamel: Omit<z.ZodType<{
|
|
|
3219
3219
|
createdAt: string;
|
|
3220
3220
|
updatedAt: string;
|
|
3221
3221
|
assetId: number;
|
|
3222
|
-
tpcMediaIds: number[] | null;
|
|
3223
|
-
tpcWorksIds: number[] | null;
|
|
3224
3222
|
assetUid: string;
|
|
3223
|
+
assetType: "worksheet_answers" | "downloadable_file" | "supplementary_resource" | "worksheet" | "slidedeck" | "lesson_guide";
|
|
3225
3224
|
assetObject: {
|
|
3226
3225
|
pdf?: {
|
|
3227
3226
|
bucketName: string | null;
|
|
@@ -3243,7 +3242,8 @@ declare const assetNewSchemaCamel: Omit<z.ZodType<{
|
|
|
3243
3242
|
url: string | null;
|
|
3244
3243
|
} | undefined;
|
|
3245
3244
|
};
|
|
3246
|
-
|
|
3245
|
+
tpcMediaIds: number[] | null;
|
|
3246
|
+
tpcWorksIds: number[] | null;
|
|
3247
3247
|
_state: "new";
|
|
3248
3248
|
url: string | null;
|
|
3249
3249
|
title: string | null;
|
|
@@ -3253,9 +3253,8 @@ declare const assetNewSchemaCamel: Omit<z.ZodType<{
|
|
|
3253
3253
|
created_at: string;
|
|
3254
3254
|
updated_at: string;
|
|
3255
3255
|
asset_id: number;
|
|
3256
|
-
tpc_media_ids: number[] | null;
|
|
3257
|
-
tpc_works_ids: number[] | null;
|
|
3258
3256
|
asset_uid: string;
|
|
3257
|
+
asset_type: "worksheet_answers" | "downloadable_file" | "supplementary_resource" | "worksheet" | "slidedeck" | "lesson_guide";
|
|
3259
3258
|
asset_object: {
|
|
3260
3259
|
pdf?: {
|
|
3261
3260
|
bucket_name: string | null;
|
|
@@ -3277,7 +3276,8 @@ declare const assetNewSchemaCamel: Omit<z.ZodType<{
|
|
|
3277
3276
|
url: string | null;
|
|
3278
3277
|
} | undefined;
|
|
3279
3278
|
};
|
|
3280
|
-
|
|
3279
|
+
tpc_media_ids: number[] | null;
|
|
3280
|
+
tpc_works_ids: number[] | null;
|
|
3281
3281
|
_state: "new";
|
|
3282
3282
|
url: string | null;
|
|
3283
3283
|
title: string | null;
|
|
@@ -3288,9 +3288,8 @@ declare const assetNewSchemaCamel: Omit<z.ZodType<{
|
|
|
3288
3288
|
createdAt: string;
|
|
3289
3289
|
updatedAt: string;
|
|
3290
3290
|
assetId: number;
|
|
3291
|
-
tpcMediaIds: number[] | null;
|
|
3292
|
-
tpcWorksIds: number[] | null;
|
|
3293
3291
|
assetUid: string;
|
|
3292
|
+
assetType: "worksheet_answers" | "downloadable_file" | "supplementary_resource" | "worksheet" | "slidedeck" | "lesson_guide";
|
|
3294
3293
|
assetObject: {
|
|
3295
3294
|
pdf?: {
|
|
3296
3295
|
bucketName: string | null;
|
|
@@ -3312,7 +3311,8 @@ declare const assetNewSchemaCamel: Omit<z.ZodType<{
|
|
|
3312
3311
|
url: string | null;
|
|
3313
3312
|
} | undefined;
|
|
3314
3313
|
};
|
|
3315
|
-
|
|
3314
|
+
tpcMediaIds: number[] | null;
|
|
3315
|
+
tpcWorksIds: number[] | null;
|
|
3316
3316
|
_state: "new";
|
|
3317
3317
|
url: string | null;
|
|
3318
3318
|
title: string | null;
|
|
@@ -26814,6 +26814,8 @@ declare const syntheticUnitvariantLessonsByKsSchema: z.ZodObject<{
|
|
|
26814
26814
|
legacy: z.ZodOptional<z.ZodString>;
|
|
26815
26815
|
dataset: z.ZodOptional<z.ZodString>;
|
|
26816
26816
|
}, z.core.$strip>;
|
|
26817
|
+
lesson_slug: z.ZodString;
|
|
26818
|
+
is_legacy: z.ZodBoolean;
|
|
26817
26819
|
actions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
26818
26820
|
exclusions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
26819
26821
|
pupilSubjectListingQuery: "pupilSubjectListingQuery";
|
|
@@ -27225,8 +27227,6 @@ declare const syntheticUnitvariantLessonsByKsSchema: z.ZodObject<{
|
|
|
27225
27227
|
group_by_subjectcategory: z.ZodBoolean;
|
|
27226
27228
|
}, z.core.$strip>>;
|
|
27227
27229
|
}, z.core.$strip>>>;
|
|
27228
|
-
lesson_slug: z.ZodString;
|
|
27229
|
-
is_legacy: z.ZodBoolean;
|
|
27230
27230
|
lesson_data: z.ZodObject<{
|
|
27231
27231
|
created_at: z.ZodString;
|
|
27232
27232
|
updated_at: z.ZodString;
|