59f7b6ff26
This reverts commit 18910fa2ed470fe12ffbfb83df18e206101f0a05.
18 lines
303 B
JavaScript
18 lines
303 B
JavaScript
import { gql } from 'graphql-tag'
|
|
|
|
export default gql`
|
|
extend type Query {
|
|
sub(name: String): Sub
|
|
subLatestPost(name: String!): String
|
|
}
|
|
|
|
type Sub {
|
|
name: String!
|
|
createdAt: String!
|
|
updatedAt: String!
|
|
postTypes: [String!]!
|
|
rankingType: String!
|
|
baseCost: Int!
|
|
}
|
|
`
|