-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.graphqls
More file actions
53 lines (47 loc) · 820 Bytes
/
schema.graphqls
File metadata and controls
53 lines (47 loc) · 820 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
type Query {
getPostHistory(id: Int!): PostHistory
getBadge(id: Int!): Badge
getVote(id: Int!): Vote
}
type PageInfo {
hasPreviousPage: Boolean!
hasNextPage: Boolean!
# startCursor: String
# endCursor: String
}
enum Order {
DESC
ASC
}
type PostHistory {
id: ID!
postHistoryTypeId: Int
postId: Int
revisionGUID: String
creationDate: Time
userId: Int
userDisplayName: String
comment: String
closeReasonTypes: Int
postNoticeId: Int
text: String
contentLicense: String
}
type Badge {
id: ID!
userId: Int
name: String
date: Time
class: Int
badgeClass: Int
TagBased: Int
}
type Vote {
id: ID!
postId: Int
voteTypeId: Int
userId: Int
creationDate: Time
bountyAmount: Int
}
scalar Time