18 lines
312 B
JavaScript
Raw Normal View History

2022-02-17 11:23:43 -06:00
import { gql } from 'apollo-server-micro'
export default gql`
extend type Query {
2023-05-01 15:58:30 -05:00
sub(name: String!): Sub
subLatestPost(name: String!): String
2022-02-17 11:23:43 -06:00
}
type Sub {
2023-05-01 15:58:30 -05:00
name: String!
2022-02-17 11:23:43 -06:00
createdAt: String!
updatedAt: String!
postTypes: [String!]!
rankingType: String!
baseCost: Int!
}
`