@aibrains/shared-types 0.7.0 → 0.8.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/dist/schemas/academics/assignment.schema.d.ts +10 -10
- package/dist/schemas/academics/course-section.schema.d.ts +6 -6
- package/dist/schemas/academics/course.schema.d.ts +6 -6
- package/dist/schemas/academics/grade.schema.d.ts +1593 -0
- package/dist/schemas/academics/grade.schema.d.ts.map +1 -1
- package/dist/schemas/academics/grade.schema.js +271 -1
- package/dist/schemas/academics/grade.schema.js.map +1 -1
- package/dist/schemas/academics/grading-policy.schema.d.ts +339 -0
- package/dist/schemas/academics/grading-policy.schema.d.ts.map +1 -0
- package/dist/schemas/academics/grading-policy.schema.js +76 -0
- package/dist/schemas/academics/grading-policy.schema.js.map +1 -0
- package/dist/schemas/academics/index.d.ts +1 -0
- package/dist/schemas/academics/index.d.ts.map +1 -1
- package/dist/schemas/academics/index.js +1 -0
- package/dist/schemas/academics/index.js.map +1 -1
- package/dist/schemas/identity/user.schema.d.ts +16 -16
- package/dist/schemas/identity/user.schema.js +1 -1
- package/dist/schemas/identity/user.schema.js.map +1 -1
- package/package.json +1 -1
|
@@ -313,8 +313,8 @@ export declare const createAssignmentSchema: z.ZodObject<{
|
|
|
313
313
|
classroomId: string;
|
|
314
314
|
isExtraCredit: boolean;
|
|
315
315
|
pointsPossible: number;
|
|
316
|
-
assignedDate: string;
|
|
317
316
|
dueDate: string;
|
|
317
|
+
assignedDate: string;
|
|
318
318
|
dueDateTimeZone: string;
|
|
319
319
|
lockAfterDueDate: boolean;
|
|
320
320
|
submissionType: "none" | "online_text" | "online_upload" | "external_url" | "paper" | "discussion";
|
|
@@ -365,8 +365,8 @@ export declare const createAssignmentSchema: z.ZodObject<{
|
|
|
365
365
|
title: string;
|
|
366
366
|
classroomId: string;
|
|
367
367
|
pointsPossible: number;
|
|
368
|
-
assignedDate: string;
|
|
369
368
|
dueDate: string;
|
|
369
|
+
assignedDate: string;
|
|
370
370
|
status?: "archived" | "closed" | "draft" | "published" | undefined;
|
|
371
371
|
description?: string | undefined;
|
|
372
372
|
gradingPeriodId?: string | undefined;
|
|
@@ -564,9 +564,9 @@ export declare const updateAssignmentSchema: z.ZodObject<Omit<{
|
|
|
564
564
|
isExtraCredit?: boolean | undefined;
|
|
565
565
|
pointsPossible?: number | undefined;
|
|
566
566
|
categoryId?: string | undefined;
|
|
567
|
+
dueDate?: string | undefined;
|
|
567
568
|
instructions?: string | undefined;
|
|
568
569
|
assignedDate?: string | undefined;
|
|
569
|
-
dueDate?: string | undefined;
|
|
570
570
|
dueDateTimeZone?: string | undefined;
|
|
571
571
|
lockAfterDueDate?: boolean | undefined;
|
|
572
572
|
submissionType?: "none" | "online_text" | "online_upload" | "external_url" | "paper" | "discussion" | undefined;
|
|
@@ -617,9 +617,9 @@ export declare const updateAssignmentSchema: z.ZodObject<Omit<{
|
|
|
617
617
|
isExtraCredit?: boolean | undefined;
|
|
618
618
|
pointsPossible?: number | undefined;
|
|
619
619
|
categoryId?: string | undefined;
|
|
620
|
+
dueDate?: string | undefined;
|
|
620
621
|
instructions?: string | undefined;
|
|
621
622
|
assignedDate?: string | undefined;
|
|
622
|
-
dueDate?: string | undefined;
|
|
623
623
|
dueDateTimeZone?: string | undefined;
|
|
624
624
|
lockAfterDueDate?: boolean | undefined;
|
|
625
625
|
submissionType?: "none" | "online_text" | "online_upload" | "external_url" | "paper" | "discussion" | undefined;
|
|
@@ -821,8 +821,8 @@ export declare const assignmentResponseSchema: z.ZodObject<{
|
|
|
821
821
|
classroomId: string;
|
|
822
822
|
isExtraCredit: boolean;
|
|
823
823
|
pointsPossible: number;
|
|
824
|
-
assignedDate: string;
|
|
825
824
|
dueDate: string;
|
|
825
|
+
assignedDate: string;
|
|
826
826
|
dueDateTimeZone: string;
|
|
827
827
|
lockAfterDueDate: boolean;
|
|
828
828
|
submissionType: "none" | "online_text" | "online_upload" | "external_url" | "paper" | "discussion";
|
|
@@ -886,8 +886,8 @@ export declare const assignmentResponseSchema: z.ZodObject<{
|
|
|
886
886
|
classroomId: string;
|
|
887
887
|
isExtraCredit: boolean;
|
|
888
888
|
pointsPossible: number;
|
|
889
|
-
assignedDate: string;
|
|
890
889
|
dueDate: string;
|
|
890
|
+
assignedDate: string;
|
|
891
891
|
dueDateTimeZone: string;
|
|
892
892
|
lockAfterDueDate: boolean;
|
|
893
893
|
submissionType: "none" | "online_text" | "online_upload" | "external_url" | "paper" | "discussion";
|
|
@@ -1103,8 +1103,8 @@ export declare const assignmentListResponseSchema: z.ZodObject<{
|
|
|
1103
1103
|
classroomId: string;
|
|
1104
1104
|
isExtraCredit: boolean;
|
|
1105
1105
|
pointsPossible: number;
|
|
1106
|
-
assignedDate: string;
|
|
1107
1106
|
dueDate: string;
|
|
1107
|
+
assignedDate: string;
|
|
1108
1108
|
dueDateTimeZone: string;
|
|
1109
1109
|
lockAfterDueDate: boolean;
|
|
1110
1110
|
submissionType: "none" | "online_text" | "online_upload" | "external_url" | "paper" | "discussion";
|
|
@@ -1168,8 +1168,8 @@ export declare const assignmentListResponseSchema: z.ZodObject<{
|
|
|
1168
1168
|
classroomId: string;
|
|
1169
1169
|
isExtraCredit: boolean;
|
|
1170
1170
|
pointsPossible: number;
|
|
1171
|
-
assignedDate: string;
|
|
1172
1171
|
dueDate: string;
|
|
1172
|
+
assignedDate: string;
|
|
1173
1173
|
dueDateTimeZone: string;
|
|
1174
1174
|
lockAfterDueDate: boolean;
|
|
1175
1175
|
submissionType: "none" | "online_text" | "online_upload" | "external_url" | "paper" | "discussion";
|
|
@@ -1238,8 +1238,8 @@ export declare const assignmentListResponseSchema: z.ZodObject<{
|
|
|
1238
1238
|
classroomId: string;
|
|
1239
1239
|
isExtraCredit: boolean;
|
|
1240
1240
|
pointsPossible: number;
|
|
1241
|
-
assignedDate: string;
|
|
1242
1241
|
dueDate: string;
|
|
1242
|
+
assignedDate: string;
|
|
1243
1243
|
dueDateTimeZone: string;
|
|
1244
1244
|
lockAfterDueDate: boolean;
|
|
1245
1245
|
submissionType: "none" | "online_text" | "online_upload" | "external_url" | "paper" | "discussion";
|
|
@@ -1308,8 +1308,8 @@ export declare const assignmentListResponseSchema: z.ZodObject<{
|
|
|
1308
1308
|
classroomId: string;
|
|
1309
1309
|
isExtraCredit: boolean;
|
|
1310
1310
|
pointsPossible: number;
|
|
1311
|
-
assignedDate: string;
|
|
1312
1311
|
dueDate: string;
|
|
1312
|
+
assignedDate: string;
|
|
1313
1313
|
dueDateTimeZone: string;
|
|
1314
1314
|
lockAfterDueDate: boolean;
|
|
1315
1315
|
submissionType: "none" | "online_text" | "online_upload" | "external_url" | "paper" | "discussion";
|
|
@@ -134,9 +134,9 @@ export declare const sectionResponseSchema: z.ZodObject<{
|
|
|
134
134
|
currentEnrollment: number;
|
|
135
135
|
primaryTeacherId: string;
|
|
136
136
|
courseId: string;
|
|
137
|
+
sectionId: string;
|
|
137
138
|
sectionNumber: string;
|
|
138
139
|
maxEnrollment: number;
|
|
139
|
-
sectionId: string;
|
|
140
140
|
createdBy?: string | undefined;
|
|
141
141
|
updatedBy?: string | undefined;
|
|
142
142
|
termId?: string | undefined;
|
|
@@ -162,9 +162,9 @@ export declare const sectionResponseSchema: z.ZodObject<{
|
|
|
162
162
|
currentEnrollment: number;
|
|
163
163
|
primaryTeacherId: string;
|
|
164
164
|
courseId: string;
|
|
165
|
+
sectionId: string;
|
|
165
166
|
sectionNumber: string;
|
|
166
167
|
maxEnrollment: number;
|
|
167
|
-
sectionId: string;
|
|
168
168
|
createdBy?: string | undefined;
|
|
169
169
|
updatedBy?: string | undefined;
|
|
170
170
|
termId?: string | undefined;
|
|
@@ -221,9 +221,9 @@ export declare const sectionListResponseSchema: z.ZodObject<{
|
|
|
221
221
|
currentEnrollment: number;
|
|
222
222
|
primaryTeacherId: string;
|
|
223
223
|
courseId: string;
|
|
224
|
+
sectionId: string;
|
|
224
225
|
sectionNumber: string;
|
|
225
226
|
maxEnrollment: number;
|
|
226
|
-
sectionId: string;
|
|
227
227
|
createdBy?: string | undefined;
|
|
228
228
|
updatedBy?: string | undefined;
|
|
229
229
|
termId?: string | undefined;
|
|
@@ -249,9 +249,9 @@ export declare const sectionListResponseSchema: z.ZodObject<{
|
|
|
249
249
|
currentEnrollment: number;
|
|
250
250
|
primaryTeacherId: string;
|
|
251
251
|
courseId: string;
|
|
252
|
+
sectionId: string;
|
|
252
253
|
sectionNumber: string;
|
|
253
254
|
maxEnrollment: number;
|
|
254
|
-
sectionId: string;
|
|
255
255
|
createdBy?: string | undefined;
|
|
256
256
|
updatedBy?: string | undefined;
|
|
257
257
|
termId?: string | undefined;
|
|
@@ -282,9 +282,9 @@ export declare const sectionListResponseSchema: z.ZodObject<{
|
|
|
282
282
|
currentEnrollment: number;
|
|
283
283
|
primaryTeacherId: string;
|
|
284
284
|
courseId: string;
|
|
285
|
+
sectionId: string;
|
|
285
286
|
sectionNumber: string;
|
|
286
287
|
maxEnrollment: number;
|
|
287
|
-
sectionId: string;
|
|
288
288
|
createdBy?: string | undefined;
|
|
289
289
|
updatedBy?: string | undefined;
|
|
290
290
|
termId?: string | undefined;
|
|
@@ -315,9 +315,9 @@ export declare const sectionListResponseSchema: z.ZodObject<{
|
|
|
315
315
|
currentEnrollment: number;
|
|
316
316
|
primaryTeacherId: string;
|
|
317
317
|
courseId: string;
|
|
318
|
+
sectionId: string;
|
|
318
319
|
sectionNumber: string;
|
|
319
320
|
maxEnrollment: number;
|
|
320
|
-
sectionId: string;
|
|
321
321
|
createdBy?: string | undefined;
|
|
322
322
|
updatedBy?: string | undefined;
|
|
323
323
|
termId?: string | undefined;
|
|
@@ -419,10 +419,10 @@ export declare const courseResponseSchema: z.ZodObject<{
|
|
|
419
419
|
subjectArea: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business";
|
|
420
420
|
courseCode: string;
|
|
421
421
|
credits: number;
|
|
422
|
+
courseId: string;
|
|
422
423
|
courseName: string;
|
|
423
424
|
courseType: "vocational" | "elective" | "required" | "enrichment" | "remedial" | "honors" | "ap" | "ib" | "dual_enrollment";
|
|
424
425
|
typicalDuration: "semester" | "quarter" | "trimester" | "year";
|
|
425
|
-
courseId: string;
|
|
426
426
|
createdBy?: string | undefined;
|
|
427
427
|
updatedBy?: string | undefined;
|
|
428
428
|
description?: string | undefined;
|
|
@@ -460,10 +460,10 @@ export declare const courseResponseSchema: z.ZodObject<{
|
|
|
460
460
|
subjectArea: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business";
|
|
461
461
|
courseCode: string;
|
|
462
462
|
credits: number;
|
|
463
|
+
courseId: string;
|
|
463
464
|
courseName: string;
|
|
464
465
|
courseType: "vocational" | "elective" | "required" | "enrichment" | "remedial" | "honors" | "ap" | "ib" | "dual_enrollment";
|
|
465
466
|
typicalDuration: "semester" | "quarter" | "trimester" | "year";
|
|
466
|
-
courseId: string;
|
|
467
467
|
createdBy?: string | undefined;
|
|
468
468
|
updatedBy?: string | undefined;
|
|
469
469
|
description?: string | undefined;
|
|
@@ -573,10 +573,10 @@ export declare const courseListResponseSchema: z.ZodObject<{
|
|
|
573
573
|
subjectArea: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business";
|
|
574
574
|
courseCode: string;
|
|
575
575
|
credits: number;
|
|
576
|
+
courseId: string;
|
|
576
577
|
courseName: string;
|
|
577
578
|
courseType: "vocational" | "elective" | "required" | "enrichment" | "remedial" | "honors" | "ap" | "ib" | "dual_enrollment";
|
|
578
579
|
typicalDuration: "semester" | "quarter" | "trimester" | "year";
|
|
579
|
-
courseId: string;
|
|
580
580
|
createdBy?: string | undefined;
|
|
581
581
|
updatedBy?: string | undefined;
|
|
582
582
|
description?: string | undefined;
|
|
@@ -614,10 +614,10 @@ export declare const courseListResponseSchema: z.ZodObject<{
|
|
|
614
614
|
subjectArea: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business";
|
|
615
615
|
courseCode: string;
|
|
616
616
|
credits: number;
|
|
617
|
+
courseId: string;
|
|
617
618
|
courseName: string;
|
|
618
619
|
courseType: "vocational" | "elective" | "required" | "enrichment" | "remedial" | "honors" | "ap" | "ib" | "dual_enrollment";
|
|
619
620
|
typicalDuration: "semester" | "quarter" | "trimester" | "year";
|
|
620
|
-
courseId: string;
|
|
621
621
|
createdBy?: string | undefined;
|
|
622
622
|
updatedBy?: string | undefined;
|
|
623
623
|
description?: string | undefined;
|
|
@@ -660,10 +660,10 @@ export declare const courseListResponseSchema: z.ZodObject<{
|
|
|
660
660
|
subjectArea: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business";
|
|
661
661
|
courseCode: string;
|
|
662
662
|
credits: number;
|
|
663
|
+
courseId: string;
|
|
663
664
|
courseName: string;
|
|
664
665
|
courseType: "vocational" | "elective" | "required" | "enrichment" | "remedial" | "honors" | "ap" | "ib" | "dual_enrollment";
|
|
665
666
|
typicalDuration: "semester" | "quarter" | "trimester" | "year";
|
|
666
|
-
courseId: string;
|
|
667
667
|
createdBy?: string | undefined;
|
|
668
668
|
updatedBy?: string | undefined;
|
|
669
669
|
description?: string | undefined;
|
|
@@ -706,10 +706,10 @@ export declare const courseListResponseSchema: z.ZodObject<{
|
|
|
706
706
|
subjectArea: "vocational" | "other" | "mathematics" | "science" | "english_language_arts" | "social_studies" | "physical_education" | "technology" | "world_languages" | "arts" | "business";
|
|
707
707
|
courseCode: string;
|
|
708
708
|
credits: number;
|
|
709
|
+
courseId: string;
|
|
709
710
|
courseName: string;
|
|
710
711
|
courseType: "vocational" | "elective" | "required" | "enrichment" | "remedial" | "honors" | "ap" | "ib" | "dual_enrollment";
|
|
711
712
|
typicalDuration: "semester" | "quarter" | "trimester" | "year";
|
|
712
|
-
courseId: string;
|
|
713
713
|
createdBy?: string | undefined;
|
|
714
714
|
updatedBy?: string | undefined;
|
|
715
715
|
description?: string | undefined;
|