Added graphql for story, started on resolvers, added finders for story

This commit is contained in:
2018-06-22 06:17:41 +02:00
parent 7f49f8c4b5
commit 5a2b8ef1c5
5 changed files with 143 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
# A Chapter is the main content body of a story.
type Chapter {
# The chapter's ID
id: String!
# The chapter's title
title: String!
# The chapter's author
author: String!
# The chapter's source
source: String!
# When the chapter was posted initialy
createdDate: String!
# The in-universe date and time of the chapter
fictionalDate: String!
# The date of edit.
editedDate: String!
}