-
-
Notifications
You must be signed in to change notification settings - Fork 100
Expand file tree
/
Copy pathgatsby-node.js
More file actions
22 lines (21 loc) · 805 Bytes
/
gatsby-node.js
File metadata and controls
22 lines (21 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
exports.onPreBootstrap = require("./lib/on-pre-bootstrap").onPreBoostrap;
exports.sourceNodes = require("./lib/source-nodes").sourceNodes;
// exports.createSchemaCustomization = require("./lib/create-schema-customization").createSchemaCustomization;
exports.pluginOptionsSchema = ({ Joi }) => {
return Joi.object({
url: Joi.string()
.required()
.description("Url to the Roam Research database"),
email: Joi.string()
.required()
.description("Email used to sign into Roam Research"),
password: Joi.string()
.required()
.description("Password used to sign into Roam Research"),
headless: Joi.boolean()
.default(true)
.description(
"Whether to use Puppeteer in headless mode to fetch the Roam Research data or not"
),
});
};