[BREAKING_CHANGE] Deprecate remaining entities standardId (#17639)
# Introduction Following https://github.com/twentyhq/twenty/pull/17632 and https://github.com/twentyhq/twenty/pull/17572 This PR deprecates the agent, skill, field metadata and role `standardId` in favor of the `universalIdentifier` usage ## Note - Removed previous standard ids declaration modules - Twenty-sdk now re-exports the `STANDARD_OBJECTS` universalIdentifier hashmap constant - deleted some sync-metadata deadcode too ( mainly types )
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import { type MetadataEntity } from 'src/engine/metadata-modules/flat-entity/typ
|
||||
|
||||
type ExtractRelationIdProperties<T> = {
|
||||
[K in keyof T]: K extends `${infer _}Id`
|
||||
? K extends 'id' | 'workspaceId' | 'standardId'
|
||||
? K extends 'id' | 'workspaceId'
|
||||
? never
|
||||
: T[K] extends string | null | undefined
|
||||
? K
|
||||
|
||||
Reference in New Issue
Block a user