Move schema customization to more fitting locations

This commit is contained in:
Corbin Crutchley
2020-03-28 11:49:04 -07:00
parent c0113cb2d7
commit f4474b6527
2 changed files with 18 additions and 10 deletions

View File

@@ -15,12 +15,6 @@ exports.createSchemaCustomization = ({ actions }) => {
const typeDefs = `
type MarkdownRemarkFields implements Node {
inlineCount: Int
headingsWithId: [HeadingsWithId]
}
type HeadingsWithId {
value: String!
depth: Int!
slug: String!
}
`;
createTypes(typeDefs);