Skip to content

Commit

Permalink
adding fields needed for detail page
Browse files Browse the repository at this point in the history
  • Loading branch information
creinkin committed Feb 7, 2020
1 parent e2afe9a commit cda0e1d
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions js/airtable.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ const airtable = require('airtable');
const csv = require('csvtojson');

const ALLOWED_FIELDS = [
{
name: 'Author(s)',
isArray: true,
isFiltered: false
},
{
name: 'Country(ies)',
isArray: true,
Expand All @@ -17,6 +22,21 @@ const ALLOWED_FIELDS = [
isArray: false,
isFiltered: false
},
{
name: 'Key Findings',
isArray: false,
isFiltered: false
},
{
name: 'Key Recommendations',
isArray: false,
isFiltered: false
},
{
name: 'Internet URL of Document',
isArray: false,
isFiltered: false
},
{
name: 'Private Sector Industry',
isArray: true,
Expand All @@ -42,6 +62,16 @@ const ALLOWED_FIELDS = [
isArray: true,
isFiltered: true
},
{
name: 'Publishing Institution(s)',
isArray: false,
isFiltered: false
},
{
name: 'Special Considerations',
isArray: false,
isFiltered: false
},
{
name: 'Technical Sector',
isArray: true,
Expand Down

0 comments on commit cda0e1d

Please sign in to comment.