@studious-lms/server 1.1.7 → 1.1.9

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.
@@ -64,11 +64,13 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
64
64
  type: import(".prisma/client").$Enums.AssignmentType;
65
65
  id: string;
66
66
  title: string;
67
+ dueDate: Date;
67
68
  }[];
68
69
  assignments: {
69
70
  type: import(".prisma/client").$Enums.AssignmentType;
70
71
  id: string;
71
72
  title: string;
73
+ dueDate: Date;
72
74
  }[];
73
75
  color: string | null;
74
76
  }[];
@@ -319,7 +321,15 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
319
321
  id: string;
320
322
  title: string;
321
323
  maxGrade: number | null;
324
+ markSchemeId: string | null;
325
+ gradingBoundaryId: string | null;
322
326
  weight: number;
327
+ markScheme: {
328
+ structured: string;
329
+ } | null;
330
+ gradingBoundary: {
331
+ structured: string;
332
+ } | null;
323
333
  };
324
334
  } & {
325
335
  id: string;
@@ -3329,6 +3339,244 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3329
3339
  meta: object;
3330
3340
  }>;
3331
3341
  }>>;
3342
+ conversation: import("@trpc/server").TRPCBuiltRouter<{
3343
+ ctx: import("../trpc.js").Context;
3344
+ meta: object;
3345
+ errorShape: {
3346
+ data: {
3347
+ zodError: import("zod").typeToFlattenedError<any, string> | null;
3348
+ prismaError: import("../utils/prismaErrorHandler.js").PrismaErrorInfo | null;
3349
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
3350
+ httpStatus: number;
3351
+ path?: string;
3352
+ stack?: string;
3353
+ };
3354
+ message: string;
3355
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
3356
+ };
3357
+ transformer: false;
3358
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
3359
+ list: import("@trpc/server").TRPCQueryProcedure<{
3360
+ input: void;
3361
+ output: {
3362
+ id: string;
3363
+ type: import(".prisma/client").$Enums.ConversationType;
3364
+ name: string | null;
3365
+ createdAt: Date;
3366
+ updatedAt: Date;
3367
+ members: ({
3368
+ user: {
3369
+ id: string;
3370
+ username: string;
3371
+ profile: {
3372
+ displayName: string | null;
3373
+ profilePicture: string | null;
3374
+ } | null;
3375
+ };
3376
+ } & {
3377
+ id: string;
3378
+ role: import(".prisma/client").$Enums.ConversationRole;
3379
+ userId: string;
3380
+ conversationId: string;
3381
+ joinedAt: Date;
3382
+ lastViewedAt: Date | null;
3383
+ lastViewedMentionAt: Date | null;
3384
+ })[];
3385
+ lastMessage: {
3386
+ sender: {
3387
+ id: string;
3388
+ username: string;
3389
+ profile: {
3390
+ displayName: string | null;
3391
+ } | null;
3392
+ };
3393
+ } & {
3394
+ id: string;
3395
+ content: string;
3396
+ createdAt: Date;
3397
+ senderId: string;
3398
+ conversationId: string;
3399
+ };
3400
+ unreadCount: number;
3401
+ unreadMentionCount: number;
3402
+ }[];
3403
+ meta: object;
3404
+ }>;
3405
+ create: import("@trpc/server").TRPCMutationProcedure<{
3406
+ input: {
3407
+ type: "DM" | "GROUP";
3408
+ memberIds: string[];
3409
+ name?: string | undefined;
3410
+ };
3411
+ output: {
3412
+ members: ({
3413
+ user: {
3414
+ id: string;
3415
+ username: string;
3416
+ profile: {
3417
+ displayName: string | null;
3418
+ profilePicture: string | null;
3419
+ } | null;
3420
+ };
3421
+ } & {
3422
+ id: string;
3423
+ role: import(".prisma/client").$Enums.ConversationRole;
3424
+ userId: string;
3425
+ conversationId: string;
3426
+ joinedAt: Date;
3427
+ lastViewedAt: Date | null;
3428
+ lastViewedMentionAt: Date | null;
3429
+ })[];
3430
+ } & {
3431
+ type: import(".prisma/client").$Enums.ConversationType;
3432
+ id: string;
3433
+ name: string | null;
3434
+ createdAt: Date;
3435
+ updatedAt: Date;
3436
+ displayInChat: boolean;
3437
+ };
3438
+ meta: object;
3439
+ }>;
3440
+ get: import("@trpc/server").TRPCQueryProcedure<{
3441
+ input: {
3442
+ conversationId: string;
3443
+ };
3444
+ output: {
3445
+ members: ({
3446
+ user: {
3447
+ id: string;
3448
+ username: string;
3449
+ profile: {
3450
+ displayName: string | null;
3451
+ profilePicture: string | null;
3452
+ } | null;
3453
+ };
3454
+ } & {
3455
+ id: string;
3456
+ role: import(".prisma/client").$Enums.ConversationRole;
3457
+ userId: string;
3458
+ conversationId: string;
3459
+ joinedAt: Date;
3460
+ lastViewedAt: Date | null;
3461
+ lastViewedMentionAt: Date | null;
3462
+ })[];
3463
+ } & {
3464
+ type: import(".prisma/client").$Enums.ConversationType;
3465
+ id: string;
3466
+ name: string | null;
3467
+ createdAt: Date;
3468
+ updatedAt: Date;
3469
+ displayInChat: boolean;
3470
+ };
3471
+ meta: object;
3472
+ }>;
3473
+ }>>;
3474
+ message: import("@trpc/server").TRPCBuiltRouter<{
3475
+ ctx: import("../trpc.js").Context;
3476
+ meta: object;
3477
+ errorShape: {
3478
+ data: {
3479
+ zodError: import("zod").typeToFlattenedError<any, string> | null;
3480
+ prismaError: import("../utils/prismaErrorHandler.js").PrismaErrorInfo | null;
3481
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
3482
+ httpStatus: number;
3483
+ path?: string;
3484
+ stack?: string;
3485
+ };
3486
+ message: string;
3487
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
3488
+ };
3489
+ transformer: false;
3490
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
3491
+ list: import("@trpc/server").TRPCQueryProcedure<{
3492
+ input: {
3493
+ conversationId: string;
3494
+ cursor?: string | undefined;
3495
+ limit?: number | undefined;
3496
+ };
3497
+ output: {
3498
+ messages: {
3499
+ id: string;
3500
+ content: string;
3501
+ senderId: string;
3502
+ conversationId: string;
3503
+ createdAt: Date;
3504
+ sender: {
3505
+ id: string;
3506
+ username: string;
3507
+ profile: {
3508
+ displayName: string | null;
3509
+ profilePicture: string | null;
3510
+ } | null;
3511
+ };
3512
+ mentions: {
3513
+ user: {
3514
+ id: string;
3515
+ username: string;
3516
+ profile: {
3517
+ displayName: string | null;
3518
+ } | null;
3519
+ };
3520
+ }[];
3521
+ mentionsMe: boolean;
3522
+ }[];
3523
+ nextCursor: string | undefined;
3524
+ };
3525
+ meta: object;
3526
+ }>;
3527
+ send: import("@trpc/server").TRPCMutationProcedure<{
3528
+ input: {
3529
+ content: string;
3530
+ conversationId: string;
3531
+ mentionedUserIds?: string[] | undefined;
3532
+ };
3533
+ output: {
3534
+ id: string;
3535
+ content: string;
3536
+ senderId: string;
3537
+ conversationId: string;
3538
+ createdAt: Date;
3539
+ sender: {
3540
+ id: string;
3541
+ username: string;
3542
+ profile: {
3543
+ displayName: string | null;
3544
+ profilePicture: string | null;
3545
+ } | null;
3546
+ };
3547
+ mentionedUserIds: string[];
3548
+ };
3549
+ meta: object;
3550
+ }>;
3551
+ markAsRead: import("@trpc/server").TRPCMutationProcedure<{
3552
+ input: {
3553
+ conversationId: string;
3554
+ };
3555
+ output: {
3556
+ success: boolean;
3557
+ };
3558
+ meta: object;
3559
+ }>;
3560
+ markMentionsAsRead: import("@trpc/server").TRPCMutationProcedure<{
3561
+ input: {
3562
+ conversationId: string;
3563
+ };
3564
+ output: {
3565
+ success: boolean;
3566
+ };
3567
+ meta: object;
3568
+ }>;
3569
+ getUnreadCount: import("@trpc/server").TRPCQueryProcedure<{
3570
+ input: {
3571
+ conversationId: string;
3572
+ };
3573
+ output: {
3574
+ unreadCount: number;
3575
+ unreadMentionCount: number;
3576
+ };
3577
+ meta: object;
3578
+ }>;
3579
+ }>>;
3332
3580
  }>>;
3333
3581
  export type AppRouter = typeof appRouter;
3334
3582
  export type RouterInputs = inferRouterInputs<AppRouter>;
@@ -3398,11 +3646,13 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
3398
3646
  type: import(".prisma/client").$Enums.AssignmentType;
3399
3647
  id: string;
3400
3648
  title: string;
3649
+ dueDate: Date;
3401
3650
  }[];
3402
3651
  assignments: {
3403
3652
  type: import(".prisma/client").$Enums.AssignmentType;
3404
3653
  id: string;
3405
3654
  title: string;
3655
+ dueDate: Date;
3406
3656
  }[];
3407
3657
  color: string | null;
3408
3658
  }[];
@@ -3653,7 +3903,15 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
3653
3903
  id: string;
3654
3904
  title: string;
3655
3905
  maxGrade: number | null;
3906
+ markSchemeId: string | null;
3907
+ gradingBoundaryId: string | null;
3656
3908
  weight: number;
3909
+ markScheme: {
3910
+ structured: string;
3911
+ } | null;
3912
+ gradingBoundary: {
3913
+ structured: string;
3914
+ } | null;
3657
3915
  };
3658
3916
  } & {
3659
3917
  id: string;
@@ -6663,5 +6921,243 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
6663
6921
  meta: object;
6664
6922
  }>;
6665
6923
  }>>;
6924
+ conversation: import("@trpc/server").TRPCBuiltRouter<{
6925
+ ctx: import("../trpc.js").Context;
6926
+ meta: object;
6927
+ errorShape: {
6928
+ data: {
6929
+ zodError: import("zod").typeToFlattenedError<any, string> | null;
6930
+ prismaError: import("../utils/prismaErrorHandler.js").PrismaErrorInfo | null;
6931
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
6932
+ httpStatus: number;
6933
+ path?: string;
6934
+ stack?: string;
6935
+ };
6936
+ message: string;
6937
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
6938
+ };
6939
+ transformer: false;
6940
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
6941
+ list: import("@trpc/server").TRPCQueryProcedure<{
6942
+ input: void;
6943
+ output: {
6944
+ id: string;
6945
+ type: import(".prisma/client").$Enums.ConversationType;
6946
+ name: string | null;
6947
+ createdAt: Date;
6948
+ updatedAt: Date;
6949
+ members: ({
6950
+ user: {
6951
+ id: string;
6952
+ username: string;
6953
+ profile: {
6954
+ displayName: string | null;
6955
+ profilePicture: string | null;
6956
+ } | null;
6957
+ };
6958
+ } & {
6959
+ id: string;
6960
+ role: import(".prisma/client").$Enums.ConversationRole;
6961
+ userId: string;
6962
+ conversationId: string;
6963
+ joinedAt: Date;
6964
+ lastViewedAt: Date | null;
6965
+ lastViewedMentionAt: Date | null;
6966
+ })[];
6967
+ lastMessage: {
6968
+ sender: {
6969
+ id: string;
6970
+ username: string;
6971
+ profile: {
6972
+ displayName: string | null;
6973
+ } | null;
6974
+ };
6975
+ } & {
6976
+ id: string;
6977
+ content: string;
6978
+ createdAt: Date;
6979
+ senderId: string;
6980
+ conversationId: string;
6981
+ };
6982
+ unreadCount: number;
6983
+ unreadMentionCount: number;
6984
+ }[];
6985
+ meta: object;
6986
+ }>;
6987
+ create: import("@trpc/server").TRPCMutationProcedure<{
6988
+ input: {
6989
+ type: "DM" | "GROUP";
6990
+ memberIds: string[];
6991
+ name?: string | undefined;
6992
+ };
6993
+ output: {
6994
+ members: ({
6995
+ user: {
6996
+ id: string;
6997
+ username: string;
6998
+ profile: {
6999
+ displayName: string | null;
7000
+ profilePicture: string | null;
7001
+ } | null;
7002
+ };
7003
+ } & {
7004
+ id: string;
7005
+ role: import(".prisma/client").$Enums.ConversationRole;
7006
+ userId: string;
7007
+ conversationId: string;
7008
+ joinedAt: Date;
7009
+ lastViewedAt: Date | null;
7010
+ lastViewedMentionAt: Date | null;
7011
+ })[];
7012
+ } & {
7013
+ type: import(".prisma/client").$Enums.ConversationType;
7014
+ id: string;
7015
+ name: string | null;
7016
+ createdAt: Date;
7017
+ updatedAt: Date;
7018
+ displayInChat: boolean;
7019
+ };
7020
+ meta: object;
7021
+ }>;
7022
+ get: import("@trpc/server").TRPCQueryProcedure<{
7023
+ input: {
7024
+ conversationId: string;
7025
+ };
7026
+ output: {
7027
+ members: ({
7028
+ user: {
7029
+ id: string;
7030
+ username: string;
7031
+ profile: {
7032
+ displayName: string | null;
7033
+ profilePicture: string | null;
7034
+ } | null;
7035
+ };
7036
+ } & {
7037
+ id: string;
7038
+ role: import(".prisma/client").$Enums.ConversationRole;
7039
+ userId: string;
7040
+ conversationId: string;
7041
+ joinedAt: Date;
7042
+ lastViewedAt: Date | null;
7043
+ lastViewedMentionAt: Date | null;
7044
+ })[];
7045
+ } & {
7046
+ type: import(".prisma/client").$Enums.ConversationType;
7047
+ id: string;
7048
+ name: string | null;
7049
+ createdAt: Date;
7050
+ updatedAt: Date;
7051
+ displayInChat: boolean;
7052
+ };
7053
+ meta: object;
7054
+ }>;
7055
+ }>>;
7056
+ message: import("@trpc/server").TRPCBuiltRouter<{
7057
+ ctx: import("../trpc.js").Context;
7058
+ meta: object;
7059
+ errorShape: {
7060
+ data: {
7061
+ zodError: import("zod").typeToFlattenedError<any, string> | null;
7062
+ prismaError: import("../utils/prismaErrorHandler.js").PrismaErrorInfo | null;
7063
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
7064
+ httpStatus: number;
7065
+ path?: string;
7066
+ stack?: string;
7067
+ };
7068
+ message: string;
7069
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
7070
+ };
7071
+ transformer: false;
7072
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
7073
+ list: import("@trpc/server").TRPCQueryProcedure<{
7074
+ input: {
7075
+ conversationId: string;
7076
+ cursor?: string | undefined;
7077
+ limit?: number | undefined;
7078
+ };
7079
+ output: {
7080
+ messages: {
7081
+ id: string;
7082
+ content: string;
7083
+ senderId: string;
7084
+ conversationId: string;
7085
+ createdAt: Date;
7086
+ sender: {
7087
+ id: string;
7088
+ username: string;
7089
+ profile: {
7090
+ displayName: string | null;
7091
+ profilePicture: string | null;
7092
+ } | null;
7093
+ };
7094
+ mentions: {
7095
+ user: {
7096
+ id: string;
7097
+ username: string;
7098
+ profile: {
7099
+ displayName: string | null;
7100
+ } | null;
7101
+ };
7102
+ }[];
7103
+ mentionsMe: boolean;
7104
+ }[];
7105
+ nextCursor: string | undefined;
7106
+ };
7107
+ meta: object;
7108
+ }>;
7109
+ send: import("@trpc/server").TRPCMutationProcedure<{
7110
+ input: {
7111
+ content: string;
7112
+ conversationId: string;
7113
+ mentionedUserIds?: string[] | undefined;
7114
+ };
7115
+ output: {
7116
+ id: string;
7117
+ content: string;
7118
+ senderId: string;
7119
+ conversationId: string;
7120
+ createdAt: Date;
7121
+ sender: {
7122
+ id: string;
7123
+ username: string;
7124
+ profile: {
7125
+ displayName: string | null;
7126
+ profilePicture: string | null;
7127
+ } | null;
7128
+ };
7129
+ mentionedUserIds: string[];
7130
+ };
7131
+ meta: object;
7132
+ }>;
7133
+ markAsRead: import("@trpc/server").TRPCMutationProcedure<{
7134
+ input: {
7135
+ conversationId: string;
7136
+ };
7137
+ output: {
7138
+ success: boolean;
7139
+ };
7140
+ meta: object;
7141
+ }>;
7142
+ markMentionsAsRead: import("@trpc/server").TRPCMutationProcedure<{
7143
+ input: {
7144
+ conversationId: string;
7145
+ };
7146
+ output: {
7147
+ success: boolean;
7148
+ };
7149
+ meta: object;
7150
+ }>;
7151
+ getUnreadCount: import("@trpc/server").TRPCQueryProcedure<{
7152
+ input: {
7153
+ conversationId: string;
7154
+ };
7155
+ output: {
7156
+ unreadCount: number;
7157
+ unreadMentionCount: number;
7158
+ };
7159
+ meta: object;
7160
+ }>;
7161
+ }>>;
6666
7162
  }>>;
6667
7163
  //# sourceMappingURL=_app.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"_app.d.ts","sourceRoot":"","sources":["../../src/routers/_app.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAU1E,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiC,CAAC"}
@@ -12,6 +12,8 @@ import { agendaRouter } from "./agenda.js";
12
12
  import { fileRouter } from "./file.js";
13
13
  import { folderRouter } from "./folder.js";
14
14
  import { notificationRouter } from "./notifications.js";
15
+ import { conversationRouter } from "./conversation.js";
16
+ import { messageRouter } from "./message.js";
15
17
  export const appRouter = createTRPCRouter({
16
18
  class: classRouter,
17
19
  announcement: announcementRouter,
@@ -25,6 +27,8 @@ export const appRouter = createTRPCRouter({
25
27
  file: fileRouter,
26
28
  folder: folderRouter,
27
29
  notification: notificationRouter,
30
+ conversation: conversationRouter,
31
+ message: messageRouter,
28
32
  });
29
33
  // Export caller
30
34
  export const createCaller = createCallerFactory(appRouter);
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/routers/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAwBxB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiTrB,CAAC"}
1
+ {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/routers/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAwBxB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkTrB,CAAC"}
@@ -47,11 +47,13 @@ export declare const classRouter: import("@trpc/server").TRPCBuiltRouter<{
47
47
  type: import(".prisma/client").$Enums.AssignmentType;
48
48
  id: string;
49
49
  title: string;
50
+ dueDate: Date;
50
51
  }[];
51
52
  assignments: {
52
53
  type: import(".prisma/client").$Enums.AssignmentType;
53
54
  id: string;
54
55
  title: string;
56
+ dueDate: Date;
55
57
  }[];
56
58
  color: string | null;
57
59
  }[];
@@ -302,7 +304,15 @@ export declare const classRouter: import("@trpc/server").TRPCBuiltRouter<{
302
304
  id: string;
303
305
  title: string;
304
306
  maxGrade: number | null;
307
+ markSchemeId: string | null;
308
+ gradingBoundaryId: string | null;
305
309
  weight: number;
310
+ markScheme: {
311
+ structured: string;
312
+ } | null;
313
+ gradingBoundary: {
314
+ structured: string;
315
+ } | null;
306
316
  };
307
317
  } & {
308
318
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6hCtB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0iCtB,CAAC"}
@@ -52,6 +52,7 @@ export const classRouter = createTRPCRouter({
52
52
  id: true,
53
53
  title: true,
54
54
  type: true,
55
+ dueDate: true,
55
56
  },
56
57
  },
57
58
  },
@@ -507,6 +508,18 @@ export const classRouter = createTRPCRouter({
507
508
  title: true,
508
509
  maxGrade: true,
509
510
  weight: true,
511
+ markSchemeId: true,
512
+ markScheme: {
513
+ select: {
514
+ structured: true,
515
+ }
516
+ },
517
+ gradingBoundaryId: true,
518
+ gradingBoundary: {
519
+ select: {
520
+ structured: true,
521
+ }
522
+ },
510
523
  }
511
524
  },
512
525
  }