Closed asimonok closed 1 year ago
Patch coverage: 96.96%
and project coverage change: -0.21%
:warning:
Comparison is base (
b35fc76
) 97.35% compared to head (329a21d
) 97.14%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Added getFieldsForItem
function to get frame fields by item object. Used only for getOrgUsers query yet.
getFieldsForItem({
firstName: 'John',
isAdmin: true,
}) => [
{
name: 'firstName',
type: FieldType.string,
getValue: (item) => item.firstName,
},
{
name: 'isAdmin',
type: FieldType.boolean,
getValue: (item) => item.isAdmin,
}
]
Resolves #32