@studious-lms/server 1.1.11 → 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 +410 -0
- package/dist/routers/_app.d.ts.map +1 -1
- package/dist/routers/_app.js +2 -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/labChat.ts +541 -0
package/dist/routers/_app.d.ts
CHANGED
|
@@ -3646,6 +3646,211 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3646
3646
|
meta: object;
|
|
3647
3647
|
}>;
|
|
3648
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
|
+
}>>;
|
|
3649
3854
|
}>>;
|
|
3650
3855
|
export type AppRouter = typeof appRouter;
|
|
3651
3856
|
export type RouterInputs = inferRouterInputs<AppRouter>;
|
|
@@ -7297,5 +7502,210 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7297
7502
|
meta: object;
|
|
7298
7503
|
}>;
|
|
7299
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
|
+
}>>;
|
|
7300
7710
|
}>>;
|
|
7301
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);
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const labChatRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
3
|
+
ctx: import("../trpc.js").Context;
|
|
4
|
+
meta: object;
|
|
5
|
+
errorShape: {
|
|
6
|
+
data: {
|
|
7
|
+
zodError: z.typeToFlattenedError<any, string> | null;
|
|
8
|
+
prismaError: import("../utils/prismaErrorHandler.js").PrismaErrorInfo | null;
|
|
9
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
|
|
10
|
+
httpStatus: number;
|
|
11
|
+
path?: string;
|
|
12
|
+
stack?: string;
|
|
13
|
+
};
|
|
14
|
+
message: string;
|
|
15
|
+
code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
|
|
16
|
+
};
|
|
17
|
+
transformer: false;
|
|
18
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
19
|
+
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
20
|
+
input: {
|
|
21
|
+
context: string;
|
|
22
|
+
title: string;
|
|
23
|
+
classId: string;
|
|
24
|
+
};
|
|
25
|
+
output: {
|
|
26
|
+
class: {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
subject: string;
|
|
30
|
+
section: string;
|
|
31
|
+
};
|
|
32
|
+
conversation: {
|
|
33
|
+
members: ({
|
|
34
|
+
user: {
|
|
35
|
+
id: string;
|
|
36
|
+
username: string;
|
|
37
|
+
profile: {
|
|
38
|
+
displayName: string | null;
|
|
39
|
+
profilePicture: string | null;
|
|
40
|
+
} | null;
|
|
41
|
+
};
|
|
42
|
+
} & {
|
|
43
|
+
id: string;
|
|
44
|
+
role: import(".prisma/client").$Enums.ConversationRole;
|
|
45
|
+
userId: string;
|
|
46
|
+
conversationId: string;
|
|
47
|
+
joinedAt: Date;
|
|
48
|
+
lastViewedAt: Date | null;
|
|
49
|
+
lastViewedMentionAt: Date | null;
|
|
50
|
+
})[];
|
|
51
|
+
} & {
|
|
52
|
+
type: import(".prisma/client").$Enums.ConversationType;
|
|
53
|
+
id: string;
|
|
54
|
+
name: string | null;
|
|
55
|
+
createdAt: Date;
|
|
56
|
+
updatedAt: Date;
|
|
57
|
+
displayInChat: boolean;
|
|
58
|
+
};
|
|
59
|
+
createdBy: {
|
|
60
|
+
id: string;
|
|
61
|
+
username: string;
|
|
62
|
+
profile: {
|
|
63
|
+
displayName: string | null;
|
|
64
|
+
} | null;
|
|
65
|
+
};
|
|
66
|
+
} & {
|
|
67
|
+
context: string;
|
|
68
|
+
id: string;
|
|
69
|
+
title: string;
|
|
70
|
+
classId: string;
|
|
71
|
+
createdAt: Date;
|
|
72
|
+
updatedAt: Date;
|
|
73
|
+
conversationId: string;
|
|
74
|
+
createdById: string;
|
|
75
|
+
};
|
|
76
|
+
meta: object;
|
|
77
|
+
}>;
|
|
78
|
+
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
79
|
+
input: {
|
|
80
|
+
labChatId: string;
|
|
81
|
+
};
|
|
82
|
+
output: {
|
|
83
|
+
class: {
|
|
84
|
+
id: string;
|
|
85
|
+
name: string;
|
|
86
|
+
subject: string;
|
|
87
|
+
section: string;
|
|
88
|
+
};
|
|
89
|
+
conversation: {
|
|
90
|
+
members: ({
|
|
91
|
+
user: {
|
|
92
|
+
id: string;
|
|
93
|
+
username: string;
|
|
94
|
+
profile: {
|
|
95
|
+
displayName: string | null;
|
|
96
|
+
profilePicture: string | null;
|
|
97
|
+
} | null;
|
|
98
|
+
};
|
|
99
|
+
} & {
|
|
100
|
+
id: string;
|
|
101
|
+
role: import(".prisma/client").$Enums.ConversationRole;
|
|
102
|
+
userId: string;
|
|
103
|
+
conversationId: string;
|
|
104
|
+
joinedAt: Date;
|
|
105
|
+
lastViewedAt: Date | null;
|
|
106
|
+
lastViewedMentionAt: Date | null;
|
|
107
|
+
})[];
|
|
108
|
+
} & {
|
|
109
|
+
type: import(".prisma/client").$Enums.ConversationType;
|
|
110
|
+
id: string;
|
|
111
|
+
name: string | null;
|
|
112
|
+
createdAt: Date;
|
|
113
|
+
updatedAt: Date;
|
|
114
|
+
displayInChat: boolean;
|
|
115
|
+
};
|
|
116
|
+
createdBy: {
|
|
117
|
+
id: string;
|
|
118
|
+
username: string;
|
|
119
|
+
profile: {
|
|
120
|
+
displayName: string | null;
|
|
121
|
+
} | null;
|
|
122
|
+
};
|
|
123
|
+
} & {
|
|
124
|
+
context: string;
|
|
125
|
+
id: string;
|
|
126
|
+
title: string;
|
|
127
|
+
classId: string;
|
|
128
|
+
createdAt: Date;
|
|
129
|
+
updatedAt: Date;
|
|
130
|
+
conversationId: string;
|
|
131
|
+
createdById: string;
|
|
132
|
+
};
|
|
133
|
+
meta: object;
|
|
134
|
+
}>;
|
|
135
|
+
list: import("@trpc/server").TRPCQueryProcedure<{
|
|
136
|
+
input: {
|
|
137
|
+
classId: string;
|
|
138
|
+
};
|
|
139
|
+
output: {
|
|
140
|
+
id: string;
|
|
141
|
+
title: string;
|
|
142
|
+
classId: string;
|
|
143
|
+
conversationId: string;
|
|
144
|
+
createdBy: {
|
|
145
|
+
id: string;
|
|
146
|
+
username: string;
|
|
147
|
+
profile: {
|
|
148
|
+
displayName: string | null;
|
|
149
|
+
} | null;
|
|
150
|
+
};
|
|
151
|
+
createdAt: Date;
|
|
152
|
+
updatedAt: Date;
|
|
153
|
+
lastMessage: {
|
|
154
|
+
sender: {
|
|
155
|
+
id: string;
|
|
156
|
+
username: string;
|
|
157
|
+
profile: {
|
|
158
|
+
displayName: string | null;
|
|
159
|
+
} | null;
|
|
160
|
+
};
|
|
161
|
+
} & {
|
|
162
|
+
id: string;
|
|
163
|
+
content: string;
|
|
164
|
+
createdAt: Date;
|
|
165
|
+
senderId: string;
|
|
166
|
+
conversationId: string;
|
|
167
|
+
};
|
|
168
|
+
messageCount: number;
|
|
169
|
+
}[];
|
|
170
|
+
meta: object;
|
|
171
|
+
}>;
|
|
172
|
+
postToLabChat: import("@trpc/server").TRPCMutationProcedure<{
|
|
173
|
+
input: {
|
|
174
|
+
content: string;
|
|
175
|
+
labChatId: string;
|
|
176
|
+
mentionedUserIds?: string[] | undefined;
|
|
177
|
+
};
|
|
178
|
+
output: {
|
|
179
|
+
id: string;
|
|
180
|
+
content: string;
|
|
181
|
+
senderId: string;
|
|
182
|
+
conversationId: string;
|
|
183
|
+
createdAt: Date;
|
|
184
|
+
sender: {
|
|
185
|
+
id: string;
|
|
186
|
+
username: string;
|
|
187
|
+
profile: {
|
|
188
|
+
displayName: string | null;
|
|
189
|
+
profilePicture: string | null;
|
|
190
|
+
} | null;
|
|
191
|
+
};
|
|
192
|
+
mentionedUserIds: string[];
|
|
193
|
+
labChatId: string;
|
|
194
|
+
};
|
|
195
|
+
meta: object;
|
|
196
|
+
}>;
|
|
197
|
+
delete: import("@trpc/server").TRPCMutationProcedure<{
|
|
198
|
+
input: {
|
|
199
|
+
labChatId: string;
|
|
200
|
+
};
|
|
201
|
+
output: {
|
|
202
|
+
success: boolean;
|
|
203
|
+
};
|
|
204
|
+
meta: object;
|
|
205
|
+
}>;
|
|
206
|
+
}>>;
|
|
207
|
+
//# sourceMappingURL=labChat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"labChat.d.ts","sourceRoot":"","sources":["../../src/routers/labChat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAshBxB,CAAC"}
|