Rename types for UserMappingOptions (#5230)
Following #5210 --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -23,6 +23,10 @@ export const parseFieldRelationType = (
|
||||
from: 'FROM_MANY_OBJECTS',
|
||||
to: 'TO_ONE_OBJECT',
|
||||
},
|
||||
[RelationMetadataType.ManyToOne]: {
|
||||
from: 'TO_ONE_OBJECT',
|
||||
to: 'FROM_MANY_OBJECTS',
|
||||
},
|
||||
[RelationMetadataType.OneToOne]: {
|
||||
from: 'FROM_ONE_OBJECT',
|
||||
to: 'TO_ONE_OBJECT',
|
||||
|
||||
Reference in New Issue
Block a user