2023-07-26 19:18:42 -05:00

18 lines
299 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: Date!
updatedAt: Date!
postTypes: [String!]!
rankingType: String!
baseCost: Int!
}
`