add new assessement v2

This commit is contained in:
2023-06-15 19:02:49 -03:00
parent 8a249997cf
commit db1d3b04f9
8 changed files with 409 additions and 209 deletions

View File

@@ -10,6 +10,42 @@ type Category {
subjects: [Subject!]!
}
"""
The connection type for Category.
"""
type CategoryConnection {
"""
A list of edges.
"""
edges: [CategoryEdge!]!
"""
A list of nodes.
"""
nodes: [Category!]!
"""
Information to aid in pagination.
"""
pageInfo: PageInfo!
totalCount: Int!
}
"""
An edge in a connection.
"""
type CategoryEdge {
"""
A cursor for use in pagination.
"""
cursor: String!
"""
The item at the end of the edge.
"""
node: Category
}
"""
Autogenerated input type of CreateQuestion
"""
@@ -202,6 +238,27 @@ type PageInfo {
}
type Query {
categories(
"""
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
): CategoryConnection!
currentUser: User
"""