6
6
scalar Time
7
7
8
8
enum SortOrder {
9
- asc ,
10
9
desc ,
10
+ asc ,
11
11
}
12
12
13
13
type Query {
@@ -18,7 +18,7 @@ type Query {
18
18
# The ID of an object
19
19
id : ID !
20
20
): Node
21
- feeds (first : Int , last : Int , after : String , before : String , sortBy : String , sortOrder : SortOrder ): StoriesConnection !
21
+ feeds (first : Int , last : Int , after : String , before : String , sortOrder : SortOrder , sortBy : StorySortBy ): StoriesConnection !
22
22
user (handle : String ): User !
23
23
}
24
24
@@ -55,6 +55,7 @@ type BadgeEdge {
55
55
}
56
56
57
57
enum BadgeSortBy {
58
+ points ,
58
59
time_created ,
59
60
}
60
61
@@ -170,11 +171,11 @@ input ReputationInput {
170
171
171
172
type Story implements Node {
172
173
abstractContent : String !
173
- comments (first : Int , last : Int , after : String , before : String , sortBy : String , sortOrder : SortOrder ): CommentsConnection !
174
+ comments (first : Int , last : Int , after : String , before : String , sortOrder : SortOrder , sortBy : CommentSortBy ): CommentsConnection !
174
175
contentJson : String !
175
176
createdBy : User !
176
177
id : ID !
177
- reactions (first : Int , last : Int , after : String , before : String , sortBy : String , sortOrder : SortOrder ): ReactionsConnection !
178
+ reactions (first : Int , last : Int , after : String , before : String , sortOrder : SortOrder , sortBy : ReactionSortBy ): ReactionsConnection !
178
179
thumbnail : String !
179
180
timeCreated : Time !
180
181
timeUpdated : Time !
@@ -191,6 +192,7 @@ input StoryInput {
191
192
}
192
193
input UpdateStoryInput {
193
194
id : ID !
195
+ title : String
194
196
}
195
197
196
198
type StoriesConnection {
@@ -211,17 +213,17 @@ enum StorySortBy {
211
213
212
214
type User implements Node {
213
215
avatar : String !
214
- badges (first : Int , last : Int , after : String , before : String , sortBy : String , sortOrder : SortOrder ): BadgesConnection !
216
+ badges (first : Int , last : Int , after : String , before : String , sortOrder : SortOrder , sortBy : BadgeSortBy ): BadgesConnection !
215
217
bio : String !
216
218
gitContributionStats : GitContributionStats !
217
219
handle : String !
218
220
id : ID !
219
- issuesFromLastRepo (first : Int , last : Int , after : String , before : String , sortBy : String , sortOrder : SortOrder ): IssuesConnection !
220
- issuesFromOtherRecentRepos (first : Int , last : Int , after : String , before : String , sortBy : String , sortOrder : SortOrder ): IssuesConnection !
221
+ issuesFromLastRepo (first : Int , last : Int , after : String , before : String , sortOrder : SortOrder , sortBy : IssueSortBy ): IssuesConnection !
222
+ issuesFromOtherRecentRepos (first : Int , last : Int , after : String , before : String , sortOrder : SortOrder , sortBy : IssueSortBy ): IssuesConnection !
221
223
name : String !
222
- relevantIssues (first : Int , last : Int , after : String , before : String , sortBy : String , sortOrder : SortOrder ): IssuesConnection !
224
+ relevantIssues (first : Int , last : Int , after : String , before : String , sortOrder : SortOrder , sortBy : IssueSortBy ): IssuesConnection !
223
225
reputation : Reputation !
224
- stories (first : Int , last : Int , after : String , before : String , sortBy : String , sortOrder : SortOrder ): StoriesConnection !
226
+ stories (first : Int , last : Int , after : String , before : String , sortOrder : SortOrder , sortBy : StorySortBy ): StoriesConnection !
225
227
timeCreated : Time !
226
228
timeUpdated : Time !
227
229
}
0 commit comments