@studious-lms/server 1.1.14 → 1.1.16

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.
@@ -151,6 +151,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
151
151
  teachers: {
152
152
  id: string;
153
153
  username: string;
154
+ profile: {
155
+ displayName: string | null;
156
+ profilePicture: string | null;
157
+ profilePictureThumbnail: string | null;
158
+ } | null;
154
159
  }[];
155
160
  id: string;
156
161
  schoolId: string | null;
@@ -1060,6 +1065,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1060
1065
  annotationId: string | null;
1061
1066
  classDraftId: string | null;
1062
1067
  folderId: string | null;
1068
+ conversationId: string | null;
1069
+ messageId: string | null;
1063
1070
  } | null;
1064
1071
  thumbnailId: string | null;
1065
1072
  }[];
@@ -1215,6 +1222,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1215
1222
  annotationId: string | null;
1216
1223
  classDraftId: string | null;
1217
1224
  folderId: string | null;
1225
+ conversationId: string | null;
1226
+ messageId: string | null;
1218
1227
  }[];
1219
1228
  annotations: {
1220
1229
  path: string;
@@ -1230,6 +1239,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1230
1239
  annotationId: string | null;
1231
1240
  classDraftId: string | null;
1232
1241
  folderId: string | null;
1242
+ conversationId: string | null;
1243
+ messageId: string | null;
1233
1244
  }[];
1234
1245
  } & {
1235
1246
  id: string;
@@ -1302,6 +1313,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1302
1313
  annotationId: string | null;
1303
1314
  classDraftId: string | null;
1304
1315
  folderId: string | null;
1316
+ conversationId: string | null;
1317
+ messageId: string | null;
1305
1318
  }[];
1306
1319
  annotations: {
1307
1320
  path: string;
@@ -1317,6 +1330,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1317
1330
  annotationId: string | null;
1318
1331
  classDraftId: string | null;
1319
1332
  folderId: string | null;
1333
+ conversationId: string | null;
1334
+ messageId: string | null;
1320
1335
  }[];
1321
1336
  id: string;
1322
1337
  assignmentId: string;
@@ -1397,6 +1412,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1397
1412
  annotationId: string | null;
1398
1413
  classDraftId: string | null;
1399
1414
  folderId: string | null;
1415
+ conversationId: string | null;
1416
+ messageId: string | null;
1400
1417
  }[];
1401
1418
  annotations: {
1402
1419
  path: string;
@@ -1412,6 +1429,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1412
1429
  annotationId: string | null;
1413
1430
  classDraftId: string | null;
1414
1431
  folderId: string | null;
1432
+ conversationId: string | null;
1433
+ messageId: string | null;
1415
1434
  }[];
1416
1435
  id: string;
1417
1436
  assignmentId: string;
@@ -1501,6 +1520,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1501
1520
  annotationId: string | null;
1502
1521
  classDraftId: string | null;
1503
1522
  folderId: string | null;
1523
+ conversationId: string | null;
1524
+ messageId: string | null;
1504
1525
  }[];
1505
1526
  } & {
1506
1527
  id: string;
@@ -1588,6 +1609,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1588
1609
  annotationId: string | null;
1589
1610
  classDraftId: string | null;
1590
1611
  folderId: string | null;
1612
+ conversationId: string | null;
1613
+ messageId: string | null;
1591
1614
  } | null;
1592
1615
  } & {
1593
1616
  path: string;
@@ -1603,6 +1626,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1603
1626
  annotationId: string | null;
1604
1627
  classDraftId: string | null;
1605
1628
  folderId: string | null;
1629
+ conversationId: string | null;
1630
+ messageId: string | null;
1606
1631
  })[];
1607
1632
  id: string;
1608
1633
  assignmentId: string;
@@ -1705,6 +1730,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1705
1730
  annotationId: string | null;
1706
1731
  classDraftId: string | null;
1707
1732
  folderId: string | null;
1733
+ conversationId: string | null;
1734
+ messageId: string | null;
1708
1735
  }[];
1709
1736
  } & {
1710
1737
  id: string;
@@ -1897,6 +1924,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1897
1924
  annotationId: string | null;
1898
1925
  classDraftId: string | null;
1899
1926
  folderId: string | null;
1927
+ conversationId: string | null;
1928
+ messageId: string | null;
1900
1929
  }[];
1901
1930
  eventAttached: {
1902
1931
  id: string;
@@ -1975,6 +2004,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1975
2004
  annotationId: string | null;
1976
2005
  classDraftId: string | null;
1977
2006
  folderId: string | null;
2007
+ conversationId: string | null;
2008
+ messageId: string | null;
1978
2009
  }[];
1979
2010
  eventAttached: {
1980
2011
  id: string;
@@ -2054,6 +2085,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2054
2085
  annotationId: string | null;
2055
2086
  classDraftId: string | null;
2056
2087
  folderId: string | null;
2088
+ conversationId: string | null;
2089
+ messageId: string | null;
2057
2090
  }[];
2058
2091
  eventAttached: {
2059
2092
  id: string;
@@ -2132,6 +2165,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2132
2165
  annotationId: string | null;
2133
2166
  classDraftId: string | null;
2134
2167
  folderId: string | null;
2168
+ conversationId: string | null;
2169
+ messageId: string | null;
2135
2170
  }[];
2136
2171
  eventAttached: {
2137
2172
  id: string;
@@ -2923,6 +2958,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2923
2958
  annotationId: string | null;
2924
2959
  classDraftId: string | null;
2925
2960
  folderId: string | null;
2961
+ conversationId: string | null;
2962
+ messageId: string | null;
2926
2963
  };
2927
2964
  meta: object;
2928
2965
  }>;
@@ -2952,6 +2989,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
2952
2989
  annotationId: string | null;
2953
2990
  classDraftId: string | null;
2954
2991
  folderId: string | null;
2992
+ conversationId: string | null;
2993
+ messageId: string | null;
2955
2994
  };
2956
2995
  meta: object;
2957
2996
  }>;
@@ -3446,8 +3485,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3446
3485
  id: string;
3447
3486
  content: string;
3448
3487
  createdAt: Date;
3449
- senderId: string;
3450
3488
  conversationId: string;
3489
+ senderId: string;
3451
3490
  };
3452
3491
  unreadCount: number;
3453
3492
  unreadMentionCount: number;
@@ -3561,6 +3600,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3561
3600
  profilePicture: string | null;
3562
3601
  } | null;
3563
3602
  };
3603
+ attachments: {
3604
+ id: string;
3605
+ name: string;
3606
+ type: string;
3607
+ }[];
3564
3608
  mentions: {
3565
3609
  user: {
3566
3610
  id: string;
@@ -3826,8 +3870,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
3826
3870
  id: string;
3827
3871
  content: string;
3828
3872
  createdAt: Date;
3829
- senderId: string;
3830
3873
  conversationId: string;
3874
+ senderId: string;
3831
3875
  };
3832
3876
  messageCount: number;
3833
3877
  }[];
@@ -4023,6 +4067,11 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
4023
4067
  teachers: {
4024
4068
  id: string;
4025
4069
  username: string;
4070
+ profile: {
4071
+ displayName: string | null;
4072
+ profilePicture: string | null;
4073
+ profilePictureThumbnail: string | null;
4074
+ } | null;
4026
4075
  }[];
4027
4076
  id: string;
4028
4077
  schoolId: string | null;
@@ -4932,6 +4981,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
4932
4981
  annotationId: string | null;
4933
4982
  classDraftId: string | null;
4934
4983
  folderId: string | null;
4984
+ conversationId: string | null;
4985
+ messageId: string | null;
4935
4986
  } | null;
4936
4987
  thumbnailId: string | null;
4937
4988
  }[];
@@ -5087,6 +5138,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
5087
5138
  annotationId: string | null;
5088
5139
  classDraftId: string | null;
5089
5140
  folderId: string | null;
5141
+ conversationId: string | null;
5142
+ messageId: string | null;
5090
5143
  }[];
5091
5144
  annotations: {
5092
5145
  path: string;
@@ -5102,6 +5155,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
5102
5155
  annotationId: string | null;
5103
5156
  classDraftId: string | null;
5104
5157
  folderId: string | null;
5158
+ conversationId: string | null;
5159
+ messageId: string | null;
5105
5160
  }[];
5106
5161
  } & {
5107
5162
  id: string;
@@ -5174,6 +5229,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
5174
5229
  annotationId: string | null;
5175
5230
  classDraftId: string | null;
5176
5231
  folderId: string | null;
5232
+ conversationId: string | null;
5233
+ messageId: string | null;
5177
5234
  }[];
5178
5235
  annotations: {
5179
5236
  path: string;
@@ -5189,6 +5246,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
5189
5246
  annotationId: string | null;
5190
5247
  classDraftId: string | null;
5191
5248
  folderId: string | null;
5249
+ conversationId: string | null;
5250
+ messageId: string | null;
5192
5251
  }[];
5193
5252
  id: string;
5194
5253
  assignmentId: string;
@@ -5269,6 +5328,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
5269
5328
  annotationId: string | null;
5270
5329
  classDraftId: string | null;
5271
5330
  folderId: string | null;
5331
+ conversationId: string | null;
5332
+ messageId: string | null;
5272
5333
  }[];
5273
5334
  annotations: {
5274
5335
  path: string;
@@ -5284,6 +5345,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
5284
5345
  annotationId: string | null;
5285
5346
  classDraftId: string | null;
5286
5347
  folderId: string | null;
5348
+ conversationId: string | null;
5349
+ messageId: string | null;
5287
5350
  }[];
5288
5351
  id: string;
5289
5352
  assignmentId: string;
@@ -5373,6 +5436,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
5373
5436
  annotationId: string | null;
5374
5437
  classDraftId: string | null;
5375
5438
  folderId: string | null;
5439
+ conversationId: string | null;
5440
+ messageId: string | null;
5376
5441
  }[];
5377
5442
  } & {
5378
5443
  id: string;
@@ -5460,6 +5525,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
5460
5525
  annotationId: string | null;
5461
5526
  classDraftId: string | null;
5462
5527
  folderId: string | null;
5528
+ conversationId: string | null;
5529
+ messageId: string | null;
5463
5530
  } | null;
5464
5531
  } & {
5465
5532
  path: string;
@@ -5475,6 +5542,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
5475
5542
  annotationId: string | null;
5476
5543
  classDraftId: string | null;
5477
5544
  folderId: string | null;
5545
+ conversationId: string | null;
5546
+ messageId: string | null;
5478
5547
  })[];
5479
5548
  id: string;
5480
5549
  assignmentId: string;
@@ -5577,6 +5646,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
5577
5646
  annotationId: string | null;
5578
5647
  classDraftId: string | null;
5579
5648
  folderId: string | null;
5649
+ conversationId: string | null;
5650
+ messageId: string | null;
5580
5651
  }[];
5581
5652
  } & {
5582
5653
  id: string;
@@ -5769,6 +5840,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
5769
5840
  annotationId: string | null;
5770
5841
  classDraftId: string | null;
5771
5842
  folderId: string | null;
5843
+ conversationId: string | null;
5844
+ messageId: string | null;
5772
5845
  }[];
5773
5846
  eventAttached: {
5774
5847
  id: string;
@@ -5847,6 +5920,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
5847
5920
  annotationId: string | null;
5848
5921
  classDraftId: string | null;
5849
5922
  folderId: string | null;
5923
+ conversationId: string | null;
5924
+ messageId: string | null;
5850
5925
  }[];
5851
5926
  eventAttached: {
5852
5927
  id: string;
@@ -5926,6 +6001,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
5926
6001
  annotationId: string | null;
5927
6002
  classDraftId: string | null;
5928
6003
  folderId: string | null;
6004
+ conversationId: string | null;
6005
+ messageId: string | null;
5929
6006
  }[];
5930
6007
  eventAttached: {
5931
6008
  id: string;
@@ -6004,6 +6081,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
6004
6081
  annotationId: string | null;
6005
6082
  classDraftId: string | null;
6006
6083
  folderId: string | null;
6084
+ conversationId: string | null;
6085
+ messageId: string | null;
6007
6086
  }[];
6008
6087
  eventAttached: {
6009
6088
  id: string;
@@ -6795,6 +6874,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
6795
6874
  annotationId: string | null;
6796
6875
  classDraftId: string | null;
6797
6876
  folderId: string | null;
6877
+ conversationId: string | null;
6878
+ messageId: string | null;
6798
6879
  };
6799
6880
  meta: object;
6800
6881
  }>;
@@ -6824,6 +6905,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
6824
6905
  annotationId: string | null;
6825
6906
  classDraftId: string | null;
6826
6907
  folderId: string | null;
6908
+ conversationId: string | null;
6909
+ messageId: string | null;
6827
6910
  };
6828
6911
  meta: object;
6829
6912
  }>;
@@ -7318,8 +7401,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
7318
7401
  id: string;
7319
7402
  content: string;
7320
7403
  createdAt: Date;
7321
- senderId: string;
7322
7404
  conversationId: string;
7405
+ senderId: string;
7323
7406
  };
7324
7407
  unreadCount: number;
7325
7408
  unreadMentionCount: number;
@@ -7433,6 +7516,11 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
7433
7516
  profilePicture: string | null;
7434
7517
  } | null;
7435
7518
  };
7519
+ attachments: {
7520
+ id: string;
7521
+ name: string;
7522
+ type: string;
7523
+ }[];
7436
7524
  mentions: {
7437
7525
  user: {
7438
7526
  id: string;
@@ -7698,8 +7786,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
7698
7786
  id: string;
7699
7787
  content: string;
7700
7788
  createdAt: Date;
7701
- senderId: string;
7702
7789
  conversationId: string;
7790
+ senderId: string;
7703
7791
  };
7704
7792
  messageCount: number;
7705
7793
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"_app.d.ts","source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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiC,CAAC"}
@@ -212,6 +212,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
212
212
  annotationId: string | null;
213
213
  classDraftId: string | null;
214
214
  folderId: string | null;
215
+ conversationId: string | null;
216
+ messageId: string | null;
215
217
  } | null;
216
218
  thumbnailId: string | null;
217
219
  }[];
@@ -367,6 +369,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
367
369
  annotationId: string | null;
368
370
  classDraftId: string | null;
369
371
  folderId: string | null;
372
+ conversationId: string | null;
373
+ messageId: string | null;
370
374
  }[];
371
375
  annotations: {
372
376
  path: string;
@@ -382,6 +386,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
382
386
  annotationId: string | null;
383
387
  classDraftId: string | null;
384
388
  folderId: string | null;
389
+ conversationId: string | null;
390
+ messageId: string | null;
385
391
  }[];
386
392
  } & {
387
393
  id: string;
@@ -454,6 +460,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
454
460
  annotationId: string | null;
455
461
  classDraftId: string | null;
456
462
  folderId: string | null;
463
+ conversationId: string | null;
464
+ messageId: string | null;
457
465
  }[];
458
466
  annotations: {
459
467
  path: string;
@@ -469,6 +477,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
469
477
  annotationId: string | null;
470
478
  classDraftId: string | null;
471
479
  folderId: string | null;
480
+ conversationId: string | null;
481
+ messageId: string | null;
472
482
  }[];
473
483
  id: string;
474
484
  assignmentId: string;
@@ -549,6 +559,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
549
559
  annotationId: string | null;
550
560
  classDraftId: string | null;
551
561
  folderId: string | null;
562
+ conversationId: string | null;
563
+ messageId: string | null;
552
564
  }[];
553
565
  annotations: {
554
566
  path: string;
@@ -564,6 +576,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
564
576
  annotationId: string | null;
565
577
  classDraftId: string | null;
566
578
  folderId: string | null;
579
+ conversationId: string | null;
580
+ messageId: string | null;
567
581
  }[];
568
582
  id: string;
569
583
  assignmentId: string;
@@ -653,6 +667,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
653
667
  annotationId: string | null;
654
668
  classDraftId: string | null;
655
669
  folderId: string | null;
670
+ conversationId: string | null;
671
+ messageId: string | null;
656
672
  }[];
657
673
  } & {
658
674
  id: string;
@@ -740,6 +756,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
740
756
  annotationId: string | null;
741
757
  classDraftId: string | null;
742
758
  folderId: string | null;
759
+ conversationId: string | null;
760
+ messageId: string | null;
743
761
  } | null;
744
762
  } & {
745
763
  path: string;
@@ -755,6 +773,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
755
773
  annotationId: string | null;
756
774
  classDraftId: string | null;
757
775
  folderId: string | null;
776
+ conversationId: string | null;
777
+ messageId: string | null;
758
778
  })[];
759
779
  id: string;
760
780
  assignmentId: string;
@@ -857,6 +877,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
857
877
  annotationId: string | null;
858
878
  classDraftId: string | null;
859
879
  folderId: string | null;
880
+ conversationId: string | null;
881
+ messageId: string | null;
860
882
  }[];
861
883
  } & {
862
884
  id: string;
@@ -1049,6 +1071,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1049
1071
  annotationId: string | null;
1050
1072
  classDraftId: string | null;
1051
1073
  folderId: string | null;
1074
+ conversationId: string | null;
1075
+ messageId: string | null;
1052
1076
  }[];
1053
1077
  eventAttached: {
1054
1078
  id: string;
@@ -1127,6 +1151,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1127
1151
  annotationId: string | null;
1128
1152
  classDraftId: string | null;
1129
1153
  folderId: string | null;
1154
+ conversationId: string | null;
1155
+ messageId: string | null;
1130
1156
  }[];
1131
1157
  eventAttached: {
1132
1158
  id: string;
@@ -1206,6 +1232,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1206
1232
  annotationId: string | null;
1207
1233
  classDraftId: string | null;
1208
1234
  folderId: string | null;
1235
+ conversationId: string | null;
1236
+ messageId: string | null;
1209
1237
  }[];
1210
1238
  eventAttached: {
1211
1239
  id: string;
@@ -1284,6 +1312,8 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
1284
1312
  annotationId: string | null;
1285
1313
  classDraftId: string | null;
1286
1314
  folderId: string | null;
1315
+ conversationId: string | null;
1316
+ messageId: string | null;
1287
1317
  }[];
1288
1318
  eventAttached: {
1289
1319
  id: string;
@@ -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;AAsFxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;GA+rD3B,CAAC"}
@@ -134,6 +134,11 @@ export declare const classRouter: import("@trpc/server").TRPCBuiltRouter<{
134
134
  teachers: {
135
135
  id: string;
136
136
  username: string;
137
+ profile: {
138
+ displayName: string | null;
139
+ profilePicture: string | null;
140
+ profilePictureThumbnail: string | null;
141
+ } | null;
137
142
  }[];
138
143
  id: string;
139
144
  schoolId: string | null;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwjCtB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0kCtB,CAAC"}
@@ -85,6 +85,14 @@ export const classRouter = createTRPCRouter({
85
85
  }))
86
86
  .query(async ({ ctx, input }) => {
87
87
  const { classId } = input;
88
+ const isTeacher = await prisma.class.findFirst({
89
+ where: {
90
+ id: classId,
91
+ teachers: {
92
+ some: { id: ctx.user?.id },
93
+ },
94
+ },
95
+ });
88
96
  const classData = await prisma.class.findUnique({
89
97
  where: {
90
98
  id: classId,
@@ -94,6 +102,13 @@ export const classRouter = createTRPCRouter({
94
102
  select: {
95
103
  id: true,
96
104
  username: true,
105
+ profile: {
106
+ select: {
107
+ displayName: true,
108
+ profilePicture: true,
109
+ profilePictureThumbnail: true,
110
+ }
111
+ }
97
112
  },
98
113
  },
99
114
  students: {
@@ -165,9 +180,11 @@ export const classRouter = createTRPCRouter({
165
180
  },
166
181
  },
167
182
  submissions: {
168
- // where: {
169
- // studentId: ctx.user?.id,
170
- // },
183
+ ...(!isTeacher && {
184
+ where: {
185
+ studentId: ctx.user?.id,
186
+ },
187
+ }),
171
188
  select: {
172
189
  studentId: true,
173
190
  id: true,
@@ -58,8 +58,8 @@ export declare const conversationRouter: import("@trpc/server").TRPCBuiltRouter<
58
58
  id: string;
59
59
  content: string;
60
60
  createdAt: Date;
61
- senderId: string;
62
61
  conversationId: string;
62
+ senderId: string;
63
63
  };
64
64
  unreadCount: number;
65
65
  unreadMentionCount: number;
@@ -51,6 +51,8 @@ export declare const fileRouter: import("@trpc/server").TRPCBuiltRouter<{
51
51
  annotationId: string | null;
52
52
  classDraftId: string | null;
53
53
  folderId: string | null;
54
+ conversationId: string | null;
55
+ messageId: string | null;
54
56
  };
55
57
  meta: object;
56
58
  }>;
@@ -80,6 +82,8 @@ export declare const fileRouter: import("@trpc/server").TRPCBuiltRouter<{
80
82
  annotationId: string | null;
81
83
  classDraftId: string | null;
82
84
  folderId: string | null;
85
+ conversationId: string | null;
86
+ messageId: string | null;
83
87
  };
84
88
  meta: object;
85
89
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../src/routers/file.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsVrB,CAAC"}
1
+ {"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../src/routers/file.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsVrB,CAAC"}