Skip to content

The open alternative to Salesforce, designed for AI.

Rename isUIReadOnly to isUIEditable, add isUICreatable, expose both to app developers (#21504)

Félix Malfait1efa3567ef35
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
index ec8bc488b30..f524a567bd1 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
@@ -480,7 +480,8 @@ type Field {
isCustom: Boolean @deprecated(reason: "isCustom is derived from the owning application and will be removed; a field is custom when it does not belong to the twenty-standard application.")
isActive: Boolean
isSystem: Boolean
- isUIReadOnly: Boolean
+ isUIEditable: Boolean
+ isUIReadOnly: Boolean @deprecated(reason: "Use isUIEditable")
isNullable: Boolean
isUnique: Boolean
defaultValue: JSON
@@ -591,6 +592,8 @@ input ObjectFilter {
isRemote: BooleanFieldComparison
isActive: BooleanFieldComparison
isSystem: BooleanFieldComparison
+ isUIEditable: BooleanFieldComparison
+ isUICreatable: BooleanFieldComparison
isUIReadOnly: BooleanFieldComparison
isSearchable: BooleanFieldComparison
}
@@ -649,7 +652,9 @@ type Object {
isRemote: Boolean!
isActive: Boolean!
isSystem: Boolean!
- isUIReadOnly: Boolean!
+ isUIEditable: Boolean!
+ isUICreatable: Boolean!
+ isUIReadOnly: Boolean! @deprecated(reason: "Use isUIEditable")
isSearchable: Boolean!
applicationId: UUID!
createdAt: DateTime!
@@ -682,6 +687,7 @@ input FieldFilter {
id: UUIDFilterComparison
isActive: BooleanFieldComparison
isSystem: BooleanFieldComparison
+ isUIEditable: BooleanFieldComparison
isUIReadOnly: BooleanFieldComparison
objectMetadataId: UUIDFilterComparison
}
@@ -4151,6 +4157,7 @@ input CreateFieldInput {
isCustom: Boolean
isActive: Boolean
isSystem: Boolean
+ isUIEditable: Boolean
isUIReadOnly: Boolean
isNullable: Boolean
isUnique: Boolean
@@ -4180,6 +4187,7 @@ input UpdateFieldInput {
icon: String
isActive: Boolean
isSystem: Boolean
+ isUIEditable: Boolean
isUIReadOnly: Boolean
isNullable: Boolean
isUnique: Boolean
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.ts b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
index 2d3c55affe5..839d3bc8ec5 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
@@ -364,6 +364,8 @@ export interface Field {
isCustom?: Scalars['Boolean']
isActive?: Scalars['Boolean']
isSystem?: Scalars['Boolean']
+ isUIEditable?: Scalars['Boolean']
+ /** @deprecated Use isUIEditable */
isUIReadOnly?: Scalars['Boolean']
isNullable?: Scalars['Boolean']
isUnique?: Scalars['Boolean']
@@ -442,6 +444,9 @@ export interface Object {
isRemote: Scalars['Boolean']
isActive: Scalars['Boolean']
isSystem: Scalars['Boolean']
+ isUIEditable: Scalars['Boolean']
+ isUICreatable: Scalars['Boolean']
+ /** @deprecated Use isUIEditable */
isUIReadOnly: Scalars['Boolean']
isSearchable: Scalars['Boolean']
applicationId: Scalars['UUID']
@@ -3268,6 +3273,8 @@ export interface FieldGenqlSelection{
isCustom?: boolean | number
isActive?: boolean | number
isSystem?: boolean | number
+ isUIEditable?: boolean | number
+ /** @deprecated Use isUIEditable */
isUIReadOnly?: boolean | number
isNullable?: boolean | number
isUnique?: boolean | number
@@ -3332,7 +3339,7 @@ first?: (Scalars['Int'] | null),
/** Paginate last */
last?: (Scalars['Int'] | null)}
-export interface ObjectFilter {and?: (ObjectFilter[] | null),or?: (ObjectFilter[] | null),id?: (UUIDFilterComparison | null),isRemote?: (BooleanFieldComparison | null),isActive?: (BooleanFieldComparison | null),isSystem?: (BooleanFieldComparison | null),isUIReadOnly?: (BooleanFieldComparison | null),isSearchable?: (BooleanFieldComparison | null)}
+export interface ObjectFilter {and?: (ObjectFilter[] | null),or?: (ObjectFilter[] | null),id?: (UUIDFilterComparison | null),isRemote?: (BooleanFieldComparison | null),isActive?: (BooleanFieldComparison | null),isSystem?: (BooleanFieldComparison | null),isUIEditable?: (BooleanFieldComparison | null),isUICreatable?: (BooleanFieldComparison | null),isUIReadOnly?: (BooleanFieldComparison | null),isSearchable?: (BooleanFieldComparison | null)}
export interface UUIDFilterComparison {is?: (Scalars['Boolean'] | null),isNot?: (Scalars['Boolean'] | null),eq?: (Scalars['UUID'] | null),neq?: (Scalars['UUID'] | null),gt?: (Scalars['UUID'] | null),gte?: (Scalars['UUID'] | null),lt?: (Scalars['UUID'] | null),lte?: (Scalars['UUID'] | null),like?: (Scalars['UUID'] | null),notLike?: (Scalars['UUID'] | null),iLike?: (Scalars['UUID'] | null),notILike?: (Scalars['UUID'] | null),in?: (Scalars['UUID'][] | null),notIn?: (Scalars['UUID'][] | null)}
@@ -3368,6 +3375,9 @@ export interface ObjectGenqlSelection{
isRemote?: boolean | number
isActive?: boolean | number
isSystem?: boolean | number
+ isUIEditable?: boolean | number
+ isUICreatable?: boolean | number
+ /** @deprecated Use isUIEditable */
isUIReadOnly?: boolean | number
isSearchable?: boolean | number
applicationId?: boolean | number
@@ -3393,7 +3403,7 @@ export interface ObjectGenqlSelection{
__scalar?: boolean | number
}
-export interface FieldFilter {and?: (FieldFilter[] | null),or?: (FieldFilter[] | null),id?: (UUIDFilterComparison | null),isActive?: (BooleanFieldComparison | null),isSystem?: (BooleanFieldComparison | null),isUIReadOnly?: (BooleanFieldComparison | null),objectMetadataId?: (UUIDFilterComparison | null)}
+export interface FieldFilter {and?: (FieldFilter[] | null),or?: (FieldFilter[] | null),id?: (UUIDFilterComparison | null),isActive?: (BooleanFieldComparison | null),isSystem?: (BooleanFieldComparison | null),isUIEditable?: (BooleanFieldComparison | null),isUIReadOnly?: (BooleanFieldComparison | null),objectMetadataId?: (UUIDFilterComparison | null)}
export interface IndexFilter {and?: (IndexFilter[] | null),or?: (IndexFilter[] | null),id?: (UUIDFilterComparison | null),isCustom?: (BooleanFieldComparison | null)}
@@ -6251,7 +6261,7 @@ export interface CreateOneFieldMetadataInput {
/** The record to create */
field: CreateFieldInput}
-export interface CreateFieldInput {type: FieldMetadataType,name: Scalars['String'],label: Scalars['String'],description?: (Scalars['String'] | null),icon?: (Scalars['String'] | null),isCustom?: (Scalars['Boolean'] | null),isActive?: (Scalars['Boolean'] | null),isSystem?: (Scalars['Boolean'] | null),isUIReadOnly?: (Scalars['Boolean'] | null),isNullable?: (Scalars['Boolean'] | null),isUnique?: (Scalars['Boolean'] | null),defaultValue?: (Scalars['JSON'] | null),options?: (Scalars['JSON'] | null),settings?: (Scalars['JSON'] | null),objectMetadataId: Scalars['UUID'],isLabelSyncedWithName?: (Scalars['Boolean'] | null),isRemoteCreation?: (Scalars['Boolean'] | null),relationCreationPayload?: (Scalars['JSON'] | null),morphRelationsCreationPayload?: (Scalars['JSON'][] | null)}
+export interface CreateFieldInput {type: FieldMetadataType,name: Scalars['String'],label: Scalars['String'],description?: (Scalars['String'] | null),icon?: (Scalars['String'] | null),isCustom?: (Scalars['Boolean'] | null),isActive?: (Scalars['Boolean'] | null),isSystem?: (Scalars['Boolean'] | null),isUIEditable?: (Scalars['Boolean'] | null),isUIReadOnly?: (Scalars['Boolean'] | null),isNullable?: (Scalars['Boolean'] | null),isUnique?: (Scalars['Boolean'] | null),defaultValue?: (Scalars['JSON'] | null),options?: (Scalars['JSON'] | null),settings?: (Scalars['JSON'] | null),objectMetadataId: Scalars['UUID'],isLabelSyncedWithName?: (Scalars['Boolean'] | null),isRemoteCreation?: (Scalars['Boolean'] | null),relationCreationPayload?: (Scalars['JSON'] | null),morphRelationsCreationPayload?: (Scalars['JSON'][] | null)}
export interface UpdateOneFieldMetadataInput {
/** The id of the record to update */
@@ -6259,7 +6269,7 @@ id: Scalars['UUID'],
/** The record to update */
update: UpdateFieldInput}
-export interface UpdateFieldInput {universalIdentifier?: (Scalars['String'] | null),name?: (Scalars['String'] | null),label?: (Scalars['String'] | null),description?: (Scalars['String'] | null),icon?: (Scalars['String'] | null),isActive?: (Scalars['Boolean'] | null),isSystem?: (Scalars['Boolean'] | null),isUIReadOnly?: (Scalars['Boolean'] | null),isNullable?: (Scalars['Boolean'] | null),isUnique?: (Scalars['Boolean'] | null),defaultValue?: (Scalars['JSON'] | null),options?: (Scalars['JSON'] | null),settings?: (Scalars['JSON'] | null),objectMetadataId?: (Scalars['UUID'] | null),isLabelSyncedWithName?: (Scalars['Boolean'] | null),morphRelationsUpdatePayload?: (Scalars['JSON'][] | null)}
+export interface UpdateFieldInput {universalIdentifier?: (Scalars['String'] | null),name?: (Scalars['String'] | null),label?: (Scalars['String'] | null),description?: (Scalars['String'] | null),icon?: (Scalars['String'] | null),isActive?: (Scalars['Boolean'] | null),isSystem?: (Scalars['Boolean'] | null),isUIEditable?: (Scalars['Boolean'] | null),isUIReadOnly?: (Scalars['Boolean'] | null),isNullable?: (Scalars['Boolean'] | null),isUnique?: (Scalars['Boolean'] | null),defaultValue?: (Scalars['JSON'] | null),options?: (Scalars['JSON'] | null),settings?: (Scalars['JSON'] | null),objectMetadataId?: (Scalars['UUID'] | null),isLabelSyncedWithName?: (Scalars['Boolean'] | null),morphRelationsUpdatePayload?: (Scalars['JSON'][] | null)}
export interface DeleteOneFieldInput {
/** The id of the field to delete. */
diff --git a/packages/twenty-client-sdk/src/metadata/generated/types.ts b/packages/twenty-client-sdk/src/metadata/generated/types.ts
index be8066e88b2..4da76ac329a 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/types.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/types.ts
@@ -916,6 +916,9 @@ export default {
"isSystem": [
6
],
+ "isUIEditable": [
+ 6
+ ],
"isUIReadOnly": [
6
],
@@ -1085,6 +1088,12 @@ export default {
"isSystem": [
53
],
+ "isUIEditable": [
+ 53
+ ],
+ "isUICreatable": [
+ 53
+ ],
"isUIReadOnly": [
53
],
@@ -1239,6 +1248,12 @@ export default {
"isSystem": [
6
],
+ "isUIEditable": [
+ 6
+ ],
+ "isUICreatable": [
+ 6
+ ],
"isUIReadOnly": [
6
],
@@ -1318,6 +1333,9 @@ export default {
"isSystem": [
53
],
+ "isUIEditable": [
+ 53
+ ],
"isUIReadOnly": [
53
],
@@ -10589,6 +10607,9 @@ export default {
"isSystem": [
6
],
+ "isUIEditable": [
+ 6
+ ],
"isUIReadOnly": [
6
],
@@ -10659,6 +10680,9 @@ export default {
"isSystem": [
6
],
+ "isUIEditable": [
+ 6
+ ],
"isUIReadOnly": [
6
],
diff --git a/packages/twenty-front/scripts/mock-data/generate-object-metadata.ts b/packages/twenty-front/scripts/mock-data/generate-object-metadata.ts
index 62f9593e228..ac381922f34 100644
--- a/packages/twenty-front/scripts/mock-data/generate-object-metadata.ts
+++ b/packages/twenty-front/scripts/mock-data/generate-object-metadata.ts
@@ -23,7 +23,8 @@ const METADATA_QUERY = `
isRemote
isActive
isSystem
- isUIReadOnly
+ isUIEditable
+ isUICreatable
createdAt
updatedAt
labelIdentifierFieldMetadataId
@@ -64,7 +65,7 @@ const METADATA_QUERY = `
isCustom
isActive
isSystem
- isUIReadOnly
+ isUIEditable
isNullable
isUnique
createdAt
diff --git a/packages/twenty-front/src/generated-metadata/graphql.ts b/packages/twenty-front/src/generated-metadata/graphql.ts
index f6f1a5e392b..4be9c78cd14 100644
--- a/packages/twenty-front/src/generated-metadata/graphql.ts
+++ b/packages/twenty-front/src/generated-metadata/graphql.ts
@@ -1055,6 +1055,7 @@ export type CreateFieldInput = {
isNullable?: InputMaybe<Scalars['Boolean']['input']>;
isRemoteCreation?: InputMaybe<Scalars['Boolean']['input']>;
isSystem?: InputMaybe<Scalars['Boolean']['input']>;
+ isUIEditable?: InputMaybe<Scalars['Boolean']['input']>;
isUIReadOnly?: InputMaybe<Scalars['Boolean']['input']>;
isUnique?: InputMaybe<Scalars['Boolean']['input']>;
label: Scalars['String']['input'];
@@ -1672,6 +1673,8 @@ export type Field = {
isLabelSyncedWithName?: Maybe<Scalars['Boolean']['output']>;
isNullable?: Maybe<Scalars['Boolean']['output']>;
isSystem?: Maybe<Scalars['Boolean']['output']>;
+ isUIEditable?: Maybe<Scalars['Boolean']['output']>;
+ /** @deprecated Use isUIEditable */
isUIReadOnly?: Maybe<Scalars['Boolean']['output']>;
isUnique?: Maybe<Scalars['Boolean']['output']>;
label: Scalars['String']['output'];
@@ -1727,6 +1730,7 @@ export type FieldFilter = {
id?: InputMaybe<UuidFilterComparison>;
isActive?: InputMaybe<BooleanFieldComparison>;
isSystem?: InputMaybe<BooleanFieldComparison>;
+ isUIEditable?: InputMaybe<BooleanFieldComparison>;
isUIReadOnly?: InputMaybe<BooleanFieldComparison>;
objectMetadataId?: InputMaybe<UuidFilterComparison>;
or?: InputMaybe<Array<FieldFilter>>;
@@ -3720,6 +3724,9 @@ export type Object = {
isRemote: Scalars['Boolean']['output'];
isSearchable: Scalars['Boolean']['output'];
isSystem: Scalars['Boolean']['output'];
+ isUICreatable: Scalars['Boolean']['output'];
+ isUIEditable: Scalars['Boolean']['output'];
+ /** @deprecated Use isUIEditable */
isUIReadOnly: Scalars['Boolean']['output'];
labelIdentifierFieldMetadataId?: Maybe<Scalars['UUID']['output']>;
labelPlural: Scalars['String']['output'];
@@ -3775,6 +3782,8 @@ export type ObjectFilter = {
isRemote?: InputMaybe<BooleanFieldComparison>;
isSearchable?: InputMaybe<BooleanFieldComparison>;
isSystem?: InputMaybe<BooleanFieldComparison>;
+ isUICreatable?: InputMaybe<BooleanFieldComparison>;
+ isUIEditable?: InputMaybe<BooleanFieldComparison>;
isUIReadOnly?: InputMaybe<BooleanFieldComparison>;
or?: InputMaybe<Array<ObjectFilter>>;
};
@@ -5109,6 +5118,7 @@ export type UpdateFieldInput = {
isLabelSyncedWithName?: InputMaybe<Scalars['Boolean']['input']>;
isNullable?: InputMaybe<Scalars['Boolean']['input']>;
isSystem?: InputMaybe<Scalars['Boolean']['input']>;
+ isUIEditable?: InputMaybe<Scalars['Boolean']['input']>;
isUIReadOnly?: InputMaybe<Scalars['Boolean']['input']>;
isUnique?: InputMaybe<Scalars['Boolean']['input']>;
label?: InputMaybe<Scalars['String']['input']>;
@@ -6359,7 +6369,7 @@ export type TrackAnalyticsMutationVariables = Exact<{
export type TrackAnalyticsMutation = { __typename?: 'Mutation', trackAnalytics: { __typename?: 'Analytics', success: boolean } };
-export type ApplicationFieldsFragment = { __typename?: 'Application', id: string, name: string, description?: string | null, logo?: string | null, version?: string | null, universalIdentifier: string, applicationRegistrationId?: string | null, canBeUninstalled: boolean, defaultRoleId?: string | null, settingsCustomTabFrontComponentId?: string | null, availablePackages: any, applicationRegistration?: { __typename?: 'ApplicationRegistrationSummary', id: string, latestAvailableVersion?: string | null, sourceType: ApplicationRegistrationSourceType, logoUrl?: string | null } | null, applicationVariables: Array<{ __typename?: 'ApplicationVariable', id: string, key: string, value: string, description: string, isSecret: boolean }>, agents: Array<{ __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: string | null, isCustom: boolean, modelConfiguration?: any | null, evaluationInputs: Array<string>, applicationId?: string | null, createdAt: string, updatedAt: string }>, frontComponents: Array<{ __typename?: 'FrontComponent', id: string, name: string, description?: string | null, applicationId: string, componentName: string, builtComponentChecksum: string, universalIdentifier?: string | null, isHeadless: boolean, usesSdkClient: boolean, createdAt: string, updatedAt: string }>, commandMenuItems: Array<{ __typename?: 'CommandMenuItem', id: string, label: string, shortLabel?: string | null, icon?: string | null, isPinned: boolean, availabilityType: CommandMenuItemAvailabilityType, conditionalAvailabilityExpression?: string | null, frontComponentId?: string | null, universalIdentifier?: string | null, applicationId?: string | null, createdAt: string, updatedAt: string }>, objects: Array<{ __typename?: 'Object', id: string, universalIdentifier: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, color?: string | null, description?: string | null, icon?: string | null, isCustom: boolean, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIReadOnly: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, applicationId: string, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, duplicateCriteria?: Array<Array<string>> | null, indexMetadataList: Array<{ __typename?: 'Index', id: string, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, isCustom?: boolean | null, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: string, fieldMetadataId: string, subFieldName?: string | null, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isCustom?: boolean | null, isActive?: boolean | null, isSystem?: boolean | null, isUIReadOnly?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> }>, logicFunctions: Array<{ __typename?: 'LogicFunction', id: string, name: string, description?: string | null, runtime: string, timeoutSeconds: number, executionMode: LogicFunctionExecutionMode, sourceHandlerPath: string, handlerName: string, cronTriggerSettings?: any | null, databaseEventTriggerSettings?: any | null, httpRouteTriggerSettings?: any | null, toolTriggerSettings?: any | null, workflowActionTriggerSettings?: any | null, applicationId?: string | null, universalIdentifier?: string | null, createdAt: string, updatedAt: string }> };
+export type ApplicationFieldsFragment = { __typename?: 'Application', id: string, name: string, description?: string | null, logo?: string | null, version?: string | null, universalIdentifier: string, applicationRegistrationId?: string | null, canBeUninstalled: boolean, defaultRoleId?: string | null, settingsCustomTabFrontComponentId?: string | null, availablePackages: any, applicationRegistration?: { __typename?: 'ApplicationRegistrationSummary', id: string, latestAvailableVersion?: string | null, sourceType: ApplicationRegistrationSourceType, logoUrl?: string | null } | null, applicationVariables: Array<{ __typename?: 'ApplicationVariable', id: string, key: string, value: string, description: string, isSecret: boolean }>, agents: Array<{ __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: string | null, isCustom: boolean, modelConfiguration?: any | null, evaluationInputs: Array<string>, applicationId?: string | null, createdAt: string, updatedAt: string }>, frontComponents: Array<{ __typename?: 'FrontComponent', id: string, name: string, description?: string | null, applicationId: string, componentName: string, builtComponentChecksum: string, universalIdentifier?: string | null, isHeadless: boolean, usesSdkClient: boolean, createdAt: string, updatedAt: string }>, commandMenuItems: Array<{ __typename?: 'CommandMenuItem', id: string, label: string, shortLabel?: string | null, icon?: string | null, isPinned: boolean, availabilityType: CommandMenuItemAvailabilityType, conditionalAvailabilityExpression?: string | null, frontComponentId?: string | null, universalIdentifier?: string | null, applicationId?: string | null, createdAt: string, updatedAt: string }>, objects: Array<{ __typename?: 'Object', id: string, universalIdentifier: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, color?: string | null, description?: string | null, icon?: string | null, isCustom: boolean, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIEditable: boolean, isUICreatable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, applicationId: string, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, duplicateCriteria?: Array<Array<string>> | null, indexMetadataList: Array<{ __typename?: 'Index', id: string, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, isCustom?: boolean | null, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: string, fieldMetadataId: string, subFieldName?: string | null, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isCustom?: boolean | null, isActive?: boolean | null, isSystem?: boolean | null, isUIEditable?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> }>, logicFunctions: Array<{ __typename?: 'LogicFunction', id: string, name: string, description?: string | null, runtime: string, timeoutSeconds: number, executionMode: LogicFunctionExecutionMode, sourceHandlerPath: string, handlerName: string, cronTriggerSettings?: any | null, databaseEventTriggerSettings?: any | null, httpRouteTriggerSettings?: any | null, toolTriggerSettings?: any | null, workflowActionTriggerSettings?: any | null, applicationId?: string | null, universalIdentifier?: string | null, createdAt: string, updatedAt: string }> };
export type FindManyApplicationsQueryVariables = Exact<{ [key: string]: never; }>;
@@ -6371,14 +6381,14 @@ export type FindOneApplicationQueryVariables = Exact<{
}>;
-export type FindOneApplicationQuery = { __typename?: 'Query', findOneApplication: { __typename?: 'Application', id: string, name: string, description?: string | null, logo?: string | null, version?: string | null, universalIdentifier: string, applicationRegistrationId?: string | null, canBeUninstalled: boolean, defaultRoleId?: string | null, settingsCustomTabFrontComponentId?: string | null, availablePackages: any, applicationRegistration?: { __typename?: 'ApplicationRegistrationSummary', id: string, latestAvailableVersion?: string | null, sourceType: ApplicationRegistrationSourceType, logoUrl?: string | null } | null, applicationVariables: Array<{ __typename?: 'ApplicationVariable', id: string, key: string, value: string, description: string, isSecret: boolean }>, agents: Array<{ __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: string | null, isCustom: boolean, modelConfiguration?: any | null, evaluationInputs: Array<string>, applicationId?: string | null, createdAt: string, updatedAt: string }>, frontComponents: Array<{ __typename?: 'FrontComponent', id: string, name: string, description?: string | null, applicationId: string, componentName: string, builtComponentChecksum: string, universalIdentifier?: string | null, isHeadless: boolean, usesSdkClient: boolean, createdAt: string, updatedAt: string }>, commandMenuItems: Array<{ __typename?: 'CommandMenuItem', id: string, label: string, shortLabel?: string | null, icon?: string | null, isPinned: boolean, availabilityType: CommandMenuItemAvailabilityType, conditionalAvailabilityExpression?: string | null, frontComponentId?: string | null, universalIdentifier?: string | null, applicationId?: string | null, createdAt: string, updatedAt: string }>, objects: Array<{ __typename?: 'Object', id: string, universalIdentifier: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, color?: string | null, description?: string | null, icon?: string | null, isCustom: boolean, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIReadOnly: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, applicationId: string, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, duplicateCriteria?: Array<Array<string>> | null, indexMetadataList: Array<{ __typename?: 'Index', id: string, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, isCustom?: boolean | null, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: string, fieldMetadataId: string, subFieldName?: string | null, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isCustom?: boolean | null, isActive?: boolean | null, isSystem?: boolean | null, isUIReadOnly?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> }>, logicFunctions: Array<{ __typename?: 'LogicFunction', id: string, name: string, description?: string | null, runtime: string, timeoutSeconds: number, executionMode: LogicFunctionExecutionMode, sourceHandlerPath: string, handlerName: string, cronTriggerSettings?: any | null, databaseEventTriggerSettings?: any | null, httpRouteTriggerSettings?: any | null, toolTriggerSettings?: any | null, workflowActionTriggerSettings?: any | null, applicationId?: string | null, universalIdentifier?: string | null, createdAt: string, updatedAt: string }> } };
+export type FindOneApplicationQuery = { __typename?: 'Query', findOneApplication: { __typename?: 'Application', id: string, name: string, description?: string | null, logo?: string | null, version?: string | null, universalIdentifier: string, applicationRegistrationId?: string | null, canBeUninstalled: boolean, defaultRoleId?: string | null, settingsCustomTabFrontComponentId?: string | null, availablePackages: any, applicationRegistration?: { __typename?: 'ApplicationRegistrationSummary', id: string, latestAvailableVersion?: string | null, sourceType: ApplicationRegistrationSourceType, logoUrl?: string | null } | null, applicationVariables: Array<{ __typename?: 'ApplicationVariable', id: string, key: string, value: string, description: string, isSecret: boolean }>, agents: Array<{ __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: string | null, isCustom: boolean, modelConfiguration?: any | null, evaluationInputs: Array<string>, applicationId?: string | null, createdAt: string, updatedAt: string }>, frontComponents: Array<{ __typename?: 'FrontComponent', id: string, name: string, description?: string | null, applicationId: string, componentName: string, builtComponentChecksum: string, universalIdentifier?: string | null, isHeadless: boolean, usesSdkClient: boolean, createdAt: string, updatedAt: string }>, commandMenuItems: Array<{ __typename?: 'CommandMenuItem', id: string, label: string, shortLabel?: string | null, icon?: string | null, isPinned: boolean, availabilityType: CommandMenuItemAvailabilityType, conditionalAvailabilityExpression?: string | null, frontComponentId?: string | null, universalIdentifier?: string | null, applicationId?: string | null, createdAt: string, updatedAt: string }>, objects: Array<{ __typename?: 'Object', id: string, universalIdentifier: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, color?: string | null, description?: string | null, icon?: string | null, isCustom: boolean, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIEditable: boolean, isUICreatable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, applicationId: string, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, duplicateCriteria?: Array<Array<string>> | null, indexMetadataList: Array<{ __typename?: 'Index', id: string, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, isCustom?: boolean | null, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: string, fieldMetadataId: string, subFieldName?: string | null, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isCustom?: boolean | null, isActive?: boolean | null, isSystem?: boolean | null, isUIEditable?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> }>, logicFunctions: Array<{ __typename?: 'LogicFunction', id: string, name: string, description?: string | null, runtime: string, timeoutSeconds: number, executionMode: LogicFunctionExecutionMode, sourceHandlerPath: string, handlerName: string, cronTriggerSettings?: any | null, databaseEventTriggerSettings?: any | null, httpRouteTriggerSettings?: any | null, toolTriggerSettings?: any | null, workflowActionTriggerSettings?: any | null, applicationId?: string | null, universalIdentifier?: string | null, createdAt: string, updatedAt: string }> } };
export type FindOneApplicationByUniversalIdentifierQueryVariables = Exact<{
universalIdentifier: Scalars['UUID']['input'];
}>;
-export type FindOneApplicationByUniversalIdentifierQuery = { __typename?: 'Query', findOneApplication: { __typename?: 'Application', id: string, name: string, description?: string | null, logo?: string | null, version?: string | null, universalIdentifier: string, applicationRegistrationId?: string | null, canBeUninstalled: boolean, defaultRoleId?: string | null, settingsCustomTabFrontComponentId?: string | null, availablePackages: any, applicationRegistration?: { __typename?: 'ApplicationRegistrationSummary', id: string, latestAvailableVersion?: string | null, sourceType: ApplicationRegistrationSourceType, logoUrl?: string | null } | null, applicationVariables: Array<{ __typename?: 'ApplicationVariable', id: string, key: string, value: string, description: string, isSecret: boolean }>, agents: Array<{ __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: string | null, isCustom: boolean, modelConfiguration?: any | null, evaluationInputs: Array<string>, applicationId?: string | null, createdAt: string, updatedAt: string }>, frontComponents: Array<{ __typename?: 'FrontComponent', id: string, name: string, description?: string | null, applicationId: string, componentName: string, builtComponentChecksum: string, universalIdentifier?: string | null, isHeadless: boolean, usesSdkClient: boolean, createdAt: string, updatedAt: string }>, commandMenuItems: Array<{ __typename?: 'CommandMenuItem', id: string, label: string, shortLabel?: string | null, icon?: string | null, isPinned: boolean, availabilityType: CommandMenuItemAvailabilityType, conditionalAvailabilityExpression?: string | null, frontComponentId?: string | null, universalIdentifier?: string | null, applicationId?: string | null, createdAt: string, updatedAt: string }>, objects: Array<{ __typename?: 'Object', id: string, universalIdentifier: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, color?: string | null, description?: string | null, icon?: string | null, isCustom: boolean, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIReadOnly: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, applicationId: string, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, duplicateCriteria?: Array<Array<string>> | null, indexMetadataList: Array<{ __typename?: 'Index', id: string, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, isCustom?: boolean | null, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: string, fieldMetadataId: string, subFieldName?: string | null, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isCustom?: boolean | null, isActive?: boolean | null, isSystem?: boolean | null, isUIReadOnly?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> }>, logicFunctions: Array<{ __typename?: 'LogicFunction', id: string, name: string, description?: string | null, runtime: string, timeoutSeconds: number, executionMode: LogicFunctionExecutionMode, sourceHandlerPath: string, handlerName: string, cronTriggerSettings?: any | null, databaseEventTriggerSettings?: any | null, httpRouteTriggerSettings?: any | null, toolTriggerSettings?: any | null, workflowActionTriggerSettings?: any | null, applicationId?: string | null, universalIdentifier?: string | null, createdAt: string, updatedAt: string }> } };
+export type FindOneApplicationByUniversalIdentifierQuery = { __typename?: 'Query', findOneApplication: { __typename?: 'Application', id: string, name: string, description?: string | null, logo?: string | null, version?: string | null, universalIdentifier: string, applicationRegistrationId?: string | null, canBeUninstalled: boolean, defaultRoleId?: string | null, settingsCustomTabFrontComponentId?: string | null, availablePackages: any, applicationRegistration?: { __typename?: 'ApplicationRegistrationSummary', id: string, latestAvailableVersion?: string | null, sourceType: ApplicationRegistrationSourceType, logoUrl?: string | null } | null, applicationVariables: Array<{ __typename?: 'ApplicationVariable', id: string, key: string, value: string, description: string, isSecret: boolean }>, agents: Array<{ __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: string | null, isCustom: boolean, modelConfiguration?: any | null, evaluationInputs: Array<string>, applicationId?: string | null, createdAt: string, updatedAt: string }>, frontComponents: Array<{ __typename?: 'FrontComponent', id: string, name: string, description?: string | null, applicationId: string, componentName: string, builtComponentChecksum: string, universalIdentifier?: string | null, isHeadless: boolean, usesSdkClient: boolean, createdAt: string, updatedAt: string }>, commandMenuItems: Array<{ __typename?: 'CommandMenuItem', id: string, label: string, shortLabel?: string | null, icon?: string | null, isPinned: boolean, availabilityType: CommandMenuItemAvailabilityType, conditionalAvailabilityExpression?: string | null, frontComponentId?: string | null, universalIdentifier?: string | null, applicationId?: string | null, createdAt: string, updatedAt: string }>, objects: Array<{ __typename?: 'Object', id: string, universalIdentifier: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, color?: string | null, description?: string | null, icon?: string | null, isCustom: boolean, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIEditable: boolean, isUICreatable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, applicationId: string, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, duplicateCriteria?: Array<Array<string>> | null, indexMetadataList: Array<{ __typename?: 'Index', id: string, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, isCustom?: boolean | null, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: string, fieldMetadataId: string, subFieldName?: string | null, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isCustom?: boolean | null, isActive?: boolean | null, isSystem?: boolean | null, isUIEditable?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> }>, logicFunctions: Array<{ __typename?: 'LogicFunction', id: string, name: string, description?: string | null, runtime: string, timeoutSeconds: number, executionMode: LogicFunctionExecutionMode, sourceHandlerPath: string, handlerName: string, cronTriggerSettings?: any | null, databaseEventTriggerSettings?: any | null, httpRouteTriggerSettings?: any | null, toolTriggerSettings?: any | null, workflowActionTriggerSettings?: any | null, applicationId?: string | null, universalIdentifier?: string | null, createdAt: string, updatedAt: string }> } };
export type FindOneApplicationSummaryQueryVariables = Exact<{
universalIdentifier: Scalars['UUID']['input'];
@@ -6900,14 +6910,14 @@ export type FindOneNavigationMenuItemQueryVariables = Exact<{
export type FindOneNavigationMenuItemQuery = { __typename?: 'Query', navigationMenuItem?: { __typename?: 'NavigationMenuItem', id: string, type: NavigationMenuItemType, userWorkspaceId?: string | null, targetRecordId?: string | null, targetObjectMetadataId?: string | null, viewId?: string | null, folderId?: string | null, name?: string | null, link?: string | null, icon?: string | null, color?: string | null, pageLayoutId?: string | null, position: number, applicationId?: string | null, createdAt: string, updatedAt: string, targetRecordIdentifier?: { __typename?: 'RecordIdentifier', id: string, labelIdentifier: string, imageIdentifier?: string | null } | null } | null };
-export type ObjectMetadataFieldsFragment = { __typename?: 'Object', id: string, universalIdentifier: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, color?: string | null, description?: string | null, icon?: string | null, isCustom: boolean, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIReadOnly: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, applicationId: string, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, duplicateCriteria?: Array<Array<string>> | null, indexMetadataList: Array<{ __typename?: 'Index', id: string, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, isCustom?: boolean | null, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: string, fieldMetadataId: string, subFieldName?: string | null, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isCustom?: boolean | null, isActive?: boolean | null, isSystem?: boolean | null, isUIReadOnly?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> };
+export type ObjectMetadataFieldsFragment = { __typename?: 'Object', id: string, universalIdentifier: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, color?: string | null, description?: string | null, icon?: string | null, isCustom: boolean, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIEditable: boolean, isUICreatable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, applicationId: string, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, duplicateCriteria?: Array<Array<string>> | null, indexMetadataList: Array<{ __typename?: 'Index', id: string, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, isCustom?: boolean | null, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: string, fieldMetadataId: string, subFieldName?: string | null, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isCustom?: boolean | null, isActive?: boolean | null, isSystem?: boolean | null, isUIEditable?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> };
export type CreateOneObjectMetadataItemMutationVariables = Exact<{
input: CreateOneObjectInput;
}>;
-export type CreateOneObjectMetadataItemMutation = { __typename?: 'Mutation', createOneObject: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, description?: string | null, icon?: string | null, color?: string | null, isCustom: boolean, isActive: boolean, isSearchable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, isLabelSyncedWithName: boolean, applicationId: string, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isCustom?: boolean | null, isActive?: boolean | null, isSystem?: boolean | null, isUIReadOnly?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> } };
+export type CreateOneObjectMetadataItemMutation = { __typename?: 'Mutation', createOneObject: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, description?: string | null, icon?: string | null, color?: string | null, isCustom: boolean, isActive: boolean, isSearchable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, isLabelSyncedWithName: boolean, applicationId: string, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isCustom?: boolean | null, isActive?: boolean | null, isSystem?: boolean | null, isUIEditable?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> } };
export type CreateOneFieldMetadataItemMutationVariables = Exact<{
input: CreateOneFieldMetadataInput;
@@ -6963,7 +6973,7 @@ export type DeleteOneIndexMetadataItemMutation = { __typename?: 'Mutation', dele
export type ObjectMetadataItemsQueryVariables = Exact<{ [key: string]: never; }>;
-export type ObjectMetadataItemsQuery = { __typename?: 'Query', objects: { __typename?: 'ObjectConnection', edges: Array<{ __typename?: 'ObjectEdge', node: { __typename?: 'Object', id: string, universalIdentifier: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, color?: string | null, description?: string | null, icon?: string | null, isCustom: boolean, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIReadOnly: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, applicationId: string, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, duplicateCriteria?: Array<Array<string>> | null, indexMetadataList: Array<{ __typename?: 'Index', id: string, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, isCustom?: boolean | null, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: string, fieldMetadataId: string, subFieldName?: string | null, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isCustom?: boolean | null, isActive?: boolean | null, isSystem?: boolean | null, isUIReadOnly?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> } }>, pageInfo: { __typename?: 'PageInfo', hasNextPage?: boolean | null, hasPreviousPage?: boolean | null, startCursor?: any | null, endCursor?: any | null } } };
+export type ObjectMetadataItemsQuery = { __typename?: 'Query', objects: { __typename?: 'ObjectConnection', edges: Array<{ __typename?: 'ObjectEdge', node: { __typename?: 'Object', id: string, universalIdentifier: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, color?: string | null, description?: string | null, icon?: string | null, isCustom: boolean, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIEditable: boolean, isUICreatable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, applicationId: string, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, duplicateCriteria?: Array<Array<string>> | null, indexMetadataList: Array<{ __typename?: 'Index', id: string, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, isCustom?: boolean | null, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: string, fieldMetadataId: string, subFieldName?: string | null, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: string, universalIdentifier: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isCustom?: boolean | null, isActive?: boolean | null, isSystem?: boolean | null, isUIEditable?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, morphId?: string | null, applicationId: string, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> } }>, pageInfo: { __typename?: 'PageInfo', hasNextPage?: boolean | null, hasPreviousPage?: boolean | null, startCursor?: any | null, endCursor?: any | null } } };
export type ObjectRecordCountsQueryVariables = Exact<{ [key: string]: never; }>;
@@ -8347,9 +8357,9 @@ export type GetWorkspaceFromInviteHashQuery = { __typename?: 'Query', findWorksp
export const SkillFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"SkillFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Skill"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<SkillFieldsFragment, unknown>;
export const AgentFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AgentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Agent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"prompt"}},{"kind":"Field","name":{"kind":"Name","value":"modelId"}},{"kind":"Field","name":{"kind":"Name","value":"responseFormat"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"modelConfiguration"}},{"kind":"Field","name":{"kind":"Name","value":"evaluationInputs"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<AgentFieldsFragment, unknown>;
-export const ObjectMetadataFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectMetadataFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Object"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIReadOnly"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"indexMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIReadOnly"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode<ObjectMetadataFieldsFragment, unknown>;
+export const ObjectMetadataFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectMetadataFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Object"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isUICreatable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"indexMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode<ObjectMetadataFieldsFragment, unknown>;
export const LogicFunctionFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LogicFunctionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LogicFunction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"runtime"}},{"kind":"Field","name":{"kind":"Name","value":"timeoutSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"executionMode"}},{"kind":"Field","name":{"kind":"Name","value":"sourceHandlerPath"}},{"kind":"Field","name":{"kind":"Name","value":"handlerName"}},{"kind":"Field","name":{"kind":"Name","value":"cronTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"databaseEventTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"httpRouteTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"toolTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"workflowActionTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<LogicFunctionFieldsFragment, unknown>;
-export const ApplicationFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ApplicationFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Application"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistrationId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"canBeUninstalled"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRoleId"}},{"kind":"Field","name":{"kind":"Name","value":"settingsCustomTabFrontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"availablePackages"}},{"kind":"Field","name":{"kind":"Name","value":"applicationVariables"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}}]}},{"kind":"Field","name":{"kind":"Name","value":"agents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AgentFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"frontComponents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"componentName"}},{"kind":"Field","name":{"kind":"Name","value":"builtComponentChecksum"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isHeadless"}},{"kind":"Field","name":{"kind":"Name","value":"usesSdkClient"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"commandMenuItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"shortLabel"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"}},{"kind":"Field","name":{"kind":"Name","value":"availabilityType"}},{"kind":"Field","name":{"kind":"Name","value":"conditionalAvailabilityExpression"}},{"kind":"Field","name":{"kind":"Name","value":"frontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"objects"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectMetadataFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logicFunctions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LogicFunctionFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AgentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Agent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"prompt"}},{"kind":"Field","name":{"kind":"Name","value":"modelId"}},{"kind":"Field","name":{"kind":"Name","value":"responseFormat"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"modelConfiguration"}},{"kind":"Field","name":{"kind":"Name","value":"evaluationInputs"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectMetadataFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Object"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIReadOnly"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"indexMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIReadOnly"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LogicFunctionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LogicFunction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"runtime"}},{"kind":"Field","name":{"kind":"Name","value":"timeoutSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"executionMode"}},{"kind":"Field","name":{"kind":"Name","value":"sourceHandlerPath"}},{"kind":"Field","name":{"kind":"Name","value":"handlerName"}},{"kind":"Field","name":{"kind":"Name","value":"cronTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"databaseEventTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"httpRouteTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"toolTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"workflowActionTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<ApplicationFieldsFragment, unknown>;
+export const ApplicationFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ApplicationFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Application"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistrationId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"canBeUninstalled"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRoleId"}},{"kind":"Field","name":{"kind":"Name","value":"settingsCustomTabFrontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"availablePackages"}},{"kind":"Field","name":{"kind":"Name","value":"applicationVariables"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}}]}},{"kind":"Field","name":{"kind":"Name","value":"agents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AgentFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"frontComponents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"componentName"}},{"kind":"Field","name":{"kind":"Name","value":"builtComponentChecksum"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isHeadless"}},{"kind":"Field","name":{"kind":"Name","value":"usesSdkClient"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"commandMenuItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"shortLabel"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"}},{"kind":"Field","name":{"kind":"Name","value":"availabilityType"}},{"kind":"Field","name":{"kind":"Name","value":"conditionalAvailabilityExpression"}},{"kind":"Field","name":{"kind":"Name","value":"frontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"objects"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectMetadataFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logicFunctions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LogicFunctionFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AgentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Agent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"prompt"}},{"kind":"Field","name":{"kind":"Name","value":"modelId"}},{"kind":"Field","name":{"kind":"Name","value":"responseFormat"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"modelConfiguration"}},{"kind":"Field","name":{"kind":"Name","value":"evaluationInputs"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectMetadataFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Object"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isUICreatable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"indexMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LogicFunctionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LogicFunction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"runtime"}},{"kind":"Field","name":{"kind":"Name","value":"timeoutSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"executionMode"}},{"kind":"Field","name":{"kind":"Name","value":"sourceHandlerPath"}},{"kind":"Field","name":{"kind":"Name","value":"handlerName"}},{"kind":"Field","name":{"kind":"Name","value":"cronTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"databaseEventTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"httpRouteTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"toolTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"workflowActionTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}}]} as unknown as DocumentNode<ApplicationFieldsFragment, unknown>;
export const AuthTokenFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AuthTokenFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AuthToken"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"expiresAt"}}]}}]} as unknown as DocumentNode<AuthTokenFragmentFragment, unknown>;
export const AuthTokenPairFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AuthTokenPairFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AuthTokenPair"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accessOrWorkspaceAgnosticToken"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AuthTokenFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"refreshToken"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AuthTokenFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AuthTokenFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AuthToken"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"expiresAt"}}]}}]} as unknown as DocumentNode<AuthTokenPairFragmentFragment, unknown>;
export const AvailableSsoIdentityProvidersFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AvailableSSOIdentityProvidersFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"FindAvailableSSOIDP"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"issuer"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"workspace"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}}]}}]}}]} as unknown as DocumentNode<AvailableSsoIdentityProvidersFragmentFragment, unknown>;
@@ -8426,8 +8436,8 @@ export const GetToolInputSchemaDocument = {"kind":"Document","definitions":[{"ki
export const OnAgentChatEventDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"OnAgentChatEvent"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"threadId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"onAgentChatEvent"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"threadId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"threadId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"threadId"}},{"kind":"Field","name":{"kind":"Name","value":"event"}}]}}]}}]} as unknown as DocumentNode<OnAgentChatEventSubscription, OnAgentChatEventSubscriptionVariables>;
export const TrackAnalyticsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"TrackAnalytics"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AnalyticsType"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"event"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"name"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"properties"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"JSON"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"trackAnalytics"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}},{"kind":"Argument","name":{"kind":"Name","value":"event"},"value":{"kind":"Variable","name":{"kind":"Name","value":"event"}}},{"kind":"Argument","name":{"kind":"Name","value":"name"},"value":{"kind":"Variable","name":{"kind":"Name","value":"name"}}},{"kind":"Argument","name":{"kind":"Name","value":"properties"},"value":{"kind":"Variable","name":{"kind":"Name","value":"properties"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"success"}}]}}]}}]} as unknown as DocumentNode<TrackAnalyticsMutation, TrackAnalyticsMutationVariables>;
export const FindManyApplicationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindManyApplications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findManyApplications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistrationId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}}]}}]}}]}}]} as unknown as DocumentNode<FindManyApplicationsQuery, FindManyApplicationsQueryVariables>;
-export const FindOneApplicationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindOneApplication"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findOneApplication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ApplicationFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AgentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Agent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"prompt"}},{"kind":"Field","name":{"kind":"Name","value":"modelId"}},{"kind":"Field","name":{"kind":"Name","value":"responseFormat"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"modelConfiguration"}},{"kind":"Field","name":{"kind":"Name","value":"evaluationInputs"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectMetadataFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Object"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIReadOnly"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"indexMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIReadOnly"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LogicFunctionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LogicFunction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"runtime"}},{"kind":"Field","name":{"kind":"Name","value":"timeoutSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"executionMode"}},{"kind":"Field","name":{"kind":"Name","value":"sourceHandlerPath"}},{"kind":"Field","name":{"kind":"Name","value":"handlerName"}},{"kind":"Field","name":{"kind":"Name","value":"cronTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"databaseEventTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"httpRouteTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"toolTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"workflowActionTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ApplicationFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Application"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistrationId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"canBeUninstalled"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRoleId"}},{"kind":"Field","name":{"kind":"Name","value":"settingsCustomTabFrontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"availablePackages"}},{"kind":"Field","name":{"kind":"Name","value":"applicationVariables"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}}]}},{"kind":"Field","name":{"kind":"Name","value":"agents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AgentFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"frontComponents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"componentName"}},{"kind":"Field","name":{"kind":"Name","value":"builtComponentChecksum"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isHeadless"}},{"kind":"Field","name":{"kind":"Name","value":"usesSdkClient"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"commandMenuItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"shortLabel"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"}},{"kind":"Field","name":{"kind":"Name","value":"availabilityType"}},{"kind":"Field","name":{"kind":"Name","value":"conditionalAvailabilityExpression"}},{"kind":"Field","name":{"kind":"Name","value":"frontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"objects"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectMetadataFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logicFunctions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LogicFunctionFields"}}]}}]}}]} as unknown as DocumentNode<FindOneApplicationQuery, FindOneApplicationQueryVariables>;
-export const FindOneApplicationByUniversalIdentifierDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindOneApplicationByUniversalIdentifier"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findOneApplication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"universalIdentifier"},"value":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ApplicationFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AgentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Agent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"prompt"}},{"kind":"Field","name":{"kind":"Name","value":"modelId"}},{"kind":"Field","name":{"kind":"Name","value":"responseFormat"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"modelConfiguration"}},{"kind":"Field","name":{"kind":"Name","value":"evaluationInputs"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectMetadataFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Object"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIReadOnly"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"indexMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIReadOnly"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LogicFunctionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LogicFunction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"runtime"}},{"kind":"Field","name":{"kind":"Name","value":"timeoutSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"executionMode"}},{"kind":"Field","name":{"kind":"Name","value":"sourceHandlerPath"}},{"kind":"Field","name":{"kind":"Name","value":"handlerName"}},{"kind":"Field","name":{"kind":"Name","value":"cronTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"databaseEventTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"httpRouteTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"toolTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"workflowActionTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ApplicationFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Application"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistrationId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"canBeUninstalled"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRoleId"}},{"kind":"Field","name":{"kind":"Name","value":"settingsCustomTabFrontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"availablePackages"}},{"kind":"Field","name":{"kind":"Name","value":"applicationVariables"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}}]}},{"kind":"Field","name":{"kind":"Name","value":"agents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AgentFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"frontComponents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"componentName"}},{"kind":"Field","name":{"kind":"Name","value":"builtComponentChecksum"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isHeadless"}},{"kind":"Field","name":{"kind":"Name","value":"usesSdkClient"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"commandMenuItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"shortLabel"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"}},{"kind":"Field","name":{"kind":"Name","value":"availabilityType"}},{"kind":"Field","name":{"kind":"Name","value":"conditionalAvailabilityExpression"}},{"kind":"Field","name":{"kind":"Name","value":"frontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"objects"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectMetadataFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logicFunctions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LogicFunctionFields"}}]}}]}}]} as unknown as DocumentNode<FindOneApplicationByUniversalIdentifierQuery, FindOneApplicationByUniversalIdentifierQueryVariables>;
+export const FindOneApplicationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindOneApplication"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findOneApplication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ApplicationFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AgentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Agent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"prompt"}},{"kind":"Field","name":{"kind":"Name","value":"modelId"}},{"kind":"Field","name":{"kind":"Name","value":"responseFormat"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"modelConfiguration"}},{"kind":"Field","name":{"kind":"Name","value":"evaluationInputs"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectMetadataFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Object"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isUICreatable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"indexMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LogicFunctionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LogicFunction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"runtime"}},{"kind":"Field","name":{"kind":"Name","value":"timeoutSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"executionMode"}},{"kind":"Field","name":{"kind":"Name","value":"sourceHandlerPath"}},{"kind":"Field","name":{"kind":"Name","value":"handlerName"}},{"kind":"Field","name":{"kind":"Name","value":"cronTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"databaseEventTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"httpRouteTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"toolTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"workflowActionTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ApplicationFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Application"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistrationId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"canBeUninstalled"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRoleId"}},{"kind":"Field","name":{"kind":"Name","value":"settingsCustomTabFrontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"availablePackages"}},{"kind":"Field","name":{"kind":"Name","value":"applicationVariables"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}}]}},{"kind":"Field","name":{"kind":"Name","value":"agents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AgentFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"frontComponents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"componentName"}},{"kind":"Field","name":{"kind":"Name","value":"builtComponentChecksum"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isHeadless"}},{"kind":"Field","name":{"kind":"Name","value":"usesSdkClient"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"commandMenuItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"shortLabel"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"}},{"kind":"Field","name":{"kind":"Name","value":"availabilityType"}},{"kind":"Field","name":{"kind":"Name","value":"conditionalAvailabilityExpression"}},{"kind":"Field","name":{"kind":"Name","value":"frontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"objects"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectMetadataFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logicFunctions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LogicFunctionFields"}}]}}]}}]} as unknown as DocumentNode<FindOneApplicationQuery, FindOneApplicationQueryVariables>;
+export const FindOneApplicationByUniversalIdentifierDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindOneApplicationByUniversalIdentifier"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findOneApplication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"universalIdentifier"},"value":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ApplicationFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AgentFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Agent"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"prompt"}},{"kind":"Field","name":{"kind":"Name","value":"modelId"}},{"kind":"Field","name":{"kind":"Name","value":"responseFormat"}},{"kind":"Field","name":{"kind":"Name","value":"roleId"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"modelConfiguration"}},{"kind":"Field","name":{"kind":"Name","value":"evaluationInputs"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectMetadataFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Object"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isUICreatable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"indexMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"LogicFunctionFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"LogicFunction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"runtime"}},{"kind":"Field","name":{"kind":"Name","value":"timeoutSeconds"}},{"kind":"Field","name":{"kind":"Name","value":"executionMode"}},{"kind":"Field","name":{"kind":"Name","value":"sourceHandlerPath"}},{"kind":"Field","name":{"kind":"Name","value":"handlerName"}},{"kind":"Field","name":{"kind":"Name","value":"cronTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"databaseEventTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"httpRouteTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"toolTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"workflowActionTriggerSettings"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ApplicationFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Application"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"version"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistrationId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationRegistration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"latestAvailableVersion"}},{"kind":"Field","name":{"kind":"Name","value":"sourceType"}},{"kind":"Field","name":{"kind":"Name","value":"logoUrl"}}]}},{"kind":"Field","name":{"kind":"Name","value":"canBeUninstalled"}},{"kind":"Field","name":{"kind":"Name","value":"defaultRoleId"}},{"kind":"Field","name":{"kind":"Name","value":"settingsCustomTabFrontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"availablePackages"}},{"kind":"Field","name":{"kind":"Name","value":"applicationVariables"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"key"}},{"kind":"Field","name":{"kind":"Name","value":"value"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isSecret"}}]}},{"kind":"Field","name":{"kind":"Name","value":"agents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AgentFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"frontComponents"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"componentName"}},{"kind":"Field","name":{"kind":"Name","value":"builtComponentChecksum"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"isHeadless"}},{"kind":"Field","name":{"kind":"Name","value":"usesSdkClient"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"commandMenuItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"shortLabel"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"}},{"kind":"Field","name":{"kind":"Name","value":"availabilityType"}},{"kind":"Field","name":{"kind":"Name","value":"conditionalAvailabilityExpression"}},{"kind":"Field","name":{"kind":"Name","value":"frontComponentId"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"objects"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectMetadataFields"}}]}},{"kind":"Field","name":{"kind":"Name","value":"logicFunctions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"LogicFunctionFields"}}]}}]}}]} as unknown as DocumentNode<FindOneApplicationByUniversalIdentifierQuery, FindOneApplicationByUniversalIdentifierQueryVariables>;
export const FindOneApplicationSummaryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindOneApplicationSummary"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"findOneApplication"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"universalIdentifier"},"value":{"kind":"Variable","name":{"kind":"Name","value":"universalIdentifier"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode<FindOneApplicationSummaryQuery, FindOneApplicationSummaryQueryVariables>;
export const AuthorizeAppDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"authorizeApp"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"clientId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"codeChallenge"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"redirectUrl"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"state"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"authorizeApp"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"clientId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"clientId"}}},{"kind":"Argument","name":{"kind":"Name","value":"codeChallenge"},"value":{"kind":"Variable","name":{"kind":"Name","value":"codeChallenge"}}},{"kind":"Argument","name":{"kind":"Name","value":"redirectUrl"},"value":{"kind":"Variable","name":{"kind":"Name","value":"redirectUrl"}}},{"kind":"Argument","name":{"kind":"Name","value":"state"},"value":{"kind":"Variable","name":{"kind":"Name","value":"state"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"redirectUrl"}}]}}]}}]} as unknown as DocumentNode<AuthorizeAppMutation, AuthorizeAppMutationVariables>;
export const EmailPasswordResetLinkDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"EmailPasswordResetLink"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"email"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"workspaceId"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"emailPasswordResetLink"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"email"},"value":{"kind":"Variable","name":{"kind":"Name","value":"email"}}},{"kind":"Argument","name":{"kind":"Name","value":"workspaceId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"workspaceId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"success"}}]}}]}}]} as unknown as DocumentNode<EmailPasswordResetLinkMutation, EmailPasswordResetLinkMutationVariables>;
@@ -8483,7 +8493,7 @@ export const DeleteManyNavigationMenuItemsDocument = {"kind":"Document","definit
export const UpdateManyNavigationMenuItemsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateManyNavigationMenuItems"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"inputs"}},"type":{"kind":"NonNullType","type":{"kind":"ListType","type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateOneNavigationMenuItemInput"}}}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateManyNavigationMenuItems"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"inputs"},"value":{"kind":"Variable","name":{"kind":"Name","value":"inputs"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavigationMenuItemQueryFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavigationMenuItemFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NavigationMenuItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"targetRecordId"}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"folderId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"link"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"pageLayoutId"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavigationMenuItemQueryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NavigationMenuItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavigationMenuItemFields"}},{"kind":"Field","name":{"kind":"Name","value":"targetRecordIdentifier"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifier"}}]}}]}}]} as unknown as DocumentNode<UpdateManyNavigationMenuItemsMutation, UpdateManyNavigationMenuItemsMutationVariables>;
export const FindManyNavigationMenuItemsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindManyNavigationMenuItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"navigationMenuItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavigationMenuItemQueryFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavigationMenuItemFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NavigationMenuItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"targetRecordId"}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"folderId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"link"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"pageLayoutId"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavigationMenuItemQueryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NavigationMenuItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavigationMenuItemFields"}},{"kind":"Field","name":{"kind":"Name","value":"targetRecordIdentifier"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifier"}}]}}]}}]} as unknown as DocumentNode<FindManyNavigationMenuItemsQuery, FindManyNavigationMenuItemsQueryVariables>;
export const FindOneNavigationMenuItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindOneNavigationMenuItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"navigationMenuItem"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavigationMenuItemQueryFields"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavigationMenuItemFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NavigationMenuItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"userWorkspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"targetRecordId"}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"viewId"}},{"kind":"Field","name":{"kind":"Name","value":"folderId"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"link"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"pageLayoutId"}},{"kind":"Field","name":{"kind":"Name","value":"position"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NavigationMenuItemQueryFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NavigationMenuItem"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NavigationMenuItemFields"}},{"kind":"Field","name":{"kind":"Name","value":"targetRecordIdentifier"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifier"}}]}}]}}]} as unknown as DocumentNode<FindOneNavigationMenuItemQuery, FindOneNavigationMenuItemQueryVariables>;
-export const CreateOneObjectMetadataItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateOneObjectMetadataItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateOneObjectInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createOneObject"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIReadOnly"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<CreateOneObjectMetadataItemMutation, CreateOneObjectMetadataItemMutationVariables>;
+export const CreateOneObjectMetadataItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateOneObjectMetadataItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateOneObjectInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createOneObject"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<CreateOneObjectMetadataItemMutation, CreateOneObjectMetadataItemMutationVariables>;
export const CreateOneFieldMetadataItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateOneFieldMetadataItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateOneFieldMetadataInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createOneField"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode<CreateOneFieldMetadataItemMutation, CreateOneFieldMetadataItemMutationVariables>;
export const UpdateOneFieldMetadataItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateOneFieldMetadataItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"idToUpdate"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"updatePayload"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateFieldInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateOneField"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"idToUpdate"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"update"},"value":{"kind":"Variable","name":{"kind":"Name","value":"updatePayload"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateOneFieldMetadataItemMutation, UpdateOneFieldMetadataItemMutationVariables>;
export const UpdateOneObjectMetadataItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateOneObjectMetadataItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"idToUpdate"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"updatePayload"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateObjectPayload"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateOneObject"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"idToUpdate"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"update"},"value":{"kind":"Variable","name":{"kind":"Name","value":"updatePayload"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}}]}}]}}]} as unknown as DocumentNode<UpdateOneObjectMetadataItemMutation, UpdateOneObjectMetadataItemMutationVariables>;
@@ -8491,7 +8501,7 @@ export const DeleteOneObjectMetadataItemDocument = {"kind":"Document","definitio
export const DeleteOneFieldMetadataItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteOneFieldMetadataItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"idToDelete"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteOneField"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"idToDelete"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"object"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode<DeleteOneFieldMetadataItemMutation, DeleteOneFieldMetadataItemMutationVariables>;
export const CreateOneIndexMetadataItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateOneIndexMetadataItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateOneIndexInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createOneIndex"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}}]}}]} as unknown as DocumentNode<CreateOneIndexMetadataItemMutation, CreateOneIndexMetadataItemMutationVariables>;
export const DeleteOneIndexMetadataItemDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteOneIndexMetadataItem"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"idToDelete"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteOneIndex"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"idToDelete"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]} as unknown as DocumentNode<DeleteOneIndexMetadataItemMutation, DeleteOneIndexMetadataItemMutationVariables>;
-export const ObjectMetadataItemsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ObjectMetadataItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objects"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"paging"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"1000"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectMetadataFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}},{"kind":"Field","name":{"kind":"Name","value":"hasPreviousPage"}},{"kind":"Field","name":{"kind":"Name","value":"startCursor"}},{"kind":"Field","name":{"kind":"Name","value":"endCursor"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectMetadataFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Object"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIReadOnly"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"indexMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIReadOnly"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode<ObjectMetadataItemsQuery, ObjectMetadataItemsQueryVariables>;
+export const ObjectMetadataItemsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ObjectMetadataItems"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objects"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"paging"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"first"},"value":{"kind":"IntValue","value":"1000"}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"edges"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"node"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ObjectMetadataFields"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"pageInfo"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hasNextPage"}},{"kind":"Field","name":{"kind":"Name","value":"hasPreviousPage"}},{"kind":"Field","name":{"kind":"Name","value":"startCursor"}},{"kind":"Field","name":{"kind":"Name","value":"endCursor"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ObjectMetadataFields"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Object"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}},{"kind":"Field","name":{"kind":"Name","value":"labelSingular"}},{"kind":"Field","name":{"kind":"Name","value":"labelPlural"}},{"kind":"Field","name":{"kind":"Name","value":"color"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isRemote"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isUICreatable"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"labelIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"imageIdentifierFieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"shortcut"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"isSearchable"}},{"kind":"Field","name":{"kind":"Name","value":"duplicateCriteria"}},{"kind":"Field","name":{"kind":"Name","value":"indexMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"indexWhereClause"}},{"kind":"Field","name":{"kind":"Name","value":"indexType"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"indexFieldMetadataList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"fieldMetadataId"}},{"kind":"Field","name":{"kind":"Name","value":"subFieldName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"order"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"fieldsList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"label"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"icon"}},{"kind":"Field","name":{"kind":"Name","value":"isCustom"}},{"kind":"Field","name":{"kind":"Name","value":"isActive"}},{"kind":"Field","name":{"kind":"Name","value":"isSystem"}},{"kind":"Field","name":{"kind":"Name","value":"isUIEditable"}},{"kind":"Field","name":{"kind":"Name","value":"isNullable"}},{"kind":"Field","name":{"kind":"Name","value":"isUnique"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"defaultValue"}},{"kind":"Field","name":{"kind":"Name","value":"options"}},{"kind":"Field","name":{"kind":"Name","value":"settings"}},{"kind":"Field","name":{"kind":"Name","value":"isLabelSyncedWithName"}},{"kind":"Field","name":{"kind":"Name","value":"morphId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"relation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"morphRelations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"sourceObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetObjectMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"nameSingular"}},{"kind":"Field","name":{"kind":"Name","value":"namePlural"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"targetFieldMetadata"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode<ObjectMetadataItemsQuery, ObjectMetadataItemsQueryVariables>;
export const ObjectRecordCountsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ObjectRecordCounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectRecordCounts"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"objectNamePlural"}},{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}}]} as unknown as DocumentNode<ObjectRecordCountsQuery, ObjectRecordCountsQueryVariables>;
export const SkipBookOnboardingStepDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SkipBookOnboardingStep"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"skipBookOnboardingStep"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"success"}}]}}]}}]} as unknown as DocumentNode<SkipBookOnboardingStepMutation, SkipBookOnboardingStepMutationVariables>;
export const SkipSyncEmailOnboardingStepDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SkipSyncEmailOnboardingStep"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"skipSyncEmailOnboardingStep"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"success"}}]}}]}}]} as unknown as DocumentNode<SkipSyncEmailOnboardingStepMutation, SkipSyncEmailOnboardingStepMutationVariables>;
diff --git a/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventDetails.tsx b/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventDetails.tsx
index a60565e9c63..f678ab7583c 100644
--- a/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventDetails.tsx
+++ b/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventDetails.tsx
@@ -170,7 +170,7 @@ export const CalendarEventDetails = ({
objectPermissions,
fieldMetadataItem: {
id: fieldMetadataItem.id,
- isUIReadOnly: fieldMetadataItem.isUIReadOnly ?? false,
+ isUIEditable: fieldMetadataItem.isUIEditable ?? true,
isCustom: fieldMetadataItem.isCustom ?? false,
},
fieldDefinition,
diff --git a/packages/twenty-front/src/modules/object-metadata/graphql/fragment.ts b/packages/twenty-front/src/modules/object-metadata/graphql/fragment.ts
index 910751fada4..084ffda735d 100644
--- a/packages/twenty-front/src/modules/object-metadata/graphql/fragment.ts
+++ b/packages/twenty-front/src/modules/object-metadata/graphql/fragment.ts
@@ -15,7 +15,8 @@ export const OBJECT_METADATA_FRAGMENT = gql`
isRemote
isActive
isSystem
- isUIReadOnly
+ isUIEditable
+ isUICreatable
createdAt
updatedAt
labelIdentifierFieldMetadataId
@@ -54,7 +55,7 @@ export const OBJECT_METADATA_FRAGMENT = gql`
isCustom
isActive
isSystem
- isUIReadOnly
+ isUIEditable
isNullable
isUnique
createdAt
diff --git a/packages/twenty-front/src/modules/object-metadata/graphql/mutations.ts b/packages/twenty-front/src/modules/object-metadata/graphql/mutations.ts
index 3a331eae000..fc665e1ffc3 100644
--- a/packages/twenty-front/src/modules/object-metadata/graphql/mutations.ts
+++ b/packages/twenty-front/src/modules/object-metadata/graphql/mutations.ts
@@ -31,7 +31,7 @@ export const CREATE_ONE_OBJECT_METADATA_ITEM = gql`
isCustom
isActive
isSystem
- isUIReadOnly
+ isUIEditable
isNullable
isUnique
createdAt
diff --git a/packages/twenty-front/src/modules/object-metadata/types/EnrichedObjectMetadataItem.ts b/packages/twenty-front/src/modules/object-metadata/types/EnrichedObjectMetadataItem.ts
index 2d4d2e6c3f3..da502b01496 100644
--- a/packages/twenty-front/src/modules/object-metadata/types/EnrichedObjectMetadataItem.ts
+++ b/packages/twenty-front/src/modules/object-metadata/types/EnrichedObjectMetadataItem.ts
@@ -12,6 +12,8 @@ export type EnrichedObjectMetadataItem = Omit<
| 'labelIdentifierFieldMetadataId'
| 'fieldsList'
| 'indexMetadataList'
+ // Deprecated GraphQL field kept server-side for one release; no longer queried
+ | 'isUIReadOnly'
> & {
__typename?: string;
applicationId?: string;
diff --git a/packages/twenty-front/src/modules/object-metadata/types/FieldMetadataItem.ts b/packages/twenty-front/src/modules/object-metadata/types/FieldMetadataItem.ts
index 60d5b0123a3..21f9d31d60f 100644
--- a/packages/twenty-front/src/modules/object-metadata/types/FieldMetadataItem.ts
+++ b/packages/twenty-front/src/modules/object-metadata/types/FieldMetadataItem.ts
@@ -24,6 +24,8 @@ export type FieldMetadataItem = Omit<
| 'options'
| 'relation'
| 'morphRelations'
+ // Deprecated GraphQL field kept server-side for one release; no longer queried
+ | 'isUIReadOnly'
> & {
__typename?: string;
applicationId?: string;
diff --git a/packages/twenty-front/src/modules/object-metadata/utils/formatFieldMetadataItemAsFieldDefinition.ts b/packages/twenty-front/src/modules/object-metadata/utils/formatFieldMetadataItemAsFieldDefinition.ts
index 95739984656..dc696e1ab6f 100644
--- a/packages/twenty-front/src/modules/object-metadata/utils/formatFieldMetadataItemAsFieldDefinition.ts
+++ b/packages/twenty-front/src/modules/object-metadata/utils/formatFieldMetadataItemAsFieldDefinition.ts
@@ -49,7 +49,7 @@ export const formatFieldMetadataItemAsFieldDefinition = ({
settings: field.settings,
isNullable: field.isNullable,
isCustom: field.isCustom ?? false,
- isUIReadOnly: field.isUIReadOnly ?? false,
+ isUIEditable: field.isUIEditable ?? true,
};
return {
diff --git a/packages/twenty-front/src/modules/object-metadata/validation-schemas/fieldMetadataItemSchema.ts b/packages/twenty-front/src/modules/object-metadata/validation-schemas/fieldMetadataItemSchema.ts
index 5967a266d81..11e78d25884 100644
--- a/packages/twenty-front/src/modules/object-metadata/validation-schemas/fieldMetadataItemSchema.ts
+++ b/packages/twenty-front/src/modules/object-metadata/validation-schemas/fieldMetadataItemSchema.ts
@@ -50,7 +50,7 @@ export const fieldMetadataItemSchema = (existingLabels?: string[]) => {
isNullable: z.boolean(),
isUnique: z.boolean(),
isSystem: z.boolean(),
- isUIReadOnly: z.boolean(),
+ isUIEditable: z.boolean(),
label: metadataLabelSchema(existingLabels),
isLabelSyncedWithName: z.boolean(),
morphId: z.string().nullable().optional(),
diff --git a/packages/twenty-front/src/modules/object-metadata/validation-schemas/objectMetadataItemSchema.ts b/packages/twenty-front/src/modules/object-metadata/validation-schemas/objectMetadataItemSchema.ts
index 52e31c12db9..a79676d00c4 100644
--- a/packages/twenty-front/src/modules/object-metadata/validation-schemas/objectMetadataItemSchema.ts
+++ b/packages/twenty-front/src/modules/object-metadata/validation-schemas/objectMetadataItemSchema.ts
@@ -23,7 +23,8 @@ export const objectMetadataItemSchema = z.object({
isCustom: z.boolean(),
isRemote: z.boolean(),
isSystem: z.boolean(),
- isUIReadOnly: z.boolean(),
+ isUIEditable: z.boolean(),
+ isUICreatable: z.boolean(),
isSearchable: z.boolean(),
labelIdentifierFieldMetadataId: z.uuid(),
labelPlural: metadataLabelSchema(),
diff --git a/packages/twenty-front/src/modules/object-record/hooks/__tests__/useAggregateRecordsQuery.test.tsx b/packages/twenty-front/src/modules/object-record/hooks/__tests__/useAggregateRecordsQuery.test.tsx
index 8c6fe0103ba..7ecf5859f2f 100644
--- a/packages/twenty-front/src/modules/object-record/hooks/__tests__/useAggregateRecordsQuery.test.tsx
+++ b/packages/twenty-front/src/modules/object-record/hooks/__tests__/useAggregateRecordsQuery.test.tsx
@@ -56,7 +56,8 @@ const mockObjectMetadataItem: EnrichedObjectMetadataItem = {
isLabelSyncedWithName: true,
isRemote: false,
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: true,
+ isUICreatable: true,
};
const Wrapper = getJestMetadataAndApolloMocksWrapper({
diff --git a/packages/twenty-front/src/modules/object-record/object-sort-dropdown/utils/__tests__/turnSortsIntoOrderBy.test.ts b/packages/twenty-front/src/modules/object-record/object-sort-dropdown/utils/__tests__/turnSortsIntoOrderBy.test.ts
index c2413d17b34..3033b8e41aa 100644
--- a/packages/twenty-front/src/modules/object-record/object-sort-dropdown/utils/__tests__/turnSortsIntoOrderBy.test.ts
+++ b/packages/twenty-front/src/modules/object-record/object-sort-dropdown/utils/__tests__/turnSortsIntoOrderBy.test.ts
@@ -37,7 +37,8 @@ const objectMetadataItemWithPositionField: EnrichedObjectMetadataItem = {
icon: 'icon',
isActive: true,
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: true,
+ isUICreatable: true,
isCustom: false,
isRemote: false,
isSearchable: false,
@@ -199,7 +200,8 @@ describe('turnSortsIntoOrderBy', () => {
icon: 'IconBuildingSkyscraper',
isActive: true,
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: true,
+ isUICreatable: true,
isCustom: false,
isRemote: false,
isSearchable: false,
@@ -249,7 +251,8 @@ describe('turnSortsIntoOrderBy', () => {
icon: 'IconUser',
isActive: true,
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: true,
+ isUICreatable: true,
isCustom: false,
isRemote: false,
isSearchable: false,
diff --git a/packages/twenty-front/src/modules/object-record/read-only/utils/__tests__/isObjectMetadataReadOnly.test.ts b/packages/twenty-front/src/modules/object-record/read-only/utils/__tests__/isObjectMetadataReadOnly.test.ts
index 3d7a7cdf061..a5f8007118b 100644
--- a/packages/twenty-front/src/modules/object-record/read-only/utils/__tests__/isObjectMetadataReadOnly.test.ts
+++ b/packages/twenty-front/src/modules/object-record/read-only/utils/__tests__/isObjectMetadataReadOnly.test.ts
@@ -9,7 +9,7 @@ describe('isObjectMetadataReadOnly', () => {
restrictedFields: {},
},
objectMetadataItem: {
- isUIReadOnly: false,
+ isUIEditable: true,
isRemote: false,
},
});
@@ -25,7 +25,7 @@ describe('isObjectMetadataReadOnly', () => {
restrictedFields: {},
},
objectMetadataItem: {
- isUIReadOnly: false,
+ isUIEditable: true,
isRemote: false,
},
});
@@ -41,7 +41,7 @@ describe('isObjectMetadataReadOnly', () => {
restrictedFields: {},
},
objectMetadataItem: {
- isUIReadOnly: true,
+ isUIEditable: false,
isRemote: false,
},
});
@@ -57,7 +57,7 @@ describe('isObjectMetadataReadOnly', () => {
restrictedFields: {},
},
objectMetadataItem: {
- isUIReadOnly: false,
+ isUIEditable: true,
isRemote: true,
},
});
@@ -69,7 +69,7 @@ describe('isObjectMetadataReadOnly', () => {
const result = isObjectMetadataReadOnly({
objectMetadataItem: {
applicationId: 'applicationId',
- isUIReadOnly: false,
+ isUIEditable: true,
isRemote: false,
},
});
@@ -81,7 +81,7 @@ describe('isObjectMetadataReadOnly', () => {
const result = isObjectMetadataReadOnly({
objectMetadataItem: {
applicationId: undefined,
- isUIReadOnly: false,
+ isUIEditable: true,
isRemote: false,
},
});
diff --git a/packages/twenty-front/src/modules/object-record/read-only/utils/__tests__/isOneToManyRelationFieldReadOnlyDueToTargetUpdatePermission.test.ts b/packages/twenty-front/src/modules/object-record/read-only/utils/__tests__/isOneToManyRelationFieldReadOnlyDueToTargetUpdatePermission.test.ts
index ffc884daf6d..a0ff34bcc5f 100644
--- a/packages/twenty-front/src/modules/object-record/read-only/utils/__tests__/isOneToManyRelationFieldReadOnlyDueToTargetUpdatePermission.test.ts
+++ b/packages/twenty-front/src/modules/object-record/read-only/utils/__tests__/isOneToManyRelationFieldReadOnlyDueToTargetUpdatePermission.test.ts
@@ -50,7 +50,7 @@ describe('isOneToManyRelationFieldReadOnlyDueToTargetUpdatePermission', () => {
targetFieldMetadataName: 'person',
settings: null,
isCustom: true,
- isUIReadOnly: false,
+ isUIEditable: true,
},
} as FieldDefinition<FieldMetadata>;
diff --git a/packages/twenty-front/src/modules/object-record/read-only/utils/__tests__/isRecordFieldReadOnly.test.ts b/packages/twenty-front/src/modules/object-record/read-only/utils/__tests__/isRecordFieldReadOnly.test.ts
index 555bb43e1d2..d1355438ce0 100644
--- a/packages/twenty-front/src/modules/object-record/read-only/utils/__tests__/isRecordFieldReadOnly.test.ts
+++ b/packages/twenty-front/src/modules/object-record/read-only/utils/__tests__/isRecordFieldReadOnly.test.ts
@@ -13,7 +13,7 @@ describe('isRecordFieldReadOnly', () => {
objectPermissions: mockObjectPermissions,
fieldMetadataId: 'field-123',
fieldMetadataType: FieldMetadataType.TEXT,
- isUIReadOnly: false,
+ isUIEditable: true,
};
it('should return true when record is read-only', () => {
@@ -22,7 +22,7 @@ describe('isRecordFieldReadOnly', () => {
isRecordReadOnly: true,
fieldMetadataItem: {
id: 'field-123',
- isUIReadOnly: false,
+ isUIEditable: true,
isCustom: false,
},
});
@@ -39,7 +39,7 @@ describe('isRecordFieldReadOnly', () => {
},
fieldMetadataItem: {
id: 'field-123',
- isUIReadOnly: false,
+ isUIEditable: true,
isCustom: false,
},
});
@@ -58,7 +58,7 @@ describe('isRecordFieldReadOnly', () => {
},
fieldMetadataItem: {
id: 'field-123',
- isUIReadOnly: false,
+ isUIEditable: true,
isCustom: false,
},
});
@@ -71,7 +71,7 @@ describe('isRecordFieldReadOnly', () => {
...mockParams,
fieldMetadataItem: {
id: 'field-123',
- isUIReadOnly: true,
+ isUIEditable: false,
isCustom: false,
},
});
@@ -84,7 +84,7 @@ describe('isRecordFieldReadOnly', () => {
...mockParams,
fieldMetadataItem: {
id: 'field-123',
- isUIReadOnly: false,
+ isUIEditable: true,
isCustom: false,
},
});
@@ -98,7 +98,7 @@ describe('isRecordFieldReadOnly', () => {
isSystemObject: true,
fieldMetadataItem: {
id: 'field-123',
- isUIReadOnly: false,
+ isUIEditable: true,
isCustom: false,
},
});
@@ -112,7 +112,7 @@ describe('isRecordFieldReadOnly', () => {
isSystemObject: true,
fieldMetadataItem: {
id: 'field-123',
- isUIReadOnly: false,
+ isUIEditable: true,
isCustom: true,
},
});
@@ -125,7 +125,7 @@ describe('isRecordFieldReadOnly', () => {
...mockParams,
fieldMetadataItem: {
id: 'field-123',
- isUIReadOnly: false,
+ isUIEditable: true,
isCustom: false,
},
});
diff --git a/packages/twenty-front/src/modules/object-record/read-only/utils/__tests__/isRecordReadonly.test.ts b/packages/twenty-front/src/modules/object-record/read-only/utils/__tests__/isRecordReadonly.test.ts
index c96dec97837..e9cb206c33e 100644
--- a/packages/twenty-front/src/modules/object-record/read-only/utils/__tests__/isRecordReadonly.test.ts
+++ b/packages/twenty-front/src/modules/object-record/read-only/utils/__tests__/isRecordReadonly.test.ts
@@ -9,7 +9,7 @@ describe('isRecordReadOnly', () => {
},
isRecordDeleted: false,
objectMetadataItem: {
- isUIReadOnly: false,
+ isUIEditable: true,
isRemote: false,
},
});
@@ -25,7 +25,7 @@ describe('isRecordReadOnly', () => {
},
isRecordDeleted: false,
objectMetadataItem: {
- isUIReadOnly: false,
+ isUIEditable: true,
isRemote: false,
},
});
@@ -41,7 +41,7 @@ describe('isRecordReadOnly', () => {
},
isRecordDeleted: true,
objectMetadataItem: {
- isUIReadOnly: false,
+ isUIEditable: true,
isRemote: false,
},
});
@@ -57,7 +57,7 @@ describe('isRecordReadOnly', () => {
},
isRecordDeleted: true,
objectMetadataItem: {
- isUIReadOnly: true,
+ isUIEditable: false,
isRemote: false,
},
});
@@ -73,7 +73,7 @@ describe('isRecordReadOnly', () => {
},
isRecordDeleted: false,
objectMetadataItem: {
- isUIReadOnly: false,
+ isUIEditable: true,
isRemote: true,
},
});
diff --git a/packages/twenty-front/src/modules/object-record/read-only/utils/isObjectMetadataReadOnly.ts b/packages/twenty-front/src/modules/object-record/read-only/utils/isObjectMetadataReadOnly.ts
index 420e13a8f50..75dd21f80fb 100644
--- a/packages/twenty-front/src/modules/object-record/read-only/utils/isObjectMetadataReadOnly.ts
+++ b/packages/twenty-front/src/modules/object-record/read-only/utils/isObjectMetadataReadOnly.ts
@@ -6,7 +6,7 @@ type IsObjectMetadataReadOnlyParams = {
objectPermissions?: ObjectPermission;
objectMetadataItem?: Pick<
EnrichedObjectMetadataItem,
- 'isUIReadOnly' | 'isRemote' | 'applicationId'
+ 'isUIEditable' | 'isRemote' | 'applicationId'
>;
};
@@ -18,6 +18,6 @@ export const isObjectMetadataReadOnly = ({
(isDefined(objectPermissions) &&
!objectPermissions.canUpdateObjectRecords) ||
(isDefined(objectMetadataItem) &&
- (objectMetadataItem.isUIReadOnly || objectMetadataItem.isRemote))
+ (!objectMetadataItem.isUIEditable || objectMetadataItem.isRemote))
);
};
diff --git a/packages/twenty-front/src/modules/object-record/read-only/utils/isRecordFieldReadOnly.ts b/packages/twenty-front/src/modules/object-record/read-only/utils/isRecordFieldReadOnly.ts
index 49156e3c6ba..68b6f592071 100644
--- a/packages/twenty-front/src/modules/object-record/read-only/utils/isRecordFieldReadOnly.ts
+++ b/packages/twenty-front/src/modules/object-record/read-only/utils/isRecordFieldReadOnly.ts
@@ -17,7 +17,7 @@ type IsRecordFieldReadOnlyParams = {
isSystemObject?: boolean;
fieldMetadataItem: Pick<
FieldMetadataItem,
- 'id' | 'isUIReadOnly' | 'isCustom'
+ 'id' | 'isUIEditable' | 'isCustom'
>;
objectPermissions: ObjectPermission;
fieldDefinition?: FieldDefinition<FieldMetadata>;
@@ -48,7 +48,7 @@ export const isRecordFieldReadOnly = ({
return (
isRecordReadOnly ||
(isSystemObject === true && fieldMetadataItem.isCustom !== true) ||
- fieldMetadataItem.isUIReadOnly ||
+ !(fieldMetadataItem.isUIEditable ?? true) ||
fieldReadOnlyByPermissions ||
oneToManyTargetReadOnly
);
diff --git a/packages/twenty-front/src/modules/object-record/read-only/utils/isRecordReadOnly.ts b/packages/twenty-front/src/modules/object-record/read-only/utils/isRecordReadOnly.ts
index 73a9c080b4e..196bfc4a849 100644
--- a/packages/twenty-front/src/modules/object-record/read-only/utils/isRecordReadOnly.ts
+++ b/packages/twenty-front/src/modules/object-record/read-only/utils/isRecordReadOnly.ts
@@ -6,7 +6,7 @@ export type IsObjectReadOnlyParams = {
objectPermissions: ObjectPermission;
objectMetadataItem: Pick<
EnrichedObjectMetadataItem,
- 'isUIReadOnly' | 'isRemote'
+ 'isUIEditable' | 'isRemote'
>;
isRecordDeleted: boolean;
};
diff --git a/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCardBody.tsx b/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCardBody.tsx
index 07ec78bab2d..63949881b3f 100644
--- a/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCardBody.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-board/record-board-card/components/RecordBoardCardBody.tsx
@@ -78,9 +78,9 @@ export const RecordBoardCardBody = () => {
objectPermissions,
fieldMetadataItem: {
id: recordField.fieldMetadataItemId,
- isUIReadOnly:
- correspondingFieldDefinition.metadata.isUIReadOnly ??
- false,
+ isUIEditable:
+ correspondingFieldDefinition.metadata.isUIEditable ??
+ true,
isCustom:
correspondingFieldDefinition.metadata.isCustom ?? false,
},
diff --git a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnHeader.tsx b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnHeader.tsx
index b20bf7881ac..7721e6dc63c 100644
--- a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnHeader.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnHeader.tsx
@@ -14,6 +14,7 @@ import { RecordGroupDefinitionType } from '@/object-record/record-group/types/Re
import { recordIndexAggregateDisplayLabelComponentState } from '@/object-record/record-index/states/recordIndexAggregateDisplayLabelComponentState';
import { recordIndexAggregateDisplayValueForGroupValueComponentFamilyState } from '@/object-record/record-index/states/recordIndexAggregateDisplayValueForGroupValueComponentFamilyState';
import { useCreateNewIndexRecord } from '@/object-record/record-table/hooks/useCreateNewIndexRecord';
+import { canCreateRecordsForObjectMetadataItem } from '@/object-record/utils/canCreateRecordsForObjectMetadataItem';
import { Dropdown } from '@/ui/layout/dropdown/components/Dropdown';
import { useToggleDropdown } from '@/ui/layout/dropdown/hooks/useToggleDropdown';
import { useAtomComponentFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentFamilyStateValue';
@@ -91,7 +92,10 @@ export const RecordBoardColumnHeader = () => {
objectMetadataItem.id,
);
- const hasObjectUpdatePermissions = objectPermissions.canUpdateObjectRecords;
+ const canCreateRecords = canCreateRecordsForObjectMetadataItem({
+ objectPermissions,
+ objectMetadataItem,
+ });
const hasAnySoftDeleteFilterOnView = useAtomComponentSelectorValue(
hasAnySoftDeleteFilterOnViewComponentSelector,
@@ -186,14 +190,13 @@ export const RecordBoardColumnHeader = () => {
});
}}
/>
- {hasObjectUpdatePermissions &&
- !hasAnySoftDeleteFilterOnView && (
- <LightIconButton
- accent="tertiary"
- Icon={IconPlus}
- onClick={handleCreateNewRecordClick}
- />
- )}
+ {canCreateRecords && !hasAnySoftDeleteFilterOnView && (
+ <LightIconButton
+ accent="tertiary"
+ Icon={IconPlus}
+ onClick={handleCreateNewRecordClick}
+ />
+ )}
</StyledHeaderActions>
)}
</StyledRightContainer>
diff --git a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnNewRecordButton.tsx b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnNewRecordButton.tsx
index 64b4b0d978a..19ef1a57ac0 100644
--- a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnNewRecordButton.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnNewRecordButton.tsx
@@ -3,6 +3,7 @@ import { RecordBoardContext } from '@/object-record/record-board/contexts/Record
import { RecordBoardColumnContext } from '@/object-record/record-board/record-board-column/contexts/RecordBoardColumnContext';
import { hasAnySoftDeleteFilterOnViewComponentSelector } from '@/object-record/record-filter/states/hasAnySoftDeleteFilterOnView';
import { useCreateNewIndexRecord } from '@/object-record/record-table/hooks/useCreateNewIndexRecord';
+import { canCreateRecordsForObjectMetadataItem } from '@/object-record/utils/canCreateRecordsForObjectMetadataItem';
import { useAtomComponentSelectorValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentSelectorValue';
import { styled } from '@linaria/react';
import { t } from '@lingui/core/macro';
@@ -45,17 +46,16 @@ export const RecordBoardColumnNewRecordButton = () => {
objectMetadataItem.id,
);
- const hasObjectUpdatePermissions = objectPermissions.canUpdateObjectRecords;
-
const { createNewIndexRecord } = useCreateNewIndexRecord({
objectMetadataItem: objectMetadataItem,
});
- if (!hasObjectUpdatePermissions) {
- return null;
- }
-
- if (objectMetadataItem.isSystem) {
+ if (
+ !canCreateRecordsForObjectMetadataItem({
+ objectPermissions,
+ objectMetadataItem,
+ })
+ ) {
return null;
}
diff --git a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/utils/__tests__/buildRecordGqlFieldsAggregateForView.test.ts b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/utils/__tests__/buildRecordGqlFieldsAggregateForView.test.ts
index f47f6c4e553..64e7627aaa6 100644
--- a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/utils/__tests__/buildRecordGqlFieldsAggregateForView.test.ts
+++ b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/utils/__tests__/buildRecordGqlFieldsAggregateForView.test.ts
@@ -39,7 +39,8 @@ describe('buildRecordGqlFieldsAggregateForView', () => {
isCustom: false,
isActive: true,
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: true,
+ isUICreatable: true,
isRemote: false,
isSearchable: false,
labelIdentifierFieldMetadataId: '06b33746-5293-4d07-9f7f-ebf5ad396064',
diff --git a/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendarAddNew.tsx b/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendarAddNew.tsx
index 38dc95d09ff..f61efb659c5 100644
--- a/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendarAddNew.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendarAddNew.tsx
@@ -4,6 +4,7 @@ import { useRecordCalendarContextOrThrow } from '@/object-record/record-calendar
import { hasAnySoftDeleteFilterOnViewComponentSelector } from '@/object-record/record-filter/states/hasAnySoftDeleteFilterOnView';
import { recordIndexCalendarFieldMetadataIdState } from '@/object-record/record-index/states/recordIndexCalendarFieldMetadataIdState';
import { useCreateNewIndexRecord } from '@/object-record/record-table/hooks/useCreateNewIndexRecord';
+import { canCreateRecordsForObjectMetadataItem } from '@/object-record/utils/canCreateRecordsForObjectMetadataItem';
import { useUserTimezone } from '@/ui/input/components/internal/date/hooks/useUserTimezone';
import { useAtomComponentSelectorValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentSelectorValue';
import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';
@@ -41,8 +42,6 @@ export const RecordCalendarAddNew = ({
objectMetadataItem.id,
);
- const hasObjectUpdatePermissions = objectPermissions.canUpdateObjectRecords;
-
const hasAnySoftDeleteFilterOnView = useAtomComponentSelectorValue(
hasAnySoftDeleteFilterOnViewComponentSelector,
);
@@ -64,8 +63,10 @@ export const RecordCalendarAddNew = ({
if (
hasAnySoftDeleteFilterOnView === true ||
- hasObjectUpdatePermissions === false ||
- objectMetadataItem.isSystem === true ||
+ !canCreateRecordsForObjectMetadataItem({
+ objectPermissions,
+ objectMetadataItem,
+ }) ||
calendarFieldMetadataItem === undefined ||
isCalendarFieldReadOnly === true
) {
diff --git a/packages/twenty-front/src/modules/object-record/record-calendar/record-calendar-card/components/RecordCalendarCardBody.tsx b/packages/twenty-front/src/modules/object-record/record-calendar/record-calendar-card/components/RecordCalendarCardBody.tsx
index e5f56a11215..88d01edc88a 100644
--- a/packages/twenty-front/src/modules/object-record/record-calendar/record-calendar-card/components/RecordCalendarCardBody.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-calendar/record-calendar-card/components/RecordCalendarCardBody.tsx
@@ -87,9 +87,9 @@ export const RecordCalendarCardBody = ({
objectPermissions,
fieldMetadataItem: {
id: recordField.fieldMetadataItemId,
- isUIReadOnly:
- correspondingFieldDefinition.metadata.isUIReadOnly ??
- false,
+ isUIEditable:
+ correspondingFieldDefinition.metadata.isUIEditable ??
+ true,
isCustom:
correspondingFieldDefinition.metadata.isCustom ?? false,
},
diff --git a/packages/twenty-front/src/modules/object-record/record-calendar/record-calendar-card/components/RecordCalendarCardDraggableContainer.tsx b/packages/twenty-front/src/modules/object-record/record-calendar/record-calendar-card/components/RecordCalendarCardDraggableContainer.tsx
index e817c9da149..18f8484a633 100644
--- a/packages/twenty-front/src/modules/object-record/record-calendar/record-calendar-card/components/RecordCalendarCardDraggableContainer.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-calendar/record-calendar-card/components/RecordCalendarCardDraggableContainer.tsx
@@ -45,7 +45,7 @@ export const RecordCalendarCardDraggableContainer = ({
);
const calendarFieldMetadataItemIsUIReadOnly =
- calendarFieldMetadataItem?.isUIReadOnly === true;
+ calendarFieldMetadataItem?.isUIEditable === false;
const calendarFieldMetadataItemIsRestrictedForUpdate = isDefined(
calendarFieldMetadataItem,
diff --git a/packages/twenty-front/src/modules/object-record/record-field-list/components/RecordFieldList.tsx b/packages/twenty-front/src/modules/object-record/record-field-list/components/RecordFieldList.tsx
index ef8580c8733..099eaab5fdc 100644
--- a/packages/twenty-front/src/modules/object-record/record-field-list/components/RecordFieldList.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-field-list/components/RecordFieldList.tsx
@@ -130,7 +130,7 @@ export const RecordFieldList = ({
}),
fieldMetadataItem: {
id: fieldMetadataItem.id,
- isUIReadOnly: fieldMetadataItem.isUIReadOnly ?? false,
+ isUIEditable: fieldMetadataItem.isUIEditable ?? true,
isCustom: fieldMetadataItem.isCustom ?? false,
},
fieldDefinition,
@@ -186,7 +186,7 @@ export const RecordFieldList = ({
}),
fieldMetadataItem: {
id: fieldMetadataItem.id,
- isUIReadOnly: fieldMetadataItem.isUIReadOnly ?? false,
+ isUIEditable: fieldMetadataItem.isUIEditable ?? true,
isCustom: fieldMetadataItem.isCustom ?? false,
},
fieldDefinition,
@@ -266,7 +266,7 @@ export const RecordFieldList = ({
}),
fieldMetadataItem: {
id: fieldMetadataItem.id,
- isUIReadOnly: fieldMetadataItem.isUIReadOnly ?? false,
+ isUIEditable: fieldMetadataItem.isUIEditable ?? true,
isCustom: fieldMetadataItem.isCustom ?? false,
},
fieldDefinition,
diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/hooks/usePersistField.ts b/packages/twenty-front/src/modules/object-record/record-field/ui/hooks/usePersistField.ts
index 3ad25496f55..3e5621f6064 100644
--- a/packages/twenty-front/src/modules/object-record/record-field/ui/hooks/usePersistField.ts
+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/hooks/usePersistField.ts
@@ -153,7 +153,9 @@ export const usePersistField = ({
const fieldIsFiles =
isFieldFiles(fieldDefinition) && isFieldFilesValue(valueToPersist);
- const fieldIsUIReadOnly = fieldDefinition.metadata.isUIReadOnly ?? false;
+ const fieldIsUIReadOnly = !(
+ fieldDefinition.metadata.isUIEditable ?? true
+ );
if (fieldIsRawJson && fieldIsUIReadOnly) {
return;
diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/RawJsonFieldInput.tsx b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/RawJsonFieldInput.tsx
index fe601a6a488..11829207a50 100644
--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/RawJsonFieldInput.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/components/RawJsonFieldInput.tsx
@@ -145,7 +145,7 @@ export const RawJsonFieldInput = () => {
dependencies: [handleShiftTab, draftValue],
});
- const showEditingButton = !fieldDefinition.metadata.isUIReadOnly;
+ const showEditingButton = fieldDefinition.metadata.isUIEditable ?? true;
const handleStartEditing = () => {
setIsEditing(true);
diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/hooks/useAddNewRecordAndOpenSidePanel.ts b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/hooks/useAddNewRecordAndOpenSidePanel.ts
index 848fb209ec9..c6ea1e6e305 100644
--- a/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/hooks/useAddNewRecordAndOpenSidePanel.ts
+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/meta-types/input/hooks/useAddNewRecordAndOpenSidePanel.ts
@@ -6,6 +6,8 @@ import { useApolloCoreClient } from '@/object-metadata/hooks/useApolloCoreClient
import { type FieldMetadataItem } from '@/object-metadata/types/FieldMetadataItem';
import { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';
import { useCreateOneRecord } from '@/object-record/hooks/useCreateOneRecord';
+import { useObjectPermissionsForObject } from '@/object-record/hooks/useObjectPermissionsForObject';
+import { canCreateRecordsForObjectMetadataItem } from '@/object-record/utils/canCreateRecordsForObjectMetadataItem';
import { useUpdateOneRecord } from '@/object-record/hooks/useUpdateOneRecord';
import { viewableRecordIdState } from '@/object-record/record-side-panel/states/viewableRecordIdState';
@@ -51,8 +53,15 @@ export const useAddNewRecordAndOpenSidePanel = ({
const apolloCoreClient = useApolloCoreClient();
+ const relationObjectPermissions = useObjectPermissionsForObject(
+ relationObjectMetadataItem.id,
+ );
+
if (
- relationObjectMetadataNameSingular === 'workspaceMember' ||
+ !canCreateRecordsForObjectMetadataItem({
+ objectPermissions: relationObjectPermissions,
+ objectMetadataItem: relationObjectMetadataItem,
+ }) ||
!isDefined(objectMetadataItem.nameSingular)
) {
return {
@@ -91,8 +100,7 @@ export const useAddNewRecordAndOpenSidePanel = ({
if (relationFieldMetadataItemRelationType === RelationType.ONE_TO_MANY) {
await updateOneRecord({
- objectNameSingular:
- objectMetadataItem.nameSingular ?? 'workspaceMember',
+ objectNameSingular: objectMetadataItem.nameSingular,
idToUpdate: recordId,
updateOneRecordInput: {
[`${fieldMetadataItem.name}Id`]: newRecordId,
diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/types/FieldDefinition.ts b/packages/twenty-front/src/modules/object-record/record-field/ui/types/FieldDefinition.ts
index aa1afc3593f..43f73320638 100644
--- a/packages/twenty-front/src/modules/object-record/record-field/ui/types/FieldDefinition.ts
+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/types/FieldDefinition.ts
@@ -13,5 +13,5 @@ export type FieldDefinition<T extends FieldMetadata> = {
metadata: T;
defaultValue?: any;
editButtonIcon?: IconComponent;
- isUIReadOnly?: boolean;
+ isUIEditable?: boolean;
};
diff --git a/packages/twenty-front/src/modules/object-record/record-field/ui/types/FieldMetadata.ts b/packages/twenty-front/src/modules/object-record/record-field/ui/types/FieldMetadata.ts
index b07b6cbf87c..cac128f8542 100644
--- a/packages/twenty-front/src/modules/object-record/record-field/ui/types/FieldMetadata.ts
+++ b/packages/twenty-front/src/modules/object-record/record-field/ui/types/FieldMetadata.ts
@@ -16,7 +16,7 @@ type BaseFieldMetadata = {
fieldName: string;
objectMetadataNameSingular?: string;
isCustom?: boolean;
- isUIReadOnly?: boolean;
+ isUIEditable?: boolean;
};
export type FieldUuidMetadata = BaseFieldMetadata & {
diff --git a/packages/twenty-front/src/modules/object-record/record-picker/multiple-record-picker/components/MultipleRecordPicker.tsx b/packages/twenty-front/src/modules/object-record/record-picker/multiple-record-picker/components/MultipleRecordPicker.tsx
index 9e910acfb04..413c803fe75 100644
--- a/packages/twenty-front/src/modules/object-record/record-picker/multiple-record-picker/components/MultipleRecordPicker.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-picker/multiple-record-picker/components/MultipleRecordPicker.tsx
@@ -1,7 +1,9 @@
import { useCallback, useRef } from 'react';
import { useStore } from 'jotai';
+import { useObjectMetadataItems } from '@/object-metadata/hooks/useObjectMetadataItems';
import { useObjectPermissionsForObject } from '@/object-record/hooks/useObjectPermissionsForObject';
+import { canCreateRecordsForObjectMetadataItem } from '@/object-record/utils/canCreateRecordsForObjectMetadataItem';
import { MultipleRecordPickerItemsDisplay } from '@/object-record/record-picker/multiple-record-picker/components/MultipleRecordPickerItemsDisplay';
import { MultipleRecordPickerOnClickOutsideEffect } from '@/object-record/record-picker/multiple-record-picker/components/MultipleRecordPickerOnClickOutsideEffect';
import { MultipleRecordPickerSearchInput } from '@/object-record/record-picker/multiple-record-picker/components/MultipleRecordPickerSearchInput';
@@ -104,12 +106,26 @@ export const MultipleRecordPicker = ({
onCreate?.(recordPickerSearchFilter);
}, [multipleRecordPickerSearchFilterState, onCreate, store]);
- const hasCreatePermissionOnObjectForCreate = useObjectPermissionsForObject(
+ const objectPermissionsForCreate = useObjectPermissionsForObject(
objectMetadataItemIdForCreate ?? '',
- ).canUpdateObjectRecords;
+ );
+
+ const { objectMetadataItems } = useObjectMetadataItems();
+
+ const objectMetadataItemForCreate = objectMetadataItems.find(
+ (objectMetadataItem) =>
+ objectMetadataItem.id === objectMetadataItemIdForCreate,
+ );
+
+ const canCreateRecordForCreate =
+ isDefined(objectMetadataItemForCreate) &&
+ canCreateRecordsForObjectMetadataItem({
+ objectPermissions: objectPermissionsForCreate,
+ objectMetadataItem: objectMetadataItemForCreate,
+ });
const createNewButtonSection =
- isDefined(onCreate) && hasCreatePermissionOnObjectForCreate ? (
+ isDefined(onCreate) && canCreateRecordForCreate ? (
<DropdownMenuItemsContainer scrollable={false}>
<CreateNewButton
onClick={handleCreateNewButtonClick}
diff --git a/packages/twenty-front/src/modules/object-record/record-picker/single-record-picker/components/SingleRecordPickerMenuItemsWithSearch.tsx b/packages/twenty-front/src/modules/object-record/record-picker/single-record-picker/components/SingleRecordPickerMenuItemsWithSearch.tsx
index aa44e649ada..c2de5304d15 100644
--- a/packages/twenty-front/src/modules/object-record/record-picker/single-record-picker/components/SingleRecordPickerMenuItemsWithSearch.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-picker/single-record-picker/components/SingleRecordPickerMenuItemsWithSearch.tsx
@@ -10,6 +10,7 @@ import { useSingleRecordPickerSearch } from '@/object-record/record-picker/singl
import { SingleRecordPickerComponentInstanceContext } from '@/object-record/record-picker/single-record-picker/states/contexts/SingleRecordPickerComponentInstanceContext';
import { singleRecordPickerSearchFilterComponentState } from '@/object-record/record-picker/single-record-picker/states/singleRecordPickerSearchFilterComponentState';
import { type RecordPickerLayoutDirection } from '@/object-record/record-picker/types/RecordPickerLayoutDirection';
+import { canCreateRecordsForObjectMetadataItem } from '@/object-record/utils/canCreateRecordsForObjectMetadataItem';
import { CreateNewButton } from '@/ui/input/relation-picker/components/CreateNewButton';
import { DropdownMenuItemsContainer } from '@/ui/layout/dropdown/components/DropdownMenuItemsContainer';
import { DropdownMenuSearchInput } from '@/ui/layout/dropdown/components/DropdownMenuSearchInput';
@@ -68,11 +69,18 @@ export const SingleRecordPickerMenuItemsWithSearch = ({
const { objectPermissionsByObjectMetadataId } = useObjectPermissions();
- const hasUpdatePermissions = objectMetadataItems.every(
- (objectMetadataItem) =>
- objectPermissionsByObjectMetadataId[objectMetadataItem.id]
- ?.canUpdateObjectRecords,
- );
+ const canCreateRecords = objectMetadataItems.every((objectMetadataItem) => {
+ const objectPermissions =
+ objectPermissionsByObjectMetadataId[objectMetadataItem.id];
+
+ return (
+ isDefined(objectPermissions) &&
+ canCreateRecordsForObjectMetadataItem({
+ objectPermissions,
+ objectMetadataItem,
+ })
+ );
+ });
const handleCreateNew = () => {
onCreate?.(singleRecordPickerSearchFilter);
@@ -83,7 +91,7 @@ export const SingleRecordPickerMenuItemsWithSearch = ({
<SingleRecordPickerLoadingEffect loading={loading} />
{layoutDirection === 'search-bar-on-bottom' && (
<>
- {isDefined(onCreate) && hasUpdatePermissions && (
+ {isDefined(onCreate) && canCreateRecords && (
<>
<DropdownMenuItemsContainer scrollable={false}>
<CreateNewButton
@@ -131,7 +139,7 @@ export const SingleRecordPickerMenuItemsWithSearch = ({
}}
/>
</DropdownMenuItemsContainer>
- {isDefined(onCreate) && hasUpdatePermissions && (
+ {isDefined(onCreate) && canCreateRecords && (
<>
<DropdownMenuSeparator />
<DropdownMenuItemsContainer scrollable={false}>
diff --git a/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableNoRecordGroupAddNew.tsx b/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableNoRecordGroupAddNew.tsx
index 20a12fd5460..5fd6496622e 100644
--- a/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableNoRecordGroupAddNew.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-table/components/RecordTableNoRecordGroupAddNew.tsx
@@ -5,7 +5,7 @@ import { useRecordTableContextOrThrow } from '@/object-record/record-table/conte
import { useCreateNewIndexRecord } from '@/object-record/record-table/hooks/useCreateNewIndexRecord';
import { isRecordTableCellsNonEditableComponentState } from '@/object-record/record-table/states/isRecordTableCellsNonEditableComponentState';
import { RecordTableActionRow } from '@/object-record/record-table/record-table-row/components/RecordTableActionRow';
-import { isRecordTableCreateDisabled } from '@/object-record/record-table/utils/isRecordTableCreateDisabled';
+import { canCreateRecordsForObjectMetadataItem } from '@/object-record/utils/canCreateRecordsForObjectMetadataItem';
import { useLoadRecordsToVirtualRows } from '@/object-record/record-table/virtualization/hooks/useLoadRecordsToVirtualRows';
import { totalNumberOfRecordsToVirtualizeComponentState } from '@/object-record/record-table/virtualization/states/totalNumberOfRecordsToVirtualizeComponentState';
import { useAtomComponentSelectorValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentSelectorValue';
@@ -30,8 +30,6 @@ export const RecordTableNoRecordGroupAddNew = () => {
objectMetadataItem.id,
);
- const hasObjectUpdatePermissions = objectPermissions.canUpdateObjectRecords;
-
const hasAnySoftDeleteFilterOnView = useAtomComponentSelectorValue(
hasAnySoftDeleteFilterOnViewComponentSelector,
);
@@ -71,11 +69,12 @@ export const RecordTableNoRecordGroupAddNew = () => {
return null;
}
- if (!hasObjectUpdatePermissions) {
- return null;
- }
-
- if (isRecordTableCreateDisabled(objectMetadataItem)) {
+ if (
+ !canCreateRecordsForObjectMetadataItem({
+ objectPermissions,
+ objectMetadataItem,
+ })
+ ) {
return null;
}
diff --git a/packages/twenty-front/src/modules/object-record/record-table/empty-state/components/RecordTableEmptyStateDisplay.tsx b/packages/twenty-front/src/modules/object-record/record-table/empty-state/components/RecordTableEmptyStateDisplay.tsx
index c2ccd05158a..2467bb597eb 100644
--- a/packages/twenty-front/src/modules/object-record/record-table/empty-state/components/RecordTableEmptyStateDisplay.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-table/empty-state/components/RecordTableEmptyStateDisplay.tsx
@@ -1,9 +1,8 @@
import { isLayoutCustomizationModeEnabledState } from '@/layout-customization/states/isLayoutCustomizationModeEnabledState';
import { useObjectPermissionsForObject } from '@/object-record/hooks/useObjectPermissionsForObject';
-import { isObjectMetadataReadOnly } from '@/object-record/read-only/utils/isObjectMetadataReadOnly';
import { hasAnySoftDeleteFilterOnViewComponentSelector } from '@/object-record/record-filter/states/hasAnySoftDeleteFilterOnView';
import { useRecordTableContextOrThrow } from '@/object-record/record-table/contexts/RecordTableContext';
-import { isRecordTableCreateDisabled } from '@/object-record/record-table/utils/isRecordTableCreateDisabled';
+import { canCreateRecordsForObjectMetadataItem } from '@/object-record/utils/canCreateRecordsForObjectMetadataItem';
import { useScrollWrapperHTMLElement } from '@/ui/utilities/scroll/hooks/useScrollWrapperHTMLElement';
import { useAtomComponentSelectorValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentSelectorValue';
import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';
@@ -54,9 +53,9 @@ export const RecordTableEmptyStateDisplay = (
const isLayoutCustomizationModeEnabled = useAtomStateValue(
isLayoutCustomizationModeEnabledState,
);
- const isReadOnly =
- isLayoutCustomizationModeEnabled ||
- isObjectMetadataReadOnly({
+ const canCreateRecords =
+ !isLayoutCustomizationModeEnabled &&
+ canCreateRecordsForObjectMetadataItem({
objectPermissions,
objectMetadataItem,
});
@@ -83,9 +82,8 @@ export const RecordTableEmptyStateDisplay = (
</AnimatedPlaceholderEmptyTextContainer>
{'buttonComponent' in props && props.buttonComponent}
{'buttonTitle' in props &&
- !isReadOnly &&
- !hasAnySoftDeleteFilterOnView &&
- !isRecordTableCreateDisabled(objectMetadataItem) && (
+ canCreateRecords &&
+ !hasAnySoftDeleteFilterOnView && (
<Button
Icon={props.ButtonIcon}
title={props.buttonTitle}
diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellFieldContextGeneric.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellFieldContextGeneric.tsx
index c29778e2318..e9b0edb50b6 100644
--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellFieldContextGeneric.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellFieldContextGeneric.tsx
@@ -113,7 +113,7 @@ export const RecordTableCellFieldContextGeneric = ({
objectPermissions,
fieldMetadataItem: {
id: fieldDefinition.fieldMetadataId,
- isUIReadOnly: fieldDefinition.metadata.isUIReadOnly ?? false,
+ isUIEditable: fieldDefinition.metadata.isUIEditable ?? true,
isCustom: fieldDefinition.metadata.isCustom ?? false,
},
fieldDefinition,
diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellFieldContextLabelIdentifier.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellFieldContextLabelIdentifier.tsx
index 753abb94fa1..e005c2bf750 100644
--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellFieldContextLabelIdentifier.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellFieldContextLabelIdentifier.tsx
@@ -70,7 +70,7 @@ export const RecordTableCellFieldContextLabelIdentifier = ({
objectPermissions,
fieldMetadataItem: {
id: recordField.fieldMetadataItemId,
- isUIReadOnly: fieldDefinition.metadata.isUIReadOnly ?? false,
+ isUIEditable: fieldDefinition.metadata.isUIEditable ?? true,
isCustom: fieldDefinition.metadata.isCustom ?? false,
},
fieldDefinition,
diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderLabelIdentifierCellPlusButton.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderLabelIdentifierCellPlusButton.tsx
index 9aa5b3b9e8e..dbd84fbc1da 100644
--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderLabelIdentifierCellPlusButton.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-header/components/RecordTableHeaderLabelIdentifierCellPlusButton.tsx
@@ -1,9 +1,8 @@
import { isLayoutCustomizationModeEnabledState } from '@/layout-customization/states/isLayoutCustomizationModeEnabledState';
-import { isObjectMetadataReadOnly } from '@/object-record/read-only/utils/isObjectMetadataReadOnly';
import { hasAnySoftDeleteFilterOnViewComponentSelector } from '@/object-record/record-filter/states/hasAnySoftDeleteFilterOnView';
import { useRecordTableContextOrThrow } from '@/object-record/record-table/contexts/RecordTableContext';
import { useCreateNewIndexRecord } from '@/object-record/record-table/hooks/useCreateNewIndexRecord';
-import { isRecordTableCreateDisabled } from '@/object-record/record-table/utils/isRecordTableCreateDisabled';
+import { canCreateRecordsForObjectMetadataItem } from '@/object-record/utils/canCreateRecordsForObjectMetadataItem';
import { useAtomComponentSelectorValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentSelectorValue';
import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';
import { styled } from '@linaria/react';
@@ -36,25 +35,18 @@ export const RecordTableHeaderLabelIdentifierCellPlusButton = () => {
});
};
- const isReadOnly =
- isLayoutCustomizationModeEnabled ||
- isObjectMetadataReadOnly({
- objectPermissions,
- objectMetadataItem,
- });
-
const hasAnySoftDeleteFilterOnView = useAtomComponentSelectorValue(
hasAnySoftDeleteFilterOnViewComponentSelector,
);
- const hasObjectUpdatePermissions = objectPermissions.canUpdateObjectRecords;
-
return (
!isMobile &&
- !isReadOnly &&
- hasObjectUpdatePermissions &&
+ !isLayoutCustomizationModeEnabled &&
!hasAnySoftDeleteFilterOnView &&
- !isRecordTableCreateDisabled(objectMetadataItem) && (
+ canCreateRecordsForObjectMetadataItem({
+ objectPermissions,
+ objectMetadataItem,
+ }) && (
<StyledHeaderIcon>
<LightIconButton
Icon={IconPlus}
diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-section/components/RecordTableRecordGroupSectionAddNew.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-section/components/RecordTableRecordGroupSectionAddNew.tsx
index ecf5538d90e..20a90397aaf 100644
--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-section/components/RecordTableRecordGroupSectionAddNew.tsx
+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-section/components/RecordTableRecordGroupSectionAddNew.tsx
@@ -5,7 +5,7 @@ import { recordIndexGroupFieldMetadataItemComponentState } from '@/object-record
import { useRecordTableContextOrThrow } from '@/object-record/record-table/contexts/RecordTableContext';
import { useCreateNewIndexRecord } from '@/object-record/record-table/hooks/useCreateNewIndexRecord';
import { RecordTableActionRow } from '@/object-record/record-table/record-table-row/components/RecordTableActionRow';
-import { isRecordTableCreateDisabled } from '@/object-record/record-table/utils/isRecordTableCreateDisabled';
+import { canCreateRecordsForObjectMetadataItem } from '@/object-record/utils/canCreateRecordsForObjectMetadataItem';
import { useAtomFamilyStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomFamilyStateValue';
import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';
import { t } from '@lingui/core/macro';
@@ -37,13 +37,12 @@ export const RecordTableRecordGroupSectionAddNew = () => {
objectMetadataItem.id,
);
- const hasObjectUpdatePermissions = objectPermissions.canUpdateObjectRecords;
-
- if (!hasObjectUpdatePermissions) {
- return null;
- }
-
- if (isRecordTableCreateDisabled(objectMetadataItem)) {
+ if (
+ !canCreateRecordsForObjectMetadataItem({
+ objectPermissions,
+ objectMetadataItem,
+ })
+ ) {
return null;
}
diff --git a/packages/twenty-front/src/modules/object-record/record-table/utils/isRecordTableCreateDisabled.ts b/packages/twenty-front/src/modules/object-record/record-table/utils/isRecordTableCreateDisabled.ts
deleted file mode 100644
index 3fd3596984b..00000000000
--- a/packages/twenty-front/src/modules/object-record/record-table/utils/isRecordTableCreateDisabled.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-import { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';
-import { CoreObjectNameSingular } from 'twenty-shared/types';
-
-const OBJECTS_WITHOUT_MANUAL_RECORD_CREATION: readonly CoreObjectNameSingular[] =
- [CoreObjectNameSingular.WorkflowRun, CoreObjectNameSingular.WorkflowVersion];
-
-export const isRecordTableCreateDisabled = (
- objectMetadataItem: Pick<
- EnrichedObjectMetadataItem,
- 'nameSingular' | 'isSystem'
- >,
-): boolean => {
- if (objectMetadataItem.isSystem) {
- return true;
- }
-
- return OBJECTS_WITHOUT_MANUAL_RECORD_CREATION.includes(
- objectMetadataItem.nameSingular as CoreObjectNameSingular,
- );
-};
diff --git a/packages/twenty-front/src/modules/object-record/record-update-multiple/utils/__tests__/shouldDisplayFormMultiEditField.test.ts b/packages/twenty-front/src/modules/object-record/record-update-multiple/utils/__tests__/shouldDisplayFormMultiEditField.test.ts
index 45779b47ffd..a91a80bfb0d 100644
--- a/packages/twenty-front/src/modules/object-record/record-update-multiple/utils/__tests__/shouldDisplayFormMultiEditField.test.ts
+++ b/packages/twenty-front/src/modules/object-record/record-update-multiple/utils/__tests__/shouldDisplayFormMultiEditField.test.ts
@@ -12,7 +12,7 @@ const createMockFieldMetadataItem = (
type: FieldMetadataType.TEXT,
isActive: true,
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: true,
isUnique: false,
isNullable: true,
...overrides,
diff --git a/packages/twenty-front/src/modules/object-record/utils/__tests__/canCreateRecordsForObjectMetadataItem.test.ts b/packages/twenty-front/src/modules/object-record/utils/__tests__/canCreateRecordsForObjectMetadataItem.test.ts
new file mode 100644
index 00000000000..2dc691ca752
--- /dev/null
+++ b/packages/twenty-front/src/modules/object-record/utils/__tests__/canCreateRecordsForObjectMetadataItem.test.ts
@@ -0,0 +1,94 @@
+import { canCreateRecordsForObjectMetadataItem } from '@/object-record/utils/canCreateRecordsForObjectMetadataItem';
+
+const creatableObjectMetadataItem = {
+ isUICreatable: true,
+ isUIEditable: true,
+ isSystem: false,
+ isRemote: false,
+ applicationId: 'applicationId',
+};
+
+const objectPermissionsAllowingUpdate = {
+ canUpdateObjectRecords: true,
+ objectMetadataId: '123',
+ restrictedFields: {},
+};
+
+describe('canCreateRecordsForObjectMetadataItem', () => {
+ it('should return true for a creatable, editable, non-system, non-remote object with update permission', () => {
+ const result = canCreateRecordsForObjectMetadataItem({
+ objectPermissions: objectPermissionsAllowingUpdate,
+ objectMetadataItem: creatableObjectMetadataItem,
+ });
+
+ expect(result).toBe(true);
+ });
+
+ it('should return false when the object is not UI creatable', () => {
+ const result = canCreateRecordsForObjectMetadataItem({
+ objectPermissions: objectPermissionsAllowingUpdate,
+ objectMetadataItem: {
+ ...creatableObjectMetadataItem,
+ isUICreatable: false,
+ },
+ });
+
+ expect(result).toBe(false);
+ });
+
+ it('should return false when the object is not UI editable', () => {
+ const result = canCreateRecordsForObjectMetadataItem({
+ objectPermissions: objectPermissionsAllowingUpdate,
+ objectMetadataItem: {
+ ...creatableObjectMetadataItem,
+ isUIEditable: false,
+ },
+ });
+
+ expect(result).toBe(false);
+ });
+
+ it('should return false when the object is a system object', () => {
+ const result = canCreateRecordsForObjectMetadataItem({
+ objectPermissions: objectPermissionsAllowingUpdate,
+ objectMetadataItem: {
+ ...creatableObjectMetadataItem,
+ isSystem: true,
+ },
+ });
+
+ expect(result).toBe(false);
+ });
+
+ it('should return false when the object is remote', () => {
+ const result = canCreateRecordsForObjectMetadataItem({
+ objectPermissions: objectPermissionsAllowingUpdate,
+ objectMetadataItem: {
+ ...creatableObjectMetadataItem,
+ isRemote: true,
+ },
+ });
+
+ expect(result).toBe(false);
+ });
+
+ it('should return false when the user lacks the update permission proxy', () => {
+ const result = canCreateRecordsForObjectMetadataItem({
+ objectPermissions: {
+ ...objectPermissionsAllowingUpdate,
+ canUpdateObjectRecords: false,
+ },
+ objectMetadataItem: creatableObjectMetadataItem,
+ });
+
+ expect(result).toBe(false);
+ });
+
+ it('should not require object permissions to be provided', () => {
+ const result = canCreateRecordsForObjectMetadataItem({
+ objectMetadataItem: creatableObjectMetadataItem,
+ });
+
+ expect(result).toBe(true);
+ });
+});
diff --git a/packages/twenty-front/src/modules/object-record/utils/__tests__/generateAggregateQuery.test.ts b/packages/twenty-front/src/modules/object-record/utils/__tests__/generateAggregateQuery.test.ts
index 2511a6ac1d9..e4ed9121a6a 100644
--- a/packages/twenty-front/src/modules/object-record/utils/__tests__/generateAggregateQuery.test.ts
+++ b/packages/twenty-front/src/modules/object-record/utils/__tests__/generateAggregateQuery.test.ts
@@ -23,7 +23,8 @@ describe('generateAggregateQuery', () => {
isLabelSyncedWithName: true,
isRemote: false,
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: true,
+ isUICreatable: true,
};
const mockRecordGqlFields = {
@@ -66,7 +67,8 @@ describe('generateAggregateQuery', () => {
isLabelSyncedWithName: true,
isRemote: false,
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: true,
+ isUICreatable: true,
};
const mockRecordGqlFields = {
diff --git a/packages/twenty-front/src/modules/object-record/utils/canCreateRecordsForObjectMetadataItem.ts b/packages/twenty-front/src/modules/object-record/utils/canCreateRecordsForObjectMetadataItem.ts
new file mode 100644
index 00000000000..1c2fc78a18e
--- /dev/null
+++ b/packages/twenty-front/src/modules/object-record/utils/canCreateRecordsForObjectMetadataItem.ts
@@ -0,0 +1,27 @@
+import { type EnrichedObjectMetadataItem } from '@/object-metadata/types/EnrichedObjectMetadataItem';
+import { isObjectMetadataReadOnly } from '@/object-record/read-only/utils/isObjectMetadataReadOnly';
+import { type ObjectPermission } from '~/generated-metadata/graphql';
+
+type CanCreateRecordsForObjectMetadataItemParams = {
+ objectPermissions?: ObjectPermission;
+ objectMetadataItem: Pick<
+ EnrichedObjectMetadataItem,
+ 'isUICreatable' | 'isUIEditable' | 'isSystem' | 'isRemote' | 'applicationId'
+ >;
+};
+
+// Single predicate for every generic "create a record" UI affordance.
+// Creation requires effective editability because today's inline creation UX
+// creates a blank record that the user must then be able to edit.
+// There is no CREATE permission yet, so canUpdateObjectRecords (checked
+// through isObjectMetadataReadOnly) acts as a proxy.
+export const canCreateRecordsForObjectMetadataItem = ({
+ objectPermissions,
+ objectMetadataItem,
+}: CanCreateRecordsForObjectMetadataItemParams): boolean => {
+ return (
+ objectMetadataItem.isUICreatable &&
+ !objectMetadataItem.isSystem &&
+ !isObjectMetadataReadOnly({ objectPermissions, objectMetadataItem })
+ );
+};
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/components/WidgetActionFieldEdit.tsx b/packages/twenty-front/src/modules/page-layout/widgets/components/WidgetActionFieldEdit.tsx
index 8310dabf857..b068008edf1 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/components/WidgetActionFieldEdit.tsx
+++ b/packages/twenty-front/src/modules/page-layout/widgets/components/WidgetActionFieldEdit.tsx
@@ -115,7 +115,7 @@ export const WidgetActionFieldEdit = () => {
}),
fieldMetadataItem: {
id: fieldMetadataItem.id,
- isUIReadOnly: fieldMetadataItem.isUIReadOnly ?? false,
+ isUIEditable: fieldMetadataItem.isUIEditable ?? true,
isCustom: fieldMetadataItem.isCustom ?? false,
},
fieldDefinition,
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetDisplay.tsx b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetDisplay.tsx
index fdeb99ff9e1..2ff892888da 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetDisplay.tsx
+++ b/packages/twenty-front/src/modules/page-layout/widgets/field/components/FieldWidgetDisplay.tsx
@@ -97,7 +97,7 @@ export const FieldWidgetDisplay = ({
}),
fieldMetadataItem: {
id: fieldMetadataItem.id,
- isUIReadOnly: fieldMetadataItem.isUIReadOnly ?? false,
+ isUIEditable: fieldMetadataItem.isUIEditable ?? true,
isCustom: fieldMetadataItem.isCustom ?? false,
},
fieldDefinition,
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsWidgetFieldItem.tsx b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsWidgetFieldItem.tsx
index 75939165e9c..1c895f40977 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsWidgetFieldItem.tsx
+++ b/packages/twenty-front/src/modules/page-layout/widgets/fields/components/FieldsWidgetFieldItem.tsx
@@ -82,7 +82,7 @@ export const FieldsWidgetFieldItem = ({
}),
fieldMetadataItem: {
id: fieldMetadataItem.id,
- isUIReadOnly: fieldMetadataItem.isUIReadOnly ?? false,
+ isUIEditable: fieldMetadataItem.isUIEditable ?? true,
isCustom: fieldMetadataItem.isCustom ?? false,
},
fieldDefinition,
diff --git a/packages/twenty-front/src/modules/page-layout/widgets/hooks/useWidgetActions.ts b/packages/twenty-front/src/modules/page-layout/widgets/hooks/useWidgetActions.ts
index 78a9352cf23..a7958575c0a 100644
--- a/packages/twenty-front/src/modules/page-layout/widgets/hooks/useWidgetActions.ts
+++ b/packages/twenty-front/src/modules/page-layout/widgets/hooks/useWidgetActions.ts
@@ -84,7 +84,7 @@ export const useWidgetActions = ({
}),
fieldMetadataItem: {
id: fieldMetadataItem.id,
- isUIReadOnly: fieldMetadataItem.isUIReadOnly ?? false,
+ isUIEditable: fieldMetadataItem.isUIEditable ?? true,
isCustom: fieldMetadataItem.isCustom ?? false,
},
fieldDefinition,
diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/components/SettingsRolePermissionsObjectLevelObjectFieldPermissionTableRow.tsx b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/components/SettingsRolePermissionsObjectLevelObjectFieldPermissionTableRow.tsx
index 7e7c67109c7..b6b6e5260fa 100644
--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/components/SettingsRolePermissionsObjectLevelObjectFieldPermissionTableRow.tsx
+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/field-permissions/components/SettingsRolePermissionsObjectLevelObjectFieldPermissionTableRow.tsx
@@ -195,7 +195,7 @@ export const SettingsRolePermissionsObjectLevelObjectFieldPermissionTableRow =
<TableCell>
<OverridableCheckbox
disabled={
- (fieldMetadataItem.isUIReadOnly || isLabelIdentifier) ?? false
+ !(fieldMetadataItem.isUIEditable ?? true) || isLabelIdentifier
}
checked={true}
onChange={handleSeeChange}
@@ -206,7 +206,7 @@ export const SettingsRolePermissionsObjectLevelObjectFieldPermissionTableRow =
{shouldShowUpdateTableHeader && (
<TableCell align="left">
<OverridableCheckbox
- disabled={fieldMetadataItem.isUIReadOnly ?? false}
+ disabled={!(fieldMetadataItem.isUIEditable ?? true)}
checked={true}
onChange={handleUpdateChange}
type={isUpdateRestricted ? 'override' : 'default'}
diff --git a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/hooks/useObjectMetadataItemsThatCanHavePermission.ts b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/hooks/useObjectMetadataItemsThatCanHavePermission.ts
index 2fc39914461..dbf09e3e753 100644
--- a/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/hooks/useObjectMetadataItemsThatCanHavePermission.ts
+++ b/packages/twenty-front/src/modules/settings/roles/role-permissions/object-level-permissions/hooks/useObjectMetadataItemsThatCanHavePermission.ts
@@ -5,7 +5,7 @@ export const useObjectMetadataItemsThatCanHavePermission = () => {
useFilteredObjectMetadataItems();
const objectMetadataItemsThatCanHavePermission = objectMetadataItems.filter(
- (objectMetadataItem) => !objectMetadataItem.isUIReadOnly,
+ (objectMetadataItem) => objectMetadataItem.isUIEditable,
);
return {
diff --git a/packages/twenty-front/src/modules/views/utils/mapViewFieldsToColumnDefinitions.ts b/packages/twenty-front/src/modules/views/utils/mapViewFieldsToColumnDefinitions.ts
index dc39dc223d8..187fa7b7951 100644
--- a/packages/twenty-front/src/modules/views/utils/mapViewFieldsToColumnDefinitions.ts
+++ b/packages/twenty-front/src/modules/views/utils/mapViewFieldsToColumnDefinitions.ts
@@ -46,7 +46,7 @@ export const mapViewFieldsToColumnDefinitions = ({
isLabelIdentifier,
isVisible: isLabelIdentifier || viewField.isVisible,
viewFieldId: viewField.id,
- isUIReadOnly: correspondingColumnDefinition.metadata.isUIReadOnly,
+ isUIEditable: correspondingColumnDefinition.metadata.isUIEditable,
isSortable: correspondingColumnDefinition.isSortable,
isFilterable: correspondingColumnDefinition.isFilterable,
defaultValue: correspondingColumnDefinition.defaultValue,
diff --git a/packages/twenty-front/src/modules/workflow/components/__stories__/WorkflowFieldsMultiSelect.stories.ts b/packages/twenty-front/src/modules/workflow/components/__stories__/WorkflowFieldsMultiSelect.stories.ts
index 49f289f4f83..b28e3e69d16 100644
--- a/packages/twenty-front/src/modules/workflow/components/__stories__/WorkflowFieldsMultiSelect.stories.ts
+++ b/packages/twenty-front/src/modules/workflow/components/__stories__/WorkflowFieldsMultiSelect.stories.ts
@@ -26,7 +26,7 @@ const fields = [
isCustom: false,
isActive: true,
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: true,
isNullable: false,
createdAt: '',
updatedAt: '',
@@ -41,7 +41,7 @@ const fields = [
isCustom: false,
isActive: true,
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: true,
isNullable: true,
createdAt: '',
updatedAt: '',
@@ -56,7 +56,7 @@ const fields = [
isCustom: false,
isActive: true,
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: true,
isNullable: true,
createdAt: '',
updatedAt: '',
@@ -73,7 +73,8 @@ const mockObjectMetadataItem: EnrichedObjectMetadataItem = {
description: 'A company',
icon: 'IconBuilding',
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: true,
+ isUICreatable: true,
isCustom: false,
isActive: true,
createdAt: '',
diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/utils/shouldDisplayFormField.ts b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/utils/shouldDisplayFormField.ts
index d2a4baa739c..cdf553d4b44 100644
--- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/utils/shouldDisplayFormField.ts
+++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/utils/shouldDisplayFormField.ts
@@ -46,14 +46,14 @@ export const shouldDisplayFormField = ({
case 'UPDATE_RECORD':
return (
!isNotSupportedRelation &&
- !fieldMetadataItem.isUIReadOnly &&
+ (fieldMetadataItem.isUIEditable ?? true) &&
!isHiddenSystemField(fieldMetadataItem) &&
fieldMetadataItem.isActive
);
case 'UPSERT_RECORD':
return (
(!isNotSupportedRelation &&
- !fieldMetadataItem.isUIReadOnly &&
+ (fieldMetadataItem.isUIEditable ?? true) &&
!isHiddenSystemField(fieldMetadataItem) &&
fieldMetadataItem.isActive) ||
isIdField
diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationPermissionsTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationPermissionsTab.tsx
index 988fb8b047a..4c9ee3ea9bf 100644
--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationPermissionsTab.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationPermissionsTab.tsx
@@ -163,7 +163,7 @@ const buildFieldMetadataItemFromMarketplaceField = (
isSystem: false,
isNullable: true,
isUnique: false,
- isUIReadOnly: false,
+ isUIEditable: true,
createdAt: now,
updatedAt: now,
defaultValue: null,
@@ -244,7 +244,8 @@ const buildObjectMetadataItemsFromMarketplaceApp = (
isActive: true,
isSystem: false,
isSearchable: false,
- isUIReadOnly: false,
+ isUIEditable: true,
+ isUICreatable: true,
isLabelSyncedWithName: false,
labelIdentifierFieldMetadataId: '',
fields,
diff --git a/packages/twenty-front/src/testing/mock-data/generated/metadata/objects/mock-objects-metadata.ts b/packages/twenty-front/src/testing/mock-data/generated/metadata/objects/mock-objects-metadata.ts
index 240bebd029d..01b670844c8 100644
--- a/packages/twenty-front/src/testing/mock-data/generated/metadata/objects/mock-objects-metadata.ts
+++ b/packages/twenty-front/src/testing/mock-data/generated/metadata/objects/mock-objects-metadata.ts
@@ -29,7 +29,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "63d7dfdd-ccca-410b-9686-f2ad8428496a",
@@ -57,7 +58,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -83,7 +84,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -109,7 +110,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -135,7 +136,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -161,7 +162,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -187,7 +188,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -213,7 +214,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -239,7 +240,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -267,7 +268,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -295,7 +296,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -323,7 +324,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -353,7 +354,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -383,7 +384,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -409,7 +410,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -438,7 +439,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -464,7 +465,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -490,7 +491,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -516,7 +517,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -542,7 +543,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -568,7 +569,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -594,7 +595,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -647,7 +648,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -703,7 +704,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "126456b1-0206-479b-a362-7cf99b727614",
@@ -730,7 +732,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -756,7 +758,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -784,7 +786,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -812,7 +814,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -840,7 +842,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -870,7 +872,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -900,7 +902,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -926,7 +928,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -955,7 +957,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -981,7 +983,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1007,7 +1009,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1033,7 +1035,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1135,7 +1137,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "447dbffe-f0f5-47c3-8d2c-ac448a452a1e",
@@ -1162,7 +1165,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1188,7 +1191,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1216,7 +1219,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1244,7 +1247,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1272,7 +1275,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1298,7 +1301,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1324,7 +1327,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1350,7 +1353,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1380,7 +1383,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1410,7 +1413,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1439,7 +1442,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1492,7 +1495,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1571,7 +1574,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "ba2f93fe-248e-47f7-83b4-00189ca53e24",
@@ -1598,7 +1602,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1624,7 +1628,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1652,7 +1656,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1680,7 +1684,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1708,7 +1712,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1734,7 +1738,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1760,7 +1764,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1786,7 +1790,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1848,7 +1852,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1874,7 +1878,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1904,7 +1908,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1934,7 +1938,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -1963,7 +1967,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2016,7 +2020,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2071,7 +2075,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2124,7 +2128,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2179,7 +2183,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2232,7 +2236,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2285,7 +2289,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2429,7 +2433,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "453d499a-47bf-4ea0-be5e-9c2acbf7a464",
@@ -2457,7 +2462,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2483,7 +2488,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2511,7 +2516,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2539,7 +2544,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2567,7 +2572,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2597,7 +2602,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2627,7 +2632,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2653,7 +2658,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2682,7 +2687,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2708,7 +2713,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2761,7 +2766,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2817,7 +2822,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "d09704f0-057d-48ed-8278-3d673d5eb467",
@@ -2844,7 +2850,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2870,7 +2876,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2898,7 +2904,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2926,7 +2932,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2954,7 +2960,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -2984,7 +2990,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -3014,7 +3020,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -3040,7 +3046,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -3066,7 +3072,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -3092,7 +3098,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -3118,7 +3124,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -3144,7 +3150,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -3170,7 +3176,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -3196,7 +3202,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -3225,7 +3231,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -3280,7 +3286,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -3890,7 +3896,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "83ab1b71-c43f-4e6e-bc58-5bdaa93d6525",
@@ -3917,7 +3924,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -3943,7 +3950,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -3971,7 +3978,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -3999,7 +4006,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -4027,7 +4034,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -4053,7 +4060,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -4079,7 +4086,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -4127,7 +4134,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -4153,7 +4160,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -4183,7 +4190,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -4213,7 +4220,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -4242,7 +4249,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -4295,7 +4302,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -4348,7 +4355,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -4401,7 +4408,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -4454,7 +4461,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -4533,7 +4540,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:58.471Z",
"updatedAt": "2026-04-10T08:55:58.471Z",
"labelIdentifierFieldMetadataId": "a2b70b10-ab44-428e-b1f7-631d78536469",
@@ -4560,7 +4568,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.471Z",
@@ -4586,7 +4594,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": true,
"createdAt": "2026-04-10T08:55:58.471Z",
@@ -4612,7 +4620,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.471Z",
@@ -4638,7 +4646,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.471Z",
@@ -4667,7 +4675,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.471Z",
@@ -4693,7 +4701,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.471Z",
@@ -4719,7 +4727,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.471Z",
@@ -4748,7 +4756,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.471Z",
@@ -4774,7 +4782,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.471Z",
@@ -4803,7 +4811,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.471Z",
@@ -4856,7 +4864,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.471Z",
@@ -4909,7 +4917,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.471Z",
@@ -4962,7 +4970,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.471Z",
@@ -5015,7 +5023,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.795Z",
@@ -5045,7 +5053,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.795Z",
@@ -5075,7 +5083,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.795Z",
@@ -5104,7 +5112,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.795Z",
@@ -5133,7 +5141,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.795Z",
@@ -5161,7 +5169,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.795Z",
@@ -5189,7 +5197,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.795Z",
@@ -5217,7 +5225,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:56:00.495Z",
@@ -5270,7 +5278,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:56:00.496Z",
@@ -5372,7 +5380,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "5a75ae6c-c4f8-4bd6-9676-259f1bbed07c",
@@ -5399,7 +5408,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -5425,7 +5434,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -5453,7 +5462,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -5481,7 +5490,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -5509,7 +5518,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -5539,7 +5548,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -5569,7 +5578,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -5595,7 +5604,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -5624,7 +5633,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -5679,7 +5688,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.195Z",
@@ -6007,7 +6016,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "ef9a5003-2e21-459e-804a-5b27afa9cb6a",
@@ -6034,7 +6044,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6060,7 +6070,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6088,7 +6098,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6116,7 +6126,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6144,7 +6154,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6174,7 +6184,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6204,7 +6214,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6230,7 +6240,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6259,7 +6269,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6314,7 +6324,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6340,7 +6350,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6366,7 +6376,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6421,7 +6431,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6476,7 +6486,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6599,7 +6609,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "b127a5d9-2bd4-480f-bb9a-6eca0dbf250e",
@@ -6626,7 +6637,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6652,7 +6663,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6680,7 +6691,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6708,7 +6719,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6736,7 +6747,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6762,7 +6773,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6790,7 +6801,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6816,7 +6827,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6899,7 +6910,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6929,7 +6940,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6959,7 +6970,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -6985,7 +6996,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -7014,7 +7025,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.195Z",
@@ -7509,7 +7520,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "c4a2e871-0f4e-445e-a43b-b2399e046b54",
@@ -7536,7 +7548,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -7562,7 +7574,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -7590,7 +7602,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -7618,7 +7630,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -7646,7 +7658,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -7676,7 +7688,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -7706,7 +7718,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -7732,7 +7744,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -7761,7 +7773,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -7802,7 +7814,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -7828,7 +7840,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -7909,7 +7921,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "e0a6eefc-a74b-40fa-9ca6-eac3c67455a3",
@@ -7936,7 +7949,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -7962,7 +7975,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -7990,7 +8003,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8018,7 +8031,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8046,7 +8059,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8076,7 +8089,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8106,7 +8119,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8132,7 +8145,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8161,7 +8174,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8187,7 +8200,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8213,7 +8226,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8239,7 +8252,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8294,7 +8307,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8349,7 +8362,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8404,7 +8417,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8527,7 +8540,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "4a3b7558-0562-405a-802f-f148cbc7d745",
@@ -8554,7 +8568,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8580,7 +8594,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8608,7 +8622,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8636,7 +8650,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8664,7 +8678,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8694,7 +8708,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8724,7 +8738,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8750,7 +8764,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8779,7 +8793,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8805,7 +8819,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8831,7 +8845,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8872,7 +8886,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8898,7 +8912,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -8953,7 +8967,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -9008,7 +9022,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -9137,7 +9151,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:57.800Z",
"updatedAt": "2026-04-10T08:55:57.800Z",
"labelIdentifierFieldMetadataId": "f0ffa796-6575-4ec0-a56e-ed35144704a4",
@@ -9164,7 +9179,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:57.799Z",
@@ -9190,7 +9205,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": true,
"createdAt": "2026-04-10T08:55:57.799Z",
@@ -9216,7 +9231,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:57.799Z",
@@ -9242,7 +9257,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:57.799Z",
@@ -9271,7 +9286,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:57.799Z",
@@ -9297,7 +9312,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:57.799Z",
@@ -9323,7 +9338,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:57.799Z",
@@ -9352,7 +9367,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:57.799Z",
@@ -9378,7 +9393,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:57.799Z",
@@ -9407,7 +9422,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:57.800Z",
@@ -9460,7 +9475,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:57.800Z",
@@ -9513,7 +9528,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:57.800Z",
@@ -9566,7 +9581,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:57.800Z",
@@ -9619,7 +9634,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:56:00.495Z",
@@ -9672,7 +9687,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:56:00.496Z",
@@ -9774,7 +9789,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": false,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "5ae70c32-669a-4346-b8d0-660e858e26df",
@@ -9801,7 +9817,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -9827,7 +9843,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -9855,7 +9871,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -9883,7 +9899,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -9911,7 +9927,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -9937,7 +9953,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -9963,7 +9979,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -9989,7 +10005,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10015,7 +10031,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10091,7 +10107,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10121,7 +10137,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10151,7 +10167,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10177,7 +10193,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10203,7 +10219,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10232,7 +10248,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10285,7 +10301,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10340,7 +10356,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10463,7 +10479,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": false,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "d8ff93be-5b55-4e4b-af50-20eb2f38320c",
@@ -10490,7 +10507,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10516,7 +10533,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10544,7 +10561,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10572,7 +10589,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10600,7 +10617,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10626,7 +10643,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10652,7 +10669,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10678,7 +10695,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10704,7 +10721,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10730,7 +10747,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": true,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10756,7 +10773,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10784,7 +10801,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10810,7 +10827,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10836,7 +10853,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10891,7 +10908,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -10939,7 +10956,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -11001,7 +11018,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -11030,7 +11047,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -11060,7 +11077,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -11090,7 +11107,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -11143,7 +11160,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -11196,7 +11213,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -11249,7 +11266,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -11302,7 +11319,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -11355,7 +11372,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -11408,7 +11425,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -11508,7 +11525,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:58.075Z",
"updatedAt": "2026-04-10T08:55:58.075Z",
"labelIdentifierFieldMetadataId": "6182038f-196f-4f37-95c8-d4aee7118b7a",
@@ -11535,7 +11553,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.075Z",
@@ -11561,7 +11579,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": true,
"createdAt": "2026-04-10T08:55:58.075Z",
@@ -11587,7 +11605,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.075Z",
@@ -11613,7 +11631,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.075Z",
@@ -11642,7 +11660,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.075Z",
@@ -11668,7 +11686,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.075Z",
@@ -11694,7 +11712,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.075Z",
@@ -11723,7 +11741,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.075Z",
@@ -11749,7 +11767,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.075Z",
@@ -11778,7 +11796,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.075Z",
@@ -11831,7 +11849,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.075Z",
@@ -11884,7 +11902,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.075Z",
@@ -11937,7 +11955,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.075Z",
@@ -11990,7 +12008,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.355Z",
@@ -12059,7 +12077,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.355Z",
@@ -12128,7 +12146,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.355Z",
@@ -12154,7 +12172,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.356Z",
@@ -12180,7 +12198,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.356Z",
@@ -12206,7 +12224,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.356Z",
@@ -12232,7 +12250,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.356Z",
@@ -12258,7 +12276,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.356Z",
@@ -12284,7 +12302,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.356Z",
@@ -12310,7 +12328,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.356Z",
@@ -12336,7 +12354,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.356Z",
@@ -12362,7 +12380,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.356Z",
@@ -12388,7 +12406,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.356Z",
@@ -12445,7 +12463,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.356Z",
@@ -12471,7 +12489,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.356Z",
@@ -12497,7 +12515,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.356Z",
@@ -12523,7 +12541,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:56:01.050Z",
@@ -12577,7 +12595,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:56:00.495Z",
@@ -12660,7 +12678,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:56:00.496Z",
@@ -12809,7 +12827,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:59.195Z",
"updatedAt": "2026-04-10T08:55:59.195Z",
"labelIdentifierFieldMetadataId": "455256a6-d7ec-4bac-bf0c-d296b74a59d5",
@@ -12836,7 +12855,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": true,
"createdAt": "2026-04-10T08:55:59.195Z",
@@ -12862,7 +12881,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.195Z",
@@ -12888,7 +12907,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.195Z",
@@ -12917,7 +12936,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.195Z",
@@ -12943,7 +12962,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.195Z",
@@ -12969,7 +12988,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.195Z",
@@ -12998,7 +13017,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.195Z",
@@ -13024,7 +13043,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.195Z",
@@ -13053,7 +13072,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.195Z",
@@ -13106,7 +13125,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.195Z",
@@ -13159,7 +13178,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.195Z",
@@ -13212,7 +13231,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.195Z",
@@ -13265,7 +13284,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:56:01.050Z",
@@ -13320,7 +13339,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:56:00.629Z",
@@ -13492,7 +13511,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "55124b9b-08ba-48a3-b34b-76d8f616d805",
@@ -13519,7 +13539,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -13548,7 +13568,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -13574,7 +13594,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -13600,7 +13620,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -13628,7 +13648,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -13656,7 +13676,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -13684,7 +13704,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -13714,7 +13734,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -13744,7 +13764,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -13770,7 +13790,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -13901,7 +13921,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "eee1262f-7a1a-45d0-b957-9ed79862383c",
@@ -13928,7 +13949,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -13954,7 +13975,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -13982,7 +14003,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14010,7 +14031,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14038,7 +14059,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14064,7 +14085,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14090,7 +14111,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14116,7 +14137,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14142,7 +14163,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14190,7 +14211,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14220,7 +14241,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14250,7 +14271,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14279,7 +14300,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14332,7 +14353,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14385,7 +14406,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14440,7 +14461,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14540,7 +14561,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": false,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "9b0a0e4e-e140-4cf8-9217-6a4667365c0e",
@@ -14567,7 +14589,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14593,7 +14615,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14621,7 +14643,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14649,7 +14671,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14677,7 +14699,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14707,7 +14729,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14737,7 +14759,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14763,7 +14785,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14789,7 +14811,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14815,7 +14837,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14870,7 +14892,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14896,7 +14918,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14925,7 +14947,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -14978,7 +15000,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15033,7 +15055,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15133,7 +15155,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "1b86fb74-25cf-4228-af97-b6a479643407",
@@ -15171,7 +15194,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15197,7 +15220,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15225,7 +15248,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15253,7 +15276,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15281,7 +15304,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15307,7 +15330,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": true,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15335,7 +15358,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15361,7 +15384,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15387,7 +15410,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15413,7 +15436,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15441,7 +15464,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15467,7 +15490,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15493,7 +15516,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15521,7 +15544,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15547,7 +15570,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15577,7 +15600,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15607,7 +15630,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15636,7 +15659,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15689,7 +15712,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15742,7 +15765,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15797,7 +15820,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15850,7 +15873,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15903,7 +15926,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -15956,7 +15979,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -16009,7 +16032,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -16062,7 +16085,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.653Z",
@@ -16088,7 +16111,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.653Z",
@@ -16119,7 +16142,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.653Z",
@@ -16167,7 +16190,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.654Z",
@@ -16224,7 +16247,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:56:00.826Z",
@@ -16278,7 +16301,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:56:00.629Z",
@@ -16400,7 +16423,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "3c551b83-e8c0-4fd0-b43e-a51f0d3a408c",
@@ -16427,7 +16451,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -16453,7 +16477,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -16481,7 +16505,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -16509,7 +16533,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -16537,7 +16561,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -16567,7 +16591,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -16597,7 +16621,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -16623,7 +16647,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -16652,7 +16676,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -16707,7 +16731,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.075Z",
@@ -17035,7 +17059,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "50c85704-9c8e-4e30-8a86-dc6adb756999",
@@ -17069,7 +17094,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17095,7 +17120,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17123,7 +17148,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17151,7 +17176,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17179,7 +17204,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17205,7 +17230,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": true,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17233,7 +17258,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17259,7 +17284,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17285,7 +17310,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17311,7 +17336,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17337,7 +17362,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17363,7 +17388,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17389,7 +17414,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17415,7 +17440,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17445,7 +17470,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17475,7 +17500,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17504,7 +17529,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17557,7 +17582,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17610,7 +17635,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17665,7 +17690,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17718,7 +17743,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17771,7 +17796,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17824,7 +17849,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -17877,7 +17902,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.536Z",
@@ -17903,7 +17928,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.536Z",
@@ -17929,7 +17954,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.536Z",
@@ -17977,7 +18002,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:59.536Z",
@@ -18003,7 +18028,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:56:00.629Z",
@@ -18057,7 +18082,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:56:00.933Z",
@@ -18179,7 +18204,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "a5f99b30-3b36-4fbb-935c-bcdf28183247",
@@ -18206,7 +18232,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18232,7 +18258,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18260,7 +18286,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18288,7 +18314,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18316,7 +18342,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18342,7 +18368,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18368,7 +18394,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18394,7 +18420,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18424,7 +18450,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18454,7 +18480,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18483,7 +18509,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18536,7 +18562,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18589,7 +18615,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18668,7 +18694,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "d87675ee-1d19-4658-8037-daec3e00b718",
@@ -18695,7 +18722,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18721,7 +18748,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18747,7 +18774,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18775,7 +18802,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18803,7 +18830,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18831,7 +18858,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18861,7 +18888,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18891,7 +18918,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18917,7 +18944,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18946,7 +18973,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18972,7 +18999,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -18998,7 +19025,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -19024,7 +19051,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -19079,7 +19106,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -19132,7 +19159,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -19211,7 +19238,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:56.200Z",
"updatedAt": "2026-04-10T08:55:56.200Z",
"labelIdentifierFieldMetadataId": "dfea27f1-41e8-431e-a78b-5f4960df5600",
@@ -19238,7 +19266,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -19264,7 +19292,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -19292,7 +19320,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -19320,7 +19348,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -19348,7 +19376,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -19378,7 +19406,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -19408,7 +19436,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -19434,7 +19462,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -19463,7 +19491,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -19489,7 +19517,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:56.200Z",
@@ -19570,7 +19598,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isRemote": false,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
+ "isUICreatable": true,
"createdAt": "2026-04-10T08:55:58.898Z",
"updatedAt": "2026-04-10T08:55:58.898Z",
"labelIdentifierFieldMetadataId": "d635bcd1-14b8-4224-9617-ca7049448c02",
@@ -19597,7 +19626,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.898Z",
@@ -19623,7 +19652,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.898Z",
@@ -19649,7 +19678,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.898Z",
@@ -19678,7 +19707,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": true,
"createdAt": "2026-04-10T08:55:58.898Z",
@@ -19704,7 +19733,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.898Z",
@@ -19730,7 +19759,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.898Z",
@@ -19759,7 +19788,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.898Z",
@@ -19785,7 +19814,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": false,
"isActive": true,
"isSystem": true,
- "isUIReadOnly": true,
+ "isUIEditable": false,
"isNullable": false,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.898Z",
@@ -19814,7 +19843,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.898Z",
@@ -19867,7 +19896,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.898Z",
@@ -19920,7 +19949,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.898Z",
@@ -19973,7 +20002,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:55:58.898Z",
@@ -20026,7 +20055,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:56:00.826Z",
@@ -20081,7 +20110,7 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"isCustom": true,
"isActive": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isNullable": true,
"isUnique": false,
"createdAt": "2026-04-10T08:56:00.933Z",
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-13/2-13-instance-command-fast-1781277453604-rename-is-ui-read-only-to-is-ui-editable.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-13/2-13-instance-command-fast-1781277453604-rename-is-ui-read-only-to-is-ui-editable.ts
new file mode 100644
index 00000000000..d9dcf4a89f8
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-13/2-13-instance-command-fast-1781277453604-rename-is-ui-read-only-to-is-ui-editable.ts
@@ -0,0 +1,64 @@
+import { QueryRunner } from 'typeorm';
+
+import { RegisteredInstanceCommand } from 'src/engine/core-modules/upgrade/decorators/registered-instance-command.decorator';
+import { FastInstanceCommand } from 'src/engine/core-modules/upgrade/interfaces/fast-instance-command.interface';
+
+// Replaces the negative isUIReadOnly flag with the positive isUIEditable flag
+// (inverted polarity) on both objectMetadata and fieldMetadata, and adds the
+// object-level isUICreatable flag.
+@RegisteredInstanceCommand('2.13.0', 1781277453604)
+export class RenameIsUiReadOnlyToIsUiEditableFastInstanceCommand
+ implements FastInstanceCommand
+{
+ public async up(queryRunner: QueryRunner): Promise<void> {
+ await queryRunner.query(
+ 'ALTER TABLE "core"."objectMetadata" ADD COLUMN IF NOT EXISTS "isUIEditable" boolean NOT NULL DEFAULT true',
+ );
+ await queryRunner.query(
+ `UPDATE "core"."objectMetadata" SET "isUIEditable" = false WHERE "isUIReadOnly" = true`,
+ );
+ await queryRunner.query(
+ 'ALTER TABLE "core"."objectMetadata" DROP COLUMN IF EXISTS "isUIReadOnly"',
+ );
+
+ await queryRunner.query(
+ 'ALTER TABLE "core"."objectMetadata" ADD COLUMN IF NOT EXISTS "isUICreatable" boolean NOT NULL DEFAULT true',
+ );
+
+ await queryRunner.query(
+ 'ALTER TABLE "core"."fieldMetadata" ADD COLUMN IF NOT EXISTS "isUIEditable" boolean NOT NULL DEFAULT true',
+ );
+ await queryRunner.query(
+ `UPDATE "core"."fieldMetadata" SET "isUIEditable" = false WHERE "isUIReadOnly" = true`,
+ );
+ await queryRunner.query(
+ 'ALTER TABLE "core"."fieldMetadata" DROP COLUMN IF EXISTS "isUIReadOnly"',
+ );
+ }
+
+ public async down(queryRunner: QueryRunner): Promise<void> {
+ await queryRunner.query(
+ 'ALTER TABLE "core"."fieldMetadata" ADD COLUMN IF NOT EXISTS "isUIReadOnly" boolean NOT NULL DEFAULT false',
+ );
+ await queryRunner.query(
+ `UPDATE "core"."fieldMetadata" SET "isUIReadOnly" = true WHERE "isUIEditable" = false`,
+ );
+ await queryRunner.query(
+ 'ALTER TABLE "core"."fieldMetadata" DROP COLUMN IF EXISTS "isUIEditable"',
+ );
+
+ await queryRunner.query(
+ 'ALTER TABLE "core"."objectMetadata" DROP COLUMN IF EXISTS "isUICreatable"',
+ );
+
+ await queryRunner.query(
+ 'ALTER TABLE "core"."objectMetadata" ADD COLUMN IF NOT EXISTS "isUIReadOnly" boolean NOT NULL DEFAULT false',
+ );
+ await queryRunner.query(
+ `UPDATE "core"."objectMetadata" SET "isUIReadOnly" = true WHERE "isUIEditable" = false`,
+ );
+ await queryRunner.query(
+ 'ALTER TABLE "core"."objectMetadata" DROP COLUMN IF EXISTS "isUIEditable"',
+ );
+ }
+}
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-13/2-13-upgrade-version-command.module.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-13/2-13-upgrade-version-command.module.ts
new file mode 100644
index 00000000000..81b9726cbd0
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-13/2-13-upgrade-version-command.module.ts
@@ -0,0 +1,22 @@
+import { Module } from '@nestjs/common';
+
+import { WorkspaceIteratorModule } from 'src/database/commands/command-runners/workspace-iterator.module';
+import { SyncStandardUiCapabilityFlagsCommand } from 'src/database/commands/upgrade-version-command/2-13/2-13-workspace-command-1781277460000-sync-standard-ui-capability-flags.command';
+import { SyncCreateRecordCommandAvailabilityExpressionCommand } from 'src/database/commands/upgrade-version-command/2-13/2-13-workspace-command-1781277470000-sync-create-record-command-availability-expression.command';
+import { ApplicationModule } from 'src/engine/core-modules/application/application.module';
+import { WorkspaceCacheModule } from 'src/engine/workspace-cache/workspace-cache.module';
+import { WorkspaceMigrationModule } from 'src/engine/workspace-manager/workspace-migration/workspace-migration.module';
+
+@Module({
+ imports: [
+ ApplicationModule,
+ WorkspaceCacheModule,
+ WorkspaceIteratorModule,
+ WorkspaceMigrationModule,
+ ],
+ providers: [
+ SyncStandardUiCapabilityFlagsCommand,
+ SyncCreateRecordCommandAvailabilityExpressionCommand,
+ ],
+})
+export class V2_13_UpgradeVersionCommandModule {}
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-13/2-13-workspace-command-1781277460000-sync-standard-ui-capability-flags.command.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-13/2-13-workspace-command-1781277460000-sync-standard-ui-capability-flags.command.ts
new file mode 100644
index 00000000000..14a35563e31
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-13/2-13-workspace-command-1781277460000-sync-standard-ui-capability-flags.command.ts
@@ -0,0 +1,179 @@
+import { Command } from 'nest-commander';
+import { isDefined } from 'twenty-shared/utils';
+
+import { ActiveOrSuspendedWorkspaceCommandRunner } from 'src/database/commands/command-runners/active-or-suspended-workspace.command-runner';
+import { WorkspaceIteratorService } from 'src/database/commands/command-runners/workspace-iterator.service';
+import { type RunOnWorkspaceArgs } from 'src/database/commands/command-runners/workspace.command-runner';
+import { ApplicationService } from 'src/engine/core-modules/application/application.service';
+import { RegisteredWorkspaceCommand } from 'src/engine/core-modules/upgrade/decorators/registered-workspace-command.decorator';
+import { WorkspaceCacheService } from 'src/engine/workspace-cache/services/workspace-cache.service';
+import { computeTwentyStandardApplicationAllFlatEntityMaps } from 'src/engine/workspace-manager/twenty-standard-application/utils/twenty-standard-application-all-flat-entity-maps.constant';
+import { WorkspaceMigrationValidateBuildAndRunService } from 'src/engine/workspace-manager/workspace-migration/services/workspace-migration-validate-build-and-run-service';
+
+// Re-syncs the UI capability flags of standard objects and fields with their
+// standard-application definitions. Covers two cases the rename instance
+// command cannot reach:
+// - isUICreatable is a new column (default true) and workflowRun,
+// workflowVersion and workspaceMember must become non-creatable; the
+// twenty-standard application is not re-synced on existing workspaces.
+// - standard fields created by pre-2.13 workspace upgrade commands during a
+// cross-version upgrade lose their isUIEditable: false value (the column is
+// hidden until the rename instance command has run), so they would
+// otherwise stay editable after the rename backfill.
+@RegisteredWorkspaceCommand('2.13.0', 1781277460000)
+@Command({
+ name: 'upgrade:2-13:sync-standard-ui-capability-flags',
+ description:
+ 'Re-sync isUICreatable and isUIEditable on standard objects and isUIEditable on standard fields from the standard-application definitions',
+})
+export class SyncStandardUiCapabilityFlagsCommand extends ActiveOrSuspendedWorkspaceCommandRunner {
+ constructor(
+ protected readonly workspaceIteratorService: WorkspaceIteratorService,
+ private readonly applicationService: ApplicationService,
+ private readonly workspaceMigrationValidateBuildAndRunService: WorkspaceMigrationValidateBuildAndRunService,
+ private readonly workspaceCacheService: WorkspaceCacheService,
+ ) {
+ super(workspaceIteratorService);
+ }
+
+ override async runOnWorkspace({
+ workspaceId,
+ options,
+ }: RunOnWorkspaceArgs): Promise<void> {
+ const isDryRun = options.dryRun ?? false;
+
+ this.logger.log(
+ `${isDryRun ? '[DRY RUN] ' : ''}Syncing standard UI capability flags for workspace ${workspaceId}`,
+ );
+
+ const { twentyStandardFlatApplication } =
+ await this.applicationService.findWorkspaceTwentyStandardAndCustomApplicationOrThrow(
+ { workspaceId },
+ );
+
+ const {
+ flatObjectMetadataMaps: existingFlatObjectMetadataMaps,
+ flatFieldMetadataMaps: existingFlatFieldMetadataMaps,
+ } = await this.workspaceCacheService.getOrRecompute(workspaceId, [
+ 'flatObjectMetadataMaps',
+ 'flatFieldMetadataMaps',
+ ]);
+
+ const { allFlatEntityMaps: standardAllFlatEntityMaps } =
+ computeTwentyStandardApplicationAllFlatEntityMaps({
+ now: new Date().toISOString(),
+ workspaceId,
+ twentyStandardApplicationId: twentyStandardFlatApplication.id,
+ });
+
+ const objectsToUpdate = Object.values(
+ standardAllFlatEntityMaps.flatObjectMetadataMaps.byUniversalIdentifier,
+ )
+ .filter(isDefined)
+ .map((standardObject) => {
+ const existingObject =
+ existingFlatObjectMetadataMaps.byUniversalIdentifier[
+ standardObject.universalIdentifier
+ ];
+
+ if (
+ !isDefined(existingObject) ||
+ (existingObject.isUICreatable === standardObject.isUICreatable &&
+ existingObject.isUIEditable === standardObject.isUIEditable)
+ ) {
+ return undefined;
+ }
+
+ return {
+ ...existingObject,
+ isUICreatable: standardObject.isUICreatable,
+ isUIEditable: standardObject.isUIEditable,
+ updatedAt: new Date().toISOString(),
+ };
+ })
+ .filter(isDefined);
+
+ const fieldsToUpdate = Object.values(
+ standardAllFlatEntityMaps.flatFieldMetadataMaps.byUniversalIdentifier,
+ )
+ .filter(isDefined)
+ .map((standardField) => {
+ const existingField =
+ existingFlatFieldMetadataMaps.byUniversalIdentifier[
+ standardField.universalIdentifier
+ ];
+
+ if (
+ !isDefined(existingField) ||
+ existingField.isUIEditable === standardField.isUIEditable
+ ) {
+ return undefined;
+ }
+
+ return {
+ ...existingField,
+ isUIEditable: standardField.isUIEditable,
+ updatedAt: new Date().toISOString(),
+ };
+ })
+ .filter(isDefined);
+
+ if (objectsToUpdate.length === 0 && fieldsToUpdate.length === 0) {
+ this.logger.log(
+ `Standard UI capability flags already up to date for workspace ${workspaceId}`,
+ );
+
+ return;
+ }
+
+ this.logger.log(
+ `Found ${objectsToUpdate.length} standard object(s) and ${fieldsToUpdate.length} standard field(s) with drifted UI capability flags for workspace ${workspaceId}`,
+ );
+
+ if (isDryRun) {
+ this.logger.log(
+ `[DRY RUN] Would sync UI capability flags on ${objectsToUpdate.length} standard object(s) and ${fieldsToUpdate.length} standard field(s) for workspace ${workspaceId}`,
+ );
+
+ return;
+ }
+
+ const validateAndBuildResult =
+ await this.workspaceMigrationValidateBuildAndRunService.validateBuildAndRunWorkspaceMigration(
+ {
+ allFlatEntityOperationByMetadataName: {
+ objectMetadata: {
+ flatEntityToCreate: [],
+ flatEntityToDelete: [],
+ flatEntityToUpdate: objectsToUpdate,
+ },
+ fieldMetadata: {
+ flatEntityToCreate: [],
+ flatEntityToDelete: [],
+ flatEntityToUpdate: fieldsToUpdate,
+ },
+ },
+ workspaceId,
+ // workflowRun, workflowVersion and workspaceMember are system
+ // objects; without a system build the validator rejects the update.
+ isSystemBuild: true,
+ applicationUniversalIdentifier:
+ twentyStandardFlatApplication.universalIdentifier,
+ },
+ );
+
+ if (validateAndBuildResult.status === 'fail') {
+ this.logger.error(
+ `Failed to sync standard UI capability flags:\n${JSON.stringify(validateAndBuildResult, null, 2)}`,
+ );
+
+ throw new Error(
+ `Failed to sync standard UI capability flags for workspace ${workspaceId}`,
+ );
+ }
+
+ this.logger.log(
+ `Successfully synced UI capability flags on ${objectsToUpdate.length} standard object(s) and ${fieldsToUpdate.length} standard field(s) for workspace ${workspaceId}`,
+ );
+ }
+}
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-13/2-13-workspace-command-1781277470000-sync-create-record-command-availability-expression.command.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-13/2-13-workspace-command-1781277470000-sync-create-record-command-availability-expression.command.ts
new file mode 100644
index 00000000000..6460b72a1f6
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-13/2-13-workspace-command-1781277470000-sync-create-record-command-availability-expression.command.ts
@@ -0,0 +1,136 @@
+import { Command } from 'nest-commander';
+import { isDefined } from 'twenty-shared/utils';
+
+import { ActiveOrSuspendedWorkspaceCommandRunner } from 'src/database/commands/command-runners/active-or-suspended-workspace.command-runner';
+import { WorkspaceIteratorService } from 'src/database/commands/command-runners/workspace-iterator.service';
+import { type RunOnWorkspaceArgs } from 'src/database/commands/command-runners/workspace.command-runner';
+import { ApplicationService } from 'src/engine/core-modules/application/application.service';
+import { RegisteredWorkspaceCommand } from 'src/engine/core-modules/upgrade/decorators/registered-workspace-command.decorator';
+import { WorkspaceCacheService } from 'src/engine/workspace-cache/services/workspace-cache.service';
+import { computeTwentyStandardApplicationAllFlatEntityMaps } from 'src/engine/workspace-manager/twenty-standard-application/utils/twenty-standard-application-all-flat-entity-maps.constant';
+import { WorkspaceMigrationValidateBuildAndRunService } from 'src/engine/workspace-manager/workspace-migration/services/workspace-migration-validate-build-and-run-service';
+
+@RegisteredWorkspaceCommand('2.13.0', 1781277470000)
+@Command({
+ name: 'upgrade:2-13:sync-create-record-command-availability-expression',
+ description:
+ 'Re-sync conditionalAvailabilityExpression on standard command menu items in existing workspaces (the create-record command is now gated on objectMetadataItem.isUICreatable and isUIEditable)',
+})
+export class SyncCreateRecordCommandAvailabilityExpressionCommand extends ActiveOrSuspendedWorkspaceCommandRunner {
+ constructor(
+ protected readonly workspaceIteratorService: WorkspaceIteratorService,
+ private readonly applicationService: ApplicationService,
+ private readonly workspaceMigrationValidateBuildAndRunService: WorkspaceMigrationValidateBuildAndRunService,
+ private readonly workspaceCacheService: WorkspaceCacheService,
+ ) {
+ super(workspaceIteratorService);
+ }
+
+ override async runOnWorkspace({
+ workspaceId,
+ options,
+ }: RunOnWorkspaceArgs): Promise<void> {
+ const isDryRun = options.dryRun ?? false;
+
+ this.logger.log(
+ `${isDryRun ? '[DRY RUN] ' : ''}Syncing command menu item availability expressions for workspace ${workspaceId}`,
+ );
+
+ const { twentyStandardFlatApplication } =
+ await this.applicationService.findWorkspaceTwentyStandardAndCustomApplicationOrThrow(
+ { workspaceId },
+ );
+
+ const { flatCommandMenuItemMaps: existingFlatCommandMenuItemMaps } =
+ await this.workspaceCacheService.getOrRecompute(workspaceId, [
+ 'flatCommandMenuItemMaps',
+ ]);
+
+ const { allFlatEntityMaps: standardAllFlatEntityMaps } =
+ computeTwentyStandardApplicationAllFlatEntityMaps({
+ now: new Date().toISOString(),
+ workspaceId,
+ twentyStandardApplicationId: twentyStandardFlatApplication.id,
+ });
+
+ const itemsToUpdate = Object.values(
+ standardAllFlatEntityMaps.flatCommandMenuItemMaps.byUniversalIdentifier,
+ )
+ .filter(isDefined)
+ .map((standardItem) => {
+ const existingItem =
+ existingFlatCommandMenuItemMaps.byUniversalIdentifier[
+ standardItem.universalIdentifier
+ ];
+
+ if (
+ !isDefined(existingItem) ||
+ existingItem.conditionalAvailabilityExpression ===
+ standardItem.conditionalAvailabilityExpression
+ ) {
+ return undefined;
+ }
+
+ return {
+ ...existingItem,
+ conditionalAvailabilityExpression:
+ standardItem.conditionalAvailabilityExpression,
+ updatedAt: new Date().toISOString(),
+ };
+ })
+ .filter(isDefined);
+
+ if (itemsToUpdate.length === 0) {
+ this.logger.log(
+ `Command menu item availability expressions already up to date for workspace ${workspaceId}`,
+ );
+
+ return;
+ }
+
+ this.logger.log(
+ `Found ${itemsToUpdate.length} command menu item(s) with drifted availability expressions for workspace ${workspaceId}`,
+ );
+
+ if (isDryRun) {
+ this.logger.log(
+ `[DRY RUN] Would sync ${itemsToUpdate.length} command menu item availability expression(s) for workspace ${workspaceId}`,
+ );
+
+ return;
+ }
+
+ const validateAndBuildResult =
+ await this.workspaceMigrationValidateBuildAndRunService.validateBuildAndRunWorkspaceMigration(
+ {
+ allFlatEntityOperationByMetadataName: {
+ commandMenuItem: {
+ flatEntityToCreate: [],
+ flatEntityToDelete: [],
+ flatEntityToUpdate: itemsToUpdate,
+ },
+ },
+ workspaceId,
+ // Standard command menu items are system-owned; without a system
+ // build the validator rejects direct updates.
+ isSystemBuild: true,
+ applicationUniversalIdentifier:
+ twentyStandardFlatApplication.universalIdentifier,
+ },
+ );
+
+ if (validateAndBuildResult.status === 'fail') {
+ this.logger.error(
+ `Failed to sync command menu item availability expressions:\n${JSON.stringify(validateAndBuildResult, null, 2)}`,
+ );
+
+ throw new Error(
+ `Failed to sync command menu item availability expressions for workspace ${workspaceId}`,
+ );
+ }
+
+ this.logger.log(
+ `Successfully synced ${itemsToUpdate.length} command menu item availability expression(s) for workspace ${workspaceId}`,
+ );
+ }
+}
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts
index 2ff6e7f6997..4913d85ee54 100644
--- a/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts
@@ -62,6 +62,7 @@ import { MigrateAiModelPreferencesSlowInstanceCommand } from 'src/database/comma
import { DropIsCustomFromObjectAndFieldMetadataFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-12/2-12-instance-command-fast-1780579070012-drop-is-custom-from-object-and-field-metadata';
import { DropEmailingDomainDriverColumnFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-11/2-11-instance-command-fast-1780926908000-drop-emailing-domain-driver-column';
import { ViewOverridableEntityFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-12/2-12-instance-command-fast-1781114009075-view-overridable-entity';
+import { RenameIsUiReadOnlyToIsUiEditableFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-13/2-13-instance-command-fast-1781277453604-rename-is-ui-read-only-to-is-ui-editable';
export const INSTANCE_COMMANDS = [
AddViewFieldGroupIdIndexOnViewFieldFastInstanceCommand,
@@ -126,4 +127,5 @@ export const INSTANCE_COMMANDS = [
DropIsCustomFromObjectAndFieldMetadataFastInstanceCommand,
DropEmailingDomainDriverColumnFastInstanceCommand,
ViewOverridableEntityFastInstanceCommand,
+ RenameIsUiReadOnlyToIsUiEditableFastInstanceCommand,
];
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/workspace-command-provider.module.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/workspace-command-provider.module.ts
index ba9d007b1dc..b85855c38f5 100644
--- a/packages/twenty-server/src/database/commands/upgrade-version-command/workspace-command-provider.module.ts
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/workspace-command-provider.module.ts
@@ -13,6 +13,7 @@ import { V2_7_UpgradeVersionCommandModule } from 'src/database/commands/upgrade-
import { V2_8_UpgradeVersionCommandModule } from 'src/database/commands/upgrade-version-command/2-8/2-8-upgrade-version-command.module';
import { V2_9_UpgradeVersionCommandModule } from 'src/database/commands/upgrade-version-command/2-9/2-9-upgrade-version-command.module';
import { V2_10_UpgradeVersionCommandModule } from 'src/database/commands/upgrade-version-command/2-10/2-10-upgrade-version-command.module';
+import { V2_13_UpgradeVersionCommandModule } from 'src/database/commands/upgrade-version-command/2-13/2-13-upgrade-version-command.module';
@Module({
imports: [
@@ -29,6 +30,7 @@ import { V2_10_UpgradeVersionCommandModule } from 'src/database/commands/upgrade
V2_8_UpgradeVersionCommandModule,
V2_9_UpgradeVersionCommandModule,
V2_10_UpgradeVersionCommandModule,
+ V2_13_UpgradeVersionCommandModule,
],
})
export class WorkspaceCommandProviderModule {}
diff --git a/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/__mocks__/mockPersonObjectMetadata.ts b/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/__mocks__/mockPersonObjectMetadata.ts
index d9057a6a988..bf6b82f5c58 100644
--- a/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/__mocks__/mockPersonObjectMetadata.ts
+++ b/packages/twenty-server/src/engine/api/graphql/graphql-query-runner/__mocks__/mockPersonObjectMetadata.ts
@@ -163,7 +163,8 @@ export const mockPersonFlatObjectMetadata = (
shortcut: null,
description: null,
standardOverrides: null,
- isUIReadOnly: false,
+ isUIEditable: true,
+ isUICreatable: true,
applicationUniversalIdentifier: 'test-application-id',
fieldUniversalIdentifiers: mockFieldMetadatas.map(
(field) => field.universalIdentifier,
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/__tests__/from-field-manifest-to-universal-flat-field-metadata.util.spec.ts b/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/__tests__/from-field-manifest-to-universal-flat-field-metadata.util.spec.ts
index f6cff3f1db1..05543e85c4e 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/__tests__/from-field-manifest-to-universal-flat-field-metadata.util.spec.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/__tests__/from-field-manifest-to-universal-flat-field-metadata.util.spec.ts
@@ -105,4 +105,36 @@ describe('fromFieldManifestToUniversalFlatFieldMetadata', () => {
expect(result.defaultValue).toBe("'todo'");
});
});
+
+ describe('isUIEditable', () => {
+ it('defaults to true when omitted from the manifest', () => {
+ const result = fromFieldManifestToUniversalFlatFieldMetadata({
+ fieldManifest: buildFieldManifest({}),
+ applicationUniversalIdentifier: APP_UID,
+ now: NOW,
+ });
+
+ expect(result.isUIEditable).toBe(true);
+ });
+
+ it('uses the manifest value when set to false', () => {
+ const result = fromFieldManifestToUniversalFlatFieldMetadata({
+ fieldManifest: buildFieldManifest({ isUIEditable: false }),
+ applicationUniversalIdentifier: APP_UID,
+ now: NOW,
+ });
+
+ expect(result.isUIEditable).toBe(false);
+ });
+
+ it('uses the manifest value when set to true', () => {
+ const result = fromFieldManifestToUniversalFlatFieldMetadata({
+ fieldManifest: buildFieldManifest({ isUIEditable: true }),
+ applicationUniversalIdentifier: APP_UID,
+ now: NOW,
+ });
+
+ expect(result.isUIEditable).toBe(true);
+ });
+ });
});
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/__tests__/from-object-manifest-to-universal-flat-object-metadata.util.spec.ts b/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/__tests__/from-object-manifest-to-universal-flat-object-metadata.util.spec.ts
new file mode 100644
index 00000000000..06f3f108070
--- /dev/null
+++ b/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/__tests__/from-object-manifest-to-universal-flat-object-metadata.util.spec.ts
@@ -0,0 +1,62 @@
+import { type ObjectManifest } from 'twenty-shared/application';
+
+import { fromObjectManifestToUniversalFlatObjectMetadata } from 'src/engine/core-modules/application/application-manifest/converters/from-object-manifest-to-universal-flat-object-metadata.util';
+
+const APP_UID = '11111111-1111-1111-1111-111111111111';
+const OBJECT_UID = '22222222-2222-2222-2222-222222222222';
+const LABEL_IDENTIFIER_FIELD_UID = '33333333-3333-3333-3333-333333333333';
+const NOW = '2026-05-15T10:00:00.000Z';
+
+const buildObjectManifest = (
+ overrides: Partial<ObjectManifest>,
+): ObjectManifest =>
+ ({
+ universalIdentifier: OBJECT_UID,
+ nameSingular: 'pet',
+ namePlural: 'pets',
+ labelSingular: 'Pet',
+ labelPlural: 'Pets',
+ fields: [],
+ labelIdentifierFieldMetadataUniversalIdentifier: LABEL_IDENTIFIER_FIELD_UID,
+ ...overrides,
+ }) as ObjectManifest;
+
+describe('fromObjectManifestToUniversalFlatObjectMetadata', () => {
+ describe('UI capability flags', () => {
+ it('defaults isUICreatable and isUIEditable to true when omitted from the manifest', () => {
+ const result = fromObjectManifestToUniversalFlatObjectMetadata({
+ objectManifest: buildObjectManifest({}),
+ applicationUniversalIdentifier: APP_UID,
+ now: NOW,
+ });
+
+ expect(result.isUICreatable).toBe(true);
+ expect(result.isUIEditable).toBe(true);
+ });
+
+ it('uses the manifest values when set to false', () => {
+ const result = fromObjectManifestToUniversalFlatObjectMetadata({
+ objectManifest: buildObjectManifest({
+ isUICreatable: false,
+ isUIEditable: false,
+ }),
+ applicationUniversalIdentifier: APP_UID,
+ now: NOW,
+ });
+
+ expect(result.isUICreatable).toBe(false);
+ expect(result.isUIEditable).toBe(false);
+ });
+
+ it('keeps the two flags independent', () => {
+ const result = fromObjectManifestToUniversalFlatObjectMetadata({
+ objectManifest: buildObjectManifest({ isUICreatable: false }),
+ applicationUniversalIdentifier: APP_UID,
+ now: NOW,
+ });
+
+ expect(result.isUICreatable).toBe(false);
+ expect(result.isUIEditable).toBe(true);
+ });
+ });
+});
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/from-field-manifest-to-universal-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/from-field-manifest-to-universal-flat-field-metadata.util.ts
index 02a844ff8af..1c4e86cf708 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/from-field-manifest-to-universal-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/from-field-manifest-to-universal-flat-field-metadata.util.ts
@@ -94,7 +94,7 @@ export const fromFieldManifestToUniversalFlatFieldMetadata = ({
universalSettings: fieldManifest.universalSettings ?? null,
isActive: true,
isSystem: fieldManifest.name in PARTIAL_SYSTEM_FLAT_FIELD_METADATAS,
- isUIReadOnly: false,
+ isUIEditable: fieldManifest.isUIEditable ?? true,
isNullable: fieldManifest.isNullable ?? true,
isUnique: fieldManifest.isUnique ?? false,
isLabelSyncedWithName: false,
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/from-object-manifest-to-universal-flat-object-metadata.util.ts b/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/from-object-manifest-to-universal-flat-object-metadata.util.ts
index ecaaf2a4287..074a673bb85 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/from-object-manifest-to-universal-flat-object-metadata.util.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/from-object-manifest-to-universal-flat-object-metadata.util.ts
@@ -26,7 +26,8 @@ export const fromObjectManifestToUniversalFlatObjectMetadata = ({
isRemote: false,
isActive: true,
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: objectManifest.isUIEditable ?? true,
+ isUICreatable: objectManifest.isUICreatable ?? true,
isAuditLogged: true,
isSearchable: objectManifest.isSearchable ?? true,
duplicateCriteria: null,
diff --git a/packages/twenty-server/src/engine/core-modules/event-emitter/utils/__tests__/object-record-changed-values.spec.ts b/packages/twenty-server/src/engine/core-modules/event-emitter/utils/__tests__/object-record-changed-values.spec.ts
index d92d71de4b3..cca50921cb2 100644
--- a/packages/twenty-server/src/engine/core-modules/event-emitter/utils/__tests__/object-record-changed-values.spec.ts
+++ b/packages/twenty-server/src/engine/core-modules/event-emitter/utils/__tests__/object-record-changed-values.spec.ts
@@ -36,7 +36,8 @@ const mockObjectMetadata: FlatObjectMetadata = {
shortcut: null,
description: null,
standardOverrides: null,
- isUIReadOnly: false,
+ isUIEditable: true,
+ isUICreatable: true,
labelIdentifierFieldMetadataId: null,
imageIdentifierFieldMetadataId: null,
duplicateCriteria: null,
diff --git a/packages/twenty-server/src/engine/core-modules/tool-provider/utils/__tests__/compact-metadata-output.util.spec.ts b/packages/twenty-server/src/engine/core-modules/tool-provider/utils/__tests__/compact-metadata-output.util.spec.ts
index 74a9d2ba0b0..a656d699de2 100644
--- a/packages/twenty-server/src/engine/core-modules/tool-provider/utils/__tests__/compact-metadata-output.util.spec.ts
+++ b/packages/twenty-server/src/engine/core-modules/tool-provider/utils/__tests__/compact-metadata-output.util.spec.ts
@@ -61,12 +61,12 @@ describe('compactMetadataOutput', () => {
const record = {
id: '123',
isLabelSyncedWithName: false,
- isUIReadOnly: false,
+ isSystem: false,
isActive: true,
};
const result = compactMetadataOutput(record, {
- stripWhenFalse: ['isLabelSyncedWithName', 'isUIReadOnly'],
+ stripWhenFalse: ['isLabelSyncedWithName', 'isSystem'],
});
expect(result).toEqual({
@@ -79,41 +79,75 @@ describe('compactMetadataOutput', () => {
const record = {
id: '123',
isLabelSyncedWithName: true,
- isUIReadOnly: true,
+ isSystem: true,
};
const result = compactMetadataOutput(record, {
- stripWhenFalse: ['isLabelSyncedWithName', 'isUIReadOnly'],
+ stripWhenFalse: ['isLabelSyncedWithName', 'isSystem'],
});
expect(result).toEqual({
id: '123',
isLabelSyncedWithName: true,
- isUIReadOnly: true,
+ isSystem: true,
});
});
- it('should apply both stripWhenNullish and stripWhenFalse together', () => {
+ it('should strip keys with true values when listed in stripWhenTrue', () => {
+ const record = {
+ id: '123',
+ isUIEditable: true,
+ isActive: true,
+ };
+
+ const result = compactMetadataOutput(record, {
+ stripWhenTrue: ['isUIEditable'],
+ });
+
+ expect(result).toEqual({
+ id: '123',
+ isActive: true,
+ });
+ });
+
+ it('should not strip keys with false values when listed in stripWhenTrue', () => {
+ const record = {
+ id: '123',
+ isUIEditable: false,
+ };
+
+ const result = compactMetadataOutput(record, {
+ stripWhenTrue: ['isUIEditable'],
+ });
+
+ expect(result).toEqual({
+ id: '123',
+ isUIEditable: false,
+ });
+ });
+
+ it('should apply stripWhenNullish, stripWhenFalse and stripWhenTrue together', () => {
const record = {
id: '123',
name: 'test',
description: null,
icon: 'IconStar',
isLabelSyncedWithName: false,
- isUIReadOnly: true,
+ isUIEditable: false,
options: null,
};
const result = compactMetadataOutput(record, {
stripWhenNullish: ['description', 'options'],
- stripWhenFalse: ['isLabelSyncedWithName', 'isUIReadOnly'],
+ stripWhenFalse: ['isLabelSyncedWithName'],
+ stripWhenTrue: ['isUIEditable'],
});
expect(result).toEqual({
id: '123',
name: 'test',
icon: 'IconStar',
- isUIReadOnly: true,
+ isUIEditable: false,
});
});
diff --git a/packages/twenty-server/src/engine/core-modules/tool-provider/utils/compact-metadata-output.util.ts b/packages/twenty-server/src/engine/core-modules/tool-provider/utils/compact-metadata-output.util.ts
index 4787e8d7032..bada10e2cd9 100644
--- a/packages/twenty-server/src/engine/core-modules/tool-provider/utils/compact-metadata-output.util.ts
+++ b/packages/twenty-server/src/engine/core-modules/tool-provider/utils/compact-metadata-output.util.ts
@@ -1,6 +1,7 @@
type CompactConfig = {
stripWhenNullish?: string[];
stripWhenFalse?: string[];
+ stripWhenTrue?: string[];
};
export const compactMetadataOutput = (
@@ -21,5 +22,11 @@ export const compactMetadataOutput = (
}
}
+ for (const key of config.stripWhenTrue ?? []) {
+ if (result[key] === true) {
+ delete result[key];
+ }
+ }
+
return result;
};
diff --git a/packages/twenty-server/src/engine/metadata-modules/field-metadata/dtos/field-metadata.dto.ts b/packages/twenty-server/src/engine/metadata-modules/field-metadata/dtos/field-metadata.dto.ts
index 092208e3ea2..df1f199ad4b 100644
--- a/packages/twenty-server/src/engine/metadata-modules/field-metadata/dtos/field-metadata.dto.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/field-metadata/dtos/field-metadata.dto.ts
@@ -120,6 +120,17 @@ export class FieldMetadataDTO<T extends FieldMetadataType = FieldMetadataType> {
@IsBoolean()
@IsOptional()
@FilterableField({ nullable: true })
+ isUIEditable?: boolean;
+
+ // Deprecated alias kept for one release: stays filterable so the GraphQL
+ // input types (CreateFieldInput, UpdateFieldInput, FieldFilter) keep their
+ // isUIReadOnly member and external API consumers are not broken.
+ @IsBoolean()
+ @IsOptional()
+ @FilterableField({
+ nullable: true,
+ deprecationReason: 'Use isUIEditable',
+ })
isUIReadOnly?: boolean;
@IsBoolean()
diff --git a/packages/twenty-server/src/engine/metadata-modules/field-metadata/field-metadata.entity.ts b/packages/twenty-server/src/engine/metadata-modules/field-metadata/field-metadata.entity.ts
index e277e0f4903..969862ae7e0 100644
--- a/packages/twenty-server/src/engine/metadata-modules/field-metadata/field-metadata.entity.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/field-metadata/field-metadata.entity.ts
@@ -20,7 +20,9 @@ import {
UpdateDateColumn,
} from 'typeorm';
+import { WasIntroducedInUpgrade } from 'src/engine/core-modules/upgrade/decorators/was-introduced-in-upgrade.decorator';
import { WasRemovedInUpgrade } from 'src/engine/core-modules/upgrade/decorators/was-removed-in-upgrade.decorator';
+import { RENAME_IS_UI_READ_ONLY_TO_IS_UI_EDITABLE_UPGRADE_COMMAND_NAME } from 'src/engine/metadata-modules/object-metadata/constants/rename-is-ui-read-only-to-is-ui-editable-upgrade-command-name.constant';
import { type FieldStandardOverridesDTO } from 'src/engine/metadata-modules/field-metadata/dtos/field-standard-overrides.dto';
import { AssignIfIsGivenFieldMetadataType } from 'src/engine/metadata-modules/field-metadata/types/assign-if-is-given-field-metadata-type.type';
import { AssignTypeIfIsMorphOrRelationFieldMetadataType } from 'src/engine/metadata-modules/field-metadata/types/assign-type-if-is-morph-or-relation-field-metadata-type.type';
@@ -120,8 +122,19 @@ export class FieldMetadataEntity<
@Column({ default: false })
isSystem: boolean;
- @Column({ default: false })
- isUIReadOnly: boolean;
+ @WasIntroducedInUpgrade({
+ upgradeCommandName:
+ RENAME_IS_UI_READ_ONLY_TO_IS_UI_EDITABLE_UPGRADE_COMMAND_NAME,
+ })
+ @Column({ default: true })
+ isUIEditable: boolean;
+
+ @WasRemovedInUpgrade({
+ upgradeCommandName:
+ RENAME_IS_UI_READ_ONLY_TO_IS_UI_EDITABLE_UPGRADE_COMMAND_NAME,
+ })
+ @Column({ type: 'boolean', default: false })
+ isUIReadOnly: WasRemovedInUpgrade<boolean>;
// Is this really nullable ?
@Column({ nullable: true, default: true, type: 'boolean' })
diff --git a/packages/twenty-server/src/engine/metadata-modules/field-metadata/field-metadata.resolver.ts b/packages/twenty-server/src/engine/metadata-modules/field-metadata/field-metadata.resolver.ts
index 414cc482c90..977473dfb73 100644
--- a/packages/twenty-server/src/engine/metadata-modules/field-metadata/field-metadata.resolver.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/field-metadata/field-metadata.resolver.ts
@@ -61,6 +61,16 @@ export class FieldMetadataResolver {
});
}
+ @ResolveField(() => Boolean, {
+ nullable: true,
+ deprecationReason: 'Use isUIEditable',
+ })
+ async isUIReadOnly(
+ @Parent() fieldMetadata: Pick<FieldMetadataDTO, 'isUIEditable'>,
+ ): Promise<boolean> {
+ return !(fieldMetadata.isUIEditable ?? true);
+ }
+
@ResolveField(() => String, { nullable: true })
async label(
@Parent() fieldMetadata: FieldMetadataStandardOverrideParent,
diff --git a/packages/twenty-server/src/engine/metadata-modules/field-metadata/tools/field-metadata-tools.factory.ts b/packages/twenty-server/src/engine/metadata-modules/field-metadata/tools/field-metadata-tools.factory.ts
index ada2c3ffb6a..9bb470ff5bb 100644
--- a/packages/twenty-server/src/engine/metadata-modules/field-metadata/tools/field-metadata-tools.factory.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/field-metadata/tools/field-metadata-tools.factory.ts
@@ -20,7 +20,10 @@ const FIELD_STRIP_WHEN_NULLISH = [
'deletedAt',
];
-const FIELD_STRIP_WHEN_FALSE = ['isLabelSyncedWithName', 'isUIReadOnly'];
+const FIELD_STRIP_WHEN_FALSE = ['isLabelSyncedWithName'];
+
+// isUIEditable defaults to true, so only the non-default false value is informative
+const FIELD_STRIP_WHEN_TRUE = ['isUIEditable'];
const GetFieldMetadataInputSchema = z.object({
id: z
@@ -176,6 +179,7 @@ export class FieldMetadataToolsFactory {
{
stripWhenNullish: FIELD_STRIP_WHEN_NULLISH,
stripWhenFalse: FIELD_STRIP_WHEN_FALSE,
+ stripWhenTrue: FIELD_STRIP_WHEN_TRUE,
},
);
});
diff --git a/packages/twenty-server/src/engine/metadata-modules/field-metadata/utils/from-field-metadata-entity-to-field-metadata-dto.util.ts b/packages/twenty-server/src/engine/metadata-modules/field-metadata/utils/from-field-metadata-entity-to-field-metadata-dto.util.ts
index 9384eca88f8..d4d3925f0a3 100644
--- a/packages/twenty-server/src/engine/metadata-modules/field-metadata/utils/from-field-metadata-entity-to-field-metadata-dto.util.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/field-metadata/utils/from-field-metadata-entity-to-field-metadata-dto.util.ts
@@ -22,7 +22,8 @@ export const fromFieldMetadataEntityToFieldMetadataDto = (
isCustom: entity.applicationId !== standardApplicationId,
isActive: entity.isActive,
isSystem: entity.isSystem,
- isUIReadOnly: entity.isUIReadOnly,
+ isUIEditable: entity.isUIEditable,
+ isUIReadOnly: !entity.isUIEditable,
isNullable: entity.isNullable ?? false,
isUnique: uniqueFieldMetadataIds?.has(entity.id) ?? false,
defaultValue: entity.defaultValue ?? undefined,
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/all-universal-flat-entity-properties-to-compare-and-stringify.constant.spec.ts.snap b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/all-universal-flat-entity-properties-to-compare-and-stringify.constant.spec.ts.snap
index 0d848c0c9bd..55750199b5f 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/all-universal-flat-entity-properties-to-compare-and-stringify.constant.spec.ts.snap
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/all-universal-flat-entity-properties-to-compare-and-stringify.constant.spec.ts.snap
@@ -71,6 +71,7 @@ exports[`ALL_UNIVERSAL_FLAT_ENTITY_PROPERTIES_TO_COMPARE_AND_STRINGIFY should ma
"options",
"standardOverrides",
"universalSettings",
+ "isUIEditable",
],
"propertiesToStringify": [
"defaultValue",
@@ -165,6 +166,8 @@ exports[`ALL_UNIVERSAL_FLAT_ENTITY_PROPERTIES_TO_COMPARE_AND_STRINGIFY should ma
"nameSingular",
"labelIdentifierFieldMetadataUniversalIdentifier",
"standardOverrides",
+ "isUIEditable",
+ "isUICreatable",
"isSearchable",
"imageIdentifierFieldMetadataUniversalIdentifier",
],
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant.ts b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant.ts
index 71dec9be459..7c373d63e53 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant.ts
@@ -108,8 +108,8 @@ export const ALL_ENTITY_PROPERTIES_CONFIGURATION_BY_METADATA_NAME = {
toStringify: false,
universalProperty: undefined,
},
- isUIReadOnly: {
- toCompare: false,
+ isUIEditable: {
+ toCompare: true,
toStringify: false,
universalProperty: undefined,
},
@@ -212,8 +212,13 @@ export const ALL_ENTITY_PROPERTIES_CONFIGURATION_BY_METADATA_NAME = {
toStringify: false,
universalProperty: undefined,
},
- isUIReadOnly: {
- toCompare: false,
+ isUIEditable: {
+ toCompare: true,
+ toStringify: false,
+ universalProperty: undefined,
+ },
+ isUICreatable: {
+ toCompare: true,
toStringify: false,
universalProperty: undefined,
},
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/types/__tests__/flat-entity-update.type-test.ts b/packages/twenty-server/src/engine/metadata-modules/flat-entity/types/__tests__/flat-entity-update.type-test.ts
index 3e82b3e7df5..63cdfa0a30d 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/types/__tests__/flat-entity-update.type-test.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/types/__tests__/flat-entity-update.type-test.ts
@@ -22,6 +22,7 @@ type Assertions = [
| 'settings'
| 'isUnique'
| 'isLabelSyncedWithName'
+ | 'isUIEditable'
| 'universalSettings'
>
>,
@@ -52,6 +53,8 @@ type Assertions = [
| 'imageIdentifierFieldMetadataId'
| 'imageIdentifierFieldMetadataUniversalIdentifier'
| 'isSearchable'
+ | 'isUIEditable'
+ | 'isUICreatable'
>
>,
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/__mocks__/get-flat-field-metadata.mock.ts b/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/__mocks__/get-flat-field-metadata.mock.ts
index 2a087c15d06..3f87b4085cd 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/__mocks__/get-flat-field-metadata.mock.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/__mocks__/get-flat-field-metadata.mock.ts
@@ -36,7 +36,7 @@ export const getFlatFieldMetadataMock = <T extends FieldMetadataType>(
label: 'flat field metadata label',
isNullable: true,
isUnique: false,
- isUIReadOnly: false,
+ isUIEditable: true,
isLabelSyncedWithName: false,
isSystem: false,
standardOverrides: null,
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/__mocks__/get-morph-or-relation-target-flat-field-metadata-mock.ts b/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/__mocks__/get-morph-or-relation-target-flat-field-metadata-mock.ts
index f440a8cb399..20486963a30 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/__mocks__/get-morph-or-relation-target-flat-field-metadata-mock.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/__mocks__/get-morph-or-relation-target-flat-field-metadata-mock.ts
@@ -49,7 +49,7 @@ export const getRelationTargetFlatFieldMetadataMock = ({
label: 'flat field metadata label',
isNullable: true,
isUnique: false,
- isUIReadOnly: false,
+ isUIEditable: true,
isLabelSyncedWithName: false,
isSystem: false,
standardOverrides: null,
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/__tests__/__snapshots__/morph-relation-from-create-field-input-to-flat-field-metadatas-to-create.spec.ts.snap b/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/__tests__/__snapshots__/morph-relation-from-create-field-input-to-flat-field-metadatas-to-create.spec.ts.snap
index 7263d5b00f8..68c65fa01b2 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/__tests__/__snapshots__/morph-relation-from-create-field-input-to-flat-field-metadatas-to-create.spec.ts.snap
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/__tests__/__snapshots__/morph-relation-from-create-field-input-to-flat-field-metadatas-to-create.spec.ts.snap
@@ -127,7 +127,7 @@ exports[`fromCreateFieldInputToFlatFieldMetadatasToCreate MORPH_RELATION test su
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"kanbanAggregateOperationViewUniversalIdentifiers": [],
"label": "newFieldLabel",
@@ -161,7 +161,7 @@ exports[`fromCreateFieldInputToFlatFieldMetadatasToCreate MORPH_RELATION test su
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"kanbanAggregateOperationViewUniversalIdentifiers": [],
"label": "Pet",
@@ -197,7 +197,7 @@ exports[`fromCreateFieldInputToFlatFieldMetadatasToCreate MORPH_RELATION test su
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"kanbanAggregateOperationViewUniversalIdentifiers": [],
"label": "newFieldLabel",
@@ -231,7 +231,7 @@ exports[`fromCreateFieldInputToFlatFieldMetadatasToCreate MORPH_RELATION test su
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"kanbanAggregateOperationViewUniversalIdentifiers": [],
"label": "Company",
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/utils/from-flat-field-metadata-to-field-metadata-dto.util.ts b/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/utils/from-flat-field-metadata-to-field-metadata-dto.util.ts
index 7c226fb6e82..7566e0f9df0 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/utils/from-flat-field-metadata-to-field-metadata-dto.util.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/utils/from-flat-field-metadata-to-field-metadata-dto.util.ts
@@ -25,7 +25,7 @@ export const fromFlatFieldMetadataToFieldMetadataDto = (
isActive,
isLabelSyncedWithName,
isSystem,
- isUIReadOnly,
+ isUIEditable,
options,
morphId,
applicationId,
@@ -44,7 +44,8 @@ export const fromFlatFieldMetadataToFieldMetadataDto = (
isCustom: !belongsToTwentyStandardApp(flatFieldMetadata),
isLabelSyncedWithName,
isSystem,
- isUIReadOnly,
+ isUIEditable,
+ isUIReadOnly: !isUIEditable,
options,
createdAt: new Date(createdAt),
updatedAt: new Date(updatedAt),
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/utils/get-default-flat-field-metadata-from-create-field-input.util.ts b/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/utils/get-default-flat-field-metadata-from-create-field-input.util.ts
index 493b6471f66..63d06b57a33 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/utils/get-default-flat-field-metadata-from-create-field-input.util.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-field-metadata/utils/get-default-flat-field-metadata-from-create-field-input.util.ts
@@ -1,4 +1,7 @@
-import { extractAndSanitizeObjectStringFields } from 'twenty-shared/utils';
+import {
+ extractAndSanitizeObjectStringFields,
+ isDefined,
+} from 'twenty-shared/utils';
import { v4 } from 'uuid';
import { type FlatApplication } from 'src/engine/core-modules/application/types/flat-application.type';
@@ -53,7 +56,13 @@ export const getDefaultFlatFieldMetadata = ({
: resolvedDefaultValue,
createdAt,
updatedAt: createdAt,
- isUIReadOnly: createFieldInput.isUIReadOnly ?? false,
+ // isUIReadOnly is the deprecated alias of isUIEditable (inverted
+ // polarity), kept for one release; isUIEditable wins when both are set.
+ isUIEditable:
+ createFieldInput.isUIEditable ??
+ (isDefined(createFieldInput.isUIReadOnly)
+ ? !createFieldInput.isUIReadOnly
+ : true),
morphId: null,
applicationUniversalIdentifier: flatApplication.universalIdentifier,
objectMetadataUniversalIdentifier,
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/__mocks__/get-flat-object-metadata.mock.ts b/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/__mocks__/get-flat-object-metadata.mock.ts
index 15b7e9d825d..b2f340c6daf 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/__mocks__/get-flat-object-metadata.mock.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/__mocks__/get-flat-object-metadata.mock.ts
@@ -34,7 +34,8 @@ export const getFlatObjectMetadataMock = (
isRemote: false,
isSearchable: true,
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: true,
+ isUICreatable: true,
labelIdentifierFieldMetadataId,
labelPlural: 'default flat object metadata label plural',
labelSingular: 'default flat object metadata label singular',
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/utils/from-create-object-input-to-flat-object-metadata-and-flat-field-metadatas-to-create.util.ts b/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/utils/from-create-object-input-to-flat-object-metadata-and-flat-field-metadatas-to-create.util.ts
index 05e87fc87bb..b22c52ee8a4 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/utils/from-create-object-input-to-flat-object-metadata-and-flat-field-metadatas-to-create.util.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/utils/from-create-object-input-to-flat-object-metadata-and-flat-field-metadatas-to-create.util.ts
@@ -78,7 +78,8 @@ export const fromCreateObjectInputToFlatObjectMetadataAndFlatFieldMetadatasToCre
isLabelSyncedWithName: createObjectInput.isLabelSyncedWithName ?? false,
isRemote: createObjectInput.isRemote ?? false,
isSearchable: true,
- isUIReadOnly: false,
+ isUIEditable: true,
+ isUICreatable: true,
isSystem: false,
labelPlural: capitalize(createObjectInput.labelPlural),
labelSingular: capitalize(createObjectInput.labelSingular),
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/utils/from-flat-object-metadata-to-object-metadata-dto.util.ts b/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/utils/from-flat-object-metadata-to-object-metadata-dto.util.ts
index d3811a703ff..30587ae6040 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/utils/from-flat-object-metadata-to-object-metadata-dto.util.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-object-metadata/utils/from-flat-object-metadata-to-object-metadata-dto.util.ts
@@ -21,7 +21,8 @@ export const fromFlatObjectMetadataToObjectMetadataDto = (
isRemote,
isSearchable,
isSystem,
- isUIReadOnly,
+ isUIEditable,
+ isUICreatable,
labelPlural,
labelSingular,
namePlural,
@@ -41,7 +42,9 @@ export const fromFlatObjectMetadataToObjectMetadataDto = (
isRemote,
isSearchable,
isSystem,
- isUIReadOnly,
+ isUIEditable,
+ isUICreatable,
+ isUIReadOnly: !isUIEditable,
labelPlural,
labelSingular,
namePlural,
diff --git a/packages/twenty-server/src/engine/metadata-modules/object-metadata/constants/partial-system-flat-field-metadatas.constant.ts b/packages/twenty-server/src/engine/metadata-modules/object-metadata/constants/partial-system-flat-field-metadatas.constant.ts
index 9be66768f4e..347290512a7 100644
--- a/packages/twenty-server/src/engine/metadata-modules/object-metadata/constants/partial-system-flat-field-metadatas.constant.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/object-metadata/constants/partial-system-flat-field-metadatas.constant.ts
@@ -23,7 +23,7 @@ const PARTIAL_ID_FIELD = {
isUnique: true,
isActive: true,
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isLabelSyncedWithName: false,
defaultValue: 'uuid',
options: null,
@@ -51,7 +51,7 @@ const PARTIAL_CREATED_AT_FIELD = {
isUnique: false,
isActive: true,
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isLabelSyncedWithName: false,
defaultValue: 'now',
options: null,
@@ -79,7 +79,7 @@ const PARTIAL_UPDATED_AT_FIELD = {
isUnique: false,
isActive: true,
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isLabelSyncedWithName: false,
defaultValue: 'now',
options: null,
@@ -107,7 +107,7 @@ const PARTIAL_DELETED_AT_FIELD = {
isUnique: false,
isActive: true,
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isLabelSyncedWithName: false,
defaultValue: null,
options: null,
@@ -135,7 +135,7 @@ const PARTIAL_CREATED_BY_FIELD = {
isUnique: false,
isActive: true,
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isLabelSyncedWithName: false,
defaultValue: { name: "''", source: "'MANUAL'" },
options: null,
@@ -163,7 +163,7 @@ const PARTIAL_UPDATED_BY_FIELD = {
isUnique: false,
isActive: true,
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isLabelSyncedWithName: false,
defaultValue: { name: "''", source: "'MANUAL'" },
options: null,
@@ -191,7 +191,7 @@ const PARTIAL_POSITION_FIELD = {
isUnique: false,
isActive: true,
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isLabelSyncedWithName: false,
defaultValue: 0,
options: null,
@@ -219,7 +219,7 @@ const PARTIAL_SEARCH_VECTOR_FIELD = {
isUnique: false,
isActive: true,
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isLabelSyncedWithName: false,
defaultValue: null,
options: null,
diff --git a/packages/twenty-server/src/engine/metadata-modules/object-metadata/constants/rename-is-ui-read-only-to-is-ui-editable-upgrade-command-name.constant.ts b/packages/twenty-server/src/engine/metadata-modules/object-metadata/constants/rename-is-ui-read-only-to-is-ui-editable-upgrade-command-name.constant.ts
new file mode 100644
index 00000000000..7810f762ebf
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/object-metadata/constants/rename-is-ui-read-only-to-is-ui-editable-upgrade-command-name.constant.ts
@@ -0,0 +1,8 @@
+// Step name of the 2.13 fast instance command that renames isUIReadOnly to
+// isUIEditable (inverted polarity) and adds isUICreatable. Referenced by the
+// upgrade-aware entity decorators on objectMetadata and fieldMetadata so that
+// cross-version upgrades from pre-2.13 schemas keep working: before this step
+// is applied, the new columns are hidden from TypeORM and the legacy
+// isUIReadOnly column is still written.
+export const RENAME_IS_UI_READ_ONLY_TO_IS_UI_EDITABLE_UPGRADE_COMMAND_NAME =
+ '2.13.0_RenameIsUiReadOnlyToIsUiEditableFastInstanceCommand_1781277453604';
diff --git a/packages/twenty-server/src/engine/metadata-modules/object-metadata/dtos/object-metadata.dto.ts b/packages/twenty-server/src/engine/metadata-modules/object-metadata/dtos/object-metadata.dto.ts
index 98b000f03c8..76b8c933986 100644
--- a/packages/twenty-server/src/engine/metadata-modules/object-metadata/dtos/object-metadata.dto.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/object-metadata/dtos/object-metadata.dto.ts
@@ -78,6 +78,16 @@ export class ObjectMetadataDTO {
isSystem: boolean;
@FilterableField()
+ isUIEditable: boolean;
+
+ @FilterableField()
+ isUICreatable: boolean;
+
+ // Deprecated alias kept for one release: stays filterable so ObjectFilter
+ // keeps its isUIReadOnly member and external API consumers are not broken.
+ @FilterableField({
+ deprecationReason: 'Use isUIEditable',
+ })
isUIReadOnly: boolean;
@FilterableField()
diff --git a/packages/twenty-server/src/engine/metadata-modules/object-metadata/object-metadata.entity.ts b/packages/twenty-server/src/engine/metadata-modules/object-metadata/object-metadata.entity.ts
index a00ec6d7c89..077471d39dd 100644
--- a/packages/twenty-server/src/engine/metadata-modules/object-metadata/object-metadata.entity.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/object-metadata/object-metadata.entity.ts
@@ -16,7 +16,9 @@ import { type ObjectStandardOverridesDTO } from 'src/engine/metadata-modules/obj
import { FieldPermissionEntity } from 'src/engine/metadata-modules/object-permission/field-permission/field-permission.entity';
import { ObjectPermissionEntity } from 'src/engine/metadata-modules/object-permission/object-permission.entity';
import { ViewEntity } from 'src/engine/metadata-modules/view/entities/view.entity';
+import { WasIntroducedInUpgrade } from 'src/engine/core-modules/upgrade/decorators/was-introduced-in-upgrade.decorator';
import { WasRemovedInUpgrade } from 'src/engine/core-modules/upgrade/decorators/was-removed-in-upgrade.decorator';
+import { RENAME_IS_UI_READ_ONLY_TO_IS_UI_EDITABLE_UPGRADE_COMMAND_NAME } from 'src/engine/metadata-modules/object-metadata/constants/rename-is-ui-read-only-to-is-ui-editable-upgrade-command-name.constant';
import { SyncableEntity } from 'src/engine/workspace-manager/types/syncable-entity.interface';
import { type JsonbProperty } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/jsonb-property.type';
@@ -86,8 +88,26 @@ export class ObjectMetadataEntity
@Column({ default: false })
isSystem: boolean;
- @Column({ default: false })
- isUIReadOnly: boolean;
+ @WasIntroducedInUpgrade({
+ upgradeCommandName:
+ RENAME_IS_UI_READ_ONLY_TO_IS_UI_EDITABLE_UPGRADE_COMMAND_NAME,
+ })
+ @Column({ default: true })
+ isUIEditable: boolean;
+
+ @WasRemovedInUpgrade({
+ upgradeCommandName:
+ RENAME_IS_UI_READ_ONLY_TO_IS_UI_EDITABLE_UPGRADE_COMMAND_NAME,
+ })
+ @Column({ type: 'boolean', default: false })
+ isUIReadOnly: WasRemovedInUpgrade<boolean>;
+
+ @WasIntroducedInUpgrade({
+ upgradeCommandName:
+ RENAME_IS_UI_READ_ONLY_TO_IS_UI_EDITABLE_UPGRADE_COMMAND_NAME,
+ })
+ @Column({ default: true })
+ isUICreatable: boolean;
@Column({ default: true })
isAuditLogged: boolean;
diff --git a/packages/twenty-server/src/engine/metadata-modules/object-metadata/object-metadata.resolver.ts b/packages/twenty-server/src/engine/metadata-modules/object-metadata/object-metadata.resolver.ts
index f5e9be16eb9..f48619a28eb 100644
--- a/packages/twenty-server/src/engine/metadata-modules/object-metadata/object-metadata.resolver.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/object-metadata/object-metadata.resolver.ts
@@ -63,6 +63,15 @@ export class ObjectMetadataResolver {
});
}
+ @ResolveField(() => Boolean, {
+ deprecationReason: 'Use isUIEditable',
+ })
+ async isUIReadOnly(
+ @Parent() objectMetadata: ObjectMetadataDTO,
+ ): Promise<boolean> {
+ return !objectMetadata.isUIEditable;
+ }
+
@UseGuards(SettingsPermissionGuard(PermissionFlagType.DATA_MODEL))
@Query(() => [ObjectRecordCountDTO])
async objectRecordCounts(
diff --git a/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/__tests__/compute-flat-view-fields-to-create.util.spec.ts b/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/__tests__/compute-flat-view-fields-to-create.util.spec.ts
index c86d84be510..102ae472b50 100644
--- a/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/__tests__/compute-flat-view-fields-to-create.util.spec.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/__tests__/compute-flat-view-fields-to-create.util.spec.ts
@@ -22,7 +22,7 @@ const makeFieldMetadata = (
type: overrides.type,
isActive: true,
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: true,
isNullable: true,
isUnique: false,
isLabelSyncedWithName: false,
diff --git a/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/build-default-flat-field-metadatas-for-custom-object.util.ts b/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/build-default-flat-field-metadatas-for-custom-object.util.ts
index ca37de53149..85622568925 100644
--- a/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/build-default-flat-field-metadatas-for-custom-object.util.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/build-default-flat-field-metadatas-for-custom-object.util.ts
@@ -134,7 +134,7 @@ export const buildDefaultFlatFieldMetadatasForCustomObject = ({
isNullable: true,
isActive: true,
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: true,
defaultValue: null,
createdAt: now,
updatedAt: now,
diff --git a/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/from-object-metadata-entity-to-object-metadata-dto.util.ts b/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/from-object-metadata-entity-to-object-metadata-dto.util.ts
index eeacf3f3ec6..308814a8dc9 100644
--- a/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/from-object-metadata-entity-to-object-metadata-dto.util.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/object-metadata/utils/from-object-metadata-entity-to-object-metadata-dto.util.ts
@@ -21,7 +21,9 @@ export const fromObjectMetadataEntityToObjectMetadataDto = (
isRemote: entity.isRemote,
isActive: entity.isActive,
isSystem: entity.isSystem,
- isUIReadOnly: entity.isUIReadOnly,
+ isUIEditable: entity.isUIEditable,
+ isUICreatable: entity.isUICreatable,
+ isUIReadOnly: !entity.isUIEditable,
isSearchable: entity.isSearchable,
isLabelSyncedWithName: entity.isLabelSyncedWithName,
workspaceId: entity.workspaceId,
diff --git a/packages/twenty-server/src/engine/twenty-orm/entity-manager/workspace-entity-manager.spec.ts b/packages/twenty-server/src/engine/twenty-orm/entity-manager/workspace-entity-manager.spec.ts
index a0f6bf17102..b31f4647d9b 100644
--- a/packages/twenty-server/src/engine/twenty-orm/entity-manager/workspace-entity-manager.spec.ts
+++ b/packages/twenty-server/src/engine/twenty-orm/entity-manager/workspace-entity-manager.spec.ts
@@ -120,7 +120,8 @@ describe('WorkspaceEntityManager', () => {
standardOverrides: null,
applicationId: 'test-application-id',
isLabelSyncedWithName: false,
- isUIReadOnly: false,
+ isUIEditable: true,
+ isUICreatable: true,
duplicateCriteria: null,
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(),
@@ -154,7 +155,7 @@ describe('WorkspaceEntityManager', () => {
icon: null,
isActive: true,
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: true,
isUnique: false,
options: null,
settings: null,
diff --git a/packages/twenty-server/src/engine/twenty-orm/repository/__tests__/workspace.repository.spec.ts b/packages/twenty-server/src/engine/twenty-orm/repository/__tests__/workspace.repository.spec.ts
index f6e92f29bf7..32bb92d206e 100644
--- a/packages/twenty-server/src/engine/twenty-orm/repository/__tests__/workspace.repository.spec.ts
+++ b/packages/twenty-server/src/engine/twenty-orm/repository/__tests__/workspace.repository.spec.ts
@@ -73,7 +73,7 @@ describe('WorkspaceRepository', () => {
isNullable: false,
isUnique: true,
isSystem: true,
- isUIReadOnly: false,
+ isUIEditable: true,
isLabelSyncedWithName: false,
label: 'ID',
description: 'Record ID',
diff --git a/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/compute-relation-connect-query-configs.util.spec.ts b/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/compute-relation-connect-query-configs.util.spec.ts
index 54c98656a49..ebce8715bc3 100644
--- a/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/compute-relation-connect-query-configs.util.spec.ts
+++ b/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/compute-relation-connect-query-configs.util.spec.ts
@@ -233,7 +233,7 @@ describe('computeRelationConnectQueryConfigs', () => {
shortcut: null,
description: null,
standardOverrides: null,
- isUIReadOnly: false,
+ isUIEditable: true,
labelIdentifierFieldMetadataId: null,
imageIdentifierFieldMetadataId: null,
duplicateCriteria: null,
diff --git a/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/get-column-name-to-field-metadata-id.util.spec.ts b/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/get-column-name-to-field-metadata-id.util.spec.ts
index a85e8368f85..3e7ad4e630d 100644
--- a/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/get-column-name-to-field-metadata-id.util.spec.ts
+++ b/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/get-column-name-to-field-metadata-id.util.spec.ts
@@ -36,7 +36,8 @@ describe('getColumnNameToFieldMetadataIdMap', () => {
shortcut: null,
description: null,
standardOverrides: null,
- isUIReadOnly: false,
+ isUIEditable: true,
+ isUICreatable: true,
labelIdentifierFieldMetadataId: null,
imageIdentifierFieldMetadataId: null,
duplicateCriteria: null,
diff --git a/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/get-field-metadata-id-to-column-names-map.util.spec.ts b/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/get-field-metadata-id-to-column-names-map.util.spec.ts
index b2a34b2ba0d..aad3c6e3f3f 100644
--- a/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/get-field-metadata-id-to-column-names-map.util.spec.ts
+++ b/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/get-field-metadata-id-to-column-names-map.util.spec.ts
@@ -36,7 +36,8 @@ describe('getFieldMetadataIdToColumnNamesMap', () => {
shortcut: null,
description: null,
standardOverrides: null,
- isUIReadOnly: false,
+ isUIEditable: true,
+ isUICreatable: true,
labelIdentifierFieldMetadataId: null,
imageIdentifierFieldMetadataId: null,
duplicateCriteria: null,
diff --git a/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/is-record-matching-rls-row-level-permission-predicate.util.spec.ts b/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/is-record-matching-rls-row-level-permission-predicate.util.spec.ts
index 36ef6e3cbff..27f29c781f7 100644
--- a/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/is-record-matching-rls-row-level-permission-predicate.util.spec.ts
+++ b/packages/twenty-server/src/engine/twenty-orm/utils/__tests__/is-record-matching-rls-row-level-permission-predicate.util.spec.ts
@@ -36,7 +36,8 @@ describe('isRecordMatchingRLSRowLevelPermissionPredicate', () => {
shortcut: null,
description: null,
standardOverrides: null,
- isUIReadOnly: false,
+ isUIEditable: true,
+ isUICreatable: true,
labelIdentifierFieldMetadataId: null,
imageIdentifierFieldMetadataId: null,
duplicateCriteria: null,
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/standard-command-menu-item.constant.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/standard-command-menu-item.constant.ts
index 2b32b4b7d52..a52dfaa8e69 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/standard-command-menu-item.constant.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/constants/standard-command-menu-item.constant.ts
@@ -44,7 +44,7 @@ export const STANDARD_COMMAND_MENU_ITEMS = {
shortLabel: 'New ${capitalize(objectMetadataItem.labelSingular)}',
availabilityType: CommandMenuItemAvailabilityType.GLOBAL_OBJECT_CONTEXT,
conditionalAvailabilityExpression:
- 'pageType == "INDEX_PAGE" and objectPermissions.canUpdateObjectRecords and not hasAnySoftDeleteFilterOnView',
+ 'pageType == "INDEX_PAGE" and objectPermissions.canUpdateObjectRecords and not hasAnySoftDeleteFilterOnView and objectMetadataItem.isUICreatable and objectMetadataItem.isUIEditable and not objectMetadataItem.isSystem and not objectMetadataItem.isRemote',
availabilityObjectMetadataUniversalIdentifier: null,
frontComponentUniversalIdentifier: null,
engineComponentKey: EngineComponentKey.CREATE_NEW_RECORD,
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-attachment-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-attachment-standard-flat-field-metadata.util.ts
index 41156322bec..bbde7ffc34f 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-attachment-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-attachment-standard-flat-field-metadata.util.ts
@@ -41,7 +41,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -60,7 +60,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
@@ -82,7 +82,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
@@ -104,7 +104,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
},
@@ -126,7 +126,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Attachment name`),
icon: 'IconFileUpload',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -143,7 +143,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Attachment file`),
icon: 'IconFileUpload',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: {
maxNumberOfValues: 1,
},
@@ -165,7 +165,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
icon: 'IconLink',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -184,7 +184,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
icon: 'IconList',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: "'OTHER'",
options: [
{
@@ -260,7 +260,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -285,7 +285,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -352,7 +352,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Attachment target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'task',
targetFieldName: 'attachments',
settings: {
@@ -377,7 +377,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Attachment target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'note',
targetFieldName: 'attachments',
settings: {
@@ -402,7 +402,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Attachment target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'person',
targetFieldName: 'attachments',
settings: {
@@ -427,7 +427,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Attachment target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'company',
targetFieldName: 'attachments',
settings: {
@@ -452,7 +452,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Attachment target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'opportunity',
targetFieldName: 'attachments',
settings: {
@@ -477,7 +477,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Attachment target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'dashboard',
targetFieldName: 'attachments',
settings: {
@@ -502,7 +502,7 @@ export const buildAttachmentStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Attachment target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'workflow',
targetFieldName: 'attachments',
settings: {
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-blocklist-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-blocklist-standard-flat-field-metadata.util.ts
index c73bff11390..a11176e5723 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-blocklist-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-blocklist-standard-flat-field-metadata.util.ts
@@ -40,7 +40,7 @@ export const buildBlocklistStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -59,7 +59,7 @@ export const buildBlocklistStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
@@ -81,7 +81,7 @@ export const buildBlocklistStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
@@ -103,7 +103,7 @@ export const buildBlocklistStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
},
@@ -123,7 +123,7 @@ export const buildBlocklistStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -148,7 +148,7 @@ export const buildBlocklistStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -214,7 +214,7 @@ export const buildBlocklistStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Handle`),
icon: 'IconAt',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -234,7 +234,7 @@ export const buildBlocklistStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`WorkspaceMember`),
icon: 'IconCircleUser',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'workspaceMember',
targetFieldName: 'blocklist',
settings: {
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-calendar-channel-event-association-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-calendar-channel-event-association-standard-flat-field-metadata.util.ts
index 84080205513..4673b0a798a 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-calendar-channel-event-association-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-calendar-channel-event-association-standard-flat-field-metadata.util.ts
@@ -42,7 +42,7 @@ export const buildCalendarChannelEventAssociationStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -61,7 +61,7 @@ export const buildCalendarChannelEventAssociationStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -81,7 +81,7 @@ export const buildCalendarChannelEventAssociationStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -101,7 +101,7 @@ export const buildCalendarChannelEventAssociationStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
standardObjectMetadataRelatedEntityIds,
@@ -119,7 +119,7 @@ export const buildCalendarChannelEventAssociationStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -144,7 +144,7 @@ export const buildCalendarChannelEventAssociationStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -210,7 +210,7 @@ export const buildCalendarChannelEventAssociationStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Event external ID`),
icon: 'IconCalendar',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -227,7 +227,7 @@ export const buildCalendarChannelEventAssociationStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Recurring Event ID`),
icon: 'IconHistory',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -244,7 +244,7 @@ export const buildCalendarChannelEventAssociationStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Channel ID`),
icon: 'IconCalendar',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -262,7 +262,7 @@ export const buildCalendarChannelEventAssociationStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Event ID`),
icon: 'IconCalendar',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'calendarEvent',
targetFieldName: 'calendarChannelEventAssociations',
settings: {
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-calendar-event-participant-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-calendar-event-participant-standard-flat-field-metadata.util.ts
index afbb03c8861..3bf59665daf 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-calendar-event-participant-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-calendar-event-participant-standard-flat-field-metadata.util.ts
@@ -42,7 +42,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -61,7 +61,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -81,7 +81,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -101,7 +101,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
standardObjectMetadataRelatedEntityIds,
@@ -119,7 +119,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -144,7 +144,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -208,7 +208,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Handle`),
icon: 'IconMail',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -225,7 +225,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Display Name`),
icon: 'IconUser',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -242,7 +242,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Is Organizer`),
icon: 'IconUser',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: false,
},
standardObjectMetadataRelatedEntityIds,
@@ -260,7 +260,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Response Status`),
icon: 'IconUser',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: "'NEEDS_ACTION'",
options: [
{
@@ -309,7 +309,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Event ID`),
icon: 'IconCalendar',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'calendarEvent',
targetFieldName: 'calendarEventParticipants',
settings: {
@@ -334,7 +334,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Person`),
icon: 'IconUser',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'person',
targetFieldName: 'calendarEventParticipants',
settings: {
@@ -359,7 +359,7 @@ export const buildCalendarEventParticipantStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Workspace Member`),
icon: 'IconUser',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'workspaceMember',
targetFieldName: 'calendarEventParticipants',
settings: {
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-calendar-event-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-calendar-event-standard-flat-field-metadata.util.ts
index 8eda728f482..5e3f32b43f4 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-calendar-event-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-calendar-event-standard-flat-field-metadata.util.ts
@@ -38,7 +38,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -57,7 +57,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -77,7 +77,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -97,7 +97,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
standardObjectMetadataRelatedEntityIds,
@@ -115,7 +115,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -140,7 +140,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -204,7 +204,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Title`),
icon: 'IconH1',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -221,7 +221,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Is canceled`),
icon: 'IconCalendarCancel',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: false,
},
standardObjectMetadataRelatedEntityIds,
@@ -239,7 +239,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Is Full Day`),
icon: 'IconHours24',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: false,
},
standardObjectMetadataRelatedEntityIds,
@@ -257,7 +257,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Start Date`),
icon: 'IconCalendarClock',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -274,7 +274,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`End Date`),
icon: 'IconCalendarClock',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -291,7 +291,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Creation DateTime`),
icon: 'IconCalendarPlus',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -308,7 +308,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Update DateTime`),
icon: 'IconCalendarCog',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -325,7 +325,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Description`),
icon: 'IconFileDescription',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: { displayedMaxRows: 99 },
},
standardObjectMetadataRelatedEntityIds,
@@ -343,7 +343,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Location`),
icon: 'IconMapPin',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -360,7 +360,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`iCal UID`),
icon: 'IconKey',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -377,7 +377,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Conference Solution`),
icon: 'IconScreenShare',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -394,7 +394,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Meet Link`),
icon: 'IconLink',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -454,7 +454,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Calendar Channel Event Associations`),
icon: 'IconCalendar',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'calendarChannelEventAssociation',
targetFieldName: 'calendarEvent',
settings: {
@@ -477,7 +477,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Event Participants`),
icon: 'IconUserCircle',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'calendarEventParticipant',
targetFieldName: 'calendarEvent',
settings: {
@@ -500,7 +500,7 @@ export const buildCalendarEventStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Call Recordings`),
icon: 'IconPhone',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'callRecording',
targetFieldName: 'calendarEvent',
settings: {
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-call-recording-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-call-recording-standard-flat-field-metadata.util.ts
index 8dc6ad57daa..6e6e44aaf6a 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-call-recording-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-call-recording-standard-flat-field-metadata.util.ts
@@ -38,7 +38,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -57,7 +57,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -77,7 +77,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -97,7 +97,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
standardObjectMetadataRelatedEntityIds,
@@ -115,7 +115,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Meeting title from the calendar event`),
icon: 'IconNotes',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -132,7 +132,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Recording lifecycle status`),
icon: 'IconProgress',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: "'SCHEDULED'",
options: [
{
@@ -196,7 +196,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
),
icon: 'IconApps',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -215,7 +215,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
),
icon: 'IconRobot',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -232,7 +232,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Source app recording id, when present`),
icon: 'IconId',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -249,7 +249,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Actual recording start`),
icon: 'IconCalendarClock',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -266,7 +266,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Actual recording end`),
icon: 'IconCalendarClock',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -283,7 +283,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Video recording`),
icon: 'IconVideo',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: {
maxNumberOfValues: 1,
},
@@ -303,7 +303,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Audio-only recording`),
icon: 'IconHeadphones',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: {
maxNumberOfValues: 1,
},
@@ -323,7 +323,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Normalized diarized transcript`),
icon: 'IconFileText',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -340,7 +340,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Recording summary`),
icon: 'IconFileText',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -358,7 +358,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Calendar Event`),
icon: 'IconCalendar',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'calendarEvent',
targetFieldName: 'callRecordings',
settings: {
@@ -382,7 +382,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -407,7 +407,7 @@ export const buildCallRecordingStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-company-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-company-standard-flat-field-metadata.util.ts
index 0e97bf505cd..0c17e1fe6a7 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-company-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-company-standard-flat-field-metadata.util.ts
@@ -40,7 +40,7 @@ export const buildCompanyStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -59,7 +59,7 @@ export const buildCompanyStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
@@ -81,7 +81,7 @@ export const buildCompanyStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
@@ -103,7 +103,7 @@ export const buildCompanyStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
},
@@ -229,7 +229,7 @@ export const buildCompanyStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -254,7 +254,7 @@ export const buildCompanyStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -350,7 +350,7 @@ export const buildCompanyStandardFlatFieldMetadatas = ({
label: i18nLabel(msg`Tasks`),
description: i18nLabel(msg`Tasks tied to the company`),
icon: 'IconCheckbox',
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: true,
targetObjectName: 'taskTarget',
targetFieldName: 'targetCompany',
@@ -373,7 +373,7 @@ export const buildCompanyStandardFlatFieldMetadatas = ({
label: i18nLabel(msg`Notes`),
description: i18nLabel(msg`Notes tied to the company`),
icon: 'IconNotes',
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: true,
targetObjectName: 'noteTarget',
targetFieldName: 'targetCompany',
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-dashboard-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-dashboard-standard-flat-field-metadata.util.ts
index 018feb777d2..7bb89783fd4 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-dashboard-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-dashboard-standard-flat-field-metadata.util.ts
@@ -39,7 +39,7 @@ export const buildDashboardStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -58,7 +58,7 @@ export const buildDashboardStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -78,7 +78,7 @@ export const buildDashboardStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -98,7 +98,7 @@ export const buildDashboardStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
standardObjectMetadataRelatedEntityIds,
@@ -152,7 +152,7 @@ export const buildDashboardStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Dashboard page layout`),
icon: 'IconLayout',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -169,7 +169,7 @@ export const buildDashboardStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -194,7 +194,7 @@ export const buildDashboardStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-channel-message-association-message-folder-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-channel-message-association-message-folder-standard-flat-field-metadata.util.ts
index 14c6f3cf1a0..78f6750c190 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-channel-message-association-message-folder-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-channel-message-association-message-folder-standard-flat-field-metadata.util.ts
@@ -46,7 +46,7 @@ export const buildMessageChannelMessageAssociationMessageFolderStandardFlatField
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -65,7 +65,7 @@ export const buildMessageChannelMessageAssociationMessageFolderStandardFlatField
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -85,7 +85,7 @@ export const buildMessageChannelMessageAssociationMessageFolderStandardFlatField
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -105,7 +105,7 @@ export const buildMessageChannelMessageAssociationMessageFolderStandardFlatField
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
standardObjectMetadataRelatedEntityIds,
@@ -123,7 +123,7 @@ export const buildMessageChannelMessageAssociationMessageFolderStandardFlatField
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -148,7 +148,7 @@ export const buildMessageChannelMessageAssociationMessageFolderStandardFlatField
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -215,7 +215,7 @@ export const buildMessageChannelMessageAssociationMessageFolderStandardFlatField
description: i18nLabel(msg`Message Channel Message Association`),
icon: 'IconMessage',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'messageChannelMessageAssociation',
targetFieldName: 'messageFolders',
settings: {
@@ -239,7 +239,7 @@ export const buildMessageChannelMessageAssociationMessageFolderStandardFlatField
description: i18nLabel(msg`Message Folder`),
icon: 'IconFolder',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-channel-message-association-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-channel-message-association-standard-flat-field-metadata.util.ts
index da0918f14e4..3040c7a3978 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-channel-message-association-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-channel-message-association-standard-flat-field-metadata.util.ts
@@ -47,7 +47,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -66,7 +66,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -86,7 +86,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -106,7 +106,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
standardObjectMetadataRelatedEntityIds,
@@ -124,7 +124,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -149,7 +149,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -215,7 +215,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
description: i18nLabel(msg`Message id from the messaging provider`),
icon: 'IconHash',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -232,7 +232,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
description: i18nLabel(msg`Thread id from the messaging provider`),
icon: 'IconHash',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -249,7 +249,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
description: i18nLabel(msg`Message Direction`),
icon: 'IconDirection',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: `'${MessageDirection.INCOMING}'`,
options: [
{
@@ -283,7 +283,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
description: i18nLabel(msg`Message Channel Id`),
icon: 'IconHash',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -301,7 +301,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
description: i18nLabel(msg`Message Thread Id`),
icon: 'IconHash',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'messageThread',
targetFieldName: 'messageChannelMessageAssociations',
settings: {
@@ -326,7 +326,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
description: i18nLabel(msg`Message Id`),
icon: 'IconHash',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'message',
targetFieldName: 'messageChannelMessageAssociations',
settings: {
@@ -353,7 +353,7 @@ export const buildMessageChannelMessageAssociationStandardFlatFieldMetadatas =
),
icon: 'IconFolders',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'messageChannelMessageAssociationMessageFolder',
targetFieldName: 'messageChannelMessageAssociation',
settings: {
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-participant-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-participant-standard-flat-field-metadata.util.ts
index 8f574c81a0e..5605aa214eb 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-participant-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-participant-standard-flat-field-metadata.util.ts
@@ -43,7 +43,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -62,7 +62,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -82,7 +82,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -102,7 +102,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
standardObjectMetadataRelatedEntityIds,
@@ -120,7 +120,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -145,7 +145,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -209,7 +209,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Role`),
icon: 'IconAt',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: `'${MessageParticipantRole.FROM}'`,
options: [
{
@@ -257,7 +257,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Handle`),
icon: 'IconAt',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -274,7 +274,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Display Name`),
icon: 'IconUser',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -292,7 +292,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Message`),
icon: 'IconMessage',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'message',
targetFieldName: 'messageParticipants',
settings: {
@@ -317,7 +317,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Person`),
icon: 'IconUser',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'person',
targetFieldName: 'messageParticipants',
settings: {
@@ -342,7 +342,7 @@ export const buildMessageParticipantStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Workspace member`),
icon: 'IconCircleUser',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'workspaceMember',
targetFieldName: 'messageParticipants',
settings: {
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-standard-flat-field-metadata.util.ts
index 328f0b0d0d8..27665227e29 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-standard-flat-field-metadata.util.ts
@@ -39,7 +39,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -58,7 +58,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -78,7 +78,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -98,7 +98,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
standardObjectMetadataRelatedEntityIds,
@@ -116,7 +116,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -141,7 +141,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -205,7 +205,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Message id from the message header`),
icon: 'IconHash',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -222,7 +222,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Subject`),
icon: 'IconMessage',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -239,7 +239,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Text`),
icon: 'IconMessage',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -256,7 +256,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The date the message was received`),
icon: 'IconCalendar',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -274,7 +274,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Message Thread Id`),
icon: 'IconHash',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'messageThread',
targetFieldName: 'messages',
settings: {
@@ -299,7 +299,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Message Participants`),
icon: 'IconUserCircle',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'messageParticipant',
targetFieldName: 'message',
settings: {
@@ -322,7 +322,7 @@ export const buildMessageStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Messages from the channel.`),
icon: 'IconMessage',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'messageChannelMessageAssociation',
targetFieldName: 'message',
settings: {
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-thread-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-thread-standard-flat-field-metadata.util.ts
index f81d2ad623f..94e84a28d81 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-thread-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-message-thread-standard-flat-field-metadata.util.ts
@@ -38,7 +38,7 @@ export const buildMessageThreadStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -57,7 +57,7 @@ export const buildMessageThreadStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -77,7 +77,7 @@ export const buildMessageThreadStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -97,7 +97,7 @@ export const buildMessageThreadStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
standardObjectMetadataRelatedEntityIds,
@@ -115,7 +115,7 @@ export const buildMessageThreadStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -140,7 +140,7 @@ export const buildMessageThreadStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -204,7 +204,7 @@ export const buildMessageThreadStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Subject`),
icon: 'IconMessage',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -222,7 +222,7 @@ export const buildMessageThreadStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Messages from the thread.`),
icon: 'IconMessage',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'message',
targetFieldName: 'messageThread',
settings: {
@@ -245,7 +245,7 @@ export const buildMessageThreadStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Messages from the channel.`),
icon: 'IconMessage',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'messageChannelMessageAssociation',
targetFieldName: 'messageThread',
settings: {
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-note-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-note-standard-flat-field-metadata.util.ts
index ee825b99795..3c60407a102 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-note-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-note-standard-flat-field-metadata.util.ts
@@ -39,7 +39,7 @@ export const buildNoteStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -58,7 +58,7 @@ export const buildNoteStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
@@ -80,7 +80,7 @@ export const buildNoteStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
@@ -102,7 +102,7 @@ export const buildNoteStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
},
@@ -174,7 +174,7 @@ export const buildNoteStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -199,7 +199,7 @@ export const buildNoteStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-note-target-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-note-target-standard-flat-field-metadata.util.ts
index f3f238ead79..f003face42e 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-note-target-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-note-target-standard-flat-field-metadata.util.ts
@@ -40,7 +40,7 @@ export const buildNoteTargetStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -59,7 +59,7 @@ export const buildNoteTargetStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
@@ -81,7 +81,7 @@ export const buildNoteTargetStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
@@ -103,7 +103,7 @@ export const buildNoteTargetStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
},
@@ -123,7 +123,7 @@ export const buildNoteTargetStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -148,7 +148,7 @@ export const buildNoteTargetStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -215,7 +215,7 @@ export const buildNoteTargetStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`NoteTarget note`),
icon: 'IconNotes',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'note',
targetFieldName: 'noteTargets',
settings: {
@@ -240,7 +240,7 @@ export const buildNoteTargetStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`NoteTarget target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'person',
targetFieldName: 'noteTargets',
settings: {
@@ -265,7 +265,7 @@ export const buildNoteTargetStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`NoteTarget target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'company',
targetFieldName: 'noteTargets',
settings: {
@@ -290,7 +290,7 @@ export const buildNoteTargetStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`NoteTarget target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'opportunity',
targetFieldName: 'noteTargets',
settings: {
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-opportunity-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-opportunity-standard-flat-field-metadata.util.ts
index 354450260c1..d364aa123b1 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-opportunity-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-opportunity-standard-flat-field-metadata.util.ts
@@ -40,7 +40,7 @@ export const buildOpportunityStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -59,7 +59,7 @@ export const buildOpportunityStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
@@ -81,7 +81,7 @@ export const buildOpportunityStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
@@ -103,7 +103,7 @@ export const buildOpportunityStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
},
@@ -245,7 +245,7 @@ export const buildOpportunityStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -270,7 +270,7 @@ export const buildOpportunityStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -366,7 +366,7 @@ export const buildOpportunityStandardFlatFieldMetadatas = ({
label: i18nLabel(msg`Tasks`),
description: i18nLabel(msg`Tasks tied to the opportunity`),
icon: 'IconCheckbox',
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: true,
targetObjectName: 'taskTarget',
targetFieldName: 'targetOpportunity',
@@ -389,7 +389,7 @@ export const buildOpportunityStandardFlatFieldMetadatas = ({
label: i18nLabel(msg`Notes`),
description: i18nLabel(msg`Notes tied to the opportunity`),
icon: 'IconNotes',
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: true,
targetObjectName: 'noteTarget',
targetFieldName: 'targetOpportunity',
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-person-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-person-standard-flat-field-metadata.util.ts
index 4c49670819a..e4d8932d21b 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-person-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-person-standard-flat-field-metadata.util.ts
@@ -40,7 +40,7 @@ export const buildPersonStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -59,7 +59,7 @@ export const buildPersonStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
@@ -81,7 +81,7 @@ export const buildPersonStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
@@ -103,7 +103,7 @@ export const buildPersonStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
},
@@ -268,7 +268,7 @@ export const buildPersonStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -293,7 +293,7 @@ export const buildPersonStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -366,7 +366,7 @@ export const buildPersonStandardFlatFieldMetadatas = ({
label: i18nLabel(msg`Tasks`),
description: i18nLabel(msg`Tasks tied to the contact`),
icon: 'IconCheckbox',
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: true,
targetObjectName: 'taskTarget',
targetFieldName: 'targetPerson',
@@ -389,7 +389,7 @@ export const buildPersonStandardFlatFieldMetadatas = ({
label: i18nLabel(msg`Notes`),
description: i18nLabel(msg`Notes tied to the contact`),
icon: 'IconNotes',
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: true,
targetObjectName: 'noteTarget',
targetFieldName: 'targetPerson',
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-task-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-task-standard-flat-field-metadata.util.ts
index b99155a89dc..8f13949ad84 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-task-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-task-standard-flat-field-metadata.util.ts
@@ -40,7 +40,7 @@ export const buildTaskStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -59,7 +59,7 @@ export const buildTaskStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
@@ -81,7 +81,7 @@ export const buildTaskStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
@@ -103,7 +103,7 @@ export const buildTaskStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
},
@@ -231,7 +231,7 @@ export const buildTaskStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -256,7 +256,7 @@ export const buildTaskStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-task-target-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-task-target-standard-flat-field-metadata.util.ts
index eb6582ff8d9..209b503d1cf 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-task-target-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-task-target-standard-flat-field-metadata.util.ts
@@ -40,7 +40,7 @@ export const buildTaskTargetStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -59,7 +59,7 @@ export const buildTaskTargetStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
@@ -81,7 +81,7 @@ export const buildTaskTargetStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
@@ -103,7 +103,7 @@ export const buildTaskTargetStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: {
displayFormat: DateDisplayFormat.RELATIVE,
},
@@ -123,7 +123,7 @@ export const buildTaskTargetStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -148,7 +148,7 @@ export const buildTaskTargetStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -215,7 +215,7 @@ export const buildTaskTargetStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`TaskTarget task`),
icon: 'IconCheckbox',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'task',
targetFieldName: 'taskTargets',
settings: {
@@ -240,7 +240,7 @@ export const buildTaskTargetStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`TaskTarget target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'person',
targetFieldName: 'taskTargets',
settings: {
@@ -265,7 +265,7 @@ export const buildTaskTargetStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`TaskTarget target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'company',
targetFieldName: 'taskTargets',
settings: {
@@ -290,7 +290,7 @@ export const buildTaskTargetStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`TaskTarget target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'opportunity',
targetFieldName: 'taskTargets',
settings: {
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-timeline-activity-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-timeline-activity-standard-flat-field-metadata.util.ts
index f34cced21f1..883d7e10b2c 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-timeline-activity-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-timeline-activity-standard-flat-field-metadata.util.ts
@@ -44,7 +44,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -63,7 +63,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -83,7 +83,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -103,7 +103,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
standardObjectMetadataRelatedEntityIds,
@@ -121,7 +121,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -146,7 +146,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -188,7 +188,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Creation date`),
icon: 'IconCalendar',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
},
standardObjectMetadataRelatedEntityIds,
@@ -206,7 +206,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Event name`),
icon: 'IconAbc',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -223,7 +223,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Json value for event details`),
icon: 'IconListDetails',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -241,7 +241,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
icon: 'IconAbc',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -259,7 +259,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
icon: 'IconAbc',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -277,7 +277,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
icon: 'IconAbc',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -297,7 +297,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Event workspace member`),
icon: 'IconCircleUser',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'workspaceMember',
targetFieldName: 'timelineActivities',
settings: {
@@ -322,7 +322,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Event target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'person',
targetFieldName: 'timelineActivities',
settings: {
@@ -347,7 +347,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Event target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'company',
targetFieldName: 'timelineActivities',
settings: {
@@ -372,7 +372,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Event target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'opportunity',
targetFieldName: 'timelineActivities',
settings: {
@@ -397,7 +397,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Event target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'note',
targetFieldName: 'timelineActivities',
settings: {
@@ -422,7 +422,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Event target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'task',
targetFieldName: 'timelineActivities',
settings: {
@@ -447,7 +447,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Event target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'workflow',
targetFieldName: 'timelineActivities',
settings: {
@@ -472,7 +472,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Event target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'workflowVersion',
targetFieldName: 'timelineActivities',
settings: {
@@ -497,7 +497,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Event target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'workflowRun',
targetFieldName: 'timelineActivities',
settings: {
@@ -522,7 +522,7 @@ export const buildTimelineActivityStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Event target`),
icon: 'IconArrowUpRight',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'dashboard',
targetFieldName: 'timelineActivities',
settings: {
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workflow-automated-trigger-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workflow-automated-trigger-standard-flat-field-metadata.util.ts
index f77e914d754..3234e13e94c 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workflow-automated-trigger-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workflow-automated-trigger-standard-flat-field-metadata.util.ts
@@ -41,7 +41,7 @@ export const buildWorkflowAutomatedTriggerStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -60,7 +60,7 @@ export const buildWorkflowAutomatedTriggerStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -80,7 +80,7 @@ export const buildWorkflowAutomatedTriggerStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -100,7 +100,7 @@ export const buildWorkflowAutomatedTriggerStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
standardObjectMetadataRelatedEntityIds,
@@ -118,7 +118,7 @@ export const buildWorkflowAutomatedTriggerStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -143,7 +143,7 @@ export const buildWorkflowAutomatedTriggerStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -207,7 +207,7 @@ export const buildWorkflowAutomatedTriggerStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The workflow automated trigger type`),
icon: 'IconSettingsAutomation',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: "'DATABASE_EVENT'",
options: [
{
@@ -241,7 +241,7 @@ export const buildWorkflowAutomatedTriggerStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The workflow automated trigger settings`),
icon: 'IconSettings',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -259,7 +259,7 @@ export const buildWorkflowAutomatedTriggerStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`WorkflowAutomatedTrigger workflow`),
icon: 'IconSettingsAutomation',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'workflow',
targetFieldName: 'automatedTriggers',
settings: {
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workflow-run-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workflow-run-standard-flat-field-metadata.util.ts
index f43a2fbbe9a..ee7135ef9db 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workflow-run-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workflow-run-standard-flat-field-metadata.util.ts
@@ -39,7 +39,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -58,7 +58,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -78,7 +78,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -98,7 +98,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
standardObjectMetadataRelatedEntityIds,
@@ -116,7 +116,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Name of the workflow run`),
icon: 'IconSettingsAutomation',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -133,7 +133,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Workflow run enqueued at`),
icon: 'IconHistory',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -150,7 +150,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Workflow run started at`),
icon: 'IconHistory',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -167,7 +167,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Workflow run ended at`),
icon: 'IconHistory',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -184,7 +184,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Workflow run status`),
icon: 'IconStatusChange',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: "'NOT_STARTED'",
options: [
{
@@ -254,7 +254,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
icon: 'IconCreativeCommonsSa',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: {
source: "'MANUAL'",
name: "'System'",
@@ -278,7 +278,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -301,7 +301,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`State of the workflow run`),
icon: 'IconHierarchy2',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -321,7 +321,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
icon: 'IconTerminal2',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -339,7 +339,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
icon: 'IconHierarchy2',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 0,
},
standardObjectMetadataRelatedEntityIds,
@@ -358,7 +358,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
icon: 'IconUser',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: {
generatedType: 'STORED',
asExpression: getTsVectorColumnExpressionFromFields(
@@ -382,7 +382,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Workflow version linked to the run.`),
icon: 'IconVersions',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'workflowVersion',
targetFieldName: 'runs',
settings: {
@@ -407,7 +407,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Workflow linked to the run.`),
icon: 'IconSettingsAutomation',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'workflow',
targetFieldName: 'runs',
settings: {
@@ -432,7 +432,7 @@ export const buildWorkflowRunStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Timeline activities linked to the run`),
icon: 'IconTimelineEvent',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'timelineActivity',
targetFieldName: 'targetWorkflowRun',
settings: {
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workflow-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workflow-standard-flat-field-metadata.util.ts
index 318b3ec132c..aab3862a01b 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workflow-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workflow-standard-flat-field-metadata.util.ts
@@ -38,7 +38,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -57,7 +57,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -77,7 +77,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -97,7 +97,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
standardObjectMetadataRelatedEntityIds,
@@ -131,7 +131,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The workflow last published version id`),
icon: 'IconVersions',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -150,7 +150,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
),
icon: 'IconStatusChange',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
options: [
{
id: '20202020-e9d8-41df-8262-31bb04948366',
@@ -208,7 +208,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -233,7 +233,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -279,7 +279,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
label: i18nLabel(msg`Versions`),
description: i18nLabel(msg`Workflow versions linked to the workflow.`),
icon: 'IconVersions',
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
targetObjectName: 'workflowVersion',
targetFieldName: 'workflow',
@@ -302,7 +302,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
label: i18nLabel(msg`Runs`),
description: i18nLabel(msg`Workflow runs linked to the workflow.`),
icon: 'IconRun',
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
targetObjectName: 'workflowRun',
targetFieldName: 'workflow',
@@ -327,7 +327,7 @@ export const buildWorkflowStandardFlatFieldMetadatas = ({
msg`Workflow automated triggers linked to the workflow.`,
),
icon: 'IconSettingsAutomation',
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
targetObjectName: 'workflowAutomatedTrigger',
targetFieldName: 'workflow',
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workflow-version-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workflow-version-standard-flat-field-metadata.util.ts
index ee1a9d2aec5..3fc55eac3f6 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workflow-version-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workflow-version-standard-flat-field-metadata.util.ts
@@ -42,7 +42,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -61,7 +61,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -81,7 +81,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -101,7 +101,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
standardObjectMetadataRelatedEntityIds,
@@ -119,7 +119,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -144,7 +144,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -167,7 +167,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The workflow version name`),
icon: 'IconSettingsAutomation',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -184,7 +184,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Json object to provide trigger`),
icon: 'IconSettingsAutomation',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -201,7 +201,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Json object to provide steps`),
icon: 'IconSettingsAutomation',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -218,7 +218,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The workflow version status`),
icon: 'IconStatusChange',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: "'DRAFT'",
options: [
{
@@ -267,7 +267,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
icon: 'IconHierarchy2',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 0,
},
standardObjectMetadataRelatedEntityIds,
@@ -286,7 +286,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
icon: 'IconUser',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: {
generatedType: 'STORED',
asExpression: getTsVectorColumnExpressionFromFields(
@@ -310,7 +310,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`WorkflowVersion workflow`),
icon: 'IconSettingsAutomation',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'workflow',
targetFieldName: 'versions',
settings: {
@@ -335,7 +335,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Workflow runs linked to the version.`),
icon: 'IconRun',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'workflowRun',
targetFieldName: 'workflowVersion',
settings: {
@@ -358,7 +358,7 @@ export const buildWorkflowVersionStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Timeline activities linked to the version`),
icon: 'IconTimelineEvent',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'timelineActivity',
targetFieldName: 'targetWorkflowVersion',
settings: {
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workspace-member-standard-flat-field-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workspace-member-standard-flat-field-metadata.util.ts
index c6635be5112..4cf57f9f860 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workspace-member-standard-flat-field-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/compute-workspace-member-standard-flat-field-metadata.util.ts
@@ -45,7 +45,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
icon: 'Icon123',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'uuid',
},
standardObjectMetadataRelatedEntityIds,
@@ -64,7 +64,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -84,7 +84,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
icon: 'IconCalendarClock',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 'now',
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
@@ -104,7 +104,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
icon: 'IconCalendarMinus',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: { displayFormat: DateDisplayFormat.RELATIVE },
},
standardObjectMetadataRelatedEntityIds,
@@ -123,7 +123,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
icon: 'IconHierarchy2',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 0,
},
standardObjectMetadataRelatedEntityIds,
@@ -141,7 +141,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Workspace member name`),
icon: 'IconCircleUser',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -159,7 +159,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
icon: 'IconColorSwatch',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: "'System'",
},
standardObjectMetadataRelatedEntityIds,
@@ -178,7 +178,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
icon: 'IconLanguage',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: "'en'",
},
standardObjectMetadataRelatedEntityIds,
@@ -197,7 +197,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
icon: 'IconFileUpload',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -215,7 +215,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
icon: 'IconMail',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isUnique: true,
},
standardObjectMetadataRelatedEntityIds,
@@ -234,7 +234,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
icon: 'IconCalendar',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: 7,
settings: {
dataType: NumberDataType.INT,
@@ -256,7 +256,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
icon: 'IconCircleUsers',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
},
standardObjectMetadataRelatedEntityIds,
dependencyFlatEntityMaps,
@@ -274,7 +274,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
icon: 'IconTimezone',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: "'system'",
},
standardObjectMetadataRelatedEntityIds,
@@ -293,7 +293,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
icon: 'IconCalendarEvent',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: "'SYSTEM'",
options: [
{
@@ -342,7 +342,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
icon: 'IconClock2',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: "'SYSTEM'",
options: [
{
@@ -384,7 +384,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
icon: 'IconNumbers',
isSystem: true,
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
defaultValue: `'${WorkspaceMemberNumberFormatEnum.SYSTEM}'`,
options: [
{
@@ -440,7 +440,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
icon: 'IconUser',
isSystem: true,
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
settings: {
generatedType: 'STORED',
asExpression: getTsVectorColumnExpressionFromFields(
@@ -464,7 +464,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Tasks assigned to the workspace member`),
icon: 'IconCheckbox',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'task',
targetFieldName: 'assignee',
settings: {
@@ -487,7 +487,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Account owner for companies`),
icon: 'IconBriefcase',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'company',
targetFieldName: 'accountOwner',
settings: {
@@ -510,7 +510,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Message Participants`),
icon: 'IconUserCircle',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'messageParticipant',
targetFieldName: 'workspaceMember',
settings: {
@@ -533,7 +533,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Blocklisted handles`),
icon: 'IconForbid2',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'blocklist',
targetFieldName: 'workspaceMember',
settings: {
@@ -556,7 +556,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Calendar Event Participants`),
icon: 'IconCalendar',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'calendarEventParticipant',
targetFieldName: 'workspaceMember',
settings: {
@@ -579,7 +579,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Events linked to the workspace member`),
icon: 'IconTimelineEvent',
isNullable: true,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'timelineActivity',
targetFieldName: 'workspaceMember',
settings: {
@@ -602,7 +602,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`Opportunities owned by the workspace member`),
icon: 'IconTargetArrow',
isNullable: false,
- isUIReadOnly: true,
+ isUIEditable: false,
targetObjectName: 'opportunity',
targetFieldName: 'owner',
settings: {
@@ -624,7 +624,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
description: i18nLabel(msg`The creator of the record`),
icon: 'IconCreativeCommonsSa',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
@@ -649,7 +649,7 @@ export const buildWorkspaceMemberStandardFlatFieldMetadatas = ({
),
icon: 'IconUserCircle',
isSystem: true,
- isUIReadOnly: true,
+ isUIEditable: false,
isNullable: false,
defaultValue: {
source: "'MANUAL'",
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/create-standard-field-flat-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/create-standard-field-flat-metadata.util.ts
index 131cf33ddc5..6988a48edda 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/create-standard-field-flat-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/create-standard-field-flat-metadata.util.ts
@@ -29,7 +29,7 @@ export type CreateStandardFieldArgs<
isSystem?: boolean;
isNullable?: boolean;
isUnique?: boolean;
- isUIReadOnly?: boolean;
+ isUIEditable?: boolean;
defaultValue?: FieldMetadataDefaultValue<T>;
settings?: FieldMetadataSettings<T>;
options?:
@@ -54,7 +54,7 @@ export const createStandardFieldFlatMetadata = <
isSystem = false,
isNullable = true,
isUnique = false,
- isUIReadOnly = false,
+ isUIEditable = true,
defaultValue,
settings,
options: fieldOptions = null,
@@ -84,7 +84,7 @@ export const createStandardFieldFlatMetadata = <
isSystem,
isNullable,
isUnique,
- isUIReadOnly,
+ isUIEditable,
isLabelSyncedWithName: false,
standardOverrides: null,
defaultValue: defaultValue ?? null,
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/create-standard-relation-field-flat-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/create-standard-relation-field-flat-metadata.util.ts
index df54405822e..1388714fc77 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/create-standard-relation-field-flat-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/field-metadata/create-standard-relation-field-flat-metadata.util.ts
@@ -35,7 +35,7 @@ export type CreateStandardMorphOrRelationFieldContext<
targetObjectName: T;
targetFieldName: AllStandardObjectFieldName<T>;
isNullable?: boolean;
- isUIReadOnly?: boolean;
+ isUIEditable?: boolean;
defaultValue?: FieldMetadataDefaultValueForAnyType;
settings: FieldMetadataSettings<F>;
options?: FieldMetadataDefaultOption[] | FieldMetadataComplexOption[] | null;
@@ -64,7 +64,7 @@ export const createStandardRelationFieldFlatMetadata = <
targetObjectName,
targetFieldName,
isNullable = true,
- isUIReadOnly = false,
+ isUIEditable = true,
defaultValue = null,
settings,
options: fieldOptions = null,
@@ -101,7 +101,7 @@ export const createStandardRelationFieldFlatMetadata = <
isSystem: false,
isNullable,
isUnique: false,
- isUIReadOnly,
+ isUIEditable,
isLabelSyncedWithName: false,
standardOverrides: null,
defaultValue,
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-flat-object-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-flat-object-metadata.util.ts
index 509b4de2b1d..76edb9eccde 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-flat-object-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-flat-object-metadata.util.ts
@@ -672,6 +672,7 @@ export const STANDARD_FLAT_OBJECT_METADATA_BUILDERS_BY_OBJECT_NAME = {
icon: 'IconHistoryToggle',
isSystem: true,
isAuditLogged: false,
+ isUICreatable: false,
labelIdentifierFieldMetadataName: 'name',
},
workspaceId,
@@ -702,6 +703,7 @@ export const STANDARD_FLAT_OBJECT_METADATA_BUILDERS_BY_OBJECT_NAME = {
description: i18nLabel(msg`A workflow version`),
icon: 'IconVersions',
isSystem: true,
+ isUICreatable: false,
labelIdentifierFieldMetadataName: 'name',
},
workspaceId,
@@ -733,6 +735,7 @@ export const STANDARD_FLAT_OBJECT_METADATA_BUILDERS_BY_OBJECT_NAME = {
icon: 'IconUserCircle',
isSystem: true,
isSearchable: true,
+ isUICreatable: false,
labelIdentifierFieldMetadataName: 'name',
imageIdentifierFieldMetadataName: 'avatarUrl',
},
diff --git a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-object-flat-metadata.util.ts b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-object-flat-metadata.util.ts
index 44b67d37f80..6ebc8c95495 100644
--- a/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-object-flat-metadata.util.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/twenty-standard-application/utils/object-metadata/create-standard-object-flat-metadata.util.ts
@@ -17,7 +17,8 @@ export type CreateStandardObjectContext<O extends AllStandardObjectName> = {
isSystem?: boolean;
isSearchable?: boolean;
isAuditLogged?: boolean;
- isUIReadOnly?: boolean;
+ isUIEditable?: boolean;
+ isUICreatable?: boolean;
shortcut?: string | null;
duplicateCriteria?: string[][] | null;
labelIdentifierFieldMetadataName: AllStandardObjectFieldName<O>;
@@ -45,7 +46,8 @@ export const createStandardObjectFlatMetadata = <
isSystem = false,
isSearchable = false,
isAuditLogged = true,
- isUIReadOnly = false,
+ isUIEditable = true,
+ isUICreatable = true,
shortcut = null,
duplicateCriteria = null,
labelIdentifierFieldMetadataName,
@@ -86,7 +88,8 @@ export const createStandardObjectFlatMetadata = <
isSystem,
isSearchable,
isAuditLogged,
- isUIReadOnly,
+ isUIEditable,
+ isUICreatable,
isLabelSyncedWithName: false,
standardOverrides: null,
duplicateCriteria,
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/__tests__/universal-flat-entity-update.test-type.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/__tests__/universal-flat-entity-update.test-type.ts
index 1568ea4b6f5..48f9ab013d6 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/__tests__/universal-flat-entity-update.test-type.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/__tests__/universal-flat-entity-update.test-type.ts
@@ -17,6 +17,7 @@ type Assertions = [
| 'options'
| 'isUnique'
| 'isLabelSyncedWithName'
+ | 'isUIEditable'
| 'universalSettings'
>
>,
@@ -37,6 +38,8 @@ type Assertions = [
| 'labelIdentifierFieldMetadataUniversalIdentifier'
| 'imageIdentifierFieldMetadataUniversalIdentifier'
| 'isSearchable'
+ | 'isUIEditable'
+ | 'isUICreatable'
>
>,
];
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/metadata-universal-flat-entity-properties-to-compare.type.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/metadata-universal-flat-entity-properties-to-compare.type.ts
index 5a0114bd1a8..de7dfc2e902 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/metadata-universal-flat-entity-properties-to-compare.type.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/metadata-universal-flat-entity-properties-to-compare.type.ts
@@ -40,6 +40,7 @@ type Assertions = [
| 'options'
| 'isUnique'
| 'isLabelSyncedWithName'
+ | 'isUIEditable'
| 'universalSettings'
>
>,
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/__tests__/__snapshots__/universal-flat-entity-deleted-created-updated-matrix-dispatcher.util.spec.ts.snap b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/__tests__/__snapshots__/universal-flat-entity-deleted-created-updated-matrix-dispatcher.util.spec.ts.snap
index 6c73627b71c..bec82bb0a0a 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/__tests__/__snapshots__/universal-flat-entity-deleted-created-updated-matrix-dispatcher.util.spec.ts.snap
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/__tests__/__snapshots__/universal-flat-entity-deleted-created-updated-matrix-dispatcher.util.spec.ts.snap
@@ -20,7 +20,7 @@ exports[`flatEntityDeletedCreatedUpdatedMatrixDispatcher It should detect a crea
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"kanbanAggregateOperationViewIds": [],
"kanbanAggregateOperationViewUniversalIdentifiers": [],
@@ -84,7 +84,7 @@ exports[`flatEntityDeletedCreatedUpdatedMatrixDispatcher It should detect a dele
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"kanbanAggregateOperationViewIds": [],
"kanbanAggregateOperationViewUniversalIdentifiers": [],
@@ -162,7 +162,7 @@ exports[`flatEntityDeletedCreatedUpdatedMatrixDispatcher It should detect create
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"kanbanAggregateOperationViewIds": [],
"kanbanAggregateOperationViewUniversalIdentifiers": [],
@@ -212,7 +212,7 @@ exports[`flatEntityDeletedCreatedUpdatedMatrixDispatcher It should detect create
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"kanbanAggregateOperationViewIds": [],
"kanbanAggregateOperationViewUniversalIdentifiers": [],
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/__tests__/add-universal-flat-entity-to-universal-flat-entity-and-related-entity-maps-through-mutation-or-throw.util.spec.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/__tests__/add-universal-flat-entity-to-universal-flat-entity-and-related-entity-maps-through-mutation-or-throw.util.spec.ts
index ca995f4dc57..9fd61464b59 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/__tests__/add-universal-flat-entity-to-universal-flat-entity-and-related-entity-maps-through-mutation-or-throw.util.spec.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/__tests__/add-universal-flat-entity-to-universal-flat-entity-and-related-entity-maps-through-mutation-or-throw.util.spec.ts
@@ -41,7 +41,7 @@ describe('addUniversalFlatEntityToUniversalFlatEntityAndRelatedEntityMapsThrough
isRemote: false,
isSearchable: true,
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: true,
labelPlural: 'default flat object metadata label plural',
labelSingular: 'default flat object metadata label singular',
namePlural: 'defaultflatObjectMetadataNamePlural',
@@ -83,7 +83,7 @@ describe('addUniversalFlatEntityToUniversalFlatEntityAndRelatedEntityMapsThrough
label: 'flat field metadata label',
isNullable: true,
isUnique: false,
- isUIReadOnly: false,
+ isUIEditable: true,
isLabelSyncedWithName: false,
isSystem: false,
standardOverrides: null,
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/__tests__/delete-universal-flat-entity-from-universal-flat-entity-and-related-entity-maps-through-mutation-or-throw.util.spec.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/__tests__/delete-universal-flat-entity-from-universal-flat-entity-and-related-entity-maps-through-mutation-or-throw.util.spec.ts
index 941811d58ca..a692bb760e2 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/__tests__/delete-universal-flat-entity-from-universal-flat-entity-and-related-entity-maps-through-mutation-or-throw.util.spec.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/__tests__/delete-universal-flat-entity-from-universal-flat-entity-and-related-entity-maps-through-mutation-or-throw.util.spec.ts
@@ -37,7 +37,7 @@ describe('deleteUniversalFlatEntityFromUniversalFlatEntityAndRelatedEntityMapsTh
isRemote: false,
isSearchable: true,
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: true,
labelPlural: 'default flat object metadata label plural',
labelSingular: 'default flat object metadata label singular',
namePlural: 'defaultflatObjectMetadataNamePlural',
@@ -79,7 +79,7 @@ describe('deleteUniversalFlatEntityFromUniversalFlatEntityAndRelatedEntityMapsTh
label: 'flat field metadata label',
isNullable: true,
isUnique: false,
- isUIReadOnly: false,
+ isUIEditable: true,
isLabelSyncedWithName: false,
isSystem: false,
standardOverrides: null,
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/__tests__/flat-entity-to-scalar-flat-entity.util.spec.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/__tests__/flat-entity-to-scalar-flat-entity.util.spec.ts
index 56f73309b8b..78f18ed0c04 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/__tests__/flat-entity-to-scalar-flat-entity.util.spec.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/utils/__tests__/flat-entity-to-scalar-flat-entity.util.spec.ts
@@ -28,7 +28,7 @@ describe('flatEntityToScalarFlatEntity', () => {
settings: null,
universalSettings: null,
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: true,
isNullable: true,
relationTargetFieldMetadataId: 'relation-target-field-id',
relationTargetFieldMetadataUniversalIdentifier:
@@ -58,7 +58,7 @@ describe('flatEntityToScalarFlatEntity', () => {
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Test Label",
"morphId": null,
diff --git a/packages/twenty-server/src/utils/__test__/get-field-metadata-entity.mock.ts b/packages/twenty-server/src/utils/__test__/get-field-metadata-entity.mock.ts
index c8e92a077b0..43c2900bbb2 100644
--- a/packages/twenty-server/src/utils/__test__/get-field-metadata-entity.mock.ts
+++ b/packages/twenty-server/src/utils/__test__/get-field-metadata-entity.mock.ts
@@ -33,7 +33,7 @@ export const getMockFieldMetadataEntity = <
indexFieldMetadatas: [],
isLabelSyncedWithName: false,
isNullable: null,
- isUIReadOnly: false,
+ isUIEditable: true,
isSystem: false,
isUnique: null,
object: {} as ObjectMetadataEntity,
@@ -53,6 +53,7 @@ export const getMockFieldMetadataEntity = <
updatedAt: new Date(),
isActive: true,
isCustom: false,
+ isUIReadOnly: false,
application: {} as ApplicationEntity,
applicationId: faker.string.uuid(),
universalIdentifier: faker.string.uuid(),
diff --git a/packages/twenty-server/test/integration/metadata/suites/application/__snapshots__/successful-sync-application-workspace-migration.integration-spec.ts.snap b/packages/twenty-server/test/integration/metadata/suites/application/__snapshots__/successful-sync-application-workspace-migration.integration-spec.ts.snap
index 7f30561410e..6d86f8723b0 100644
--- a/packages/twenty-server/test/integration/metadata/suites/application/__snapshots__/successful-sync-application-workspace-migration.integration-spec.ts.snap
+++ b/packages/twenty-server/test/integration/metadata/suites/application/__snapshots__/successful-sync-application-workspace-migration.integration-spec.ts.snap
@@ -15,7 +15,7 @@ exports[`syncApplication should create a TEXT field on the standard Company obje
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Industry",
"morphId": null,
@@ -82,7 +82,8 @@ exports[`syncApplication should delete old field and create equivalent one when
"isRemote": false,
"isSearchable": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUICreatable": true,
+ "isUIEditable": true,
"labelIdentifierFieldMetadataUniversalIdentifier": Any<String>,
"labelPlural": "Tickets",
"labelSingular": "Ticket",
@@ -107,7 +108,7 @@ exports[`syncApplication should delete old field and create equivalent one when
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Id",
"morphId": null,
@@ -132,7 +133,7 @@ exports[`syncApplication should delete old field and create equivalent one when
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Creation date",
"morphId": null,
@@ -157,7 +158,7 @@ exports[`syncApplication should delete old field and create equivalent one when
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Last update",
"morphId": null,
@@ -182,7 +183,7 @@ exports[`syncApplication should delete old field and create equivalent one when
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Deleted at",
"morphId": null,
@@ -212,7 +213,7 @@ exports[`syncApplication should delete old field and create equivalent one when
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Created by",
"morphId": null,
@@ -242,7 +243,7 @@ exports[`syncApplication should delete old field and create equivalent one when
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Updated by",
"morphId": null,
@@ -267,7 +268,7 @@ exports[`syncApplication should delete old field and create equivalent one when
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Position",
"morphId": null,
@@ -292,7 +293,7 @@ exports[`syncApplication should delete old field and create equivalent one when
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Search vector",
"morphId": null,
@@ -320,7 +321,7 @@ exports[`syncApplication should delete old field and create equivalent one when
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Description",
"morphId": null,
@@ -387,7 +388,7 @@ exports[`syncApplication should delete old field and create equivalent one when
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"kanbanAggregateOperationViewIds": [],
"kanbanAggregateOperationViewUniversalIdentifiers": [],
@@ -432,7 +433,7 @@ exports[`syncApplication should delete old field and create equivalent one when
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Description",
"morphId": null,
@@ -476,7 +477,8 @@ exports[`syncApplication should return workspace migration actions on initial sy
"isRemote": false,
"isSearchable": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUICreatable": true,
+ "isUIEditable": true,
"labelIdentifierFieldMetadataUniversalIdentifier": Any<String>,
"labelPlural": "Tickets",
"labelSingular": "Ticket",
@@ -501,7 +503,7 @@ exports[`syncApplication should return workspace migration actions on initial sy
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Id",
"morphId": null,
@@ -526,7 +528,7 @@ exports[`syncApplication should return workspace migration actions on initial sy
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Creation date",
"morphId": null,
@@ -551,7 +553,7 @@ exports[`syncApplication should return workspace migration actions on initial sy
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Last update",
"morphId": null,
@@ -576,7 +578,7 @@ exports[`syncApplication should return workspace migration actions on initial sy
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Deleted at",
"morphId": null,
@@ -606,7 +608,7 @@ exports[`syncApplication should return workspace migration actions on initial sy
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Created by",
"morphId": null,
@@ -636,7 +638,7 @@ exports[`syncApplication should return workspace migration actions on initial sy
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Updated by",
"morphId": null,
@@ -661,7 +663,7 @@ exports[`syncApplication should return workspace migration actions on initial sy
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Position",
"morphId": null,
@@ -686,7 +688,7 @@ exports[`syncApplication should return workspace migration actions on initial sy
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": true,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Search vector",
"morphId": null,
@@ -714,7 +716,7 @@ exports[`syncApplication should return workspace migration actions on initial sy
"isLabelSyncedWithName": false,
"isNullable": true,
"isSystem": false,
- "isUIReadOnly": false,
+ "isUIEditable": true,
"isUnique": false,
"label": "Description",
"morphId": null,
diff --git a/packages/twenty-shared/src/application/fieldManifestType.ts b/packages/twenty-shared/src/application/fieldManifestType.ts
index 48755ade547..75c4486a390 100644
--- a/packages/twenty-shared/src/application/fieldManifestType.ts
+++ b/packages/twenty-shared/src/application/fieldManifestType.ts
@@ -31,6 +31,8 @@ export type RegularFieldManifest<
options?: FieldMetadataOptions<T>;
universalSettings?: FieldMetadataUniversalSettings<T>;
isNullable?: boolean;
+ // When false, this field is not editable through the generic UI
+ isUIEditable?: boolean;
/**
* @deprecated Use defineIndex({ isUnique: true, fields: [...] }) instead.
* Indexes are the SDK primitive for uniqueness — they support both single-
diff --git a/packages/twenty-shared/src/application/objectManifestType.ts b/packages/twenty-shared/src/application/objectManifestType.ts
index 635fab6e90f..dd05a831c61 100644
--- a/packages/twenty-shared/src/application/objectManifestType.ts
+++ b/packages/twenty-shared/src/application/objectManifestType.ts
@@ -9,6 +9,10 @@ export type ObjectManifest = SyncableEntityOptions & {
description?: string;
icon?: string;
isSearchable?: boolean;
+ // When false, the generic UI shows no affordance to create records of this object
+ isUICreatable?: boolean;
+ // When false, records of this object are not editable through the generic UI
+ isUIEditable?: boolean;
fields: ObjectFieldManifest[];
labelIdentifierFieldMetadataUniversalIdentifier: string;
};
diff --git a/packages/twenty-shared/src/database-events/database-event-payload.type.ts b/packages/twenty-shared/src/database-events/database-event-payload.type.ts
index 07f7ce204a9..07a19fb24bd 100644
--- a/packages/twenty-shared/src/database-events/database-event-payload.type.ts
+++ b/packages/twenty-shared/src/database-events/database-event-payload.type.ts
@@ -16,7 +16,8 @@ type SimplifiedFlatObjectMetadata = {
isRemote: boolean;
isActive: boolean;
isSystem: boolean;
- isUIReadOnly: boolean;
+ isUIEditable: boolean;
+ isUICreatable: boolean;
isAuditLogged: boolean;
isSearchable: boolean;
duplicateCriteria: string[] | null;
diff --git a/packages/twenty-shared/src/utils/filter/utils/__tests__/turnAnyFieldFilterIntoRecordGqlFilter.test.ts b/packages/twenty-shared/src/utils/filter/utils/__tests__/turnAnyFieldFilterIntoRecordGqlFilter.test.ts
index f5b22144608..8002b6270d4 100644
--- a/packages/twenty-shared/src/utils/filter/utils/__tests__/turnAnyFieldFilterIntoRecordGqlFilter.test.ts
+++ b/packages/twenty-shared/src/utils/filter/utils/__tests__/turnAnyFieldFilterIntoRecordGqlFilter.test.ts
@@ -124,7 +124,8 @@ const mockObjectMetadataItem = {
isRemote: false,
isSearchable: true,
isSystem: false,
- isUIReadOnly: false,
+ isUIEditable: true,
+ isUICreatable: true,
labelIdentifierFieldMetadataId: 'mock-id',
labelPlural: 'Tests',
labelSingular: 'Test',