@studious-lms/server 1.2.36 → 1.2.38
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/routers/_app.d.ts +44 -0
- package/dist/routers/_app.d.ts.map +1 -1
- package/dist/routers/comment.d.ts +26 -0
- package/dist/routers/comment.d.ts.map +1 -1
- package/dist/routers/comment.js +16 -37
- package/dist/routers/worksheet.d.ts +11 -0
- package/dist/routers/worksheet.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/routers/comment.ts +16 -37
package/dist/routers/_app.d.ts
CHANGED
|
@@ -5012,6 +5012,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5012
5012
|
output: {
|
|
5013
5013
|
responses: ({
|
|
5014
5014
|
comments: {
|
|
5015
|
+
id: string;
|
|
5015
5016
|
reactions: {
|
|
5016
5017
|
type: import(".prisma/client").$Enums.ReactionType;
|
|
5017
5018
|
user: {
|
|
@@ -5024,6 +5025,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5024
5025
|
} | null;
|
|
5025
5026
|
};
|
|
5026
5027
|
}[];
|
|
5028
|
+
content: string;
|
|
5029
|
+
author: {
|
|
5030
|
+
id: string;
|
|
5031
|
+
username: string;
|
|
5032
|
+
profile: {
|
|
5033
|
+
displayName: string | null;
|
|
5034
|
+
profilePicture: string | null;
|
|
5035
|
+
profilePictureThumbnail: string | null;
|
|
5036
|
+
} | null;
|
|
5037
|
+
};
|
|
5027
5038
|
replies: {
|
|
5028
5039
|
id: string;
|
|
5029
5040
|
content: string;
|
|
@@ -5179,6 +5190,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5179
5190
|
id: string;
|
|
5180
5191
|
};
|
|
5181
5192
|
output: {
|
|
5193
|
+
id: string;
|
|
5182
5194
|
reactions: {
|
|
5183
5195
|
type: import(".prisma/client").$Enums.ReactionType;
|
|
5184
5196
|
user: {
|
|
@@ -5191,6 +5203,16 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5191
5203
|
} | null;
|
|
5192
5204
|
};
|
|
5193
5205
|
}[];
|
|
5206
|
+
content: string;
|
|
5207
|
+
author: {
|
|
5208
|
+
id: string;
|
|
5209
|
+
username: string;
|
|
5210
|
+
profile: {
|
|
5211
|
+
displayName: string | null;
|
|
5212
|
+
profilePicture: string | null;
|
|
5213
|
+
profilePictureThumbnail: string | null;
|
|
5214
|
+
} | null;
|
|
5215
|
+
};
|
|
5194
5216
|
replies: {
|
|
5195
5217
|
id: string;
|
|
5196
5218
|
content: string;
|
|
@@ -10296,6 +10318,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10296
10318
|
output: {
|
|
10297
10319
|
responses: ({
|
|
10298
10320
|
comments: {
|
|
10321
|
+
id: string;
|
|
10299
10322
|
reactions: {
|
|
10300
10323
|
type: import(".prisma/client").$Enums.ReactionType;
|
|
10301
10324
|
user: {
|
|
@@ -10308,6 +10331,16 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10308
10331
|
} | null;
|
|
10309
10332
|
};
|
|
10310
10333
|
}[];
|
|
10334
|
+
content: string;
|
|
10335
|
+
author: {
|
|
10336
|
+
id: string;
|
|
10337
|
+
username: string;
|
|
10338
|
+
profile: {
|
|
10339
|
+
displayName: string | null;
|
|
10340
|
+
profilePicture: string | null;
|
|
10341
|
+
profilePictureThumbnail: string | null;
|
|
10342
|
+
} | null;
|
|
10343
|
+
};
|
|
10311
10344
|
replies: {
|
|
10312
10345
|
id: string;
|
|
10313
10346
|
content: string;
|
|
@@ -10463,6 +10496,7 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10463
10496
|
id: string;
|
|
10464
10497
|
};
|
|
10465
10498
|
output: {
|
|
10499
|
+
id: string;
|
|
10466
10500
|
reactions: {
|
|
10467
10501
|
type: import(".prisma/client").$Enums.ReactionType;
|
|
10468
10502
|
user: {
|
|
@@ -10475,6 +10509,16 @@ export declare const createCaller: import("@trpc/server").TRPCRouterCaller<{
|
|
|
10475
10509
|
} | null;
|
|
10476
10510
|
};
|
|
10477
10511
|
}[];
|
|
10512
|
+
content: string;
|
|
10513
|
+
author: {
|
|
10514
|
+
id: string;
|
|
10515
|
+
username: string;
|
|
10516
|
+
profile: {
|
|
10517
|
+
displayName: string | null;
|
|
10518
|
+
profilePicture: string | null;
|
|
10519
|
+
profilePictureThumbnail: string | null;
|
|
10520
|
+
} | null;
|
|
10521
|
+
};
|
|
10478
10522
|
replies: {
|
|
10479
10523
|
id: string;
|
|
10480
10524
|
content: string;
|
|
@@ -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;AAgB1E,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiC,CAAC"}
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const commentSelect: {
|
|
3
|
+
id: boolean;
|
|
4
|
+
content: boolean;
|
|
5
|
+
author: {
|
|
6
|
+
select: {
|
|
7
|
+
id: boolean;
|
|
8
|
+
username: boolean;
|
|
9
|
+
profile: {
|
|
10
|
+
select: {
|
|
11
|
+
displayName: boolean;
|
|
12
|
+
profilePicture: boolean;
|
|
13
|
+
profilePictureThumbnail: boolean;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
3
18
|
replies: {
|
|
4
19
|
select: {
|
|
5
20
|
id: boolean;
|
|
@@ -60,6 +75,7 @@ export declare const commentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
60
75
|
id: string;
|
|
61
76
|
};
|
|
62
77
|
output: {
|
|
78
|
+
id: string;
|
|
63
79
|
reactions: {
|
|
64
80
|
type: import(".prisma/client").$Enums.ReactionType;
|
|
65
81
|
user: {
|
|
@@ -72,6 +88,16 @@ export declare const commentRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
72
88
|
} | null;
|
|
73
89
|
};
|
|
74
90
|
}[];
|
|
91
|
+
content: string;
|
|
92
|
+
author: {
|
|
93
|
+
id: string;
|
|
94
|
+
username: string;
|
|
95
|
+
profile: {
|
|
96
|
+
displayName: string | null;
|
|
97
|
+
profilePicture: string | null;
|
|
98
|
+
profilePictureThumbnail: string | null;
|
|
99
|
+
} | null;
|
|
100
|
+
};
|
|
75
101
|
replies: {
|
|
76
102
|
id: string;
|
|
77
103
|
content: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../src/routers/comment.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../src/routers/comment.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDzB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwOxB,CAAC"}
|
package/dist/routers/comment.js
CHANGED
|
@@ -3,6 +3,21 @@ import { z } from "zod";
|
|
|
3
3
|
import { prisma } from "../lib/prisma.js";
|
|
4
4
|
import { TRPCError } from "@trpc/server";
|
|
5
5
|
export const commentSelect = {
|
|
6
|
+
id: true,
|
|
7
|
+
content: true,
|
|
8
|
+
author: {
|
|
9
|
+
select: {
|
|
10
|
+
id: true,
|
|
11
|
+
username: true,
|
|
12
|
+
profile: {
|
|
13
|
+
select: {
|
|
14
|
+
displayName: true,
|
|
15
|
+
profilePicture: true,
|
|
16
|
+
profilePictureThumbnail: true,
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
6
21
|
replies: {
|
|
7
22
|
select: {
|
|
8
23
|
id: true,
|
|
@@ -50,43 +65,7 @@ export const commentRouter = createTRPCRouter({
|
|
|
50
65
|
const comment = await prisma.comment.findUnique({
|
|
51
66
|
where: { id: input.id },
|
|
52
67
|
select: {
|
|
53
|
-
|
|
54
|
-
select: {
|
|
55
|
-
id: true,
|
|
56
|
-
content: true,
|
|
57
|
-
author: {
|
|
58
|
-
select: {
|
|
59
|
-
id: true,
|
|
60
|
-
username: true,
|
|
61
|
-
profile: {
|
|
62
|
-
select: {
|
|
63
|
-
displayName: true,
|
|
64
|
-
profilePicture: true,
|
|
65
|
-
profilePictureThumbnail: true,
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
reactions: {
|
|
73
|
-
select: {
|
|
74
|
-
type: true,
|
|
75
|
-
user: {
|
|
76
|
-
select: {
|
|
77
|
-
id: true,
|
|
78
|
-
username: true,
|
|
79
|
-
profile: {
|
|
80
|
-
select: {
|
|
81
|
-
displayName: true,
|
|
82
|
-
profilePicture: true,
|
|
83
|
-
profilePictureThumbnail: true,
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
},
|
|
87
|
-
},
|
|
88
|
-
},
|
|
89
|
-
},
|
|
68
|
+
...commentSelect,
|
|
90
69
|
}
|
|
91
70
|
});
|
|
92
71
|
if (!comment) {
|
|
@@ -201,6 +201,7 @@ export declare const worksheetRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
201
201
|
output: {
|
|
202
202
|
responses: ({
|
|
203
203
|
comments: {
|
|
204
|
+
id: string;
|
|
204
205
|
reactions: {
|
|
205
206
|
type: import(".prisma/client").$Enums.ReactionType;
|
|
206
207
|
user: {
|
|
@@ -213,6 +214,16 @@ export declare const worksheetRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
213
214
|
} | null;
|
|
214
215
|
};
|
|
215
216
|
}[];
|
|
217
|
+
content: string;
|
|
218
|
+
author: {
|
|
219
|
+
id: string;
|
|
220
|
+
username: string;
|
|
221
|
+
profile: {
|
|
222
|
+
displayName: string | null;
|
|
223
|
+
profilePicture: string | null;
|
|
224
|
+
profilePictureThumbnail: string | null;
|
|
225
|
+
} | null;
|
|
226
|
+
};
|
|
216
227
|
replies: {
|
|
217
228
|
id: string;
|
|
218
229
|
content: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worksheet.d.ts","sourceRoot":"","sources":["../../src/routers/worksheet.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA8KA,MAAM
|
|
1
|
+
{"version":3,"file":"worksheet.d.ts","sourceRoot":"","sources":["../../src/routers/worksheet.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA8KA,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwVhC,CAAC"}
|
package/package.json
CHANGED
package/src/routers/comment.ts
CHANGED
|
@@ -4,6 +4,21 @@ import { prisma } from "../lib/prisma.js";
|
|
|
4
4
|
import { TRPCError } from "@trpc/server";
|
|
5
5
|
|
|
6
6
|
export const commentSelect = {
|
|
7
|
+
id: true,
|
|
8
|
+
content: true,
|
|
9
|
+
author: {
|
|
10
|
+
select: {
|
|
11
|
+
id: true,
|
|
12
|
+
username: true,
|
|
13
|
+
profile: {
|
|
14
|
+
select: {
|
|
15
|
+
displayName: true,
|
|
16
|
+
profilePicture: true,
|
|
17
|
+
profilePictureThumbnail: true,
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
7
22
|
replies: {
|
|
8
23
|
select: {
|
|
9
24
|
id: true,
|
|
@@ -52,43 +67,7 @@ export const commentRouter = createTRPCRouter({
|
|
|
52
67
|
const comment = await prisma.comment.findUnique({
|
|
53
68
|
where: { id: input.id },
|
|
54
69
|
select: {
|
|
55
|
-
|
|
56
|
-
select: {
|
|
57
|
-
id: true,
|
|
58
|
-
content: true,
|
|
59
|
-
author: {
|
|
60
|
-
select: {
|
|
61
|
-
id: true,
|
|
62
|
-
username: true,
|
|
63
|
-
profile: {
|
|
64
|
-
select: {
|
|
65
|
-
displayName: true,
|
|
66
|
-
profilePicture: true,
|
|
67
|
-
profilePictureThumbnail: true,
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
reactions: {
|
|
75
|
-
select: {
|
|
76
|
-
type: true,
|
|
77
|
-
user: {
|
|
78
|
-
select: {
|
|
79
|
-
id: true,
|
|
80
|
-
username: true,
|
|
81
|
-
profile: {
|
|
82
|
-
select: {
|
|
83
|
-
displayName: true,
|
|
84
|
-
profilePicture: true,
|
|
85
|
-
profilePictureThumbnail: true,
|
|
86
|
-
},
|
|
87
|
-
},
|
|
88
|
-
},
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
},
|
|
70
|
+
...commentSelect,
|
|
92
71
|
}
|
|
93
72
|
});
|
|
94
73
|
if (!comment) {
|