diff --git a/app/src/main/graphql/org/ddnss/sfs/noise/GetChats.graphql b/app/src/main/graphql/org/ddnss/sfs/noise/GetChats.graphql new file mode 100644 index 0000000..acb8bd9 --- /dev/null +++ b/app/src/main/graphql/org/ddnss/sfs/noise/GetChats.graphql @@ -0,0 +1,6 @@ +query GetChats($id: ID!, $pw: String!){ + chats(user: $id, passwordHash: $pw){ + id + users + } +} \ No newline at end of file diff --git a/app/src/main/graphql/org/ddnss/sfs/noise/GetGroupChats.graphql b/app/src/main/graphql/org/ddnss/sfs/noise/GetGroupChats.graphql new file mode 100644 index 0000000..1066092 --- /dev/null +++ b/app/src/main/graphql/org/ddnss/sfs/noise/GetGroupChats.graphql @@ -0,0 +1,8 @@ +query GetGroupChats($id: ID!, $pw: String!){ + groupChats(user: $id, passwordHash: $pw){ + id + users + title + description + } +} \ No newline at end of file