You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
1.5 KiB
71 lines
1.5 KiB
# A Story is a piece of content that, unlike wiki articles, are not something that should be ordered by time instead of title. It can
|
|
# contain multiple chapters by one or more autohrs
|
|
type Story {
|
|
# The story's ID
|
|
id: String!
|
|
|
|
# The story's name, which will show up in the lists.
|
|
name: String!
|
|
|
|
# The story's author
|
|
author: String!
|
|
|
|
# Whether other users may add/edit chapters to the story.
|
|
open: Boolean!
|
|
|
|
# Whether users without a direct link can find this story.
|
|
listed: Boolean!
|
|
|
|
# The category of the story
|
|
category: StoryCategory!
|
|
|
|
# The tags for this tory
|
|
tags: [Tag!]!
|
|
|
|
# The chapters of this story
|
|
chapters: [Chapter!]!
|
|
|
|
# The date the story was created (RFC3339 format).
|
|
createdDate: String!
|
|
|
|
# The date the story is set in (RFC3339 format).
|
|
fictionalDate: String!
|
|
|
|
# The date of the last major update to the story (RFC3339 format). This being bumped means a new chapter has been added.
|
|
fictionalDate: String!
|
|
}
|
|
|
|
input StoriesQueryInput {
|
|
# What author to query for
|
|
author: String
|
|
|
|
# What tags to query for
|
|
tags: [TagInput!]
|
|
|
|
# The earliest fictionalDate
|
|
earliestFictionalDate: String
|
|
|
|
# The latest fictionalDate
|
|
latestFictionalDate: String
|
|
|
|
# The max amount of stories to get (default: 30)
|
|
limit: Int
|
|
}
|
|
|
|
# Possible values for Story.category
|
|
enum StoryCategory {
|
|
# Description and content of a document or item
|
|
Document
|
|
|
|
# News stories
|
|
News
|
|
|
|
# Information about something going on in the background that may or may not inform RP
|
|
Background
|
|
|
|
# General information
|
|
Info
|
|
|
|
# A short story
|
|
Story
|
|
}
|