[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
@@ -28,7 +28,6 @@ export const fromCreateRoleInputToFlatRoleToCreate = ({
|
||||
|
||||
return {
|
||||
id,
|
||||
standardId: null,
|
||||
label,
|
||||
description: description ?? null,
|
||||
icon: icon ?? null,
|
||||
|
||||
-1
@@ -37,7 +37,6 @@ export const fromRoleEntityToFlatRole = ({
|
||||
|
||||
return {
|
||||
id: roleEntity.id,
|
||||
standardId: roleEntity.standardId,
|
||||
label: roleEntity.label,
|
||||
description: roleEntity.description,
|
||||
icon: roleEntity.icon,
|
||||
|
||||
Reference in New Issue
Block a user