18 lines
299 B
JavaScript
Raw Normal View History

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