forked from graphql-nexus/nexus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest-query.graphql
51 lines (48 loc) · 892 Bytes
/
test-query.graphql
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
fragment NodeInfo on Node {
kind
rawText(skip: [ClassDeclaration, InterfaceDeclaration])
}
fragment MethodInfo on MethodDeclaration {
nameText
# parameters {
# nameText
# type {
# ...NodeInfo
# }
# }
type {
...NodeInfo
}
}
fragment StatementInfo on SourceFile {
statements {
...NodeInfo
... on ClassDeclaration {
nameText
members {
...NodeInfo
...MethodInfo
}
}
... on PropertyDeclaration {
kind
}
}
}
{
api: parseFile(
file: "/Users/tgriesser/Github/oss/gqliteral/gqliteral/dist/definitions.d.ts"
) {
...StatementInfo
}
core: parseFile(
file: "/Users/tgriesser/Github/oss/gqliteral/gqliteral/dist/core.d.ts"
) {
...StatementInfo
}
types: parseFile(
file: "/Users/tgriesser/Github/oss/gqliteral/gqliteral/dist/types.d.ts"
) {
...StatementInfo
}
}