[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:
@@ -70,7 +70,6 @@ export type Agent = {
|
||||
prompt: Scalars['String'];
|
||||
responseFormat?: Maybe<Scalars['JSON']>;
|
||||
roleId?: Maybe<Scalars['UUID']>;
|
||||
standardId?: Maybe<Scalars['UUID']>;
|
||||
updatedAt: Scalars['DateTime'];
|
||||
};
|
||||
|
||||
@@ -3940,7 +3939,6 @@ export type Role = {
|
||||
permissionFlags?: Maybe<Array<PermissionFlag>>;
|
||||
rowLevelPermissionPredicateGroups?: Maybe<Array<RowLevelPermissionPredicateGroup>>;
|
||||
rowLevelPermissionPredicates?: Maybe<Array<RowLevelPermissionPredicate>>;
|
||||
standardId?: Maybe<Scalars['UUID']>;
|
||||
universalIdentifier?: Maybe<Scalars['UUID']>;
|
||||
workspaceMembers: Array<WorkspaceMember>;
|
||||
};
|
||||
@@ -4145,7 +4143,6 @@ export type Skill = {
|
||||
isCustom: Scalars['Boolean'];
|
||||
label: Scalars['String'];
|
||||
name: Scalars['String'];
|
||||
standardId?: Maybe<Scalars['UUID']>;
|
||||
updatedAt: Scalars['DateTime'];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user