add active and inactive review request for user query
This commit is contained in:
85
app/javascript/__generated__/schema.graphql
generated
85
app/javascript/__generated__/schema.graphql
generated
@@ -526,6 +526,49 @@ input ReviewMessageInput {
|
||||
text: String!
|
||||
}
|
||||
|
||||
type ReviewRequest {
|
||||
answered: Boolean!
|
||||
id: ID!
|
||||
question: Question!
|
||||
user: User!
|
||||
}
|
||||
|
||||
"""
|
||||
The connection type for ReviewRequest.
|
||||
"""
|
||||
type ReviewRequestConnection {
|
||||
"""
|
||||
A list of edges.
|
||||
"""
|
||||
edges: [ReviewRequestEdge!]!
|
||||
|
||||
"""
|
||||
A list of nodes.
|
||||
"""
|
||||
nodes: [ReviewRequest!]!
|
||||
|
||||
"""
|
||||
Information to aid in pagination.
|
||||
"""
|
||||
pageInfo: PageInfo!
|
||||
totalCount: Int!
|
||||
}
|
||||
|
||||
"""
|
||||
An edge in a connection.
|
||||
"""
|
||||
type ReviewRequestEdge {
|
||||
"""
|
||||
A cursor for use in pagination.
|
||||
"""
|
||||
cursor: String!
|
||||
|
||||
"""
|
||||
The item at the end of the edge.
|
||||
"""
|
||||
node: ReviewRequest
|
||||
}
|
||||
|
||||
type Subject {
|
||||
axis: Axis!
|
||||
category: Category!
|
||||
@@ -619,9 +662,51 @@ type UpdateQuestionPayload {
|
||||
}
|
||||
|
||||
type User {
|
||||
activeReviewRequests(
|
||||
"""
|
||||
Returns the elements in the list that come after the specified cursor.
|
||||
"""
|
||||
after: String
|
||||
|
||||
"""
|
||||
Returns the elements in the list that come before the specified cursor.
|
||||
"""
|
||||
before: String
|
||||
|
||||
"""
|
||||
Returns the first _n_ elements from the list.
|
||||
"""
|
||||
first: Int
|
||||
|
||||
"""
|
||||
Returns the last _n_ elements from the list.
|
||||
"""
|
||||
last: Int
|
||||
): ReviewRequestConnection!
|
||||
avatarUrl: String
|
||||
email: String!
|
||||
id: ID!
|
||||
inactiveReviewRequests(
|
||||
"""
|
||||
Returns the elements in the list that come after the specified cursor.
|
||||
"""
|
||||
after: String
|
||||
|
||||
"""
|
||||
Returns the elements in the list that come before the specified cursor.
|
||||
"""
|
||||
before: String
|
||||
|
||||
"""
|
||||
Returns the first _n_ elements from the list.
|
||||
"""
|
||||
first: Int
|
||||
|
||||
"""
|
||||
Returns the last _n_ elements from the list.
|
||||
"""
|
||||
last: Int
|
||||
): ReviewRequestConnection!
|
||||
name: String!
|
||||
roles: [UserRole!]!
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user