Revert "Convert metadata tables to camelCase" (#2419)

Revert "Convert metadata tables to camelCase (#2400)"

This reverts commit 1cf08c797f.
This commit is contained in:
Charles Bochet
2023-11-10 11:48:44 +01:00
committed by GitHub
parent 1cf08c797f
commit 7b9175a4a4
238 changed files with 2253 additions and 1852 deletions

View File

@ -13,26 +13,26 @@ import { FilterDropdownPeopleSearchSelect } from '../../../modules/people/compon
export const opportunityBoardFilterDefinitions: FilterDefinitionByEntity<PipelineProgress>[] =
[
{
fieldMetadataId: 'amount',
fieldId: 'amount',
label: 'Amount',
Icon: IconCurrencyDollar,
type: 'NUMBER',
},
{
fieldMetadataId: 'closeDate',
fieldId: 'closeDate',
label: 'Close date',
Icon: IconCalendarEvent,
type: 'DATE',
},
{
fieldMetadataId: 'companyId',
fieldId: 'companyId',
label: 'Company',
Icon: IconBuildingSkyscraper,
type: 'ENTITY',
entitySelectComponent: <FilterDropdownCompanySearchSelect />,
},
{
fieldMetadataId: 'pointOfContactId',
fieldId: 'pointOfContactId',
label: 'Point of contact',
Icon: IconUser,
type: 'ENTITY',

View File

@ -3,17 +3,17 @@ import { SortDefinition } from '@/ui/object/object-sort-dropdown/types/SortDefin
export const opportunityBoardSortDefinitions: SortDefinition[] = [
{
fieldMetadataId: 'createdAt',
fieldId: 'createdAt',
label: 'Creation',
Icon: IconCalendarEvent,
},
{
fieldMetadataId: 'amount',
fieldId: 'amount',
label: 'Amount',
Icon: IconCurrencyDollar,
},
{
fieldMetadataId: 'closeDate',
fieldId: 'closeDate',
label: 'Expected close date',
Icon: IconCalendarEvent,
},