dynamic filteration based on env variables

This commit is contained in:
hamdy
2020-11-19 18:43:07 +02:00
parent a602b24db3
commit 193cec9fd8
7 changed files with 49 additions and 11 deletions

View File

@@ -17,19 +17,19 @@ module.exports = {
{
typeName: 'Blog',
indexName: 'Blog',
fields: ['id', 'name', 'title', 'rank', 'excerpt', 'image', 'path', 'datetime', 'author', 'pageInfo']
fields: ['path']
},
{
typeName: 'Project',
indexName: 'Project',
fields: ['id', 'title', 'rank', 'excerpt', 'image', 'path', 'datetime', 'author', 'pageInfo']
fields: ['path']
},
{
typeName: 'Person',
indexName: 'Person',
fields: ['id', 'name', 'rank', 'excerpt', 'image', 'path', 'bio', 'pageInfo']
fields: ['path']
},
]
}