18 lines
283 B
JavaScript
18 lines
283 B
JavaScript
import { gql } from 'apollo-server-micro'
|
|
|
|
export default gql`
|
|
extend type Query {
|
|
sub(name: ID!): Sub
|
|
}
|
|
|
|
type Sub {
|
|
name: ID!
|
|
createdAt: String!
|
|
updatedAt: String!
|
|
postTypes: [String!]!
|
|
rankingType: String!
|
|
baseCost: Int!
|
|
deltaCost: Int!
|
|
}
|
|
`
|