Added queries for Chats

This commit is contained in:
Johannes Schmelz 2022-01-16 17:32:34 +01:00
parent 9d665cf4e9
commit 7fa3f21e30
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,6 @@
query GetChats($id: ID!, $pw: String!){
chats(user: $id, passwordHash: $pw){
id
users
}
}

View File

@ -0,0 +1,8 @@
query GetGroupChats($id: ID!, $pw: String!){
groupChats(user: $id, passwordHash: $pw){
id
users
title
description
}
}