GraphQL API and utilities for the rpdata project
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.

50 lines
1.2 KiB

  1. # 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
  2. # contain multiple chapters by one or more autohrs
  3. type Story {
  4. # The story's ID
  5. id: String!
  6. # The story's name, which will show up in the lists.
  7. name: String!
  8. # The story's author
  9. author: String!
  10. # Whether other users may add/edit chapters to the story.
  11. open: Boolean!
  12. # Whether users without a direct link can find this story.
  13. listed: Boolean!
  14. # The category of the story
  15. category: StoryCategory!
  16. # The tags for this tory
  17. tags: [Tags!]!
  18. # The date the story was created (RFC3339 format).
  19. createdDate: String!
  20. # The date the story is set in (RFC3339 format).
  21. fictionalDate: String!
  22. # The date of the last major update to the story (RFC3339 format). This being bumped means a new chapter has been added.
  23. fictionalDate: String!
  24. }
  25. # Possible values for Story.category
  26. enum StoryCategory {
  27. # Description and content of a document or item
  28. Document
  29. # News stories
  30. News
  31. # Information about something going on in the background that may or may not inform RP
  32. Background
  33. # General information
  34. Info
  35. # A short story
  36. Story
  37. }