-
Notifications
You must be signed in to change notification settings - Fork 23
/
query.txt
175 lines (168 loc) · 2.79 KB
/
query.txt
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
query HacktivityPageQuery($querystring: String, $orderBy: HacktivityItemOrderInput, $secureOrderBy: FiltersHacktivityItemFilterOrder, $where: FiltersHacktivityItemFilterInput, $count: Int, $cursor: String, $maxShownVoters: Int) {
me {
id
__typename
}
hacktivity_items(
first: $count
after: $cursor
query: $querystring
order_by: $orderBy
secure_order_by: $secureOrderBy
where: $where
) {
...HacktivityList
__typename
}
}
fragment HacktivityList on HacktivityItemConnection {
pageInfo {
endCursor
hasNextPage
__typename
}
edges {
node {
... on HacktivityItemInterface {
id
databaseId: _id
__typename
}
__typename
}
...HacktivityItem
__typename
}
__typename
}
fragment HacktivityItem on HacktivityItemUnionEdge {
node {
... on HacktivityItemInterface {
id
type: __typename
}
... on Disclosed {
id
...HacktivityItemDisclosed
__typename
}
... on HackerPublished {
id
...HacktivityItemHackerPublished
__typename
}
__typename
}
__typename
}
fragment TeamLinkWithMiniProfile on Team {
id
handle
name
__typename
}
fragment UserLinkWithMiniProfile on User {
id
username
__typename
}
fragment HacktivityItemDisclosed on Disclosed {
id
reporter {
id
username
...UserLinkWithMiniProfile
__typename
}
votes {
total_count
__typename
}
voters: votes(last: $maxShownVoters) {
edges {
node {
id
user {
id
username
__typename
}
__typename
}
__typename
}
__typename
}
upvoted: upvoted_by_current_user
team {
handle
name
medium_profile_picture: profile_picture(size: medium)
url
id
...TeamLinkWithMiniProfile
__typename
}
report {
id
databaseId: _id
title
substate
url
__typename
}
latest_disclosable_action
latest_disclosable_activity_at
total_awarded_amount
severity_rating
currency
__typename
}
fragment HacktivityItemHackerPublished on HackerPublished {
id
reporter {
id
username
...UserLinkWithMiniProfile
__typename
}
votes {
total_count
__typename
}
voters: votes(last: $maxShownVoters) {
edges {
node {
id
user {
id
username
__typename
}
__typename
}
__typename
}
__typename
}
upvoted: upvoted_by_current_user
team {
id
handle
name
medium_profile_picture: profile_picture(size: medium)
url
...TeamLinkWithMiniProfile
__typename
}
report {
id
url
title
substate
__typename
}
latest_disclosable_activity_at
severity_rating
__typename
}