@studious-lms/server 1.1.6 → 1.1.8

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.
@@ -45,11 +45,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
45
45
  type: import(".prisma/client").$Enums.AssignmentType;
46
46
  id: string;
47
47
  title: string;
48
+ dueDate: Date;
48
49
  }[];
49
50
  assignments: {
50
51
  type: import(".prisma/client").$Enums.AssignmentType;
51
52
  id: string;
52
53
  title: string;
54
+ dueDate: Date;
53
55
  }[];
54
56
  color: string | null;
55
57
  }[];
@@ -317,7 +319,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
317
319
  id: string;
318
320
  title: string;
319
321
  maxGrade: number | null;
322
+ markSchemeId: string | null;
323
+ gradingBoundaryId: string | null;
320
324
  weight: number;
325
+ markScheme: {
326
+ structured: string;
327
+ } | null;
328
+ gradingBoundary: {
329
+ structured: string;
330
+ } | null;
321
331
  };
322
332
  } & {
323
333
  id: string;
@@ -3377,11 +3387,13 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
3377
3387
  type: import(".prisma/client").$Enums.AssignmentType;
3378
3388
  id: string;
3379
3389
  title: string;
3390
+ dueDate: Date;
3380
3391
  }[];
3381
3392
  assignments: {
3382
3393
  type: import(".prisma/client").$Enums.AssignmentType;
3383
3394
  id: string;
3384
3395
  title: string;
3396
+ dueDate: Date;
3385
3397
  }[];
3386
3398
  color: string | null;
3387
3399
  }[];
@@ -3649,7 +3661,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
3649
3661
  id: string;
3650
3662
  title: string;
3651
3663
  maxGrade: number | null;
3664
+ markSchemeId: string | null;
3665
+ gradingBoundaryId: string | null;
3652
3666
  weight: number;
3667
+ markScheme: {
3668
+ structured: string;
3669
+ } | null;
3670
+ gradingBoundary: {
3671
+ structured: string;
3672
+ } | null;
3653
3673
  };
3654
3674
  } & {
3655
3675
  id: string;
@@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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiC,CAAC"}
@@ -28,11 +28,13 @@ export declare const classRouter: import("@trpc/server").TRPCBuiltRouter<{
28
28
  type: import(".prisma/client").$Enums.AssignmentType;
29
29
  id: string;
30
30
  title: string;
31
+ dueDate: Date;
31
32
  }[];
32
33
  assignments: {
33
34
  type: import(".prisma/client").$Enums.AssignmentType;
34
35
  id: string;
35
36
  title: string;
37
+ dueDate: Date;
36
38
  }[];
37
39
  color: string | null;
38
40
  }[];
@@ -300,7 +302,15 @@ export declare const classRouter: import("@trpc/server").TRPCBuiltRouter<{
300
302
  id: string;
301
303
  title: string;
302
304
  maxGrade: number | null;
305
+ markSchemeId: string | null;
306
+ gradingBoundaryId: string | null;
303
307
  weight: number;
308
+ markScheme: {
309
+ structured: string;
310
+ } | null;
311
+ gradingBoundary: {
312
+ structured: string;
313
+ } | null;
304
314
  };
305
315
  } & {
306
316
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"class.d.ts","sourceRoot":"","sources":["../../src/routers/class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4hCtB,CAAC"}
1
+ {"version":3,"file":"class.d.ts","sourceRoot":"","sources":["../../src/routers/class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyiCtB,CAAC"}
@@ -27,6 +27,7 @@ export const classRouter = createTRPCRouter({
27
27
  id: true,
28
28
  title: true,
29
29
  type: true,
30
+ dueDate: true,
30
31
  },
31
32
  },
32
33
  },
@@ -506,6 +507,18 @@ export const classRouter = createTRPCRouter({
506
507
  title: true,
507
508
  maxGrade: true,
508
509
  weight: true,
510
+ markSchemeId: true,
511
+ markScheme: {
512
+ select: {
513
+ structured: true,
514
+ }
515
+ },
516
+ gradingBoundaryId: true,
517
+ gradingBoundary: {
518
+ select: {
519
+ structured: true,
520
+ }
521
+ },
509
522
  }
510
523
  },
511
524
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studious-lms/server",
3
- "version": "1.1.6",
3
+ "version": "1.1.8",
4
4
  "description": "Backend server for Studious application",
5
5
  "main": "dist/exportType.js",
6
6
  "types": "dist/exportType.d.ts",
@@ -29,6 +29,7 @@ export const classRouter = createTRPCRouter({
29
29
  id: true,
30
30
  title: true,
31
31
  type: true,
32
+ dueDate: true,
32
33
  },
33
34
  },
34
35
  },
@@ -546,6 +547,18 @@ export const classRouter = createTRPCRouter({
546
547
  title: true,
547
548
  maxGrade: true,
548
549
  weight: true,
550
+ markSchemeId: true,
551
+ markScheme: {
552
+ select: {
553
+ structured: true,
554
+ }
555
+ },
556
+ gradingBoundaryId: true,
557
+ gradingBoundary: {
558
+ select: {
559
+ structured: true,
560
+ }
561
+ },
549
562
  }
550
563
  },
551
564
  }