@studious-lms/server 1.4.0 → 1.4.2

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.
Files changed (166) hide show
  1. package/.env.example +6 -0
  2. package/.env.test.example +2 -0
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +36 -50
  5. package/dist/index.js.map +1 -1
  6. package/dist/lib/config/cors.d.ts +16 -0
  7. package/dist/lib/config/cors.d.ts.map +1 -0
  8. package/dist/lib/config/cors.js +75 -0
  9. package/dist/lib/config/cors.js.map +1 -0
  10. package/dist/lib/config/env.d.ts +14 -0
  11. package/dist/lib/config/env.d.ts.map +1 -1
  12. package/dist/lib/config/env.js +9 -2
  13. package/dist/lib/config/env.js.map +1 -1
  14. package/dist/lib/prisma.d.ts +14 -2
  15. package/dist/lib/prisma.d.ts.map +1 -1
  16. package/dist/lib/prisma.js +27 -8
  17. package/dist/lib/prisma.js.map +1 -1
  18. package/dist/middleware/security.d.ts.map +1 -1
  19. package/dist/middleware/security.js +3 -3
  20. package/dist/middleware/security.js.map +1 -1
  21. package/dist/models/agenda.d.ts +16 -16
  22. package/dist/models/announcement.d.ts +59 -23
  23. package/dist/models/announcement.d.ts.map +1 -1
  24. package/dist/models/assignment.d.ts +363 -276
  25. package/dist/models/assignment.d.ts.map +1 -1
  26. package/dist/models/attendance.d.ts +63 -21
  27. package/dist/models/attendance.d.ts.map +1 -1
  28. package/dist/models/auth.d.ts +102 -18
  29. package/dist/models/auth.d.ts.map +1 -1
  30. package/dist/models/class.d.ts +112 -64
  31. package/dist/models/class.d.ts.map +1 -1
  32. package/dist/models/comment.d.ts +52 -16
  33. package/dist/models/comment.d.ts.map +1 -1
  34. package/dist/models/conversation.d.ts +46 -16
  35. package/dist/models/conversation.d.ts.map +1 -1
  36. package/dist/models/event.d.ts +107 -53
  37. package/dist/models/event.d.ts.map +1 -1
  38. package/dist/models/file.d.ts +213 -165
  39. package/dist/models/file.d.ts.map +1 -1
  40. package/dist/models/folder.d.ts +161 -77
  41. package/dist/models/folder.d.ts.map +1 -1
  42. package/dist/models/labChat.d.ts +73 -31
  43. package/dist/models/labChat.d.ts.map +1 -1
  44. package/dist/models/marketing.d.ts +25 -7
  45. package/dist/models/marketing.d.ts.map +1 -1
  46. package/dist/models/message.d.ts +31 -13
  47. package/dist/models/message.d.ts.map +1 -1
  48. package/dist/models/newtonChat.d.ts +34 -10
  49. package/dist/models/newtonChat.d.ts.map +1 -1
  50. package/dist/models/notification.d.ts +25 -7
  51. package/dist/models/notification.d.ts.map +1 -1
  52. package/dist/models/section.d.ts +71 -23
  53. package/dist/models/section.d.ts.map +1 -1
  54. package/dist/models/user.d.ts +27 -9
  55. package/dist/models/user.d.ts.map +1 -1
  56. package/dist/models/worksheet.d.ts +237 -108
  57. package/dist/models/worksheet.d.ts.map +1 -1
  58. package/dist/pipelines/aiLabChat.d.ts +30 -6
  59. package/dist/pipelines/aiLabChat.d.ts.map +1 -1
  60. package/dist/pipelines/aiLabChat.js +157 -234
  61. package/dist/pipelines/aiLabChat.js.map +1 -1
  62. package/dist/pipelines/aiLabChatContract.d.ts +413 -0
  63. package/dist/pipelines/aiLabChatContract.d.ts.map +1 -0
  64. package/dist/pipelines/aiLabChatContract.js +74 -0
  65. package/dist/pipelines/aiLabChatContract.js.map +1 -0
  66. package/dist/pipelines/gradeWorksheet.d.ts +8 -8
  67. package/dist/pipelines/gradeWorksheet.js +4 -4
  68. package/dist/pipelines/gradeWorksheet.js.map +1 -1
  69. package/dist/pipelines/labChatPrompt.d.ts +29 -0
  70. package/dist/pipelines/labChatPrompt.d.ts.map +1 -0
  71. package/dist/pipelines/labChatPrompt.js +146 -0
  72. package/dist/pipelines/labChatPrompt.js.map +1 -0
  73. package/dist/routers/_app.d.ts +1622 -1260
  74. package/dist/routers/_app.d.ts.map +1 -1
  75. package/dist/routers/_app.js +4 -2
  76. package/dist/routers/_app.js.map +1 -1
  77. package/dist/routers/agenda.d.ts +16 -16
  78. package/dist/routers/announcement.d.ts +19 -19
  79. package/dist/routers/assignment.d.ts +307 -291
  80. package/dist/routers/assignment.d.ts.map +1 -1
  81. package/dist/routers/assignment.js +3 -2
  82. package/dist/routers/assignment.js.map +1 -1
  83. package/dist/routers/attendance.d.ts +7 -7
  84. package/dist/routers/auth.d.ts +1 -1
  85. package/dist/routers/class.d.ts +77 -71
  86. package/dist/routers/class.d.ts.map +1 -1
  87. package/dist/routers/comment.d.ts +6 -6
  88. package/dist/routers/conversation.d.ts +11 -11
  89. package/dist/routers/event.d.ts +35 -35
  90. package/dist/routers/file.d.ts +12 -12
  91. package/dist/routers/folder.d.ts +54 -54
  92. package/dist/routers/labChat.d.ts +12 -12
  93. package/dist/routers/marketing.d.ts +2 -2
  94. package/dist/routers/message.d.ts +2 -2
  95. package/dist/routers/newtonChat.d.ts +1 -1
  96. package/dist/routers/notifications.d.ts +4 -4
  97. package/dist/routers/section.d.ts +7 -7
  98. package/dist/routers/studentProgress.d.ts +161 -0
  99. package/dist/routers/studentProgress.d.ts.map +1 -0
  100. package/dist/routers/studentProgress.js +43 -0
  101. package/dist/routers/studentProgress.js.map +1 -0
  102. package/dist/routers/user.d.ts +1 -1
  103. package/dist/routers/worksheet.d.ts +58 -58
  104. package/dist/seedDatabase.d.ts +1 -1
  105. package/dist/services/agenda.d.ts +16 -16
  106. package/dist/services/announcement.d.ts +8 -8
  107. package/dist/services/assignment.d.ts +299 -283
  108. package/dist/services/assignment.d.ts.map +1 -1
  109. package/dist/services/assignment.js +24 -5
  110. package/dist/services/assignment.js.map +1 -1
  111. package/dist/services/attendance.d.ts +7 -7
  112. package/dist/services/auth.d.ts +1 -1
  113. package/dist/services/class.d.ts +73 -67
  114. package/dist/services/class.d.ts.map +1 -1
  115. package/dist/services/comment.d.ts +6 -6
  116. package/dist/services/conversation.d.ts +11 -11
  117. package/dist/services/event.d.ts +31 -31
  118. package/dist/services/file.d.ts +12 -12
  119. package/dist/services/folder.d.ts +52 -52
  120. package/dist/services/labChat.d.ts +12 -12
  121. package/dist/services/labChat.d.ts.map +1 -1
  122. package/dist/services/labChat.js +31 -15
  123. package/dist/services/labChat.js.map +1 -1
  124. package/dist/services/marketing.d.ts +2 -2
  125. package/dist/services/message.d.ts.map +1 -1
  126. package/dist/services/message.js +90 -48
  127. package/dist/services/message.js.map +1 -1
  128. package/dist/services/notification.d.ts +4 -4
  129. package/dist/services/section.d.ts +6 -6
  130. package/dist/services/studentProgress.d.ts +120 -0
  131. package/dist/services/studentProgress.d.ts.map +1 -0
  132. package/dist/services/studentProgress.js +481 -0
  133. package/dist/services/studentProgress.js.map +1 -0
  134. package/dist/services/worksheet.d.ts +49 -49
  135. package/dist/utils/inference.d.ts +0 -11
  136. package/dist/utils/inference.d.ts.map +1 -1
  137. package/dist/utils/inference.js +2 -50
  138. package/dist/utils/inference.js.map +1 -1
  139. package/package.json +2 -2
  140. package/prisma/migrations/20260410124000_add_submission_recommendation_state/migration.sql +14 -0
  141. package/prisma/schema.prisma +14 -0
  142. package/sentry.properties +3 -0
  143. package/src/index.ts +39 -51
  144. package/src/lib/config/cors.ts +96 -0
  145. package/src/lib/config/env.ts +12 -1
  146. package/src/lib/prisma.ts +25 -6
  147. package/src/middleware/security.ts +1 -1
  148. package/src/pipelines/aiLabChat.ts +206 -246
  149. package/src/pipelines/aiLabChatContract.ts +75 -0
  150. package/src/pipelines/gradeWorksheet.ts +2 -2
  151. package/src/pipelines/labChatPrompt.ts +196 -0
  152. package/src/routers/_app.ts +4 -2
  153. package/src/routers/assignment.ts +1 -0
  154. package/src/routers/studentProgress.ts +71 -0
  155. package/src/services/assignment.ts +30 -2
  156. package/src/services/labChat.ts +31 -22
  157. package/src/services/message.ts +97 -48
  158. package/src/services/studentProgress.ts +691 -0
  159. package/src/utils/inference.ts +0 -61
  160. package/tests/lib/aiLabChatContract.test.ts +32 -0
  161. package/tests/lib/cors.test.ts +103 -0
  162. package/tests/pipelines/aiLabChat.test.ts +75 -0
  163. package/tests/routers/studentProgress.test.ts +254 -0
  164. package/tests/utils/aiLabChatPrompt.test.ts +126 -0
  165. package/tests/utils/studentProgress.test.ts +361 -0
  166. package/vitest.unit.config.ts +8 -1
@@ -17,19 +17,25 @@ export declare function findClassWithTeachersForLab(classId: string, teacherId:
17
17
  } | null;
18
18
  }[];
19
19
  } & {
20
+ name: string;
20
21
  id: string;
21
22
  schoolId: string | null;
22
- name: string;
23
23
  subject: string;
24
24
  color: string | null;
25
25
  section: string;
26
26
  syllabus: string | null;
27
- }) | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
27
+ }) | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, {
28
+ datasources: {
29
+ db: {
30
+ url: string;
31
+ };
32
+ };
33
+ }>;
28
34
  /** @returns Lab chat if user is a conversation member. */
29
35
  export declare function findLabChatByMember(labChatId: string, userId: string): import(".prisma/client").Prisma.Prisma__LabChatClient<({
30
36
  class: {
31
- id: string;
32
37
  name: string;
38
+ id: string;
33
39
  subject: string;
34
40
  section: string;
35
41
  };
@@ -45,19 +51,19 @@ export declare function findLabChatByMember(labChatId: string, userId: string):
45
51
  };
46
52
  } & {
47
53
  id: string;
48
- role: import(".prisma/client").$Enums.ConversationRole;
49
54
  userId: string;
50
55
  conversationId: string;
56
+ role: import(".prisma/client").$Enums.ConversationRole;
51
57
  joinedAt: Date;
52
58
  lastViewedAt: Date | null;
53
59
  lastViewedMentionAt: Date | null;
54
60
  })[];
55
61
  } & {
56
62
  type: import(".prisma/client").$Enums.ConversationType;
63
+ name: string | null;
57
64
  id: string;
58
65
  createdAt: Date;
59
66
  updatedAt: Date;
60
- name: string | null;
61
67
  displayInChat: boolean;
62
68
  };
63
69
  createdBy: {
@@ -71,13 +77,19 @@ export declare function findLabChatByMember(labChatId: string, userId: string):
71
77
  } & {
72
78
  context: string;
73
79
  id: string;
80
+ conversationId: string;
74
81
  createdAt: Date;
75
- updatedAt: Date;
76
82
  classId: string;
77
83
  title: string;
78
- conversationId: string;
84
+ updatedAt: Date;
79
85
  createdById: string;
80
- }) | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
86
+ }) | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, {
87
+ datasources: {
88
+ db: {
89
+ url: string;
90
+ };
91
+ };
92
+ }>;
81
93
  /** @returns Lab chat if user is class teacher. */
82
94
  export declare function findLabChatByTeacher(labChatId: string, userId: string): import(".prisma/client").Prisma.Prisma__LabChatClient<({
83
95
  conversation: {
@@ -86,18 +98,24 @@ export declare function findLabChatByTeacher(labChatId: string, userId: string):
86
98
  } & {
87
99
  context: string;
88
100
  id: string;
101
+ conversationId: string;
89
102
  createdAt: Date;
90
- updatedAt: Date;
91
103
  classId: string;
92
104
  title: string;
93
- conversationId: string;
105
+ updatedAt: Date;
94
106
  createdById: string;
95
- }) | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
107
+ }) | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, {
108
+ datasources: {
109
+ db: {
110
+ url: string;
111
+ };
112
+ };
113
+ }>;
96
114
  /** @returns Lab chat by ID. */
97
115
  export declare function findLabChatById(labChatId: string): import(".prisma/client").Prisma.Prisma__LabChatClient<({
98
116
  class: {
99
- id: string;
100
117
  name: string;
118
+ id: string;
101
119
  subject: string;
102
120
  section: string;
103
121
  };
@@ -113,19 +131,19 @@ export declare function findLabChatById(labChatId: string): import(".prisma/clie
113
131
  };
114
132
  } & {
115
133
  id: string;
116
- role: import(".prisma/client").$Enums.ConversationRole;
117
134
  userId: string;
118
135
  conversationId: string;
136
+ role: import(".prisma/client").$Enums.ConversationRole;
119
137
  joinedAt: Date;
120
138
  lastViewedAt: Date | null;
121
139
  lastViewedMentionAt: Date | null;
122
140
  })[];
123
141
  } & {
124
142
  type: import(".prisma/client").$Enums.ConversationType;
143
+ name: string | null;
125
144
  id: string;
126
145
  createdAt: Date;
127
146
  updatedAt: Date;
128
- name: string | null;
129
147
  displayInChat: boolean;
130
148
  };
131
149
  createdBy: {
@@ -139,23 +157,35 @@ export declare function findLabChatById(labChatId: string): import(".prisma/clie
139
157
  } & {
140
158
  context: string;
141
159
  id: string;
160
+ conversationId: string;
142
161
  createdAt: Date;
143
- updatedAt: Date;
144
162
  classId: string;
145
163
  title: string;
146
- conversationId: string;
164
+ updatedAt: Date;
147
165
  createdById: string;
148
- }) | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
166
+ }) | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, {
167
+ datasources: {
168
+ db: {
169
+ url: string;
170
+ };
171
+ };
172
+ }>;
149
173
  /** @returns Class if user is student or teacher. */
150
174
  export declare function findClassMembership(classId: string, userId: string): import(".prisma/client").Prisma.Prisma__ClassClient<{
175
+ name: string;
151
176
  id: string;
152
177
  schoolId: string | null;
153
- name: string;
154
178
  subject: string;
155
179
  color: string | null;
156
180
  section: string;
157
181
  syllabus: string | null;
158
- } | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
182
+ } | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, {
183
+ datasources: {
184
+ db: {
185
+ url: string;
186
+ };
187
+ };
188
+ }>;
159
189
  /** @returns Lab chats for a class. */
160
190
  export declare function findLabChatsByClass(classId: string): import(".prisma/client").Prisma.PrismaPromise<({
161
191
  conversation: {
@@ -172,19 +202,19 @@ export declare function findLabChatsByClass(classId: string): import(".prisma/cl
172
202
  };
173
203
  } & {
174
204
  status: import(".prisma/client").$Enums.GenerationStatus | null;
205
+ meta: import("@prisma/client/runtime/library.js").JsonValue | null;
175
206
  id: string;
207
+ conversationId: string;
176
208
  createdAt: Date;
177
- meta: import("@prisma/client/runtime/library.js").JsonValue | null;
178
209
  content: string;
179
- conversationId: string;
180
210
  senderId: string;
181
211
  })[];
182
212
  } & {
183
213
  type: import(".prisma/client").$Enums.ConversationType;
214
+ name: string | null;
184
215
  id: string;
185
216
  createdAt: Date;
186
217
  updatedAt: Date;
187
- name: string | null;
188
218
  displayInChat: boolean;
189
219
  };
190
220
  createdBy: {
@@ -197,11 +227,11 @@ export declare function findLabChatsByClass(classId: string): import(".prisma/cl
197
227
  } & {
198
228
  context: string;
199
229
  id: string;
230
+ conversationId: string;
200
231
  createdAt: Date;
201
- updatedAt: Date;
202
232
  classId: string;
203
233
  title: string;
204
- conversationId: string;
234
+ updatedAt: Date;
205
235
  createdById: string;
206
236
  })[]>;
207
237
  /** @returns Lab chat if user can post (member or teacher). */
@@ -212,30 +242,42 @@ export declare function findLabChatForPost(labChatId: string, userId: string): i
212
242
  } & {
213
243
  context: string;
214
244
  id: string;
245
+ conversationId: string;
215
246
  createdAt: Date;
216
- updatedAt: Date;
217
247
  classId: string;
218
248
  title: string;
219
- conversationId: string;
249
+ updatedAt: Date;
220
250
  createdById: string;
221
- }) | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
251
+ }) | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, {
252
+ datasources: {
253
+ db: {
254
+ url: string;
255
+ };
256
+ };
257
+ }>;
222
258
  /** @returns Lab chat if user can delete (teacher). */
223
259
  export declare function findLabChatForDelete(labChatId: string, userId: string): import(".prisma/client").Prisma.Prisma__LabChatClient<{
224
260
  context: string;
225
261
  id: string;
262
+ conversationId: string;
226
263
  createdAt: Date;
227
- updatedAt: Date;
228
264
  classId: string;
229
265
  title: string;
230
- conversationId: string;
266
+ updatedAt: Date;
231
267
  createdById: string;
232
- } | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
268
+ } | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, {
269
+ datasources: {
270
+ db: {
271
+ url: string;
272
+ };
273
+ };
274
+ }>;
233
275
  /** @returns Conversation members for mentioned user IDs. */
234
276
  export declare function findMentionedMemberships(conversationId: string, userIds: string[]): import(".prisma/client").Prisma.PrismaPromise<{
235
277
  id: string;
236
- role: import(".prisma/client").$Enums.ConversationRole;
237
278
  userId: string;
238
279
  conversationId: string;
280
+ role: import(".prisma/client").$Enums.ConversationRole;
239
281
  joinedAt: Date;
240
282
  lastViewedAt: Date | null;
241
283
  lastViewedMentionAt: Date | null;
@@ -1 +1 @@
1
- {"version":3,"file":"labChat.d.ts","sourceRoot":"/","sources":["models/labChat.ts"],"names":[],"mappings":"AAgDA,kEAAkE;AAClE,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;+HAiC7E;AAED,0DAA0D;AAC1D,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+HAUpE;AAED,kDAAkD;AAClD,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;;;;;;;;;;;;;+HAYrE;AAED,+BAA+B;AAC/B,wBAAgB,eAAe,CAAC,SAAS,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+HAKhD;AAED,oDAAoD;AACpD,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;;;;;;;;8HAUlE;AAED,sCAAsC;AACtC,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAwClD;AAED,8DAA8D;AAC9D,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;;;;;;;;;;;;;+HAYnE;AAED,sDAAsD;AACtD,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;;;;;;;;;8HAOr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EACtB,OAAO,EAAE,MAAM,EAAE;;;;;;;;KAQlB"}
@@ -19,10 +19,10 @@ export declare function createSchoolDevelopmentProgram(data: {
19
19
  }): import(".prisma/client").Prisma.Prisma__SchoolDevelopementProgramClient<{
20
20
  type: string;
21
21
  status: string;
22
- id: string;
23
- website: string | null;
24
22
  name: string;
23
+ id: string;
25
24
  submittedAt: Date | null;
25
+ website: string | null;
26
26
  address: string;
27
27
  city: string;
28
28
  country: string;
@@ -36,15 +36,21 @@ export declare function createSchoolDevelopmentProgram(data: {
36
36
  whyHelp: string | null;
37
37
  additionalInformation: string | null;
38
38
  reviewedAt: Date | null;
39
- }, never, import("@prisma/client/runtime/library.js").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
39
+ }, never, import("@prisma/client/runtime/library.js").DefaultArgs, {
40
+ datasources: {
41
+ db: {
42
+ url: string;
43
+ };
44
+ };
45
+ }>;
40
46
  /** @returns School development program by ID. */
41
47
  export declare function findSchoolDevelopmentProgramById(id: string): import(".prisma/client").Prisma.Prisma__SchoolDevelopementProgramClient<{
42
48
  type: string;
43
49
  status: string;
44
- id: string;
45
- website: string | null;
46
50
  name: string;
51
+ id: string;
47
52
  submittedAt: Date | null;
53
+ website: string | null;
48
54
  address: string;
49
55
  city: string;
50
56
  country: string;
@@ -58,7 +64,13 @@ export declare function findSchoolDevelopmentProgramById(id: string): import(".p
58
64
  whyHelp: string | null;
59
65
  additionalInformation: string | null;
60
66
  reviewedAt: Date | null;
61
- } | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
67
+ } | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, {
68
+ datasources: {
69
+ db: {
70
+ url: string;
71
+ };
72
+ };
73
+ }>;
62
74
  /** Create an early access request. */
63
75
  export declare function createEarlyAccessRequest(data: {
64
76
  email: string;
@@ -68,5 +80,11 @@ export declare function createEarlyAccessRequest(data: {
68
80
  email: string;
69
81
  createdAt: Date;
70
82
  institutionSize: string;
71
- }, never, import("@prisma/client/runtime/library.js").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
83
+ }, never, import("@prisma/client/runtime/library.js").DefaultArgs, {
84
+ datasources: {
85
+ db: {
86
+ url: string;
87
+ };
88
+ };
89
+ }>;
72
90
  //# sourceMappingURL=marketing.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"marketing.d.ts","sourceRoot":"/","sources":["models/marketing.ts"],"names":[],"mappings":"AAKA,uDAAuD;AACvD,wBAAgB,8BAA8B,CAAC,IAAI,EAAE;IACnD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;;;;;;;;;;;;;;;;;;;;wHAIA;AAED,iDAAiD;AACjD,wBAAgB,gCAAgC,CAAC,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;8HAI1D;AAED,sCAAsC;AACtC,wBAAgB,wBAAwB,CAAC,IAAI,EAAE;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;CACzB;;;;;wHAIA"}
1
+ {"version":3,"file":"marketing.d.ts","sourceRoot":"/","sources":["models/marketing.ts"],"names":[],"mappings":"AAKA,uDAAuD;AACvD,wBAAgB,8BAA8B,CAAC,IAAI,EAAE;IACnD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;;;;;;;;;;;;;;;;;;;;;;;;;;GAIA;AAED,iDAAiD;AACjD,wBAAgB,gCAAgC,CAAC,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;GAI1D;AAED,sCAAsC;AACtC,wBAAgB,wBAAwB,CAAC,IAAI,EAAE;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;CACzB;;;;;;;;;;;GAIA"}
@@ -1,13 +1,19 @@
1
1
  /** @returns User's membership in a conversation. */
2
2
  export declare function findConversationMembership(conversationId: string, userId: string): import(".prisma/client").Prisma.Prisma__ConversationMemberClient<{
3
3
  id: string;
4
- role: import(".prisma/client").$Enums.ConversationRole;
5
4
  userId: string;
6
5
  conversationId: string;
6
+ role: import(".prisma/client").$Enums.ConversationRole;
7
7
  joinedAt: Date;
8
8
  lastViewedAt: Date | null;
9
9
  lastViewedMentionAt: Date | null;
10
- } | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
10
+ } | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, {
11
+ datasources: {
12
+ db: {
13
+ url: string;
14
+ };
15
+ };
16
+ }>;
11
17
  /** @returns Messages in conversation with cursor pagination. */
12
18
  export declare function findMessages(conversationId: string, options: {
13
19
  cursor?: Date;
@@ -24,13 +30,13 @@ export declare function findMessages(conversationId: string, options: {
24
30
  } & {
25
31
  id: string;
26
32
  userId: string;
27
- createdAt: Date;
28
33
  messageId: string;
34
+ createdAt: Date;
29
35
  })[];
30
36
  attachments: {
31
37
  type: string;
32
- id: string;
33
38
  name: string;
39
+ id: string;
34
40
  }[];
35
41
  sender: {
36
42
  id: string;
@@ -42,19 +48,19 @@ export declare function findMessages(conversationId: string, options: {
42
48
  };
43
49
  } & {
44
50
  status: import(".prisma/client").$Enums.GenerationStatus | null;
51
+ meta: import("@prisma/client/runtime/library.js").JsonValue | null;
45
52
  id: string;
53
+ conversationId: string;
46
54
  createdAt: Date;
47
- meta: import("@prisma/client/runtime/library.js").JsonValue | null;
48
55
  content: string;
49
- conversationId: string;
50
56
  senderId: string;
51
57
  })[]>;
52
58
  /** @returns Memberships for mentioned users. */
53
59
  export declare function findMentionedMemberships(conversationId: string, userIds: string[]): import(".prisma/client").Prisma.PrismaPromise<{
54
60
  id: string;
55
- role: import(".prisma/client").$Enums.ConversationRole;
56
61
  userId: string;
57
62
  conversationId: string;
63
+ role: import(".prisma/client").$Enums.ConversationRole;
58
64
  joinedAt: Date;
59
65
  lastViewedAt: Date | null;
60
66
  lastViewedMentionAt: Date | null;
@@ -71,13 +77,19 @@ export declare function findMessageById(messageId: string): import(".prisma/clie
71
77
  };
72
78
  } & {
73
79
  status: import(".prisma/client").$Enums.GenerationStatus | null;
80
+ meta: import("@prisma/client/runtime/library.js").JsonValue | null;
74
81
  id: string;
82
+ conversationId: string;
75
83
  createdAt: Date;
76
- meta: import("@prisma/client/runtime/library.js").JsonValue | null;
77
84
  content: string;
78
- conversationId: string;
79
85
  senderId: string;
80
- }) | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
86
+ }) | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, {
87
+ datasources: {
88
+ db: {
89
+ url: string;
90
+ };
91
+ };
92
+ }>;
81
93
  /** @returns Message by ID with minimal sender. */
82
94
  export declare function findMessageByIdMinimal(messageId: string): import(".prisma/client").Prisma.Prisma__MessageClient<({
83
95
  sender: {
@@ -86,13 +98,19 @@ export declare function findMessageByIdMinimal(messageId: string): import(".pris
86
98
  };
87
99
  } & {
88
100
  status: import(".prisma/client").$Enums.GenerationStatus | null;
101
+ meta: import("@prisma/client/runtime/library.js").JsonValue | null;
89
102
  id: string;
103
+ conversationId: string;
90
104
  createdAt: Date;
91
- meta: import("@prisma/client/runtime/library.js").JsonValue | null;
92
105
  content: string;
93
- conversationId: string;
94
106
  senderId: string;
95
- }) | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
107
+ }) | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, {
108
+ datasources: {
109
+ db: {
110
+ url: string;
111
+ };
112
+ };
113
+ }>;
96
114
  /** Count messages in conversation after date, excluding sender's own. */
97
115
  export declare function countUnreadMessages(conversationId: string, userId: string, after?: Date): import(".prisma/client").Prisma.PrismaPromise<number>;
98
116
  /** Count mentions of user in conversation after date. */
@@ -1 +1 @@
1
- {"version":3,"file":"message.d.ts","sourceRoot":"/","sources":["models/message.ts"],"names":[],"mappings":"AAqDA,oDAAoD;AACpD,wBAAgB,0BAA0B,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;;;;;;;;8HAOhF;AAED,gEAAgE;AAChE,wBAAgB,YAAY,CAC1B,cAAc,EAAE,MAAM,EACtB,OAAO,EAAE;IACP,MAAM,CAAC,EAAE,IAAI,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAaF;AAED,gDAAgD;A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MAAM,EACd,KAAK,CAAC,EAAE,IAAI,yDASb;AAED,yDAAyD;AACzD,wBAAgB,mBAAmB,CACjC,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,IAAI,yDAYb"}
@@ -1,28 +1,43 @@
1
1
  /** @returns Class if user is a student. */
2
2
  export declare function findClassWithStudent(classId: string, studentId: string): import(".prisma/client").Prisma.Prisma__ClassClient<{
3
+ name: string;
3
4
  id: string;
4
5
  schoolId: string | null;
5
- name: string;
6
6
  subject: string;
7
7
  color: string | null;
8
8
  section: string;
9
9
  syllabus: string | null;
10
- } | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
10
+ } | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, {
11
+ datasources: {
12
+ db: {
13
+ url: string;
14
+ };
15
+ };
16
+ }>;
11
17
  /** @returns Submission for assignment and student. */
12
18
  export declare function findSubmissionByAssignmentAndStudent(assignmentId: string, studentId: string): import(".prisma/client").Prisma.Prisma__SubmissionClient<{
13
19
  id: string;
14
- createdAt: Date;
15
20
  assignmentId: string;
21
+ createdAt: Date;
16
22
  modifiedAt: Date;
17
23
  studentId: string;
18
24
  extendedResponse: string | null;
19
25
  gradeReceived: number | null;
26
+ recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
27
+ recommendationUpdatedAt: Date | null;
28
+ targetedAssignmentId: string | null;
20
29
  rubricState: string | null;
21
30
  teacherComments: string | null;
22
31
  submittedAt: Date | null;
23
32
  submitted: boolean | null;
24
33
  returned: boolean | null;
25
- } | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
34
+ } | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, {
35
+ datasources: {
36
+ db: {
37
+ url: string;
38
+ };
39
+ };
40
+ }>;
26
41
  /** @returns Newton chat if user is a member, with conversation and assignment. */
27
42
  export declare function findNewtonChatByIdAndMember(newtonChatId: string, userId: string): import(".prisma/client").Prisma.Prisma__NewtonChatClient<({
28
43
  submission: {
@@ -36,12 +51,15 @@ export declare function findNewtonChatByIdAndMember(newtonChatId: string, userId
36
51
  };
37
52
  } & {
38
53
  id: string;
39
- createdAt: Date;
40
54
  assignmentId: string;
55
+ createdAt: Date;
41
56
  modifiedAt: Date;
42
57
  studentId: string;
43
58
  extendedResponse: string | null;
44
59
  gradeReceived: number | null;
60
+ recommendationState: import(".prisma/client").$Enums.SubmissionRecommendationState;
61
+ recommendationUpdatedAt: Date | null;
62
+ targetedAssignmentId: string | null;
45
63
  rubricState: string | null;
46
64
  teacherComments: string | null;
47
65
  submittedAt: Date | null;
@@ -53,18 +71,24 @@ export declare function findNewtonChatByIdAndMember(newtonChatId: string, userId
53
71
  };
54
72
  } & {
55
73
  id: string;
56
- createdAt: Date;
57
- updatedAt: Date;
58
- title: string;
59
74
  submissionId: string;
60
75
  conversationId: string;
61
- }) | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
76
+ createdAt: Date;
77
+ title: string;
78
+ updatedAt: Date;
79
+ }) | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, {
80
+ datasources: {
81
+ db: {
82
+ url: string;
83
+ };
84
+ };
85
+ }>;
62
86
  /** @returns Conversation members for given user IDs. */
63
87
  export declare function findConversationMembersByUserIds(conversationId: string, userIds: string[]): import(".prisma/client").Prisma.PrismaPromise<{
64
88
  id: string;
65
- role: import(".prisma/client").$Enums.ConversationRole;
66
89
  userId: string;
67
90
  conversationId: string;
91
+ role: import(".prisma/client").$Enums.ConversationRole;
68
92
  joinedAt: Date;
69
93
  lastViewedAt: Date | null;
70
94
  lastViewedMentionAt: Date | null;
@@ -1 +1 @@
1
- {"version":3,"file":"newtonChat.d.ts","sourceRoot":"/","sources":["models/newtonChat.ts"],"names":[],"mappings":"AAKA,2CAA2C;AAC3C,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;;;;;;;;8HAOtE;AAED,sDAAsD;AACtD,wBAAgB,oCAAoC,CAClD,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,MAAM;;;;;;;;;;;;;8HAQlB;AAED,kFAAkF;AAClF,wBAAgB,2BAA2B,CACzC,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+HAyBf;AAED,wDAAwD;AACxD,wBAAgB,gCAAgC,CAC9C,cAAc,EAAE,MAAM,EACtB,OAAO,EAAE,MAAM,EAAE;;;;;;;;KAQlB"}
1
+ {"version":3,"file":"newtonChat.d.ts","sourceRoot":"/","sources":["models/newtonChat.ts"],"names":[],"mappings":"AAKA,2CAA2C;AAC3C,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;;;;;;;;;;;;;;GAOtE;AAED,sDAAsD;AACtD,wBAAgB,oCAAoC,CAClD,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;GAQlB;AAED,kFAAkF;AAClF,wBAAgB,2BAA2B,CACzC,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyBf;AAED,wDAAwD;AACxD,wBAAgB,gCAAgC,CAC9C,cAAc,EAAE,MAAM,EACtB,OAAO,EAAE,MAAM,EAAE;;;;;;;;KAQlB"}
@@ -11,9 +11,9 @@ export declare function findNotificationsByReceiverId(receiverId: string): impor
11
11
  createdAt: Date;
12
12
  title: string;
13
13
  content: string;
14
- read: boolean;
15
14
  senderId: string | null;
16
15
  receiverId: string;
16
+ read: boolean;
17
17
  })[]>;
18
18
  /** @returns Notification by ID. */
19
19
  export declare function findNotificationById(id: string): import(".prisma/client").Prisma.Prisma__NotificationClient<({
@@ -28,10 +28,16 @@ export declare function findNotificationById(id: string): import(".prisma/client
28
28
  createdAt: Date;
29
29
  title: string;
30
30
  content: string;
31
- read: boolean;
32
31
  senderId: string | null;
33
32
  receiverId: string;
34
- }) | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
33
+ read: boolean;
34
+ }) | null, null, import("@prisma/client/runtime/library.js").DefaultArgs, {
35
+ datasources: {
36
+ db: {
37
+ url: string;
38
+ };
39
+ };
40
+ }>;
35
41
  /** Create a notification for one receiver. */
36
42
  export declare function createNotification(data: {
37
43
  receiverId: string;
@@ -42,10 +48,16 @@ export declare function createNotification(data: {
42
48
  createdAt: Date;
43
49
  title: string;
44
50
  content: string;
45
- read: boolean;
46
51
  senderId: string | null;
47
52
  receiverId: string;
48
- }, never, import("@prisma/client/runtime/library.js").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
53
+ read: boolean;
54
+ }, never, import("@prisma/client/runtime/library.js").DefaultArgs, {
55
+ datasources: {
56
+ db: {
57
+ url: string;
58
+ };
59
+ };
60
+ }>;
49
61
  /** Create multiple notifications in one call. */
50
62
  export declare function createManyNotifications(data: Array<{
51
63
  receiverId: string;
@@ -58,8 +70,14 @@ export declare function markNotificationAsRead(id: string): import(".prisma/clie
58
70
  createdAt: Date;
59
71
  title: string;
60
72
  content: string;
61
- read: boolean;
62
73
  senderId: string | null;
63
74
  receiverId: string;
64
- }, never, import("@prisma/client/runtime/library.js").DefaultArgs, import(".prisma/client").Prisma.PrismaClientOptions>;
75
+ read: boolean;
76
+ }, never, import("@prisma/client/runtime/library.js").DefaultArgs, {
77
+ datasources: {
78
+ db: {
79
+ url: string;
80
+ };
81
+ };
82
+ }>;
65
83
  //# sourceMappingURL=notification.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"notification.d.ts","sourceRoot":"/","sources":["models/notification.ts"],"names":[],"mappings":"AAUA,2DAA2D;AAC3D,wBAAgB,6BAA6B,CAAC,UAAU,EAAE,MAAM;;;;;;;;;;;;;;;MAM/D;AAED,mC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