Convert metadata tables to camelCase (#2400)
* Convert metadata tables to camelCase * datasourcemetadataid to datasourceid * refactor metadata folders * fix command * move commands out of metadata * fix seed * rename objectId and fieldId in objectMetadataId and fieldMetadataId in FE * fix field-metadata * Fix * Fix * remove logs --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -18,7 +18,7 @@ import { Person } from '~/generated/graphql';
|
||||
export const pipelineAvailableFieldDefinitions: ColumnDefinition<FieldMetadata>[] =
|
||||
[
|
||||
{
|
||||
fieldId: 'closeDate',
|
||||
fieldMetadataId: 'closeDate',
|
||||
label: 'Close Date',
|
||||
Icon: IconCalendarEvent,
|
||||
position: 0,
|
||||
@ -32,7 +32,7 @@ export const pipelineAvailableFieldDefinitions: ColumnDefinition<FieldMetadata>[
|
||||
'Specified date by which an opportunity must be completed.',
|
||||
} satisfies ColumnDefinition<FieldDateMetadata>,
|
||||
{
|
||||
fieldId: 'amount',
|
||||
fieldMetadataId: 'amount',
|
||||
label: 'Amount',
|
||||
Icon: IconCurrencyDollar,
|
||||
position: 1,
|
||||
@ -46,7 +46,7 @@ export const pipelineAvailableFieldDefinitions: ColumnDefinition<FieldMetadata>[
|
||||
infoTooltipContent: 'Potential monetary value of a business opportunity.',
|
||||
} satisfies ColumnDefinition<FieldNumberMetadata>,
|
||||
{
|
||||
fieldId: 'probability',
|
||||
fieldMetadataId: 'probability',
|
||||
label: 'Probability',
|
||||
Icon: IconProgressCheck,
|
||||
position: 2,
|
||||
@ -60,7 +60,7 @@ export const pipelineAvailableFieldDefinitions: ColumnDefinition<FieldMetadata>[
|
||||
"Level of certainty in the lead's potential to convert into a success.",
|
||||
} satisfies ColumnDefinition<FieldProbabilityMetadata>,
|
||||
{
|
||||
fieldId: 'pointOfContact',
|
||||
fieldMetadataId: 'pointOfContact',
|
||||
label: 'Point of Contact',
|
||||
Icon: IconUser,
|
||||
position: 3,
|
||||
|
||||
Reference in New Issue
Block a user