-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathqueries.gql
More file actions
75 lines (67 loc) · 752 Bytes
/
Copy pathqueries.gql
File metadata and controls
75 lines (67 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
mutation {
signUp(
email: "alex@gmail.com"
username: "alex"
name: "Alex"
password: "Secret12"
) {
id
}
}
mutation {
signIn(email: "alex@gmail.com", password: "Secret12") {
id
}
}
mutation {
signOut
}
{
me {
id
name
email
}
}
{
users {
id
}
}
{
user(id: "5ce700eb4b317141fc402006") {
id
}
}
mutation {
startChat(userIds: ["5ce701a4f88411442f4388b6"]) {
id
title
}
}
{
users {
id
name
email
chats {
id
users {
id
name
email
}
messages {
id
}
lastMessage {
id
}
}
}
}
mutation {
sendMessage(chatId: "5cf9cd1c99dfe743edcc3158", body: "Hey man") {
id
}
}