typing indicator, mentions + bug fixes

This commit is contained in:
Zoe
2023-01-14 06:37:13 -06:00
parent c39da0678d
commit f1c5537697
23 changed files with 629 additions and 190 deletions

View File

@@ -26,7 +26,14 @@ export default defineEventHandler(async (event) => {
name: true,
server: {
select: {
id: true
id: true,
name: true,
participants: {
select: {
id: true,
username: true
}
}
}
},
messages: {
@@ -41,12 +48,16 @@ export default defineEventHandler(async (event) => {
},
invites: {
select: {
id: true,
id: true,
server: {
select: {
id: true,
name: true,
participants: true
participants: {
select: {
id: true
}
}
}
}
}