@studious-lms/server 1.2.48 → 1.2.49

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studious-lms/server",
3
- "version": "1.2.48",
3
+ "version": "1.2.49",
4
4
  "description": "Backend server for Studious application",
5
5
  "main": "dist/exportType.js",
6
6
  "types": "dist/exportType.d.ts",
@@ -37,6 +37,7 @@ export const agendaRouter = createTRPCRouter({
37
37
  },
38
38
  },
39
39
  include: {
40
+ assignmentsAttached: true,
40
41
  class: true,
41
42
  },
42
43
  }),
@@ -67,6 +68,7 @@ export const agendaRouter = createTRPCRouter({
67
68
  },
68
69
  },
69
70
  include: {
71
+ assignmentsAttached: true,
70
72
  class: true,
71
73
  },
72
74
  }),
@@ -33,6 +33,13 @@ const AnnouncementSelect = {
33
33
  select: {
34
34
  id: true,
35
35
  username: true,
36
+ profile: {
37
+ select: {
38
+ displayName: true,
39
+ profilePicture: true,
40
+ profilePictureThumbnail: true,
41
+ },
42
+ },
36
43
  },
37
44
  },
38
45
  remarks: true,
@@ -1015,6 +1015,7 @@ export const assignmentRouter = createTRPCRouter({
1015
1015
  endTime: true,
1016
1016
  location: true,
1017
1017
  remarks: true,
1018
+ color: true,
1018
1019
  }
1019
1020
  },
1020
1021
  markScheme: {
@@ -1835,6 +1836,7 @@ export const assignmentRouter = createTRPCRouter({
1835
1836
  name: true,
1836
1837
  startTime: true,
1837
1838
  endTime: true,
1839
+ color: true,
1838
1840
  }
1839
1841
  }
1840
1842
  }
@@ -1969,6 +1971,7 @@ export const assignmentRouter = createTRPCRouter({
1969
1971
  endTime: true,
1970
1972
  location: true,
1971
1973
  remarks: true,
1974
+ color: true,
1972
1975
  },
1973
1976
  orderBy: {
1974
1977
  startTime: 'asc'