-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
gatsby-node.js
38 lines (38 loc) · 1014 Bytes
/
gatsby-node.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
exports.createSchemaCustomization = ({ actions }) => {
const { createTypes } = actions
const listingSheetsDataTypeDefs = `
type listingSheetsData implements Node {
title: String!
subtitle: String
description: String
image: String
actionUrl: String
categories: String
hide: String
}
`
const SiteSheetsDataTypeDefs = `
type siteSheetsData implements Node {
siteName: String
siteLogo: String
sitePrimaryColor: String
darkMode: String
heroType: String
heroTitle: String
heroDescription: String
heroButtonLabel: String
heroButtonUrl: String
socialShareButton: String
listingCategoryType: String
listingCardType: String
listingCardSize: String
listingDescriptionButtonLabel: String
listingUrlButtonLabel: String
footerLabel: String
facebookUrl: String
instagramUrl: String
twitterUrl: String
}
`
createTypes(listingSheetsDataTypeDefs)
}