18910fa2ed
This reverts commit d0314ab73c42ebf85fe2f418dddd681af45dbc55.
18 lines
312 B
JavaScript
18 lines
312 B
JavaScript
import { gql } from 'apollo-server-micro'
|
|
|
|
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!
|
|
}
|
|
`
|