Remove filter definition (#10227)

This PR removes completely filter definition usage and states,
everything is now derived from fieldMetadataItem.
This commit is contained in:
Lucas Bordeau
2025-02-14 18:37:34 +01:00
committed by GitHub
parent 68db9a7a8c
commit 70e5cdfe83
51 changed files with 250 additions and 766 deletions

View File

@ -90,12 +90,8 @@ describe('useDestroyMultipleRecordsAction', () => {
value: '',
displayValue: '',
operand: ViewFilterOperand.IsNotEmpty,
definition: {
label: 'Deleted',
iconName: 'IconTrash',
fieldMetadataId: personMockObjectMetadataItemDeletedAtField.id,
type: 'DATE_TIME',
},
type: 'DATE_TIME',
label: 'Deleted',
},
],
}),