@studious-lms/server 1.2.31 → 1.2.32

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.
@@ -1315,6 +1315,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1315
1315
  gradeWithAI?: boolean | undefined;
1316
1316
  inProgress?: boolean | undefined;
1317
1317
  existingFileIds?: string[] | undefined;
1318
+ aiPolicyLevel?: number | undefined;
1319
+ worksheetIds?: string[] | undefined;
1320
+ studentIds?: string[] | undefined;
1318
1321
  };
1319
1322
  output: {
1320
1323
  type: import(".prisma/client").$Enums.AssignmentType;
@@ -1369,6 +1372,9 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1369
1372
  inProgress?: boolean | undefined;
1370
1373
  existingFileIds?: string[] | undefined;
1371
1374
  removedAttachments?: string[] | undefined;
1375
+ aiPolicyLevel?: number | undefined;
1376
+ worksheetIds?: string[] | undefined;
1377
+ studentIds?: string[] | undefined;
1372
1378
  };
1373
1379
  output: {
1374
1380
  type: import(".prisma/client").$Enums.AssignmentType;
@@ -6492,6 +6498,9 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
6492
6498
  gradeWithAI?: boolean | undefined;
6493
6499
  inProgress?: boolean | undefined;
6494
6500
  existingFileIds?: string[] | undefined;
6501
+ aiPolicyLevel?: number | undefined;
6502
+ worksheetIds?: string[] | undefined;
6503
+ studentIds?: string[] | undefined;
6495
6504
  };
6496
6505
  output: {
6497
6506
  type: import(".prisma/client").$Enums.AssignmentType;
@@ -6546,6 +6555,9 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
6546
6555
  inProgress?: boolean | undefined;
6547
6556
  existingFileIds?: string[] | undefined;
6548
6557
  removedAttachments?: string[] | undefined;
6558
+ aiPolicyLevel?: number | undefined;
6559
+ worksheetIds?: string[] | undefined;
6560
+ studentIds?: string[] | undefined;
6549
6561
  };
6550
6562
  output: {
6551
6563
  type: import(".prisma/client").$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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiC,CAAC"}
@@ -147,6 +147,9 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
147
147
  gradeWithAI?: boolean | undefined;
148
148
  inProgress?: boolean | undefined;
149
149
  existingFileIds?: string[] | undefined;
150
+ aiPolicyLevel?: number | undefined;
151
+ worksheetIds?: string[] | undefined;
152
+ studentIds?: string[] | undefined;
150
153
  };
151
154
  output: {
152
155
  type: import(".prisma/client").$Enums.AssignmentType;
@@ -201,6 +204,9 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
201
204
  inProgress?: boolean | undefined;
202
205
  existingFileIds?: string[] | undefined;
203
206
  removedAttachments?: string[] | undefined;
207
+ aiPolicyLevel?: number | undefined;
208
+ worksheetIds?: string[] | undefined;
209
+ studentIds?: string[] | undefined;
204
210
  };
205
211
  output: {
206
212
  type: import(".prisma/client").$Enums.AssignmentType;
@@ -1 +1 @@
1
- {"version":3,"file":"assignment.d.ts","sourceRoot":"","sources":["../../src/routers/assignment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAA2B,KAAK,gBAAgB,EAAgE,MAAM,sBAAsB,CAAC;AA6KpJ,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwpE3B,CAAC"}
@@ -22,10 +22,13 @@ const createAssignmentSchema = z.object({
22
22
  dueDate: z.string(),
23
23
  files: z.array(directFileSchema).optional(), // Use direct file schema
24
24
  existingFileIds: z.array(z.string()).optional(),
25
+ aiPolicyLevel: z.number().default(0),
25
26
  acceptFiles: z.boolean().optional(),
26
27
  acceptExtendedResponse: z.boolean().optional(),
27
28
  acceptWorksheet: z.boolean().optional(),
29
+ worksheetIds: z.array(z.string()).optional(),
28
30
  gradeWithAI: z.boolean().optional(),
31
+ studentIds: z.array(z.string()).optional(),
29
32
  maxGrade: z.number().optional(),
30
33
  graded: z.boolean().optional(),
31
34
  weight: z.number().optional(),
@@ -42,10 +45,13 @@ const updateAssignmentSchema = z.object({
42
45
  instructions: z.string().optional(),
43
46
  dueDate: z.string().optional(),
44
47
  files: z.array(directFileSchema).optional(), // Use direct file schema
48
+ aiPolicyLevel: z.number().default(0),
45
49
  acceptFiles: z.boolean().optional(),
46
50
  acceptExtendedResponse: z.boolean().optional(),
47
51
  acceptWorksheet: z.boolean().optional(),
52
+ worksheetIds: z.array(z.string()).optional(),
48
53
  gradeWithAI: z.boolean().optional(),
54
+ studentIds: z.array(z.string()).optional(),
49
55
  existingFileIds: z.array(z.string()).optional(),
50
56
  removedAttachments: z.array(z.string()).optional(),
51
57
  maxGrade: z.number().optional(),
@@ -272,7 +278,7 @@ export const assignmentRouter = createTRPCRouter({
272
278
  create: protectedProcedure
273
279
  .input(createAssignmentSchema)
274
280
  .mutation(async ({ ctx, input }) => {
275
- const { classId, title, instructions, dueDate, files, existingFileIds, acceptFiles, acceptExtendedResponse, acceptWorksheet, gradeWithAI, maxGrade, graded, weight, sectionId, type, markSchemeId, gradingBoundaryId, inProgress } = input;
281
+ const { classId, title, instructions, dueDate, files, existingFileIds, aiPolicyLevel, acceptFiles, acceptExtendedResponse, acceptWorksheet, worksheetIds, gradeWithAI, studentIds, maxGrade, graded, weight, sectionId, type, markSchemeId, gradingBoundaryId, inProgress } = input;
276
282
  if (!ctx.user) {
277
283
  throw new TRPCError({
278
284
  code: "UNAUTHORIZED",
@@ -322,10 +328,21 @@ export const assignmentRouter = createTRPCRouter({
322
328
  graded,
323
329
  weight,
324
330
  type,
331
+ ...(aiPolicyLevel !== undefined && { aiPolicyLevel }),
325
332
  acceptFiles,
326
333
  acceptExtendedResponse,
327
334
  acceptWorksheet,
335
+ ...(worksheetIds && {
336
+ worksheets: {
337
+ connect: worksheetIds.map(id => ({ id }))
338
+ }
339
+ }),
328
340
  gradeWithAI,
341
+ ...(studentIds && {
342
+ assignedTo: {
343
+ connect: studentIds.map(id => ({ id }))
344
+ }
345
+ }),
329
346
  order: 1,
330
347
  inProgress: inProgress || false,
331
348
  class: {
@@ -453,7 +470,7 @@ export const assignmentRouter = createTRPCRouter({
453
470
  update: protectedProcedure
454
471
  .input(updateAssignmentSchema)
455
472
  .mutation(async ({ ctx, input }) => {
456
- const { id, title, instructions, dueDate, files, existingFileIds, maxGrade, graded, weight, sectionId, type, inProgress, acceptFiles, acceptExtendedResponse, acceptWorksheet, gradeWithAI } = input;
473
+ const { id, title, instructions, dueDate, files, existingFileIds, worksheetIds, aiPolicyLevel, maxGrade, graded, weight, sectionId, type, inProgress, acceptFiles, acceptExtendedResponse, acceptWorksheet, gradeWithAI, studentIds } = input;
457
474
  if (!ctx.user) {
458
475
  throw new TRPCError({
459
476
  code: "UNAUTHORIZED",
@@ -539,6 +556,12 @@ export const assignmentRouter = createTRPCRouter({
539
556
  ...(acceptExtendedResponse !== undefined && { acceptExtendedResponse }),
540
557
  ...(acceptWorksheet !== undefined && { acceptWorksheet }),
541
558
  ...(gradeWithAI !== undefined && { gradeWithAI }),
559
+ ...(studentIds && {
560
+ assignedTo: {
561
+ connect: studentIds.map(id => ({ id }))
562
+ }
563
+ }),
564
+ ...(aiPolicyLevel !== undefined && { aiPolicyLevel }),
542
565
  ...(sectionId !== undefined && {
543
566
  section: sectionId ? {
544
567
  connect: { id: sectionId }
@@ -546,6 +569,11 @@ export const assignmentRouter = createTRPCRouter({
546
569
  disconnect: true
547
570
  }
548
571
  }),
572
+ ...(worksheetIds && {
573
+ worksheets: {
574
+ connect: worksheetIds.map(id => ({ id }))
575
+ }
576
+ }),
549
577
  ...(uploadedFiles.length > 0 && {
550
578
  attachments: {
551
579
  create: uploadedFiles.map(file => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studious-lms/server",
3
- "version": "1.2.31",
3
+ "version": "1.2.32",
4
4
  "description": "Backend server for Studious application",
5
5
  "main": "dist/exportType.js",
6
6
  "types": "dist/exportType.d.ts",
@@ -25,10 +25,13 @@ const createAssignmentSchema = z.object({
25
25
  dueDate: z.string(),
26
26
  files: z.array(directFileSchema).optional(), // Use direct file schema
27
27
  existingFileIds: z.array(z.string()).optional(),
28
+ aiPolicyLevel: z.number().default(0),
28
29
  acceptFiles: z.boolean().optional(),
29
30
  acceptExtendedResponse: z.boolean().optional(),
30
31
  acceptWorksheet: z.boolean().optional(),
32
+ worksheetIds: z.array(z.string()).optional(),
31
33
  gradeWithAI: z.boolean().optional(),
34
+ studentIds: z.array(z.string()).optional(),
32
35
  maxGrade: z.number().optional(),
33
36
  graded: z.boolean().optional(),
34
37
  weight: z.number().optional(),
@@ -46,10 +49,13 @@ const updateAssignmentSchema = z.object({
46
49
  instructions: z.string().optional(),
47
50
  dueDate: z.string().optional(),
48
51
  files: z.array(directFileSchema).optional(), // Use direct file schema
52
+ aiPolicyLevel: z.number().default(0),
49
53
  acceptFiles: z.boolean().optional(),
50
54
  acceptExtendedResponse: z.boolean().optional(),
51
55
  acceptWorksheet: z.boolean().optional(),
56
+ worksheetIds: z.array(z.string()).optional(),
52
57
  gradeWithAI: z.boolean().optional(),
58
+ studentIds: z.array(z.string()).optional(),
53
59
  existingFileIds: z.array(z.string()).optional(),
54
60
  removedAttachments: z.array(z.string()).optional(),
55
61
  maxGrade: z.number().optional(),
@@ -315,7 +321,7 @@ export const assignmentRouter = createTRPCRouter({
315
321
  create: protectedProcedure
316
322
  .input(createAssignmentSchema)
317
323
  .mutation(async ({ ctx, input }) => {
318
- const { classId, title, instructions, dueDate, files, existingFileIds, acceptFiles, acceptExtendedResponse, acceptWorksheet, gradeWithAI, maxGrade, graded, weight, sectionId, type, markSchemeId, gradingBoundaryId, inProgress } = input;
324
+ const { classId, title, instructions, dueDate, files, existingFileIds, aiPolicyLevel, acceptFiles, acceptExtendedResponse, acceptWorksheet, worksheetIds, gradeWithAI, studentIds, maxGrade, graded, weight, sectionId, type, markSchemeId, gradingBoundaryId, inProgress } = input;
319
325
 
320
326
  if (!ctx.user) {
321
327
  throw new TRPCError({
@@ -372,10 +378,21 @@ export const assignmentRouter = createTRPCRouter({
372
378
  graded,
373
379
  weight,
374
380
  type,
381
+ ...(aiPolicyLevel !== undefined && { aiPolicyLevel }),
375
382
  acceptFiles,
376
383
  acceptExtendedResponse,
377
384
  acceptWorksheet,
385
+ ...(worksheetIds && {
386
+ worksheets: {
387
+ connect: worksheetIds.map(id => ({ id }))
388
+ }
389
+ }),
378
390
  gradeWithAI,
391
+ ...(studentIds && {
392
+ assignedTo: {
393
+ connect: studentIds.map(id => ({ id }))
394
+ }
395
+ }),
379
396
  order: 1,
380
397
  inProgress: inProgress || false,
381
398
  class: {
@@ -511,7 +528,7 @@ export const assignmentRouter = createTRPCRouter({
511
528
  update: protectedProcedure
512
529
  .input(updateAssignmentSchema)
513
530
  .mutation(async ({ ctx, input }) => {
514
- const { id, title, instructions, dueDate, files, existingFileIds, maxGrade, graded, weight, sectionId, type, inProgress, acceptFiles, acceptExtendedResponse, acceptWorksheet, gradeWithAI } = input;
531
+ const { id, title, instructions, dueDate, files, existingFileIds, worksheetIds, aiPolicyLevel, maxGrade, graded, weight, sectionId, type, inProgress, acceptFiles, acceptExtendedResponse, acceptWorksheet, gradeWithAI, studentIds } = input;
515
532
 
516
533
  if (!ctx.user) {
517
534
  throw new TRPCError({
@@ -606,6 +623,12 @@ export const assignmentRouter = createTRPCRouter({
606
623
  ...(acceptExtendedResponse !== undefined && { acceptExtendedResponse }),
607
624
  ...(acceptWorksheet !== undefined && { acceptWorksheet }),
608
625
  ...(gradeWithAI !== undefined && { gradeWithAI }),
626
+ ...(studentIds && {
627
+ assignedTo: {
628
+ connect: studentIds.map(id => ({ id }))
629
+ }
630
+ }),
631
+ ...(aiPolicyLevel !== undefined && { aiPolicyLevel }),
609
632
  ...(sectionId !== undefined && {
610
633
  section: sectionId ? {
611
634
  connect: { id: sectionId }
@@ -613,6 +636,11 @@ export const assignmentRouter = createTRPCRouter({
613
636
  disconnect: true
614
637
  }
615
638
  }),
639
+ ...(worksheetIds && {
640
+ worksheets: {
641
+ connect: worksheetIds.map(id => ({ id }))
642
+ }
643
+ }),
616
644
  ...(uploadedFiles.length > 0 && {
617
645
  attachments: {
618
646
  create: uploadedFiles.map(file => ({