Feat: add logo to inference for thumbnails (#3481)

Co-authored-by: Max Metral <max@pyralis.com>
This commit is contained in:
Erez Rokah
2020-03-26 19:23:31 +02:00
committed by GitHub
parent a91e8316f7
commit 3afe2b16de

View File

@ -58,7 +58,17 @@ export const INFERABLE_FIELDS = {
image: {
type: 'image',
secondaryTypes: [],
synonyms: ['image', 'thumbnail', 'thumb', 'picture', 'avatar', 'photo', 'cover', 'hero'],
synonyms: [
'image',
'thumbnail',
'thumb',
'picture',
'avatar',
'photo',
'cover',
'hero',
'logo',
],
defaultPreview: value => value,
fallbackToFirstField: false,
showError: false,