Add likes_total data definition in API

This commit is contained in:
Maciej Ziarkowski 2021-08-12 21:11:36 +01:00
parent a0da41fa92
commit 2118d6ba7c

View File

@ -260,6 +260,12 @@ export const dataFieldsConfig = valueType<DataFieldConfig>()({ /* eslint-disable
asJson: true, asJson: true,
sqlCast: 'jsonb', sqlCast: 'jsonb',
}, },
likes_total: {
edit: false,
derivedEdit: true,
verify: false
}
}); });
export type Building = { [k in keyof typeof dataFieldsConfig]: any }; export type Building = { [k in keyof typeof dataFieldsConfig]: any };