stacker.news/api/typeDefs/sub.js

18 lines
300 B
JavaScript
Raw Normal View History

2022-02-17 17:23:43 +00:00
import { gql } from 'apollo-server-micro'
export default gql`
extend type Query {
sub(name: ID!): Sub
subLatestPost(name: ID!): String
2022-02-17 17:23:43 +00:00
}
type Sub {
name: ID!
createdAt: String!
updatedAt: String!
postTypes: [String!]!
rankingType: String!
baseCost: Int!
}
`