Rename uniqueIdentifier to universalIdentifier (#14201)
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ import { type FlatIndexFieldMetadata } from 'src/engine/workspace-manager/worksp
|
||||
type FlatIndexFieldMetadataOverrides = Required<
|
||||
Pick<
|
||||
FlatIndexFieldMetadata,
|
||||
'fieldMetadataId' | 'indexMetadataId' | 'uniqueIdentifier'
|
||||
'fieldMetadataId' | 'indexMetadataId' | 'universalIdentifier'
|
||||
>
|
||||
> &
|
||||
Partial<FlatIndexFieldMetadata>;
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import { type FlatIndexMetadata } from 'src/engine/metadata-modules/flat-index-m
|
||||
import { IndexType } from 'src/engine/metadata-modules/index-metadata/types/indexType.types';
|
||||
|
||||
type FlatIndexMetadataOverrides = Required<
|
||||
Pick<FlatIndexMetadata, 'uniqueIdentifier' | 'objectMetadataId'>
|
||||
Pick<FlatIndexMetadata, 'universalIdentifier' | 'objectMetadataId'>
|
||||
> &
|
||||
Partial<FlatIndexMetadata>;
|
||||
export const getFlatIndexMetadataMock = (
|
||||
|
||||
+1
-1
@@ -11,5 +11,5 @@ type IndexFieldMetadataEntityRelationProperties =
|
||||
export type FlatIndexFieldMetadata = Partial<
|
||||
Omit<IndexFieldMetadataEntity, IndexFieldMetadataEntityRelationProperties>
|
||||
> & {
|
||||
uniqueIdentifier: string;
|
||||
universalIdentifier: string;
|
||||
};
|
||||
|
||||
+1
-1
@@ -14,5 +14,5 @@ export type FlatIndexMetadata = Partial<
|
||||
> & {
|
||||
id: string;
|
||||
flatIndexFieldMetadatas: FlatIndexFieldMetadata[];
|
||||
uniqueIdentifier: string;
|
||||
universalIdentifier: string;
|
||||
};
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ type FlatIndexMetadataPropertiesToCompare =
|
||||
|
||||
// Should also handle indexFieldMetadata comparison ?
|
||||
/**
|
||||
* This comparator handles update on colliding uniqueIdentifier flatIndexMetadata
|
||||
* This comparator handles update on colliding universalIdentifier flatIndexMetadata
|
||||
*/
|
||||
export const compareTwoFlatIndexMetadata = ({
|
||||
from,
|
||||
|
||||
Reference in New Issue
Block a user