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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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