@studious-lms/server 1.1.8 → 1.1.10

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
  }[];
@@ -3337,6 +3339,278 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3337
3339
  meta: object;
3338
3340
  }>;
3339
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
+ update: import("@trpc/server").TRPCMutationProcedure<{
3552
+ input: {
3553
+ content: string;
3554
+ messageId: string;
3555
+ mentionedUserIds?: string[] | undefined;
3556
+ };
3557
+ output: {
3558
+ id: string;
3559
+ content: string;
3560
+ senderId: string;
3561
+ conversationId: string;
3562
+ createdAt: Date;
3563
+ sender: {
3564
+ id: string;
3565
+ username: string;
3566
+ profile: {
3567
+ displayName: string | null;
3568
+ profilePicture: string | null;
3569
+ } | null;
3570
+ };
3571
+ mentionedUserIds: string[];
3572
+ };
3573
+ meta: object;
3574
+ }>;
3575
+ delete: import("@trpc/server").TRPCMutationProcedure<{
3576
+ input: {
3577
+ messageId: string;
3578
+ };
3579
+ output: {
3580
+ success: boolean;
3581
+ messageId: string;
3582
+ };
3583
+ meta: object;
3584
+ }>;
3585
+ markAsRead: import("@trpc/server").TRPCMutationProcedure<{
3586
+ input: {
3587
+ conversationId: string;
3588
+ };
3589
+ output: {
3590
+ success: boolean;
3591
+ };
3592
+ meta: object;
3593
+ }>;
3594
+ markMentionsAsRead: import("@trpc/server").TRPCMutationProcedure<{
3595
+ input: {
3596
+ conversationId: string;
3597
+ };
3598
+ output: {
3599
+ success: boolean;
3600
+ };
3601
+ meta: object;
3602
+ }>;
3603
+ getUnreadCount: import("@trpc/server").TRPCQueryProcedure<{
3604
+ input: {
3605
+ conversationId: string;
3606
+ };
3607
+ output: {
3608
+ unreadCount: number;
3609
+ unreadMentionCount: number;
3610
+ };
3611
+ meta: object;
3612
+ }>;
3613
+ }>>;
3340
3614
  }>>;
3341
3615
  export type AppRouter = typeof appRouter;
3342
3616
  export type RouterInputs = inferRouterInputs<AppRouter>;
@@ -3406,11 +3680,13 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
3406
3680
  type: import(".prisma/client").$Enums.AssignmentType;
3407
3681
  id: string;
3408
3682
  title: string;
3683
+ dueDate: Date;
3409
3684
  }[];
3410
3685
  assignments: {
3411
3686
  type: import(".prisma/client").$Enums.AssignmentType;
3412
3687
  id: string;
3413
3688
  title: string;
3689
+ dueDate: Date;
3414
3690
  }[];
3415
3691
  color: string | null;
3416
3692
  }[];
@@ -6679,5 +6955,277 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
6679
6955
  meta: object;
6680
6956
  }>;
6681
6957
  }>>;
6958
+ conversation: import("@trpc/server").TRPCBuiltRouter<{
6959
+ ctx: import("../trpc.js").Context;
6960
+ meta: object;
6961
+ errorShape: {
6962
+ data: {
6963
+ zodError: import("zod").typeToFlattenedError<any, string> | null;
6964
+ prismaError: import("../utils/prismaErrorHandler.js").PrismaErrorInfo | null;
6965
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
6966
+ httpStatus: number;
6967
+ path?: string;
6968
+ stack?: string;
6969
+ };
6970
+ message: string;
6971
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
6972
+ };
6973
+ transformer: false;
6974
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
6975
+ list: import("@trpc/server").TRPCQueryProcedure<{
6976
+ input: void;
6977
+ output: {
6978
+ id: string;
6979
+ type: import(".prisma/client").$Enums.ConversationType;
6980
+ name: string | null;
6981
+ createdAt: Date;
6982
+ updatedAt: Date;
6983
+ members: ({
6984
+ user: {
6985
+ id: string;
6986
+ username: string;
6987
+ profile: {
6988
+ displayName: string | null;
6989
+ profilePicture: string | null;
6990
+ } | null;
6991
+ };
6992
+ } & {
6993
+ id: string;
6994
+ role: import(".prisma/client").$Enums.ConversationRole;
6995
+ userId: string;
6996
+ conversationId: string;
6997
+ joinedAt: Date;
6998
+ lastViewedAt: Date | null;
6999
+ lastViewedMentionAt: Date | null;
7000
+ })[];
7001
+ lastMessage: {
7002
+ sender: {
7003
+ id: string;
7004
+ username: string;
7005
+ profile: {
7006
+ displayName: string | null;
7007
+ } | null;
7008
+ };
7009
+ } & {
7010
+ id: string;
7011
+ content: string;
7012
+ createdAt: Date;
7013
+ senderId: string;
7014
+ conversationId: string;
7015
+ };
7016
+ unreadCount: number;
7017
+ unreadMentionCount: number;
7018
+ }[];
7019
+ meta: object;
7020
+ }>;
7021
+ create: import("@trpc/server").TRPCMutationProcedure<{
7022
+ input: {
7023
+ type: "DM" | "GROUP";
7024
+ memberIds: string[];
7025
+ name?: string | undefined;
7026
+ };
7027
+ output: {
7028
+ members: ({
7029
+ user: {
7030
+ id: string;
7031
+ username: string;
7032
+ profile: {
7033
+ displayName: string | null;
7034
+ profilePicture: string | null;
7035
+ } | null;
7036
+ };
7037
+ } & {
7038
+ id: string;
7039
+ role: import(".prisma/client").$Enums.ConversationRole;
7040
+ userId: string;
7041
+ conversationId: string;
7042
+ joinedAt: Date;
7043
+ lastViewedAt: Date | null;
7044
+ lastViewedMentionAt: Date | null;
7045
+ })[];
7046
+ } & {
7047
+ type: import(".prisma/client").$Enums.ConversationType;
7048
+ id: string;
7049
+ name: string | null;
7050
+ createdAt: Date;
7051
+ updatedAt: Date;
7052
+ displayInChat: boolean;
7053
+ };
7054
+ meta: object;
7055
+ }>;
7056
+ get: import("@trpc/server").TRPCQueryProcedure<{
7057
+ input: {
7058
+ conversationId: string;
7059
+ };
7060
+ output: {
7061
+ members: ({
7062
+ user: {
7063
+ id: string;
7064
+ username: string;
7065
+ profile: {
7066
+ displayName: string | null;
7067
+ profilePicture: string | null;
7068
+ } | null;
7069
+ };
7070
+ } & {
7071
+ id: string;
7072
+ role: import(".prisma/client").$Enums.ConversationRole;
7073
+ userId: string;
7074
+ conversationId: string;
7075
+ joinedAt: Date;
7076
+ lastViewedAt: Date | null;
7077
+ lastViewedMentionAt: Date | null;
7078
+ })[];
7079
+ } & {
7080
+ type: import(".prisma/client").$Enums.ConversationType;
7081
+ id: string;
7082
+ name: string | null;
7083
+ createdAt: Date;
7084
+ updatedAt: Date;
7085
+ displayInChat: boolean;
7086
+ };
7087
+ meta: object;
7088
+ }>;
7089
+ }>>;
7090
+ message: import("@trpc/server").TRPCBuiltRouter<{
7091
+ ctx: import("../trpc.js").Context;
7092
+ meta: object;
7093
+ errorShape: {
7094
+ data: {
7095
+ zodError: import("zod").typeToFlattenedError<any, string> | null;
7096
+ prismaError: import("../utils/prismaErrorHandler.js").PrismaErrorInfo | null;
7097
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
7098
+ httpStatus: number;
7099
+ path?: string;
7100
+ stack?: string;
7101
+ };
7102
+ message: string;
7103
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
7104
+ };
7105
+ transformer: false;
7106
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
7107
+ list: import("@trpc/server").TRPCQueryProcedure<{
7108
+ input: {
7109
+ conversationId: string;
7110
+ cursor?: string | undefined;
7111
+ limit?: number | undefined;
7112
+ };
7113
+ output: {
7114
+ messages: {
7115
+ id: string;
7116
+ content: string;
7117
+ senderId: string;
7118
+ conversationId: string;
7119
+ createdAt: Date;
7120
+ sender: {
7121
+ id: string;
7122
+ username: string;
7123
+ profile: {
7124
+ displayName: string | null;
7125
+ profilePicture: string | null;
7126
+ } | null;
7127
+ };
7128
+ mentions: {
7129
+ user: {
7130
+ id: string;
7131
+ username: string;
7132
+ profile: {
7133
+ displayName: string | null;
7134
+ } | null;
7135
+ };
7136
+ }[];
7137
+ mentionsMe: boolean;
7138
+ }[];
7139
+ nextCursor: string | undefined;
7140
+ };
7141
+ meta: object;
7142
+ }>;
7143
+ send: import("@trpc/server").TRPCMutationProcedure<{
7144
+ input: {
7145
+ content: string;
7146
+ conversationId: string;
7147
+ mentionedUserIds?: string[] | undefined;
7148
+ };
7149
+ output: {
7150
+ id: string;
7151
+ content: string;
7152
+ senderId: string;
7153
+ conversationId: string;
7154
+ createdAt: Date;
7155
+ sender: {
7156
+ id: string;
7157
+ username: string;
7158
+ profile: {
7159
+ displayName: string | null;
7160
+ profilePicture: string | null;
7161
+ } | null;
7162
+ };
7163
+ mentionedUserIds: string[];
7164
+ };
7165
+ meta: object;
7166
+ }>;
7167
+ update: import("@trpc/server").TRPCMutationProcedure<{
7168
+ input: {
7169
+ content: string;
7170
+ messageId: string;
7171
+ mentionedUserIds?: string[] | undefined;
7172
+ };
7173
+ output: {
7174
+ id: string;
7175
+ content: string;
7176
+ senderId: string;
7177
+ conversationId: string;
7178
+ createdAt: Date;
7179
+ sender: {
7180
+ id: string;
7181
+ username: string;
7182
+ profile: {
7183
+ displayName: string | null;
7184
+ profilePicture: string | null;
7185
+ } | null;
7186
+ };
7187
+ mentionedUserIds: string[];
7188
+ };
7189
+ meta: object;
7190
+ }>;
7191
+ delete: import("@trpc/server").TRPCMutationProcedure<{
7192
+ input: {
7193
+ messageId: string;
7194
+ };
7195
+ output: {
7196
+ success: boolean;
7197
+ messageId: string;
7198
+ };
7199
+ meta: object;
7200
+ }>;
7201
+ markAsRead: import("@trpc/server").TRPCMutationProcedure<{
7202
+ input: {
7203
+ conversationId: string;
7204
+ };
7205
+ output: {
7206
+ success: boolean;
7207
+ };
7208
+ meta: object;
7209
+ }>;
7210
+ markMentionsAsRead: import("@trpc/server").TRPCMutationProcedure<{
7211
+ input: {
7212
+ conversationId: string;
7213
+ };
7214
+ output: {
7215
+ success: boolean;
7216
+ };
7217
+ meta: object;
7218
+ }>;
7219
+ getUnreadCount: import("@trpc/server").TRPCQueryProcedure<{
7220
+ input: {
7221
+ conversationId: string;
7222
+ };
7223
+ output: {
7224
+ unreadCount: number;
7225
+ unreadMentionCount: number;
7226
+ };
7227
+ meta: object;
7228
+ }>;
7229
+ }>>;
6682
7230
  }>>;
6683
7231
  //# sourceMappingURL=_app.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"_app.d.ts","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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
  }[];
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyiCtB,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
  },