From f4bc12c1e7a8b0924b50e59e84f3e77f9b4a64a8 Mon Sep 17 00:00:00 2001 From: Luna McNulty Date: Tue, 31 Jan 2023 13:29:46 -0500 Subject: [PATCH] Update typedefs --- site/gatsby-site/gatsby-node.js | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/site/gatsby-site/gatsby-node.js b/site/gatsby-site/gatsby-node.js index 3cc50c96ff..6c0df62aa8 100644 --- a/site/gatsby-site/gatsby-node.js +++ b/site/gatsby-site/gatsby-node.js @@ -237,9 +237,39 @@ exports.createSchemaCustomization = ({ actions }) => { field_list: [mongodbAiidprodTaxaField_list] } + type Subfield { + field_number: String + short_name: String + long_name: String + short_description: String + long_description: String + display_type: String + mongo_type: String + default: String + placeholder: String + permitted_values: [String] + weight: Int + instant_facet: Boolean + required: Boolean + public: Boolean + } + type mongodbAiidprodTaxaField_list { + subfields: [Subfield] + field_number: String + short_name: String + long_name: String + short_description: String + long_description: String + display_type: String + mongo_type: String default: String placeholder: String + permitted_values: [String] + weight: Int + instant_facet: Boolean + required: Boolean + public: Boolean } `;