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.
44 lines
764 B
44 lines
764 B
schema {
|
|
query: Query
|
|
}
|
|
|
|
type Query {
|
|
# Find character by either an ID or a nick.
|
|
character(id: String, nick: String): Character!
|
|
|
|
# Find characters
|
|
characters(filter: CharactersFilter): [Character!]!
|
|
|
|
|
|
# Find channel by name
|
|
channel(name: String!): Channel!
|
|
|
|
# Find channels
|
|
channels(filter: ChannelsFilter): [Channel!]!
|
|
|
|
|
|
# Find post by ID.
|
|
post(id: String!): Post!
|
|
|
|
# Find posts
|
|
posts(filter: PostsFilter): [Post!]!
|
|
|
|
|
|
# Find log by ID
|
|
log(id: String!): Log!
|
|
|
|
# Find logs
|
|
logs(filter: LogsFilter): [Log!]!
|
|
|
|
|
|
# Find story chapter by ID
|
|
chapter(id: String!): Chapter!
|
|
|
|
|
|
# Find all distinct tags used in stories
|
|
tags: [Tag!]!
|
|
}
|
|
|
|
# A Date represents a RFC3339 encoded date with up to millisecond precision.
|
|
scalar Date
|
|
|