Remove field metadata interface references (#13305)
# Introduction Following https://github.com/twentyhq/twenty/pull/13264 > After this PR merge will create a new one removing the type and replacing it to FieldMetadataEntity. This is it !
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { FieldMetadataType } from 'twenty-shared/types';
|
||||
|
||||
import { FieldMetadataInterface } from 'src/engine/metadata-modules/field-metadata/interfaces/field-metadata.interface';
|
||||
import { FieldMetadataEntity } from 'src/engine/metadata-modules/field-metadata/field-metadata.entity';
|
||||
|
||||
export type UniqueFieldCondition = [field: string, value: string];
|
||||
|
||||
@ -11,7 +11,7 @@ export type RelationConnectQueryConfig = {
|
||||
recordToConnectConditions: UniqueConstraintCondition[];
|
||||
relationFieldName: string;
|
||||
connectFieldName: string;
|
||||
uniqueConstraintFields: FieldMetadataInterface<FieldMetadataType>[];
|
||||
uniqueConstraintFields: FieldMetadataEntity<FieldMetadataType>[];
|
||||
recordToConnectConditionByEntityIndex: {
|
||||
[entityIndex: number]: UniqueConstraintCondition;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user