Skip to content

The open alternative to Salesforce, designed for AI.

feat(sdk): add defineCommandMenuItem (#20256)

Félix Malfait633553f7293f
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
index bc9cd9d1d62..9a9ebdef2f3 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
@@ -324,6 +324,115 @@ type FrontComponent {
applicationTokenPair: ApplicationTokenPair
}
+type CommandMenuItem {
+ id: UUID!
+ workflowVersionId: UUID
+ frontComponentId: UUID
+ frontComponent: FrontComponent
+ engineComponentKey: EngineComponentKey!
+ label: String!
+ icon: String
+ shortLabel: String
+ position: Float!
+ isPinned: Boolean!
+ availabilityType: CommandMenuItemAvailabilityType!
+ payload: CommandMenuItemPayload
+ hotKeys: [String!]
+ conditionalAvailabilityExpression: String
+ availabilityObjectMetadataId: UUID
+ pageLayoutId: UUID
+ universalIdentifier: UUID
+ applicationId: UUID
+ createdAt: DateTime!
+ updatedAt: DateTime!
+}
+
+enum EngineComponentKey {
+ NAVIGATE_TO_NEXT_RECORD
+ NAVIGATE_TO_PREVIOUS_RECORD
+ CREATE_NEW_RECORD
+ DELETE_RECORDS
+ RESTORE_RECORDS
+ DESTROY_RECORDS
+ ADD_TO_FAVORITES
+ REMOVE_FROM_FAVORITES
+ EXPORT_NOTE_TO_PDF
+ EXPORT_RECORDS
+ UPDATE_MULTIPLE_RECORDS
+ MERGE_MULTIPLE_RECORDS
+ IMPORT_RECORDS
+ EXPORT_VIEW
+ SEE_DELETED_RECORDS
+ CREATE_NEW_VIEW
+ HIDE_DELETED_RECORDS
+ EDIT_RECORD_PAGE_LAYOUT
+ EDIT_DASHBOARD_LAYOUT
+ SAVE_DASHBOARD_LAYOUT
+ CANCEL_DASHBOARD_LAYOUT
+ DUPLICATE_DASHBOARD
+ ACTIVATE_WORKFLOW
+ DEACTIVATE_WORKFLOW
+ DISCARD_DRAFT_WORKFLOW
+ TEST_WORKFLOW
+ SEE_ACTIVE_VERSION_WORKFLOW
+ SEE_RUNS_WORKFLOW
+ SEE_VERSIONS_WORKFLOW
+ ADD_NODE_WORKFLOW
+ TIDY_UP_WORKFLOW
+ DUPLICATE_WORKFLOW
+ SEE_VERSION_WORKFLOW_RUN
+ SEE_WORKFLOW_WORKFLOW_RUN
+ STOP_WORKFLOW_RUN
+ SEE_RUNS_WORKFLOW_VERSION
+ SEE_WORKFLOW_WORKFLOW_VERSION
+ USE_AS_DRAFT_WORKFLOW_VERSION
+ SEE_VERSIONS_WORKFLOW_VERSION
+ SEARCH_RECORDS
+ SEARCH_RECORDS_FALLBACK
+ ASK_AI
+ VIEW_PREVIOUS_AI_CHATS
+ NAVIGATION
+ TRIGGER_WORKFLOW_VERSION
+ FRONT_COMPONENT_RENDERER
+ REPLY_TO_EMAIL_THREAD
+ COMPOSE_EMAIL
+ GO_TO_PEOPLE
+ GO_TO_COMPANIES
+ GO_TO_DASHBOARDS
+ GO_TO_OPPORTUNITIES
+ GO_TO_SETTINGS
+ GO_TO_TASKS
+ GO_TO_NOTES
+ GO_TO_WORKFLOWS
+ GO_TO_RUNS
+ DELETE_SINGLE_RECORD
+ DELETE_MULTIPLE_RECORDS
+ RESTORE_SINGLE_RECORD
+ RESTORE_MULTIPLE_RECORDS
+ DESTROY_SINGLE_RECORD
+ DESTROY_MULTIPLE_RECORDS
+ EXPORT_FROM_RECORD_INDEX
+ EXPORT_FROM_RECORD_SHOW
+ EXPORT_MULTIPLE_RECORDS
+}
+
+enum CommandMenuItemAvailabilityType {
+ GLOBAL
+ GLOBAL_OBJECT_CONTEXT
+ RECORD_SELECTION
+ FALLBACK
+}
+
+union CommandMenuItemPayload = PathCommandMenuItemPayload | ObjectMetadataCommandMenuItemPayload
+
+type PathCommandMenuItemPayload {
+ path: String!
+}
+
+type ObjectMetadataCommandMenuItemPayload {
+ objectMetadataItemId: UUID!
+}
+
type LogicFunction {
id: UUID!
name: String!
@@ -595,6 +704,7 @@ type Application {
defaultLogicFunctionRole: Role
agents: [Agent!]!
frontComponents: [FrontComponent!]!
+ commandMenuItems: [CommandMenuItem!]!
logicFunctions: [LogicFunction!]!
objects: [Object!]!
applicationVariables: [ApplicationVariable!]!
@@ -2324,114 +2434,6 @@ type PostgresCredentials {
workspaceId: UUID!
}
-type CommandMenuItem {
- id: UUID!
- workflowVersionId: UUID
- frontComponentId: UUID
- frontComponent: FrontComponent
- engineComponentKey: EngineComponentKey!
- label: String!
- icon: String
- shortLabel: String
- position: Float!
- isPinned: Boolean!
- availabilityType: CommandMenuItemAvailabilityType!
- payload: CommandMenuItemPayload
- hotKeys: [String!]
- conditionalAvailabilityExpression: String
- availabilityObjectMetadataId: UUID
- pageLayoutId: UUID
- applicationId: UUID
- createdAt: DateTime!
- updatedAt: DateTime!
-}
-
-enum EngineComponentKey {
- NAVIGATE_TO_NEXT_RECORD
- NAVIGATE_TO_PREVIOUS_RECORD
- CREATE_NEW_RECORD
- DELETE_RECORDS
- RESTORE_RECORDS
- DESTROY_RECORDS
- ADD_TO_FAVORITES
- REMOVE_FROM_FAVORITES
- EXPORT_NOTE_TO_PDF
- EXPORT_RECORDS
- UPDATE_MULTIPLE_RECORDS
- MERGE_MULTIPLE_RECORDS
- IMPORT_RECORDS
- EXPORT_VIEW
- SEE_DELETED_RECORDS
- CREATE_NEW_VIEW
- HIDE_DELETED_RECORDS
- EDIT_RECORD_PAGE_LAYOUT
- EDIT_DASHBOARD_LAYOUT
- SAVE_DASHBOARD_LAYOUT
- CANCEL_DASHBOARD_LAYOUT
- DUPLICATE_DASHBOARD
- ACTIVATE_WORKFLOW
- DEACTIVATE_WORKFLOW
- DISCARD_DRAFT_WORKFLOW
- TEST_WORKFLOW
- SEE_ACTIVE_VERSION_WORKFLOW
- SEE_RUNS_WORKFLOW
- SEE_VERSIONS_WORKFLOW
- ADD_NODE_WORKFLOW
- TIDY_UP_WORKFLOW
- DUPLICATE_WORKFLOW
- SEE_VERSION_WORKFLOW_RUN
- SEE_WORKFLOW_WORKFLOW_RUN
- STOP_WORKFLOW_RUN
- SEE_RUNS_WORKFLOW_VERSION
- SEE_WORKFLOW_WORKFLOW_VERSION
- USE_AS_DRAFT_WORKFLOW_VERSION
- SEE_VERSIONS_WORKFLOW_VERSION
- SEARCH_RECORDS
- SEARCH_RECORDS_FALLBACK
- ASK_AI
- VIEW_PREVIOUS_AI_CHATS
- NAVIGATION
- TRIGGER_WORKFLOW_VERSION
- FRONT_COMPONENT_RENDERER
- REPLY_TO_EMAIL_THREAD
- COMPOSE_EMAIL
- GO_TO_PEOPLE
- GO_TO_COMPANIES
- GO_TO_DASHBOARDS
- GO_TO_OPPORTUNITIES
- GO_TO_SETTINGS
- GO_TO_TASKS
- GO_TO_NOTES
- GO_TO_WORKFLOWS
- GO_TO_RUNS
- DELETE_SINGLE_RECORD
- DELETE_MULTIPLE_RECORDS
- RESTORE_SINGLE_RECORD
- RESTORE_MULTIPLE_RECORDS
- DESTROY_SINGLE_RECORD
- DESTROY_MULTIPLE_RECORDS
- EXPORT_FROM_RECORD_INDEX
- EXPORT_FROM_RECORD_SHOW
- EXPORT_MULTIPLE_RECORDS
-}
-
-enum CommandMenuItemAvailabilityType {
- GLOBAL
- GLOBAL_OBJECT_CONTEXT
- RECORD_SELECTION
- FALLBACK
-}
-
-union CommandMenuItemPayload = PathCommandMenuItemPayload | ObjectMetadataCommandMenuItemPayload
-
-type PathCommandMenuItemPayload {
- path: String!
-}
-
-type ObjectMetadataCommandMenuItemPayload {
- objectMetadataItemId: UUID!
-}
-
type ToolIndexEntry {
name: String!
description: String!
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.ts b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
index 33124e0b183..c4423f814fd 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
@@ -278,6 +278,46 @@ export interface FrontComponent {
__typename: 'FrontComponent'
}
+export interface CommandMenuItem {
+ id: Scalars['UUID']
+ workflowVersionId?: Scalars['UUID']
+ frontComponentId?: Scalars['UUID']
+ frontComponent?: FrontComponent
+ engineComponentKey: EngineComponentKey
+ label: Scalars['String']
+ icon?: Scalars['String']
+ shortLabel?: Scalars['String']
+ position: Scalars['Float']
+ isPinned: Scalars['Boolean']
+ availabilityType: CommandMenuItemAvailabilityType
+ payload?: CommandMenuItemPayload
+ hotKeys?: Scalars['String'][]
+ conditionalAvailabilityExpression?: Scalars['String']
+ availabilityObjectMetadataId?: Scalars['UUID']
+ pageLayoutId?: Scalars['UUID']
+ universalIdentifier?: Scalars['UUID']
+ applicationId?: Scalars['UUID']
+ createdAt: Scalars['DateTime']
+ updatedAt: Scalars['DateTime']
+ __typename: 'CommandMenuItem'
+}
+
+export type EngineComponentKey = 'NAVIGATE_TO_NEXT_RECORD' | 'NAVIGATE_TO_PREVIOUS_RECORD' | 'CREATE_NEW_RECORD' | 'DELETE_RECORDS' | 'RESTORE_RECORDS' | 'DESTROY_RECORDS' | 'ADD_TO_FAVORITES' | 'REMOVE_FROM_FAVORITES' | 'EXPORT_NOTE_TO_PDF' | 'EXPORT_RECORDS' | 'UPDATE_MULTIPLE_RECORDS' | 'MERGE_MULTIPLE_RECORDS' | 'IMPORT_RECORDS' | 'EXPORT_VIEW' | 'SEE_DELETED_RECORDS' | 'CREATE_NEW_VIEW' | 'HIDE_DELETED_RECORDS' | 'EDIT_RECORD_PAGE_LAYOUT' | 'EDIT_DASHBOARD_LAYOUT' | 'SAVE_DASHBOARD_LAYOUT' | 'CANCEL_DASHBOARD_LAYOUT' | 'DUPLICATE_DASHBOARD' | 'ACTIVATE_WORKFLOW' | 'DEACTIVATE_WORKFLOW' | 'DISCARD_DRAFT_WORKFLOW' | 'TEST_WORKFLOW' | 'SEE_ACTIVE_VERSION_WORKFLOW' | 'SEE_RUNS_WORKFLOW' | 'SEE_VERSIONS_WORKFLOW' | 'ADD_NODE_WORKFLOW' | 'TIDY_UP_WORKFLOW' | 'DUPLICATE_WORKFLOW' | 'SEE_VERSION_WORKFLOW_RUN' | 'SEE_WORKFLOW_WORKFLOW_RUN' | 'STOP_WORKFLOW_RUN' | 'SEE_RUNS_WORKFLOW_VERSION' | 'SEE_WORKFLOW_WORKFLOW_VERSION' | 'USE_AS_DRAFT_WORKFLOW_VERSION' | 'SEE_VERSIONS_WORKFLOW_VERSION' | 'SEARCH_RECORDS' | 'SEARCH_RECORDS_FALLBACK' | 'ASK_AI' | 'VIEW_PREVIOUS_AI_CHATS' | 'NAVIGATION' | 'TRIGGER_WORKFLOW_VERSION' | 'FRONT_COMPONENT_RENDERER' | 'REPLY_TO_EMAIL_THREAD' | 'COMPOSE_EMAIL' | 'GO_TO_PEOPLE' | 'GO_TO_COMPANIES' | 'GO_TO_DASHBOARDS' | 'GO_TO_OPPORTUNITIES' | 'GO_TO_SETTINGS' | 'GO_TO_TASKS' | 'GO_TO_NOTES' | 'GO_TO_WORKFLOWS' | 'GO_TO_RUNS' | 'DELETE_SINGLE_RECORD' | 'DELETE_MULTIPLE_RECORDS' | 'RESTORE_SINGLE_RECORD' | 'RESTORE_MULTIPLE_RECORDS' | 'DESTROY_SINGLE_RECORD' | 'DESTROY_MULTIPLE_RECORDS' | 'EXPORT_FROM_RECORD_INDEX' | 'EXPORT_FROM_RECORD_SHOW' | 'EXPORT_MULTIPLE_RECORDS'
+
+export type CommandMenuItemAvailabilityType = 'GLOBAL' | 'GLOBAL_OBJECT_CONTEXT' | 'RECORD_SELECTION' | 'FALLBACK'
+
+export type CommandMenuItemPayload = (PathCommandMenuItemPayload | ObjectMetadataCommandMenuItemPayload) & { __isUnion?: true }
+
+export interface PathCommandMenuItemPayload {
+ path: Scalars['String']
+ __typename: 'PathCommandMenuItemPayload'
+}
+
+export interface ObjectMetadataCommandMenuItemPayload {
+ objectMetadataItemId: Scalars['UUID']
+ __typename: 'ObjectMetadataCommandMenuItemPayload'
+}
+
export interface LogicFunction {
id: Scalars['UUID']
name: Scalars['String']
@@ -429,6 +469,7 @@ export interface Application {
defaultLogicFunctionRole?: Role
agents: Agent[]
frontComponents: FrontComponent[]
+ commandMenuItems: CommandMenuItem[]
logicFunctions: LogicFunction[]
objects: Object[]
applicationVariables: ApplicationVariable[]
@@ -2070,45 +2111,6 @@ export interface PostgresCredentials {
__typename: 'PostgresCredentials'
}
-export interface CommandMenuItem {
- id: Scalars['UUID']
- workflowVersionId?: Scalars['UUID']
- frontComponentId?: Scalars['UUID']
- frontComponent?: FrontComponent
- engineComponentKey: EngineComponentKey
- label: Scalars['String']
- icon?: Scalars['String']
- shortLabel?: Scalars['String']
- position: Scalars['Float']
- isPinned: Scalars['Boolean']
- availabilityType: CommandMenuItemAvailabilityType
- payload?: CommandMenuItemPayload
- hotKeys?: Scalars['String'][]
- conditionalAvailabilityExpression?: Scalars['String']
- availabilityObjectMetadataId?: Scalars['UUID']
- pageLayoutId?: Scalars['UUID']
- applicationId?: Scalars['UUID']
- createdAt: Scalars['DateTime']
- updatedAt: Scalars['DateTime']
- __typename: 'CommandMenuItem'
-}
-
-export type EngineComponentKey = 'NAVIGATE_TO_NEXT_RECORD' | 'NAVIGATE_TO_PREVIOUS_RECORD' | 'CREATE_NEW_RECORD' | 'DELETE_RECORDS' | 'RESTORE_RECORDS' | 'DESTROY_RECORDS' | 'ADD_TO_FAVORITES' | 'REMOVE_FROM_FAVORITES' | 'EXPORT_NOTE_TO_PDF' | 'EXPORT_RECORDS' | 'UPDATE_MULTIPLE_RECORDS' | 'MERGE_MULTIPLE_RECORDS' | 'IMPORT_RECORDS' | 'EXPORT_VIEW' | 'SEE_DELETED_RECORDS' | 'CREATE_NEW_VIEW' | 'HIDE_DELETED_RECORDS' | 'EDIT_RECORD_PAGE_LAYOUT' | 'EDIT_DASHBOARD_LAYOUT' | 'SAVE_DASHBOARD_LAYOUT' | 'CANCEL_DASHBOARD_LAYOUT' | 'DUPLICATE_DASHBOARD' | 'ACTIVATE_WORKFLOW' | 'DEACTIVATE_WORKFLOW' | 'DISCARD_DRAFT_WORKFLOW' | 'TEST_WORKFLOW' | 'SEE_ACTIVE_VERSION_WORKFLOW' | 'SEE_RUNS_WORKFLOW' | 'SEE_VERSIONS_WORKFLOW' | 'ADD_NODE_WORKFLOW' | 'TIDY_UP_WORKFLOW' | 'DUPLICATE_WORKFLOW' | 'SEE_VERSION_WORKFLOW_RUN' | 'SEE_WORKFLOW_WORKFLOW_RUN' | 'STOP_WORKFLOW_RUN' | 'SEE_RUNS_WORKFLOW_VERSION' | 'SEE_WORKFLOW_WORKFLOW_VERSION' | 'USE_AS_DRAFT_WORKFLOW_VERSION' | 'SEE_VERSIONS_WORKFLOW_VERSION' | 'SEARCH_RECORDS' | 'SEARCH_RECORDS_FALLBACK' | 'ASK_AI' | 'VIEW_PREVIOUS_AI_CHATS' | 'NAVIGATION' | 'TRIGGER_WORKFLOW_VERSION' | 'FRONT_COMPONENT_RENDERER' | 'REPLY_TO_EMAIL_THREAD' | 'COMPOSE_EMAIL' | 'GO_TO_PEOPLE' | 'GO_TO_COMPANIES' | 'GO_TO_DASHBOARDS' | 'GO_TO_OPPORTUNITIES' | 'GO_TO_SETTINGS' | 'GO_TO_TASKS' | 'GO_TO_NOTES' | 'GO_TO_WORKFLOWS' | 'GO_TO_RUNS' | 'DELETE_SINGLE_RECORD' | 'DELETE_MULTIPLE_RECORDS' | 'RESTORE_SINGLE_RECORD' | 'RESTORE_MULTIPLE_RECORDS' | 'DESTROY_SINGLE_RECORD' | 'DESTROY_MULTIPLE_RECORDS' | 'EXPORT_FROM_RECORD_INDEX' | 'EXPORT_FROM_RECORD_SHOW' | 'EXPORT_MULTIPLE_RECORDS'
-
-export type CommandMenuItemAvailabilityType = 'GLOBAL' | 'GLOBAL_OBJECT_CONTEXT' | 'RECORD_SELECTION' | 'FALLBACK'
-
-export type CommandMenuItemPayload = (PathCommandMenuItemPayload | ObjectMetadataCommandMenuItemPayload) & { __isUnion?: true }
-
-export interface PathCommandMenuItemPayload {
- path: Scalars['String']
- __typename: 'PathCommandMenuItemPayload'
-}
-
-export interface ObjectMetadataCommandMenuItemPayload {
- objectMetadataItemId: Scalars['UUID']
- __typename: 'ObjectMetadataCommandMenuItemPayload'
-}
-
export interface ToolIndexEntry {
name: Scalars['String']
description: Scalars['String']
@@ -3145,6 +3147,49 @@ export interface FrontComponentGenqlSelection{
__scalar?: boolean | number
}
+export interface CommandMenuItemGenqlSelection{
+ id?: boolean | number
+ workflowVersionId?: boolean | number
+ frontComponentId?: boolean | number
+ frontComponent?: FrontComponentGenqlSelection
+ engineComponentKey?: boolean | number
+ label?: boolean | number
+ icon?: boolean | number
+ shortLabel?: boolean | number
+ position?: boolean | number
+ isPinned?: boolean | number
+ availabilityType?: boolean | number
+ payload?: CommandMenuItemPayloadGenqlSelection
+ hotKeys?: boolean | number
+ conditionalAvailabilityExpression?: boolean | number
+ availabilityObjectMetadataId?: boolean | number
+ pageLayoutId?: boolean | number
+ universalIdentifier?: boolean | number
+ applicationId?: boolean | number
+ createdAt?: boolean | number
+ updatedAt?: boolean | number
+ __typename?: boolean | number
+ __scalar?: boolean | number
+}
+
+export interface CommandMenuItemPayloadGenqlSelection{
+ on_PathCommandMenuItemPayload?:PathCommandMenuItemPayloadGenqlSelection,
+ on_ObjectMetadataCommandMenuItemPayload?:ObjectMetadataCommandMenuItemPayloadGenqlSelection,
+ __typename?: boolean | number
+}
+
+export interface PathCommandMenuItemPayloadGenqlSelection{
+ path?: boolean | number
+ __typename?: boolean | number
+ __scalar?: boolean | number
+}
+
+export interface ObjectMetadataCommandMenuItemPayloadGenqlSelection{
+ objectMetadataItemId?: boolean | number
+ __typename?: boolean | number
+ __scalar?: boolean | number
+}
+
export interface LogicFunctionGenqlSelection{
id?: boolean | number
name?: boolean | number
@@ -3333,6 +3378,7 @@ export interface ApplicationGenqlSelection{
defaultLogicFunctionRole?: RoleGenqlSelection
agents?: AgentGenqlSelection
frontComponents?: FrontComponentGenqlSelection
+ commandMenuItems?: CommandMenuItemGenqlSelection
logicFunctions?: LogicFunctionGenqlSelection
objects?: ObjectGenqlSelection
applicationVariables?: ApplicationVariableGenqlSelection
@@ -5068,48 +5114,6 @@ export interface PostgresCredentialsGenqlSelection{
__scalar?: boolean | number
}
-export interface CommandMenuItemGenqlSelection{
- id?: boolean | number
- workflowVersionId?: boolean | number
- frontComponentId?: boolean | number
- frontComponent?: FrontComponentGenqlSelection
- engineComponentKey?: boolean | number
- label?: boolean | number
- icon?: boolean | number
- shortLabel?: boolean | number
- position?: boolean | number
- isPinned?: boolean | number
- availabilityType?: boolean | number
- payload?: CommandMenuItemPayloadGenqlSelection
- hotKeys?: boolean | number
- conditionalAvailabilityExpression?: boolean | number
- availabilityObjectMetadataId?: boolean | number
- pageLayoutId?: boolean | number
- applicationId?: boolean | number
- createdAt?: boolean | number
- updatedAt?: boolean | number
- __typename?: boolean | number
- __scalar?: boolean | number
-}
-
-export interface CommandMenuItemPayloadGenqlSelection{
- on_PathCommandMenuItemPayload?:PathCommandMenuItemPayloadGenqlSelection,
- on_ObjectMetadataCommandMenuItemPayload?:ObjectMetadataCommandMenuItemPayloadGenqlSelection,
- __typename?: boolean | number
-}
-
-export interface PathCommandMenuItemPayloadGenqlSelection{
- path?: boolean | number
- __typename?: boolean | number
- __scalar?: boolean | number
-}
-
-export interface ObjectMetadataCommandMenuItemPayloadGenqlSelection{
- objectMetadataItemId?: boolean | number
- __typename?: boolean | number
- __scalar?: boolean | number
-}
-
export interface ToolIndexEntryGenqlSelection{
name?: boolean | number
description?: boolean | number
@@ -6441,6 +6445,38 @@ export interface LogicFunctionLogsInput {applicationId?: (Scalars['UUID'] | null
+ const CommandMenuItem_possibleTypes: string[] = ['CommandMenuItem']
+ export const isCommandMenuItem = (obj?: { __typename?: any } | null): obj is CommandMenuItem => {
+ if (!obj?.__typename) throw new Error('__typename is missing in "isCommandMenuItem"')
+ return CommandMenuItem_possibleTypes.includes(obj.__typename)
+ }
+
+
+
+ const CommandMenuItemPayload_possibleTypes: string[] = ['PathCommandMenuItemPayload','ObjectMetadataCommandMenuItemPayload']
+ export const isCommandMenuItemPayload = (obj?: { __typename?: any } | null): obj is CommandMenuItemPayload => {
+ if (!obj?.__typename) throw new Error('__typename is missing in "isCommandMenuItemPayload"')
+ return CommandMenuItemPayload_possibleTypes.includes(obj.__typename)
+ }
+
+
+
+ const PathCommandMenuItemPayload_possibleTypes: string[] = ['PathCommandMenuItemPayload']
+ export const isPathCommandMenuItemPayload = (obj?: { __typename?: any } | null): obj is PathCommandMenuItemPayload => {
+ if (!obj?.__typename) throw new Error('__typename is missing in "isPathCommandMenuItemPayload"')
+ return PathCommandMenuItemPayload_possibleTypes.includes(obj.__typename)
+ }
+
+
+
+ const ObjectMetadataCommandMenuItemPayload_possibleTypes: string[] = ['ObjectMetadataCommandMenuItemPayload']
+ export const isObjectMetadataCommandMenuItemPayload = (obj?: { __typename?: any } | null): obj is ObjectMetadataCommandMenuItemPayload => {
+ if (!obj?.__typename) throw new Error('__typename is missing in "isObjectMetadataCommandMenuItemPayload"')
+ return ObjectMetadataCommandMenuItemPayload_possibleTypes.includes(obj.__typename)
+ }
+
+
+
const LogicFunction_possibleTypes: string[] = ['LogicFunction']
export const isLogicFunction = (obj?: { __typename?: any } | null): obj is LogicFunction => {
if (!obj?.__typename) throw new Error('__typename is missing in "isLogicFunction"')
@@ -7873,38 +7909,6 @@ export interface LogicFunctionLogsInput {applicationId?: (Scalars['UUID'] | null
- const CommandMenuItem_possibleTypes: string[] = ['CommandMenuItem']
- export const isCommandMenuItem = (obj?: { __typename?: any } | null): obj is CommandMenuItem => {
- if (!obj?.__typename) throw new Error('__typename is missing in "isCommandMenuItem"')
- return CommandMenuItem_possibleTypes.includes(obj.__typename)
- }
-
-
-
- const CommandMenuItemPayload_possibleTypes: string[] = ['PathCommandMenuItemPayload','ObjectMetadataCommandMenuItemPayload']
- export const isCommandMenuItemPayload = (obj?: { __typename?: any } | null): obj is CommandMenuItemPayload => {
- if (!obj?.__typename) throw new Error('__typename is missing in "isCommandMenuItemPayload"')
- return CommandMenuItemPayload_possibleTypes.includes(obj.__typename)
- }
-
-
-
- const PathCommandMenuItemPayload_possibleTypes: string[] = ['PathCommandMenuItemPayload']
- export const isPathCommandMenuItemPayload = (obj?: { __typename?: any } | null): obj is PathCommandMenuItemPayload => {
- if (!obj?.__typename) throw new Error('__typename is missing in "isPathCommandMenuItemPayload"')
- return PathCommandMenuItemPayload_possibleTypes.includes(obj.__typename)
- }
-
-
-
- const ObjectMetadataCommandMenuItemPayload_possibleTypes: string[] = ['ObjectMetadataCommandMenuItemPayload']
- export const isObjectMetadataCommandMenuItemPayload = (obj?: { __typename?: any } | null): obj is ObjectMetadataCommandMenuItemPayload => {
- if (!obj?.__typename) throw new Error('__typename is missing in "isObjectMetadataCommandMenuItemPayload"')
- return ObjectMetadataCommandMenuItemPayload_possibleTypes.includes(obj.__typename)
- }
-
-
-
const ToolIndexEntry_possibleTypes: string[] = ['ToolIndexEntry']
export const isToolIndexEntry = (obj?: { __typename?: any } | null): obj is ToolIndexEntry => {
if (!obj?.__typename) throw new Error('__typename is missing in "isToolIndexEntry"')
@@ -8304,6 +8308,82 @@ export const enumWorkspaceMemberNumberFormatEnum = {
APOSTROPHE_AND_DOT: 'APOSTROPHE_AND_DOT' as const
}
+export const enumEngineComponentKey = {
+ NAVIGATE_TO_NEXT_RECORD: 'NAVIGATE_TO_NEXT_RECORD' as const,
+ NAVIGATE_TO_PREVIOUS_RECORD: 'NAVIGATE_TO_PREVIOUS_RECORD' as const,
+ CREATE_NEW_RECORD: 'CREATE_NEW_RECORD' as const,
+ DELETE_RECORDS: 'DELETE_RECORDS' as const,
+ RESTORE_RECORDS: 'RESTORE_RECORDS' as const,
+ DESTROY_RECORDS: 'DESTROY_RECORDS' as const,
+ ADD_TO_FAVORITES: 'ADD_TO_FAVORITES' as const,
+ REMOVE_FROM_FAVORITES: 'REMOVE_FROM_FAVORITES' as const,
+ EXPORT_NOTE_TO_PDF: 'EXPORT_NOTE_TO_PDF' as const,
+ EXPORT_RECORDS: 'EXPORT_RECORDS' as const,
+ UPDATE_MULTIPLE_RECORDS: 'UPDATE_MULTIPLE_RECORDS' as const,
+ MERGE_MULTIPLE_RECORDS: 'MERGE_MULTIPLE_RECORDS' as const,
+ IMPORT_RECORDS: 'IMPORT_RECORDS' as const,
+ EXPORT_VIEW: 'EXPORT_VIEW' as const,
+ SEE_DELETED_RECORDS: 'SEE_DELETED_RECORDS' as const,
+ CREATE_NEW_VIEW: 'CREATE_NEW_VIEW' as const,
+ HIDE_DELETED_RECORDS: 'HIDE_DELETED_RECORDS' as const,
+ EDIT_RECORD_PAGE_LAYOUT: 'EDIT_RECORD_PAGE_LAYOUT' as const,
+ EDIT_DASHBOARD_LAYOUT: 'EDIT_DASHBOARD_LAYOUT' as const,
+ SAVE_DASHBOARD_LAYOUT: 'SAVE_DASHBOARD_LAYOUT' as const,
+ CANCEL_DASHBOARD_LAYOUT: 'CANCEL_DASHBOARD_LAYOUT' as const,
+ DUPLICATE_DASHBOARD: 'DUPLICATE_DASHBOARD' as const,
+ ACTIVATE_WORKFLOW: 'ACTIVATE_WORKFLOW' as const,
+ DEACTIVATE_WORKFLOW: 'DEACTIVATE_WORKFLOW' as const,
+ DISCARD_DRAFT_WORKFLOW: 'DISCARD_DRAFT_WORKFLOW' as const,
+ TEST_WORKFLOW: 'TEST_WORKFLOW' as const,
+ SEE_ACTIVE_VERSION_WORKFLOW: 'SEE_ACTIVE_VERSION_WORKFLOW' as const,
+ SEE_RUNS_WORKFLOW: 'SEE_RUNS_WORKFLOW' as const,
+ SEE_VERSIONS_WORKFLOW: 'SEE_VERSIONS_WORKFLOW' as const,
+ ADD_NODE_WORKFLOW: 'ADD_NODE_WORKFLOW' as const,
+ TIDY_UP_WORKFLOW: 'TIDY_UP_WORKFLOW' as const,
+ DUPLICATE_WORKFLOW: 'DUPLICATE_WORKFLOW' as const,
+ SEE_VERSION_WORKFLOW_RUN: 'SEE_VERSION_WORKFLOW_RUN' as const,
+ SEE_WORKFLOW_WORKFLOW_RUN: 'SEE_WORKFLOW_WORKFLOW_RUN' as const,
+ STOP_WORKFLOW_RUN: 'STOP_WORKFLOW_RUN' as const,
+ SEE_RUNS_WORKFLOW_VERSION: 'SEE_RUNS_WORKFLOW_VERSION' as const,
+ SEE_WORKFLOW_WORKFLOW_VERSION: 'SEE_WORKFLOW_WORKFLOW_VERSION' as const,
+ USE_AS_DRAFT_WORKFLOW_VERSION: 'USE_AS_DRAFT_WORKFLOW_VERSION' as const,
+ SEE_VERSIONS_WORKFLOW_VERSION: 'SEE_VERSIONS_WORKFLOW_VERSION' as const,
+ SEARCH_RECORDS: 'SEARCH_RECORDS' as const,
+ SEARCH_RECORDS_FALLBACK: 'SEARCH_RECORDS_FALLBACK' as const,
+ ASK_AI: 'ASK_AI' as const,
+ VIEW_PREVIOUS_AI_CHATS: 'VIEW_PREVIOUS_AI_CHATS' as const,
+ NAVIGATION: 'NAVIGATION' as const,
+ TRIGGER_WORKFLOW_VERSION: 'TRIGGER_WORKFLOW_VERSION' as const,
+ FRONT_COMPONENT_RENDERER: 'FRONT_COMPONENT_RENDERER' as const,
+ REPLY_TO_EMAIL_THREAD: 'REPLY_TO_EMAIL_THREAD' as const,
+ COMPOSE_EMAIL: 'COMPOSE_EMAIL' as const,
+ GO_TO_PEOPLE: 'GO_TO_PEOPLE' as const,
+ GO_TO_COMPANIES: 'GO_TO_COMPANIES' as const,
+ GO_TO_DASHBOARDS: 'GO_TO_DASHBOARDS' as const,
+ GO_TO_OPPORTUNITIES: 'GO_TO_OPPORTUNITIES' as const,
+ GO_TO_SETTINGS: 'GO_TO_SETTINGS' as const,
+ GO_TO_TASKS: 'GO_TO_TASKS' as const,
+ GO_TO_NOTES: 'GO_TO_NOTES' as const,
+ GO_TO_WORKFLOWS: 'GO_TO_WORKFLOWS' as const,
+ GO_TO_RUNS: 'GO_TO_RUNS' as const,
+ DELETE_SINGLE_RECORD: 'DELETE_SINGLE_RECORD' as const,
+ DELETE_MULTIPLE_RECORDS: 'DELETE_MULTIPLE_RECORDS' as const,
+ RESTORE_SINGLE_RECORD: 'RESTORE_SINGLE_RECORD' as const,
+ RESTORE_MULTIPLE_RECORDS: 'RESTORE_MULTIPLE_RECORDS' as const,
+ DESTROY_SINGLE_RECORD: 'DESTROY_SINGLE_RECORD' as const,
+ DESTROY_MULTIPLE_RECORDS: 'DESTROY_MULTIPLE_RECORDS' as const,
+ EXPORT_FROM_RECORD_INDEX: 'EXPORT_FROM_RECORD_INDEX' as const,
+ EXPORT_FROM_RECORD_SHOW: 'EXPORT_FROM_RECORD_SHOW' as const,
+ EXPORT_MULTIPLE_RECORDS: 'EXPORT_MULTIPLE_RECORDS' as const
+}
+
+export const enumCommandMenuItemAvailabilityType = {
+ GLOBAL: 'GLOBAL' as const,
+ GLOBAL_OBJECT_CONTEXT: 'GLOBAL_OBJECT_CONTEXT' as const,
+ RECORD_SELECTION: 'RECORD_SELECTION' as const,
+ FALLBACK: 'FALLBACK' as const
+}
+
export const enumFieldMetadataType = {
ACTOR: 'ACTOR' as const,
ADDRESS: 'ADDRESS' as const,
@@ -8663,82 +8743,6 @@ export const enumEmailingDomainStatus = {
TEMPORARY_FAILURE: 'TEMPORARY_FAILURE' as const
}
-export const enumEngineComponentKey = {
- NAVIGATE_TO_NEXT_RECORD: 'NAVIGATE_TO_NEXT_RECORD' as const,
- NAVIGATE_TO_PREVIOUS_RECORD: 'NAVIGATE_TO_PREVIOUS_RECORD' as const,
- CREATE_NEW_RECORD: 'CREATE_NEW_RECORD' as const,
- DELETE_RECORDS: 'DELETE_RECORDS' as const,
- RESTORE_RECORDS: 'RESTORE_RECORDS' as const,
- DESTROY_RECORDS: 'DESTROY_RECORDS' as const,
- ADD_TO_FAVORITES: 'ADD_TO_FAVORITES' as const,
- REMOVE_FROM_FAVORITES: 'REMOVE_FROM_FAVORITES' as const,
- EXPORT_NOTE_TO_PDF: 'EXPORT_NOTE_TO_PDF' as const,
- EXPORT_RECORDS: 'EXPORT_RECORDS' as const,
- UPDATE_MULTIPLE_RECORDS: 'UPDATE_MULTIPLE_RECORDS' as const,
- MERGE_MULTIPLE_RECORDS: 'MERGE_MULTIPLE_RECORDS' as const,
- IMPORT_RECORDS: 'IMPORT_RECORDS' as const,
- EXPORT_VIEW: 'EXPORT_VIEW' as const,
- SEE_DELETED_RECORDS: 'SEE_DELETED_RECORDS' as const,
- CREATE_NEW_VIEW: 'CREATE_NEW_VIEW' as const,
- HIDE_DELETED_RECORDS: 'HIDE_DELETED_RECORDS' as const,
- EDIT_RECORD_PAGE_LAYOUT: 'EDIT_RECORD_PAGE_LAYOUT' as const,
- EDIT_DASHBOARD_LAYOUT: 'EDIT_DASHBOARD_LAYOUT' as const,
- SAVE_DASHBOARD_LAYOUT: 'SAVE_DASHBOARD_LAYOUT' as const,
- CANCEL_DASHBOARD_LAYOUT: 'CANCEL_DASHBOARD_LAYOUT' as const,
- DUPLICATE_DASHBOARD: 'DUPLICATE_DASHBOARD' as const,
- ACTIVATE_WORKFLOW: 'ACTIVATE_WORKFLOW' as const,
- DEACTIVATE_WORKFLOW: 'DEACTIVATE_WORKFLOW' as const,
- DISCARD_DRAFT_WORKFLOW: 'DISCARD_DRAFT_WORKFLOW' as const,
- TEST_WORKFLOW: 'TEST_WORKFLOW' as const,
- SEE_ACTIVE_VERSION_WORKFLOW: 'SEE_ACTIVE_VERSION_WORKFLOW' as const,
- SEE_RUNS_WORKFLOW: 'SEE_RUNS_WORKFLOW' as const,
- SEE_VERSIONS_WORKFLOW: 'SEE_VERSIONS_WORKFLOW' as const,
- ADD_NODE_WORKFLOW: 'ADD_NODE_WORKFLOW' as const,
- TIDY_UP_WORKFLOW: 'TIDY_UP_WORKFLOW' as const,
- DUPLICATE_WORKFLOW: 'DUPLICATE_WORKFLOW' as const,
- SEE_VERSION_WORKFLOW_RUN: 'SEE_VERSION_WORKFLOW_RUN' as const,
- SEE_WORKFLOW_WORKFLOW_RUN: 'SEE_WORKFLOW_WORKFLOW_RUN' as const,
- STOP_WORKFLOW_RUN: 'STOP_WORKFLOW_RUN' as const,
- SEE_RUNS_WORKFLOW_VERSION: 'SEE_RUNS_WORKFLOW_VERSION' as const,
- SEE_WORKFLOW_WORKFLOW_VERSION: 'SEE_WORKFLOW_WORKFLOW_VERSION' as const,
- USE_AS_DRAFT_WORKFLOW_VERSION: 'USE_AS_DRAFT_WORKFLOW_VERSION' as const,
- SEE_VERSIONS_WORKFLOW_VERSION: 'SEE_VERSIONS_WORKFLOW_VERSION' as const,
- SEARCH_RECORDS: 'SEARCH_RECORDS' as const,
- SEARCH_RECORDS_FALLBACK: 'SEARCH_RECORDS_FALLBACK' as const,
- ASK_AI: 'ASK_AI' as const,
- VIEW_PREVIOUS_AI_CHATS: 'VIEW_PREVIOUS_AI_CHATS' as const,
- NAVIGATION: 'NAVIGATION' as const,
- TRIGGER_WORKFLOW_VERSION: 'TRIGGER_WORKFLOW_VERSION' as const,
- FRONT_COMPONENT_RENDERER: 'FRONT_COMPONENT_RENDERER' as const,
- REPLY_TO_EMAIL_THREAD: 'REPLY_TO_EMAIL_THREAD' as const,
- COMPOSE_EMAIL: 'COMPOSE_EMAIL' as const,
- GO_TO_PEOPLE: 'GO_TO_PEOPLE' as const,
- GO_TO_COMPANIES: 'GO_TO_COMPANIES' as const,
- GO_TO_DASHBOARDS: 'GO_TO_DASHBOARDS' as const,
- GO_TO_OPPORTUNITIES: 'GO_TO_OPPORTUNITIES' as const,
- GO_TO_SETTINGS: 'GO_TO_SETTINGS' as const,
- GO_TO_TASKS: 'GO_TO_TASKS' as const,
- GO_TO_NOTES: 'GO_TO_NOTES' as const,
- GO_TO_WORKFLOWS: 'GO_TO_WORKFLOWS' as const,
- GO_TO_RUNS: 'GO_TO_RUNS' as const,
- DELETE_SINGLE_RECORD: 'DELETE_SINGLE_RECORD' as const,
- DELETE_MULTIPLE_RECORDS: 'DELETE_MULTIPLE_RECORDS' as const,
- RESTORE_SINGLE_RECORD: 'RESTORE_SINGLE_RECORD' as const,
- RESTORE_MULTIPLE_RECORDS: 'RESTORE_MULTIPLE_RECORDS' as const,
- DESTROY_SINGLE_RECORD: 'DESTROY_SINGLE_RECORD' as const,
- DESTROY_MULTIPLE_RECORDS: 'DESTROY_MULTIPLE_RECORDS' as const,
- EXPORT_FROM_RECORD_INDEX: 'EXPORT_FROM_RECORD_INDEX' as const,
- EXPORT_FROM_RECORD_SHOW: 'EXPORT_FROM_RECORD_SHOW' as const,
- EXPORT_MULTIPLE_RECORDS: 'EXPORT_MULTIPLE_RECORDS' as const
-}
-
-export const enumCommandMenuItemAvailabilityType = {
- GLOBAL: 'GLOBAL' as const,
- GLOBAL_OBJECT_CONTEXT: 'GLOBAL_OBJECT_CONTEXT' as const,
- RECORD_SELECTION: 'RECORD_SELECTION' as const,
- FALLBACK: 'FALLBACK' as const
-}
-
export const enumCalendarChannelSyncStatus = {
NOT_SYNCED: 'NOT_SYNCED' as const,
ONGOING: 'ONGOING' as const,
diff --git a/packages/twenty-client-sdk/src/metadata/generated/types.ts b/packages/twenty-client-sdk/src/metadata/generated/types.ts
index b5c3a2dd49a..6d31da1e10d 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/types.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/types.ts
@@ -14,52 +14,52 @@ export default {
22,
23,
24,
- 38,
- 41,
- 43,
- 54,
- 56,
- 58,
- 61,
+ 36,
+ 37,
+ 44,
+ 47,
+ 49,
+ 60,
+ 62,
64,
- 65,
- 66,
67,
- 68,
70,
+ 71,
+ 72,
73,
74,
+ 76,
79,
- 82,
- 87,
- 90,
- 91,
+ 80,
+ 85,
+ 88,
93,
+ 96,
97,
- 98,
+ 99,
+ 103,
104,
- 118,
- 129,
- 130,
- 131,
- 133,
- 141,
- 152,
- 155,
- 157,
+ 110,
+ 124,
+ 135,
+ 136,
+ 137,
+ 139,
+ 147,
+ 158,
161,
163,
167,
- 168,
- 175,
- 178,
+ 169,
+ 173,
+ 174,
181,
- 204,
- 219,
- 255,
- 256,
- 266,
- 267,
+ 184,
+ 187,
+ 210,
+ 225,
+ 261,
+ 262,
293,
302,
303,
@@ -93,13 +93,13 @@ export default {
1
],
"metadata": [
- 128
+ 134
],
"on_BillingLicensedProduct": [
- 137
+ 143
],
"on_BillingMeteredProduct": [
- 138
+ 144
],
"__typename": [
1
@@ -331,7 +331,7 @@ export default {
3
],
"user": [
- 72
+ 78
],
"userId": [
3
@@ -708,6 +708,100 @@ export default {
1
]
},
+ "CommandMenuItem": {
+ "id": [
+ 3
+ ],
+ "workflowVersionId": [
+ 3
+ ],
+ "frontComponentId": [
+ 3
+ ],
+ "frontComponent": [
+ 34
+ ],
+ "engineComponentKey": [
+ 36
+ ],
+ "label": [
+ 1
+ ],
+ "icon": [
+ 1
+ ],
+ "shortLabel": [
+ 1
+ ],
+ "position": [
+ 11
+ ],
+ "isPinned": [
+ 6
+ ],
+ "availabilityType": [
+ 37
+ ],
+ "payload": [
+ 38
+ ],
+ "hotKeys": [
+ 1
+ ],
+ "conditionalAvailabilityExpression": [
+ 1
+ ],
+ "availabilityObjectMetadataId": [
+ 3
+ ],
+ "pageLayoutId": [
+ 3
+ ],
+ "universalIdentifier": [
+ 3
+ ],
+ "applicationId": [
+ 3
+ ],
+ "createdAt": [
+ 4
+ ],
+ "updatedAt": [
+ 4
+ ],
+ "__typename": [
+ 1
+ ]
+ },
+ "EngineComponentKey": {},
+ "CommandMenuItemAvailabilityType": {},
+ "CommandMenuItemPayload": {
+ "on_PathCommandMenuItemPayload": [
+ 39
+ ],
+ "on_ObjectMetadataCommandMenuItemPayload": [
+ 40
+ ],
+ "__typename": [
+ 1
+ ]
+ },
+ "PathCommandMenuItemPayload": {
+ "path": [
+ 1
+ ],
+ "__typename": [
+ 1
+ ]
+ },
+ "ObjectMetadataCommandMenuItemPayload": {
+ "objectMetadataItemId": [
+ 3
+ ],
+ "__typename": [
+ 1
+ ]
+ },
"LogicFunction": {
"id": [
3
@@ -786,7 +880,7 @@ export default {
1
],
"type": [
- 38
+ 44
],
"name": [
1
@@ -801,7 +895,7 @@ export default {
1
],
"standardOverrides": [
- 36
+ 42
],
"isCustom": [
6
@@ -849,13 +943,13 @@ export default {
3
],
"relation": [
- 203
+ 209
],
"morphRelations": [
- 203
+ 209
],
"object": [
- 49
+ 55
],
"__typename": [
1
@@ -899,7 +993,7 @@ export default {
1
],
"indexType": [
- 41
+ 47
],
"createdAt": [
4
@@ -908,30 +1002,30 @@ export default {
4
],
"indexFieldMetadataList": [
- 39
+ 45
],
"objectMetadata": [
- 211,
+ 217,
{
"paging": [
- 42,
+ 48,
"CursorPaging!"
],
"filter": [
- 44,
+ 50,
"ObjectFilter!"
]
}
],
"indexFieldMetadatas": [
- 209,
+ 215,
{
"paging": [
- 42,
+ 48,
"CursorPaging!"
],
"filter": [
- 47,
+ 53,
"IndexFieldFilter!"
]
}
@@ -943,10 +1037,10 @@ export default {
"IndexType": {},
"CursorPaging": {
"before": [
- 43
+ 49
],
"after": [
- 43
+ 49
],
"first": [
21
@@ -961,31 +1055,31 @@ export default {
"ConnectionCursor": {},
"ObjectFilter": {
"and": [
- 44
+ 50
],
"or": [
- 44
+ 50
],
"id": [
- 45
+ 51
],
"isCustom": [
- 46
+ 52
],
"isRemote": [
- 46
+ 52
],
"isActive": [
- 46
+ 52
],
"isSystem": [
- 46
+ 52
],
"isUIReadOnly": [
- 46
+ 52
],
"isSearchable": [
- 46
+ 52
],
"__typename": [
1
@@ -1051,16 +1145,16 @@ export default {
},
"IndexFieldFilter": {
"and": [
- 47
+ 53
],
"or": [
- 47
+ 53
],
"id": [
- 45
+ 51
],
"fieldMetadataId": [
- 45
+ 51
],
"__typename": [
1
@@ -1115,7 +1209,7 @@ export default {
1
],
"standardOverrides": [
- 48
+ 54
],
"shortcut": [
1
@@ -1163,33 +1257,33 @@ export default {
1
],
"fieldsList": [
- 37
+ 43
],
"indexMetadataList": [
- 40
+ 46
],
"fields": [
- 216,
+ 222,
{
"paging": [
- 42,
+ 48,
"CursorPaging!"
],
"filter": [
- 50,
+ 56,
"FieldFilter!"
]
}
],
"indexMetadatas": [
- 214,
+ 220,
{
"paging": [
- 42,
+ 48,
"CursorPaging!"
],
"filter": [
- 51,
+ 57,
"IndexFilter!"
]
}
@@ -1200,28 +1294,28 @@ export default {
},
"FieldFilter": {
"and": [
- 50
+ 56
],
"or": [
- 50
+ 56
],
"id": [
- 45
+ 51
],
"isCustom": [
- 46
+ 52
],
"isActive": [
- 46
+ 52
],
"isSystem": [
- 46
+ 52
],
"isUIReadOnly": [
- 46
+ 52
],
"objectMetadataId": [
- 45
+ 51
],
"__typename": [
1
@@ -1229,16 +1323,16 @@ export default {
},
"IndexFilter": {
"and": [
- 51
+ 57
],
"or": [
- 51
+ 57
],
"id": [
- 45
+ 51
],
"isCustom": [
- 46
+ 52
],
"__typename": [
1
@@ -1299,11 +1393,14 @@ export default {
"frontComponents": [
34
],
- "logicFunctions": [
+ "commandMenuItems": [
35
],
+ "logicFunctions": [
+ 41
+ ],
"objects": [
- 49
+ 55
],
"applicationVariables": [
31
@@ -1332,7 +1429,7 @@ export default {
11
],
"aggregateOperation": [
- 54
+ 60
],
"viewId": [
3
@@ -1371,7 +1468,7 @@ export default {
3
],
"logicalOperator": [
- 56
+ 62
],
"positionInViewFilterGroup": [
11
@@ -1404,7 +1501,7 @@ export default {
3
],
"operand": [
- 58
+ 64
],
"value": [
15
@@ -1478,7 +1575,7 @@ export default {
3
],
"direction": [
- 61
+ 67
],
"viewId": [
3
@@ -1532,7 +1629,7 @@ export default {
4
],
"viewFields": [
- 53
+ 59
],
"isOverridden": [
6
@@ -1552,10 +1649,10 @@ export default {
3
],
"type": [
- 64
+ 70
],
"key": [
- 65
+ 71
],
"icon": [
1
@@ -1570,10 +1667,10 @@ export default {
6
],
"openRecordIn": [
- 66
+ 72
],
"kanbanAggregateOperation": [
- 54
+ 60
],
"kanbanAggregateOperationFieldMetadataId": [
3
@@ -1594,7 +1691,7 @@ export default {
1
],
"calendarLayout": [
- 67
+ 73
],
"createdAt": [
4
@@ -1606,25 +1703,25 @@ export default {
4
],
"viewFields": [
- 53
+ 59
],
"viewFilters": [
- 57
+ 63
],
"viewFilterGroups": [
- 55
+ 61
],
"viewSorts": [
- 60
+ 66
],
"viewGroups": [
- 59
+ 65
],
"viewFieldGroups": [
- 62
+ 68
],
"visibility": [
- 68
+ 74
],
"createdByUserWorkspaceId": [
3
@@ -1679,25 +1776,25 @@ export default {
11
],
"activationStatus": [
- 70
+ 76
],
"views": [
- 63
+ 69
],
"viewFields": [
- 53
+ 59
],
"viewFilters": [
- 57
+ 63
],
"viewFilterGroups": [
- 55
+ 61
],
"viewGroups": [
- 59
+ 65
],
"viewSorts": [
- 60
+ 66
],
"metadataVersion": [
11
@@ -1760,22 +1857,22 @@ export default {
1
],
"workspaceCustomApplication": [
- 52
+ 58
],
"featureFlags": [
- 162
+ 168
],
"billingSubscriptions": [
- 140
+ 146
],
"installedApplications": [
- 52
+ 58
],
"currentBillingSubscription": [
- 140
+ 146
],
"billingEntitlements": [
- 218
+ 224
],
"hasValidEnterpriseKey": [
6
@@ -1787,7 +1884,7 @@ export default {
6
],
"workspaceUrls": [
- 164
+ 170
],
"workspaceCustomApplicationId": [
1
@@ -1861,22 +1958,22 @@ export default {
17
],
"onboardingStatus": [
- 73
+ 79
],
"currentWorkspace": [
- 69
+ 75
],
"currentUserWorkspace": [
17
],
"userVars": [
- 74
+ 80
],
"workspaceMembers": [
20
],
"deletedWorkspaceMembers": [
- 202
+ 208
],
"hasPassword": [
6
@@ -1888,7 +1985,7 @@ export default {
17
],
"availableWorkspaces": [
- 201
+ 207
],
"__typename": [
1
@@ -1949,19 +2046,19 @@ export default {
1
],
"type": [
- 79
+ 85
],
"objectMetadataId": [
3
],
"gridPosition": [
- 77
+ 83
],
"position": [
- 80
+ 86
],
"configuration": [
- 85
+ 91
],
"conditionalDisplay": [
15
@@ -1991,13 +2088,13 @@ export default {
"WidgetType": {},
"PageLayoutWidgetPosition": {
"on_PageLayoutWidgetGridPosition": [
- 81
+ 87
],
"on_PageLayoutWidgetVerticalListPosition": [
- 83
+ 89
],
"on_PageLayoutWidgetCanvasPosition": [
- 84
+ 90
],
"__typename": [
1
@@ -2005,7 +2102,7 @@ export default {
},
"PageLayoutWidgetGridPosition": {
"layoutMode": [
- 82
+ 88
],
"row": [
21
@@ -2026,7 +2123,7 @@ export default {
"PageLayoutTabLayoutMode": {},
"PageLayoutWidgetVerticalListPosition": {
"layoutMode": [
- 82
+ 88
],
"index": [
21
@@ -2037,7 +2134,7 @@ export default {
},
"PageLayoutWidgetCanvasPosition": {
"layoutMode": [
- 82
+ 88
],
"__typename": [
1
@@ -2045,73 +2142,73 @@ export default {
},
"WidgetConfiguration": {
"on_AggregateChartConfiguration": [
- 86
+ 92
],
"on_StandaloneRichTextConfiguration": [
- 88
+ 94
],
"on_PieChartConfiguration": [
- 89
+ 95
],
"on_LineChartConfiguration": [
- 92
+ 98
],
"on_IframeConfiguration": [
- 94
+ 100
],
"on_GaugeChartConfiguration": [
- 95
+ 101
],
"on_BarChartConfiguration": [
- 96
+ 102
],
"on_CalendarConfiguration": [
- 99
+ 105
],
"on_FrontComponentConfiguration": [
- 100
+ 106
],
"on_EmailsConfiguration": [
- 101
+ 107
],
"on_EmailThreadConfiguration": [
- 102
+ 108
],
"on_FieldConfiguration": [
- 103
+ 109
],
"on_FieldRichTextConfiguration": [
- 105
+ 111
],
"on_FieldsConfiguration": [
- 106
+ 112
],
"on_FilesConfiguration": [
- 107
+ 113
],
"on_NotesConfiguration": [
- 108
+ 114
],
"on_TasksConfiguration": [
- 109
+ 115
],
"on_TimelineConfiguration": [
- 110
+ 116
],
"on_ViewConfiguration": [
- 111
+ 117
],
"on_RecordTableConfiguration": [
- 112
+ 118
],
"on_WorkflowConfiguration": [
- 113
+ 119
],
"on_WorkflowRunConfiguration": [
- 114
+ 120
],
"on_WorkflowVersionConfiguration": [
- 115
+ 121
],
"__typename": [
1
@@ -2119,13 +2216,13 @@ export default {
},
"AggregateChartConfiguration": {
"configurationType": [
- 87
+ 93
],
"aggregateFieldMetadataId": [
3
],
"aggregateOperation": [
- 54
+ 60
],
"label": [
1
@@ -2155,7 +2252,7 @@ export default {
1
],
"ratioAggregateConfig": [
- 75
+ 81
],
"__typename": [
1
@@ -2164,10 +2261,10 @@ export default {
"WidgetConfigurationType": {},
"StandaloneRichTextConfiguration": {
"configurationType": [
- 87
+ 93
],
"body": [
- 76
+ 82
],
"__typename": [
1
@@ -2175,13 +2272,13 @@ export default {
},
"PieChartConfiguration": {
"configurationType": [
- 87
+ 93
],
"aggregateFieldMetadataId": [
3
],
"aggregateOperation": [
- 54
+ 60
],
"groupByFieldMetadataId": [
3
@@ -2190,10 +2287,10 @@ export default {
1
],
"dateGranularity": [
- 90
+ 96
],
"orderBy": [
- 91
+ 97
],
"manualSortOrder": [
1
@@ -2236,13 +2333,13 @@ export default {
"GraphOrderBy": {},
"LineChartConfiguration": {
"configurationType": [
- 87
+ 93
],
"aggregateFieldMetadataId": [
3
],
"aggregateOperation": [
- 54
+ 60
],
"primaryAxisGroupByFieldMetadataId": [
3
@@ -2251,10 +2348,10 @@ export default {
1
],
"primaryAxisDateGranularity": [
- 90
+ 96
],
"primaryAxisOrderBy": [
- 91
+ 97
],
"primaryAxisManualSortOrder": [
1
@@ -2266,10 +2363,10 @@ export default {
1
],
"secondaryAxisGroupByDateGranularity": [
- 90
+ 96
],
"secondaryAxisOrderBy": [
- 91
+ 97
],
"secondaryAxisManualSortOrder": [
1
@@ -2281,7 +2378,7 @@ export default {
6
],
"axisNameDisplay": [
- 93
+ 99
],
"displayDataLabel": [
6
@@ -2323,7 +2420,7 @@ export default {
"AxisNameDisplay": {},
"IframeConfiguration": {
"configurationType": [
- 87
+ 93
],
"url": [
1
@@ -2334,13 +2431,13 @@ export default {
},
"GaugeChartConfiguration": {
"configurationType": [
- 87
+ 93
],
"aggregateFieldMetadataId": [
3
],
"aggregateOperation": [
- 54
+ 60
],
"displayDataLabel": [
6
@@ -2366,13 +2463,13 @@ export default {
},
"BarChartConfiguration": {
"configurationType": [
- 87
+ 93
],
"aggregateFieldMetadataId": [
3
],
"aggregateOperation": [
- 54
+ 60
],
"primaryAxisGroupByFieldMetadataId": [
3
@@ -2381,10 +2478,10 @@ export default {
1
],
"primaryAxisDateGranularity": [
- 90
+ 96
],
"primaryAxisOrderBy": [
- 91
+ 97
],
"primaryAxisManualSortOrder": [
1
@@ -2396,10 +2493,10 @@ export default {
1
],
"secondaryAxisGroupByDateGranularity": [
- 90
+ 96
],
"secondaryAxisOrderBy": [
- 91
+ 97
],
"secondaryAxisManualSortOrder": [
1
@@ -2411,7 +2508,7 @@ export default {
6
],
"axisNameDisplay": [
- 93
+ 99
],
"displayDataLabel": [
6
@@ -2435,10 +2532,10 @@ export default {
15
],
"groupMode": [
- 97
+ 103
],
"layout": [
- 98
+ 104
],
"isCumulative": [
6
@@ -2457,7 +2554,7 @@ export default {
"BarChartLayout": {},
"CalendarConfiguration": {
"configurationType": [
- 87
+ 93
],
"__typename": [
1
@@ -2465,7 +2562,7 @@ export default {
},
"FrontComponentConfiguration": {
"configurationType": [
- 87
+ 93
],
"frontComponentId": [
3
@@ -2476,7 +2573,7 @@ export default {
},
"EmailsConfiguration": {
"configurationType": [
- 87
+ 93
],
"__typename": [
1
@@ -2484,7 +2581,7 @@ export default {
},
"EmailThreadConfiguration": {
"configurationType": [
- 87
+ 93
],
"__typename": [
1
@@ -2492,13 +2589,13 @@ export default {
},
"FieldConfiguration": {
"configurationType": [
- 87
+ 93
],
"fieldMetadataId": [
1
],
"fieldDisplayMode": [
- 104
+ 110
],
"__typename": [
1
@@ -2507,7 +2604,7 @@ export default {
"FieldDisplayMode": {},
"FieldRichTextConfiguration": {
"configurationType": [
- 87
+ 93
],
"__typename": [
1
@@ -2515,7 +2612,7 @@ export default {
},
"FieldsConfiguration": {
"configurationType": [
- 87
+ 93
],
"viewId": [
1
@@ -2532,7 +2629,7 @@ export default {
},
"FilesConfiguration": {
"configurationType": [
- 87
+ 93
],
"__typename": [
1
@@ -2540,7 +2637,7 @@ export default {
},
"NotesConfiguration": {
"configurationType": [
- 87
+ 93
],
"__typename": [
1
@@ -2548,7 +2645,7 @@ export default {
},
"TasksConfiguration": {
"configurationType": [
- 87
+ 93
],
"__typename": [
1
@@ -2556,7 +2653,7 @@ export default {
},
"TimelineConfiguration": {
"configurationType": [
- 87
+ 93
],
"__typename": [
1
@@ -2564,7 +2661,7 @@ export default {
},
"ViewConfiguration": {
"configurationType": [
- 87
+ 93
],
"__typename": [
1
@@ -2572,7 +2669,7 @@ export default {
},
"RecordTableConfiguration": {
"configurationType": [
- 87
+ 93
],
"viewId": [
1
@@ -2583,7 +2680,7 @@ export default {
},
"WorkflowConfiguration": {
"configurationType": [
- 87
+ 93
],
"__typename": [
1
@@ -2591,7 +2688,7 @@ export default {
},
"WorkflowRunConfiguration": {
"configurationType": [
- 87
+ 93
],
"__typename": [
1
@@ -2599,7 +2696,7 @@ export default {
},
"WorkflowVersionConfiguration": {
"configurationType": [
- 87
+ 93
],
"__typename": [
1
@@ -2622,13 +2719,13 @@ export default {
3
],
"widgets": [
- 78
+ 84
],
"icon": [
1
],
"layoutMode": [
- 82
+ 88
],
"createdAt": [
4
@@ -2657,13 +2754,13 @@ export default {
1
],
"type": [
- 118
+ 124
],
"objectMetadataId": [
3
],
"tabs": [
- 116
+ 122
],
"defaultTabToFocusOnMobileAndSidePanelId": [
3
@@ -2710,7 +2807,7 @@ export default {
1
],
"oauth": [
- 119
+ 125
],
"__typename": [
1
@@ -2820,7 +2917,7 @@ export default {
11
],
"items": [
- 126
+ 132
],
"__typename": [
1
@@ -2828,13 +2925,13 @@ export default {
},
"BillingProductMetadata": {
"planKey": [
- 129
+ 135
],
"priceUsageBased": [
- 130
+ 136
],
"productKey": [
- 131
+ 137
],
"__typename": [
1
@@ -2845,7 +2942,7 @@ export default {
"BillingProductKey": {},
"BillingPriceLicensed": {
"recurringInterval": [
- 133
+ 139
],
"unitAmount": [
11
@@ -2854,7 +2951,7 @@ export default {
1
],
"priceUsageType": [
- 130
+ 136
],
"__typename": [
1
@@ -2877,16 +2974,16 @@ export default {
},
"BillingPriceMetered": {
"tiers": [
- 134
+ 140
],
"recurringInterval": [
- 133
+ 139
],
"stripePriceId": [
1
],
"priceUsageType": [
- 130
+ 136
],
"__typename": [
1
@@ -2903,7 +3000,7 @@ export default {
1
],
"metadata": [
- 128
+ 134
],
"__typename": [
1
@@ -2920,10 +3017,10 @@ export default {
1
],
"metadata": [
- 128
+ 134
],
"prices": [
- 132
+ 138
],
"__typename": [
1
@@ -2940,10 +3037,10 @@ export default {
1
],
"metadata": [
- 128
+ 134
],
"prices": [
- 135
+ 141
],
"__typename": [
1
@@ -2974,13 +3071,13 @@ export default {
3
],
"status": [
- 141
+ 147
],
"interval": [
- 133
+ 139
],
"billingSubscriptionItems": [
- 139
+ 145
],
"currentPeriodEnd": [
4
@@ -2989,7 +3086,7 @@ export default {
15
],
"phases": [
- 127
+ 133
],
"__typename": [
1
@@ -2998,7 +3095,7 @@ export default {
"SubscriptionStatus": {},
"BillingEndTrialPeriod": {
"status": [
- 141
+ 147
],
"hasPaymentMethod": [
6
@@ -3012,7 +3109,7 @@ export default {
},
"BillingMeteredProductUsage": {
"productKey": [
- 131
+ 137
],
"periodStart": [
4
@@ -3041,13 +3138,13 @@ export default {
},
"BillingPlan": {
"planKey": [
- 129
+ 135
],
"licensedProducts": [
- 137
+ 143
],
"meteredProducts": [
- 138
+ 144
],
"__typename": [
1
@@ -3063,10 +3160,10 @@ export default {
},
"BillingUpdate": {
"currentBillingSubscription": [
- 140
+ 146
],
"billingSubscriptions": [
- 140
+ 146
],
"__typename": [
1
@@ -3105,7 +3202,7 @@ export default {
1
],
"result": [
- 148
+ 154
],
"__typename": [
1
@@ -3142,7 +3239,7 @@ export default {
3
],
"type": [
- 152
+ 158
],
"name": [
1
@@ -3175,7 +3272,7 @@ export default {
4
],
"targetRecordIdentifier": [
- 150
+ 156
],
"__typename": [
1
@@ -3201,7 +3298,7 @@ export default {
},
"MetadataEvent": {
"type": [
- 155
+ 161
],
"metadataName": [
1
@@ -3210,7 +3307,7 @@ export default {
1
],
"properties": [
- 153
+ 159
],
"updatedCollectionHash": [
1
@@ -3222,7 +3319,7 @@ export default {
"MetadataEventAction": {},
"ObjectRecordEvent": {
"action": [
- 157
+ 163
],
"objectNameSingular": [
1
@@ -3237,7 +3334,7 @@ export default {
1
],
"properties": [
- 153
+ 159
],
"__typename": [
1
@@ -3249,7 +3346,7 @@ export default {
1
],
"objectRecordEvent": [
- 156
+ 162
],
"__typename": [
1
@@ -3260,10 +3357,10 @@ export default {
1
],
"objectRecordEventsWithQueryIds": [
- 158
+ 164
],
"metadataEvents": [
- 154
+ 160
],
"__typename": [
1
@@ -3280,7 +3377,7 @@ export default {
11
],
"status": [
- 161
+ 167
],
"error": [
15
@@ -3292,7 +3389,7 @@ export default {
"LogicFunctionExecutionStatus": {},
"FeatureFlag": {
"key": [
- 163
+ 169
],
"value": [
6
@@ -3332,10 +3429,10 @@ export default {
1
],
"type": [
- 167
+ 173
],
"status": [
- 168
+ 174
],
"issuer": [
1
@@ -3348,7 +3445,7 @@ export default {
"SSOIdentityProviderStatus": {},
"AuthProviders": {
"sso": [
- 166
+ 172
],
"google": [
6
@@ -3385,10 +3482,10 @@ export default {
3
],
"authProviders": [
- 169
+ 175
],
"authBypassProviders": [
- 170
+ 176
],
"logo": [
1
@@ -3397,7 +3494,7 @@ export default {
1
],
"workspaceUrls": [
- 164
+ 170
],
"__typename": [
1
@@ -3436,7 +3533,7 @@ export default {
1
],
"modelFamily": [
- 175
+ 181
],
"modelFamilyLabel": [
1
@@ -3451,7 +3548,7 @@ export default {
11
],
"nativeCapabilities": [
- 173
+ 179
],
"isDeprecated": [
6
@@ -3487,7 +3584,7 @@ export default {
1
],
"trialPeriods": [
- 165
+ 171
],
"__typename": [
1
@@ -3495,7 +3592,7 @@ export default {
},
"Support": {
"supportDriver": [
- 178
+ 184
],
"supportFrontChatId": [
1
@@ -3521,7 +3618,7 @@ export default {
},
"Captcha": {
"provider": [
- 181
+ 187
],
"siteKey": [
1
@@ -3555,10 +3652,10 @@ export default {
},
"PublicFeatureFlag": {
"key": [
- 163
+ 169
],
"metadata": [
- 183
+ 189
],
"__typename": [
1
@@ -3583,13 +3680,13 @@ export default {
1
],
"authProviders": [
- 169
+ 175
],
"billing": [
- 176
+ 182
],
"aiModels": [
- 174
+ 180
],
"signInPrefilled": [
6
@@ -3610,25 +3707,25 @@ export default {
6
],
"support": [
- 177
+ 183
],
"isAttachmentPreviewEnabled": [
6
],
"sentry": [
- 179
+ 185
],
"captcha": [
- 180
+ 186
],
"api": [
- 182
+ 188
],
"canManageFeatureFlags": [
6
],
"publicFeatureFlags": [
- 184
+ 190
],
"isMicrosoftMessagingEnabled": [
6
@@ -3664,7 +3761,7 @@ export default {
6
],
"maintenance": [
- 185
+ 191
],
"__typename": [
1
@@ -3703,7 +3800,7 @@ export default {
1
],
"versionDistribution": [
- 188
+ 194
],
"__typename": [
1
@@ -3769,7 +3866,7 @@ export default {
3
],
"type": [
- 167
+ 173
],
"issuer": [
1
@@ -3778,7 +3875,7 @@ export default {
1
],
"status": [
- 168
+ 174
],
"__typename": [
1
@@ -3797,7 +3894,7 @@ export default {
},
"FindAvailableSSOIDP": {
"type": [
- 167
+ 173
],
"id": [
3
@@ -3809,10 +3906,10 @@ export default {
1
],
"status": [
- 168
+ 174
],
"workspace": [
- 196
+ 202
],
"__typename": [
1
@@ -3823,7 +3920,7 @@ export default {
3
],
"type": [
- 167
+ 173
],
"issuer": [
1
@@ -3832,7 +3929,7 @@ export default {
1
],
"status": [
- 168
+ 174
],
"__typename": [
1
@@ -3840,7 +3937,7 @@ export default {
},
"SSOConnection": {
"type": [
- 167
+ 173
],
"id": [
3
@@ -3852,7 +3949,7 @@ export default {
1
],
"status": [
- 168
+ 174
],
"__typename": [
1
@@ -3875,13 +3972,13 @@ export default {
1
],
"workspaceUrls": [
- 164
+ 170
],
"logo": [
1
],
"sso": [
- 199
+ 205
],
"__typename": [
1
@@ -3889,10 +3986,10 @@ export default {
},
"AvailableWorkspaces": {
"availableWorkspacesForSignIn": [
- 200
+ 206
],
"availableWorkspacesForSignUp": [
- 200
+ 206
],
"__typename": [
1
@@ -3920,19 +4017,19 @@ export default {
},
"Relation": {
"type": [
- 204
+ 210
],
"sourceObjectMetadata": [
- 49
+ 55
],
"targetObjectMetadata": [
- 49
+ 55
],
"sourceFieldMetadata": [
- 37
+ 43
],
"targetFieldMetadata": [
- 37
+ 43
],
"__typename": [
1
@@ -3941,10 +4038,10 @@ export default {
"RelationType": {},
"IndexEdge": {
"node": [
- 40
+ 46
],
"cursor": [
- 43
+ 49
],
"__typename": [
1
@@ -3958,10 +4055,10 @@ export default {
6
],
"startCursor": [
- 43
+ 49
],
"endCursor": [
- 43
+ 49
],
"__typename": [
1
@@ -3969,10 +4066,10 @@ export default {
},
"IndexConnection": {
"pageInfo": [
- 206
+ 212
],
"edges": [
- 205
+ 211
],
"__typename": [
1
@@ -3980,10 +4077,10 @@ export default {
},
"IndexFieldEdge": {
"node": [
- 39
+ 45
],
"cursor": [
- 43
+ 49
],
"__typename": [
1
@@ -3991,10 +4088,10 @@ export default {
},
"IndexIndexFieldMetadatasConnection": {
"pageInfo": [
- 206
+ 212
],
"edges": [
- 208
+ 214
],
"__typename": [
1
@@ -4002,10 +4099,10 @@ export default {
},
"ObjectEdge": {
"node": [
- 49
+ 55
],
"cursor": [
- 43
+ 49
],
"__typename": [
1
@@ -4013,10 +4110,10 @@ export default {
},
"IndexObjectMetadataConnection": {
"pageInfo": [
- 206
+ 212
],
"edges": [
- 210
+ 216
],
"__typename": [
1
@@ -4035,10 +4132,10 @@ export default {
},
"ObjectConnection": {
"pageInfo": [
- 206
+ 212
],
"edges": [
- 210
+ 216
],
"__typename": [
1
@@ -4046,10 +4143,10 @@ export default {
},
"ObjectIndexMetadatasConnection": {
"pageInfo": [
- 206
+ 212
],
"edges": [
- 205
+ 211
],
"__typename": [
1
@@ -4057,10 +4154,10 @@ export default {
},
"FieldEdge": {
"node": [
- 37
+ 43
],
"cursor": [
- 43
+ 49
],
"__typename": [
1
@@ -4068,10 +4165,10 @@ export default {
},
"ObjectFieldsConnection": {
"pageInfo": [
- 206
+ 212
],
"edges": [
- 215
+ 221
],
"__typename": [
1
@@ -4079,10 +4176,10 @@ export default {
},
"FieldConnection": {
"pageInfo": [
- 206
+ 212
],
"edges": [
- 215
+ 221
],
"__typename": [
1
@@ -4090,7 +4187,7 @@ export default {
},
"BillingEntitlement": {
"key": [
- 219
+ 225
],
"value": [
6
@@ -4128,7 +4225,7 @@ export default {
1
],
"records": [
- 220
+ 226
],
"__typename": [
1
@@ -4198,10 +4295,10 @@ export default {
},
"AvailableWorkspacesAndAccessTokens": {
"tokens": [
- 228
+ 234
],
"availableWorkspaces": [
- 201
+ 207
],
"__typename": [
1
@@ -4239,7 +4336,7 @@ export default {
},
"WorkspaceUrlsAndId": {
"workspaceUrls": [
- 164
+ 170
],
"id": [
3
@@ -4253,7 +4350,7 @@ export default {
32
],
"workspace": [
- 233
+ 239
],
"__typename": [
1
@@ -4286,7 +4383,7 @@ export default {
32
],
"workspaceUrls": [
- 164
+ 170
],
"__typename": [
1
@@ -4302,7 +4399,7 @@ export default {
},
"AuthTokens": {
"tokens": [
- 228
+ 234
],
"__typename": [
1
@@ -4343,7 +4440,7 @@ export default {
32
],
"workspace": [
- 233
+ 239
],
"__typename": [
1
@@ -4365,7 +4462,7 @@ export default {
1
],
"dailyUsage": [
- 244
+ 250
],
"__typename": [
1
@@ -4373,16 +4470,16 @@ export default {
},
"UsageAnalytics": {
"usageByUser": [
- 187
+ 193
],
"usageByOperationType": [
- 187
+ 193
],
"usageByModel": [
- 187
+ 193
],
"timeSeries": [
- 244
+ 250
],
"periodStart": [
4
@@ -4391,7 +4488,7 @@ export default {
4
],
"userDailyUsage": [
- 245
+ 251
],
"__typename": [
1
@@ -4545,13 +4642,13 @@ export default {
1
],
"driver": [
- 255
+ 261
],
"status": [
- 256
+ 262
],
"verificationRecords": [
- 253
+ 259
],
"verifiedAt": [
4
@@ -4601,7 +4698,7 @@ export default {
1
],
"location": [
- 258
+ 264
],
"__typename": [
1
@@ -4629,13 +4726,13 @@ export default {
},
"ImapSmtpCaldavConnectionParameters": {
"IMAP": [
- 260
+ 266
],
"SMTP": [
- 260
+ 266
],
"CALDAV": [
- 260
+ 266
],
"__typename": [
1
@@ -4655,7 +4752,7 @@ export default {
3
],
"connectionParameters": [
- 261
+ 267
],
"__typename": [
1
@@ -4689,97 +4786,6 @@ export default {
1
]
},
- "CommandMenuItem": {
- "id": [
- 3
- ],
- "workflowVersionId": [
- 3
- ],
- "frontComponentId": [
- 3
- ],
- "frontComponent": [
- 34
- ],
- "engineComponentKey": [
- 266
- ],
- "label": [
- 1
- ],
- "icon": [
- 1
- ],
- "shortLabel": [
- 1
- ],
- "position": [
- 11
- ],
- "isPinned": [
- 6
- ],
- "availabilityType": [
- 267
- ],
- "payload": [
- 268
- ],
- "hotKeys": [
- 1
- ],
- "conditionalAvailabilityExpression": [
- 1
- ],
- "availabilityObjectMetadataId": [
- 3
- ],
- "pageLayoutId": [
- 3
- ],
- "applicationId": [
- 3
- ],
- "createdAt": [
- 4
- ],
- "updatedAt": [
- 4
- ],
- "__typename": [
- 1
- ]
- },
- "EngineComponentKey": {},
- "CommandMenuItemAvailabilityType": {},
- "CommandMenuItemPayload": {
- "on_PathCommandMenuItemPayload": [
- 269
- ],
- "on_ObjectMetadataCommandMenuItemPayload": [
- 270
- ],
- "__typename": [
- 1
- ]
- },
- "PathCommandMenuItemPayload": {
- "path": [
- 1
- ],
- "__typename": [
- 1
- ]
- },
- "ObjectMetadataCommandMenuItemPayload": {
- "objectMetadataItemId": [
- 3
- ],
- "__typename": [
- 1
- ]
- },
"ToolIndexEntry": {
"name": [
1
@@ -4934,10 +4940,10 @@ export default {
6
],
"layout": [
- 98
+ 104
],
"groupMode": [
- 97
+ 103
],
"hasTooManyGroups": [
6
@@ -5080,7 +5086,7 @@ export default {
1
],
"connectionParameters": [
- 261
+ 267
],
"lastSignedInAt": [
4
@@ -5686,10 +5692,10 @@ export default {
3
],
"type": [
- 64
+ 70
],
"key": [
- 65
+ 71
],
"objectMetadataId": [
3
@@ -5746,10 +5752,10 @@ export default {
},
"Query": {
"navigationMenuItems": [
- 151
+ 157
],
"navigationMenuItem": [
- 151,
+ 157,
{
"id": [
3,
@@ -5758,7 +5764,7 @@ export default {
}
],
"getViewFilterGroups": [
- 55,
+ 61,
{
"viewId": [
1
@@ -5766,7 +5772,7 @@ export default {
}
],
"getViewFilterGroup": [
- 55,
+ 61,
{
"id": [
1,
@@ -5775,7 +5781,7 @@ export default {
}
],
"getViewFilters": [
- 57,
+ 63,
{
"viewId": [
1
@@ -5783,7 +5789,7 @@ export default {
}
],
"getViewFilter": [
- 57,
+ 63,
{
"id": [
1,
@@ -5792,19 +5798,19 @@ export default {
}
],
"getViews": [
- 63,
+ 69,
{
"objectMetadataId": [
1
],
"viewTypes": [
- 64,
+ 70,
"[ViewType!]"
]
}
],
"getView": [
- 63,
+ 69,
{
"id": [
1,
@@ -5813,7 +5819,7 @@ export default {
}
],
"getViewSorts": [
- 60,
+ 66,
{
"viewId": [
1
@@ -5821,7 +5827,7 @@ export default {
}
],
"getViewSort": [
- 60,
+ 66,
{
"id": [
1,
@@ -5830,7 +5836,7 @@ export default {
}
],
"getViewFields": [
- 53,
+ 59,
{
"viewId": [
1,
@@ -5839,7 +5845,7 @@ export default {
}
],
"getViewField": [
- 53,
+ 59,
{
"id": [
1,
@@ -5848,7 +5854,7 @@ export default {
}
],
"getViewFieldGroups": [
- 62,
+ 68,
{
"viewId": [
1,
@@ -5857,7 +5863,7 @@ export default {
}
],
"getViewFieldGroup": [
- 62,
+ 68,
{
"id": [
1,
@@ -5894,10 +5900,10 @@ export default {
}
],
"enterpriseSubscriptionStatus": [
- 125
+ 131
],
"billingPortalSession": [
- 145,
+ 151,
{
"returnUrlPath": [
1
@@ -5905,19 +5911,19 @@ export default {
}
],
"listPlans": [
- 144
+ 150
],
"getMeteredProductsUsage": [
- 143
+ 149
],
"findWorkspaceInvitations": [
- 148
+ 154
],
"getApprovedAccessDomains": [
- 122
+ 128
],
"getPageLayoutTabs": [
- 116,
+ 122,
{
"pageLayoutId": [
1,
@@ -5926,7 +5932,7 @@ export default {
}
],
"getPageLayoutTab": [
- 116,
+ 122,
{
"id": [
1,
@@ -5935,18 +5941,18 @@ export default {
}
],
"getPageLayouts": [
- 117,
+ 123,
{
"objectMetadataId": [
1
],
"pageLayoutType": [
- 118
+ 124
]
}
],
"getPageLayout": [
- 117,
+ 123,
{
"id": [
1,
@@ -5955,7 +5961,7 @@ export default {
}
],
"applicationConnectionProviders": [
- 120,
+ 126,
{
"applicationId": [
3,
@@ -5964,7 +5970,7 @@ export default {
}
],
"getPageLayoutWidgets": [
- 78,
+ 84,
{
"pageLayoutTabId": [
1,
@@ -5973,7 +5979,7 @@ export default {
}
],
"getPageLayoutWidget": [
- 78,
+ 84,
{
"id": [
1,
@@ -5982,7 +5988,7 @@ export default {
}
],
"findOneLogicFunction": [
- 35,
+ 41,
{
"input": [
324,
@@ -5991,7 +5997,7 @@ export default {
}
],
"findManyLogicFunctions": [
- 35
+ 41
],
"getAvailablePackages": [
15,
@@ -6012,10 +6018,10 @@ export default {
}
],
"commandMenuItems": [
- 265
+ 35
],
"commandMenuItem": [
- 265,
+ 35,
{
"id": [
3,
@@ -6036,10 +6042,10 @@ export default {
}
],
"objectRecordCounts": [
- 212
+ 218
],
"object": [
- 49,
+ 55,
{
"id": [
3,
@@ -6048,20 +6054,20 @@ export default {
}
],
"objects": [
- 213,
+ 219,
{
"paging": [
- 42,
+ 48,
"CursorPaging!"
],
"filter": [
- 44,
+ 50,
"ObjectFilter!"
]
}
],
"index": [
- 40,
+ 46,
{
"id": [
3,
@@ -6070,14 +6076,14 @@ export default {
}
],
"indexMetadatas": [
- 207,
+ 213,
{
"paging": [
- 42,
+ 48,
"CursorPaging!"
],
"filter": [
- 51,
+ 57,
"IndexFilter!"
]
}
@@ -6110,7 +6116,7 @@ export default {
}
],
"field": [
- 37,
+ 43,
{
"id": [
3,
@@ -6119,20 +6125,20 @@ export default {
}
],
"fields": [
- 217,
+ 223,
{
"paging": [
- 42,
+ 48,
"CursorPaging!"
],
"filter": [
- 50,
+ 56,
"FieldFilter!"
]
}
],
"getViewGroups": [
- 59,
+ 65,
{
"viewId": [
1
@@ -6140,7 +6146,7 @@ export default {
}
],
"getViewGroup": [
- 59,
+ 65,
{
"id": [
1,
@@ -6257,7 +6263,7 @@ export default {
}
],
"checkUserExists": [
- 241,
+ 247,
{
"email": [
1,
@@ -6269,7 +6275,7 @@ export default {
}
],
"checkWorkspaceInviteHashIsValid": [
- 242,
+ 248,
{
"inviteHash": [
1,
@@ -6278,7 +6284,7 @@ export default {
}
],
"findWorkspaceFromInviteHash": [
- 69,
+ 75,
{
"inviteHash": [
1,
@@ -6287,7 +6293,7 @@ export default {
}
],
"validatePasswordResetToken": [
- 236,
+ 242,
{
"passwordResetToken": [
1,
@@ -6296,7 +6302,7 @@ export default {
}
],
"findApplicationRegistrationByClientId": [
- 191,
+ 197,
{
"clientId": [
1,
@@ -6326,7 +6332,7 @@ export default {
}
],
"findApplicationRegistrationStats": [
- 189,
+ 195,
{
"id": [
1,
@@ -6353,13 +6359,13 @@ export default {
}
],
"currentUser": [
- 72
+ 78
],
"currentWorkspace": [
- 69
+ 75
],
"getPublicWorkspaceDataByDomain": [
- 171,
+ 177,
{
"origin": [
1
@@ -6367,7 +6373,7 @@ export default {
}
],
"getPublicWorkspaceDataById": [
- 172,
+ 178,
{
"id": [
3,
@@ -6376,10 +6382,10 @@ export default {
}
],
"findManyApplications": [
- 52
+ 58
],
"findOneApplication": [
- 52,
+ 58,
{
"id": [
3
@@ -6390,7 +6396,7 @@ export default {
}
],
"getSSOIdentityProviders": [
- 197
+ 203
],
"eventLogs": [
289,
@@ -6429,7 +6435,7 @@ export default {
}
],
"getConnectedImapSmtpCaldavAccount": [
- 262,
+ 268,
{
"id": [
3,
@@ -6438,7 +6444,7 @@ export default {
}
],
"getAutoCompleteAddress": [
- 257,
+ 263,
{
"address": [
1,
@@ -6457,7 +6463,7 @@ export default {
}
],
"getAddressDetails": [
- 259,
+ 265,
{
"placeId": [
1,
@@ -6470,7 +6476,7 @@ export default {
}
],
"getUsageAnalytics": [
- 246,
+ 252,
{
"input": [
333
@@ -6478,19 +6484,19 @@ export default {
}
],
"getPostgresCredentials": [
- 264
+ 270
],
"findManyPublicDomains": [
- 252
+ 258
],
"getEmailingDomains": [
- 254
+ 260
],
"findManyMarketplaceApps": [
- 250
+ 256
],
"findMarketplaceAppDetail": [
- 251,
+ 257,
{
"universalIdentifier": [
1,
@@ -6646,7 +6652,7 @@ export default {
}
],
"createManyNavigationMenuItems": [
- 151,
+ 157,
{
"inputs": [
338,
@@ -6655,7 +6661,7 @@ export default {
}
],
"createNavigationMenuItem": [
- 151,
+ 157,
{
"input": [
338,
@@ -6664,7 +6670,7 @@ export default {
}
],
"updateManyNavigationMenuItems": [
- 151,
+ 157,
{
"inputs": [
339,
@@ -6673,7 +6679,7 @@ export default {
}
],
"updateNavigationMenuItem": [
- 151,
+ 157,
{
"input": [
339,
@@ -6682,7 +6688,7 @@ export default {
}
],
"deleteManyNavigationMenuItems": [
- 151,
+ 157,
{
"ids": [
3,
@@ -6691,7 +6697,7 @@ export default {
}
],
"deleteNavigationMenuItem": [
- 151,
+ 157,
{
"id": [
3,
@@ -6700,7 +6706,7 @@ export default {
}
],
"uploadEmailAttachmentFile": [
- 123,
+ 129,
{
"file": [
341,
@@ -6709,7 +6715,7 @@ export default {
}
],
"uploadAiChatFile": [
- 123,
+ 129,
{
"file": [
341,
@@ -6718,7 +6724,7 @@ export default {
}
],
"uploadWorkflowFile": [
- 123,
+ 129,
{
"file": [
341,
@@ -6727,7 +6733,7 @@ export default {
}
],
"uploadWorkspaceLogo": [
- 123,
+ 129,
{
"file": [
341,
@@ -6736,7 +6742,7 @@ export default {
}
],
"uploadWorkspaceMemberProfilePicture": [
- 123,
+ 129,
{
"file": [
341,
@@ -6745,7 +6751,7 @@ export default {
}
],
"uploadFilesFieldFile": [
- 123,
+ 129,
{
"file": [
341,
@@ -6758,7 +6764,7 @@ export default {
}
],
"uploadFilesFieldFileByUniversalIdentifier": [
- 123,
+ 129,
{
"file": [
341,
@@ -6771,7 +6777,7 @@ export default {
}
],
"createViewFilterGroup": [
- 55,
+ 61,
{
"input": [
342,
@@ -6780,7 +6786,7 @@ export default {
}
],
"updateViewFilterGroup": [
- 55,
+ 61,
{
"id": [
1,
@@ -6811,7 +6817,7 @@ export default {
}
],
"createViewFilter": [
- 57,
+ 63,
{
"input": [
344,
@@ -6820,7 +6826,7 @@ export default {
}
],
"updateViewFilter": [
- 57,
+ 63,
{
"input": [
345,
@@ -6829,7 +6835,7 @@ export default {
}
],
"deleteViewFilter": [
- 57,
+ 63,
{
"input": [
347,
@@ -6838,7 +6844,7 @@ export default {
}
],
"destroyViewFilter": [
- 57,
+ 63,
{
"input": [
348,
@@ -6847,7 +6853,7 @@ export default {
}
],
"createView": [
- 63,
+ 69,
{
"input": [
349,
@@ -6856,7 +6862,7 @@ export default {
}
],
"updateView": [
- 63,
+ 69,
{
"id": [
1,
@@ -6887,7 +6893,7 @@ export default {
}
],
"upsertViewWidget": [
- 63,
+ 69,
{
"input": [
351,
@@ -6896,7 +6902,7 @@ export default {
}
],
"createViewSort": [
- 60,
+ 66,
{
"input": [
356,
@@ -6905,7 +6911,7 @@ export default {
}
],
"updateViewSort": [
- 60,
+ 66,
{
"input": [
357,
@@ -6932,7 +6938,7 @@ export default {
}
],
"updateViewField": [
- 53,
+ 59,
{
"input": [
361,
@@ -6941,7 +6947,7 @@ export default {
}
],
"createViewField": [
- 53,
+ 59,
{
"input": [
363,
@@ -6950,7 +6956,7 @@ export default {
}
],
"createManyViewFields": [
- 53,
+ 59,
{
"inputs": [
363,
@@ -6959,7 +6965,7 @@ export default {
}
],
"deleteViewField": [
- 53,
+ 59,
{
"input": [
364,
@@ -6968,7 +6974,7 @@ export default {
}
],
"destroyViewField": [
- 53,
+ 59,
{
"input": [
365,
@@ -6977,7 +6983,7 @@ export default {
}
],
"updateViewFieldGroup": [
- 62,
+ 68,
{
"input": [
366,
@@ -6986,7 +6992,7 @@ export default {
}
],
"createViewFieldGroup": [
- 62,
+ 68,
{
"input": [
368,
@@ -6995,7 +7001,7 @@ export default {
}
],
"createManyViewFieldGroups": [
- 62,
+ 68,
{
"inputs": [
368,
@@ -7004,7 +7010,7 @@ export default {
}
],
"deleteViewFieldGroup": [
- 62,
+ 68,
{
"input": [
369,
@@ -7013,7 +7019,7 @@ export default {
}
],
"destroyViewFieldGroup": [
- 62,
+ 68,
{
"input": [
370,
@@ -7022,7 +7028,7 @@ export default {
}
],
"upsertFieldsWidget": [
- 63,
+ 69,
{
"input": [
371,
@@ -7071,7 +7077,7 @@ export default {
}
],
"createObjectEvent": [
- 121,
+ 127,
{
"event": [
1,
@@ -7091,7 +7097,7 @@ export default {
}
],
"trackAnalytics": [
- 121,
+ 127,
{
"type": [
377,
@@ -7112,7 +7118,7 @@ export default {
6
],
"setEnterpriseKey": [
- 124,
+ 130,
{
"enterpriseKey": [
1,
@@ -7121,20 +7127,20 @@ export default {
}
],
"skipSyncEmailOnboardingStep": [
- 147
+ 153
],
"skipBookOnboardingStep": [
- 147
+ 153
],
"checkoutSession": [
- 145,
+ 151,
{
"recurringInterval": [
- 133,
+ 139,
"SubscriptionInterval!"
],
"plan": [
- 129,
+ 135,
"BillingPlanKey!"
],
"requirePaymentMethod": [
@@ -7147,19 +7153,19 @@ export default {
}
],
"switchSubscriptionInterval": [
- 146
+ 152
],
"switchBillingPlan": [
- 146
+ 152
],
"cancelSwitchBillingPlan": [
- 146
+ 152
],
"cancelSwitchBillingInterval": [
- 146
+ 152
],
"setMeteredSubscriptionPrice": [
- 146,
+ 152,
{
"priceId": [
1,
@@ -7168,10 +7174,10 @@ export default {
}
],
"endSubscriptionTrialPeriod": [
- 142
+ 148
],
"cancelSwitchMeteredPrice": [
- 146
+ 152
],
"deleteWorkspaceInvitation": [
1,
@@ -7183,7 +7189,7 @@ export default {
}
],
"resendWorkspaceInvitation": [
- 149,
+ 155,
{
"appTokenId": [
1,
@@ -7192,7 +7198,7 @@ export default {
}
],
"sendInvitations": [
- 149,
+ 155,
{
"emails": [
1,
@@ -7204,7 +7210,7 @@ export default {
}
],
"createApprovedAccessDomain": [
- 122,
+ 128,
{
"input": [
378,
@@ -7222,7 +7228,7 @@ export default {
}
],
"validateApprovedAccessDomain": [
- 122,
+ 128,
{
"input": [
380,
@@ -7231,7 +7237,7 @@ export default {
}
],
"createPageLayoutTab": [
- 116,
+ 122,
{
"input": [
381,
@@ -7240,7 +7246,7 @@ export default {
}
],
"updatePageLayoutTab": [
- 116,
+ 122,
{
"id": [
1,
@@ -7262,7 +7268,7 @@ export default {
}
],
"createPageLayout": [
- 117,
+ 123,
{
"input": [
383,
@@ -7271,7 +7277,7 @@ export default {
}
],
"updatePageLayout": [
- 117,
+ 123,
{
"id": [
1,
@@ -7293,7 +7299,7 @@ export default {
}
],
"updatePageLayoutWithTabsAndWidgets": [
- 117,
+ 123,
{
"id": [
1,
@@ -7306,7 +7312,7 @@ export default {
}
],
"resetPageLayoutToDefault": [
- 117,
+ 123,
{
"id": [
1,
@@ -7315,7 +7321,7 @@ export default {
}
],
"resetPageLayoutWidgetToDefault": [
- 78,
+ 84,
{
"id": [
1,
@@ -7324,7 +7330,7 @@ export default {
}
],
"resetPageLayoutTabToDefault": [
- 116,
+ 122,
{
"id": [
1,
@@ -7350,7 +7356,7 @@ export default {
}
],
"createPageLayoutWidget": [
- 78,
+ 84,
{
"input": [
389,
@@ -7359,7 +7365,7 @@ export default {
}
],
"updatePageLayoutWidget": [
- 78,
+ 84,
{
"id": [
1,
@@ -7381,7 +7387,7 @@ export default {
}
],
"deleteOneLogicFunction": [
- 35,
+ 41,
{
"input": [
324,
@@ -7390,7 +7396,7 @@ export default {
}
],
"createOneLogicFunction": [
- 35,
+ 41,
{
"input": [
391,
@@ -7399,7 +7405,7 @@ export default {
}
],
"executeOneLogicFunction": [
- 160,
+ 166,
{
"input": [
392,
@@ -7417,7 +7423,7 @@ export default {
}
],
"createCommandMenuItem": [
- 265,
+ 35,
{
"input": [
395,
@@ -7426,7 +7432,7 @@ export default {
}
],
"updateCommandMenuItem": [
- 265,
+ 35,
{
"input": [
396,
@@ -7435,7 +7441,7 @@ export default {
}
],
"deleteCommandMenuItem": [
- 265,
+ 35,
{
"id": [
3,
@@ -7471,7 +7477,7 @@ export default {
}
],
"createOneObject": [
- 49,
+ 55,
{
"input": [
400,
@@ -7480,7 +7486,7 @@ export default {
}
],
"deleteOneObject": [
- 49,
+ 55,
{
"input": [
402,
@@ -7489,7 +7495,7 @@ export default {
}
],
"updateOneObject": [
- 49,
+ 55,
{
"input": [
403,
@@ -7592,7 +7598,7 @@ export default {
}
],
"upsertRowLevelPermissionPredicates": [
- 222,
+ 228,
{
"input": [
415,
@@ -7623,7 +7629,7 @@ export default {
}
],
"createOneField": [
- 37,
+ 43,
{
"input": [
418,
@@ -7632,7 +7638,7 @@ export default {
}
],
"updateOneField": [
- 37,
+ 43,
{
"input": [
420,
@@ -7641,7 +7647,7 @@ export default {
}
],
"deleteOneField": [
- 37,
+ 43,
{
"input": [
422,
@@ -7650,7 +7656,7 @@ export default {
}
],
"createViewGroup": [
- 59,
+ 65,
{
"input": [
423,
@@ -7659,7 +7665,7 @@ export default {
}
],
"createManyViewGroups": [
- 59,
+ 65,
{
"inputs": [
423,
@@ -7668,7 +7674,7 @@ export default {
}
],
"updateViewGroup": [
- 59,
+ 65,
{
"input": [
424,
@@ -7677,7 +7683,7 @@ export default {
}
],
"updateManyViewGroups": [
- 59,
+ 65,
{
"inputs": [
424,
@@ -7686,7 +7692,7 @@ export default {
}
],
"deleteViewGroup": [
- 59,
+ 65,
{
"input": [
426,
@@ -7695,7 +7701,7 @@ export default {
}
],
"destroyViewGroup": [
- 59,
+ 65,
{
"input": [
427,
@@ -7931,7 +7937,7 @@ export default {
}
],
"getAuthorizationUrlForSSO": [
- 231,
+ 237,
{
"input": [
440,
@@ -7940,7 +7946,7 @@ export default {
}
],
"getLoginTokenFromCredentials": [
- 240,
+ 246,
{
"email": [
1,
@@ -7966,7 +7972,7 @@ export default {
}
],
"signIn": [
- 229,
+ 235,
{
"email": [
1,
@@ -7988,7 +7994,7 @@ export default {
}
],
"verifyEmailAndGetLoginToken": [
- 237,
+ 243,
{
"emailVerificationToken": [
1,
@@ -8008,7 +8014,7 @@ export default {
}
],
"verifyEmailAndGetWorkspaceAgnosticToken": [
- 229,
+ 235,
{
"emailVerificationToken": [
1,
@@ -8024,7 +8030,7 @@ export default {
}
],
"getAuthTokensFromOTP": [
- 239,
+ 245,
{
"otp": [
1,
@@ -8044,7 +8050,7 @@ export default {
}
],
"signUp": [
- 229,
+ 235,
{
"email": [
1,
@@ -8066,7 +8072,7 @@ export default {
}
],
"signUpInWorkspace": [
- 234,
+ 240,
{
"email": [
1,
@@ -8097,13 +8103,13 @@ export default {
}
],
"signUpInNewWorkspace": [
- 234
+ 240
],
"generateTransientToken": [
- 235
+ 241
],
"getAuthTokensFromLoginToken": [
- 239,
+ 245,
{
"loginToken": [
1,
@@ -8116,7 +8122,7 @@ export default {
}
],
"authorizeApp": [
- 227,
+ 233,
{
"clientId": [
1,
@@ -8138,7 +8144,7 @@ export default {
}
],
"renewToken": [
- 239,
+ 245,
{
"appToken": [
1,
@@ -8147,7 +8153,7 @@ export default {
}
],
"generateApiKeyToken": [
- 238,
+ 244,
{
"apiKeyId": [
3,
@@ -8160,7 +8166,7 @@ export default {
}
],
"emailPasswordResetLink": [
- 230,
+ 236,
{
"email": [
1,
@@ -8172,7 +8178,7 @@ export default {
}
],
"updatePasswordViaResetToken": [
- 232,
+ 238,
{
"passwordResetToken": [
1,
@@ -8185,7 +8191,7 @@ export default {
}
],
"createApplicationRegistration": [
- 190,
+ 196,
{
"input": [
441,
@@ -8212,7 +8218,7 @@ export default {
}
],
"rotateApplicationRegistrationClientSecret": [
- 192,
+ 198,
{
"id": [
1,
@@ -8273,7 +8279,7 @@ export default {
}
],
"initiateOTPProvisioning": [
- 225,
+ 231,
{
"loginToken": [
1,
@@ -8286,10 +8292,10 @@ export default {
}
],
"initiateOTPProvisioningForAuthenticatedUser": [
- 225
+ 231
],
"deleteTwoFactorAuthenticationMethod": [
- 224,
+ 230,
{
"twoFactorAuthenticationMethodId": [
3,
@@ -8298,7 +8304,7 @@ export default {
}
],
"verifyTwoFactorAuthenticationMethodForAuthenticatedUser": [
- 226,
+ 232,
{
"otp": [
1,
@@ -8307,7 +8313,7 @@ export default {
}
],
"deleteUser": [
- 72
+ 78
],
"deleteUserFromWorkspace": [
17,
@@ -8340,7 +8346,7 @@ export default {
}
],
"resendEmailVerificationToken": [
- 193,
+ 199,
{
"email": [
1,
@@ -8353,7 +8359,7 @@ export default {
}
],
"activateWorkspace": [
- 69,
+ 75,
{
"data": [
448,
@@ -8362,7 +8368,7 @@ export default {
}
],
"updateWorkspace": [
- 69,
+ 75,
{
"data": [
449,
@@ -8371,10 +8377,10 @@ export default {
}
],
"deleteCurrentWorkspace": [
- 69
+ 75
],
"checkCustomDomainValidRecords": [
- 221
+ 227
],
"installApplication": [
6,
@@ -8407,7 +8413,7 @@ export default {
}
],
"createOIDCIdentityProvider": [
- 198,
+ 204,
{
"input": [
453,
@@ -8416,7 +8422,7 @@ export default {
}
],
"createSAMLIdentityProvider": [
- 198,
+ 204,
{
"input": [
454,
@@ -8425,7 +8431,7 @@ export default {
}
],
"deleteSSOIdentityProvider": [
- 194,
+ 200,
{
"input": [
455,
@@ -8434,7 +8440,7 @@ export default {
}
],
"editSSOIdentityProvider": [
- 195,
+ 201,
{
"input": [
456,
@@ -8452,7 +8458,7 @@ export default {
}
],
"impersonate": [
- 243,
+ 249,
{
"userId": [
3,
@@ -8483,7 +8489,7 @@ export default {
}
],
"saveImapSmtpCaldavAccount": [
- 263,
+ 269,
{
"accountOwnerId": [
3,
@@ -8503,7 +8509,7 @@ export default {
}
],
"updateLabPublicFeatureFlag": [
- 162,
+ 168,
{
"input": [
461,
@@ -8512,13 +8518,13 @@ export default {
}
],
"enablePostgresProxy": [
- 264
+ 270
],
"disablePostgresProxy": [
- 264
+ 270
],
"createPublicDomain": [
- 252,
+ 258,
{
"domain": [
1,
@@ -8536,7 +8542,7 @@ export default {
}
],
"checkPublicDomainValidRecords": [
- 221,
+ 227,
{
"domain": [
1,
@@ -8545,14 +8551,14 @@ export default {
}
],
"createEmailingDomain": [
- 254,
+ 260,
{
"domain": [
1,
"String!"
],
"driver": [
- 255,
+ 261,
"EmailingDomainDriver!"
]
}
@@ -8567,7 +8573,7 @@ export default {
}
],
"verifyEmailingDomain": [
- 254,
+ 260,
{
"id": [
1,
@@ -8576,7 +8582,7 @@ export default {
}
],
"createOneAppToken": [
- 71,
+ 77,
{
"input": [
462,
@@ -8600,7 +8606,7 @@ export default {
6
],
"createDevelopmentApplication": [
- 247,
+ 253,
{
"universalIdentifier": [
1,
@@ -8622,7 +8628,7 @@ export default {
}
],
"syncApplication": [
- 248,
+ 254,
{
"manifest": [
15,
@@ -8631,7 +8637,7 @@ export default {
}
],
"uploadApplicationFile": [
- 249,
+ 255,
{
"file": [
341,
@@ -8719,7 +8725,7 @@ export default {
3
],
"type": [
- 152
+ 158
],
"name": [
1
@@ -8792,7 +8798,7 @@ export default {
3
],
"logicalOperator": [
- 56
+ 62
],
"positionInViewFilterGroup": [
11
@@ -8812,7 +8818,7 @@ export default {
3
],
"logicalOperator": [
- 56
+ 62
],
"positionInViewFilterGroup": [
11
@@ -8832,7 +8838,7 @@ export default {
3
],
"operand": [
- 58
+ 64
],
"value": [
15
@@ -8869,7 +8875,7 @@ export default {
3
],
"operand": [
- 58
+ 64
],
"value": [
15
@@ -8914,10 +8920,10 @@ export default {
3
],
"type": [
- 64
+ 70
],
"key": [
- 65
+ 71
],
"icon": [
1
@@ -8932,10 +8938,10 @@ export default {
6
],
"openRecordIn": [
- 66
+ 72
],
"kanbanAggregateOperation": [
- 54
+ 60
],
"kanbanAggregateOperationFieldMetadataId": [
3
@@ -8944,7 +8950,7 @@ export default {
1
],
"calendarLayout": [
- 67
+ 73
],
"calendarFieldMetadataId": [
3
@@ -8953,7 +8959,7 @@ export default {
3
],
"visibility": [
- 68
+ 74
],
"__typename": [
1
@@ -8967,7 +8973,7 @@ export default {
1
],
"type": [
- 64
+ 70
],
"icon": [
1
@@ -8979,10 +8985,10 @@ export default {
6
],
"openRecordIn": [
- 66
+ 72
],
"kanbanAggregateOperation": [
- 54
+ 60
],
"kanbanAggregateOperationFieldMetadataId": [
3
@@ -8991,13 +8997,13 @@ export default {
1
],
"calendarLayout": [
- 67
+ 73
],
"calendarFieldMetadataId": [
3
],
"visibility": [
- 68
+ 74
],
"mainGroupByFieldMetadataId": [
3
@@ -9057,7 +9063,7 @@ export default {
3
],
"operand": [
- 58
+ 64
],
"value": [
15
@@ -9083,7 +9089,7 @@ export default {
3
],
"logicalOperator": [
- 56
+ 62
],
"positionInViewFilterGroup": [
11
@@ -9100,7 +9106,7 @@ export default {
3
],
"direction": [
- 61
+ 67
],
"__typename": [
1
@@ -9114,7 +9120,7 @@ export default {
3
],
"direction": [
- 61
+ 67
],
"viewId": [
3
@@ -9136,7 +9142,7 @@ export default {
},
"UpdateViewSortInputUpdates": {
"direction": [
- 61
+ 67
],
"__typename": [
1
@@ -9180,7 +9186,7 @@ export default {
11
],
"aggregateOperation": [
- 54
+ 60
],
"viewFieldGroupId": [
3
@@ -9209,7 +9215,7 @@ export default {
11
],
"aggregateOperation": [
- 54
+ 60
],
"viewFieldGroupId": [
3
@@ -9433,7 +9439,7 @@ export default {
3
],
"layoutMode": [
- 82
+ 88
],
"__typename": [
1
@@ -9450,7 +9456,7 @@ export default {
1
],
"layoutMode": [
- 82
+ 88
],
"__typename": [
1
@@ -9461,7 +9467,7 @@ export default {
1
],
"type": [
- 118
+ 124
],
"objectMetadataId": [
3
@@ -9475,7 +9481,7 @@ export default {
1
],
"type": [
- 118
+ 124
],
"objectMetadataId": [
3
@@ -9489,7 +9495,7 @@ export default {
1
],
"type": [
- 118
+ 124
],
"objectMetadataId": [
3
@@ -9515,7 +9521,7 @@ export default {
1
],
"layoutMode": [
- 82
+ 88
],
"widgets": [
387
@@ -9535,7 +9541,7 @@ export default {
1
],
"type": [
- 79
+ 85
],
"objectMetadataId": [
3
@@ -9584,7 +9590,7 @@ export default {
1
],
"type": [
- 79
+ 85
],
"objectMetadataId": [
3
@@ -9610,7 +9616,7 @@ export default {
1
],
"type": [
- 79
+ 85
],
"objectMetadataId": [
3
@@ -9740,7 +9746,7 @@ export default {
3
],
"engineComponentKey": [
- 266
+ 36
],
"label": [
1
@@ -9758,7 +9764,7 @@ export default {
6
],
"availabilityType": [
- 267
+ 37
],
"hotKeys": [
1
@@ -9799,13 +9805,13 @@ export default {
6
],
"availabilityType": [
- 267
+ 37
],
"availabilityObjectMetadataId": [
3
],
"engineComponentKey": [
- 266
+ 36
],
"hotKeys": [
1
@@ -10298,7 +10304,7 @@ export default {
},
"CreateFieldInput": {
"type": [
- 38
+ 44
],
"name": [
1
@@ -10956,7 +10962,7 @@ export default {
3
],
"status": [
- 168
+ 174
],
"__typename": [
1
@@ -11066,7 +11072,7 @@ export default {
"FileFolder": {},
"Subscription": {
"onEventSubscription": [
- 159,
+ 165,
{
"eventStreamId": [
1,
@@ -11075,7 +11081,7 @@ export default {
}
],
"logicFunctionLogs": [
- 223,
+ 229,
{
"input": [
466,
diff --git a/packages/twenty-docs/developers/extend/apps/front-components.mdx b/packages/twenty-docs/developers/extend/apps/front-components.mdx
index ebd5adde278..464f7023983 100644
--- a/packages/twenty-docs/developers/extend/apps/front-components.mdx
+++ b/packages/twenty-docs/developers/extend/apps/front-components.mdx
@@ -15,7 +15,7 @@ Front components can render in two locations within Twenty:
## Basic example
-The quickest way to see a front component in action is to register it as a **command**. Adding a `command` field with `isPinned: true` makes it appear as a quick-action button in the top-right corner of the page — no page layout needed:
+The quickest way to see a front component in action is to register it with a **command menu item**. Use `defineCommandMenuItem` in a separate file to make the component appear as a quick-action button in the top-right corner of the page:
```tsx src/front-components/hello-world.tsx
import { defineFrontComponent } from 'twenty-sdk/define';
@@ -34,14 +34,20 @@ export default defineFrontComponent({
name: 'hello-world',
description: 'A simple front component',
component: HelloWorld,
- command: {
- universalIdentifier: 'd4e5f6a7-b8c9-0123-defa-456789012345',
- shortLabel: 'Hello',
- label: 'Hello World',
- icon: 'IconBolt',
- isPinned: true,
- availabilityType: 'GLOBAL',
- },
+});
+```
+
+```ts src/command-menu-items/hello-world.command-menu-item.ts
+import { defineCommandMenuItem } from 'twenty-sdk/define';
+
+export default defineCommandMenuItem({
+ universalIdentifier: 'd4e5f6a7-b8c9-0123-defa-456789012345',
+ shortLabel: 'Hello',
+ label: 'Hello World',
+ icon: 'IconBolt',
+ isPinned: true,
+ availabilityType: 'GLOBAL',
+ frontComponentUniversalIdentifier: '74c526eb-cb68-4cf7-b05c-0dd8c288d948',
});
```
@@ -62,7 +68,6 @@ Click it to render the component inline.
| `name` | No | Display name |
| `description` | No | Description of what the component does |
| `isHeadless` | No | Set to `true` if the component has no visible UI (see below) |
-| `command` | No | Register the component as a command (see [command options](#command-options) below) |
## Placing a front component on a page
@@ -141,11 +146,17 @@ export default defineFrontComponent({
description: 'Creates a task from the command menu',
component: RunAction,
isHeadless: true,
- command: {
- universalIdentifier: 'f6a7b8c9-d0e1-2345-fabc-456789012345',
- label: 'Run my action',
- icon: 'IconPlayerPlay',
- },
+});
+```
+
+```ts src/command-menu-items/run-action.command-menu-item.ts
+import { defineCommandMenuItem } from 'twenty-sdk/define';
+
+export default defineCommandMenuItem({
+ universalIdentifier: 'f6a7b8c9-d0e1-2345-fabc-456789012345',
+ label: 'Run my action',
+ icon: 'IconPlayerPlay',
+ frontComponentUniversalIdentifier: 'e5f6a7b8-c9d0-1234-efab-345678901234',
});
```
@@ -177,11 +188,6 @@ export default defineFrontComponent({
description: 'Deletes a draft with confirmation',
component: DeleteDraft,
isHeadless: true,
- command: {
- universalIdentifier: 'b8c9d0e1-f2a3-4567-bcde-678901234567',
- label: 'Delete draft',
- icon: 'IconTrash',
- },
});
```
@@ -342,14 +348,29 @@ export default defineFrontComponent({
});
```
-## Command options
+## defineCommandMenuItem
+
+Use `defineCommandMenuItem` to register a front component in the command menu (Cmd+K). If `isPinned` is `true`, it also appears as a quick-action button in the top-right corner of the page.
+
+```ts src/command-menu-items/open-dashboard.command-menu-item.ts
+import { defineCommandMenuItem } from 'twenty-sdk/define';
-Adding a `command` field to `defineFrontComponent` registers the component in the command menu (Cmd+K). If `isPinned` is `true`, it also appears as a quick-action button in the top-right corner of the page.
+export default defineCommandMenuItem({
+ universalIdentifier: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
+ label: 'Open Dashboard',
+ shortLabel: 'Dashboard',
+ icon: 'IconLayoutDashboard',
+ isPinned: true,
+ availabilityType: 'GLOBAL',
+ frontComponentUniversalIdentifier: '74c526eb-cb68-4cf7-b05c-0dd8c288d948',
+});
+```
| Field | Required | Description |
|-------|----------|-------------|
| `universalIdentifier` | Yes | Stable unique ID for the command |
| `label` | Yes | Full label shown in the command menu (Cmd+K) |
+| `frontComponentUniversalIdentifier` | Yes | The `universalIdentifier` of the front component this command opens |
| `shortLabel` | No | Shorter label displayed on the pinned quick-action button |
| `icon` | No | Icon name displayed next to the label (e.g. `'IconBolt'`, `'IconSend'`) |
| `isPinned` | No | When `true`, shows the command as a quick-action button in the top-right corner of the page |
@@ -361,30 +382,23 @@ Adding a `command` field to `defineFrontComponent` registers the component in th
The `conditionalAvailabilityExpression` field lets you control when a command is visible based on the current page context. Import typed variables and operators from `twenty-sdk` to build expressions:
-```tsx
-import { defineFrontComponent } from 'twenty-sdk/define';
+```ts src/command-menu-items/bulk-update.command-menu-item.ts
+import { defineCommandMenuItem } from 'twenty-sdk/define';
import {
- pageType,
- numberOfSelectedRecords,
objectPermissions,
everyEquals,
- isDefined,
} from 'twenty-sdk/front-component';
-export default defineFrontComponent({
+export default defineCommandMenuItem({
universalIdentifier: '...',
- name: 'bulk-action',
- component: BulkAction,
- command: {
- universalIdentifier: '...',
- label: 'Bulk Update',
- availabilityType: 'RECORD_SELECTION',
- conditionalAvailabilityExpression: everyEquals(
- objectPermissions,
- 'canUpdateObjectRecords',
- true,
- ),
- },
+ label: 'Bulk Update',
+ availabilityType: 'RECORD_SELECTION',
+ frontComponentUniversalIdentifier: '...',
+ conditionalAvailabilityExpression: everyEquals(
+ objectPermissions,
+ 'canUpdateObjectRecords',
+ true,
+ ),
});
```
diff --git a/packages/twenty-front/src/generated-metadata/graphql.ts b/packages/twenty-front/src/generated-metadata/graphql.ts
index eb896df5fd6..0a8f4ec07dd 100644
--- a/packages/twenty-front/src/generated-metadata/graphql.ts
+++ b/packages/twenty-front/src/generated-metadata/graphql.ts
@@ -271,6 +271,7 @@ export type Application = {
applicationVariables: Array<ApplicationVariable>;
availablePackages: Scalars['JSON'];
canBeUninstalled: Scalars['Boolean'];
+ commandMenuItems: Array<CommandMenuItem>;
defaultLogicFunctionRole?: Maybe<Role>;
defaultRoleId?: Maybe<Scalars['String']>;
description?: Maybe<Scalars['String']>;
@@ -882,6 +883,7 @@ export type CommandMenuItem = {
payload?: Maybe<CommandMenuItemPayload>;
position: Scalars['Float'];
shortLabel?: Maybe<Scalars['String']>;
+ universalIdentifier?: Maybe<Scalars['UUID']>;
updatedAt: Scalars['DateTime'];
workflowVersionId?: Maybe<Scalars['UUID']>;
};
@@ -6212,7 +6214,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 }>, 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, 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, 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, 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, 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, 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; }>;
@@ -6224,14 +6226,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 }>, 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, 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, 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, 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, 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, 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'];
}>;
-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 }>, 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, 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, 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, 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, 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, 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'];
@@ -7852,7 +7854,7 @@ export const SkillFieldsFragmentDoc = {"kind":"Document","definitions":[{"kind":
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":"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 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":"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":"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":"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":"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":"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":"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":"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>;
@@ -7929,8 +7931,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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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>;
diff --git a/packages/twenty-front/src/modules/app/components/SettingsRoutes.tsx b/packages/twenty-front/src/modules/app/components/SettingsRoutes.tsx
index fedbad694cd..b42c0e21a41 100644
--- a/packages/twenty-front/src/modules/app/components/SettingsRoutes.tsx
+++ b/packages/twenty-front/src/modules/app/components/SettingsRoutes.tsx
@@ -188,6 +188,14 @@ const SettingsApplicationFrontComponentDetail = lazy(() =>
})),
);
+const SettingsApplicationCommandMenuItemDetail = lazy(() =>
+ import(
+ '~/pages/settings/applications/SettingsApplicationCommandMenuItemDetail'
+ ).then((module) => ({
+ default: module.SettingsApplicationCommandMenuItemDetail,
+ })),
+);
+
const SettingsLayoutViewDetail = lazy(() =>
import('~/pages/settings/layout/SettingsLayoutViewDetail').then((module) => ({
default: module.SettingsLayoutViewDetail,
@@ -802,6 +810,10 @@ export const SettingsRoutes = ({ isAdminPageEnabled }: SettingsRoutesProps) => (
path={SettingsPath.ApplicationFrontComponentDetail}
element={<SettingsApplicationFrontComponentDetail />}
/>
+ <Route
+ path={SettingsPath.ApplicationCommandMenuItemDetail}
+ element={<SettingsApplicationCommandMenuItemDetail />}
+ />
<Route
path={SettingsPath.ApplicationViewDetail}
element={<SettingsLayoutViewDetail />}
diff --git a/packages/twenty-front/src/modules/applications/graphql/fragments/applicationFragment.ts b/packages/twenty-front/src/modules/applications/graphql/fragments/applicationFragment.ts
index a61d5c4fcce..65ae784fd94 100644
--- a/packages/twenty-front/src/modules/applications/graphql/fragments/applicationFragment.ts
+++ b/packages/twenty-front/src/modules/applications/graphql/fragments/applicationFragment.ts
@@ -48,6 +48,20 @@ export const APPLICATION_FRAGMENT = gql`
createdAt
updatedAt
}
+ commandMenuItems {
+ id
+ label
+ shortLabel
+ icon
+ isPinned
+ availabilityType
+ conditionalAvailabilityExpression
+ frontComponentId
+ universalIdentifier
+ applicationId
+ createdAt
+ updatedAt
+ }
objects {
...ObjectMetadataFields
}
diff --git a/packages/twenty-front/src/modules/object-metadata/hooks/__tests__/constants/CustomWorkspaceApplicationMock.test.constant.ts b/packages/twenty-front/src/modules/object-metadata/hooks/__tests__/constants/CustomWorkspaceApplicationMock.test.constant.ts
index 4913c7eb73a..c88c403f35e 100644
--- a/packages/twenty-front/src/modules/object-metadata/hooks/__tests__/constants/CustomWorkspaceApplicationMock.test.constant.ts
+++ b/packages/twenty-front/src/modules/object-metadata/hooks/__tests__/constants/CustomWorkspaceApplicationMock.test.constant.ts
@@ -5,6 +5,7 @@ export const CUSTOM_WORKSPACE_APPLICATION_MOCK = {
agents: [],
applicationVariables: [],
frontComponents: [],
+ commandMenuItems: [],
availablePackages: {},
canBeUninstalled: false,
description: 'workpace custom application',
diff --git a/packages/twenty-front/src/modules/settings/applications/hooks/useComputeObjectAndFieldsContentForApplication.ts b/packages/twenty-front/src/modules/settings/applications/hooks/useComputeObjectAndFieldsContentForApplication.ts
index d67a4ad820f..02db3655ef3 100644
--- a/packages/twenty-front/src/modules/settings/applications/hooks/useComputeObjectAndFieldsContentForApplication.ts
+++ b/packages/twenty-front/src/modules/settings/applications/hooks/useComputeObjectAndFieldsContentForApplication.ts
@@ -10,7 +10,7 @@ import { type ApplicationContentRow } from '~/pages/settings/applications/compon
type InstalledApplicationForObjectAndFields = Omit<
Application,
- 'objects' | 'universalIdentifier' | 'frontComponents'
+ 'objects' | 'universalIdentifier' | 'frontComponents' | 'commandMenuItems'
> & {
objects: { id: string }[];
};
diff --git a/packages/twenty-front/src/pages/settings/applications/SettingsApplicationCommandMenuItemDetail.tsx b/packages/twenty-front/src/pages/settings/applications/SettingsApplicationCommandMenuItemDetail.tsx
new file mode 100644
index 00000000000..76deaf83c03
--- /dev/null
+++ b/packages/twenty-front/src/pages/settings/applications/SettingsApplicationCommandMenuItemDetail.tsx
@@ -0,0 +1,81 @@
+import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';
+import { SettingsSectionSkeletonLoader } from '@/settings/components/SettingsSectionSkeletonLoader';
+import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';
+import { useQuery } from '@apollo/client/react';
+import { t } from '@lingui/core/macro';
+import { useParams } from 'react-router-dom';
+import { SettingsPath } from 'twenty-shared/types';
+import { getSettingsPath, isDefined } from 'twenty-shared/utils';
+import { FindOneApplicationDocument } from '~/generated-metadata/graphql';
+import { SettingsApplicationCommandMenuItemSettingsTab } from '~/pages/settings/applications/tabs/SettingsApplicationCommandMenuItemSettingsTab';
+
+export const SettingsApplicationCommandMenuItemDetail = () => {
+ const { applicationId = '', commandMenuItemId = '' } = useParams<{
+ applicationId: string;
+ commandMenuItemId: string;
+ }>();
+
+ const { data, loading } = useQuery(FindOneApplicationDocument, {
+ variables: { id: applicationId },
+ skip: !applicationId,
+ });
+
+ const application = data?.findOneApplication;
+ const commandMenuItem = application?.commandMenuItems?.find(
+ (item) => item.id === commandMenuItemId,
+ );
+
+ const frontComponent = commandMenuItem?.frontComponentId
+ ? application?.frontComponents?.find(
+ (fc) => fc.id === commandMenuItem.frontComponentId,
+ )
+ : undefined;
+
+ const applicationContentHref = getSettingsPath(
+ SettingsPath.ApplicationDetail,
+ { applicationId },
+ undefined,
+ 'content',
+ );
+ const breadcrumbLinks = [
+ {
+ children: t`Workspace`,
+ href: getSettingsPath(SettingsPath.Workspace),
+ },
+ {
+ children: t`Applications`,
+ href: getSettingsPath(SettingsPath.Applications),
+ },
+ { children: application?.name ?? '', href: applicationContentHref },
+ { children: t`Command menu items`, href: applicationContentHref },
+ { children: commandMenuItem?.label ?? '' },
+ ];
+
+ return (
+ <SubMenuTopBarContainer
+ title={commandMenuItem?.label ?? t`Command menu item`}
+ links={breadcrumbLinks}
+ >
+ <SettingsPageContainer>
+ {loading || !isDefined(commandMenuItem) ? (
+ <SettingsSectionSkeletonLoader />
+ ) : (
+ <SettingsApplicationCommandMenuItemSettingsTab
+ label={commandMenuItem.label}
+ shortLabel={commandMenuItem.shortLabel}
+ icon={commandMenuItem.icon}
+ isPinned={commandMenuItem.isPinned}
+ availabilityType={commandMenuItem.availabilityType}
+ conditionalAvailabilityExpression={
+ commandMenuItem.conditionalAvailabilityExpression
+ }
+ frontComponentName={frontComponent?.name}
+ universalIdentifier={commandMenuItem.universalIdentifier}
+ createdAt={commandMenuItem.createdAt}
+ updatedAt={commandMenuItem.updatedAt}
+ />
+ )}
+ </SettingsPageContainer>
+ </SubMenuTopBarContainer>
+ );
+};
diff --git a/packages/twenty-front/src/pages/settings/applications/SettingsAvailableApplicationDetails.tsx b/packages/twenty-front/src/pages/settings/applications/SettingsAvailableApplicationDetails.tsx
index 5ca0473cc8e..e975d95dfd0 100644
--- a/packages/twenty-front/src/pages/settings/applications/SettingsAvailableApplicationDetails.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/SettingsAvailableApplicationDetails.tsx
@@ -138,10 +138,9 @@ export const SettingsAvailableApplicationDetails = () => {
icon: IconGraph,
count: (manifest?.frontComponents ?? []).filter(
(fc) =>
- !isDefined(fc.command) &&
- fc.universalIdentifier !==
- manifest?.application
- .settingsCustomTabFrontComponentUniversalIdentifier,
+ !(manifest?.commandMenuItems ?? [])
+ .map((cm) => cm.frontComponentUniversalIdentifier)
+ .includes(fc.universalIdentifier),
).length,
one: t`widget`,
many: t`widgets`,
@@ -149,7 +148,11 @@ export const SettingsAvailableApplicationDetails = () => {
{
icon: IconCommand,
count: (manifest?.frontComponents ?? []).filter(
- (fc) => isDefined(fc.command) && !fc.isHeadless,
+ (fc) =>
+ !fc.isHeadless &&
+ (manifest?.commandMenuItems ?? [])
+ .map((cm) => cm.frontComponentUniversalIdentifier)
+ .includes(fc.universalIdentifier),
).length,
one: t`command`,
many: t`commands`,
diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationCommandMenuItemSettingsTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationCommandMenuItemSettingsTab.tsx
new file mode 100644
index 00000000000..a1ee76b745f
--- /dev/null
+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationCommandMenuItemSettingsTab.tsx
@@ -0,0 +1,146 @@
+import { Table } from '@/ui/layout/table/components/Table';
+import { TableCell } from '@/ui/layout/table/components/TableCell';
+import { TableHeader } from '@/ui/layout/table/components/TableHeader';
+import { TableRow } from '@/ui/layout/table/components/TableRow';
+import { TableSection } from '@/ui/layout/table/components/TableSection';
+import { styled } from '@linaria/react';
+import { t } from '@lingui/core/macro';
+import { type ReactNode } from 'react';
+import { H2Title } from 'twenty-ui/display';
+import { Section } from 'twenty-ui/layout';
+import { themeCssVariables } from 'twenty-ui/theme-constants';
+
+type SettingsApplicationCommandMenuItemSettingsTabProps = {
+ label: string;
+ shortLabel?: string | null;
+ icon?: string | null;
+ isPinned: boolean;
+ availabilityType: string;
+ conditionalAvailabilityExpression?: string | null;
+ frontComponentName?: string | null;
+ universalIdentifier?: string | null;
+ createdAt: string;
+ updatedAt: string;
+};
+
+const StyledMonoText = styled.span`
+ color: ${themeCssVariables.font.color.primary};
+ font-family: ${themeCssVariables.code.font.family}, monospace;
+ font-size: ${themeCssVariables.font.size.sm};
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+`;
+
+const formatDateTime = (isoString: string): string => {
+ const date = new Date(isoString);
+ if (Number.isNaN(date.getTime())) {
+ return isoString;
+ }
+ return date.toLocaleString();
+};
+
+const GRID_TEMPLATE = '220px 1fr';
+
+export const SettingsApplicationCommandMenuItemSettingsTab = ({
+ label,
+ shortLabel,
+ icon,
+ isPinned,
+ availabilityType,
+ conditionalAvailabilityExpression,
+ frontComponentName,
+ universalIdentifier,
+ createdAt,
+ updatedAt,
+}: SettingsApplicationCommandMenuItemSettingsTabProps) => {
+ const detailRows: { key: string; label: string; value: ReactNode }[] = [
+ {
+ key: 'label',
+ label: t`Label`,
+ value: label,
+ },
+ {
+ key: 'shortLabel',
+ label: t`Short label`,
+ value: shortLabel ?? t`Not set`,
+ },
+ {
+ key: 'icon',
+ label: t`Icon`,
+ value: icon ? <StyledMonoText>{icon}</StyledMonoText> : t`Not set`,
+ },
+ {
+ key: 'isPinned',
+ label: t`Pinned`,
+ value: isPinned ? t`Yes` : t`No`,
+ },
+ {
+ key: 'availabilityType',
+ label: t`Availability`,
+ value: <StyledMonoText>{availabilityType}</StyledMonoText>,
+ },
+ {
+ key: 'conditionalAvailabilityExpression',
+ label: t`Conditional availability`,
+ value: conditionalAvailabilityExpression ? (
+ <StyledMonoText>{conditionalAvailabilityExpression}</StyledMonoText>
+ ) : (
+ t`Not set`
+ ),
+ },
+ {
+ key: 'frontComponent',
+ label: t`Front component`,
+ value: frontComponentName ? (
+ <StyledMonoText>{frontComponentName}</StyledMonoText>
+ ) : (
+ t`Not set`
+ ),
+ },
+ {
+ key: 'universalIdentifier',
+ label: t`Universal identifier`,
+ value: (
+ <StyledMonoText>{universalIdentifier ?? t`Not set`}</StyledMonoText>
+ ),
+ },
+ {
+ key: 'createdAt',
+ label: t`Created`,
+ value: formatDateTime(createdAt),
+ },
+ {
+ key: 'updatedAt',
+ label: t`Updated`,
+ value: formatDateTime(updatedAt),
+ },
+ ];
+
+ return (
+ <Section>
+ <H2Title
+ title={t`Details`}
+ description={t`Configuration of this command menu item`}
+ />
+ <Table>
+ <TableRow gridTemplateColumns={GRID_TEMPLATE}>
+ <TableHeader>{t`Property`}</TableHeader>
+ <TableHeader>{t`Value`}</TableHeader>
+ </TableRow>
+ <TableSection title={t`Command menu item`}>
+ {detailRows.map((row) => (
+ <TableRow key={row.key} gridTemplateColumns={GRID_TEMPLATE}>
+ <TableCell color={themeCssVariables.font.color.secondary}>
+ {row.label}
+ </TableCell>
+ <TableCell minWidth="0" overflow="hidden">
+ {row.value}
+ </TableCell>
+ </TableRow>
+ ))}
+ </TableSection>
+ </Table>
+ </Section>
+ );
+};
diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailContentTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailContentTab.tsx
index ccf645cc188..28bf8ebdbf9 100644
--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailContentTab.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailContentTab.tsx
@@ -20,7 +20,7 @@ import { normalizeSearchText } from '~/utils/normalizeSearchText';
type InstalledApplicationForContentTab = Omit<
Application,
- 'objects' | 'frontComponents'
+ 'objects' | 'frontComponents' | 'commandMenuItems'
> & {
objects: { id: string }[];
frontComponents?: {
@@ -28,6 +28,11 @@ type InstalledApplicationForContentTab = Omit<
name: string;
description?: string | null;
}[];
+ commandMenuItems?: {
+ id: string;
+ label: string;
+ shortLabel?: string | null;
+ }[];
};
type SettingsApplicationDetailContentTabProps = {
@@ -124,6 +129,24 @@ export const SettingsApplicationDetailContentTab = ({
secondary: fc.description ?? undefined,
}));
+ const commandMenuItemRows: ApplicationContentRow[] = isDefined(
+ installedApplication,
+ )
+ ? (installedApplication.commandMenuItems ?? []).map((item) => ({
+ key: item.id,
+ name: item.label,
+ secondary: item.shortLabel ?? undefined,
+ link: getSettingsPath(SettingsPath.ApplicationCommandMenuItemDetail, {
+ applicationId,
+ commandMenuItemId: item.id,
+ }),
+ }))
+ : (manifestContent?.commandMenuItems ?? []).map((item) => ({
+ key: item.universalIdentifier,
+ name: item.label,
+ secondary: item.shortLabel ?? undefined,
+ }));
+
const [searchTerm, setSearchTerm] = useState('');
const normalizedSearch = normalizeSearchText(searchTerm);
@@ -134,6 +157,7 @@ export const SettingsApplicationDetailContentTab = ({
views: filterRows(viewRows, normalizedSearch),
navigation: filterRows(navigationMenuItemRows, normalizedSearch),
frontComponents: filterRows(frontComponentRows, normalizedSearch),
+ commandMenuItems: filterRows(commandMenuItemRows, normalizedSearch),
logicFunctions: filterRows(logicFunctionRows, normalizedSearch),
agents: filterRows(agentRows, normalizedSearch),
skills: filterRows(skillRows, normalizedSearch),
@@ -146,7 +170,8 @@ export const SettingsApplicationDetailContentTab = ({
filtered.pageLayouts.length > 0 ||
filtered.views.length > 0 ||
filtered.navigation.length > 0 ||
- filtered.frontComponents.length > 0;
+ filtered.frontComponents.length > 0 ||
+ filtered.commandMenuItems.length > 0;
const hasLogic =
filtered.logicFunctions.length > 0 ||
filtered.agents.length > 0 ||
@@ -222,6 +247,12 @@ export const SettingsApplicationDetailContentTab = ({
applicationId={applicationId}
fallbackApplicationData={fallbackApplicationData}
/>
+ <SettingsApplicationContentSubtable
+ title={t`Command menu items`}
+ rows={filtered.commandMenuItems}
+ applicationId={applicationId}
+ fallbackApplicationData={fallbackApplicationData}
+ />
</Table>
</Section>
)}
diff --git a/packages/twenty-sdk/src/cli/__tests__/apps/minimal-app/__integration__/app-dev/expected-manifest.ts b/packages/twenty-sdk/src/cli/__tests__/apps/minimal-app/__integration__/app-dev/expected-manifest.ts
index abd41a18480..e6893a1a5fe 100644
--- a/packages/twenty-sdk/src/cli/__tests__/apps/minimal-app/__integration__/app-dev/expected-manifest.ts
+++ b/packages/twenty-sdk/src/cli/__tests__/apps/minimal-app/__integration__/app-dev/expected-manifest.ts
@@ -7,6 +7,7 @@ import {
} from 'twenty-shared/types';
export const EXPECTED_MANIFEST: Manifest = {
+ commandMenuItems: [],
application: {
universalIdentifier: 'e1e2e3e4-e5e6-4000-8000-000000000001',
displayName: 'Root App',
diff --git a/packages/twenty-sdk/src/cli/__tests__/apps/rich-app/__integration__/app-dev/expected-manifest.ts b/packages/twenty-sdk/src/cli/__tests__/apps/rich-app/__integration__/app-dev/expected-manifest.ts
index fd8cbc4fa3c..55a84fbf248 100644
--- a/packages/twenty-sdk/src/cli/__tests__/apps/rich-app/__integration__/app-dev/expected-manifest.ts
+++ b/packages/twenty-sdk/src/cli/__tests__/apps/rich-app/__integration__/app-dev/expected-manifest.ts
@@ -12,6 +12,7 @@ import {
} from 'twenty-shared/types';
export const EXPECTED_MANIFEST: Manifest = {
+ commandMenuItems: [],
pageLayouts: [],
pageLayoutTabs: [
{
diff --git a/packages/twenty-sdk/src/cli/__tests__/integration/utils/normalize-manifest.util.ts b/packages/twenty-sdk/src/cli/__tests__/integration/utils/normalize-manifest.util.ts
index 78ace5eb5c1..f54dc539bbe 100644
--- a/packages/twenty-sdk/src/cli/__tests__/integration/utils/normalize-manifest.util.ts
+++ b/packages/twenty-sdk/src/cli/__tests__/integration/utils/normalize-manifest.util.ts
@@ -33,6 +33,7 @@ export const normalizeManifestForComparison = <T extends Manifest>(
navigationMenuItems: sortById(manifest.navigationMenuItems),
pageLayouts: sortById(manifest.pageLayouts),
pageLayoutTabs: sortById(manifest.pageLayoutTabs ?? []),
+ commandMenuItems: sortById(manifest.commandMenuItems ?? []),
logicFunctions: sortById(
manifest.logicFunctions?.map((fn) => ({
...fn,
diff --git a/packages/twenty-sdk/src/cli/commands/add.ts b/packages/twenty-sdk/src/cli/commands/add.ts
index 581ed9866de..2b2feaafacc 100644
--- a/packages/twenty-sdk/src/cli/commands/add.ts
+++ b/packages/twenty-sdk/src/cli/commands/add.ts
@@ -15,6 +15,7 @@ import { getFrontComponentBaseFile } from '@/cli/utilities/entity/entity-front-c
import { getLogicFunctionBaseFile } from '@/cli/utilities/entity/entity-logic-function-template';
import { getNavigationMenuItemBaseFile } from '@/cli/utilities/entity/entity-navigation-menu-item-template';
import { getObjectBaseFile } from '@/cli/utilities/entity/entity-object-template';
+import { getCommandMenuItemBaseFile } from '@/cli/utilities/entity/entity-command-menu-item-template';
import { getPageLayoutBaseFile } from '@/cli/utilities/entity/entity-page-layout-template';
import { getPageLayoutTabBaseFile } from '@/cli/utilities/entity/entity-page-layout-tab-template';
import { getRecordPageLayoutBaseFile } from '@/cli/utilities/entity/entity-record-page-layout-template';
@@ -217,6 +218,15 @@ export class EntityAddCommand {
return { name, file };
}
+ case SyncableEntity.CommandMenuItem: {
+ const name = await this.getEntityName(entity);
+
+ const file = getCommandMenuItemBaseFile({
+ name,
+ });
+ return { name, file };
+ }
+
default:
assertUnreachable(entity);
}
diff --git a/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/comparison-operator-front-component.ts b/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/comparison-operator-front-component.ts
index 76ec40f2cab..35e5ba14a3c 100644
--- a/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/comparison-operator-front-component.ts
+++ b/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/comparison-operator-front-component.ts
@@ -1,14 +1,9 @@
-import { defineFrontComponent } from '@/sdk/define';
+import { defineCommandMenuItem } from '@/sdk/define';
import { numberOfSelectedRecords } from '@/sdk/front-component';
-const MyComponent = () => null;
-
-export default defineFrontComponent({
- universalIdentifier: 'comparison-operator',
- component: MyComponent,
- command: {
- universalIdentifier: 'comparison-operator-cmd',
- label: 'Comparison Operator',
- conditionalAvailabilityExpression: numberOfSelectedRecords > 0,
- },
+export default defineCommandMenuItem({
+ universalIdentifier: 'comparison-operator-cmd',
+ label: 'Comparison Operator',
+ frontComponentUniversalIdentifier: 'comparison-operator',
+ conditionalAvailabilityExpression: numberOfSelectedRecords > 0,
});
diff --git a/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/complex-soft-delete-front-component.ts b/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/complex-soft-delete-front-component.ts
index e850e308c81..bcf2c50004a 100644
--- a/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/complex-soft-delete-front-component.ts
+++ b/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/complex-soft-delete-front-component.ts
@@ -1,4 +1,4 @@
-import { defineFrontComponent } from '@/sdk/define';
+import { defineCommandMenuItem } from '@/sdk/define';
import {
none,
numberOfSelectedRecords,
@@ -6,17 +6,12 @@ import {
selectedRecords,
} from '@/sdk/front-component';
-const MyComponent = () => null;
-
-export default defineFrontComponent({
- universalIdentifier: 'complex-soft-delete',
- component: MyComponent,
- command: {
- universalIdentifier: 'complex-soft-delete-cmd',
- label: 'Complex Soft Delete',
- conditionalAvailabilityExpression:
- objectPermissions.canSoftDeleteObjectRecords &&
- none(selectedRecords, 'isRemote') &&
- numberOfSelectedRecords > 0,
- },
+export default defineCommandMenuItem({
+ universalIdentifier: 'complex-soft-delete-cmd',
+ label: 'Complex Soft Delete',
+ frontComponentUniversalIdentifier: 'complex-soft-delete',
+ conditionalAvailabilityExpression:
+ objectPermissions.canSoftDeleteObjectRecords &&
+ none(selectedRecords, 'isRemote') &&
+ numberOfSelectedRecords > 0,
});
diff --git a/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/custom-function-front-component.ts b/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/custom-function-front-component.ts
index b625fee01f0..0060c469efd 100644
--- a/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/custom-function-front-component.ts
+++ b/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/custom-function-front-component.ts
@@ -1,17 +1,9 @@
-import { defineFrontComponent } from '@/sdk/define';
+import { defineCommandMenuItem } from '@/sdk/define';
import { someDefined, selectedRecords } from '@/sdk/front-component';
-const MyComponent = () => null;
-
-export default defineFrontComponent({
- universalIdentifier: 'custom-function',
- component: MyComponent,
- command: {
- universalIdentifier: 'custom-function-cmd',
- label: 'Custom Function',
- conditionalAvailabilityExpression: someDefined(
- selectedRecords,
- 'deletedAt',
- ),
- },
+export default defineCommandMenuItem({
+ universalIdentifier: 'custom-function-cmd',
+ label: 'Custom Function',
+ frontComponentUniversalIdentifier: 'custom-function',
+ conditionalAvailabilityExpression: someDefined(selectedRecords, 'deletedAt'),
});
diff --git a/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/feature-flag-gated-front-component.ts b/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/feature-flag-gated-front-component.ts
index a9d694c9803..6a3ee7cc9a8 100644
--- a/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/feature-flag-gated-front-component.ts
+++ b/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/feature-flag-gated-front-component.ts
@@ -1,16 +1,11 @@
-import { defineFrontComponent } from '@/sdk/define';
+import { defineCommandMenuItem } from '@/sdk/define';
import { featureFlags, objectPermissions } from '@/sdk/front-component';
-const MyComponent = () => null;
-
-export default defineFrontComponent({
- universalIdentifier: 'feature-flag-gated',
- component: MyComponent,
- command: {
- universalIdentifier: 'feature-flag-gated-cmd',
- label: 'Feature Flag Gated',
- conditionalAvailabilityExpression:
- featureFlags.IS_JUNCTION_RELATIONS_ENABLED &&
- objectPermissions.canReadObjectRecords,
- },
+export default defineCommandMenuItem({
+ universalIdentifier: 'feature-flag-gated-cmd',
+ label: 'Feature Flag Gated',
+ frontComponentUniversalIdentifier: 'feature-flag-gated',
+ conditionalAvailabilityExpression:
+ featureFlags.IS_JUNCTION_RELATIONS_ENABLED &&
+ objectPermissions.canReadObjectRecords,
});
diff --git a/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/parenthesized-expression-front-component.ts b/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/parenthesized-expression-front-component.ts
index fd6f2626dfc..260455eb1c1 100644
--- a/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/parenthesized-expression-front-component.ts
+++ b/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/parenthesized-expression-front-component.ts
@@ -1,20 +1,15 @@
-import { defineFrontComponent } from '@/sdk/define';
+import { defineCommandMenuItem } from '@/sdk/define';
import {
favoriteRecordIds,
objectMetadataItem,
pageType,
} from '@/sdk/front-component';
-const MyComponent = () => null;
-
-export default defineFrontComponent({
- universalIdentifier: 'parenthesized-expression',
- component: MyComponent,
- command: {
- universalIdentifier: 'parenthesized-expression-cmd',
- label: 'Parenthesized Expression',
- conditionalAvailabilityExpression:
- (pageType === 'RECORD_PAGE' || favoriteRecordIds.length > 0) &&
- !objectMetadataItem.isRemote,
- },
+export default defineCommandMenuItem({
+ universalIdentifier: 'parenthesized-expression-cmd',
+ label: 'Parenthesized Expression',
+ frontComponentUniversalIdentifier: 'parenthesized-expression',
+ conditionalAvailabilityExpression:
+ (pageType === 'RECORD_PAGE' || favoriteRecordIds.length > 0) &&
+ !objectMetadataItem.isRemote,
});
diff --git a/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/permissions-check-front-component.ts b/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/permissions-check-front-component.ts
index 4f24a04b81d..7dda72cc245 100644
--- a/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/permissions-check-front-component.ts
+++ b/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/permissions-check-front-component.ts
@@ -1,15 +1,10 @@
-import { defineFrontComponent } from '@/sdk/define';
+import { defineCommandMenuItem } from '@/sdk/define';
import { isInSidePanel, objectPermissions } from '@/sdk/front-component';
-const MyComponent = () => null;
-
-export default defineFrontComponent({
- universalIdentifier: 'permissions-check',
- component: MyComponent,
- command: {
- universalIdentifier: 'permissions-check-cmd',
- label: 'Permissions Check',
- conditionalAvailabilityExpression:
- objectPermissions.canUpdateObjectRecords && !isInSidePanel,
- },
+export default defineCommandMenuItem({
+ universalIdentifier: 'permissions-check-cmd',
+ label: 'Permissions Check',
+ frontComponentUniversalIdentifier: 'permissions-check',
+ conditionalAvailabilityExpression:
+ objectPermissions.canUpdateObjectRecords && !isInSidePanel,
});
diff --git a/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/simple-boolean-front-component.ts b/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/simple-boolean-front-component.ts
index 0069eaf33bf..aacf6e495ec 100644
--- a/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/simple-boolean-front-component.ts
+++ b/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/simple-boolean-front-component.ts
@@ -1,14 +1,9 @@
-import { defineFrontComponent } from '@/sdk/define';
+import { defineCommandMenuItem } from '@/sdk/define';
import { pageType } from '@/sdk/front-component';
-const MyComponent = () => null;
-
-export default defineFrontComponent({
- universalIdentifier: 'simple-boolean',
- component: MyComponent,
- command: {
- universalIdentifier: 'simple-boolean-cmd',
- label: 'Simple Boolean',
- conditionalAvailabilityExpression: pageType === 'RECORD_PAGE',
- },
+export default defineCommandMenuItem({
+ universalIdentifier: 'simple-boolean-cmd',
+ label: 'Simple Boolean',
+ frontComponentUniversalIdentifier: 'simple-boolean',
+ conditionalAvailabilityExpression: pageType === 'RECORD_PAGE',
});
diff --git a/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/string-comparison-front-component.ts b/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/string-comparison-front-component.ts
index 20c9b12c6c5..5152884e379 100644
--- a/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/string-comparison-front-component.ts
+++ b/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/string-comparison-front-component.ts
@@ -1,16 +1,11 @@
-import { defineFrontComponent } from '@/sdk/define';
+import { defineCommandMenuItem } from '@/sdk/define';
import { everyEquals, pageType, selectedRecords } from '@/sdk/front-component';
-const MyComponent = () => null;
-
-export default defineFrontComponent({
- universalIdentifier: 'string-comparison',
- component: MyComponent,
- command: {
- universalIdentifier: 'string-comparison-cmd',
- label: 'String Comparison',
- conditionalAvailabilityExpression:
- pageType === 'RECORD_PAGE' &&
- everyEquals(selectedRecords, 'company.name', 'apple'),
- },
+export default defineCommandMenuItem({
+ universalIdentifier: 'string-comparison-cmd',
+ label: 'String Comparison',
+ frontComponentUniversalIdentifier: 'string-comparison',
+ conditionalAvailabilityExpression:
+ pageType === 'RECORD_PAGE' &&
+ everyEquals(selectedRecords, 'company.name', 'apple'),
});
diff --git a/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/target-permissions-front-component.ts b/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/target-permissions-front-component.ts
index 3624212877d..e7406c2586e 100644
--- a/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/target-permissions-front-component.ts
+++ b/packages/twenty-sdk/src/cli/utilities/build/common/conditional-availability/__tests__/__mocks__/target-permissions-front-component.ts
@@ -1,15 +1,10 @@
-import { defineFrontComponent } from '@/sdk/define';
+import { defineCommandMenuItem } from '@/sdk/define';
import { pageType, targetObjectWritePermissions } from '@/sdk/front-component';
-const MyComponent = () => null;
-
-export default defineFrontComponent({
- universalIdentifier: 'target-permissions',
- component: MyComponent,
- command: {
- universalIdentifier: 'target-permissions-cmd',
- label: 'Target Permissions',
- conditionalAvailabilityExpression:
- pageType === 'RECORD_PAGE' && targetObjectWritePermissions.person,
- },
+export default defineCommandMenuItem({
+ universalIdentifier: 'target-permissions-cmd',
+ label: 'Target Permissions',
+ frontComponentUniversalIdentifier: 'target-permissions',
+ conditionalAvailabilityExpression:
+ pageType === 'RECORD_PAGE' && targetObjectWritePermissions.person,
});
diff --git a/packages/twenty-sdk/src/cli/utilities/build/common/plugins/__tests__/__snapshots__/stub-twenty-sdk-define.plugin.spec.ts.snap b/packages/twenty-sdk/src/cli/utilities/build/common/plugins/__tests__/__snapshots__/stub-twenty-sdk-define.plugin.spec.ts.snap
index 434a8845fb0..2f3f0a98a32 100644
--- a/packages/twenty-sdk/src/cli/utilities/build/common/plugins/__tests__/__snapshots__/stub-twenty-sdk-define.plugin.spec.ts.snap
+++ b/packages/twenty-sdk/src/cli/utilities/build/common/plugins/__tests__/__snapshots__/stub-twenty-sdk-define.plugin.spec.ts.snap
@@ -33,6 +33,7 @@ exports[`stub-twenty-sdk-define plugin > matches the recorded export partition 1
"createValidationResult",
"defineAgent",
"defineApplication",
+ "defineCommandMenuItem",
"defineConnectionProvider",
"defineField",
"defineFrontComponent",
diff --git a/packages/twenty-sdk/src/cli/utilities/build/manifest/__tests__/manifest-validate.spec.ts b/packages/twenty-sdk/src/cli/utilities/build/manifest/__tests__/manifest-validate.spec.ts
index faf972d49b9..210951afefa 100644
--- a/packages/twenty-sdk/src/cli/utilities/build/manifest/__tests__/manifest-validate.spec.ts
+++ b/packages/twenty-sdk/src/cli/utilities/build/manifest/__tests__/manifest-validate.spec.ts
@@ -1,7 +1,7 @@
import {
type ApplicationManifest,
- type Manifest,
type FieldManifest,
+ type Manifest,
} from 'twenty-shared/application';
import { FieldMetadataType, RelationType } from 'twenty-shared/types';
import { manifestValidate } from '@/cli/utilities/build/manifest/manifest-validate';
@@ -25,6 +25,7 @@ const validField: FieldManifest = {
};
const validManifest: Manifest = {
+ commandMenuItems: [],
application: validApplication,
objects: [],
frontComponents: [],
diff --git a/packages/twenty-sdk/src/cli/utilities/build/manifest/manifest-build.ts b/packages/twenty-sdk/src/cli/utilities/build/manifest/manifest-build.ts
index d20470ac920..541900674d4 100644
--- a/packages/twenty-sdk/src/cli/utilities/build/manifest/manifest-build.ts
+++ b/packages/twenty-sdk/src/cli/utilities/build/manifest/manifest-build.ts
@@ -8,6 +8,7 @@ import {
import { extractManifestFromFile } from '@/cli/utilities/build/manifest/manifest-extract-config-from-file';
import { getDefaultFieldsInObjectFields } from '@/cli/utilities/build/manifest/utils/get-default-fields-in-object-fields';
import { type ApplicationConfig, type LogicFunctionConfig } from '@/sdk/define';
+import { type CommandMenuItemConfig } from '@/sdk/define/command-menu-items/command-menu-item-config';
import { type FrontComponentConfig } from '@/sdk/define/front-component/front-component-config';
import { type ObjectConfig } from '@/sdk/define/objects/object-config';
import { type PageLayoutConfig } from '@/sdk/define/page-layouts/page-layout-config';
@@ -21,9 +22,9 @@ import {
type ApplicationManifest,
type AssetManifest,
ASSETS_DIR,
+ type CommandMenuItemManifest,
type ConnectionProviderManifest,
type FieldManifest,
- type FrontComponentCommandManifest,
type FrontComponentManifest,
type LogicFunctionManifest,
type Manifest,
@@ -89,6 +90,7 @@ export const buildManifest = async (
const navigationMenuItems: NavigationMenuItemManifest[] = [];
const pageLayouts: PageLayoutManifest[] = [];
const pageLayoutTabs: PageLayoutTabManifest[] = [];
+ const commandMenuItems: CommandMenuItemManifest[] = [];
const postInstallLogicFunctions: PostInstallLogicFunctionApplicationManifest[] =
[];
const preInstallLogicFunctions: PreInstallLogicFunctionApplicationManifest[] =
@@ -107,6 +109,7 @@ export const buildManifest = async (
const navigationMenuItemsFilePaths: string[] = [];
const pageLayoutsFilePaths: string[] = [];
const pageLayoutTabsFilePaths: string[] = [];
+ const commandMenuItemsFilePaths: string[] = [];
for (const filePath of filePaths) {
const fileContent = await readFile(filePath, 'utf-8');
@@ -321,7 +324,7 @@ export const buildManifest = async (
errors.push(...extract.errors);
- const { component, command, ...rest } = extract.config;
+ const { component, ...rest } = extract.config;
const relativeFilePath = relative(appPath, filePath);
@@ -332,8 +335,6 @@ export const buildManifest = async (
builtComponentPath: relativeFilePath.replace(/\.tsx?$/, '.mjs'),
builtComponentChecksum: '',
isHeadless: rest.isHeadless ?? false,
- // transformed by conditionalAvailabilityTransformPlugin
- command: command as FrontComponentCommandManifest,
};
frontComponents.push(config);
@@ -397,6 +398,19 @@ export const buildManifest = async (
pageLayoutTabsFilePaths.push(relativePath);
break;
}
+ case ManifestEntityKey.CommandMenuItems: {
+ const extract = await extractManifestFromFile<CommandMenuItemConfig>({
+ appPath,
+ filePath,
+ });
+
+ commandMenuItems.push(
+ extract.config as unknown as CommandMenuItemManifest,
+ );
+ errors.push(...extract.errors);
+ commandMenuItemsFilePaths.push(relativePath);
+ break;
+ }
case ManifestEntityKey.PublicAssets: {
// Public assets are handled below
break;
@@ -475,6 +489,7 @@ export const buildManifest = async (
navigationMenuItems: navigationMenuItems.sort(byId),
pageLayouts: pageLayouts.sort(byId),
pageLayoutTabs: pageLayoutTabs.sort(byId),
+ commandMenuItems: commandMenuItems.sort(byId),
};
const entityFilePaths: EntityFilePaths = {
@@ -492,6 +507,7 @@ export const buildManifest = async (
navigationMenuItems: navigationMenuItemsFilePaths,
pageLayouts: pageLayoutsFilePaths,
pageLayoutTabs: pageLayoutTabsFilePaths,
+ commandMenuItems: commandMenuItemsFilePaths,
};
return { manifest, filePaths: entityFilePaths, errors };
diff --git a/packages/twenty-sdk/src/cli/utilities/build/manifest/manifest-extract-config.ts b/packages/twenty-sdk/src/cli/utilities/build/manifest/manifest-extract-config.ts
index b6779b48327..fdfda01f81b 100644
--- a/packages/twenty-sdk/src/cli/utilities/build/manifest/manifest-extract-config.ts
+++ b/packages/twenty-sdk/src/cli/utilities/build/manifest/manifest-extract-config.ts
@@ -16,6 +16,7 @@ export enum TargetFunction {
DefineNavigationMenuItem = 'defineNavigationMenuItem',
DefinePageLayout = 'definePageLayout',
DefinePageLayoutTab = 'definePageLayoutTab',
+ DefineCommandMenuItem = 'defineCommandMenuItem',
}
export enum ManifestEntityKey {
@@ -33,6 +34,7 @@ export enum ManifestEntityKey {
NavigationMenuItems = 'navigationMenuItems',
PageLayouts = 'pageLayouts',
PageLayoutTabs = 'pageLayoutTabs',
+ CommandMenuItems = 'commandMenuItems',
}
export type EntityFilePaths = Record<ManifestEntityKey, string[]>;
@@ -60,6 +62,7 @@ export const TARGET_FUNCTION_TO_ENTITY_KEY_MAPPING: Record<
ManifestEntityKey.NavigationMenuItems,
[TargetFunction.DefinePageLayout]: ManifestEntityKey.PageLayouts,
[TargetFunction.DefinePageLayoutTab]: ManifestEntityKey.PageLayoutTabs,
+ [TargetFunction.DefineCommandMenuItem]: ManifestEntityKey.CommandMenuItems,
};
const computeIsTargetFunctionCall = (node: ts.Node): string | undefined => {
diff --git a/packages/twenty-sdk/src/cli/utilities/dev/orchestrator/dev-mode-orchestrator-state.ts b/packages/twenty-sdk/src/cli/utilities/dev/orchestrator/dev-mode-orchestrator-state.ts
index 8cf45bb0533..96b04a098f3 100644
--- a/packages/twenty-sdk/src/cli/utilities/dev/orchestrator/dev-mode-orchestrator-state.ts
+++ b/packages/twenty-sdk/src/cli/utilities/dev/orchestrator/dev-mode-orchestrator-state.ts
@@ -76,6 +76,7 @@ const ENTITY_TYPE_TO_SYNCABLE: Record<string, SyncableEntity | undefined> = {
navigationMenuItems: SyncableEntity.NavigationMenuItem,
pageLayouts: SyncableEntity.PageLayout,
pageLayoutTabs: SyncableEntity.PageLayoutTab,
+ commandMenuItems: SyncableEntity.CommandMenuItem,
};
const MAX_EVENT_COUNT = 200;
diff --git a/packages/twenty-sdk/src/cli/utilities/dev/ui/dev-ui-constants.ts b/packages/twenty-sdk/src/cli/utilities/dev/ui/dev-ui-constants.ts
index 659245fa813..b718115be31 100644
--- a/packages/twenty-sdk/src/cli/utilities/dev/ui/dev-ui-constants.ts
+++ b/packages/twenty-sdk/src/cli/utilities/dev/ui/dev-ui-constants.ts
@@ -97,6 +97,7 @@ export const ENTITY_LABELS: Record<SyncableEntity, string> = {
[SyncableEntity.Field]: 'Fields',
[SyncableEntity.LogicFunction]: 'Logic functions',
[SyncableEntity.FrontComponent]: 'Front components',
+ [SyncableEntity.CommandMenuItem]: 'Command menu items',
[SyncableEntity.Role]: 'Roles',
[SyncableEntity.Skill]: 'Skills',
[SyncableEntity.View]: 'Views',
diff --git a/packages/twenty-sdk/src/cli/utilities/entity/entity-command-menu-item-template.ts b/packages/twenty-sdk/src/cli/utilities/entity/entity-command-menu-item-template.ts
new file mode 100644
index 00000000000..cb1738bd650
--- /dev/null
+++ b/packages/twenty-sdk/src/cli/utilities/entity/entity-command-menu-item-template.ts
@@ -0,0 +1,14 @@
+import { v4 as uuidv4 } from 'uuid';
+
+export const getCommandMenuItemBaseFile = ({ name }: { name: string }) => {
+ return `import { defineCommandMenuItem } from 'twenty-sdk/define';
+
+export default defineCommandMenuItem({
+ universalIdentifier: '${uuidv4()}',
+ frontComponentUniversalIdentifier:
+ 'replace-with-existing-front-component-uuid',
+ label: '${name}',
+ availabilityType: 'GLOBAL',
+});
+`;
+};
diff --git a/packages/twenty-sdk/src/sdk/define/command-menu-items/__tests__/define-command-menu-item.spec.ts b/packages/twenty-sdk/src/sdk/define/command-menu-items/__tests__/define-command-menu-item.spec.ts
new file mode 100644
index 00000000000..20d1212f275
--- /dev/null
+++ b/packages/twenty-sdk/src/sdk/define/command-menu-items/__tests__/define-command-menu-item.spec.ts
@@ -0,0 +1,68 @@
+import { describe, expect, it } from 'vitest';
+
+import { defineCommandMenuItem } from '@/sdk/define';
+
+const baseValidConfig = {
+ universalIdentifier: '11111111-1111-4111-8111-111111111111',
+ label: 'Open dashboard',
+ frontComponentUniversalIdentifier: '22222222-2222-4222-8222-222222222222',
+};
+
+describe('defineCommandMenuItem', () => {
+ it('returns success for a valid config', () => {
+ const result = defineCommandMenuItem(baseValidConfig);
+
+ expect(result.success).toBe(true);
+ expect(result.errors).toEqual([]);
+ });
+
+ it('reports a missing universalIdentifier', () => {
+ const result = defineCommandMenuItem({
+ ...baseValidConfig,
+ universalIdentifier: '',
+ });
+
+ expect(result.success).toBe(false);
+ expect(result.errors).toContain(
+ 'CommandMenuItem must have a universalIdentifier',
+ );
+ });
+
+ it('reports a missing label', () => {
+ const result = defineCommandMenuItem({
+ ...baseValidConfig,
+ label: '',
+ });
+
+ expect(result.success).toBe(false);
+ expect(result.errors).toContain('CommandMenuItem must have a label');
+ });
+
+ it('reports a missing frontComponentUniversalIdentifier', () => {
+ const result = defineCommandMenuItem({
+ ...baseValidConfig,
+ frontComponentUniversalIdentifier: '',
+ });
+
+ expect(result.success).toBe(false);
+ expect(
+ result.errors.some((error) =>
+ error.includes('frontComponentUniversalIdentifier'),
+ ),
+ ).toBe(true);
+ });
+
+ it('passes through optional fields', () => {
+ const result = defineCommandMenuItem({
+ ...baseValidConfig,
+ icon: 'IconRocket',
+ shortLabel: 'Open',
+ isPinned: true,
+ availabilityType: 'GLOBAL',
+ });
+
+ expect(result.success).toBe(true);
+ expect(result.config.icon).toBe('IconRocket');
+ expect(result.config.isPinned).toBe(true);
+ });
+});
diff --git a/packages/twenty-sdk/src/sdk/define/command-menu-items/command-menu-item-config.ts b/packages/twenty-sdk/src/sdk/define/command-menu-items/command-menu-item-config.ts
new file mode 100644
index 00000000000..477d8600409
--- /dev/null
+++ b/packages/twenty-sdk/src/sdk/define/command-menu-items/command-menu-item-config.ts
@@ -0,0 +1,8 @@
+import { type CommandMenuItemManifest } from 'twenty-shared/application';
+
+export type CommandMenuItemConfig = Omit<
+ CommandMenuItemManifest,
+ 'conditionalAvailabilityExpression'
+> & {
+ conditionalAvailabilityExpression?: boolean | string;
+};
diff --git a/packages/twenty-sdk/src/sdk/define/command-menu-items/define-command-menu-item.ts b/packages/twenty-sdk/src/sdk/define/command-menu-items/define-command-menu-item.ts
new file mode 100644
index 00000000000..24c20c3859c
--- /dev/null
+++ b/packages/twenty-sdk/src/sdk/define/command-menu-items/define-command-menu-item.ts
@@ -0,0 +1,25 @@
+import { type CommandMenuItemConfig } from '@/sdk/define/command-menu-items/command-menu-item-config';
+import { type DefineEntity } from '@/sdk/define/common/types/define-entity.type';
+import { createValidationResult } from '@/sdk/define/common/utils/create-validation-result';
+
+export const defineCommandMenuItem: DefineEntity<CommandMenuItemConfig> = (
+ config,
+) => {
+ const errors: string[] = [];
+
+ if (!config.universalIdentifier) {
+ errors.push('CommandMenuItem must have a universalIdentifier');
+ }
+
+ if (!config.label) {
+ errors.push('CommandMenuItem must have a label');
+ }
+
+ if (!config.frontComponentUniversalIdentifier) {
+ errors.push(
+ 'CommandMenuItem must have a frontComponentUniversalIdentifier (the universalIdentifier of the front component this command opens)',
+ );
+ }
+
+ return createValidationResult({ config, errors });
+};
diff --git a/packages/twenty-sdk/src/sdk/define/common/types/define-entity.type.ts b/packages/twenty-sdk/src/sdk/define/common/types/define-entity.type.ts
index 49a6eea95c2..caf65e64cd4 100644
--- a/packages/twenty-sdk/src/sdk/define/common/types/define-entity.type.ts
+++ b/packages/twenty-sdk/src/sdk/define/common/types/define-entity.type.ts
@@ -1,4 +1,5 @@
import { type ApplicationConfig } from '@/sdk/define/application/application-config';
+import { type CommandMenuItemConfig } from '@/sdk/define/command-menu-items/command-menu-item-config';
import { type FrontComponentConfig } from '@/sdk/define/front-component/front-component-config';
import { type LogicFunctionConfig } from '@/sdk/define/logic-functions/logic-function-config';
import { type ObjectConfig } from '@/sdk/define/objects/object-config';
@@ -37,7 +38,8 @@ export type DefinableEntity =
| ViewConfig
| NavigationMenuItemManifest
| PageLayoutConfig
- | PageLayoutTabConfig;
+ | PageLayoutTabConfig
+ | CommandMenuItemConfig;
export type DefineEntity<T extends DefinableEntity = DefinableEntity> = (
config: T,
diff --git a/packages/twenty-sdk/src/sdk/define/front-component/define-front-component.ts b/packages/twenty-sdk/src/sdk/define/front-component/define-front-component.ts
index e0c88101b1c..cf0ed482efb 100644
--- a/packages/twenty-sdk/src/sdk/define/front-component/define-front-component.ts
+++ b/packages/twenty-sdk/src/sdk/define/front-component/define-front-component.ts
@@ -19,16 +19,6 @@ export const defineFrontComponent: DefineEntity<FrontComponentConfig> = (
errors.push('Front component component must be a React component');
}
- if (config.command) {
- if (!config.command.universalIdentifier) {
- errors.push('Command must have a universalIdentifier');
- }
-
- if (!config.command.label) {
- errors.push('Command must have a label');
- }
- }
-
return createValidationResult({
config,
errors,
diff --git a/packages/twenty-sdk/src/sdk/define/front-component/front-component-config.ts b/packages/twenty-sdk/src/sdk/define/front-component/front-component-config.ts
index 5c59c97da4b..154233fd8e0 100644
--- a/packages/twenty-sdk/src/sdk/define/front-component/front-component-config.ts
+++ b/packages/twenty-sdk/src/sdk/define/front-component/front-component-config.ts
@@ -1,17 +1,7 @@
-import {
- type FrontComponentCommandManifest,
- type FrontComponentManifest,
-} from 'twenty-shared/application';
+import { type FrontComponentManifest } from 'twenty-shared/application';
export type FrontComponentType = React.ComponentType<any>;
-export type FrontComponentCommandConfig = Omit<
- FrontComponentCommandManifest,
- 'conditionalAvailabilityExpression'
-> & {
- conditionalAvailabilityExpression?: boolean | string;
-};
-
export type FrontComponentConfig = Omit<
FrontComponentManifest,
| 'sourceComponentPath'
@@ -19,8 +9,6 @@ export type FrontComponentConfig = Omit<
| 'builtComponentChecksum'
| 'componentName'
| 'usesSdkClient'
- | 'command'
> & {
component: FrontComponentType;
- command?: FrontComponentCommandConfig;
};
diff --git a/packages/twenty-sdk/src/sdk/define/index.ts b/packages/twenty-sdk/src/sdk/define/index.ts
index 677642e4c99..e9f792d5edb 100644
--- a/packages/twenty-sdk/src/sdk/define/index.ts
+++ b/packages/twenty-sdk/src/sdk/define/index.ts
@@ -27,9 +27,12 @@ export { OnDeleteAction } from '@/sdk/define/fields/on-delete-action';
export { RelationType } from '@/sdk/define/fields/relation-type';
export { validateFields } from '@/sdk/define/fields/validate-fields';
+export { defineCommandMenuItem } from '@/sdk/define/command-menu-items/define-command-menu-item';
+export type { CommandMenuItemConfig } from '@/sdk/define/command-menu-items/command-menu-item-config';
+export type { CommandMenuItemManifest } from 'twenty-shared/application';
+
export { defineFrontComponent } from '@/sdk/define/front-component/define-front-component';
export type {
- FrontComponentCommandConfig,
FrontComponentConfig,
FrontComponentType,
} from '@/sdk/define/front-component/front-component-config';
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-manifest/application-manifest-migration.service.ts b/packages/twenty-server/src/engine/core-modules/application/application-manifest/application-manifest-migration.service.ts
index deabbc7a4eb..a8fc9761673 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-manifest/application-manifest-migration.service.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-manifest/application-manifest-migration.service.ts
@@ -79,6 +79,7 @@ export class ApplicationManifestMigrationService {
navigationMenuItems: [],
pageLayouts: [],
pageLayoutTabs: [],
+ commandMenuItems: [],
};
const now = new Date().toISOString();
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-manifest/utils/compute-application-manifest-all-universal-flat-entity-maps.util.ts b/packages/twenty-server/src/engine/core-modules/application/application-manifest/utils/compute-application-manifest-all-universal-flat-entity-maps.util.ts
index 545679b7ef8..39eb07c8b6a 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-manifest/utils/compute-application-manifest-all-universal-flat-entity-maps.util.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-manifest/utils/compute-application-manifest-all-universal-flat-entity-maps.util.ts
@@ -158,23 +158,6 @@ export const computeApplicationManifestAllUniversalFlatEntityMaps = ({
universalFlatEntityMapsToMutate:
allUniversalFlatEntityMaps.flatFrontComponentMaps,
});
-
- if (frontComponentManifest.command) {
- addUniversalFlatEntityToUniversalFlatEntityMapsThroughMutationOrThrow({
- universalFlatEntity:
- fromCommandMenuItemManifestToUniversalFlatCommandMenuItem({
- commandMenuItemManifest: {
- ...frontComponentManifest.command,
- frontComponentUniversalIdentifier:
- frontComponentManifest.universalIdentifier,
- },
- applicationUniversalIdentifier,
- now,
- }),
- universalFlatEntityMapsToMutate:
- allUniversalFlatEntityMaps.flatCommandMenuItemMaps,
- });
- }
}
for (const connectionProviderManifest of manifest.connectionProviders ?? []) {
@@ -448,5 +431,24 @@ export const computeApplicationManifestAllUniversalFlatEntityMaps = ({
}
}
+ for (const commandMenuItemManifest of manifest.commandMenuItems ?? []) {
+ if (!isDefined(commandMenuItemManifest.frontComponentUniversalIdentifier)) {
+ throw new Error(
+ `Top-level commandMenuItem "${commandMenuItemManifest.universalIdentifier}" is missing required frontComponentUniversalIdentifier`,
+ );
+ }
+
+ addUniversalFlatEntityToUniversalFlatEntityMapsThroughMutationOrThrow({
+ universalFlatEntity:
+ fromCommandMenuItemManifestToUniversalFlatCommandMenuItem({
+ commandMenuItemManifest,
+ applicationUniversalIdentifier,
+ now,
+ }),
+ universalFlatEntityMapsToMutate:
+ allUniversalFlatEntityMaps.flatCommandMenuItemMaps,
+ });
+ }
+
return allUniversalFlatEntityMaps;
};
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-marketplace/utils/__tests__/resolve-manifest-asset-urls.util.spec.ts b/packages/twenty-server/src/engine/core-modules/application/application-marketplace/utils/__tests__/resolve-manifest-asset-urls.util.spec.ts
index bb9dfd08e08..c6fecbeafda 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-marketplace/utils/__tests__/resolve-manifest-asset-urls.util.spec.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-marketplace/utils/__tests__/resolve-manifest-asset-urls.util.spec.ts
@@ -26,6 +26,7 @@ const buildMinimalManifest = (
navigationMenuItems: [],
pageLayouts: [],
pageLayoutTabs: [],
+ commandMenuItems: [],
});
describe('resolveManifestAssetUrls', () => {
diff --git a/packages/twenty-server/src/engine/core-modules/application/application.entity.ts b/packages/twenty-server/src/engine/core-modules/application/application.entity.ts
index c907139d9e7..c7ecd9b2813 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application.entity.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application.entity.ts
@@ -20,6 +20,7 @@ import { ApplicationRegistrationSourceType } from 'src/engine/core-modules/appli
import { FileEntity } from 'src/engine/core-modules/file/entities/file.entity';
import { ApplicationVariableEntity } from 'src/engine/core-modules/application/application-variable/application-variable.entity';
import { AgentEntity } from 'src/engine/metadata-modules/ai/ai-agent/entities/agent.entity';
+import { CommandMenuItemEntity } from 'src/engine/metadata-modules/command-menu-item/entities/command-menu-item.entity';
import { FrontComponentEntity } from 'src/engine/metadata-modules/front-component/entities/front-component.entity';
import { LogicFunctionEntity } from 'src/engine/metadata-modules/logic-function/logic-function.entity';
import { ObjectMetadataEntity } from 'src/engine/metadata-modules/object-metadata/object-metadata.entity';
@@ -142,6 +143,15 @@ export class ApplicationEntity extends WorkspaceRelatedEntity {
)
frontComponents: Relation<FrontComponentEntity[]>;
+ @OneToMany(
+ () => CommandMenuItemEntity,
+ (commandMenuItem) => commandMenuItem.application,
+ {
+ onDelete: 'CASCADE',
+ },
+ )
+ commandMenuItems: Relation<CommandMenuItemEntity[]>;
+
@OneToMany(
() => ApplicationVariableEntity,
(applicationVariable) => applicationVariable.application,
diff --git a/packages/twenty-server/src/engine/core-modules/application/application.module.ts b/packages/twenty-server/src/engine/core-modules/application/application.module.ts
index 60316e0b5ba..deb352f66bc 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application.module.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application.module.ts
@@ -9,6 +9,7 @@ import { FeatureFlagModule } from 'src/engine/core-modules/feature-flag/feature-
import { TwentyConfigModule } from 'src/engine/core-modules/twenty-config/twenty-config.module';
import { WorkspaceEntity } from 'src/engine/core-modules/workspace/workspace.entity';
import { AgentEntity } from 'src/engine/metadata-modules/ai/ai-agent/entities/agent.entity';
+import { CommandMenuItemEntity } from 'src/engine/metadata-modules/command-menu-item/entities/command-menu-item.entity';
import { WorkspaceManyOrAllFlatEntityMapsCacheModule } from 'src/engine/metadata-modules/flat-entity/services/workspace-many-or-all-flat-entity-maps-cache.module';
import { FrontComponentEntity } from 'src/engine/metadata-modules/front-component/entities/front-component.entity';
import { LogicFunctionEntity } from 'src/engine/metadata-modules/logic-function/logic-function.entity';
@@ -23,6 +24,7 @@ import { WorkspaceCacheModule } from 'src/engine/workspace-cache/workspace-cache
LogicFunctionEntity,
AgentEntity,
FrontComponentEntity,
+ CommandMenuItemEntity,
ObjectMetadataEntity,
ApplicationVariableEntity,
]),
diff --git a/packages/twenty-server/src/engine/core-modules/application/application.service.ts b/packages/twenty-server/src/engine/core-modules/application/application.service.ts
index 6e33557ee07..2e212d28f7f 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application.service.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application.service.ts
@@ -17,6 +17,7 @@ import { type FlatApplication } from 'src/engine/core-modules/application/types/
import { FileStorageService } from 'src/engine/core-modules/file-storage/file-storage.service';
import { WorkspaceEntity } from 'src/engine/core-modules/workspace/workspace.entity';
import { AgentEntity } from 'src/engine/metadata-modules/ai/ai-agent/entities/agent.entity';
+import { CommandMenuItemEntity } from 'src/engine/metadata-modules/command-menu-item/entities/command-menu-item.entity';
import { ALL_FLAT_ENTITY_MAPS_PROPERTIES } from 'src/engine/metadata-modules/flat-entity/constant/all-flat-entity-maps-properties.constant';
import { FrontComponentEntity } from 'src/engine/metadata-modules/front-component/entities/front-component.entity';
import { LogicFunctionEntity } from 'src/engine/metadata-modules/logic-function/logic-function.entity';
@@ -40,6 +41,8 @@ export class ApplicationService {
private readonly agentRepository: Repository<AgentEntity>,
@InjectRepository(FrontComponentEntity)
private readonly frontComponentRepository: Repository<FrontComponentEntity>,
+ @InjectRepository(CommandMenuItemEntity)
+ private readonly commandMenuItemRepository: Repository<CommandMenuItemEntity>,
@InjectRepository(ObjectMetadataEntity)
private readonly objectMetadataRepository: Repository<ObjectMetadataEntity>,
@InjectRepository(ApplicationVariableEntity)
@@ -187,6 +190,7 @@ export class ApplicationService {
logicFunctions,
agents,
frontComponents,
+ commandMenuItems,
objects,
applicationVariables,
] = await Promise.all([
@@ -199,6 +203,9 @@ export class ApplicationService {
this.frontComponentRepository.find({
where: { applicationId: application.id, workspaceId },
}),
+ this.commandMenuItemRepository.find({
+ where: { applicationId: application.id, workspaceId },
+ }),
this.objectMetadataRepository.find({
where: { applicationId: application.id, workspaceId },
}),
@@ -210,6 +217,7 @@ export class ApplicationService {
application.logicFunctions = logicFunctions;
application.agents = agents;
application.frontComponents = frontComponents;
+ application.commandMenuItems = commandMenuItems;
application.objects = objects;
application.applicationVariables = applicationVariables;
diff --git a/packages/twenty-server/src/engine/core-modules/application/constants/application-entity-relation-properties.constant.ts b/packages/twenty-server/src/engine/core-modules/application/constants/application-entity-relation-properties.constant.ts
index c89bbe68b7f..b443da7256b 100644
--- a/packages/twenty-server/src/engine/core-modules/application/constants/application-entity-relation-properties.constant.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/constants/application-entity-relation-properties.constant.ts
@@ -4,6 +4,7 @@ export const APPLICATION_ENTITY_RELATION_PROPERTIES = [
'workspace',
'agents',
'frontComponents',
+ 'commandMenuItems',
'logicFunctions',
'objects',
'applicationVariables',
diff --git a/packages/twenty-server/src/engine/core-modules/application/dtos/application.dto.ts b/packages/twenty-server/src/engine/core-modules/application/dtos/application.dto.ts
index f53620512db..255efa9fe47 100644
--- a/packages/twenty-server/src/engine/core-modules/application/dtos/application.dto.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/dtos/application.dto.ts
@@ -13,6 +13,7 @@ import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/
import { ApplicationRegistrationSummaryDTO } from 'src/engine/core-modules/application/application-registration/dtos/application-registration-summary.dto';
import { ApplicationVariableEntityDTO } from 'src/engine/core-modules/application/application-variable/dtos/application-variable.dto';
import { AgentDTO } from 'src/engine/metadata-modules/ai/ai-agent/dtos/agent.dto';
+import { CommandMenuItemDTO } from 'src/engine/metadata-modules/command-menu-item/dtos/command-menu-item.dto';
import { FrontComponentDTO } from 'src/engine/metadata-modules/front-component/dtos/front-component.dto';
import { LogicFunctionDTO } from 'src/engine/metadata-modules/logic-function/dtos/logic-function.dto';
import { ObjectMetadataDTO } from 'src/engine/metadata-modules/object-metadata/dtos/object-metadata.dto';
@@ -100,6 +101,9 @@ export class ApplicationDTO {
@Field(() => [FrontComponentDTO])
frontComponents?: FrontComponentDTO[];
+ @Field(() => [CommandMenuItemDTO])
+ commandMenuItems?: CommandMenuItemDTO[];
+
@Field(() => [LogicFunctionDTO])
logicFunctions?: LogicFunctionDTO[];
diff --git a/packages/twenty-server/src/engine/metadata-modules/command-menu-item/dtos/command-menu-item.dto.ts b/packages/twenty-server/src/engine/metadata-modules/command-menu-item/dtos/command-menu-item.dto.ts
index 103e61ffd8f..19198ed731e 100644
--- a/packages/twenty-server/src/engine/metadata-modules/command-menu-item/dtos/command-menu-item.dto.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/command-menu-item/dtos/command-menu-item.dto.ts
@@ -99,6 +99,9 @@ export class CommandMenuItemDTO {
@HideField()
workspaceId: string;
+ @Field(() => UUIDScalarType, { nullable: true })
+ universalIdentifier?: string;
+
@Field(() => UUIDScalarType, { nullable: true })
applicationId?: string;
diff --git a/packages/twenty-server/test/integration/metadata/suites/application/utils/build-base-manifest.util.ts b/packages/twenty-server/test/integration/metadata/suites/application/utils/build-base-manifest.util.ts
index 35c1ae754cc..d5e03898d95 100644
--- a/packages/twenty-server/test/integration/metadata/suites/application/utils/build-base-manifest.util.ts
+++ b/packages/twenty-server/test/integration/metadata/suites/application/utils/build-base-manifest.util.ts
@@ -36,5 +36,6 @@ export const buildBaseManifest = ({
navigationMenuItems: [],
pageLayouts: [],
pageLayoutTabs: [],
+ commandMenuItems: [],
...overrides,
});
diff --git a/packages/twenty-shared/src/application/enums/syncable-entities.enum.ts b/packages/twenty-shared/src/application/enums/syncable-entities.enum.ts
index 6797192fdc3..2c730dc9064 100644
--- a/packages/twenty-shared/src/application/enums/syncable-entities.enum.ts
+++ b/packages/twenty-shared/src/application/enums/syncable-entities.enum.ts
@@ -11,4 +11,5 @@ export enum SyncableEntity {
NavigationMenuItem = 'navigationMenuItem',
PageLayout = 'pageLayout',
PageLayoutTab = 'pageLayoutTab',
+ CommandMenuItem = 'commandMenuItem',
}
diff --git a/packages/twenty-shared/src/application/frontComponentManifestType.ts b/packages/twenty-shared/src/application/frontComponentManifestType.ts
index a92a0d4311a..b72a6f803ca 100644
--- a/packages/twenty-shared/src/application/frontComponentManifestType.ts
+++ b/packages/twenty-shared/src/application/frontComponentManifestType.ts
@@ -15,11 +15,6 @@ export type CommandMenuItemManifest = SyncableEntityOptions & {
conditionalAvailabilityExpression?: string;
};
-export type FrontComponentCommandManifest = Omit<
- CommandMenuItemManifest,
- 'frontComponentUniversalIdentifier'
->;
-
export type FrontComponentManifest = {
universalIdentifier: string;
name?: string;
@@ -30,5 +25,4 @@ export type FrontComponentManifest = {
componentName: string;
isHeadless?: boolean;
usesSdkClient?: boolean;
- command?: FrontComponentCommandManifest;
};
diff --git a/packages/twenty-shared/src/application/index.ts b/packages/twenty-shared/src/application/index.ts
index c8d2fe40533..027824cb60b 100644
--- a/packages/twenty-shared/src/application/index.ts
+++ b/packages/twenty-shared/src/application/index.ts
@@ -31,7 +31,6 @@ export type {
} from './fieldManifestType';
export type {
CommandMenuItemManifest,
- FrontComponentCommandManifest,
FrontComponentManifest,
} from './frontComponentManifestType';
export type {
diff --git a/packages/twenty-shared/src/application/manifestType.ts b/packages/twenty-shared/src/application/manifestType.ts
index 4efb9f4f4bf..ddfe4228611 100644
--- a/packages/twenty-shared/src/application/manifestType.ts
+++ b/packages/twenty-shared/src/application/manifestType.ts
@@ -3,7 +3,10 @@ import { type ApplicationManifest } from './applicationType';
import { type AssetManifest } from './assetManifestType';
import { type ConnectionProviderManifest } from './connectionProviderManifestType';
import { type FieldManifest } from './fieldManifestType';
-import { type FrontComponentManifest } from './frontComponentManifestType';
+import {
+ type CommandMenuItemManifest,
+ type FrontComponentManifest,
+} from './frontComponentManifestType';
import { type LogicFunctionManifest } from './logicFunctionManifestType';
import { type NavigationMenuItemManifest } from './navigationMenuItemManifestType';
import { type ObjectManifest } from './objectManifestType';
@@ -30,4 +33,5 @@ export type Manifest = {
navigationMenuItems: NavigationMenuItemManifest[];
pageLayouts: PageLayoutManifest[];
pageLayoutTabs: PageLayoutTabManifest[];
+ commandMenuItems: CommandMenuItemManifest[];
};
diff --git a/packages/twenty-shared/src/types/SettingsPath.ts b/packages/twenty-shared/src/types/SettingsPath.ts
index 994c926e1af..640f680bbe6 100644
--- a/packages/twenty-shared/src/types/SettingsPath.ts
+++ b/packages/twenty-shared/src/types/SettingsPath.ts
@@ -44,6 +44,7 @@ export enum SettingsPath {
ApplicationDetail = 'applications/:applicationId',
ApplicationLogicFunctionDetail = 'applications/:applicationId/logicFunctions/:logicFunctionId',
ApplicationFrontComponentDetail = 'applications/:applicationId/frontComponents/:frontComponentId',
+ ApplicationCommandMenuItemDetail = 'applications/:applicationId/commandMenuItems/:commandMenuItemId',
ApplicationViewDetail = 'applications/:applicationId/views/:viewUniversalIdentifier',
ApplicationPageLayoutDetail = 'applications/:applicationId/pageLayouts/:pageLayoutUniversalIdentifier',
AvailableApplicationDetail = 'applications/available/:availableApplicationId',