@studious-lms/server 1.1.26 → 1.2.27
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/dist/lib/fileUpload.d.ts +2 -2
- package/dist/lib/fileUpload.d.ts.map +1 -1
- package/dist/lib/fileUpload.js +8 -3
- package/dist/routers/_app.d.ts +616 -8
- package/dist/routers/_app.d.ts.map +1 -1
- package/dist/routers/announcement.d.ts +290 -3
- package/dist/routers/announcement.d.ts.map +1 -1
- package/dist/routers/announcement.js +873 -11
- package/dist/routers/assignment.d.ts +16 -1
- package/dist/routers/assignment.d.ts.map +1 -1
- package/dist/routers/class.d.ts +1 -0
- package/dist/routers/class.d.ts.map +1 -1
- package/dist/routers/class.js +1 -0
- package/dist/routers/file.d.ts +2 -0
- package/dist/routers/file.d.ts.map +1 -1
- package/package.json +1 -1
- package/prisma/migrations/20251109122857_annuoncements_comments/migration.sql +30 -0
- package/prisma/migrations/20251109135555_reactions_announcements_comments/migration.sql +35 -0
- package/prisma/schema.prisma +50 -0
- package/src/lib/fileUpload.ts +10 -3
- package/src/routers/announcement.ts +980 -11
- package/src/routers/class.ts +1 -0
package/dist/routers/_app.d.ts
CHANGED
|
@@ -138,6 +138,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
138
138
|
} | null;
|
|
139
139
|
};
|
|
140
140
|
createdAt: Date;
|
|
141
|
+
modifiedAt: Date | null;
|
|
141
142
|
}[];
|
|
142
143
|
students: {
|
|
143
144
|
id: string;
|
|
@@ -794,6 +795,8 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
794
795
|
};
|
|
795
796
|
output: {
|
|
796
797
|
announcements: {
|
|
798
|
+
commentCount: number;
|
|
799
|
+
_count: undefined;
|
|
797
800
|
id: string;
|
|
798
801
|
remarks: string;
|
|
799
802
|
teacher: {
|
|
@@ -801,15 +804,60 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
801
804
|
username: string;
|
|
802
805
|
};
|
|
803
806
|
createdAt: Date;
|
|
807
|
+
modifiedAt: Date | null;
|
|
808
|
+
attachments: {
|
|
809
|
+
path: string;
|
|
810
|
+
type: string;
|
|
811
|
+
id: string;
|
|
812
|
+
name: string;
|
|
813
|
+
size: number | null;
|
|
814
|
+
uploadedAt: Date | null;
|
|
815
|
+
thumbnailId: string | null;
|
|
816
|
+
}[];
|
|
804
817
|
}[];
|
|
805
818
|
};
|
|
806
819
|
meta: object;
|
|
807
820
|
}>;
|
|
821
|
+
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
822
|
+
input: {
|
|
823
|
+
[x: string]: unknown;
|
|
824
|
+
classId: string;
|
|
825
|
+
id: string;
|
|
826
|
+
};
|
|
827
|
+
output: {
|
|
828
|
+
announcement: {
|
|
829
|
+
id: string;
|
|
830
|
+
remarks: string;
|
|
831
|
+
teacher: {
|
|
832
|
+
id: string;
|
|
833
|
+
username: string;
|
|
834
|
+
};
|
|
835
|
+
createdAt: Date;
|
|
836
|
+
modifiedAt: Date | null;
|
|
837
|
+
attachments: {
|
|
838
|
+
path: string;
|
|
839
|
+
type: string;
|
|
840
|
+
id: string;
|
|
841
|
+
name: string;
|
|
842
|
+
size: number | null;
|
|
843
|
+
uploadedAt: Date | null;
|
|
844
|
+
thumbnailId: string | null;
|
|
845
|
+
}[];
|
|
846
|
+
};
|
|
847
|
+
};
|
|
848
|
+
meta: object;
|
|
849
|
+
}>;
|
|
808
850
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
809
851
|
input: {
|
|
810
852
|
[x: string]: unknown;
|
|
811
853
|
classId: string;
|
|
812
854
|
remarks: string;
|
|
855
|
+
files?: {
|
|
856
|
+
type: string;
|
|
857
|
+
name: string;
|
|
858
|
+
size: number;
|
|
859
|
+
}[] | undefined;
|
|
860
|
+
existingFileIds?: string[] | undefined;
|
|
813
861
|
};
|
|
814
862
|
output: {
|
|
815
863
|
announcement: {
|
|
@@ -820,7 +868,18 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
820
868
|
username: string;
|
|
821
869
|
};
|
|
822
870
|
createdAt: Date;
|
|
871
|
+
modifiedAt: Date | null;
|
|
872
|
+
attachments: {
|
|
873
|
+
path: string;
|
|
874
|
+
type: string;
|
|
875
|
+
id: string;
|
|
876
|
+
name: string;
|
|
877
|
+
size: number | null;
|
|
878
|
+
uploadedAt: Date | null;
|
|
879
|
+
thumbnailId: string | null;
|
|
880
|
+
}[];
|
|
823
881
|
};
|
|
882
|
+
uploadFiles: import("../lib/fileUpload.js").DirectUploadFile[] | undefined;
|
|
824
883
|
};
|
|
825
884
|
meta: object;
|
|
826
885
|
}>;
|
|
@@ -828,17 +887,37 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
828
887
|
input: {
|
|
829
888
|
id: string;
|
|
830
889
|
data: {
|
|
831
|
-
|
|
890
|
+
files?: {
|
|
891
|
+
type: string;
|
|
892
|
+
name: string;
|
|
893
|
+
size: number;
|
|
894
|
+
}[] | undefined;
|
|
895
|
+
remarks?: string | undefined;
|
|
896
|
+
existingFileIds?: string[] | undefined;
|
|
897
|
+
removedAttachments?: string[] | undefined;
|
|
832
898
|
};
|
|
833
899
|
};
|
|
834
900
|
output: {
|
|
835
901
|
announcement: {
|
|
836
902
|
id: string;
|
|
837
903
|
remarks: string;
|
|
838
|
-
|
|
904
|
+
teacher: {
|
|
905
|
+
id: string;
|
|
906
|
+
username: string;
|
|
907
|
+
};
|
|
839
908
|
createdAt: Date;
|
|
840
|
-
|
|
909
|
+
modifiedAt: Date | null;
|
|
910
|
+
attachments: {
|
|
911
|
+
path: string;
|
|
912
|
+
type: string;
|
|
913
|
+
id: string;
|
|
914
|
+
name: string;
|
|
915
|
+
size: number | null;
|
|
916
|
+
uploadedAt: Date | null;
|
|
917
|
+
thumbnailId: string | null;
|
|
918
|
+
}[];
|
|
841
919
|
};
|
|
920
|
+
uploadFiles: import("../lib/fileUpload.js").DirectUploadFile[] | undefined;
|
|
842
921
|
};
|
|
843
922
|
meta: object;
|
|
844
923
|
}>;
|
|
@@ -851,6 +930,214 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
851
930
|
};
|
|
852
931
|
meta: object;
|
|
853
932
|
}>;
|
|
933
|
+
getAnnouncementUploadUrls: import("@trpc/server").TRPCMutationProcedure<{
|
|
934
|
+
input: {
|
|
935
|
+
[x: string]: unknown;
|
|
936
|
+
classId: string;
|
|
937
|
+
files: {
|
|
938
|
+
type: string;
|
|
939
|
+
name: string;
|
|
940
|
+
size: number;
|
|
941
|
+
}[];
|
|
942
|
+
announcementId: string;
|
|
943
|
+
};
|
|
944
|
+
output: {
|
|
945
|
+
success: boolean;
|
|
946
|
+
uploadFiles: import("../lib/fileUpload.js").DirectUploadFile[];
|
|
947
|
+
};
|
|
948
|
+
meta: object;
|
|
949
|
+
}>;
|
|
950
|
+
confirmAnnouncementUpload: import("@trpc/server").TRPCMutationProcedure<{
|
|
951
|
+
input: {
|
|
952
|
+
[x: string]: unknown;
|
|
953
|
+
classId: string;
|
|
954
|
+
fileId: string;
|
|
955
|
+
uploadSuccess: boolean;
|
|
956
|
+
errorMessage?: string | undefined;
|
|
957
|
+
};
|
|
958
|
+
output: {
|
|
959
|
+
success: boolean;
|
|
960
|
+
message: string;
|
|
961
|
+
};
|
|
962
|
+
meta: object;
|
|
963
|
+
}>;
|
|
964
|
+
addComment: import("@trpc/server").TRPCMutationProcedure<{
|
|
965
|
+
input: {
|
|
966
|
+
[x: string]: unknown;
|
|
967
|
+
classId: string;
|
|
968
|
+
content: string;
|
|
969
|
+
announcementId: string;
|
|
970
|
+
parentCommentId?: string | undefined;
|
|
971
|
+
};
|
|
972
|
+
output: {
|
|
973
|
+
comment: {
|
|
974
|
+
author: {
|
|
975
|
+
id: string;
|
|
976
|
+
username: string;
|
|
977
|
+
profile: {
|
|
978
|
+
displayName: string | null;
|
|
979
|
+
profilePicture: string | null;
|
|
980
|
+
profilePictureThumbnail: string | null;
|
|
981
|
+
} | null;
|
|
982
|
+
};
|
|
983
|
+
} & {
|
|
984
|
+
id: string;
|
|
985
|
+
content: string;
|
|
986
|
+
createdAt: Date;
|
|
987
|
+
modifiedAt: Date | null;
|
|
988
|
+
announcementId: string;
|
|
989
|
+
parentCommentId: string | null;
|
|
990
|
+
authorId: string;
|
|
991
|
+
};
|
|
992
|
+
};
|
|
993
|
+
meta: object;
|
|
994
|
+
}>;
|
|
995
|
+
updateComment: import("@trpc/server").TRPCMutationProcedure<{
|
|
996
|
+
input: {
|
|
997
|
+
id: string;
|
|
998
|
+
content: string;
|
|
999
|
+
};
|
|
1000
|
+
output: {
|
|
1001
|
+
comment: {
|
|
1002
|
+
author: {
|
|
1003
|
+
id: string;
|
|
1004
|
+
username: string;
|
|
1005
|
+
profile: {
|
|
1006
|
+
displayName: string | null;
|
|
1007
|
+
profilePicture: string | null;
|
|
1008
|
+
profilePictureThumbnail: string | null;
|
|
1009
|
+
} | null;
|
|
1010
|
+
};
|
|
1011
|
+
} & {
|
|
1012
|
+
id: string;
|
|
1013
|
+
content: string;
|
|
1014
|
+
createdAt: Date;
|
|
1015
|
+
modifiedAt: Date | null;
|
|
1016
|
+
announcementId: string;
|
|
1017
|
+
parentCommentId: string | null;
|
|
1018
|
+
authorId: string;
|
|
1019
|
+
};
|
|
1020
|
+
};
|
|
1021
|
+
meta: object;
|
|
1022
|
+
}>;
|
|
1023
|
+
deleteComment: import("@trpc/server").TRPCMutationProcedure<{
|
|
1024
|
+
input: {
|
|
1025
|
+
id: string;
|
|
1026
|
+
};
|
|
1027
|
+
output: {
|
|
1028
|
+
success: boolean;
|
|
1029
|
+
};
|
|
1030
|
+
meta: object;
|
|
1031
|
+
}>;
|
|
1032
|
+
getComments: import("@trpc/server").TRPCQueryProcedure<{
|
|
1033
|
+
input: {
|
|
1034
|
+
[x: string]: unknown;
|
|
1035
|
+
classId: string;
|
|
1036
|
+
announcementId: string;
|
|
1037
|
+
};
|
|
1038
|
+
output: {
|
|
1039
|
+
comments: ({
|
|
1040
|
+
author: {
|
|
1041
|
+
id: string;
|
|
1042
|
+
username: string;
|
|
1043
|
+
profile: {
|
|
1044
|
+
displayName: string | null;
|
|
1045
|
+
profilePicture: string | null;
|
|
1046
|
+
profilePictureThumbnail: string | null;
|
|
1047
|
+
} | null;
|
|
1048
|
+
};
|
|
1049
|
+
replies: ({
|
|
1050
|
+
author: {
|
|
1051
|
+
id: string;
|
|
1052
|
+
username: string;
|
|
1053
|
+
profile: {
|
|
1054
|
+
displayName: string | null;
|
|
1055
|
+
profilePicture: string | null;
|
|
1056
|
+
profilePictureThumbnail: string | null;
|
|
1057
|
+
} | null;
|
|
1058
|
+
};
|
|
1059
|
+
} & {
|
|
1060
|
+
id: string;
|
|
1061
|
+
content: string;
|
|
1062
|
+
createdAt: Date;
|
|
1063
|
+
modifiedAt: Date | null;
|
|
1064
|
+
announcementId: string;
|
|
1065
|
+
parentCommentId: string | null;
|
|
1066
|
+
authorId: string;
|
|
1067
|
+
})[];
|
|
1068
|
+
} & {
|
|
1069
|
+
id: string;
|
|
1070
|
+
content: string;
|
|
1071
|
+
createdAt: Date;
|
|
1072
|
+
modifiedAt: Date | null;
|
|
1073
|
+
announcementId: string;
|
|
1074
|
+
parentCommentId: string | null;
|
|
1075
|
+
authorId: string;
|
|
1076
|
+
})[];
|
|
1077
|
+
};
|
|
1078
|
+
meta: object;
|
|
1079
|
+
}>;
|
|
1080
|
+
addReaction: import("@trpc/server").TRPCMutationProcedure<{
|
|
1081
|
+
input: {
|
|
1082
|
+
[x: string]: unknown;
|
|
1083
|
+
classId: string;
|
|
1084
|
+
type: "THUMBSUP" | "CELEBRATE" | "CARE" | "HEART" | "IDEA" | "HAPPY";
|
|
1085
|
+
announcementId?: string | undefined;
|
|
1086
|
+
commentId?: string | undefined;
|
|
1087
|
+
};
|
|
1088
|
+
output: {
|
|
1089
|
+
reaction: {
|
|
1090
|
+
user: {
|
|
1091
|
+
id: string;
|
|
1092
|
+
username: string;
|
|
1093
|
+
profile: {
|
|
1094
|
+
displayName: string | null;
|
|
1095
|
+
profilePicture: string | null;
|
|
1096
|
+
profilePictureThumbnail: string | null;
|
|
1097
|
+
} | null;
|
|
1098
|
+
};
|
|
1099
|
+
} & {
|
|
1100
|
+
type: import(".prisma/client").$Enums.ReactionType;
|
|
1101
|
+
id: string;
|
|
1102
|
+
userId: string;
|
|
1103
|
+
createdAt: Date;
|
|
1104
|
+
announcementId: string | null;
|
|
1105
|
+
commentId: string | null;
|
|
1106
|
+
};
|
|
1107
|
+
};
|
|
1108
|
+
meta: object;
|
|
1109
|
+
}>;
|
|
1110
|
+
removeReaction: import("@trpc/server").TRPCMutationProcedure<{
|
|
1111
|
+
input: {
|
|
1112
|
+
announcementId?: string | undefined;
|
|
1113
|
+
commentId?: string | undefined;
|
|
1114
|
+
};
|
|
1115
|
+
output: {
|
|
1116
|
+
success: boolean;
|
|
1117
|
+
};
|
|
1118
|
+
meta: object;
|
|
1119
|
+
}>;
|
|
1120
|
+
getReactions: import("@trpc/server").TRPCQueryProcedure<{
|
|
1121
|
+
input: {
|
|
1122
|
+
[x: string]: unknown;
|
|
1123
|
+
classId: string;
|
|
1124
|
+
announcementId?: string | undefined;
|
|
1125
|
+
commentId?: string | undefined;
|
|
1126
|
+
};
|
|
1127
|
+
output: {
|
|
1128
|
+
counts: {
|
|
1129
|
+
THUMBSUP: number;
|
|
1130
|
+
CELEBRATE: number;
|
|
1131
|
+
CARE: number;
|
|
1132
|
+
HEART: number;
|
|
1133
|
+
IDEA: number;
|
|
1134
|
+
HAPPY: number;
|
|
1135
|
+
};
|
|
1136
|
+
userReaction: import(".prisma/client").$Enums.ReactionType | null;
|
|
1137
|
+
total: number;
|
|
1138
|
+
};
|
|
1139
|
+
meta: object;
|
|
1140
|
+
}>;
|
|
854
1141
|
}>>;
|
|
855
1142
|
assignment: import("@trpc/server").TRPCBuiltRouter<{
|
|
856
1143
|
ctx: import("../trpc.js").Context;
|
|
@@ -1105,6 +1392,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1105
1392
|
folderId: string | null;
|
|
1106
1393
|
conversationId: string | null;
|
|
1107
1394
|
messageId: string | null;
|
|
1395
|
+
announcementId: string | null;
|
|
1108
1396
|
schoolDevelopementProgramId: string | null;
|
|
1109
1397
|
} | null;
|
|
1110
1398
|
thumbnailId: string | null;
|
|
@@ -1272,6 +1560,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1272
1560
|
folderId: string | null;
|
|
1273
1561
|
conversationId: string | null;
|
|
1274
1562
|
messageId: string | null;
|
|
1563
|
+
announcementId: string | null;
|
|
1275
1564
|
schoolDevelopementProgramId: string | null;
|
|
1276
1565
|
}[];
|
|
1277
1566
|
annotations: {
|
|
@@ -1299,6 +1588,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1299
1588
|
folderId: string | null;
|
|
1300
1589
|
conversationId: string | null;
|
|
1301
1590
|
messageId: string | null;
|
|
1591
|
+
announcementId: string | null;
|
|
1302
1592
|
schoolDevelopementProgramId: string | null;
|
|
1303
1593
|
}[];
|
|
1304
1594
|
} & {
|
|
@@ -1395,6 +1685,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1395
1685
|
folderId: string | null;
|
|
1396
1686
|
conversationId: string | null;
|
|
1397
1687
|
messageId: string | null;
|
|
1688
|
+
announcementId: string | null;
|
|
1398
1689
|
schoolDevelopementProgramId: string | null;
|
|
1399
1690
|
}[];
|
|
1400
1691
|
annotations: {
|
|
@@ -1422,6 +1713,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1422
1713
|
folderId: string | null;
|
|
1423
1714
|
conversationId: string | null;
|
|
1424
1715
|
messageId: string | null;
|
|
1716
|
+
announcementId: string | null;
|
|
1425
1717
|
schoolDevelopementProgramId: string | null;
|
|
1426
1718
|
}[];
|
|
1427
1719
|
id: string;
|
|
@@ -1526,6 +1818,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1526
1818
|
folderId: string | null;
|
|
1527
1819
|
conversationId: string | null;
|
|
1528
1820
|
messageId: string | null;
|
|
1821
|
+
announcementId: string | null;
|
|
1529
1822
|
schoolDevelopementProgramId: string | null;
|
|
1530
1823
|
}[];
|
|
1531
1824
|
annotations: {
|
|
@@ -1553,6 +1846,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1553
1846
|
folderId: string | null;
|
|
1554
1847
|
conversationId: string | null;
|
|
1555
1848
|
messageId: string | null;
|
|
1849
|
+
announcementId: string | null;
|
|
1556
1850
|
schoolDevelopementProgramId: string | null;
|
|
1557
1851
|
}[];
|
|
1558
1852
|
id: string;
|
|
@@ -1653,6 +1947,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1653
1947
|
folderId: string | null;
|
|
1654
1948
|
conversationId: string | null;
|
|
1655
1949
|
messageId: string | null;
|
|
1950
|
+
announcementId: string | null;
|
|
1656
1951
|
schoolDevelopementProgramId: string | null;
|
|
1657
1952
|
}[];
|
|
1658
1953
|
} & {
|
|
@@ -1752,6 +2047,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1752
2047
|
folderId: string | null;
|
|
1753
2048
|
conversationId: string | null;
|
|
1754
2049
|
messageId: string | null;
|
|
2050
|
+
announcementId: string | null;
|
|
1755
2051
|
schoolDevelopementProgramId: string | null;
|
|
1756
2052
|
} | null;
|
|
1757
2053
|
} & {
|
|
@@ -1779,6 +2075,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1779
2075
|
folderId: string | null;
|
|
1780
2076
|
conversationId: string | null;
|
|
1781
2077
|
messageId: string | null;
|
|
2078
|
+
announcementId: string | null;
|
|
1782
2079
|
schoolDevelopementProgramId: string | null;
|
|
1783
2080
|
})[];
|
|
1784
2081
|
id: string;
|
|
@@ -1812,10 +2109,10 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1812
2109
|
}[] | undefined;
|
|
1813
2110
|
return?: boolean | undefined;
|
|
1814
2111
|
rubricGrades?: {
|
|
2112
|
+
comments: string;
|
|
1815
2113
|
criteriaId: string;
|
|
1816
2114
|
selectedLevelId: string;
|
|
1817
2115
|
points: number;
|
|
1818
|
-
comments: string;
|
|
1819
2116
|
}[] | undefined;
|
|
1820
2117
|
};
|
|
1821
2118
|
output: {
|
|
@@ -1892,6 +2189,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1892
2189
|
folderId: string | null;
|
|
1893
2190
|
conversationId: string | null;
|
|
1894
2191
|
messageId: string | null;
|
|
2192
|
+
announcementId: string | null;
|
|
1895
2193
|
schoolDevelopementProgramId: string | null;
|
|
1896
2194
|
}[];
|
|
1897
2195
|
} & {
|
|
@@ -2096,6 +2394,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2096
2394
|
folderId: string | null;
|
|
2097
2395
|
conversationId: string | null;
|
|
2098
2396
|
messageId: string | null;
|
|
2397
|
+
announcementId: string | null;
|
|
2099
2398
|
schoolDevelopementProgramId: string | null;
|
|
2100
2399
|
}[];
|
|
2101
2400
|
eventAttached: {
|
|
@@ -2186,6 +2485,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2186
2485
|
folderId: string | null;
|
|
2187
2486
|
conversationId: string | null;
|
|
2188
2487
|
messageId: string | null;
|
|
2488
|
+
announcementId: string | null;
|
|
2189
2489
|
schoolDevelopementProgramId: string | null;
|
|
2190
2490
|
}[];
|
|
2191
2491
|
eventAttached: {
|
|
@@ -2277,6 +2577,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2277
2577
|
folderId: string | null;
|
|
2278
2578
|
conversationId: string | null;
|
|
2279
2579
|
messageId: string | null;
|
|
2580
|
+
announcementId: string | null;
|
|
2280
2581
|
schoolDevelopementProgramId: string | null;
|
|
2281
2582
|
}[];
|
|
2282
2583
|
eventAttached: {
|
|
@@ -2367,6 +2668,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2367
2668
|
folderId: string | null;
|
|
2368
2669
|
conversationId: string | null;
|
|
2369
2670
|
messageId: string | null;
|
|
2671
|
+
announcementId: string | null;
|
|
2370
2672
|
schoolDevelopementProgramId: string | null;
|
|
2371
2673
|
}[];
|
|
2372
2674
|
eventAttached: {
|
|
@@ -3290,6 +3592,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3290
3592
|
folderId: string | null;
|
|
3291
3593
|
conversationId: string | null;
|
|
3292
3594
|
messageId: string | null;
|
|
3595
|
+
announcementId: string | null;
|
|
3293
3596
|
schoolDevelopementProgramId: string | null;
|
|
3294
3597
|
};
|
|
3295
3598
|
meta: object;
|
|
@@ -3331,6 +3634,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3331
3634
|
folderId: string | null;
|
|
3332
3635
|
conversationId: string | null;
|
|
3333
3636
|
messageId: string | null;
|
|
3637
|
+
announcementId: string | null;
|
|
3334
3638
|
schoolDevelopementProgramId: string | null;
|
|
3335
3639
|
};
|
|
3336
3640
|
meta: object;
|
|
@@ -4498,6 +4802,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
4498
4802
|
} | null;
|
|
4499
4803
|
};
|
|
4500
4804
|
createdAt: Date;
|
|
4805
|
+
modifiedAt: Date | null;
|
|
4501
4806
|
}[];
|
|
4502
4807
|
students: {
|
|
4503
4808
|
id: string;
|
|
@@ -5154,6 +5459,8 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5154
5459
|
};
|
|
5155
5460
|
output: {
|
|
5156
5461
|
announcements: {
|
|
5462
|
+
commentCount: number;
|
|
5463
|
+
_count: undefined;
|
|
5157
5464
|
id: string;
|
|
5158
5465
|
remarks: string;
|
|
5159
5466
|
teacher: {
|
|
@@ -5161,15 +5468,60 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5161
5468
|
username: string;
|
|
5162
5469
|
};
|
|
5163
5470
|
createdAt: Date;
|
|
5471
|
+
modifiedAt: Date | null;
|
|
5472
|
+
attachments: {
|
|
5473
|
+
path: string;
|
|
5474
|
+
type: string;
|
|
5475
|
+
id: string;
|
|
5476
|
+
name: string;
|
|
5477
|
+
size: number | null;
|
|
5478
|
+
uploadedAt: Date | null;
|
|
5479
|
+
thumbnailId: string | null;
|
|
5480
|
+
}[];
|
|
5164
5481
|
}[];
|
|
5165
5482
|
};
|
|
5166
5483
|
meta: object;
|
|
5167
5484
|
}>;
|
|
5485
|
+
get: import("@trpc/server").TRPCQueryProcedure<{
|
|
5486
|
+
input: {
|
|
5487
|
+
[x: string]: unknown;
|
|
5488
|
+
classId: string;
|
|
5489
|
+
id: string;
|
|
5490
|
+
};
|
|
5491
|
+
output: {
|
|
5492
|
+
announcement: {
|
|
5493
|
+
id: string;
|
|
5494
|
+
remarks: string;
|
|
5495
|
+
teacher: {
|
|
5496
|
+
id: string;
|
|
5497
|
+
username: string;
|
|
5498
|
+
};
|
|
5499
|
+
createdAt: Date;
|
|
5500
|
+
modifiedAt: Date | null;
|
|
5501
|
+
attachments: {
|
|
5502
|
+
path: string;
|
|
5503
|
+
type: string;
|
|
5504
|
+
id: string;
|
|
5505
|
+
name: string;
|
|
5506
|
+
size: number | null;
|
|
5507
|
+
uploadedAt: Date | null;
|
|
5508
|
+
thumbnailId: string | null;
|
|
5509
|
+
}[];
|
|
5510
|
+
};
|
|
5511
|
+
};
|
|
5512
|
+
meta: object;
|
|
5513
|
+
}>;
|
|
5168
5514
|
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
5169
5515
|
input: {
|
|
5170
5516
|
[x: string]: unknown;
|
|
5171
5517
|
classId: string;
|
|
5172
5518
|
remarks: string;
|
|
5519
|
+
files?: {
|
|
5520
|
+
type: string;
|
|
5521
|
+
name: string;
|
|
5522
|
+
size: number;
|
|
5523
|
+
}[] | undefined;
|
|
5524
|
+
existingFileIds?: string[] | undefined;
|
|
5173
5525
|
};
|
|
5174
5526
|
output: {
|
|
5175
5527
|
announcement: {
|
|
@@ -5180,7 +5532,18 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5180
5532
|
username: string;
|
|
5181
5533
|
};
|
|
5182
5534
|
createdAt: Date;
|
|
5535
|
+
modifiedAt: Date | null;
|
|
5536
|
+
attachments: {
|
|
5537
|
+
path: string;
|
|
5538
|
+
type: string;
|
|
5539
|
+
id: string;
|
|
5540
|
+
name: string;
|
|
5541
|
+
size: number | null;
|
|
5542
|
+
uploadedAt: Date | null;
|
|
5543
|
+
thumbnailId: string | null;
|
|
5544
|
+
}[];
|
|
5183
5545
|
};
|
|
5546
|
+
uploadFiles: import("../lib/fileUpload.js").DirectUploadFile[] | undefined;
|
|
5184
5547
|
};
|
|
5185
5548
|
meta: object;
|
|
5186
5549
|
}>;
|
|
@@ -5188,17 +5551,37 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5188
5551
|
input: {
|
|
5189
5552
|
id: string;
|
|
5190
5553
|
data: {
|
|
5191
|
-
|
|
5554
|
+
files?: {
|
|
5555
|
+
type: string;
|
|
5556
|
+
name: string;
|
|
5557
|
+
size: number;
|
|
5558
|
+
}[] | undefined;
|
|
5559
|
+
remarks?: string | undefined;
|
|
5560
|
+
existingFileIds?: string[] | undefined;
|
|
5561
|
+
removedAttachments?: string[] | undefined;
|
|
5192
5562
|
};
|
|
5193
5563
|
};
|
|
5194
5564
|
output: {
|
|
5195
5565
|
announcement: {
|
|
5196
5566
|
id: string;
|
|
5197
5567
|
remarks: string;
|
|
5198
|
-
|
|
5568
|
+
teacher: {
|
|
5569
|
+
id: string;
|
|
5570
|
+
username: string;
|
|
5571
|
+
};
|
|
5199
5572
|
createdAt: Date;
|
|
5200
|
-
|
|
5573
|
+
modifiedAt: Date | null;
|
|
5574
|
+
attachments: {
|
|
5575
|
+
path: string;
|
|
5576
|
+
type: string;
|
|
5577
|
+
id: string;
|
|
5578
|
+
name: string;
|
|
5579
|
+
size: number | null;
|
|
5580
|
+
uploadedAt: Date | null;
|
|
5581
|
+
thumbnailId: string | null;
|
|
5582
|
+
}[];
|
|
5201
5583
|
};
|
|
5584
|
+
uploadFiles: import("../lib/fileUpload.js").DirectUploadFile[] | undefined;
|
|
5202
5585
|
};
|
|
5203
5586
|
meta: object;
|
|
5204
5587
|
}>;
|
|
@@ -5211,6 +5594,214 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5211
5594
|
};
|
|
5212
5595
|
meta: object;
|
|
5213
5596
|
}>;
|
|
5597
|
+
getAnnouncementUploadUrls: import("@trpc/server").TRPCMutationProcedure<{
|
|
5598
|
+
input: {
|
|
5599
|
+
[x: string]: unknown;
|
|
5600
|
+
classId: string;
|
|
5601
|
+
files: {
|
|
5602
|
+
type: string;
|
|
5603
|
+
name: string;
|
|
5604
|
+
size: number;
|
|
5605
|
+
}[];
|
|
5606
|
+
announcementId: string;
|
|
5607
|
+
};
|
|
5608
|
+
output: {
|
|
5609
|
+
success: boolean;
|
|
5610
|
+
uploadFiles: import("../lib/fileUpload.js").DirectUploadFile[];
|
|
5611
|
+
};
|
|
5612
|
+
meta: object;
|
|
5613
|
+
}>;
|
|
5614
|
+
confirmAnnouncementUpload: import("@trpc/server").TRPCMutationProcedure<{
|
|
5615
|
+
input: {
|
|
5616
|
+
[x: string]: unknown;
|
|
5617
|
+
classId: string;
|
|
5618
|
+
fileId: string;
|
|
5619
|
+
uploadSuccess: boolean;
|
|
5620
|
+
errorMessage?: string | undefined;
|
|
5621
|
+
};
|
|
5622
|
+
output: {
|
|
5623
|
+
success: boolean;
|
|
5624
|
+
message: string;
|
|
5625
|
+
};
|
|
5626
|
+
meta: object;
|
|
5627
|
+
}>;
|
|
5628
|
+
addComment: import("@trpc/server").TRPCMutationProcedure<{
|
|
5629
|
+
input: {
|
|
5630
|
+
[x: string]: unknown;
|
|
5631
|
+
classId: string;
|
|
5632
|
+
content: string;
|
|
5633
|
+
announcementId: string;
|
|
5634
|
+
parentCommentId?: string | undefined;
|
|
5635
|
+
};
|
|
5636
|
+
output: {
|
|
5637
|
+
comment: {
|
|
5638
|
+
author: {
|
|
5639
|
+
id: string;
|
|
5640
|
+
username: string;
|
|
5641
|
+
profile: {
|
|
5642
|
+
displayName: string | null;
|
|
5643
|
+
profilePicture: string | null;
|
|
5644
|
+
profilePictureThumbnail: string | null;
|
|
5645
|
+
} | null;
|
|
5646
|
+
};
|
|
5647
|
+
} & {
|
|
5648
|
+
id: string;
|
|
5649
|
+
content: string;
|
|
5650
|
+
createdAt: Date;
|
|
5651
|
+
modifiedAt: Date | null;
|
|
5652
|
+
announcementId: string;
|
|
5653
|
+
parentCommentId: string | null;
|
|
5654
|
+
authorId: string;
|
|
5655
|
+
};
|
|
5656
|
+
};
|
|
5657
|
+
meta: object;
|
|
5658
|
+
}>;
|
|
5659
|
+
updateComment: import("@trpc/server").TRPCMutationProcedure<{
|
|
5660
|
+
input: {
|
|
5661
|
+
id: string;
|
|
5662
|
+
content: string;
|
|
5663
|
+
};
|
|
5664
|
+
output: {
|
|
5665
|
+
comment: {
|
|
5666
|
+
author: {
|
|
5667
|
+
id: string;
|
|
5668
|
+
username: string;
|
|
5669
|
+
profile: {
|
|
5670
|
+
displayName: string | null;
|
|
5671
|
+
profilePicture: string | null;
|
|
5672
|
+
profilePictureThumbnail: string | null;
|
|
5673
|
+
} | null;
|
|
5674
|
+
};
|
|
5675
|
+
} & {
|
|
5676
|
+
id: string;
|
|
5677
|
+
content: string;
|
|
5678
|
+
createdAt: Date;
|
|
5679
|
+
modifiedAt: Date | null;
|
|
5680
|
+
announcementId: string;
|
|
5681
|
+
parentCommentId: string | null;
|
|
5682
|
+
authorId: string;
|
|
5683
|
+
};
|
|
5684
|
+
};
|
|
5685
|
+
meta: object;
|
|
5686
|
+
}>;
|
|
5687
|
+
deleteComment: import("@trpc/server").TRPCMutationProcedure<{
|
|
5688
|
+
input: {
|
|
5689
|
+
id: string;
|
|
5690
|
+
};
|
|
5691
|
+
output: {
|
|
5692
|
+
success: boolean;
|
|
5693
|
+
};
|
|
5694
|
+
meta: object;
|
|
5695
|
+
}>;
|
|
5696
|
+
getComments: import("@trpc/server").TRPCQueryProcedure<{
|
|
5697
|
+
input: {
|
|
5698
|
+
[x: string]: unknown;
|
|
5699
|
+
classId: string;
|
|
5700
|
+
announcementId: string;
|
|
5701
|
+
};
|
|
5702
|
+
output: {
|
|
5703
|
+
comments: ({
|
|
5704
|
+
author: {
|
|
5705
|
+
id: string;
|
|
5706
|
+
username: string;
|
|
5707
|
+
profile: {
|
|
5708
|
+
displayName: string | null;
|
|
5709
|
+
profilePicture: string | null;
|
|
5710
|
+
profilePictureThumbnail: string | null;
|
|
5711
|
+
} | null;
|
|
5712
|
+
};
|
|
5713
|
+
replies: ({
|
|
5714
|
+
author: {
|
|
5715
|
+
id: string;
|
|
5716
|
+
username: string;
|
|
5717
|
+
profile: {
|
|
5718
|
+
displayName: string | null;
|
|
5719
|
+
profilePicture: string | null;
|
|
5720
|
+
profilePictureThumbnail: string | null;
|
|
5721
|
+
} | null;
|
|
5722
|
+
};
|
|
5723
|
+
} & {
|
|
5724
|
+
id: string;
|
|
5725
|
+
content: string;
|
|
5726
|
+
createdAt: Date;
|
|
5727
|
+
modifiedAt: Date | null;
|
|
5728
|
+
announcementId: string;
|
|
5729
|
+
parentCommentId: string | null;
|
|
5730
|
+
authorId: string;
|
|
5731
|
+
})[];
|
|
5732
|
+
} & {
|
|
5733
|
+
id: string;
|
|
5734
|
+
content: string;
|
|
5735
|
+
createdAt: Date;
|
|
5736
|
+
modifiedAt: Date | null;
|
|
5737
|
+
announcementId: string;
|
|
5738
|
+
parentCommentId: string | null;
|
|
5739
|
+
authorId: string;
|
|
5740
|
+
})[];
|
|
5741
|
+
};
|
|
5742
|
+
meta: object;
|
|
5743
|
+
}>;
|
|
5744
|
+
addReaction: import("@trpc/server").TRPCMutationProcedure<{
|
|
5745
|
+
input: {
|
|
5746
|
+
[x: string]: unknown;
|
|
5747
|
+
classId: string;
|
|
5748
|
+
type: "THUMBSUP" | "CELEBRATE" | "CARE" | "HEART" | "IDEA" | "HAPPY";
|
|
5749
|
+
announcementId?: string | undefined;
|
|
5750
|
+
commentId?: string | undefined;
|
|
5751
|
+
};
|
|
5752
|
+
output: {
|
|
5753
|
+
reaction: {
|
|
5754
|
+
user: {
|
|
5755
|
+
id: string;
|
|
5756
|
+
username: string;
|
|
5757
|
+
profile: {
|
|
5758
|
+
displayName: string | null;
|
|
5759
|
+
profilePicture: string | null;
|
|
5760
|
+
profilePictureThumbnail: string | null;
|
|
5761
|
+
} | null;
|
|
5762
|
+
};
|
|
5763
|
+
} & {
|
|
5764
|
+
type: import(".prisma/client").$Enums.ReactionType;
|
|
5765
|
+
id: string;
|
|
5766
|
+
userId: string;
|
|
5767
|
+
createdAt: Date;
|
|
5768
|
+
announcementId: string | null;
|
|
5769
|
+
commentId: string | null;
|
|
5770
|
+
};
|
|
5771
|
+
};
|
|
5772
|
+
meta: object;
|
|
5773
|
+
}>;
|
|
5774
|
+
removeReaction: import("@trpc/server").TRPCMutationProcedure<{
|
|
5775
|
+
input: {
|
|
5776
|
+
announcementId?: string | undefined;
|
|
5777
|
+
commentId?: string | undefined;
|
|
5778
|
+
};
|
|
5779
|
+
output: {
|
|
5780
|
+
success: boolean;
|
|
5781
|
+
};
|
|
5782
|
+
meta: object;
|
|
5783
|
+
}>;
|
|
5784
|
+
getReactions: import("@trpc/server").TRPCQueryProcedure<{
|
|
5785
|
+
input: {
|
|
5786
|
+
[x: string]: unknown;
|
|
5787
|
+
classId: string;
|
|
5788
|
+
announcementId?: string | undefined;
|
|
5789
|
+
commentId?: string | undefined;
|
|
5790
|
+
};
|
|
5791
|
+
output: {
|
|
5792
|
+
counts: {
|
|
5793
|
+
THUMBSUP: number;
|
|
5794
|
+
CELEBRATE: number;
|
|
5795
|
+
CARE: number;
|
|
5796
|
+
HEART: number;
|
|
5797
|
+
IDEA: number;
|
|
5798
|
+
HAPPY: number;
|
|
5799
|
+
};
|
|
5800
|
+
userReaction: import(".prisma/client").$Enums.ReactionType | null;
|
|
5801
|
+
total: number;
|
|
5802
|
+
};
|
|
5803
|
+
meta: object;
|
|
5804
|
+
}>;
|
|
5214
5805
|
}>>;
|
|
5215
5806
|
assignment: import("@trpc/server").TRPCBuiltRouter<{
|
|
5216
5807
|
ctx: import("../trpc.js").Context;
|
|
@@ -5465,6 +6056,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5465
6056
|
folderId: string | null;
|
|
5466
6057
|
conversationId: string | null;
|
|
5467
6058
|
messageId: string | null;
|
|
6059
|
+
announcementId: string | null;
|
|
5468
6060
|
schoolDevelopementProgramId: string | null;
|
|
5469
6061
|
} | null;
|
|
5470
6062
|
thumbnailId: string | null;
|
|
@@ -5632,6 +6224,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5632
6224
|
folderId: string | null;
|
|
5633
6225
|
conversationId: string | null;
|
|
5634
6226
|
messageId: string | null;
|
|
6227
|
+
announcementId: string | null;
|
|
5635
6228
|
schoolDevelopementProgramId: string | null;
|
|
5636
6229
|
}[];
|
|
5637
6230
|
annotations: {
|
|
@@ -5659,6 +6252,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5659
6252
|
folderId: string | null;
|
|
5660
6253
|
conversationId: string | null;
|
|
5661
6254
|
messageId: string | null;
|
|
6255
|
+
announcementId: string | null;
|
|
5662
6256
|
schoolDevelopementProgramId: string | null;
|
|
5663
6257
|
}[];
|
|
5664
6258
|
} & {
|
|
@@ -5755,6 +6349,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5755
6349
|
folderId: string | null;
|
|
5756
6350
|
conversationId: string | null;
|
|
5757
6351
|
messageId: string | null;
|
|
6352
|
+
announcementId: string | null;
|
|
5758
6353
|
schoolDevelopementProgramId: string | null;
|
|
5759
6354
|
}[];
|
|
5760
6355
|
annotations: {
|
|
@@ -5782,6 +6377,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5782
6377
|
folderId: string | null;
|
|
5783
6378
|
conversationId: string | null;
|
|
5784
6379
|
messageId: string | null;
|
|
6380
|
+
announcementId: string | null;
|
|
5785
6381
|
schoolDevelopementProgramId: string | null;
|
|
5786
6382
|
}[];
|
|
5787
6383
|
id: string;
|
|
@@ -5886,6 +6482,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5886
6482
|
folderId: string | null;
|
|
5887
6483
|
conversationId: string | null;
|
|
5888
6484
|
messageId: string | null;
|
|
6485
|
+
announcementId: string | null;
|
|
5889
6486
|
schoolDevelopementProgramId: string | null;
|
|
5890
6487
|
}[];
|
|
5891
6488
|
annotations: {
|
|
@@ -5913,6 +6510,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
5913
6510
|
folderId: string | null;
|
|
5914
6511
|
conversationId: string | null;
|
|
5915
6512
|
messageId: string | null;
|
|
6513
|
+
announcementId: string | null;
|
|
5916
6514
|
schoolDevelopementProgramId: string | null;
|
|
5917
6515
|
}[];
|
|
5918
6516
|
id: string;
|
|
@@ -6013,6 +6611,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6013
6611
|
folderId: string | null;
|
|
6014
6612
|
conversationId: string | null;
|
|
6015
6613
|
messageId: string | null;
|
|
6614
|
+
announcementId: string | null;
|
|
6016
6615
|
schoolDevelopementProgramId: string | null;
|
|
6017
6616
|
}[];
|
|
6018
6617
|
} & {
|
|
@@ -6112,6 +6711,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6112
6711
|
folderId: string | null;
|
|
6113
6712
|
conversationId: string | null;
|
|
6114
6713
|
messageId: string | null;
|
|
6714
|
+
announcementId: string | null;
|
|
6115
6715
|
schoolDevelopementProgramId: string | null;
|
|
6116
6716
|
} | null;
|
|
6117
6717
|
} & {
|
|
@@ -6139,6 +6739,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6139
6739
|
folderId: string | null;
|
|
6140
6740
|
conversationId: string | null;
|
|
6141
6741
|
messageId: string | null;
|
|
6742
|
+
announcementId: string | null;
|
|
6142
6743
|
schoolDevelopementProgramId: string | null;
|
|
6143
6744
|
})[];
|
|
6144
6745
|
id: string;
|
|
@@ -6172,10 +6773,10 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6172
6773
|
}[] | undefined;
|
|
6173
6774
|
return?: boolean | undefined;
|
|
6174
6775
|
rubricGrades?: {
|
|
6776
|
+
comments: string;
|
|
6175
6777
|
criteriaId: string;
|
|
6176
6778
|
selectedLevelId: string;
|
|
6177
6779
|
points: number;
|
|
6178
|
-
comments: string;
|
|
6179
6780
|
}[] | undefined;
|
|
6180
6781
|
};
|
|
6181
6782
|
output: {
|
|
@@ -6252,6 +6853,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6252
6853
|
folderId: string | null;
|
|
6253
6854
|
conversationId: string | null;
|
|
6254
6855
|
messageId: string | null;
|
|
6856
|
+
announcementId: string | null;
|
|
6255
6857
|
schoolDevelopementProgramId: string | null;
|
|
6256
6858
|
}[];
|
|
6257
6859
|
} & {
|
|
@@ -6456,6 +7058,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6456
7058
|
folderId: string | null;
|
|
6457
7059
|
conversationId: string | null;
|
|
6458
7060
|
messageId: string | null;
|
|
7061
|
+
announcementId: string | null;
|
|
6459
7062
|
schoolDevelopementProgramId: string | null;
|
|
6460
7063
|
}[];
|
|
6461
7064
|
eventAttached: {
|
|
@@ -6546,6 +7149,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6546
7149
|
folderId: string | null;
|
|
6547
7150
|
conversationId: string | null;
|
|
6548
7151
|
messageId: string | null;
|
|
7152
|
+
announcementId: string | null;
|
|
6549
7153
|
schoolDevelopementProgramId: string | null;
|
|
6550
7154
|
}[];
|
|
6551
7155
|
eventAttached: {
|
|
@@ -6637,6 +7241,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6637
7241
|
folderId: string | null;
|
|
6638
7242
|
conversationId: string | null;
|
|
6639
7243
|
messageId: string | null;
|
|
7244
|
+
announcementId: string | null;
|
|
6640
7245
|
schoolDevelopementProgramId: string | null;
|
|
6641
7246
|
}[];
|
|
6642
7247
|
eventAttached: {
|
|
@@ -6727,6 +7332,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
6727
7332
|
folderId: string | null;
|
|
6728
7333
|
conversationId: string | null;
|
|
6729
7334
|
messageId: string | null;
|
|
7335
|
+
announcementId: string | null;
|
|
6730
7336
|
schoolDevelopementProgramId: string | null;
|
|
6731
7337
|
}[];
|
|
6732
7338
|
eventAttached: {
|
|
@@ -7650,6 +8256,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7650
8256
|
folderId: string | null;
|
|
7651
8257
|
conversationId: string | null;
|
|
7652
8258
|
messageId: string | null;
|
|
8259
|
+
announcementId: string | null;
|
|
7653
8260
|
schoolDevelopementProgramId: string | null;
|
|
7654
8261
|
};
|
|
7655
8262
|
meta: object;
|
|
@@ -7691,6 +8298,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
7691
8298
|
folderId: string | null;
|
|
7692
8299
|
conversationId: string | null;
|
|
7693
8300
|
messageId: string | null;
|
|
8301
|
+
announcementId: string | null;
|
|
7694
8302
|
schoolDevelopementProgramId: string | null;
|
|
7695
8303
|
};
|
|
7696
8304
|
meta: object;
|