Files
twenty/packages/twenty-front/src/modules/applications/graphql/fragments/applicationFragment.ts
T
martmull 5dd7eba911 Fix app design 6 (#19827)
Unify application display page and isntalled page

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2026-04-20 09:29:25 +02:00

51 lines
1.1 KiB
TypeScript

import { AGENT_FRAGMENT } from '@/ai/graphql/fragments/agentFragment';
import { OBJECT_METADATA_FRAGMENT } from '@/object-metadata/graphql/fragment';
import { LOGIC_FUNCTION_FRAGMENT } from '@/logic-functions/graphql/fragments/logicFunctionFragment';
import { gql } from '@apollo/client';
export const APPLICATION_FRAGMENT = gql`
${AGENT_FRAGMENT}
${LOGIC_FUNCTION_FRAGMENT}
${OBJECT_METADATA_FRAGMENT}
fragment ApplicationFields on Application {
id
name
description
version
universalIdentifier
applicationRegistrationId
applicationRegistration {
id
latestAvailableVersion
sourceType
logoUrl
}
canBeUninstalled
defaultRoleId
settingsCustomTabFrontComponentId
availablePackages
applicationVariables {
id
key
value
description
isSecret
}
agents {
...AgentFields
}
frontComponents {
id
name
description
applicationId
}
objects {
...ObjectMetadataFields
}
logicFunctions {
...LogicFunctionFields
}
}
`;