forked from ZeroBoundLabs/impact-graph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
examples.gql
52 lines (49 loc) · 1015 Bytes
/
examples.gql
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
query GetProjects {
projects {
title
id
description
}
}
query AppProject {
mutation {
addProject(
project: {
title: "Unicorn DAC"
description: "The Unicorn DAC, a non-hierarchical decentralized governance experimentWhy are bosses necessary? They arent. Self-managed organizations exist all over the world, but there is no template for how a ..."
}
) {
title
description
}
}
}
mutation RegisterUser {
mutation {
register(
data: {
email: "[email protected]"
password: "thisisatestpassword"
firstName: "Bob"
lastName: "Barker"
}
) {
id
email
}
}
}
mutation LoginWallet {
mutation {
loginWallet(
walletAddress: "0x......................................0"
signature: "0xaslkdjasldkfjs8afjoi3jo3urjfo3902094304832094230948p34023948203423094802384idfb"
email: "[email protected]"
) {
token
user {
email
}
}
}
}