@studious-lms/server 1.1.10 → 1.1.12
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.
- package/LAB_CHAT_API_SPEC.md +518 -0
- package/dist/routers/_app.d.ts +480 -0
- package/dist/routers/_app.d.ts.map +1 -1
- package/dist/routers/_app.js +2 -0
- package/dist/routers/assignment.d.ts +10 -0
- package/dist/routers/assignment.d.ts.map +1 -1
- package/dist/routers/assignment.js +21 -0
- package/dist/routers/attendance.d.ts +15 -0
- package/dist/routers/attendance.d.ts.map +1 -1
- package/dist/routers/attendance.js +32 -0
- package/dist/routers/class.d.ts +10 -0
- package/dist/routers/class.d.ts.map +1 -1
- package/dist/routers/class.js +14 -0
- package/dist/routers/labChat.d.ts +207 -0
- package/dist/routers/labChat.d.ts.map +1 -0
- package/dist/routers/labChat.js +500 -0
- package/package.json +1 -1
- package/prisma/migrations/20250925072732_add_lab_chat_system/migration.sql +25 -0
- package/prisma/schema.prisma +18 -0
- package/src/routers/_app.ts +2 -0
- package/src/routers/assignment.ts +21 -0
- package/src/routers/attendance.ts +32 -0
- package/src/routers/class.ts +14 -0
- package/src/routers/labChat.ts +541 -0
package/dist/routers/_app.d.ts
CHANGED
|
@@ -131,12 +131,22 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
131
131
|
teacher: {
|
|
132
132
|
id: string;
|
|
133
133
|
username: string;
|
|
134
|
+
profile: {
|
|
135
|
+
displayName: string | null;
|
|
136
|
+
profilePicture: string | null;
|
|
137
|
+
profilePictureThumbnail: string | null;
|
|
138
|
+
} | null;
|
|
134
139
|
};
|
|
135
140
|
createdAt: Date;
|
|
136
141
|
}[];
|
|
137
142
|
students: {
|
|
138
143
|
id: string;
|
|
139
144
|
username: string;
|
|
145
|
+
profile: {
|
|
146
|
+
displayName: string | null;
|
|
147
|
+
profilePicture: string | null;
|
|
148
|
+
profilePictureThumbnail: string | null;
|
|
149
|
+
} | null;
|
|
140
150
|
}[];
|
|
141
151
|
teachers: {
|
|
142
152
|
id: string;
|
|
@@ -1557,6 +1567,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1557
1567
|
student: {
|
|
1558
1568
|
id: string;
|
|
1559
1569
|
username: string;
|
|
1570
|
+
profile: {
|
|
1571
|
+
displayName: string | null;
|
|
1572
|
+
profilePicture: string | null;
|
|
1573
|
+
profilePictureThumbnail: string | null;
|
|
1574
|
+
} | null;
|
|
1560
1575
|
};
|
|
1561
1576
|
attachments: ({
|
|
1562
1577
|
thumbnail: {
|
|
@@ -1670,6 +1685,11 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1670
1685
|
student: {
|
|
1671
1686
|
id: string;
|
|
1672
1687
|
username: string;
|
|
1688
|
+
profile: {
|
|
1689
|
+
displayName: string | null;
|
|
1690
|
+
profilePicture: string | null;
|
|
1691
|
+
profilePictureThumbnail: string | null;
|
|
1692
|
+
} | null;
|
|
1673
1693
|
};
|
|
1674
1694
|
attachments: {
|
|
1675
1695
|
path: string;
|
|
@@ -2335,14 +2355,29 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2335
2355
|
late: {
|
|
2336
2356
|
id: string;
|
|
2337
2357
|
username: string;
|
|
2358
|
+
profile: {
|
|
2359
|
+
displayName: string | null;
|
|
2360
|
+
profilePicture: string | null;
|
|
2361
|
+
profilePictureThumbnail: string | null;
|
|
2362
|
+
} | null;
|
|
2338
2363
|
}[];
|
|
2339
2364
|
present: {
|
|
2340
2365
|
id: string;
|
|
2341
2366
|
username: string;
|
|
2367
|
+
profile: {
|
|
2368
|
+
displayName: string | null;
|
|
2369
|
+
profilePicture: string | null;
|
|
2370
|
+
profilePictureThumbnail: string | null;
|
|
2371
|
+
} | null;
|
|
2342
2372
|
}[];
|
|
2343
2373
|
absent: {
|
|
2344
2374
|
id: string;
|
|
2345
2375
|
username: string;
|
|
2376
|
+
profile: {
|
|
2377
|
+
displayName: string | null;
|
|
2378
|
+
profilePicture: string | null;
|
|
2379
|
+
profilePictureThumbnail: string | null;
|
|
2380
|
+
} | null;
|
|
2346
2381
|
}[];
|
|
2347
2382
|
} & {
|
|
2348
2383
|
id: string;
|
|
@@ -3611,6 +3646,211 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3611
3646
|
meta: object;
|
|
3612
3647
|
}>;
|
|
3613
3648
|
}>>;
|
|
3649
|
+
labChat: import("@trpc/server").TRPCBuiltRouter<{
|
|
3650
|
+
ctx: import("../trpc.js").Context;
|
|
3651
|
+
meta: object;
|
|
3652
|
+
errorShape: {
|
|
3653
|
+
data: {
|
|
3654
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
3655
|
+
prismaError: import("../utils/prismaErrorHandler.js").PrismaErrorInfo | null;
|
|
3656
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
3657
|
+
httpStatus: number;
|
|
3658
|
+
path?: string;
|
|
3659
|
+
stack?: string;
|
|
3660
|
+
};
|
|
3661
|
+
message: string;
|
|
3662
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
3663
|
+
};
|
|
3664
|
+
transformer: false;
|
|
3665
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
3666
|
+
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
3667
|
+
input: {
|
|
3668
|
+
context: string;
|
|
3669
|
+
title: string;
|
|
3670
|
+
classId: string;
|
|
3671
|
+
};
|
|
3672
|
+
output: {
|
|
3673
|
+
class: {
|
|
3674
|
+
id: string;
|
|
3675
|
+
name: string;
|
|
3676
|
+
subject: string;
|
|
3677
|
+
section: string;
|
|
3678
|
+
};
|
|
3679
|
+
conversation: {
|
|
3680
|
+
members: ({
|
|
3681
|
+
user: {
|
|
3682
|
+
id: string;
|
|
3683
|
+
username: string;
|
|
3684
|
+
profile: {
|
|
3685
|
+
displayName: string | null;
|
|
3686
|
+
profilePicture: string | null;
|
|
3687
|
+
} | null;
|
|
3688
|
+
};
|
|
3689
|
+
} & {
|
|
3690
|
+
id: string;
|
|
3691
|
+
role: import(".prisma/client").$Enums.ConversationRole;
|
|
3692
|
+
userId: string;
|
|
3693
|
+
conversationId: string;
|
|
3694
|
+
joinedAt: Date;
|
|
3695
|
+
lastViewedAt: Date | null;
|
|
3696
|
+
lastViewedMentionAt: Date | null;
|
|
3697
|
+
})[];
|
|
3698
|
+
} & {
|
|
3699
|
+
type: import(".prisma/client").$Enums.ConversationType;
|
|
3700
|
+
id: string;
|
|
3701
|
+
name: string | null;
|
|
3702
|
+
createdAt: Date;
|
|
3703
|
+
updatedAt: Date;
|
|
3704
|
+
displayInChat: boolean;
|
|
3705
|
+
};
|
|
3706
|
+
createdBy: {
|
|
3707
|
+
id: string;
|
|
3708
|
+
username: string;
|
|
3709
|
+
profile: {
|
|
3710
|
+
displayName: string | null;
|
|
3711
|
+
} | null;
|
|
3712
|
+
};
|
|
3713
|
+
} & {
|
|
3714
|
+
context: string;
|
|
3715
|
+
id: string;
|
|
3716
|
+
title: string;
|
|
3717
|
+
classId: string;
|
|
3718
|
+
createdAt: Date;
|
|
3719
|
+
updatedAt: Date;
|
|
3720
|
+
conversationId: string;
|
|
3721
|
+
createdById: string;
|
|
3722
|
+
};
|
|
3723
|
+
meta: object;
|
|
3724
|
+
}>;
|
|
3725
|
+
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
3726
|
+
input: {
|
|
3727
|
+
labChatId: string;
|
|
3728
|
+
};
|
|
3729
|
+
output: {
|
|
3730
|
+
class: {
|
|
3731
|
+
id: string;
|
|
3732
|
+
name: string;
|
|
3733
|
+
subject: string;
|
|
3734
|
+
section: string;
|
|
3735
|
+
};
|
|
3736
|
+
conversation: {
|
|
3737
|
+
members: ({
|
|
3738
|
+
user: {
|
|
3739
|
+
id: string;
|
|
3740
|
+
username: string;
|
|
3741
|
+
profile: {
|
|
3742
|
+
displayName: string | null;
|
|
3743
|
+
profilePicture: string | null;
|
|
3744
|
+
} | null;
|
|
3745
|
+
};
|
|
3746
|
+
} & {
|
|
3747
|
+
id: string;
|
|
3748
|
+
role: import(".prisma/client").$Enums.ConversationRole;
|
|
3749
|
+
userId: string;
|
|
3750
|
+
conversationId: string;
|
|
3751
|
+
joinedAt: Date;
|
|
3752
|
+
lastViewedAt: Date | null;
|
|
3753
|
+
lastViewedMentionAt: Date | null;
|
|
3754
|
+
})[];
|
|
3755
|
+
} & {
|
|
3756
|
+
type: import(".prisma/client").$Enums.ConversationType;
|
|
3757
|
+
id: string;
|
|
3758
|
+
name: string | null;
|
|
3759
|
+
createdAt: Date;
|
|
3760
|
+
updatedAt: Date;
|
|
3761
|
+
displayInChat: boolean;
|
|
3762
|
+
};
|
|
3763
|
+
createdBy: {
|
|
3764
|
+
id: string;
|
|
3765
|
+
username: string;
|
|
3766
|
+
profile: {
|
|
3767
|
+
displayName: string | null;
|
|
3768
|
+
} | null;
|
|
3769
|
+
};
|
|
3770
|
+
} & {
|
|
3771
|
+
context: string;
|
|
3772
|
+
id: string;
|
|
3773
|
+
title: string;
|
|
3774
|
+
classId: string;
|
|
3775
|
+
createdAt: Date;
|
|
3776
|
+
updatedAt: Date;
|
|
3777
|
+
conversationId: string;
|
|
3778
|
+
createdById: string;
|
|
3779
|
+
};
|
|
3780
|
+
meta: object;
|
|
3781
|
+
}>;
|
|
3782
|
+
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
3783
|
+
input: {
|
|
3784
|
+
classId: string;
|
|
3785
|
+
};
|
|
3786
|
+
output: {
|
|
3787
|
+
id: string;
|
|
3788
|
+
title: string;
|
|
3789
|
+
classId: string;
|
|
3790
|
+
conversationId: string;
|
|
3791
|
+
createdBy: {
|
|
3792
|
+
id: string;
|
|
3793
|
+
username: string;
|
|
3794
|
+
profile: {
|
|
3795
|
+
displayName: string | null;
|
|
3796
|
+
} | null;
|
|
3797
|
+
};
|
|
3798
|
+
createdAt: Date;
|
|
3799
|
+
updatedAt: Date;
|
|
3800
|
+
lastMessage: {
|
|
3801
|
+
sender: {
|
|
3802
|
+
id: string;
|
|
3803
|
+
username: string;
|
|
3804
|
+
profile: {
|
|
3805
|
+
displayName: string | null;
|
|
3806
|
+
} | null;
|
|
3807
|
+
};
|
|
3808
|
+
} & {
|
|
3809
|
+
id: string;
|
|
3810
|
+
content: string;
|
|
3811
|
+
createdAt: Date;
|
|
3812
|
+
senderId: string;
|
|
3813
|
+
conversationId: string;
|
|
3814
|
+
};
|
|
3815
|
+
messageCount: number;
|
|
3816
|
+
}[];
|
|
3817
|
+
meta: object;
|
|
3818
|
+
}>;
|
|
3819
|
+
postToLabChat: import("@trpc/server").TRPCMutationProcedure<{
|
|
3820
|
+
input: {
|
|
3821
|
+
content: string;
|
|
3822
|
+
labChatId: string;
|
|
3823
|
+
mentionedUserIds?: string[] | undefined;
|
|
3824
|
+
};
|
|
3825
|
+
output: {
|
|
3826
|
+
id: string;
|
|
3827
|
+
content: string;
|
|
3828
|
+
senderId: string;
|
|
3829
|
+
conversationId: string;
|
|
3830
|
+
createdAt: Date;
|
|
3831
|
+
sender: {
|
|
3832
|
+
id: string;
|
|
3833
|
+
username: string;
|
|
3834
|
+
profile: {
|
|
3835
|
+
displayName: string | null;
|
|
3836
|
+
profilePicture: string | null;
|
|
3837
|
+
} | null;
|
|
3838
|
+
};
|
|
3839
|
+
mentionedUserIds: string[];
|
|
3840
|
+
labChatId: string;
|
|
3841
|
+
};
|
|
3842
|
+
meta: object;
|
|
3843
|
+
}>;
|
|
3844
|
+
delete: import("@trpc/server").TRPCMutationProcedure<{
|
|
3845
|
+
input: {
|
|
3846
|
+
labChatId: string;
|
|
3847
|
+
};
|
|
3848
|
+
output: {
|
|
3849
|
+
success: boolean;
|
|
3850
|
+
};
|
|
3851
|
+
meta: object;
|
|
3852
|
+
}>;
|
|
3853
|
+
}>>;
|
|
3614
3854
|
}>>;
|
|
3615
3855
|
export type AppRouter = typeof appRouter;
|
|
3616
3856
|
export type RouterInputs = inferRouterInputs<AppRouter>;
|
|
@@ -3747,12 +3987,22 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
3747
3987
|
teacher: {
|
|
3748
3988
|
id: string;
|
|
3749
3989
|
username: string;
|
|
3990
|
+
profile: {
|
|
3991
|
+
displayName: string | null;
|
|
3992
|
+
profilePicture: string | null;
|
|
3993
|
+
profilePictureThumbnail: string | null;
|
|
3994
|
+
} | null;
|
|
3750
3995
|
};
|
|
3751
3996
|
createdAt: Date;
|
|
3752
3997
|
}[];
|
|
3753
3998
|
students: {
|
|
3754
3999
|
id: string;
|
|
3755
4000
|
username: string;
|
|
4001
|
+
profile: {
|
|
4002
|
+
displayName: string | null;
|
|
4003
|
+
profilePicture: string | null;
|
|
4004
|
+
profilePictureThumbnail: string | null;
|
|
4005
|
+
} | null;
|
|
3756
4006
|
}[];
|
|
3757
4007
|
teachers: {
|
|
3758
4008
|
id: string;
|
|
@@ -5173,6 +5423,11 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5173
5423
|
student: {
|
|
5174
5424
|
id: string;
|
|
5175
5425
|
username: string;
|
|
5426
|
+
profile: {
|
|
5427
|
+
displayName: string | null;
|
|
5428
|
+
profilePicture: string | null;
|
|
5429
|
+
profilePictureThumbnail: string | null;
|
|
5430
|
+
} | null;
|
|
5176
5431
|
};
|
|
5177
5432
|
attachments: ({
|
|
5178
5433
|
thumbnail: {
|
|
@@ -5286,6 +5541,11 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5286
5541
|
student: {
|
|
5287
5542
|
id: string;
|
|
5288
5543
|
username: string;
|
|
5544
|
+
profile: {
|
|
5545
|
+
displayName: string | null;
|
|
5546
|
+
profilePicture: string | null;
|
|
5547
|
+
profilePictureThumbnail: string | null;
|
|
5548
|
+
} | null;
|
|
5289
5549
|
};
|
|
5290
5550
|
attachments: {
|
|
5291
5551
|
path: string;
|
|
@@ -5951,14 +6211,29 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5951
6211
|
late: {
|
|
5952
6212
|
id: string;
|
|
5953
6213
|
username: string;
|
|
6214
|
+
profile: {
|
|
6215
|
+
displayName: string | null;
|
|
6216
|
+
profilePicture: string | null;
|
|
6217
|
+
profilePictureThumbnail: string | null;
|
|
6218
|
+
} | null;
|
|
5954
6219
|
}[];
|
|
5955
6220
|
present: {
|
|
5956
6221
|
id: string;
|
|
5957
6222
|
username: string;
|
|
6223
|
+
profile: {
|
|
6224
|
+
displayName: string | null;
|
|
6225
|
+
profilePicture: string | null;
|
|
6226
|
+
profilePictureThumbnail: string | null;
|
|
6227
|
+
} | null;
|
|
5958
6228
|
}[];
|
|
5959
6229
|
absent: {
|
|
5960
6230
|
id: string;
|
|
5961
6231
|
username: string;
|
|
6232
|
+
profile: {
|
|
6233
|
+
displayName: string | null;
|
|
6234
|
+
profilePicture: string | null;
|
|
6235
|
+
profilePictureThumbnail: string | null;
|
|
6236
|
+
} | null;
|
|
5962
6237
|
}[];
|
|
5963
6238
|
} & {
|
|
5964
6239
|
id: string;
|
|
@@ -7227,5 +7502,210 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7227
7502
|
meta: object;
|
|
7228
7503
|
}>;
|
|
7229
7504
|
}>>;
|
|
7505
|
+
labChat: import("@trpc/server").TRPCBuiltRouter<{
|
|
7506
|
+
ctx: import("../trpc.js").Context;
|
|
7507
|
+
meta: object;
|
|
7508
|
+
errorShape: {
|
|
7509
|
+
data: {
|
|
7510
|
+
zodError: import("zod").typeToFlattenedError<any, string> | null;
|
|
7511
|
+
prismaError: import("../utils/prismaErrorHandler.js").PrismaErrorInfo | null;
|
|
7512
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
7513
|
+
httpStatus: number;
|
|
7514
|
+
path?: string;
|
|
7515
|
+
stack?: string;
|
|
7516
|
+
};
|
|
7517
|
+
message: string;
|
|
7518
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
7519
|
+
};
|
|
7520
|
+
transformer: false;
|
|
7521
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
7522
|
+
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
7523
|
+
input: {
|
|
7524
|
+
context: string;
|
|
7525
|
+
title: string;
|
|
7526
|
+
classId: string;
|
|
7527
|
+
};
|
|
7528
|
+
output: {
|
|
7529
|
+
class: {
|
|
7530
|
+
id: string;
|
|
7531
|
+
name: string;
|
|
7532
|
+
subject: string;
|
|
7533
|
+
section: string;
|
|
7534
|
+
};
|
|
7535
|
+
conversation: {
|
|
7536
|
+
members: ({
|
|
7537
|
+
user: {
|
|
7538
|
+
id: string;
|
|
7539
|
+
username: string;
|
|
7540
|
+
profile: {
|
|
7541
|
+
displayName: string | null;
|
|
7542
|
+
profilePicture: string | null;
|
|
7543
|
+
} | null;
|
|
7544
|
+
};
|
|
7545
|
+
} & {
|
|
7546
|
+
id: string;
|
|
7547
|
+
role: import(".prisma/client").$Enums.ConversationRole;
|
|
7548
|
+
userId: string;
|
|
7549
|
+
conversationId: string;
|
|
7550
|
+
joinedAt: Date;
|
|
7551
|
+
lastViewedAt: Date | null;
|
|
7552
|
+
lastViewedMentionAt: Date | null;
|
|
7553
|
+
})[];
|
|
7554
|
+
} & {
|
|
7555
|
+
type: import(".prisma/client").$Enums.ConversationType;
|
|
7556
|
+
id: string;
|
|
7557
|
+
name: string | null;
|
|
7558
|
+
createdAt: Date;
|
|
7559
|
+
updatedAt: Date;
|
|
7560
|
+
displayInChat: boolean;
|
|
7561
|
+
};
|
|
7562
|
+
createdBy: {
|
|
7563
|
+
id: string;
|
|
7564
|
+
username: string;
|
|
7565
|
+
profile: {
|
|
7566
|
+
displayName: string | null;
|
|
7567
|
+
} | null;
|
|
7568
|
+
};
|
|
7569
|
+
} & {
|
|
7570
|
+
context: string;
|
|
7571
|
+
id: string;
|
|
7572
|
+
title: string;
|
|
7573
|
+
classId: string;
|
|
7574
|
+
createdAt: Date;
|
|
7575
|
+
updatedAt: Date;
|
|
7576
|
+
conversationId: string;
|
|
7577
|
+
createdById: string;
|
|
7578
|
+
};
|
|
7579
|
+
meta: object;
|
|
7580
|
+
}>;
|
|
7581
|
+
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
7582
|
+
input: {
|
|
7583
|
+
labChatId: string;
|
|
7584
|
+
};
|
|
7585
|
+
output: {
|
|
7586
|
+
class: {
|
|
7587
|
+
id: string;
|
|
7588
|
+
name: string;
|
|
7589
|
+
subject: string;
|
|
7590
|
+
section: string;
|
|
7591
|
+
};
|
|
7592
|
+
conversation: {
|
|
7593
|
+
members: ({
|
|
7594
|
+
user: {
|
|
7595
|
+
id: string;
|
|
7596
|
+
username: string;
|
|
7597
|
+
profile: {
|
|
7598
|
+
displayName: string | null;
|
|
7599
|
+
profilePicture: string | null;
|
|
7600
|
+
} | null;
|
|
7601
|
+
};
|
|
7602
|
+
} & {
|
|
7603
|
+
id: string;
|
|
7604
|
+
role: import(".prisma/client").$Enums.ConversationRole;
|
|
7605
|
+
userId: string;
|
|
7606
|
+
conversationId: string;
|
|
7607
|
+
joinedAt: Date;
|
|
7608
|
+
lastViewedAt: Date | null;
|
|
7609
|
+
lastViewedMentionAt: Date | null;
|
|
7610
|
+
})[];
|
|
7611
|
+
} & {
|
|
7612
|
+
type: import(".prisma/client").$Enums.ConversationType;
|
|
7613
|
+
id: string;
|
|
7614
|
+
name: string | null;
|
|
7615
|
+
createdAt: Date;
|
|
7616
|
+
updatedAt: Date;
|
|
7617
|
+
displayInChat: boolean;
|
|
7618
|
+
};
|
|
7619
|
+
createdBy: {
|
|
7620
|
+
id: string;
|
|
7621
|
+
username: string;
|
|
7622
|
+
profile: {
|
|
7623
|
+
displayName: string | null;
|
|
7624
|
+
} | null;
|
|
7625
|
+
};
|
|
7626
|
+
} & {
|
|
7627
|
+
context: string;
|
|
7628
|
+
id: string;
|
|
7629
|
+
title: string;
|
|
7630
|
+
classId: string;
|
|
7631
|
+
createdAt: Date;
|
|
7632
|
+
updatedAt: Date;
|
|
7633
|
+
conversationId: string;
|
|
7634
|
+
createdById: string;
|
|
7635
|
+
};
|
|
7636
|
+
meta: object;
|
|
7637
|
+
}>;
|
|
7638
|
+
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
7639
|
+
input: {
|
|
7640
|
+
classId: string;
|
|
7641
|
+
};
|
|
7642
|
+
output: {
|
|
7643
|
+
id: string;
|
|
7644
|
+
title: string;
|
|
7645
|
+
classId: string;
|
|
7646
|
+
conversationId: string;
|
|
7647
|
+
createdBy: {
|
|
7648
|
+
id: string;
|
|
7649
|
+
username: string;
|
|
7650
|
+
profile: {
|
|
7651
|
+
displayName: string | null;
|
|
7652
|
+
} | null;
|
|
7653
|
+
};
|
|
7654
|
+
createdAt: Date;
|
|
7655
|
+
updatedAt: Date;
|
|
7656
|
+
lastMessage: {
|
|
7657
|
+
sender: {
|
|
7658
|
+
id: string;
|
|
7659
|
+
username: string;
|
|
7660
|
+
profile: {
|
|
7661
|
+
displayName: string | null;
|
|
7662
|
+
} | null;
|
|
7663
|
+
};
|
|
7664
|
+
} & {
|
|
7665
|
+
id: string;
|
|
7666
|
+
content: string;
|
|
7667
|
+
createdAt: Date;
|
|
7668
|
+
senderId: string;
|
|
7669
|
+
conversationId: string;
|
|
7670
|
+
};
|
|
7671
|
+
messageCount: number;
|
|
7672
|
+
}[];
|
|
7673
|
+
meta: object;
|
|
7674
|
+
}>;
|
|
7675
|
+
postToLabChat: import("@trpc/server").TRPCMutationProcedure<{
|
|
7676
|
+
input: {
|
|
7677
|
+
content: string;
|
|
7678
|
+
labChatId: string;
|
|
7679
|
+
mentionedUserIds?: string[] | undefined;
|
|
7680
|
+
};
|
|
7681
|
+
output: {
|
|
7682
|
+
id: string;
|
|
7683
|
+
content: string;
|
|
7684
|
+
senderId: string;
|
|
7685
|
+
conversationId: string;
|
|
7686
|
+
createdAt: Date;
|
|
7687
|
+
sender: {
|
|
7688
|
+
id: string;
|
|
7689
|
+
username: string;
|
|
7690
|
+
profile: {
|
|
7691
|
+
displayName: string | null;
|
|
7692
|
+
profilePicture: string | null;
|
|
7693
|
+
} | null;
|
|
7694
|
+
};
|
|
7695
|
+
mentionedUserIds: string[];
|
|
7696
|
+
labChatId: string;
|
|
7697
|
+
};
|
|
7698
|
+
meta: object;
|
|
7699
|
+
}>;
|
|
7700
|
+
delete: import("@trpc/server").TRPCMutationProcedure<{
|
|
7701
|
+
input: {
|
|
7702
|
+
labChatId: string;
|
|
7703
|
+
};
|
|
7704
|
+
output: {
|
|
7705
|
+
success: boolean;
|
|
7706
|
+
};
|
|
7707
|
+
meta: object;
|
|
7708
|
+
}>;
|
|
7709
|
+
}>>;
|
|
7230
7710
|
}>>;
|
|
7231
7711
|
//# 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;
|
|
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;AAa1E,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiC,CAAC"}
|
package/dist/routers/_app.js
CHANGED
|
@@ -14,6 +14,7 @@ import { folderRouter } from "./folder.js";
|
|
|
14
14
|
import { notificationRouter } from "./notifications.js";
|
|
15
15
|
import { conversationRouter } from "./conversation.js";
|
|
16
16
|
import { messageRouter } from "./message.js";
|
|
17
|
+
import { labChatRouter } from "./labChat.js";
|
|
17
18
|
export const appRouter = createTRPCRouter({
|
|
18
19
|
class: classRouter,
|
|
19
20
|
announcement: announcementRouter,
|
|
@@ -29,6 +30,7 @@ export const appRouter = createTRPCRouter({
|
|
|
29
30
|
notification: notificationRouter,
|
|
30
31
|
conversation: conversationRouter,
|
|
31
32
|
message: messageRouter,
|
|
33
|
+
labChat: labChatRouter,
|
|
32
34
|
});
|
|
33
35
|
// Export caller
|
|
34
36
|
export const createCaller = createCallerFactory(appRouter);
|
|
@@ -719,6 +719,11 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
719
719
|
student: {
|
|
720
720
|
id: string;
|
|
721
721
|
username: string;
|
|
722
|
+
profile: {
|
|
723
|
+
displayName: string | null;
|
|
724
|
+
profilePicture: string | null;
|
|
725
|
+
profilePictureThumbnail: string | null;
|
|
726
|
+
} | null;
|
|
722
727
|
};
|
|
723
728
|
attachments: ({
|
|
724
729
|
thumbnail: {
|
|
@@ -832,6 +837,11 @@ export declare const assignmentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
832
837
|
student: {
|
|
833
838
|
id: string;
|
|
834
839
|
username: string;
|
|
840
|
+
profile: {
|
|
841
|
+
displayName: string | null;
|
|
842
|
+
profilePicture: string | null;
|
|
843
|
+
profilePictureThumbnail: string | null;
|
|
844
|
+
} | null;
|
|
835
845
|
};
|
|
836
846
|
attachments: {
|
|
837
847
|
path: 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
|
|
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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