Skip to content

Commit 43f2f8b

Browse files
committed
nexus changes
1 parent 229fc0c commit 43f2f8b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/server/src/schema.graphql

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ type Mutation {
2424
"""
2525
bookmarkTutorial(tutorialId: ID!): UserTutorialPayload!
2626

27+
"""
28+
An authenticated user can update their current chapter in a tutorial.
29+
"""
30+
upsertCurrentChapter(chapter: Int!, gatsbyID: String!): UserTutorialPayload!
31+
2732
"""
2833
Create tutorials from the MDX files
2934
"""
@@ -49,7 +54,7 @@ interface PayloadInterface {
4954
}
5055

5156
type Query {
52-
gatsbyTutorialQuery(gatsbyID: String!): Tutorial!
57+
getTutorialbyGatsbyID(gatsbyID: String!): Tutorial!
5358
tutorial(id: ID!): Tutorial!
5459
tutorials(first: Int!): [Tutorial!]
5560
viewer: Viewer

0 commit comments

Comments
 (0)