Skip to content

The open alternative to Salesforce, designed for AI.

Fix app design 6 (#19827)

martmull5dd7eba91175
diff --git a/packages/create-twenty-app/package.json b/packages/create-twenty-app/package.json
index 9240175860b..06a5627317a 100644
--- a/packages/create-twenty-app/package.json
+++ b/packages/create-twenty-app/package.json
@@ -1,6 +1,6 @@
{
"name": "create-twenty-app",
- "version": "1.23.0-canary.1",
+ "version": "1.23.0-canary.2",
"description": "Command-line interface to create Twenty application",
"main": "dist/cli.cjs",
"bin": "dist/cli.cjs",
diff --git a/packages/create-twenty-app/src/utils/__tests__/app-template.spec.ts b/packages/create-twenty-app/src/utils/__tests__/app-template.spec.ts
index ba8649bdaca..f3fe5296166 100644
--- a/packages/create-twenty-app/src/utils/__tests__/app-template.spec.ts
+++ b/packages/create-twenty-app/src/utils/__tests__/app-template.spec.ts
@@ -149,6 +149,25 @@ describe('copyBaseApplicationProject', () => {
);
});
+ it('should create an empty public directory in the scaffolded project', async () => {
+ await copyBaseApplicationProject({
+ appName: 'my-test-app',
+ appDisplayName: 'My Test App',
+ appDescription: 'A test application',
+ appDirectory: testAppDirectory,
+ });
+
+ const publicDirectoryPath = join(testAppDirectory, 'public');
+
+ expect(await fs.pathExists(publicDirectoryPath)).toBe(true);
+
+ const publicDirectoryStats = await fs.stat(publicDirectoryPath);
+ expect(publicDirectoryStats.isDirectory()).toBe(true);
+
+ const publicDirectoryContents = await fs.readdir(publicDirectoryPath);
+ expect(publicDirectoryContents).toHaveLength(0);
+ });
+
it('should handle empty description', async () => {
await copyBaseApplicationProject({
appName: 'my-test-app',
diff --git a/packages/create-twenty-app/src/utils/app-template.ts b/packages/create-twenty-app/src/utils/app-template.ts
index 4d2c043149c..9771ea9f260 100644
--- a/packages/create-twenty-app/src/utils/app-template.ts
+++ b/packages/create-twenty-app/src/utils/app-template.ts
@@ -23,6 +23,8 @@ export const copyBaseApplicationProject = async ({
await renameDotfiles({ appDirectory });
+ await addEmptyPublicDirectory({ appDirectory });
+
await generateUniversalIdentifiers({
appDisplayName,
appDescription,
@@ -49,6 +51,14 @@ const renameDotfiles = async ({ appDirectory }: { appDirectory: string }) => {
}
};
+const addEmptyPublicDirectory = async ({
+ appDirectory,
+}: {
+ appDirectory: string;
+}) => {
+ await fs.ensureDir(join(appDirectory, 'public'));
+};
+
const generateUniversalIdentifiers = async ({
appDisplayName,
appDescription,
diff --git a/packages/twenty-client-sdk/package.json b/packages/twenty-client-sdk/package.json
index 8cd7d4bf42f..e3e6b5717f5 100644
--- a/packages/twenty-client-sdk/package.json
+++ b/packages/twenty-client-sdk/package.json
@@ -1,6 +1,6 @@
{
"name": "twenty-client-sdk",
- "version": "1.23.0-canary.1",
+ "version": "1.23.0-canary.2",
"sideEffects": false,
"license": "AGPL-3.0",
"scripts": {
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
index f3feb966132..ea58feddbd0 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
@@ -296,6 +296,33 @@ type ApplicationVariable {
isSecret: Boolean!
}
+type AuthToken {
+ token: String!
+ expiresAt: DateTime!
+}
+
+type ApplicationTokenPair {
+ applicationAccessToken: AuthToken!
+ applicationRefreshToken: AuthToken!
+}
+
+type FrontComponent {
+ id: UUID!
+ name: String!
+ description: String
+ sourceComponentPath: String!
+ builtComponentPath: String!
+ componentName: String!
+ builtComponentChecksum: String!
+ universalIdentifier: UUID
+ applicationId: UUID!
+ createdAt: DateTime!
+ updatedAt: DateTime!
+ isHeadless: Boolean!
+ usesSdkClient: Boolean!
+ applicationTokenPair: ApplicationTokenPair
+}
+
type LogicFunction {
id: UUID!
name: String!
@@ -565,6 +592,7 @@ type Application {
settingsCustomTabFrontComponentId: UUID
defaultLogicFunctionRole: Role
agents: [Agent!]!
+ frontComponents: [FrontComponent!]!
logicFunctions: [LogicFunction!]!
objects: [Object!]!
applicationVariables: [ApplicationVariable!]!
@@ -2032,33 +2060,6 @@ type UpsertRowLevelPermissionPredicatesResult {
predicateGroups: [RowLevelPermissionPredicateGroup!]!
}
-type AuthToken {
- token: String!
- expiresAt: DateTime!
-}
-
-type ApplicationTokenPair {
- applicationAccessToken: AuthToken!
- applicationRefreshToken: AuthToken!
-}
-
-type FrontComponent {
- id: UUID!
- name: String!
- description: String
- sourceComponentPath: String!
- builtComponentPath: String!
- componentName: String!
- builtComponentChecksum: String!
- universalIdentifier: UUID
- applicationId: UUID!
- createdAt: DateTime!
- updatedAt: DateTime!
- isHeadless: Boolean!
- usesSdkClient: Boolean!
- applicationTokenPair: ApplicationTokenPair
-}
-
type LogicFunctionLogs {
"""Execution Logs"""
logs: String!
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.ts b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
index 503b3728c63..f0c471f329d 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
@@ -247,6 +247,36 @@ export interface ApplicationVariable {
__typename: 'ApplicationVariable'
}
+export interface AuthToken {
+ token: Scalars['String']
+ expiresAt: Scalars['DateTime']
+ __typename: 'AuthToken'
+}
+
+export interface ApplicationTokenPair {
+ applicationAccessToken: AuthToken
+ applicationRefreshToken: AuthToken
+ __typename: 'ApplicationTokenPair'
+}
+
+export interface FrontComponent {
+ id: Scalars['UUID']
+ name: Scalars['String']
+ description?: Scalars['String']
+ sourceComponentPath: Scalars['String']
+ builtComponentPath: Scalars['String']
+ componentName: Scalars['String']
+ builtComponentChecksum: Scalars['String']
+ universalIdentifier?: Scalars['UUID']
+ applicationId: Scalars['UUID']
+ createdAt: Scalars['DateTime']
+ updatedAt: Scalars['DateTime']
+ isHeadless: Scalars['Boolean']
+ usesSdkClient: Scalars['Boolean']
+ applicationTokenPair?: ApplicationTokenPair
+ __typename: 'FrontComponent'
+}
+
export interface LogicFunction {
id: Scalars['UUID']
name: Scalars['String']
@@ -396,6 +426,7 @@ export interface Application {
settingsCustomTabFrontComponentId?: Scalars['UUID']
defaultLogicFunctionRole?: Role
agents: Agent[]
+ frontComponents: FrontComponent[]
logicFunctions: LogicFunction[]
objects: Object[]
applicationVariables: ApplicationVariable[]
@@ -1738,36 +1769,6 @@ export interface UpsertRowLevelPermissionPredicatesResult {
__typename: 'UpsertRowLevelPermissionPredicatesResult'
}
-export interface AuthToken {
- token: Scalars['String']
- expiresAt: Scalars['DateTime']
- __typename: 'AuthToken'
-}
-
-export interface ApplicationTokenPair {
- applicationAccessToken: AuthToken
- applicationRefreshToken: AuthToken
- __typename: 'ApplicationTokenPair'
-}
-
-export interface FrontComponent {
- id: Scalars['UUID']
- name: Scalars['String']
- description?: Scalars['String']
- sourceComponentPath: Scalars['String']
- builtComponentPath: Scalars['String']
- componentName: Scalars['String']
- builtComponentChecksum: Scalars['String']
- universalIdentifier?: Scalars['UUID']
- applicationId: Scalars['UUID']
- createdAt: Scalars['DateTime']
- updatedAt: Scalars['DateTime']
- isHeadless: Scalars['Boolean']
- usesSdkClient: Scalars['Boolean']
- applicationTokenPair?: ApplicationTokenPair
- __typename: 'FrontComponent'
-}
-
export interface LogicFunctionLogs {
/** Execution Logs */
logs: Scalars['String']
@@ -3101,6 +3102,39 @@ export interface ApplicationVariableGenqlSelection{
__scalar?: boolean | number
}
+export interface AuthTokenGenqlSelection{
+ token?: boolean | number
+ expiresAt?: boolean | number
+ __typename?: boolean | number
+ __scalar?: boolean | number
+}
+
+export interface ApplicationTokenPairGenqlSelection{
+ applicationAccessToken?: AuthTokenGenqlSelection
+ applicationRefreshToken?: AuthTokenGenqlSelection
+ __typename?: boolean | number
+ __scalar?: boolean | number
+}
+
+export interface FrontComponentGenqlSelection{
+ id?: boolean | number
+ name?: boolean | number
+ description?: boolean | number
+ sourceComponentPath?: boolean | number
+ builtComponentPath?: boolean | number
+ componentName?: boolean | number
+ builtComponentChecksum?: boolean | number
+ universalIdentifier?: boolean | number
+ applicationId?: boolean | number
+ createdAt?: boolean | number
+ updatedAt?: boolean | number
+ isHeadless?: boolean | number
+ usesSdkClient?: boolean | number
+ applicationTokenPair?: ApplicationTokenPairGenqlSelection
+ __typename?: boolean | number
+ __scalar?: boolean | number
+}
+
export interface LogicFunctionGenqlSelection{
id?: boolean | number
name?: boolean | number
@@ -3287,6 +3321,7 @@ export interface ApplicationGenqlSelection{
settingsCustomTabFrontComponentId?: boolean | number
defaultLogicFunctionRole?: RoleGenqlSelection
agents?: AgentGenqlSelection
+ frontComponents?: FrontComponentGenqlSelection
logicFunctions?: LogicFunctionGenqlSelection
objects?: ObjectGenqlSelection
applicationVariables?: ApplicationVariableGenqlSelection
@@ -4685,39 +4720,6 @@ export interface UpsertRowLevelPermissionPredicatesResultGenqlSelection{
__scalar?: boolean | number
}
-export interface AuthTokenGenqlSelection{
- token?: boolean | number
- expiresAt?: boolean | number
- __typename?: boolean | number
- __scalar?: boolean | number
-}
-
-export interface ApplicationTokenPairGenqlSelection{
- applicationAccessToken?: AuthTokenGenqlSelection
- applicationRefreshToken?: AuthTokenGenqlSelection
- __typename?: boolean | number
- __scalar?: boolean | number
-}
-
-export interface FrontComponentGenqlSelection{
- id?: boolean | number
- name?: boolean | number
- description?: boolean | number
- sourceComponentPath?: boolean | number
- builtComponentPath?: boolean | number
- componentName?: boolean | number
- builtComponentChecksum?: boolean | number
- universalIdentifier?: boolean | number
- applicationId?: boolean | number
- createdAt?: boolean | number
- updatedAt?: boolean | number
- isHeadless?: boolean | number
- usesSdkClient?: boolean | number
- applicationTokenPair?: ApplicationTokenPairGenqlSelection
- __typename?: boolean | number
- __scalar?: boolean | number
-}
-
export interface LogicFunctionLogsGenqlSelection{
/** Execution Logs */
logs?: boolean | number
@@ -6377,6 +6379,30 @@ export interface LogicFunctionLogsInput {applicationId?: (Scalars['UUID'] | null
+ const AuthToken_possibleTypes: string[] = ['AuthToken']
+ export const isAuthToken = (obj?: { __typename?: any } | null): obj is AuthToken => {
+ if (!obj?.__typename) throw new Error('__typename is missing in "isAuthToken"')
+ return AuthToken_possibleTypes.includes(obj.__typename)
+ }
+
+
+
+ const ApplicationTokenPair_possibleTypes: string[] = ['ApplicationTokenPair']
+ export const isApplicationTokenPair = (obj?: { __typename?: any } | null): obj is ApplicationTokenPair => {
+ if (!obj?.__typename) throw new Error('__typename is missing in "isApplicationTokenPair"')
+ return ApplicationTokenPair_possibleTypes.includes(obj.__typename)
+ }
+
+
+
+ const FrontComponent_possibleTypes: string[] = ['FrontComponent']
+ export const isFrontComponent = (obj?: { __typename?: any } | null): obj is FrontComponent => {
+ if (!obj?.__typename) throw new Error('__typename is missing in "isFrontComponent"')
+ return FrontComponent_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"')
@@ -7473,30 +7499,6 @@ export interface LogicFunctionLogsInput {applicationId?: (Scalars['UUID'] | null
- const AuthToken_possibleTypes: string[] = ['AuthToken']
- export const isAuthToken = (obj?: { __typename?: any } | null): obj is AuthToken => {
- if (!obj?.__typename) throw new Error('__typename is missing in "isAuthToken"')
- return AuthToken_possibleTypes.includes(obj.__typename)
- }
-
-
-
- const ApplicationTokenPair_possibleTypes: string[] = ['ApplicationTokenPair']
- export const isApplicationTokenPair = (obj?: { __typename?: any } | null): obj is ApplicationTokenPair => {
- if (!obj?.__typename) throw new Error('__typename is missing in "isApplicationTokenPair"')
- return ApplicationTokenPair_possibleTypes.includes(obj.__typename)
- }
-
-
-
- const FrontComponent_possibleTypes: string[] = ['FrontComponent']
- export const isFrontComponent = (obj?: { __typename?: any } | null): obj is FrontComponent => {
- if (!obj?.__typename) throw new Error('__typename is missing in "isFrontComponent"')
- return FrontComponent_possibleTypes.includes(obj.__typename)
- }
-
-
-
const LogicFunctionLogs_possibleTypes: string[] = ['LogicFunctionLogs']
export const isLogicFunctionLogs = (obj?: { __typename?: any } | null): obj is LogicFunctionLogs => {
if (!obj?.__typename) throw new Error('__typename is missing in "isLogicFunctionLogs"')
diff --git a/packages/twenty-client-sdk/src/metadata/generated/types.ts b/packages/twenty-client-sdk/src/metadata/generated/types.ts
index 5405183e5e3..e67452a335c 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/types.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/types.ts
@@ -14,48 +14,48 @@ export default {
22,
23,
24,
- 35,
38,
- 40,
- 51,
- 53,
- 55,
+ 41,
+ 43,
+ 54,
+ 56,
58,
61,
- 62,
- 63,
64,
65,
+ 66,
67,
+ 68,
70,
- 71,
- 76,
+ 73,
+ 74,
79,
- 84,
+ 82,
87,
- 88,
90,
- 94,
- 95,
- 101,
- 115,
- 124,
- 125,
- 126,
+ 91,
+ 93,
+ 97,
+ 98,
+ 104,
+ 118,
+ 127,
128,
- 136,
- 147,
+ 129,
+ 131,
+ 139,
150,
- 152,
- 156,
- 158,
- 162,
- 163,
- 170,
+ 153,
+ 155,
+ 159,
+ 161,
+ 165,
+ 166,
173,
176,
- 199,
- 214,
+ 179,
+ 202,
+ 217,
253,
254,
264,
@@ -96,13 +96,13 @@ export default {
1
],
"metadata": [
- 123
+ 126
],
"on_BillingLicensedProduct": [
- 132
+ 135
],
"on_BillingMeteredProduct": [
- 133
+ 136
],
"__typename": [
1
@@ -331,7 +331,7 @@ export default {
3
],
"user": [
- 69
+ 72
],
"userId": [
3
@@ -639,6 +639,75 @@ export default {
1
]
},
+ "AuthToken": {
+ "token": [
+ 1
+ ],
+ "expiresAt": [
+ 4
+ ],
+ "__typename": [
+ 1
+ ]
+ },
+ "ApplicationTokenPair": {
+ "applicationAccessToken": [
+ 32
+ ],
+ "applicationRefreshToken": [
+ 32
+ ],
+ "__typename": [
+ 1
+ ]
+ },
+ "FrontComponent": {
+ "id": [
+ 3
+ ],
+ "name": [
+ 1
+ ],
+ "description": [
+ 1
+ ],
+ "sourceComponentPath": [
+ 1
+ ],
+ "builtComponentPath": [
+ 1
+ ],
+ "componentName": [
+ 1
+ ],
+ "builtComponentChecksum": [
+ 1
+ ],
+ "universalIdentifier": [
+ 3
+ ],
+ "applicationId": [
+ 3
+ ],
+ "createdAt": [
+ 4
+ ],
+ "updatedAt": [
+ 4
+ ],
+ "isHeadless": [
+ 6
+ ],
+ "usesSdkClient": [
+ 6
+ ],
+ "applicationTokenPair": [
+ 33
+ ],
+ "__typename": [
+ 1
+ ]
+ },
"LogicFunction": {
"id": [
3
@@ -717,7 +786,7 @@ export default {
1
],
"type": [
- 35
+ 38
],
"name": [
1
@@ -732,7 +801,7 @@ export default {
1
],
"standardOverrides": [
- 33
+ 36
],
"isCustom": [
6
@@ -780,13 +849,13 @@ export default {
3
],
"relation": [
- 198
+ 201
],
"morphRelations": [
- 198
+ 201
],
"object": [
- 46
+ 49
],
"__typename": [
1
@@ -830,7 +899,7 @@ export default {
1
],
"indexType": [
- 38
+ 41
],
"createdAt": [
4
@@ -839,30 +908,30 @@ export default {
4
],
"indexFieldMetadataList": [
- 36
+ 39
],
"objectMetadata": [
- 206,
+ 209,
{
"paging": [
- 39,
+ 42,
"CursorPaging!"
],
"filter": [
- 41,
+ 44,
"ObjectFilter!"
]
}
],
"indexFieldMetadatas": [
- 204,
+ 207,
{
"paging": [
- 39,
+ 42,
"CursorPaging!"
],
"filter": [
- 44,
+ 47,
"IndexFieldFilter!"
]
}
@@ -874,10 +943,10 @@ export default {
"IndexType": {},
"CursorPaging": {
"before": [
- 40
+ 43
],
"after": [
- 40
+ 43
],
"first": [
21
@@ -892,31 +961,31 @@ export default {
"ConnectionCursor": {},
"ObjectFilter": {
"and": [
- 41
+ 44
],
"or": [
- 41
+ 44
],
"id": [
- 42
+ 45
],
"isCustom": [
- 43
+ 46
],
"isRemote": [
- 43
+ 46
],
"isActive": [
- 43
+ 46
],
"isSystem": [
- 43
+ 46
],
"isUIReadOnly": [
- 43
+ 46
],
"isSearchable": [
- 43
+ 46
],
"__typename": [
1
@@ -982,16 +1051,16 @@ export default {
},
"IndexFieldFilter": {
"and": [
- 44
+ 47
],
"or": [
- 44
+ 47
],
"id": [
- 42
+ 45
],
"fieldMetadataId": [
- 42
+ 45
],
"__typename": [
1
@@ -1046,7 +1115,7 @@ export default {
1
],
"standardOverrides": [
- 45
+ 48
],
"shortcut": [
1
@@ -1094,33 +1163,33 @@ export default {
1
],
"fieldsList": [
- 34
+ 37
],
"indexMetadataList": [
- 37
+ 40
],
"fields": [
- 211,
+ 214,
{
"paging": [
- 39,
+ 42,
"CursorPaging!"
],
"filter": [
- 47,
+ 50,
"FieldFilter!"
]
}
],
"indexMetadatas": [
- 209,
+ 212,
{
"paging": [
- 39,
+ 42,
"CursorPaging!"
],
"filter": [
- 48,
+ 51,
"IndexFilter!"
]
}
@@ -1131,28 +1200,28 @@ export default {
},
"FieldFilter": {
"and": [
- 47
+ 50
],
"or": [
- 47
+ 50
],
"id": [
- 42
+ 45
],
"isCustom": [
- 43
+ 46
],
"isActive": [
- 43
+ 46
],
"isSystem": [
- 43
+ 46
],
"isUIReadOnly": [
- 43
+ 46
],
"objectMetadataId": [
- 42
+ 45
],
"__typename": [
1
@@ -1160,16 +1229,16 @@ export default {
},
"IndexFilter": {
"and": [
- 48
+ 51
],
"or": [
- 48
+ 51
],
"id": [
- 42
+ 45
],
"isCustom": [
- 43
+ 46
],
"__typename": [
1
@@ -1224,11 +1293,14 @@ export default {
"agents": [
25
],
+ "frontComponents": [
+ 34
+ ],
"logicFunctions": [
- 32
+ 35
],
"objects": [
- 46
+ 49
],
"applicationVariables": [
31
@@ -1257,7 +1329,7 @@ export default {
11
],
"aggregateOperation": [
- 51
+ 54
],
"viewId": [
3
@@ -1296,7 +1368,7 @@ export default {
3
],
"logicalOperator": [
- 53
+ 56
],
"positionInViewFilterGroup": [
11
@@ -1329,7 +1401,7 @@ export default {
3
],
"operand": [
- 55
+ 58
],
"value": [
15
@@ -1403,7 +1475,7 @@ export default {
3
],
"direction": [
- 58
+ 61
],
"viewId": [
3
@@ -1457,7 +1529,7 @@ export default {
4
],
"viewFields": [
- 50
+ 53
],
"isOverridden": [
6
@@ -1477,10 +1549,10 @@ export default {
3
],
"type": [
- 61
+ 64
],
"key": [
- 62
+ 65
],
"icon": [
1
@@ -1495,10 +1567,10 @@ export default {
6
],
"openRecordIn": [
- 63
+ 66
],
"kanbanAggregateOperation": [
- 51
+ 54
],
"kanbanAggregateOperationFieldMetadataId": [
3
@@ -1519,7 +1591,7 @@ export default {
1
],
"calendarLayout": [
- 64
+ 67
],
"createdAt": [
4
@@ -1531,25 +1603,25 @@ export default {
4
],
"viewFields": [
- 50
+ 53
],
"viewFilters": [
- 54
+ 57
],
"viewFilterGroups": [
- 52
+ 55
],
"viewSorts": [
- 57
+ 60
],
"viewGroups": [
- 56
+ 59
],
"viewFieldGroups": [
- 59
+ 62
],
"visibility": [
- 65
+ 68
],
"createdByUserWorkspaceId": [
3
@@ -1604,25 +1676,25 @@ export default {
11
],
"activationStatus": [
- 67
+ 70
],
"views": [
- 60
+ 63
],
"viewFields": [
- 50
+ 53
],
"viewFilters": [
- 54
+ 57
],
"viewFilterGroups": [
- 52
+ 55
],
"viewGroups": [
- 56
+ 59
],
"viewSorts": [
- 57
+ 60
],
"metadataVersion": [
11
@@ -1685,19 +1757,19 @@ export default {
1
],
"workspaceCustomApplication": [
- 49
+ 52
],
"featureFlags": [
- 157
+ 160
],
"billingSubscriptions": [
- 135
+ 138
],
"currentBillingSubscription": [
- 135
+ 138
],
"billingEntitlements": [
- 213
+ 216
],
"hasValidEnterpriseKey": [
6
@@ -1709,7 +1781,7 @@ export default {
6
],
"workspaceUrls": [
- 159
+ 162
],
"workspaceCustomApplicationId": [
1
@@ -1786,22 +1858,22 @@ export default {
17
],
"onboardingStatus": [
- 70
+ 73
],
"currentWorkspace": [
- 66
+ 69
],
"currentUserWorkspace": [
17
],
"userVars": [
- 71
+ 74
],
"workspaceMembers": [
20
],
"deletedWorkspaceMembers": [
- 197
+ 200
],
"hasPassword": [
6
@@ -1813,7 +1885,7 @@ export default {
17
],
"availableWorkspaces": [
- 196
+ 199
],
"__typename": [
1
@@ -1874,19 +1946,19 @@ export default {
1
],
"type": [
- 76
+ 79
],
"objectMetadataId": [
3
],
"gridPosition": [
- 74
+ 77
],
"position": [
- 77
+ 80
],
"configuration": [
- 82
+ 85
],
"conditionalDisplay": [
15
@@ -1916,13 +1988,13 @@ export default {
"WidgetType": {},
"PageLayoutWidgetPosition": {
"on_PageLayoutWidgetGridPosition": [
- 78
+ 81
],
"on_PageLayoutWidgetVerticalListPosition": [
- 80
+ 83
],
"on_PageLayoutWidgetCanvasPosition": [
- 81
+ 84
],
"__typename": [
1
@@ -1930,7 +2002,7 @@ export default {
},
"PageLayoutWidgetGridPosition": {
"layoutMode": [
- 79
+ 82
],
"row": [
21
@@ -1951,7 +2023,7 @@ export default {
"PageLayoutTabLayoutMode": {},
"PageLayoutWidgetVerticalListPosition": {
"layoutMode": [
- 79
+ 82
],
"index": [
21
@@ -1962,7 +2034,7 @@ export default {
},
"PageLayoutWidgetCanvasPosition": {
"layoutMode": [
- 79
+ 82
],
"__typename": [
1
@@ -1970,73 +2042,73 @@ export default {
},
"WidgetConfiguration": {
"on_AggregateChartConfiguration": [
- 83
+ 86
],
"on_StandaloneRichTextConfiguration": [
- 85
+ 88
],
"on_PieChartConfiguration": [
- 86
+ 89
],
"on_LineChartConfiguration": [
- 89
+ 92
],
"on_IframeConfiguration": [
- 91
+ 94
],
"on_GaugeChartConfiguration": [
- 92
+ 95
],
"on_BarChartConfiguration": [
- 93
+ 96
],
"on_CalendarConfiguration": [
- 96
+ 99
],
"on_FrontComponentConfiguration": [
- 97
+ 100
],
"on_EmailsConfiguration": [
- 98
+ 101
],
"on_EmailThreadConfiguration": [
- 99
+ 102
],
"on_FieldConfiguration": [
- 100
+ 103
],
"on_FieldRichTextConfiguration": [
- 102
+ 105
],
"on_FieldsConfiguration": [
- 103
+ 106
],
"on_FilesConfiguration": [
- 104
+ 107
],
"on_NotesConfiguration": [
- 105
+ 108
],
"on_TasksConfiguration": [
- 106
+ 109
],
"on_TimelineConfiguration": [
- 107
+ 110
],
"on_ViewConfiguration": [
- 108
+ 111
],
"on_RecordTableConfiguration": [
- 109
+ 112
],
"on_WorkflowConfiguration": [
- 110
+ 113
],
"on_WorkflowRunConfiguration": [
- 111
+ 114
],
"on_WorkflowVersionConfiguration": [
- 112
+ 115
],
"__typename": [
1
@@ -2044,13 +2116,13 @@ export default {
},
"AggregateChartConfiguration": {
"configurationType": [
- 84
+ 87
],
"aggregateFieldMetadataId": [
3
],
"aggregateOperation": [
- 51
+ 54
],
"label": [
1
@@ -2080,7 +2152,7 @@ export default {
1
],
"ratioAggregateConfig": [
- 72
+ 75
],
"__typename": [
1
@@ -2089,10 +2161,10 @@ export default {
"WidgetConfigurationType": {},
"StandaloneRichTextConfiguration": {
"configurationType": [
- 84
+ 87
],
"body": [
- 73
+ 76
],
"__typename": [
1
@@ -2100,13 +2172,13 @@ export default {
},
"PieChartConfiguration": {
"configurationType": [
- 84
+ 87
],
"aggregateFieldMetadataId": [
3
],
"aggregateOperation": [
- 51
+ 54
],
"groupByFieldMetadataId": [
3
@@ -2115,10 +2187,10 @@ export default {
1
],
"dateGranularity": [
- 87
+ 90
],
"orderBy": [
- 88
+ 91
],
"manualSortOrder": [
1
@@ -2161,13 +2233,13 @@ export default {
"GraphOrderBy": {},
"LineChartConfiguration": {
"configurationType": [
- 84
+ 87
],
"aggregateFieldMetadataId": [
3
],
"aggregateOperation": [
- 51
+ 54
],
"primaryAxisGroupByFieldMetadataId": [
3
@@ -2176,10 +2248,10 @@ export default {
1
],
"primaryAxisDateGranularity": [
- 87
+ 90
],
"primaryAxisOrderBy": [
- 88
+ 91
],
"primaryAxisManualSortOrder": [
1
@@ -2191,10 +2263,10 @@ export default {
1
],
"secondaryAxisGroupByDateGranularity": [
- 87
+ 90
],
"secondaryAxisOrderBy": [
- 88
+ 91
],
"secondaryAxisManualSortOrder": [
1
@@ -2206,7 +2278,7 @@ export default {
6
],
"axisNameDisplay": [
- 90
+ 93
],
"displayDataLabel": [
6
@@ -2248,7 +2320,7 @@ export default {
"AxisNameDisplay": {},
"IframeConfiguration": {
"configurationType": [
- 84
+ 87
],
"url": [
1
@@ -2259,13 +2331,13 @@ export default {
},
"GaugeChartConfiguration": {
"configurationType": [
- 84
+ 87
],
"aggregateFieldMetadataId": [
3
],
"aggregateOperation": [
- 51
+ 54
],
"displayDataLabel": [
6
@@ -2291,13 +2363,13 @@ export default {
},
"BarChartConfiguration": {
"configurationType": [
- 84
+ 87
],
"aggregateFieldMetadataId": [
3
],
"aggregateOperation": [
- 51
+ 54
],
"primaryAxisGroupByFieldMetadataId": [
3
@@ -2306,10 +2378,10 @@ export default {
1
],
"primaryAxisDateGranularity": [
- 87
+ 90
],
"primaryAxisOrderBy": [
- 88
+ 91
],
"primaryAxisManualSortOrder": [
1
@@ -2321,10 +2393,10 @@ export default {
1
],
"secondaryAxisGroupByDateGranularity": [
- 87
+ 90
],
"secondaryAxisOrderBy": [
- 88
+ 91
],
"secondaryAxisManualSortOrder": [
1
@@ -2336,7 +2408,7 @@ export default {
6
],
"axisNameDisplay": [
- 90
+ 93
],
"displayDataLabel": [
6
@@ -2360,10 +2432,10 @@ export default {
15
],
"groupMode": [
- 94
+ 97
],
"layout": [
- 95
+ 98
],
"isCumulative": [
6
@@ -2382,7 +2454,7 @@ export default {
"BarChartLayout": {},
"CalendarConfiguration": {
"configurationType": [
- 84
+ 87
],
"__typename": [
1
@@ -2390,7 +2462,7 @@ export default {
},
"FrontComponentConfiguration": {
"configurationType": [
- 84
+ 87
],
"frontComponentId": [
3
@@ -2401,7 +2473,7 @@ export default {
},
"EmailsConfiguration": {
"configurationType": [
- 84
+ 87
],
"__typename": [
1
@@ -2409,7 +2481,7 @@ export default {
},
"EmailThreadConfiguration": {
"configurationType": [
- 84
+ 87
],
"__typename": [
1
@@ -2417,13 +2489,13 @@ export default {
},
"FieldConfiguration": {
"configurationType": [
- 84
+ 87
],
"fieldMetadataId": [
1
],
"fieldDisplayMode": [
- 101
+ 104
],
"__typename": [
1
@@ -2432,7 +2504,7 @@ export default {
"FieldDisplayMode": {},
"FieldRichTextConfiguration": {
"configurationType": [
- 84
+ 87
],
"__typename": [
1
@@ -2440,7 +2512,7 @@ export default {
},
"FieldsConfiguration": {
"configurationType": [
- 84
+ 87
],
"viewId": [
1
@@ -2457,7 +2529,7 @@ export default {
},
"FilesConfiguration": {
"configurationType": [
- 84
+ 87
],
"__typename": [
1
@@ -2465,7 +2537,7 @@ export default {
},
"NotesConfiguration": {
"configurationType": [
- 84
+ 87
],
"__typename": [
1
@@ -2473,7 +2545,7 @@ export default {
},
"TasksConfiguration": {
"configurationType": [
- 84
+ 87
],
"__typename": [
1
@@ -2481,7 +2553,7 @@ export default {
},
"TimelineConfiguration": {
"configurationType": [
- 84
+ 87
],
"__typename": [
1
@@ -2489,7 +2561,7 @@ export default {
},
"ViewConfiguration": {
"configurationType": [
- 84
+ 87
],
"__typename": [
1
@@ -2497,7 +2569,7 @@ export default {
},
"RecordTableConfiguration": {
"configurationType": [
- 84
+ 87
],
"viewId": [
1
@@ -2508,7 +2580,7 @@ export default {
},
"WorkflowConfiguration": {
"configurationType": [
- 84
+ 87
],
"__typename": [
1
@@ -2516,7 +2588,7 @@ export default {
},
"WorkflowRunConfiguration": {
"configurationType": [
- 84
+ 87
],
"__typename": [
1
@@ -2524,7 +2596,7 @@ export default {
},
"WorkflowVersionConfiguration": {
"configurationType": [
- 84
+ 87
],
"__typename": [
1
@@ -2547,13 +2619,13 @@ export default {
3
],
"widgets": [
- 75
+ 78
],
"icon": [
1
],
"layoutMode": [
- 79
+ 82
],
"createdAt": [
4
@@ -2582,13 +2654,13 @@ export default {
1
],
"type": [
- 115
+ 118
],
"objectMetadataId": [
3
],
"tabs": [
- 113
+ 116
],
"defaultTabToFocusOnMobileAndSidePanelId": [
3
@@ -2711,7 +2783,7 @@ export default {
11
],
"items": [
- 121
+ 124
],
"__typename": [
1
@@ -2719,13 +2791,13 @@ export default {
},
"BillingProductMetadata": {
"planKey": [
- 124
+ 127
],
"priceUsageBased": [
- 125
+ 128
],
"productKey": [
- 126
+ 129
],
"__typename": [
1
@@ -2736,7 +2808,7 @@ export default {
"BillingProductKey": {},
"BillingPriceLicensed": {
"recurringInterval": [
- 128
+ 131
],
"unitAmount": [
11
@@ -2745,7 +2817,7 @@ export default {
1
],
"priceUsageType": [
- 125
+ 128
],
"__typename": [
1
@@ -2768,16 +2840,16 @@ export default {
},
"BillingPriceMetered": {
"tiers": [
- 129
+ 132
],
"recurringInterval": [
- 128
+ 131
],
"stripePriceId": [
1
],
"priceUsageType": [
- 125
+ 128
],
"__typename": [
1
@@ -2794,7 +2866,7 @@ export default {
1
],
"metadata": [
- 123
+ 126
],
"__typename": [
1
@@ -2811,10 +2883,10 @@ export default {
1
],
"metadata": [
- 123
+ 126
],
"prices": [
- 127
+ 130
],
"__typename": [
1
@@ -2831,10 +2903,10 @@ export default {
1
],
"metadata": [
- 123
+ 126
],
"prices": [
- 130
+ 133
],
"__typename": [
1
@@ -2865,13 +2937,13 @@ export default {
3
],
"status": [
- 136
+ 139
],
"interval": [
- 128
+ 131
],
"billingSubscriptionItems": [
- 134
+ 137
],
"currentPeriodEnd": [
4
@@ -2880,7 +2952,7 @@ export default {
15
],
"phases": [
- 122
+ 125
],
"__typename": [
1
@@ -2889,7 +2961,7 @@ export default {
"SubscriptionStatus": {},
"BillingEndTrialPeriod": {
"status": [
- 136
+ 139
],
"hasPaymentMethod": [
6
@@ -2903,7 +2975,7 @@ export default {
},
"BillingMeteredProductUsage": {
"productKey": [
- 126
+ 129
],
"periodStart": [
4
@@ -2932,13 +3004,13 @@ export default {
},
"BillingPlan": {
"planKey": [
- 124
+ 127
],
"licensedProducts": [
- 132
+ 135
],
"meteredProducts": [
- 133
+ 136
],
"__typename": [
1
@@ -2954,10 +3026,10 @@ export default {
},
"BillingUpdate": {
"currentBillingSubscription": [
- 135
+ 138
],
"billingSubscriptions": [
- 135
+ 138
],
"__typename": [
1
@@ -2996,7 +3068,7 @@ export default {
1
],
"result": [
- 143
+ 146
],
"__typename": [
1
@@ -3033,7 +3105,7 @@ export default {
3
],
"type": [
- 147
+ 150
],
"name": [
1
@@ -3066,7 +3138,7 @@ export default {
4
],
"targetRecordIdentifier": [
- 145
+ 148
],
"__typename": [
1
@@ -3092,7 +3164,7 @@ export default {
},
"MetadataEvent": {
"type": [
- 150
+ 153
],
"metadataName": [
1
@@ -3101,7 +3173,7 @@ export default {
1
],
"properties": [
- 148
+ 151
],
"updatedCollectionHash": [
1
@@ -3113,7 +3185,7 @@ export default {
"MetadataEventAction": {},
"ObjectRecordEvent": {
"action": [
- 152
+ 155
],
"objectNameSingular": [
1
@@ -3128,7 +3200,7 @@ export default {
1
],
"properties": [
- 148
+ 151
],
"__typename": [
1
@@ -3140,7 +3212,7 @@ export default {
1
],
"objectRecordEvent": [
- 151
+ 154
],
"__typename": [
1
@@ -3151,10 +3223,10 @@ export default {
1
],
"objectRecordEventsWithQueryIds": [
- 153
+ 156
],
"metadataEvents": [
- 149
+ 152
],
"__typename": [
1
@@ -3171,7 +3243,7 @@ export default {
11
],
"status": [
- 156
+ 159
],
"error": [
15
@@ -3183,7 +3255,7 @@ export default {
"LogicFunctionExecutionStatus": {},
"FeatureFlag": {
"key": [
- 158
+ 161
],
"value": [
6
@@ -3223,10 +3295,10 @@ export default {
1
],
"type": [
- 162
+ 165
],
"status": [
- 163
+ 166
],
"issuer": [
1
@@ -3239,7 +3311,7 @@ export default {
"SSOIdentityProviderStatus": {},
"AuthProviders": {
"sso": [
- 161
+ 164
],
"google": [
6
@@ -3276,10 +3348,10 @@ export default {
3
],
"authProviders": [
- 164
+ 167
],
"authBypassProviders": [
- 165
+ 168
],
"logo": [
1
@@ -3288,7 +3360,7 @@ export default {
1
],
"workspaceUrls": [
- 159
+ 162
],
"__typename": [
1
@@ -3327,7 +3399,7 @@ export default {
1
],
"modelFamily": [
- 170
+ 173
],
"modelFamilyLabel": [
1
@@ -3342,7 +3414,7 @@ export default {
11
],
"nativeCapabilities": [
- 168
+ 171
],
"isDeprecated": [
6
@@ -3378,7 +3450,7 @@ export default {
1
],
"trialPeriods": [
- 160
+ 163
],
"__typename": [
1
@@ -3386,7 +3458,7 @@ export default {
},
"Support": {
"supportDriver": [
- 173
+ 176
],
"supportFrontChatId": [
1
@@ -3412,7 +3484,7 @@ export default {
},
"Captcha": {
"provider": [
- 176
+ 179
],
"siteKey": [
1
@@ -3446,10 +3518,10 @@ export default {
},
"PublicFeatureFlag": {
"key": [
- 158
+ 161
],
"metadata": [
- 178
+ 181
],
"__typename": [
1
@@ -3474,13 +3546,13 @@ export default {
1
],
"authProviders": [
- 164
+ 167
],
"billing": [
- 171
+ 174
],
"aiModels": [
- 169
+ 172
],
"signInPrefilled": [
6
@@ -3501,25 +3573,25 @@ export default {
6
],
"support": [
- 172
+ 175
],
"isAttachmentPreviewEnabled": [
6
],
"sentry": [
- 174
+ 177
],
"captcha": [
- 175
+ 178
],
"api": [
- 177
+ 180
],
"canManageFeatureFlags": [
6
],
"publicFeatureFlags": [
- 179
+ 182
],
"isMicrosoftMessagingEnabled": [
6
@@ -3555,7 +3627,7 @@ export default {
6
],
"maintenance": [
- 180
+ 183
],
"__typename": [
1
@@ -3594,7 +3666,7 @@ export default {
1
],
"versionDistribution": [
- 183
+ 186
],
"__typename": [
1
@@ -3660,7 +3732,7 @@ export default {
3
],
"type": [
- 162
+ 165
],
"issuer": [
1
@@ -3669,7 +3741,7 @@ export default {
1
],
"status": [
- 163
+ 166
],
"__typename": [
1
@@ -3688,7 +3760,7 @@ export default {
},
"FindAvailableSSOIDP": {
"type": [
- 162
+ 165
],
"id": [
3
@@ -3700,10 +3772,10 @@ export default {
1
],
"status": [
- 163
+ 166
],
"workspace": [
- 191
+ 194
],
"__typename": [
1
@@ -3714,7 +3786,7 @@ export default {
3
],
"type": [
- 162
+ 165
],
"issuer": [
1
@@ -3723,7 +3795,7 @@ export default {
1
],
"status": [
- 163
+ 166
],
"__typename": [
1
@@ -3731,7 +3803,7 @@ export default {
},
"SSOConnection": {
"type": [
- 162
+ 165
],
"id": [
3
@@ -3743,7 +3815,7 @@ export default {
1
],
"status": [
- 163
+ 166
],
"__typename": [
1
@@ -3766,13 +3838,13 @@ export default {
1
],
"workspaceUrls": [
- 159
+ 162
],
"logo": [
1
],
"sso": [
- 194
+ 197
],
"__typename": [
1
@@ -3780,10 +3852,10 @@ export default {
},
"AvailableWorkspaces": {
"availableWorkspacesForSignIn": [
- 195
+ 198
],
"availableWorkspacesForSignUp": [
- 195
+ 198
],
"__typename": [
1
@@ -3811,19 +3883,19 @@ export default {
},
"Relation": {
"type": [
- 199
+ 202
],
"sourceObjectMetadata": [
- 46
+ 49
],
"targetObjectMetadata": [
- 46
+ 49
],
"sourceFieldMetadata": [
- 34
+ 37
],
"targetFieldMetadata": [
- 34
+ 37
],
"__typename": [
1
@@ -3832,10 +3904,10 @@ export default {
"RelationType": {},
"IndexEdge": {
"node": [
- 37
+ 40
],
"cursor": [
- 40
+ 43
],
"__typename": [
1
@@ -3849,10 +3921,10 @@ export default {
6
],
"startCursor": [
- 40
+ 43
],
"endCursor": [
- 40
+ 43
],
"__typename": [
1
@@ -3860,10 +3932,10 @@ export default {
},
"IndexConnection": {
"pageInfo": [
- 201
+ 204
],
"edges": [
- 200
+ 203
],
"__typename": [
1
@@ -3871,10 +3943,10 @@ export default {
},
"IndexFieldEdge": {
"node": [
- 36
+ 39
],
"cursor": [
- 40
+ 43
],
"__typename": [
1
@@ -3882,10 +3954,10 @@ export default {
},
"IndexIndexFieldMetadatasConnection": {
"pageInfo": [
- 201
+ 204
],
"edges": [
- 203
+ 206
],
"__typename": [
1
@@ -3893,10 +3965,10 @@ export default {
},
"ObjectEdge": {
"node": [
- 46
+ 49
],
"cursor": [
- 40
+ 43
],
"__typename": [
1
@@ -3904,10 +3976,10 @@ export default {
},
"IndexObjectMetadataConnection": {
"pageInfo": [
- 201
+ 204
],
"edges": [
- 205
+ 208
],
"__typename": [
1
@@ -3926,10 +3998,10 @@ export default {
},
"ObjectConnection": {
"pageInfo": [
- 201
+ 204
],
"edges": [
- 205
+ 208
],
"__typename": [
1
@@ -3937,10 +4009,10 @@ export default {
},
"ObjectIndexMetadatasConnection": {
"pageInfo": [
- 201
+ 204
],
"edges": [
- 200
+ 203
],
"__typename": [
1
@@ -3948,10 +4020,10 @@ export default {
},
"FieldEdge": {
"node": [
- 34
+ 37
],
"cursor": [
- 40
+ 43
],
"__typename": [
1
@@ -3959,10 +4031,10 @@ export default {
},
"ObjectFieldsConnection": {
"pageInfo": [
- 201
+ 204
],
"edges": [
- 210
+ 213
],
"__typename": [
1
@@ -3970,10 +4042,10 @@ export default {
},
"FieldConnection": {
"pageInfo": [
- 201
+ 204
],
"edges": [
- 210
+ 213
],
"__typename": [
1
@@ -3981,7 +4053,7 @@ export default {
},
"BillingEntitlement": {
"key": [
- 214
+ 217
],
"value": [
6
@@ -4011,95 +4083,26 @@ export default {
1
]
},
- "DomainValidRecords": {
- "id": [
- 3
- ],
- "domain": [
- 1
- ],
- "records": [
- 215
- ],
- "__typename": [
- 1
- ]
- },
- "UpsertRowLevelPermissionPredicatesResult": {
- "predicates": [
- 13
- ],
- "predicateGroups": [
- 10
- ],
- "__typename": [
- 1
- ]
- },
- "AuthToken": {
- "token": [
- 1
- ],
- "expiresAt": [
- 4
- ],
- "__typename": [
- 1
- ]
- },
- "ApplicationTokenPair": {
- "applicationAccessToken": [
- 218
- ],
- "applicationRefreshToken": [
- 218
- ],
- "__typename": [
- 1
- ]
- },
- "FrontComponent": {
- "id": [
- 3
- ],
- "name": [
- 1
- ],
- "description": [
- 1
- ],
- "sourceComponentPath": [
- 1
- ],
- "builtComponentPath": [
- 1
- ],
- "componentName": [
- 1
- ],
- "builtComponentChecksum": [
- 1
- ],
- "universalIdentifier": [
- 3
- ],
- "applicationId": [
+ "DomainValidRecords": {
+ "id": [
3
],
- "createdAt": [
- 4
- ],
- "updatedAt": [
- 4
+ "domain": [
+ 1
],
- "isHeadless": [
- 6
+ "records": [
+ 218
],
- "usesSdkClient": [
- 6
+ "__typename": [
+ 1
+ ]
+ },
+ "UpsertRowLevelPermissionPredicatesResult": {
+ "predicates": [
+ 13
],
- "applicationTokenPair": [
- 219
+ "predicateGroups": [
+ 10
],
"__typename": [
1
@@ -4147,10 +4150,10 @@ export default {
},
"AuthTokenPair": {
"accessOrWorkspaceAgnosticToken": [
- 218
+ 32
],
"refreshToken": [
- 218
+ 32
],
"__typename": [
1
@@ -4161,7 +4164,7 @@ export default {
226
],
"availableWorkspaces": [
- 196
+ 199
],
"__typename": [
1
@@ -4199,7 +4202,7 @@ export default {
},
"WorkspaceUrlsAndId": {
"workspaceUrls": [
- 159
+ 162
],
"id": [
3
@@ -4210,7 +4213,7 @@ export default {
},
"SignUp": {
"loginToken": [
- 218
+ 32
],
"workspace": [
231
@@ -4221,7 +4224,7 @@ export default {
},
"TransientToken": {
"transientToken": [
- 218
+ 32
],
"__typename": [
1
@@ -4243,10 +4246,10 @@ export default {
},
"VerifyEmailAndGetLoginToken": {
"loginToken": [
- 218
+ 32
],
"workspaceUrls": [
- 159
+ 162
],
"__typename": [
1
@@ -4270,7 +4273,7 @@ export default {
},
"LoginToken": {
"loginToken": [
- 218
+ 32
],
"__typename": [
1
@@ -4300,7 +4303,7 @@ export default {
},
"Impersonate": {
"loginToken": [
- 218
+ 32
],
"workspace": [
231
@@ -4333,13 +4336,13 @@ export default {
},
"UsageAnalytics": {
"usageByUser": [
- 182
+ 185
],
"usageByOperationType": [
- 182
+ 185
],
"usageByModel": [
- 182
+ 185
],
"timeSeries": [
242
@@ -4663,7 +4666,7 @@ export default {
3
],
"frontComponent": [
- 220
+ 34
],
"engineComponentKey": [
264
@@ -4894,10 +4897,10 @@ export default {
6
],
"layout": [
- 95
+ 98
],
"groupMode": [
- 94
+ 97
],
"hasTooManyGroups": [
6
@@ -5363,7 +5366,7 @@ export default {
289
],
"cursor": [
- 40
+ 43
],
"__typename": [
1
@@ -5371,7 +5374,7 @@ export default {
},
"AgentChatThreadConnection": {
"pageInfo": [
- 201
+ 204
],
"edges": [
296
@@ -5637,10 +5640,10 @@ export default {
3
],
"type": [
- 61
+ 64
],
"key": [
- 62
+ 65
],
"objectMetadataId": [
3
@@ -5697,10 +5700,10 @@ export default {
},
"Query": {
"navigationMenuItems": [
- 146
+ 149
],
"navigationMenuItem": [
- 146,
+ 149,
{
"id": [
3,
@@ -5709,7 +5712,7 @@ export default {
}
],
"getViewFilterGroups": [
- 52,
+ 55,
{
"viewId": [
1
@@ -5717,7 +5720,7 @@ export default {
}
],
"getViewFilterGroup": [
- 52,
+ 55,
{
"id": [
1,
@@ -5726,7 +5729,7 @@ export default {
}
],
"getViewFilters": [
- 54,
+ 57,
{
"viewId": [
1
@@ -5734,7 +5737,7 @@ export default {
}
],
"getViewFilter": [
- 54,
+ 57,
{
"id": [
1,
@@ -5743,19 +5746,19 @@ export default {
}
],
"getViews": [
- 60,
+ 63,
{
"objectMetadataId": [
1
],
"viewTypes": [
- 61,
+ 64,
"[ViewType!]"
]
}
],
"getView": [
- 60,
+ 63,
{
"id": [
1,
@@ -5764,7 +5767,7 @@ export default {
}
],
"getViewSorts": [
- 57,
+ 60,
{
"viewId": [
1
@@ -5772,7 +5775,7 @@ export default {
}
],
"getViewSort": [
- 57,
+ 60,
{
"id": [
1,
@@ -5781,7 +5784,7 @@ export default {
}
],
"getViewFields": [
- 50,
+ 53,
{
"viewId": [
1,
@@ -5790,7 +5793,7 @@ export default {
}
],
"getViewField": [
- 50,
+ 53,
{
"id": [
1,
@@ -5799,7 +5802,7 @@ export default {
}
],
"getViewFieldGroups": [
- 59,
+ 62,
{
"viewId": [
1,
@@ -5808,7 +5811,7 @@ export default {
}
],
"getViewFieldGroup": [
- 59,
+ 62,
{
"id": [
1,
@@ -5845,10 +5848,10 @@ export default {
}
],
"enterpriseSubscriptionStatus": [
- 120
+ 123
],
"billingPortalSession": [
- 140,
+ 143,
{
"returnUrlPath": [
1
@@ -5856,19 +5859,19 @@ export default {
}
],
"listPlans": [
- 139
+ 142
],
"getMeteredProductsUsage": [
- 138
+ 141
],
"findWorkspaceInvitations": [
- 143
+ 146
],
"getApprovedAccessDomains": [
- 117
+ 120
],
"getPageLayoutTabs": [
- 113,
+ 116,
{
"pageLayoutId": [
1,
@@ -5877,7 +5880,7 @@ export default {
}
],
"getPageLayoutTab": [
- 113,
+ 116,
{
"id": [
1,
@@ -5886,18 +5889,18 @@ export default {
}
],
"getPageLayouts": [
- 114,
+ 117,
{
"objectMetadataId": [
1
],
"pageLayoutType": [
- 115
+ 118
]
}
],
"getPageLayout": [
- 114,
+ 117,
{
"id": [
1,
@@ -5906,7 +5909,7 @@ export default {
}
],
"getPageLayoutWidgets": [
- 75,
+ 78,
{
"pageLayoutTabId": [
1,
@@ -5915,7 +5918,7 @@ export default {
}
],
"getPageLayoutWidget": [
- 75,
+ 78,
{
"id": [
1,
@@ -5924,7 +5927,7 @@ export default {
}
],
"findOneLogicFunction": [
- 32,
+ 35,
{
"input": [
323,
@@ -5933,7 +5936,7 @@ export default {
}
],
"findManyLogicFunctions": [
- 32
+ 35
],
"getAvailablePackages": [
15,
@@ -5966,10 +5969,10 @@ export default {
}
],
"frontComponents": [
- 220
+ 34
],
"frontComponent": [
- 220,
+ 34,
{
"id": [
3,
@@ -5978,10 +5981,10 @@ export default {
}
],
"objectRecordCounts": [
- 207
+ 210
],
"object": [
- 46,
+ 49,
{
"id": [
3,
@@ -5990,20 +5993,20 @@ export default {
}
],
"objects": [
- 208,
+ 211,
{
"paging": [
- 39,
+ 42,
"CursorPaging!"
],
"filter": [
- 41,
+ 44,
"ObjectFilter!"
]
}
],
"index": [
- 37,
+ 40,
{
"id": [
3,
@@ -6012,14 +6015,14 @@ export default {
}
],
"indexMetadatas": [
- 202,
+ 205,
{
"paging": [
- 39,
+ 42,
"CursorPaging!"
],
"filter": [
- 48,
+ 51,
"IndexFilter!"
]
}
@@ -6052,7 +6055,7 @@ export default {
}
],
"field": [
- 34,
+ 37,
{
"id": [
3,
@@ -6061,20 +6064,20 @@ export default {
}
],
"fields": [
- 212,
+ 215,
{
"paging": [
- 39,
+ 42,
"CursorPaging!"
],
"filter": [
- 47,
+ 50,
"FieldFilter!"
]
}
],
"getViewGroups": [
- 56,
+ 59,
{
"viewId": [
1
@@ -6082,7 +6085,7 @@ export default {
}
],
"getViewGroup": [
- 56,
+ 59,
{
"id": [
1,
@@ -6190,7 +6193,7 @@ export default {
297,
{
"paging": [
- 39,
+ 42,
"CursorPaging!"
],
"filter": [
@@ -6270,7 +6273,7 @@ export default {
}
],
"findWorkspaceFromInviteHash": [
- 66,
+ 69,
{
"inviteHash": [
1,
@@ -6288,7 +6291,7 @@ export default {
}
],
"findApplicationRegistrationByClientId": [
- 186,
+ 189,
{
"clientId": [
1,
@@ -6318,7 +6321,7 @@ export default {
}
],
"findApplicationRegistrationStats": [
- 184,
+ 187,
{
"id": [
1,
@@ -6345,13 +6348,13 @@ export default {
}
],
"currentUser": [
- 69
+ 72
],
"currentWorkspace": [
- 66
+ 69
],
"getPublicWorkspaceDataByDomain": [
- 166,
+ 169,
{
"origin": [
1
@@ -6359,7 +6362,7 @@ export default {
}
],
"getPublicWorkspaceDataById": [
- 167,
+ 170,
{
"id": [
3,
@@ -6368,7 +6371,7 @@ export default {
}
],
"getSSOIdentityProviders": [
- 192
+ 195
],
"getConnectedImapSmtpCaldavAccount": [
260,
@@ -6441,10 +6444,10 @@ export default {
}
],
"findManyApplications": [
- 49
+ 52
],
"findOneApplication": [
- 49,
+ 52,
{
"id": [
3
@@ -6491,7 +6494,7 @@ export default {
326
],
"id": [
- 42
+ 45
],
"updatedAt": [
327
@@ -6689,7 +6692,7 @@ export default {
}
],
"createManyNavigationMenuItems": [
- 146,
+ 149,
{
"inputs": [
345,
@@ -6698,7 +6701,7 @@ export default {
}
],
"createNavigationMenuItem": [
- 146,
+ 149,
{
"input": [
345,
@@ -6707,7 +6710,7 @@ export default {
}
],
"updateManyNavigationMenuItems": [
- 146,
+ 149,
{
"inputs": [
346,
@@ -6716,7 +6719,7 @@ export default {
}
],
"updateNavigationMenuItem": [
- 146,
+ 149,
{
"input": [
346,
@@ -6725,7 +6728,7 @@ export default {
}
],
"deleteManyNavigationMenuItems": [
- 146,
+ 149,
{
"ids": [
3,
@@ -6734,7 +6737,7 @@ export default {
}
],
"deleteNavigationMenuItem": [
- 146,
+ 149,
{
"id": [
3,
@@ -6743,7 +6746,7 @@ export default {
}
],
"uploadEmailAttachmentFile": [
- 118,
+ 121,
{
"file": [
348,
@@ -6752,7 +6755,7 @@ export default {
}
],
"uploadAiChatFile": [
- 118,
+ 121,
{
"file": [
348,
@@ -6761,7 +6764,7 @@ export default {
}
],
"uploadWorkflowFile": [
- 118,
+ 121,
{
"file": [
348,
@@ -6770,7 +6773,7 @@ export default {
}
],
"uploadWorkspaceLogo": [
- 118,
+ 121,
{
"file": [
348,
@@ -6779,7 +6782,7 @@ export default {
}
],
"uploadWorkspaceMemberProfilePicture": [
- 118,
+ 121,
{
"file": [
348,
@@ -6788,7 +6791,7 @@ export default {
}
],
"uploadFilesFieldFile": [
- 118,
+ 121,
{
"file": [
348,
@@ -6801,7 +6804,7 @@ export default {
}
],
"uploadFilesFieldFileByUniversalIdentifier": [
- 118,
+ 121,
{
"file": [
348,
@@ -6814,7 +6817,7 @@ export default {
}
],
"createViewFilterGroup": [
- 52,
+ 55,
{
"input": [
349,
@@ -6823,7 +6826,7 @@ export default {
}
],
"updateViewFilterGroup": [
- 52,
+ 55,
{
"id": [
1,
@@ -6854,7 +6857,7 @@ export default {
}
],
"createViewFilter": [
- 54,
+ 57,
{
"input": [
351,
@@ -6863,7 +6866,7 @@ export default {
}
],
"updateViewFilter": [
- 54,
+ 57,
{
"input": [
352,
@@ -6872,7 +6875,7 @@ export default {
}
],
"deleteViewFilter": [
- 54,
+ 57,
{
"input": [
354,
@@ -6881,7 +6884,7 @@ export default {
}
],
"destroyViewFilter": [
- 54,
+ 57,
{
"input": [
355,
@@ -6890,7 +6893,7 @@ export default {
}
],
"createView": [
- 60,
+ 63,
{
"input": [
356,
@@ -6899,7 +6902,7 @@ export default {
}
],
"updateView": [
- 60,
+ 63,
{
"id": [
1,
@@ -6930,7 +6933,7 @@ export default {
}
],
"createViewSort": [
- 57,
+ 60,
{
"input": [
358,
@@ -6939,7 +6942,7 @@ export default {
}
],
"updateViewSort": [
- 57,
+ 60,
{
"input": [
359,
@@ -6966,7 +6969,7 @@ export default {
}
],
"updateViewField": [
- 50,
+ 53,
{
"input": [
363,
@@ -6975,7 +6978,7 @@ export default {
}
],
"createViewField": [
- 50,
+ 53,
{
"input": [
365,
@@ -6984,7 +6987,7 @@ export default {
}
],
"createManyViewFields": [
- 50,
+ 53,
{
"inputs": [
365,
@@ -6993,7 +6996,7 @@ export default {
}
],
"deleteViewField": [
- 50,
+ 53,
{
"input": [
366,
@@ -7002,7 +7005,7 @@ export default {
}
],
"destroyViewField": [
- 50,
+ 53,
{
"input": [
367,
@@ -7011,7 +7014,7 @@ export default {
}
],
"updateViewFieldGroup": [
- 59,
+ 62,
{
"input": [
368,
@@ -7020,7 +7023,7 @@ export default {
}
],
"createViewFieldGroup": [
- 59,
+ 62,
{
"input": [
370,
@@ -7029,7 +7032,7 @@ export default {
}
],
"createManyViewFieldGroups": [
- 59,
+ 62,
{
"inputs": [
370,
@@ -7038,7 +7041,7 @@ export default {
}
],
"deleteViewFieldGroup": [
- 59,
+ 62,
{
"input": [
371,
@@ -7047,7 +7050,7 @@ export default {
}
],
"destroyViewFieldGroup": [
- 59,
+ 62,
{
"input": [
372,
@@ -7056,7 +7059,7 @@ export default {
}
],
"upsertFieldsWidget": [
- 60,
+ 63,
{
"input": [
373,
@@ -7105,7 +7108,7 @@ export default {
}
],
"createObjectEvent": [
- 116,
+ 119,
{
"event": [
1,
@@ -7125,7 +7128,7 @@ export default {
}
],
"trackAnalytics": [
- 116,
+ 119,
{
"type": [
379,
@@ -7146,7 +7149,7 @@ export default {
6
],
"setEnterpriseKey": [
- 119,
+ 122,
{
"enterpriseKey": [
1,
@@ -7155,20 +7158,20 @@ export default {
}
],
"skipSyncEmailOnboardingStep": [
- 142
+ 145
],
"skipBookOnboardingStep": [
- 142
+ 145
],
"checkoutSession": [
- 140,
+ 143,
{
"recurringInterval": [
- 128,
+ 131,
"SubscriptionInterval!"
],
"plan": [
- 124,
+ 127,
"BillingPlanKey!"
],
"requirePaymentMethod": [
@@ -7181,19 +7184,19 @@ export default {
}
],
"switchSubscriptionInterval": [
- 141
+ 144
],
"switchBillingPlan": [
- 141
+ 144
],
"cancelSwitchBillingPlan": [
- 141
+ 144
],
"cancelSwitchBillingInterval": [
- 141
+ 144
],
"setMeteredSubscriptionPrice": [
- 141,
+ 144,
{
"priceId": [
1,
@@ -7202,10 +7205,10 @@ export default {
}
],
"endSubscriptionTrialPeriod": [
- 137
+ 140
],
"cancelSwitchMeteredPrice": [
- 141
+ 144
],
"deleteWorkspaceInvitation": [
1,
@@ -7217,7 +7220,7 @@ export default {
}
],
"resendWorkspaceInvitation": [
- 144,
+ 147,
{
"appTokenId": [
1,
@@ -7226,7 +7229,7 @@ export default {
}
],
"sendInvitations": [
- 144,
+ 147,
{
"emails": [
1,
@@ -7238,7 +7241,7 @@ export default {
}
],
"createApprovedAccessDomain": [
- 117,
+ 120,
{
"input": [
380,
@@ -7256,7 +7259,7 @@ export default {
}
],
"validateApprovedAccessDomain": [
- 117,
+ 120,
{
"input": [
382,
@@ -7265,7 +7268,7 @@ export default {
}
],
"createPageLayoutTab": [
- 113,
+ 116,
{
"input": [
383,
@@ -7274,7 +7277,7 @@ export default {
}
],
"updatePageLayoutTab": [
- 113,
+ 116,
{
"id": [
1,
@@ -7296,7 +7299,7 @@ export default {
}
],
"createPageLayout": [
- 114,
+ 117,
{
"input": [
385,
@@ -7305,7 +7308,7 @@ export default {
}
],
"updatePageLayout": [
- 114,
+ 117,
{
"id": [
1,
@@ -7327,7 +7330,7 @@ export default {
}
],
"updatePageLayoutWithTabsAndWidgets": [
- 114,
+ 117,
{
"id": [
1,
@@ -7340,7 +7343,7 @@ export default {
}
],
"resetPageLayoutToDefault": [
- 114,
+ 117,
{
"id": [
1,
@@ -7349,7 +7352,7 @@ export default {
}
],
"resetPageLayoutWidgetToDefault": [
- 75,
+ 78,
{
"id": [
1,
@@ -7358,7 +7361,7 @@ export default {
}
],
"resetPageLayoutTabToDefault": [
- 113,
+ 116,
{
"id": [
1,
@@ -7367,7 +7370,7 @@ export default {
}
],
"createPageLayoutWidget": [
- 75,
+ 78,
{
"input": [
391,
@@ -7376,7 +7379,7 @@ export default {
}
],
"updatePageLayoutWidget": [
- 75,
+ 78,
{
"id": [
1,
@@ -7398,7 +7401,7 @@ export default {
}
],
"deleteOneLogicFunction": [
- 32,
+ 35,
{
"input": [
323,
@@ -7407,7 +7410,7 @@ export default {
}
],
"createOneLogicFunction": [
- 32,
+ 35,
{
"input": [
393,
@@ -7416,7 +7419,7 @@ export default {
}
],
"executeOneLogicFunction": [
- 155,
+ 158,
{
"input": [
394,
@@ -7461,7 +7464,7 @@ export default {
}
],
"createFrontComponent": [
- 220,
+ 34,
{
"input": [
399,
@@ -7470,7 +7473,7 @@ export default {
}
],
"updateFrontComponent": [
- 220,
+ 34,
{
"input": [
400,
@@ -7479,7 +7482,7 @@ export default {
}
],
"deleteFrontComponent": [
- 220,
+ 34,
{
"id": [
3,
@@ -7488,7 +7491,7 @@ export default {
}
],
"createOneObject": [
- 46,
+ 49,
{
"input": [
402,
@@ -7497,7 +7500,7 @@ export default {
}
],
"deleteOneObject": [
- 46,
+ 49,
{
"input": [
404,
@@ -7506,7 +7509,7 @@ export default {
}
],
"updateOneObject": [
- 46,
+ 49,
{
"input": [
405,
@@ -7609,7 +7612,7 @@ export default {
}
],
"upsertRowLevelPermissionPredicates": [
- 217,
+ 220,
{
"input": [
417,
@@ -7640,7 +7643,7 @@ export default {
}
],
"createOneField": [
- 34,
+ 37,
{
"input": [
420,
@@ -7649,7 +7652,7 @@ export default {
}
],
"updateOneField": [
- 34,
+ 37,
{
"input": [
422,
@@ -7658,7 +7661,7 @@ export default {
}
],
"deleteOneField": [
- 34,
+ 37,
{
"input": [
424,
@@ -7667,7 +7670,7 @@ export default {
}
],
"createViewGroup": [
- 56,
+ 59,
{
"input": [
425,
@@ -7676,7 +7679,7 @@ export default {
}
],
"createManyViewGroups": [
- 56,
+ 59,
{
"inputs": [
425,
@@ -7685,7 +7688,7 @@ export default {
}
],
"updateViewGroup": [
- 56,
+ 59,
{
"input": [
426,
@@ -7694,7 +7697,7 @@ export default {
}
],
"updateManyViewGroups": [
- 56,
+ 59,
{
"inputs": [
426,
@@ -7703,7 +7706,7 @@ export default {
}
],
"deleteViewGroup": [
- 56,
+ 59,
{
"input": [
428,
@@ -7712,7 +7715,7 @@ export default {
}
],
"destroyViewGroup": [
- 56,
+ 59,
{
"input": [
429,
@@ -8171,7 +8174,7 @@ export default {
}
],
"createApplicationRegistration": [
- 185,
+ 188,
{
"input": [
443,
@@ -8198,7 +8201,7 @@ export default {
}
],
"rotateApplicationRegistrationClientSecret": [
- 187,
+ 190,
{
"id": [
1,
@@ -8293,7 +8296,7 @@ export default {
}
],
"deleteUser": [
- 69
+ 72
],
"deleteUserFromWorkspace": [
17,
@@ -8326,7 +8329,7 @@ export default {
}
],
"resendEmailVerificationToken": [
- 188,
+ 191,
{
"email": [
1,
@@ -8339,7 +8342,7 @@ export default {
}
],
"activateWorkspace": [
- 66,
+ 69,
{
"data": [
450,
@@ -8348,7 +8351,7 @@ export default {
}
],
"updateWorkspace": [
- 66,
+ 69,
{
"data": [
451,
@@ -8357,13 +8360,13 @@ export default {
}
],
"deleteCurrentWorkspace": [
- 66
+ 69
],
"checkCustomDomainValidRecords": [
- 216
+ 219
],
"createOIDCIdentityProvider": [
- 193,
+ 196,
{
"input": [
452,
@@ -8372,7 +8375,7 @@ export default {
}
],
"createSAMLIdentityProvider": [
- 193,
+ 196,
{
"input": [
453,
@@ -8381,7 +8384,7 @@ export default {
}
],
"deleteSSOIdentityProvider": [
- 189,
+ 192,
{
"input": [
454,
@@ -8390,7 +8393,7 @@ export default {
}
],
"editSSOIdentityProvider": [
- 190,
+ 193,
{
"input": [
455,
@@ -8450,7 +8453,7 @@ export default {
}
],
"updateLabPublicFeatureFlag": [
- 157,
+ 160,
{
"input": [
460,
@@ -8483,7 +8486,7 @@ export default {
}
],
"checkPublicDomainValidRecords": [
- 216,
+ 219,
{
"domain": [
1,
@@ -8523,7 +8526,7 @@ export default {
}
],
"createOneAppToken": [
- 68,
+ 71,
{
"input": [
461,
@@ -8607,7 +8610,7 @@ export default {
}
],
"generateApplicationToken": [
- 219,
+ 33,
{
"applicationId": [
3,
@@ -8659,7 +8662,7 @@ export default {
}
],
"renewApplicationToken": [
- 219,
+ 33,
{
"applicationRefreshToken": [
1,
@@ -8713,7 +8716,7 @@ export default {
3
],
"type": [
- 147
+ 150
],
"name": [
1
@@ -8786,7 +8789,7 @@ export default {
3
],
"logicalOperator": [
- 53
+ 56
],
"positionInViewFilterGroup": [
11
@@ -8806,7 +8809,7 @@ export default {
3
],
"logicalOperator": [
- 53
+ 56
],
"positionInViewFilterGroup": [
11
@@ -8826,7 +8829,7 @@ export default {
3
],
"operand": [
- 55
+ 58
],
"value": [
15
@@ -8863,7 +8866,7 @@ export default {
3
],
"operand": [
- 55
+ 58
],
"value": [
15
@@ -8908,10 +8911,10 @@ export default {
3
],
"type": [
- 61
+ 64
],
"key": [
- 62
+ 65
],
"icon": [
1
@@ -8926,10 +8929,10 @@ export default {
6
],
"openRecordIn": [
- 63
+ 66
],
"kanbanAggregateOperation": [
- 51
+ 54
],
"kanbanAggregateOperationFieldMetadataId": [
3
@@ -8938,7 +8941,7 @@ export default {
1
],
"calendarLayout": [
- 64
+ 67
],
"calendarFieldMetadataId": [
3
@@ -8947,7 +8950,7 @@ export default {
3
],
"visibility": [
- 65
+ 68
],
"__typename": [
1
@@ -8961,7 +8964,7 @@ export default {
1
],
"type": [
- 61
+ 64
],
"icon": [
1
@@ -8973,10 +8976,10 @@ export default {
6
],
"openRecordIn": [
- 63
+ 66
],
"kanbanAggregateOperation": [
- 51
+ 54
],
"kanbanAggregateOperationFieldMetadataId": [
3
@@ -8985,13 +8988,13 @@ export default {
1
],
"calendarLayout": [
- 64
+ 67
],
"calendarFieldMetadataId": [
3
],
"visibility": [
- 65
+ 68
],
"mainGroupByFieldMetadataId": [
3
@@ -9011,7 +9014,7 @@ export default {
3
],
"direction": [
- 58
+ 61
],
"viewId": [
3
@@ -9033,7 +9036,7 @@ export default {
},
"UpdateViewSortInputUpdates": {
"direction": [
- 58
+ 61
],
"__typename": [
1
@@ -9077,7 +9080,7 @@ export default {
11
],
"aggregateOperation": [
- 51
+ 54
],
"viewFieldGroupId": [
3
@@ -9106,7 +9109,7 @@ export default {
11
],
"aggregateOperation": [
- 51
+ 54
],
"viewFieldGroupId": [
3
@@ -9330,7 +9333,7 @@ export default {
3
],
"layoutMode": [
- 79
+ 82
],
"__typename": [
1
@@ -9347,7 +9350,7 @@ export default {
1
],
"layoutMode": [
- 79
+ 82
],
"__typename": [
1
@@ -9358,7 +9361,7 @@ export default {
1
],
"type": [
- 115
+ 118
],
"objectMetadataId": [
3
@@ -9372,7 +9375,7 @@ export default {
1
],
"type": [
- 115
+ 118
],
"objectMetadataId": [
3
@@ -9386,7 +9389,7 @@ export default {
1
],
"type": [
- 115
+ 118
],
"objectMetadataId": [
3
@@ -9412,7 +9415,7 @@ export default {
1
],
"layoutMode": [
- 79
+ 82
],
"widgets": [
389
@@ -9432,7 +9435,7 @@ export default {
1
],
"type": [
- 76
+ 79
],
"objectMetadataId": [
3
@@ -9481,7 +9484,7 @@ export default {
1
],
"type": [
- 76
+ 79
],
"objectMetadataId": [
3
@@ -9507,7 +9510,7 @@ export default {
1
],
"type": [
- 76
+ 79
],
"objectMetadataId": [
3
@@ -10195,7 +10198,7 @@ export default {
},
"CreateFieldInput": {
"type": [
- 35
+ 38
],
"name": [
1
@@ -10830,7 +10833,7 @@ export default {
3
],
"status": [
- 163
+ 166
],
"__typename": [
1
@@ -10963,7 +10966,7 @@ export default {
"FileFolder": {},
"Subscription": {
"onEventSubscription": [
- 154,
+ 157,
{
"eventStreamId": [
1,
diff --git a/packages/twenty-front/src/generated-metadata/graphql.ts b/packages/twenty-front/src/generated-metadata/graphql.ts
index 5afcf017927..0b8133c6194 100644
--- a/packages/twenty-front/src/generated-metadata/graphql.ts
+++ b/packages/twenty-front/src/generated-metadata/graphql.ts
@@ -304,6 +304,7 @@ export type Application = {
defaultLogicFunctionRole?: Maybe<Role>;
defaultRoleId?: Maybe<Scalars['String']>;
description?: Maybe<Scalars['String']>;
+ frontComponents: Array<FrontComponent>;
id: Scalars['UUID'];
logicFunctions: Array<LogicFunction>;
name: Scalars['String'];
@@ -6145,7 +6146,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, 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 }>, 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, toolInputSchema?: any | null, isTool: boolean, cronTriggerSettings?: any | null, databaseEventTriggerSettings?: any | null, httpRouteTriggerSettings?: any | null, applicationId?: string | null, createdAt: string, updatedAt: string }> };
+export type ApplicationFieldsFragment = { __typename?: 'Application', id: string, name: string, description?: 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 }>, 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, toolInputSchema?: any | null, isTool: boolean, cronTriggerSettings?: any | null, databaseEventTriggerSettings?: any | null, httpRouteTriggerSettings?: any | null, applicationId?: string | null, createdAt: string, updatedAt: string }> };
export type FindManyApplicationsQueryVariables = Exact<{ [key: string]: never; }>;
@@ -6157,14 +6158,14 @@ export type FindOneApplicationQueryVariables = Exact<{
}>;
-export type FindOneApplicationQuery = { __typename?: 'Query', findOneApplication: { __typename?: 'Application', id: string, name: string, description?: 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 }>, 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, toolInputSchema?: any | null, isTool: boolean, cronTriggerSettings?: any | null, databaseEventTriggerSettings?: any | null, httpRouteTriggerSettings?: any | null, applicationId?: string | null, createdAt: string, updatedAt: string }> } };
+export type FindOneApplicationQuery = { __typename?: 'Query', findOneApplication: { __typename?: 'Application', id: string, name: string, description?: 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 }>, 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, toolInputSchema?: any | null, isTool: boolean, cronTriggerSettings?: any | null, databaseEventTriggerSettings?: any | null, httpRouteTriggerSettings?: any | null, applicationId?: 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, 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 }>, 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, toolInputSchema?: any | null, isTool: boolean, cronTriggerSettings?: any | null, databaseEventTriggerSettings?: any | null, httpRouteTriggerSettings?: any | null, applicationId?: string | null, createdAt: string, updatedAt: string }> } };
+export type FindOneApplicationByUniversalIdentifierQuery = { __typename?: 'Query', findOneApplication: { __typename?: 'Application', id: string, name: string, description?: 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 }>, 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, toolInputSchema?: any | null, isTool: boolean, cronTriggerSettings?: any | null, databaseEventTriggerSettings?: any | null, httpRouteTriggerSettings?: any | null, applicationId?: string | null, createdAt: string, updatedAt: string }> } };
export type FindOneApplicationSummaryQueryVariables = Exact<{
universalIdentifier: Scalars['UUID'];
@@ -7771,7 +7772,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":"toolInputSchema"}},{"kind":"Field","name":{"kind":"Name","value":"isTool"}},{"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":"applicationId"}},{"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":"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":"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":"toolInputSchema"}},{"kind":"Field","name":{"kind":"Name","value":"isTool"}},{"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":"applicationId"}},{"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":"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":"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":"toolInputSchema"}},{"kind":"Field","name":{"kind":"Name","value":"isTool"}},{"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":"applicationId"}},{"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>;
@@ -7844,8 +7845,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":"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":"toolInputSchema"}},{"kind":"Field","name":{"kind":"Name","value":"isTool"}},{"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":"applicationId"}},{"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":"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":"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":"toolInputSchema"}},{"kind":"Field","name":{"kind":"Name","value":"isTool"}},{"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":"applicationId"}},{"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":"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":"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":"toolInputSchema"}},{"kind":"Field","name":{"kind":"Name","value":"isTool"}},{"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":"applicationId"}},{"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":"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":"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":"toolInputSchema"}},{"kind":"Field","name":{"kind":"Name","value":"isTool"}},{"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":"applicationId"}},{"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":"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":"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/applications/graphql/fragments/applicationFragment.ts b/packages/twenty-front/src/modules/applications/graphql/fragments/applicationFragment.ts
index 94328c23da5..cb8c847b1fb 100644
--- a/packages/twenty-front/src/modules/applications/graphql/fragments/applicationFragment.ts
+++ b/packages/twenty-front/src/modules/applications/graphql/fragments/applicationFragment.ts
@@ -34,6 +34,12 @@ export const APPLICATION_FRAGMENT = gql`
agents {
...AgentFields
}
+ frontComponents {
+ id
+ name
+ description
+ applicationId
+ }
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 fcd217ead48..4913c7eb73a 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
@@ -4,6 +4,7 @@ export const CUSTOM_WORKSPACE_APPLICATION_MOCK = {
id: 'dc75f982-35a2-4c1b-a63d-bd1131215377',
agents: [],
applicationVariables: [],
+ frontComponents: [],
availablePackages: {},
canBeUninstalled: false,
description: 'workpace custom application',
diff --git a/packages/twenty-front/src/modules/settings/admin-panel/apps/components/SettingsAdminApps.tsx b/packages/twenty-front/src/modules/settings/admin-panel/apps/components/SettingsAdminApps.tsx
index 30625a95bcc..c92158588ee 100644
--- a/packages/twenty-front/src/modules/settings/admin-panel/apps/components/SettingsAdminApps.tsx
+++ b/packages/twenty-front/src/modules/settings/admin-panel/apps/components/SettingsAdminApps.tsx
@@ -112,7 +112,12 @@ export const SettingsAdminApps = () => {
mobileGridAutoColumns={TABLE_GRID_MOBILE}
isClickable
>
- <TableCell color={themeCssVariables.font.color.primary}>
+ <TableCell
+ color={themeCssVariables.font.color.primary}
+ overflow="hidden"
+ textOverflow="ellipsis"
+ whiteSpace="nowrap"
+ >
<OverflowingTextWithTooltip text={registration.name} />
</TableCell>
<TableCell overflow="hidden" align="right">
diff --git a/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationAboutSidebar.tsx b/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationAboutSidebar.tsx
new file mode 100644
index 00000000000..cbc9cb7f11b
--- /dev/null
+++ b/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationAboutSidebar.tsx
@@ -0,0 +1,232 @@
+import { styled } from '@linaria/react';
+import { t } from '@lingui/core/macro';
+import { type ComponentType, type ReactNode } from 'react';
+import { isNonEmptyString } from '@sniptt/guards';
+import { isDefined } from 'twenty-shared/utils';
+import {
+ IconAlertTriangle,
+ IconBrandNpm,
+ IconLink,
+ IconMail,
+ IconWorld,
+} from 'twenty-ui/display';
+import { themeCssVariables } from 'twenty-ui/theme-constants';
+
+export type ContentEntry = {
+ icon: ComponentType<{ size?: number }>;
+ count: number;
+ one: string;
+ many: string;
+};
+
+export type DeveloperLinks = {
+ websiteUrl?: string;
+ termsUrl?: string;
+ emailSupport?: string;
+ issueReportUrl?: string;
+ sourcePackageUrl?: string;
+};
+
+type SettingsApplicationAboutSidebarProps = {
+ actionButton?: ReactNode;
+ author?: string;
+ category?: string;
+ contentEntries?: ContentEntry[];
+ currentVersion?: string;
+ latestAvailableVersion?: string;
+ developerLinks?: DeveloperLinks;
+};
+
+const StyledSidebar = styled.div`
+ flex-shrink: 0;
+ width: 140px;
+`;
+
+const StyledSidebarSection = styled.div`
+ padding: ${themeCssVariables.spacing[3]} 0;
+
+ &:first-of-type {
+ padding-top: 0;
+ }
+`;
+
+const StyledSidebarLabel = styled.div`
+ color: ${themeCssVariables.font.color.tertiary};
+ font-size: ${themeCssVariables.font.size.sm};
+ margin-bottom: ${themeCssVariables.spacing[2]};
+`;
+
+const StyledSidebarValue = styled.div`
+ color: ${themeCssVariables.font.color.primary};
+ font-size: ${themeCssVariables.font.size.md};
+ font-weight: ${themeCssVariables.font.weight.medium};
+`;
+
+const StyledContentItem = styled.div`
+ align-items: center;
+ color: ${themeCssVariables.font.color.primary};
+ display: flex;
+ font-size: ${themeCssVariables.font.size.sm};
+ gap: ${themeCssVariables.spacing[2]};
+ margin-bottom: ${themeCssVariables.spacing[2]};
+
+ &:last-of-type {
+ margin-bottom: 0;
+ }
+`;
+
+const StyledLink = styled.a`
+ align-items: center;
+ color: ${themeCssVariables.font.color.primary};
+ display: flex;
+ font-size: ${themeCssVariables.font.size.sm};
+ gap: ${themeCssVariables.spacing[2]};
+ margin-bottom: ${themeCssVariables.spacing[2]};
+ text-decoration: none;
+
+ &:hover {
+ text-decoration: underline;
+ }
+
+ &:last-of-type {
+ margin-bottom: 0;
+ }
+`;
+
+export const SettingsApplicationAboutSidebar = ({
+ actionButton,
+ author,
+ category,
+ contentEntries,
+ currentVersion,
+ latestAvailableVersion,
+ developerLinks,
+}: SettingsApplicationAboutSidebarProps) => {
+ const isSafeUrl = (url: string | undefined): url is string => {
+ if (!isNonEmptyString(url)) return false;
+
+ try {
+ const parsed = new URL(url);
+
+ return ['http:', 'https:', 'mailto:'].includes(parsed.protocol);
+ } catch {
+ return false;
+ }
+ };
+
+ const filteredContentEntries = (contentEntries ?? []).filter(
+ (entry) => entry.count > 0,
+ );
+
+ const hasDeveloperLinks =
+ isDefined(developerLinks) &&
+ (isNonEmptyString(developerLinks.websiteUrl) ||
+ isNonEmptyString(developerLinks.termsUrl) ||
+ isNonEmptyString(developerLinks.emailSupport) ||
+ isNonEmptyString(developerLinks.issueReportUrl) ||
+ isNonEmptyString(developerLinks.sourcePackageUrl));
+
+ return (
+ <StyledSidebar>
+ {isDefined(actionButton) && (
+ <StyledSidebarSection>{actionButton}</StyledSidebarSection>
+ )}
+
+ {isDefined(author) && (
+ <StyledSidebarSection>
+ <StyledSidebarLabel>{t`Created by`}</StyledSidebarLabel>
+ <StyledSidebarValue>{author}</StyledSidebarValue>
+ </StyledSidebarSection>
+ )}
+
+ {isDefined(category) && (
+ <StyledSidebarSection>
+ <StyledSidebarLabel>{t`Category`}</StyledSidebarLabel>
+ <StyledSidebarValue>{category}</StyledSidebarValue>
+ </StyledSidebarSection>
+ )}
+
+ {filteredContentEntries.length > 0 && (
+ <StyledSidebarSection>
+ <StyledSidebarLabel>{t`Content`}</StyledSidebarLabel>
+ {filteredContentEntries.map((entry) => (
+ <StyledContentItem key={entry.one}>
+ <entry.icon size={16} />
+ {entry.count} {entry.count === 1 ? entry.one : entry.many}
+ </StyledContentItem>
+ ))}
+ </StyledSidebarSection>
+ )}
+
+ {isDefined(currentVersion) && (
+ <StyledSidebarSection>
+ <StyledSidebarLabel>{t`Current`}</StyledSidebarLabel>
+ <StyledSidebarValue>{currentVersion}</StyledSidebarValue>
+ </StyledSidebarSection>
+ )}
+
+ {isDefined(latestAvailableVersion) && (
+ <StyledSidebarSection>
+ <StyledSidebarLabel>{t`Latest`}</StyledSidebarLabel>
+ <StyledSidebarValue>{latestAvailableVersion}</StyledSidebarValue>
+ </StyledSidebarSection>
+ )}
+
+ {hasDeveloperLinks && (
+ <StyledSidebarSection>
+ <StyledSidebarLabel>{t`Developers links`}</StyledSidebarLabel>
+ {isSafeUrl(developerLinks.websiteUrl) && (
+ <StyledLink
+ href={developerLinks.websiteUrl}
+ target="_blank"
+ rel="noopener noreferrer"
+ >
+ <IconWorld size={16} />
+ {t`Website`}
+ </StyledLink>
+ )}
+ {isSafeUrl(developerLinks.termsUrl) && (
+ <StyledLink
+ href={developerLinks.termsUrl}
+ target="_blank"
+ rel="noopener noreferrer"
+ >
+ <IconLink size={16} />
+ {t`Terms / Privacy`}
+ </StyledLink>
+ )}
+ {isNonEmptyString(developerLinks.emailSupport) && (
+ <StyledLink
+ href={`mailto:${developerLinks.emailSupport}`}
+ target="_blank"
+ rel="noopener noreferrer"
+ >
+ <IconMail size={16} />
+ {t`Email support`}
+ </StyledLink>
+ )}
+ {isSafeUrl(developerLinks.issueReportUrl) && (
+ <StyledLink
+ href={developerLinks.issueReportUrl}
+ target="_blank"
+ rel="noopener noreferrer"
+ >
+ <IconAlertTriangle size={16} />
+ {t`Report an issue`}
+ </StyledLink>
+ )}
+ {isSafeUrl(developerLinks.sourcePackageUrl) && (
+ <StyledLink
+ href={developerLinks.sourcePackageUrl}
+ target="_blank"
+ rel="noopener noreferrer"
+ >
+ <IconBrandNpm size={16} />
+ {t`Npm package`}
+ </StyledLink>
+ )}
+ </StyledSidebarSection>
+ )}
+ </StyledSidebar>
+ );
+};
diff --git a/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationScreenshotGallery.tsx b/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationScreenshotGallery.tsx
new file mode 100644
index 00000000000..c63f21f07f1
--- /dev/null
+++ b/packages/twenty-front/src/modules/settings/applications/components/SettingsApplicationScreenshotGallery.tsx
@@ -0,0 +1,97 @@
+import { styled } from '@linaria/react';
+import { useState } from 'react';
+import { themeCssVariables } from 'twenty-ui/theme-constants';
+
+type SettingsApplicationScreenshotGalleryProps = {
+ screenshots: string[];
+ displayName: string;
+};
+
+const StyledScreenshotsContainer = styled.div`
+ align-items: center;
+ background-color: ${themeCssVariables.background.secondary};
+ border: 1px solid ${themeCssVariables.border.color.medium};
+ border-radius: ${themeCssVariables.border.radius.md};
+ display: flex;
+ height: 300px;
+ justify-content: center;
+ margin-bottom: ${themeCssVariables.spacing[2]};
+ overflow: hidden;
+`;
+
+const StyledScreenshotImage = styled.img`
+ height: 100%;
+ object-fit: contain;
+ width: 100%;
+`;
+
+const StyledScreenshotThumbnails = styled.div`
+ display: flex;
+ gap: ${themeCssVariables.spacing[2]};
+ margin-bottom: ${themeCssVariables.spacing[6]};
+`;
+
+const StyledThumbnail = styled.div<{ isSelected?: boolean }>`
+ align-items: center;
+ background-color: ${themeCssVariables.background.secondary};
+ border: 1px solid
+ ${({ isSelected }) =>
+ isSelected
+ ? themeCssVariables.color.blue
+ : themeCssVariables.border.color.medium};
+ border-radius: ${themeCssVariables.border.radius.sm};
+ cursor: pointer;
+ display: flex;
+ flex: 1;
+ height: 60px;
+ justify-content: center;
+ overflow: hidden;
+
+ &:hover {
+ border-color: ${themeCssVariables.color.blue};
+ }
+`;
+
+const StyledThumbnailImage = styled.img`
+ height: 100%;
+ object-fit: contain;
+ width: 100%;
+`;
+
+export const SettingsApplicationScreenshotGallery = ({
+ screenshots,
+ displayName,
+}: SettingsApplicationScreenshotGalleryProps) => {
+ const [selectedScreenshotIndex, setSelectedScreenshotIndex] = useState(0);
+
+ if (screenshots.length === 0) {
+ return null;
+ }
+
+ const safeIndex = Math.min(selectedScreenshotIndex, screenshots.length - 1);
+
+ return (
+ <>
+ <StyledScreenshotsContainer>
+ <StyledScreenshotImage
+ src={screenshots[safeIndex]}
+ alt={`${displayName} screenshot ${safeIndex + 1}`}
+ />
+ </StyledScreenshotsContainer>
+ <StyledScreenshotThumbnails>
+ {screenshots.slice(0, 6).map((screenshot, index) => (
+ <StyledThumbnail
+ key={index}
+ isSelected={index === selectedScreenshotIndex}
+ onClick={() => setSelectedScreenshotIndex(index)}
+ >
+ <StyledThumbnailImage
+ src={screenshot}
+ alt={`${displayName} thumbnail ${index + 1}`}
+ />
+ </StyledThumbnail>
+ ))}
+ </StyledScreenshotThumbnails>
+ </>
+ );
+};
diff --git a/packages/twenty-front/src/modules/settings/applications/hooks/__tests__/useObjectAndFieldRows.test.tsx b/packages/twenty-front/src/modules/settings/applications/hooks/__tests__/useObjectAndFieldRows.test.tsx
new file mode 100644
index 00000000000..cbff48c9265
--- /dev/null
+++ b/packages/twenty-front/src/modules/settings/applications/hooks/__tests__/useObjectAndFieldRows.test.tsx
@@ -0,0 +1,297 @@
+import { renderHook } from '@testing-library/react';
+
+import { useObjectAndFieldRows } from '@/settings/applications/hooks/useObjectAndFieldRows';
+import { type Manifest } from 'twenty-shared/application';
+import { getJestMetadataAndApolloMocksWrapper } from '~/testing/jest/getJestMetadataAndApolloMocksWrapper';
+import { getTestEnrichedObjectMetadataItemsMock } from '~/testing/utils/getTestEnrichedObjectMetadataItemsMock';
+
+const mockObjectMetadataItems = getTestEnrichedObjectMetadataItemsMock();
+
+const personObject = mockObjectMetadataItems.find(
+ (item) => item.nameSingular === 'person',
+)!;
+const companyObject = mockObjectMetadataItems.find(
+ (item) => item.nameSingular === 'company',
+)!;
+
+const APP_ID = 'test-app-id';
+
+const wrapper = getJestMetadataAndApolloMocksWrapper({
+ apolloMocks: [],
+});
+
+describe('useObjectAndFieldRows', () => {
+ describe('with installed application', () => {
+ it('should return object rows for installed application objects', () => {
+ const installedApplication = {
+ id: APP_ID,
+ objects: [{ id: personObject.id }],
+ name: 'Test App',
+ canBeUninstalled: true,
+ availablePackages: {},
+ applicationVariables: [],
+ agents: [],
+ logicFunctions: [],
+ frontComponents: [],
+ };
+
+ const { result } = renderHook(
+ () =>
+ useObjectAndFieldRows({
+ applicationId: APP_ID,
+ installedApplication,
+ }),
+ { wrapper },
+ );
+
+ expect(result.current.objectRows).toHaveLength(1);
+ expect(result.current.objectRows[0].key).toBe(personObject.nameSingular);
+ expect(result.current.objectRows[0].labelPlural).toBe(
+ personObject.labelPlural,
+ );
+ expect(result.current.objectRows[0].fieldsCount).toBeGreaterThan(0);
+ expect(result.current.objectRows[0].link).toBeDefined();
+ });
+
+ it('should return empty object rows when application has no objects', () => {
+ const installedApplication = {
+ id: APP_ID,
+ objects: [],
+ name: 'Test App',
+ canBeUninstalled: true,
+ availablePackages: {},
+ applicationVariables: [],
+ agents: [],
+ logicFunctions: [],
+ frontComponents: [],
+ };
+
+ const { result } = renderHook(
+ () =>
+ useObjectAndFieldRows({
+ applicationId: APP_ID,
+ installedApplication,
+ }),
+ { wrapper },
+ );
+
+ expect(result.current.objectRows).toHaveLength(0);
+ });
+
+ it('should return field group rows for fields added to other objects', () => {
+ const fieldBelongingToApp = companyObject.fields[0];
+
+ const installedApplication = {
+ id: fieldBelongingToApp.applicationId ?? APP_ID,
+ objects: [{ id: personObject.id }],
+ name: 'Test App',
+ canBeUninstalled: true,
+ availablePackages: {},
+ applicationVariables: [],
+ agents: [],
+ logicFunctions: [],
+ frontComponents: [],
+ };
+
+ const { result } = renderHook(
+ () =>
+ useObjectAndFieldRows({
+ applicationId: installedApplication.id,
+ installedApplication,
+ }),
+ { wrapper },
+ );
+
+ // Field group rows should not include the app's own objects
+ const hasOwnObject = result.current.fieldGroupRows.some(
+ (row) => row.key === personObject.nameSingular,
+ );
+ expect(hasOwnObject).toBe(false);
+ });
+
+ it('should exclude deny-listed objects from field group rows', () => {
+ const installedApplication = {
+ id: APP_ID,
+ objects: [],
+ name: 'Test App',
+ canBeUninstalled: true,
+ availablePackages: {},
+ applicationVariables: [],
+ agents: [],
+ logicFunctions: [],
+ frontComponents: [],
+ };
+
+ const { result } = renderHook(
+ () =>
+ useObjectAndFieldRows({
+ applicationId: APP_ID,
+ installedApplication,
+ }),
+ { wrapper },
+ );
+
+ const hasDeniedObject = result.current.fieldGroupRows.some(
+ (row) => row.key === 'timelineActivity' || row.key === 'favorite',
+ );
+ expect(hasDeniedObject).toBe(false);
+ });
+ });
+
+ describe('with manifest content', () => {
+ it('should return object rows from manifest objects', () => {
+ const manifestContent = {
+ objects: [
+ {
+ universalIdentifier: 'uid-1',
+ nameSingular: 'customObject',
+ namePlural: 'customObjects',
+ labelSingular: 'Custom Object',
+ labelPlural: 'Custom Objects',
+ icon: 'IconBox',
+ fields: [{ name: 'field1' }, { name: 'field2' }],
+ },
+ ],
+ fields: [],
+ } as unknown as Manifest;
+
+ const { result } = renderHook(
+ () =>
+ useObjectAndFieldRows({
+ applicationId: 'app-uid',
+ manifestContent,
+ }),
+ { wrapper },
+ );
+
+ expect(result.current.objectRows).toHaveLength(1);
+ expect(result.current.objectRows[0].key).toBe('customObject');
+ expect(result.current.objectRows[0].labelPlural).toBe('Custom Objects');
+ expect(result.current.objectRows[0].fieldsCount).toBe(2);
+ expect(result.current.objectRows[0].tagItem.applicationId).toBe(
+ 'app-uid',
+ );
+ });
+
+ it('should return field group rows grouped by object from manifest fields', () => {
+ const manifestContent = {
+ objects: [
+ {
+ universalIdentifier: 'custom-obj-uid',
+ nameSingular: 'customObj',
+ namePlural: 'customObjs',
+ labelSingular: 'Custom',
+ labelPlural: 'Customs',
+ icon: 'IconBox',
+ fields: [],
+ },
+ ],
+ fields: [
+ {
+ objectUniversalIdentifier: 'custom-obj-uid',
+ name: 'field1',
+ },
+ {
+ objectUniversalIdentifier: 'custom-obj-uid',
+ name: 'field2',
+ },
+ {
+ objectUniversalIdentifier: 'custom-obj-uid',
+ name: 'field3',
+ },
+ ],
+ } as unknown as Manifest;
+
+ const { result } = renderHook(
+ () =>
+ useObjectAndFieldRows({
+ applicationId: 'app-uid',
+ manifestContent,
+ }),
+ { wrapper },
+ );
+
+ expect(result.current.fieldGroupRows).toHaveLength(1);
+ expect(result.current.fieldGroupRows[0].key).toBe('customObj');
+ expect(result.current.fieldGroupRows[0].fieldsCount).toBe(3);
+ });
+
+ it('should return empty field group rows when manifest has no fields', () => {
+ const manifestContent = {
+ objects: [],
+ fields: [],
+ } as unknown as Manifest;
+
+ const { result } = renderHook(
+ () =>
+ useObjectAndFieldRows({
+ applicationId: 'app-uid',
+ manifestContent,
+ }),
+ { wrapper },
+ );
+
+ expect(result.current.fieldGroupRows).toHaveLength(0);
+ });
+
+ it('should return empty rows when no data is provided', () => {
+ const { result } = renderHook(
+ () =>
+ useObjectAndFieldRows({
+ applicationId: 'app-uid',
+ }),
+ { wrapper },
+ );
+
+ expect(result.current.objectRows).toHaveLength(0);
+ expect(result.current.fieldGroupRows).toHaveLength(0);
+ });
+ });
+
+ describe('data source priority', () => {
+ it('should use installed application data when both sources are provided', () => {
+ const installedApplication = {
+ id: APP_ID,
+ objects: [{ id: personObject.id }],
+ name: 'Test App',
+ canBeUninstalled: true,
+ availablePackages: {},
+ applicationVariables: [],
+ agents: [],
+ logicFunctions: [],
+ frontComponents: [],
+ };
+
+ const manifestContent = {
+ objects: [
+ {
+ universalIdentifier: 'uid-1',
+ nameSingular: 'manifestObj',
+ namePlural: 'manifestObjs',
+ labelSingular: 'Manifest',
+ labelPlural: 'Manifests',
+ icon: 'IconBox',
+ fields: [],
+ },
+ ],
+ fields: [],
+ } as unknown as Manifest;
+
+ const { result } = renderHook(
+ () =>
+ useObjectAndFieldRows({
+ applicationId: APP_ID,
+ installedApplication,
+ manifestContent,
+ }),
+ { wrapper },
+ );
+
+ // Should use installed data, not manifest
+ expect(result.current.objectRows[0].key).toBe(personObject.nameSingular);
+ expect(
+ result.current.objectRows.some((r) => r.key === 'manifestObj'),
+ ).toBe(false);
+ });
+ });
+});
diff --git a/packages/twenty-front/src/modules/settings/applications/hooks/useObjectAndFieldRows.ts b/packages/twenty-front/src/modules/settings/applications/hooks/useObjectAndFieldRows.ts
new file mode 100644
index 00000000000..0b8f60dab0e
--- /dev/null
+++ b/packages/twenty-front/src/modules/settings/applications/hooks/useObjectAndFieldRows.ts
@@ -0,0 +1,179 @@
+import { objectMetadataItemsSelector } from '@/object-metadata/states/objectMetadataItemsSelector';
+import { isHiddenSystemField } from '@/object-metadata/utils/isHiddenSystemField';
+import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';
+import { useMemo } from 'react';
+import { type Manifest } from 'twenty-shared/application';
+import { SettingsPath } from 'twenty-shared/types';
+import { getSettingsPath, isDefined } from 'twenty-shared/utils';
+import { type Application } from '~/generated-metadata/graphql';
+import { type ApplicationDataTableRow } from '~/pages/settings/applications/components/SettingsApplicationDataTable';
+import { findObjectNameByUniversalIdentifier } from '~/pages/settings/applications/utils/findObjectNameByUniversalIdentifier';
+
+type InstalledApplicationForObjectRows = Omit<
+ Application,
+ 'objects' | 'universalIdentifier' | 'frontComponents'
+> & {
+ objects: { id: string }[];
+};
+
+export const useObjectAndFieldRows = ({
+ applicationId,
+ installedApplication,
+ manifestContent,
+}: {
+ applicationId: string;
+ installedApplication?: InstalledApplicationForObjectRows;
+ manifestContent?: Manifest;
+}) => {
+ const objectMetadataItems = useAtomStateValue(objectMetadataItemsSelector);
+
+ const installedObjectIds = useMemo(
+ () => installedApplication?.objects.map((object) => object.id) ?? [],
+ [installedApplication?.objects],
+ );
+
+ const objectRows = useMemo((): ApplicationDataTableRow[] => {
+ if (isDefined(installedApplication)) {
+ if (installedApplication.objects.length === 0) {
+ return [];
+ }
+
+ return objectMetadataItems
+ .filter((item) => installedObjectIds.includes(item.id))
+ .map((item) => ({
+ key: item.nameSingular,
+ labelPlural: item.labelPlural,
+ icon: item.icon ?? undefined,
+ fieldsCount: item.fields.filter((f) => !isHiddenSystemField(f))
+ .length,
+ link: getSettingsPath(SettingsPath.ObjectDetail, {
+ objectNamePlural: item.namePlural,
+ }),
+ tagItem: {
+ isCustom: item.isCustom,
+ isRemote: item.isRemote,
+ applicationId: item.applicationId,
+ },
+ }));
+ }
+
+ return (manifestContent?.objects ?? []).map((appObject) => ({
+ key: appObject.nameSingular,
+ labelPlural: appObject.labelPlural,
+ icon: appObject.icon ?? undefined,
+ fieldsCount: appObject.fields.length,
+ tagItem: { applicationId },
+ }));
+ }, [
+ installedApplication,
+ manifestContent?.objects,
+ objectMetadataItems,
+ installedObjectIds,
+ applicationId,
+ ]);
+
+ const fieldGroupRows = useMemo((): ApplicationDataTableRow[] => {
+ if (isDefined(installedApplication)) {
+ const FIELD_GROUP_DENY_LIST = ['timelineActivity', 'favorite'];
+
+ return objectMetadataItems
+ .filter((item) => {
+ if (installedObjectIds.includes(item.id)) return false;
+ if (FIELD_GROUP_DENY_LIST.includes(item.nameSingular)) return false;
+
+ return item.fields.some(
+ (field) => field.applicationId === installedApplication.id,
+ );
+ })
+ .map((item) => ({
+ key: item.nameSingular,
+ labelPlural: item.labelPlural,
+ icon: item.icon ?? undefined,
+ fieldsCount: item.fields.filter(
+ (field) => field.applicationId === installedApplication.id,
+ ).length,
+ link: getSettingsPath(SettingsPath.ObjectDetail, {
+ objectNamePlural: item.namePlural,
+ }),
+ tagItem: {
+ isCustom: item.isCustom,
+ isRemote: item.isRemote,
+ applicationId: item.applicationId,
+ },
+ }));
+ }
+
+ const manifestFields = manifestContent?.fields ?? [];
+ const manifestObjects = manifestContent?.objects ?? [];
+
+ if (manifestFields.length === 0) return [];
+
+ const groupMap = new Map<
+ string,
+ { objectUniversalIdentifier: string; count: number }
+ >();
+
+ for (const field of manifestFields) {
+ const objectUid = field.objectUniversalIdentifier;
+ const existing = groupMap.get(objectUid);
+
+ if (isDefined(existing)) {
+ existing.count++;
+ } else {
+ groupMap.set(objectUid, {
+ objectUniversalIdentifier: objectUid,
+ count: 1,
+ });
+ }
+ }
+
+ return Array.from(groupMap.values())
+ .map((group) => {
+ const appObject = manifestObjects.find(
+ (obj) => obj.universalIdentifier === group.objectUniversalIdentifier,
+ );
+
+ if (isDefined(appObject)) {
+ return {
+ key: appObject.nameSingular,
+ labelPlural: appObject.labelPlural,
+ icon: appObject.icon ?? undefined,
+ fieldsCount: group.count,
+ tagItem: { applicationId },
+ };
+ }
+
+ const standardObjectName = findObjectNameByUniversalIdentifier(
+ group.objectUniversalIdentifier,
+ );
+
+ const objectMetadataItem = isDefined(standardObjectName)
+ ? objectMetadataItems.find(
+ (item) => item.nameSingular === standardObjectName,
+ )
+ : undefined;
+
+ if (!isDefined(objectMetadataItem)) {
+ return;
+ }
+
+ return {
+ key: objectMetadataItem.nameSingular,
+ labelPlural: objectMetadataItem.labelPlural,
+ icon: objectMetadataItem.icon ?? undefined,
+ fieldsCount: group.count,
+ tagItem: {},
+ };
+ })
+ .filter(isDefined);
+ }, [
+ installedApplication,
+ manifestContent?.fields,
+ manifestContent?.objects,
+ objectMetadataItems,
+ installedObjectIds,
+ applicationId,
+ ]);
+
+ return { objectRows, fieldGroupRows };
+};
diff --git a/packages/twenty-front/src/modules/settings/logic-functions/components/SettingsLogicFunctionsFieldItemTableRow.tsx b/packages/twenty-front/src/modules/settings/logic-functions/components/SettingsLogicFunctionsFieldItemTableRow.tsx
index 83fec156a0e..05eafab5615 100644
--- a/packages/twenty-front/src/modules/settings/logic-functions/components/SettingsLogicFunctionsFieldItemTableRow.tsx
+++ b/packages/twenty-front/src/modules/settings/logic-functions/components/SettingsLogicFunctionsFieldItemTableRow.tsx
@@ -1,13 +1,15 @@
-import { styled } from '@linaria/react';
-import { type LogicFunction } from '~/generated-metadata/graphql';
+import {
+ type LogicFunctionTableRow,
+ StyledTableRow,
+} from '@/settings/logic-functions/components/SettingsLogicFunctionsTable';
import { TableCell } from '@/ui/layout/table/components/TableCell';
+import { styled } from '@linaria/react';
+import { useContext } from 'react';
import {
IconChevronRight,
IconCode,
OverflowingTextWithTooltip,
} from 'twenty-ui/display';
-import { StyledTableRow } from '@/settings/logic-functions/components/SettingsLogicFunctionsTable';
-import { useContext } from 'react';
import { ThemeContext, themeCssVariables } from 'twenty-ui/theme-constants';
const StyledIconContainer = styled.span`
@@ -21,43 +23,13 @@ const StyledIconChevronRightContainer = styled(StyledIconContainer)`
export const SettingsLogicFunctionsFieldItemTableRow = ({
logicFunction,
- to,
}: {
- logicFunction: LogicFunction;
- to: string;
+ logicFunction: LogicFunctionTableRow;
}) => {
const { theme } = useContext(ThemeContext);
- const computeTrigger = () => {
- const cronTrigger = logicFunction.cronTriggerSettings;
-
- const routeTrigger = logicFunction.httpRouteTriggerSettings;
-
- const databaseEventTriggerSettings =
- logicFunction.databaseEventTriggerSettings;
-
- const isTool = logicFunction.isTool;
-
- if (isTool) {
- return 'Tool';
- }
-
- if (cronTrigger) {
- return 'Cron';
- }
-
- if (routeTrigger) {
- return 'Route';
- }
-
- if (databaseEventTriggerSettings) {
- return databaseEventTriggerSettings.eventName;
- }
-
- return '';
- };
return (
- <StyledTableRow to={to}>
+ <StyledTableRow to={logicFunction.link}>
<TableCell
color={themeCssVariables.font.color.primary}
gap={themeCssVariables.spacing[2]}
@@ -74,18 +46,20 @@ export const SettingsLogicFunctionsFieldItemTableRow = ({
whiteSpace="nowrap"
overflow="hidden"
>
- <OverflowingTextWithTooltip text={computeTrigger()} />
+ <OverflowingTextWithTooltip text={logicFunction.trigger} />
</TableCell>
<TableCell
align="center"
padding={`0 ${themeCssVariables.spacing[1]} 0 ${themeCssVariables.spacing[2]}`}
>
- <StyledIconChevronRightContainer>
- <IconChevronRight
- size={theme.icon.size.md}
- stroke={theme.icon.stroke.sm}
- />
- </StyledIconChevronRightContainer>
+ {logicFunction.link && (
+ <StyledIconChevronRightContainer>
+ <IconChevronRight
+ size={theme.icon.size.md}
+ stroke={theme.icon.stroke.sm}
+ />
+ </StyledIconChevronRightContainer>
+ )}
</TableCell>
</StyledTableRow>
);
diff --git a/packages/twenty-front/src/modules/settings/logic-functions/components/SettingsLogicFunctionsTable.tsx b/packages/twenty-front/src/modules/settings/logic-functions/components/SettingsLogicFunctionsTable.tsx
index de83f5fc896..ceed178abde 100644
--- a/packages/twenty-front/src/modules/settings/logic-functions/components/SettingsLogicFunctionsTable.tsx
+++ b/packages/twenty-front/src/modules/settings/logic-functions/components/SettingsLogicFunctionsTable.tsx
@@ -4,14 +4,17 @@ import { TableBody } from '@/ui/layout/table/components/TableBody';
import { TableHeader } from '@/ui/layout/table/components/TableHeader';
import { TableRow } from '@/ui/layout/table/components/TableRow';
import { styled } from '@linaria/react';
-import { SettingsPath } from 'twenty-shared/types';
-import { getSettingsPath } from 'twenty-shared/utils';
-import { type LogicFunction } from '~/generated-metadata/graphql';
import { useLingui } from '@lingui/react/macro';
import React from 'react';
-import { useParams } from 'react-router-dom';
import { themeCssVariables } from 'twenty-ui/theme-constants';
+export type LogicFunctionTableRow = {
+ key: string;
+ name: string;
+ trigger: string;
+ link?: string;
+};
+
export const StyledTableRow = (
props: React.ComponentProps<typeof TableRow>,
) => (
@@ -29,10 +32,8 @@ const StyledTableBodyContainer = styled.div`
export const SettingsLogicFunctionsTable = ({
logicFunctions,
}: {
- logicFunctions: LogicFunction[];
+ logicFunctions: LogicFunctionTableRow[];
}) => {
- const { applicationId = '' } = useParams();
-
const { t } = useLingui();
if (logicFunctions.length === 0) {
@@ -48,14 +49,10 @@ export const SettingsLogicFunctionsTable = ({
</StyledTableRow>
<StyledTableBodyContainer>
<TableBody>
- {logicFunctions.map((logicFunction: LogicFunction) => (
+ {logicFunctions.map((logicFunction) => (
<SettingsLogicFunctionsFieldItemTableRow
- key={logicFunction.id}
+ key={logicFunction.key}
logicFunction={logicFunction}
- to={getSettingsPath(SettingsPath.ApplicationLogicFunctionDetail, {
- applicationId,
- logicFunctionId: logicFunction.id,
- })}
/>
))}
</TableBody>
diff --git a/packages/twenty-front/src/pages/settings/applications/SettingsApplicationDetails.tsx b/packages/twenty-front/src/pages/settings/applications/SettingsApplicationDetails.tsx
index 7bc8dafa64f..187e2ec5041 100644
--- a/packages/twenty-front/src/pages/settings/applications/SettingsApplicationDetails.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/SettingsApplicationDetails.tsx
@@ -1,29 +1,48 @@
-import { SettingsPath } from 'twenty-shared/types';
-import { t } from '@lingui/core/macro';
-import { getSettingsPath, isDefined } from 'twenty-shared/utils';
+import { useUpgradeApplication } from '@/marketplace/hooks/useUpgradeApplication';
+import { objectMetadataItemsSelector } from '@/object-metadata/states/objectMetadataItemsSelector';
+import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';
+import { useHasPermissionFlag } from '@/settings/roles/hooks/useHasPermissionFlag';
+import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';
import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';
+import { TabList } from '@/ui/layout/tab-list/components/TabList';
+import { activeTabIdComponentState } from '@/ui/layout/tab-list/states/activeTabIdComponentState';
+import type { SingleTabProps } from '@/ui/layout/tab-list/types/SingleTabProps';
+import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';
+import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';
+import { useMutation, useQuery } from '@apollo/client/react';
+import { t } from '@lingui/core/macro';
+import { useMemo, useState } from 'react';
import { useParams } from 'react-router-dom';
-import { useQuery } from '@apollo/client/react';
-import { FindOneApplicationDocument } from '~/generated-metadata/graphql';
-import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';
+import { type Manifest } from 'twenty-shared/application';
+import { SettingsPath } from 'twenty-shared/types';
+import { getSettingsPath, isDefined } from 'twenty-shared/utils';
import {
IconApps,
IconBox,
+ IconCommand,
+ IconGraph,
IconInfoCircle,
+ IconLego,
+ IconListDetails,
IconLock,
IconSettings,
} from 'twenty-ui/display';
+import {
+ ApplicationRegistrationSourceType,
+ FindMarketplaceAppDetailDocument,
+ FindOneApplicationDocument,
+ PermissionFlagType,
+ UninstallApplicationDocument,
+} from '~/generated-metadata/graphql';
+import { useNavigateSettings } from '~/hooks/useNavigateSettings';
import { SettingsApplicationDetailSkeletonLoader } from '~/pages/settings/applications/components/SettingsApplicationDetailSkeletonLoader';
import { SettingsApplicationDetailTitle } from '~/pages/settings/applications/components/SettingsApplicationDetailTitle';
-import { TabList } from '@/ui/layout/tab-list/components/TabList';
-import { activeTabIdComponentState } from '@/ui/layout/tab-list/states/activeTabIdComponentState';
-import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';
-import { SettingsApplicationDetailContentTab } from '~/pages/settings/applications/tabs/SettingsApplicationDetailContentTab';
+import { SettingsApplicationCustomTab } from '~/pages/settings/applications/tabs/SettingsApplicationCustomTab';
import { SettingsApplicationDetailAboutTab } from '~/pages/settings/applications/tabs/SettingsApplicationDetailAboutTab';
+import { SettingsApplicationDetailContentTab } from '~/pages/settings/applications/tabs/SettingsApplicationDetailContentTab';
import { SettingsApplicationDetailSettingsTab } from '~/pages/settings/applications/tabs/SettingsApplicationDetailSettingsTab';
import { SettingsApplicationPermissionsTab } from '~/pages/settings/applications/tabs/SettingsApplicationPermissionsTab';
-import { SettingsApplicationCustomTab } from '~/pages/settings/applications/tabs/SettingsApplicationCustomTab';
-import type { SingleTabProps } from '@/ui/layout/tab-list/types/SingleTabProps';
+import { isNewerSemver } from '~/pages/settings/applications/utils/isNewerSemver';
const APPLICATION_DETAIL_ID = 'application-detail-id';
@@ -42,14 +61,133 @@ export const SettingsApplicationDetails = () => {
const application = data?.findOneApplication;
- const applicationName = application?.name ?? t`Application details`;
- const applicationDescription = application?.description ?? undefined;
- const applicationLogoUrl =
- application?.applicationRegistration?.logoUrl ?? undefined;
+ const { data: detailData } = useQuery(FindMarketplaceAppDetailDocument, {
+ variables: { universalIdentifier: application?.universalIdentifier ?? '' },
+ skip: !application?.universalIdentifier,
+ });
+
+ const detail = detailData?.findMarketplaceAppDetail;
+ const manifest = detail?.manifest as Manifest | undefined;
+ const app = manifest?.application;
+
+ const displayName =
+ app?.displayName ?? application?.name ?? t`Application details`;
+ const description = app?.description ?? application?.description ?? undefined;
+ const logoUrl =
+ app?.logoUrl ?? application?.applicationRegistration?.logoUrl ?? undefined;
const settingsCustomTabFrontComponentId =
application?.settingsCustomTabFrontComponentId;
+ const { upgrade, isUpgrading } = useUpgradeApplication();
+
+ const canInstallMarketplaceApps = useHasPermissionFlag(
+ PermissionFlagType.MARKETPLACE_APPS,
+ );
+
+ const sourceType = application?.applicationRegistration?.sourceType;
+ const isNpmApp = sourceType === ApplicationRegistrationSourceType.NPM;
+ const registrationId = detail?.id ?? application?.applicationRegistration?.id;
+ const currentVersion = application?.version;
+ const latestAvailableVersion =
+ detail?.latestAvailableVersion ??
+ application?.applicationRegistration?.latestAvailableVersion;
+
+ const hasUpdate =
+ isNpmApp &&
+ isDefined(latestAvailableVersion) &&
+ isDefined(currentVersion) &&
+ isNewerSemver(latestAvailableVersion, currentVersion);
+
+ const handleUpgrade = async () => {
+ if (!isDefined(registrationId) || !isDefined(latestAvailableVersion)) {
+ return;
+ }
+
+ await upgrade({
+ appRegistrationId: registrationId,
+ targetVersion: latestAvailableVersion,
+ });
+ };
+
+ const [uninstallApplication] = useMutation(UninstallApplicationDocument);
+ const [isUninstalling, setIsUninstalling] = useState(false);
+ const { enqueueErrorSnackBar, enqueueSuccessSnackBar } = useSnackBar();
+ const navigate = useNavigateSettings();
+
+ const handleUninstall = async () => {
+ if (!isDefined(application)) return;
+
+ setIsUninstalling(true);
+ try {
+ await uninstallApplication({
+ variables: { universalIdentifier: application.universalIdentifier },
+ });
+ enqueueSuccessSnackBar({
+ message: t`Application successfully uninstalled.`,
+ });
+ navigate(SettingsPath.Applications);
+ } catch {
+ enqueueErrorSnackBar({ message: t`Error uninstalling application.` });
+ } finally {
+ setIsUninstalling(false);
+ }
+ };
+
+ const objectMetadataItems = useAtomStateValue(objectMetadataItemsSelector);
+
+ const applicationObjectIds = useMemo(
+ () => new Set((application?.objects ?? []).map((obj) => obj.id)),
+ [application?.objects],
+ );
+
+ const appFieldExtensionsCount = useMemo(() => {
+ if (!isDefined(application)) return 0;
+
+ return objectMetadataItems
+ .filter((item) => !applicationObjectIds.has(item.id))
+ .reduce(
+ (total, item) =>
+ total +
+ item.fields.filter((field) => field.applicationId === application.id)
+ .length,
+ 0,
+ );
+ }, [objectMetadataItems, applicationObjectIds, application]);
+
+ const contentEntries = [
+ {
+ icon: IconBox,
+ count: (application?.objects ?? []).length,
+ one: t`object`,
+ many: t`objects`,
+ },
+ {
+ icon: IconListDetails,
+ count: appFieldExtensionsCount,
+ one: t`field`,
+ many: t`fields`,
+ },
+ {
+ icon: IconCommand,
+ count: (application?.logicFunctions ?? []).length,
+ one: t`logic function`,
+ many: t`logic functions`,
+ },
+ {
+ icon: IconGraph,
+ count: (application?.frontComponents ?? []).length,
+ one: t`front component`,
+ many: t`front components`,
+ },
+ {
+ icon: IconLego,
+ count: (application?.agents ?? []).length,
+ one: t`agent`,
+ many: t`agents`,
+ },
+ ];
+
const tabs: SingleTabProps[] = [
{ id: 'about', title: t`About`, Icon: IconInfoCircle },
{ id: 'content', title: t`Content`, Icon: IconBox },
@@ -78,17 +216,55 @@ export const SettingsApplicationDetails = () => {
];
const renderActiveTabContent = () => {
+ if (!isDefined(application)) {
+ return <SettingsApplicationDetailSkeletonLoader />;
+ }
+
switch (activeTabId) {
case 'about':
- return <SettingsApplicationDetailAboutTab application={application} />;
+ return (
+ <SettingsApplicationDetailAboutTab
+ displayName={displayName}
+ description={description}
+ aboutDescription={app?.aboutDescription}
+ screenshots={app?.screenshots}
+ author={app?.author}
+ category={app?.category}
+ contentEntries={contentEntries}
+ currentVersion={currentVersion ?? undefined}
+ latestAvailableVersion={latestAvailableVersion ?? undefined}
+ developerLinks={
+ isDefined(app)
+ ? {
+ websiteUrl: app.websiteUrl,
+ termsUrl: app.termsUrl,
+ emailSupport: app.emailSupport,
+ issueReportUrl: app.issueReportUrl,
+ }
+ : undefined
+ }
+ isInstalled={true}
+ canInstallMarketplaceApps={canInstallMarketplaceApps}
+ hasUpdate={hasUpdate}
+ onUpgrade={handleUpgrade}
+ isUpgrading={isUpgrading}
+ canBeUninstalled={application.canBeUninstalled}
+ onUninstall={handleUninstall}
+ isUninstalling={isUninstalling}
+ />
+ );
case 'content':
return (
- <SettingsApplicationDetailContentTab application={application} />
+ <SettingsApplicationDetailContentTab
+ applicationId={application.id}
+ installedApplication={application}
+ manifestContent={manifest}
+ />
);
case 'permissions':
return (
<SettingsApplicationPermissionsTab
- defaultRoleId={application?.defaultRoleId}
+ defaultRoleId={application.defaultRoleId}
/>
);
case 'settings':
@@ -114,9 +290,9 @@ export const SettingsApplicationDetails = () => {
<SubMenuTopBarContainer
title={
<SettingsApplicationDetailTitle
- displayName={applicationName}
- description={applicationDescription}
- logoUrl={applicationLogoUrl}
+ displayName={displayName}
+ description={description}
+ logoUrl={logoUrl}
/>
}
links={[
@@ -128,16 +304,12 @@ export const SettingsApplicationDetails = () => {
children: t`Applications`,
href: getSettingsPath(SettingsPath.Applications),
},
- { children: applicationName },
+ { children: displayName },
]}
>
<SettingsPageContainer>
<TabList tabs={tabs} componentInstanceId={APPLICATION_DETAIL_ID} />
- {!isDefined(application) ? (
- <SettingsApplicationDetailSkeletonLoader />
- ) : (
- renderActiveTabContent()
- )}
+ {renderActiveTabContent()}
</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 52754bc316f..3e15103af98 100644
--- a/packages/twenty-front/src/pages/settings/applications/SettingsAvailableApplicationDetails.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/SettingsAvailableApplicationDetails.tsx
@@ -1,192 +1,49 @@
-import { LazyMarkdownRenderer } from '@/ai/components/LazyMarkdownRenderer';
import { useInstallMarketplaceApp } from '@/marketplace/hooks/useInstallMarketplaceApp';
+import { useUpgradeApplication } from '@/marketplace/hooks/useUpgradeApplication';
import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';
import { useHasPermissionFlag } from '@/settings/roles/hooks/useHasPermissionFlag';
import { SubMenuTopBarContainer } from '@/ui/layout/page/components/SubMenuTopBarContainer';
import { TabList } from '@/ui/layout/tab-list/components/TabList';
import { activeTabIdComponentState } from '@/ui/layout/tab-list/states/activeTabIdComponentState';
import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';
-import { styled } from '@linaria/react';
+import { useQuery } from '@apollo/client/react';
import { t } from '@lingui/core/macro';
-import { useState } from 'react';
import { useParams } from 'react-router-dom';
import { type Manifest } from 'twenty-shared/application';
import { SettingsPath } from 'twenty-shared/types';
import { getSettingsPath, isDefined } from 'twenty-shared/utils';
import {
- IconAlertTriangle,
IconBook,
IconBox,
- IconBrandNpm,
- IconCheck,
IconCommand,
- IconDownload,
IconGraph,
IconInfoCircle,
IconLego,
- IconLink,
IconListDetails,
IconLock,
- IconMail,
- IconSettings,
IconShield,
- IconUpload,
- IconWorld,
} from 'twenty-ui/display';
-import { Button } from 'twenty-ui/input';
-import { Section } from 'twenty-ui/layout';
-import { themeCssVariables } from 'twenty-ui/theme-constants';
-import { useQuery } from '@apollo/client/react';
import {
- PermissionFlagType,
- FindOneApplicationByUniversalIdentifierDocument,
- FindMarketplaceAppDetailDocument,
ApplicationRegistrationSourceType,
+ FindMarketplaceAppDetailDocument,
+ FindOneApplicationByUniversalIdentifierDocument,
+ PermissionFlagType,
} from '~/generated-metadata/graphql';
-import { SettingsApplicationPermissionsTab } from '~/pages/settings/applications/tabs/SettingsApplicationPermissionsTab';
-import { SettingsAvailableApplicationDetailContentTab } from '~/pages/settings/applications/tabs/SettingsAvailableApplicationDetailContentTab';
import { SettingsApplicationDetailTitle } from '~/pages/settings/applications/components/SettingsApplicationDetailTitle';
+import { SettingsApplicationDetailAboutTab } from '~/pages/settings/applications/tabs/SettingsApplicationDetailAboutTab';
+import { SettingsApplicationDetailContentTab } from '~/pages/settings/applications/tabs/SettingsApplicationDetailContentTab';
+import { SettingsApplicationPermissionsTab } from '~/pages/settings/applications/tabs/SettingsApplicationPermissionsTab';
import { isNewerSemver } from '~/pages/settings/applications/utils/isNewerSemver';
-import { useUpgradeApplication } from '@/marketplace/hooks/useUpgradeApplication';
-import { SettingsApplicationDetailSettingsTab } from '~/pages/settings/applications/tabs/SettingsApplicationDetailSettingsTab';
const AVAILABLE_APPLICATION_DETAIL_ID = 'available-application-detail';
-const StyledContentContainer = styled.div`
- display: flex;
- gap: ${themeCssVariables.spacing[4]};
-`;
-
-const StyledMainContent = styled.div`
- flex: 1;
- min-width: 0;
- overflow: hidden;
-`;
-
-const StyledSidebar = styled.div`
- flex-shrink: 0;
- width: 140px;
-`;
-
-const StyledSidebarSection = styled.div`
- padding: ${themeCssVariables.spacing[3]} 0;
-
- &:first-of-type {
- padding-top: 0;
- }
-`;
-
-const StyledSidebarLabel = styled.div`
- color: ${themeCssVariables.font.color.tertiary};
- font-size: ${themeCssVariables.font.size.sm};
- margin-bottom: ${themeCssVariables.spacing[2]};
-`;
-
-const StyledSidebarValue = styled.div`
- color: ${themeCssVariables.font.color.primary};
- font-size: ${themeCssVariables.font.size.md};
- font-weight: ${themeCssVariables.font.weight.medium};
-`;
-
-const StyledContentItem = styled.div`
- align-items: center;
- color: ${themeCssVariables.font.color.primary};
- display: flex;
- font-size: ${themeCssVariables.font.size.sm};
- gap: ${themeCssVariables.spacing[2]};
- margin-bottom: ${themeCssVariables.spacing[2]};
-
- &:last-of-type {
- margin-bottom: 0;
- }
-`;
-
-const StyledLink = styled.a`
- align-items: center;
- color: ${themeCssVariables.font.color.primary};
- display: flex;
- font-size: ${themeCssVariables.font.size.sm};
- gap: ${themeCssVariables.spacing[2]};
- margin-bottom: ${themeCssVariables.spacing[2]};
- text-decoration: none;
-
- &:hover {
- text-decoration: underline;
- }
-
- &:last-of-type {
- margin-bottom: 0;
- }
-`;
-
-const StyledScreenshotsContainer = styled.div`
- align-items: center;
- background-color: ${themeCssVariables.background.secondary};
- border: 1px solid ${themeCssVariables.border.color.medium};
- border-radius: ${themeCssVariables.border.radius.md};
- display: flex;
- height: 300px;
- justify-content: center;
- margin-bottom: ${themeCssVariables.spacing[2]};
- overflow: hidden;
-`;
-
-const StyledScreenshotImage = styled.img`
- height: 100%;
- object-fit: contain;
- width: 100%;
-`;
-
-const StyledScreenshotThumbnails = styled.div`
- display: flex;
- gap: ${themeCssVariables.spacing[2]};
- margin-bottom: ${themeCssVariables.spacing[6]};
-`;
-
-const StyledThumbnail = styled.div<{ isSelected?: boolean }>`
- align-items: center;
- background-color: ${themeCssVariables.background.secondary};
- border: 1px solid
- ${({ isSelected }) =>
- isSelected
- ? themeCssVariables.color.blue
- : themeCssVariables.border.color.medium};
- border-radius: ${themeCssVariables.border.radius.sm};
- cursor: pointer;
- display: flex;
- flex: 1;
- height: 60px;
- justify-content: center;
- overflow: hidden;
-
- &:hover {
- border-color: ${themeCssVariables.color.blue};
- }
-`;
-
-const StyledThumbnailImage = styled.img`
- height: 100%;
- object-fit: contain;
- width: 100%;
-`;
-
-const StyledSectionTitle = styled.h2`
- color: ${themeCssVariables.font.color.primary};
- font-size: ${themeCssVariables.font.size.xl};
- font-weight: ${themeCssVariables.font.weight.semiBold};
- margin: 0 0 ${themeCssVariables.spacing[3]} 0;
-`;
-
-const StyledAboutContainer = styled.div``;
-
export const SettingsAvailableApplicationDetails = () => {
const { availableApplicationId = '' } = useParams<{
availableApplicationId: string;
}>();
- const [selectedScreenshotIndex, setSelectedScreenshotIndex] = useState(0);
-
const { install, isInstalling } = useInstallMarketplaceApp();
+ const { upgrade, isUpgrading } = useUpgradeApplication();
const canInstallMarketplaceApps = useHasPermissionFlag(
PermissionFlagType.MARKETPLACE_APPS,
@@ -213,8 +70,6 @@ export const SettingsAvailableApplicationDetails = () => {
const displayName = app?.displayName ?? detail?.name ?? '';
const description = app?.description ?? '';
- const screenshots = app?.screenshots ?? [];
- const aboutDescription = app?.aboutDescription;
const currentVersion = application?.version;
const latestAvailableVersion = detail?.latestAvailableVersion;
@@ -228,14 +83,18 @@ export const SettingsAvailableApplicationDetails = () => {
: undefined;
const isUnlisted = isDefined(detail) && !detail.isListed;
- const installedApp = applicationData?.findOneApplication;
- const isAlreadyInstalled = isDefined(installedApp);
- const hasScreenshots = screenshots.length > 0;
+ const isAlreadyInstalled = isDefined(application);
const defaultRole = manifest?.roles?.find(
(r) => r.universalIdentifier === app?.defaultRoleUniversalIdentifier,
);
+ const hasUpdate =
+ isNpmApp &&
+ isDefined(latestAvailableVersion) &&
+ isDefined(currentVersion) &&
+ isNewerSemver(latestAvailableVersion, currentVersion);
+
const handleInstall = async () => {
if (isDefined(detail)) {
await install({
@@ -244,14 +103,6 @@ export const SettingsAvailableApplicationDetails = () => {
}
};
- const hasUpdate =
- isNpmApp &&
- isDefined(latestAvailableVersion) &&
- isDefined(currentVersion) &&
- isNewerSemver(latestAvailableVersion, currentVersion);
-
- const { upgrade, isUpgrading } = useUpgradeApplication();
-
const handleUpgrade = async () => {
if (!isDefined(registrationId) || !isDefined(latestAvailableVersion)) {
return;
@@ -263,55 +114,6 @@ export const SettingsAvailableApplicationDetails = () => {
});
};
- const getActionButton = () => {
- if (!canInstallMarketplaceApps) {
- return null;
- }
- if (!isAlreadyInstalled) {
- return (
- <StyledSidebarSection>
- <Button
- Icon={IconDownload}
- title={isInstalling ? t`Installing...` : t`Install`}
- variant={'primary'}
- accent={'blue'}
- onClick={handleInstall}
- disabled={isInstalling}
- />
- </StyledSidebarSection>
- );
- }
- if (hasUpdate && isDefined(registrationId)) {
- return (
- <StyledSidebarSection>
- <Button
- Icon={IconUpload}
- title={
- isUpgrading
- ? t`Upgrading...`
- : t`Upgrade to ${latestAvailableVersion}`
- }
- variant={'secondary'}
- accent={'blue'}
- onClick={handleUpgrade}
- disabled={isUpgrading}
- />
- </StyledSidebarSection>
- );
- }
- return (
- <StyledSidebarSection>
- <Button
- Icon={IconCheck}
- title={t`Installed`}
- variant={'secondary'}
- accent={'default'}
- disabled={isAlreadyInstalled}
- />
- </StyledSidebarSection>
- );
- };
-
const contentEntries = [
{
icon: IconBox,
@@ -373,7 +175,7 @@ export const SettingsAvailableApplicationDetails = () => {
one: t`agent`,
many: t`agents`,
},
- ].filter((entry) => entry.count > 0);
+ ];
const activeTabId = useAtomComponentStateValue(
activeTabIdComponentState,
@@ -384,7 +186,6 @@ export const SettingsAvailableApplicationDetails = () => {
{ id: 'about', title: t`About`, Icon: IconInfoCircle },
{ id: 'content', title: t`Content`, Icon: IconBox },
{ id: 'permissions', title: t`Permissions`, Icon: IconLock },
- { id: 'settings', title: t`Settings`, Icon: IconSettings },
];
const renderActiveTabContent = () => {
@@ -393,158 +194,41 @@ export const SettingsAvailableApplicationDetails = () => {
switch (activeTabId) {
case 'about':
return (
- <>
- {hasScreenshots && (
- <StyledAboutContainer>
- <StyledScreenshotsContainer>
- <StyledScreenshotImage
- src={screenshots[selectedScreenshotIndex]}
- alt={`${displayName} screenshot ${selectedScreenshotIndex + 1}`}
- />
- </StyledScreenshotsContainer>
- <StyledScreenshotThumbnails>
- {screenshots.slice(0, 6).map((screenshot, index) => (
- <StyledThumbnail
- key={index}
- isSelected={index === selectedScreenshotIndex}
- onClick={() => setSelectedScreenshotIndex(index)}
- >
- <StyledThumbnailImage
- src={screenshot}
- alt={`${displayName} thumbnail ${index + 1}`}
- />
- </StyledThumbnail>
- ))}
- </StyledScreenshotThumbnails>
- </StyledAboutContainer>
- )}
-
- <StyledContentContainer>
- <StyledMainContent>
- <Section>
- <StyledSectionTitle>{t`About`}</StyledSectionTitle>
- <LazyMarkdownRenderer
- text={
- aboutDescription
- ? aboutDescription
- : t`No description available for this application`
- }
- />
- </Section>
- </StyledMainContent>
-
- <StyledSidebar>
- {getActionButton()}
- <StyledSidebarSection>
- <StyledSidebarLabel>{t`Created by`}</StyledSidebarLabel>
- <StyledSidebarValue>
- {app?.author ?? 'Unknown'}
- </StyledSidebarValue>
- </StyledSidebarSection>
-
- {app?.category && (
- <StyledSidebarSection>
- <StyledSidebarLabel>{t`Category`}</StyledSidebarLabel>
- <StyledSidebarValue>{app.category}</StyledSidebarValue>
- </StyledSidebarSection>
- )}
-
- {contentEntries.length > 0 && (
- <StyledSidebarSection>
- <StyledSidebarLabel>{t`Content`}</StyledSidebarLabel>
- {contentEntries.map((entry) => (
- <StyledContentItem key={entry.one}>
- <entry.icon size={16} />
- {entry.count}{' '}
- {entry.count === 1 ? entry.one : entry.many}
- </StyledContentItem>
- ))}
- </StyledSidebarSection>
- )}
-
- {isAlreadyInstalled && (
- <StyledSidebarSection>
- <StyledSidebarLabel>{t`Current`}</StyledSidebarLabel>
- <StyledSidebarValue>
- {installedApp?.version ?? t`Unknown`}
- </StyledSidebarValue>
- </StyledSidebarSection>
- )}
-
- <StyledSidebarSection>
- <StyledSidebarLabel>{t`Latest`}</StyledSidebarLabel>
- <StyledSidebarValue>
- {detail.latestAvailableVersion ?? '0.0.0'}
- </StyledSidebarValue>
- </StyledSidebarSection>
-
- {(app?.websiteUrl ||
- app?.termsUrl ||
- app?.emailSupport ||
- app?.issueReportUrl) && (
- <StyledSidebarSection>
- <StyledSidebarLabel>{t`Developers links`}</StyledSidebarLabel>
- {app?.websiteUrl && (
- <StyledLink
- href={app.websiteUrl}
- target="_blank"
- rel="noopener noreferrer"
- >
- <IconWorld size={16} />
- {t`Website`}
- </StyledLink>
- )}
- {app?.termsUrl && (
- <StyledLink
- href={app.termsUrl}
- target="_blank"
- rel="noopener noreferrer"
- >
- <IconLink size={16} />
- {t`Terms / Privacy`}
- </StyledLink>
- )}
- {app?.emailSupport && (
- <StyledLink
- href={`mailto:${app.emailSupport}`}
- target="_blank"
- rel="noopener noreferrer"
- >
- <IconMail size={16} />
- {t`Email support`}
- </StyledLink>
- )}
- {app?.issueReportUrl && (
- <StyledLink
- href={app.issueReportUrl}
- target="_blank"
- rel="noopener noreferrer"
- >
- <IconAlertTriangle size={16} />
- {t`Report and issue`}
- </StyledLink>
- )}
- {sourcePackageUrl && (
- <StyledLink
- href={sourcePackageUrl}
- target="_blank"
- rel="noopener noreferrer"
- >
- <IconBrandNpm size={16} />
- {t`Npm package`}
- </StyledLink>
- )}
- </StyledSidebarSection>
- )}
- </StyledSidebar>
- </StyledContentContainer>
- </>
+ <SettingsApplicationDetailAboutTab
+ displayName={displayName}
+ description={description}
+ aboutDescription={app?.aboutDescription}
+ screenshots={app?.screenshots}
+ author={app?.author ?? 'Unknown'}
+ category={app?.category}
+ contentEntries={contentEntries}
+ currentVersion={
+ isAlreadyInstalled
+ ? (application.version ?? undefined)
+ : undefined
+ }
+ latestAvailableVersion={detail.latestAvailableVersion ?? '0.0.0'}
+ developerLinks={{
+ websiteUrl: app?.websiteUrl,
+ termsUrl: app?.termsUrl,
+ emailSupport: app?.emailSupport,
+ issueReportUrl: app?.issueReportUrl,
+ sourcePackageUrl,
+ }}
+ isInstalled={isAlreadyInstalled}
+ canInstallMarketplaceApps={canInstallMarketplaceApps}
+ onInstall={handleInstall}
+ isInstalling={isInstalling}
+ hasUpdate={hasUpdate}
+ onUpgrade={handleUpgrade}
+ isUpgrading={isUpgrading}
+ />
);
case 'content':
return (
- <SettingsAvailableApplicationDetailContentTab
+ <SettingsApplicationDetailContentTab
applicationId={detail.universalIdentifier}
- content={manifest}
+ manifestContent={manifest}
/>
);
case 'permissions':
@@ -554,10 +238,7 @@ export const SettingsAvailableApplicationDetails = () => {
marketplaceAppObjects={manifest?.objects}
/>
);
- case 'settings':
- return (
- <SettingsApplicationDetailSettingsTab application={application} />
- );
+
default:
return null;
}
diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationDataTableRow.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationDataTableRow.tsx
index 9b989015270..a0ecaeb69f2 100644
--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationDataTableRow.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationDataTableRow.tsx
@@ -37,11 +37,13 @@ export const SettingsApplicationDataTableRow = ({
</TableCell>
<TableCell align="right">{row.fieldsCount}</TableCell>
<StyledActionTableCell>
- <IconChevronRight
- size={theme.icon.size.md}
- stroke={theme.icon.stroke.sm}
- color={theme.font.color.tertiary}
- />
+ {row.link && (
+ <IconChevronRight
+ size={theme.icon.size.md}
+ stroke={theme.icon.stroke.sm}
+ color={theme.font.color.tertiary}
+ />
+ )}
</StyledActionTableCell>
</TableRow>
);
diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationNameDescriptionTable.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationNameDescriptionTable.tsx
index 4e3d233e82c..df85ff29d61 100644
--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationNameDescriptionTable.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationNameDescriptionTable.tsx
@@ -8,7 +8,8 @@ import { H2Title } from 'twenty-ui/display';
import { Section } from 'twenty-ui/layout';
import { themeCssVariables } from 'twenty-ui/theme-constants';
-type SettingsApplicationNameDescriptionTableItem = {
+export type ApplicationNameDescriptionTableRow = {
+ key: string;
name: string;
description?: string | null;
};
@@ -22,7 +23,7 @@ export const SettingsApplicationNameDescriptionTable = ({
title: string;
description: string;
sectionTitle: string;
- items: SettingsApplicationNameDescriptionTableItem[];
+ items: ApplicationNameDescriptionTableRow[];
}) => {
if (items.length === 0) {
return null;
@@ -38,7 +39,7 @@ export const SettingsApplicationNameDescriptionTable = ({
</TableRow>
<TableSection title={sectionTitle}>
{items.map((item) => (
- <TableRow key={item.name} gridAutoColumns="180px 1fr">
+ <TableRow key={item.key} gridAutoColumns="180px 1fr">
<TableCell
color={themeCssVariables.font.color.primary}
gap={themeCssVariables.spacing[2]}
diff --git a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationVersionContainer.tsx b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationVersionContainer.tsx
index 93b3783e642..0839dc9cd10 100644
--- a/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationVersionContainer.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/components/SettingsApplicationVersionContainer.tsx
@@ -24,7 +24,10 @@ export const SettingsApplicationVersionContainer = ({
latestAvailableVersion,
appRegistrationId,
}: {
- application?: Omit<Application, 'objects' | 'universalIdentifier'> & {
+ application?: Omit<
+ Application,
+ 'objects' | 'universalIdentifier' | 'frontComponents'
+ > & {
objects: { id: string }[];
};
latestAvailableVersion?: string | null;
diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailAboutTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailAboutTab.tsx
index 437cdf016f6..346799ccb46 100644
--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailAboutTab.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailAboutTab.tsx
@@ -1,106 +1,182 @@
+import { LazyMarkdownRenderer } from '@/ai/components/LazyMarkdownRenderer';
+import { ConfirmationModal } from '@/ui/layout/modal/components/ConfirmationModal';
+import { useModal } from '@/ui/layout/modal/hooks/useModal';
+import { styled } from '@linaria/react';
import { t } from '@lingui/core/macro';
+import { Trans } from '@lingui/react/macro';
import { isDefined } from 'twenty-shared/utils';
-import { H2Title, IconTrash, AppTooltip } from 'twenty-ui/display';
-import { Section } from 'twenty-ui/layout';
-import { SettingsApplicationVersionContainer } from '~/pages/settings/applications/components/SettingsApplicationVersionContainer';
+import {
+ IconCheck,
+ IconDownload,
+ IconTrash,
+ IconUpload,
+} from 'twenty-ui/display';
import { Button } from 'twenty-ui/input';
-import { ConfirmationModal } from '@/ui/layout/modal/components/ConfirmationModal';
-import { Trans } from '@lingui/react/macro';
-import { SettingsPath } from 'twenty-shared/types';
-import { useModal } from '@/ui/layout/modal/hooks/useModal';
-import { useState } from 'react';
-import { useMutation } from '@apollo/client/react';
+import { Section } from 'twenty-ui/layout';
+import { themeCssVariables } from 'twenty-ui/theme-constants';
import {
- type Application,
- UninstallApplicationDocument,
-} from '~/generated-metadata/graphql';
-import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';
-import { useNavigateSettings } from '~/hooks/useNavigateSettings';
+ type ContentEntry,
+ type DeveloperLinks,
+ SettingsApplicationAboutSidebar,
+} from '@/settings/applications/components/SettingsApplicationAboutSidebar';
+import { SettingsApplicationScreenshotGallery } from '@/settings/applications/components/SettingsApplicationScreenshotGallery';
const UNINSTALL_APPLICATION_MODAL_ID = 'uninstall-application-modal';
-export const SettingsApplicationDetailAboutTab = ({
- application,
-}: {
- application?: Omit<Application, 'objects'> & {
- objects: { id: string }[];
- };
-}) => {
- const { openModal } = useModal();
+type SettingsApplicationDetailAboutTabProps = {
+ displayName: string;
+ description?: string;
+ aboutDescription?: string;
+ screenshots?: string[];
+ author?: string;
+ category?: string;
+ contentEntries?: ContentEntry[];
+ currentVersion?: string;
+ latestAvailableVersion?: string;
+ developerLinks?: DeveloperLinks;
+ isInstalled: boolean;
+ canInstallMarketplaceApps?: boolean;
+ onInstall?: () => void;
+ isInstalling?: boolean;
+ hasUpdate?: boolean;
+ onUpgrade?: () => void;
+ isUpgrading?: boolean;
+ canBeUninstalled?: boolean;
+ onUninstall?: () => void;
+ isUninstalling?: boolean;
+};
- const [isLoading, setIsLoading] = useState(false);
+const StyledContentContainer = styled.div`
+ display: flex;
+ gap: ${themeCssVariables.spacing[4]};
+`;
- const { enqueueErrorSnackBar, enqueueSuccessSnackBar } = useSnackBar();
+const StyledMainContent = styled.div`
+ flex: 1;
+ min-width: 0;
+ overflow: hidden;
+`;
- const [uninstallApplication] = useMutation(UninstallApplicationDocument);
+export const SettingsApplicationDetailAboutTab = ({
+ displayName,
+ description,
+ aboutDescription,
+ screenshots,
+ author,
+ category,
+ contentEntries,
+ currentVersion,
+ latestAvailableVersion,
+ developerLinks,
+ isInstalled,
+ canInstallMarketplaceApps,
+ onInstall,
+ isInstalling,
+ hasUpdate,
+ onUpgrade,
+ isUpgrading,
+ canBeUninstalled,
+ onUninstall,
+ isUninstalling,
+}: SettingsApplicationDetailAboutTabProps) => {
+ const { openModal } = useModal();
- const navigate = useNavigateSettings();
+ const hasScreenshots = isDefined(screenshots) && screenshots.length > 0;
- const registrationId = application?.applicationRegistrationId;
+ const markdownText =
+ aboutDescription ??
+ description ??
+ t`No description available for this application`;
- const latestAvailableVersion =
- application?.applicationRegistration?.latestAvailableVersion ?? null;
+ const getActionButton = () => {
+ if (!canInstallMarketplaceApps) {
+ return null;
+ }
- if (!isDefined(application)) {
- return null;
- }
+ if (!isInstalled) {
+ return (
+ <Button
+ Icon={IconDownload}
+ title={isInstalling ? t`Installing...` : t`Install`}
+ variant={'primary'}
+ accent={'blue'}
+ onClick={onInstall}
+ disabled={isInstalling}
+ />
+ );
+ }
- const handleUninstallApplication = async () => {
- setIsLoading(true);
- try {
- await uninstallApplication({
- variables: { universalIdentifier: application.universalIdentifier },
- });
+ if (hasUpdate) {
+ return (
+ <Button
+ Icon={IconUpload}
+ title={
+ isUpgrading
+ ? t`Upgrading...`
+ : t`Upgrade to ${latestAvailableVersion}`
+ }
+ variant={'secondary'}
+ accent={'blue'}
+ onClick={onUpgrade}
+ disabled={isUpgrading}
+ />
+ );
+ }
- enqueueSuccessSnackBar({
- message: t`Application successfully uninstalled.`,
- });
- navigate(SettingsPath.Applications);
- } catch {
- enqueueErrorSnackBar({ message: t`Error uninstalling application.` });
- } finally {
- setIsLoading(false);
+ if (canBeUninstalled) {
+ return (
+ <Button
+ Icon={IconTrash}
+ title={isUninstalling ? t`Uninstalling...` : t`Uninstall`}
+ variant={'secondary'}
+ accent={'danger'}
+ onClick={() => openModal(UNINSTALL_APPLICATION_MODAL_ID)}
+ disabled={isUninstalling}
+ />
+ );
}
+
+ return (
+ <Button
+ Icon={IconCheck}
+ title={t`Installed`}
+ variant={'secondary'}
+ accent={'default'}
+ disabled={true}
+ />
+ );
};
const confirmationValue = t`yes`;
return (
<>
- <Section>
- <SettingsApplicationVersionContainer
- application={application}
+ {hasScreenshots && (
+ <SettingsApplicationScreenshotGallery
+ screenshots={screenshots}
+ displayName={displayName}
+ />
+ )}
+
+ <StyledContentContainer>
+ <StyledMainContent>
+ <Section>
+ <LazyMarkdownRenderer text={markdownText} />
+ </Section>
+ </StyledMainContent>
+
+ <SettingsApplicationAboutSidebar
+ actionButton={getActionButton()}
+ author={author}
+ category={category}
+ contentEntries={contentEntries}
+ currentVersion={currentVersion}
latestAvailableVersion={latestAvailableVersion}
- appRegistrationId={registrationId}
+ developerLinks={developerLinks}
/>
- </Section>
- <>
- <Section>
- <H2Title
- title={t`Manage your app`}
- description={t`Uninstall this application`}
- />
- <Button
- accent="danger"
- id={'uninstall-button-anchor'}
- variant="secondary"
- title={t`Uninstall`}
- Icon={IconTrash}
- disabled={!application.canBeUninstalled}
- onClick={() =>
- application.canBeUninstalled
- ? openModal(UNINSTALL_APPLICATION_MODAL_ID)
- : null
- }
- />
- {!application.canBeUninstalled && (
- <AppTooltip
- anchorSelect={`#uninstall-button-anchor`}
- content={t`This application is required for your workspace to function properly and cannot be uninstalled.`}
- place="bottom-start"
- />
- )}
- </Section>
+ </StyledContentContainer>
+
+ {canBeUninstalled && isDefined(onUninstall) && (
<ConfirmationModal
confirmationPlaceholder={confirmationValue}
confirmationValue={confirmationValue}
@@ -112,11 +188,11 @@ export const SettingsApplicationDetailAboutTab = ({
uninstall this application.
</Trans>
}
- onConfirmClick={handleUninstallApplication}
+ onConfirmClick={onUninstall}
confirmButtonText={t`Uninstall`}
- loading={isLoading}
+ loading={isUninstalling}
/>
- </>
+ )}
</>
);
};
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 4733a3d5e7c..835ff81eb89 100644
--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailContentTab.tsx
+++ b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsApplicationDetailContentTab.tsx
@@ -1,122 +1,97 @@
-import { objectMetadataItemsSelector } from '@/object-metadata/states/objectMetadataItemsSelector';
-import { isHiddenSystemField } from '@/object-metadata/utils/isHiddenSystemField';
-import { SettingsLogicFunctionsTable } from '@/settings/logic-functions/components/SettingsLogicFunctionsTable';
+import {
+ type LogicFunctionTableRow,
+ SettingsLogicFunctionsTable,
+} from '@/settings/logic-functions/components/SettingsLogicFunctionsTable';
+import { useObjectAndFieldRows } from '@/settings/applications/hooks/useObjectAndFieldRows';
import { t } from '@lingui/core/macro';
import { useMemo } from 'react';
-import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';
+import { type Manifest } from 'twenty-shared/application';
import { SettingsPath } from 'twenty-shared/types';
import { getSettingsPath, isDefined } from 'twenty-shared/utils';
import { H2Title } from 'twenty-ui/display';
import { Section } from 'twenty-ui/layout';
import { type Application } from '~/generated-metadata/graphql';
-import { SettingsAiAgentsTable } from '~/pages/settings/ai/components/SettingsAiAgentsTable';
+import { SettingsApplicationDataTable } from '~/pages/settings/applications/components/SettingsApplicationDataTable';
import {
- SettingsApplicationDataTable,
- type ApplicationDataTableRow,
-} from '~/pages/settings/applications/components/SettingsApplicationDataTable';
-
-export const SettingsApplicationDetailContentTab = ({
- application,
-}: {
- application?: Omit<Application, 'objects' | 'universalIdentifier'> & {
- objects: { id: string }[];
- };
-}) => {
- const objectMetadataItems = useAtomStateValue(objectMetadataItemsSelector);
-
- const applicationObjectIds = useMemo(
- () => application?.objects.map((object) => object.id) ?? [],
- [application?.objects],
- );
-
- const objectRows = useMemo((): ApplicationDataTableRow[] => {
- if (!isDefined(application) || application.objects.length === 0) {
- return [];
- }
-
- return objectMetadataItems
- .filter((objectMetadataItem) =>
- applicationObjectIds.includes(objectMetadataItem.id),
- )
- .map((objectMetadataItem) => {
- const nonSystemFields = objectMetadataItem.fields.filter(
- (field) => !isHiddenSystemField(field),
- );
+ type ApplicationNameDescriptionTableRow,
+ SettingsApplicationNameDescriptionTable,
+} from '~/pages/settings/applications/components/SettingsApplicationNameDescriptionTable';
+
+type InstalledApplicationForContentTab = Omit<
+ Application,
+ 'objects' | 'universalIdentifier' | 'frontComponents'
+> & {
+ objects: { id: string }[];
+ frontComponents?: { name: string; description?: string | null }[];
+};
- return {
- key: objectMetadataItem.nameSingular,
- labelPlural: objectMetadataItem.labelPlural,
- icon: objectMetadataItem.icon ?? undefined,
- fieldsCount: nonSystemFields.length,
- link: getSettingsPath(SettingsPath.ObjectDetail, {
- objectNamePlural: objectMetadataItem.namePlural,
- }),
- tagItem: {
- isCustom: objectMetadataItem.isCustom,
- isRemote: objectMetadataItem.isRemote,
- applicationId: objectMetadataItem.applicationId,
- },
- };
- });
- }, [application, objectMetadataItems, applicationObjectIds]);
+type SettingsApplicationDetailContentTabProps = {
+ applicationId: string;
+ installedApplication?: InstalledApplicationForContentTab;
+ manifestContent?: Manifest;
+};
- const fieldGroupRows = useMemo((): ApplicationDataTableRow[] => {
- if (!isDefined(application)) {
- return [];
+export const SettingsApplicationDetailContentTab = ({
+ applicationId,
+ installedApplication,
+ manifestContent,
+}: SettingsApplicationDetailContentTabProps) => {
+ const { objectRows, fieldGroupRows } = useObjectAndFieldRows({
+ applicationId,
+ installedApplication,
+ manifestContent,
+ });
+
+ const logicFunctionRows = useMemo((): LogicFunctionTableRow[] => {
+ const computeTrigger = (lf: {
+ isTool?: boolean;
+ cronTriggerSettings?: unknown;
+ httpRouteTriggerSettings?: unknown;
+ databaseEventTriggerSettings?: { eventName?: string } | null;
+ }): string => {
+ if (lf.isTool) return 'Tool';
+ if (lf.cronTriggerSettings) return 'Cron';
+ if (lf.httpRouteTriggerSettings) return 'Route';
+ if (lf.databaseEventTriggerSettings)
+ return lf.databaseEventTriggerSettings.eventName ?? '';
+ return '';
+ };
+
+ if (isDefined(installedApplication)) {
+ return (installedApplication.logicFunctions ?? []).map((lf) => ({
+ key: lf.id,
+ name: lf.name,
+ trigger: computeTrigger(lf),
+ link: getSettingsPath(SettingsPath.ApplicationLogicFunctionDetail, {
+ applicationId,
+ logicFunctionId: lf.id,
+ }),
+ }));
}
- const FIELD_GROUP_DENY_LIST = ['timelineActivity', 'favorite'];
-
- return objectMetadataItems
- .filter((objectMetadataItem) => {
- if (applicationObjectIds.includes(objectMetadataItem.id)) {
- return false;
- }
-
- if (FIELD_GROUP_DENY_LIST.includes(objectMetadataItem.nameSingular)) {
- return false;
- }
-
- const appFields = objectMetadataItem.fields.filter(
- (field) => field.applicationId === application.id,
- );
-
- return appFields.length > 0;
- })
- .map((objectMetadataItem) => {
- const appFieldsCount = objectMetadataItem.fields.filter(
- (field) => field.applicationId === application.id,
- ).length;
-
- return {
- key: objectMetadataItem.nameSingular,
- labelPlural: objectMetadataItem.labelPlural,
- icon: objectMetadataItem.icon ?? undefined,
- fieldsCount: appFieldsCount,
- link: getSettingsPath(SettingsPath.ObjectDetail, {
- objectNamePlural: objectMetadataItem.namePlural,
- }),
- tagItem: {
- isCustom: objectMetadataItem.isCustom,
- isRemote: objectMetadataItem.isRemote,
- applicationId: objectMetadataItem.applicationId,
- },
- };
- });
- }, [objectMetadataItems, applicationObjectIds, application]);
-
- if (!isDefined(application)) {
- return null;
- }
-
- const { logicFunctions } = application;
-
- const shouldDisplayLogicFunctions =
- isDefined(logicFunctions) && logicFunctions?.length > 0;
-
- // TODO: uncomment when adding back agents in application settings
- // const shouldDisplayAgents = isDefined(agents) && agents.length > 0;
- const shouldDisplayAgents = false;
+ return (manifestContent?.logicFunctions ?? []).map((lf) => ({
+ key: lf.universalIdentifier,
+ name: lf.name ?? lf.universalIdentifier,
+ trigger: computeTrigger(lf),
+ }));
+ }, [installedApplication, manifestContent?.logicFunctions, applicationId]);
+
+ const frontComponentRows =
+ useMemo((): ApplicationNameDescriptionTableRow[] => {
+ if (isDefined(installedApplication)) {
+ return (installedApplication.frontComponents ?? []).map((fc) => ({
+ key: fc.name,
+ name: fc.name,
+ description: fc.description,
+ }));
+ }
+
+ return (manifestContent?.frontComponents ?? []).map((fc) => ({
+ key: fc.universalIdentifier,
+ name: fc.name ?? fc.universalIdentifier,
+ description: fc.description,
+ }));
+ }, [installedApplication, manifestContent?.frontComponents]);
return (
<>
@@ -124,24 +99,21 @@ export const SettingsApplicationDetailContentTab = ({
objectRows={objectRows}
fieldGroupRows={fieldGroupRows}
/>
- {shouldDisplayLogicFunctions && (
+ {logicFunctionRows.length > 0 && (
<Section>
<H2Title
title={t`Logic`}
description={t`Logic functions powering this app`}
/>
- <SettingsLogicFunctionsTable logicFunctions={logicFunctions} />
- </Section>
- )}
- {shouldDisplayAgents && (
- <Section>
- <H2Title
- title={t`Agents`}
- description={t`Agents powering this app`}
- />
- <SettingsAiAgentsTable />
+ <SettingsLogicFunctionsTable logicFunctions={logicFunctionRows} />
</Section>
)}
+ <SettingsApplicationNameDescriptionTable
+ title={t`Front components`}
+ description={t`UI components provided by this app`}
+ sectionTitle={t`Front components`}
+ items={frontComponentRows}
+ />
</>
);
};
diff --git a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsAvailableApplicationDetailContentTab.tsx b/packages/twenty-front/src/pages/settings/applications/tabs/SettingsAvailableApplicationDetailContentTab.tsx
deleted file mode 100644
index 9bc88c5c425..00000000000
--- a/packages/twenty-front/src/pages/settings/applications/tabs/SettingsAvailableApplicationDetailContentTab.tsx
+++ /dev/null
@@ -1,196 +0,0 @@
-import { objectMetadataItemsSelector } from '@/object-metadata/states/objectMetadataItemsSelector';
-import { t } from '@lingui/core/macro';
-import { useMemo } from 'react';
-import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';
-import { type Manifest } from 'twenty-shared/application';
-import { SettingsPath } from 'twenty-shared/types';
-import { getSettingsPath, isDefined } from 'twenty-shared/utils';
-import {
- type ApplicationDataTableRow,
- SettingsApplicationDataTable,
-} from '~/pages/settings/applications/components/SettingsApplicationDataTable';
-import { SettingsApplicationNameDescriptionTable } from '~/pages/settings/applications/components/SettingsApplicationNameDescriptionTable';
-import { findObjectNameByUniversalIdentifier } from '~/pages/settings/applications/utils/findObjectNameByUniversalIdentifier';
-
-export const SettingsAvailableApplicationDetailContentTab = ({
- applicationId,
- content,
-}: {
- applicationId: string;
- content?: Manifest;
-}) => {
- const objectMetadataItems = useAtomStateValue(objectMetadataItemsSelector);
-
- const objects = useMemo(() => content?.objects ?? [], [content?.objects]);
- const fields = useMemo(() => content?.fields ?? [], [content?.fields]);
- const logicFunctions = content?.logicFunctions ?? [];
- const frontComponents = content?.frontComponents ?? [];
-
- const objectRows = useMemo(
- (): ApplicationDataTableRow[] =>
- objects.map((appObject) => ({
- key: appObject.nameSingular,
- labelPlural: appObject.labelPlural,
- icon: appObject.icon ?? undefined,
- fieldsCount: appObject.fields.length,
- tagItem: { applicationId },
- })),
- [objects, applicationId],
- );
-
- const fieldGroupRows = useMemo((): ApplicationDataTableRow[] => {
- if (fields.length === 0) {
- return [];
- }
-
- const groupMap = new Map<
- string,
- {
- objectUniversalIdentifier: string;
- count: number;
- }
- >();
-
- for (const field of fields) {
- const objectUid = field.objectUniversalIdentifier;
- const existing = groupMap.get(objectUid);
-
- if (isDefined(existing)) {
- existing.count++;
- } else {
- groupMap.set(objectUid, {
- objectUniversalIdentifier: objectUid,
- count: 1,
- });
- }
- }
-
- return Array.from(groupMap.values())
- .map((group) => {
- const appObject = objects.find(
- (obj) => obj.universalIdentifier === group.objectUniversalIdentifier,
- );
-
- if (isDefined(appObject)) {
- return {
- key: appObject.nameSingular,
- labelPlural: appObject.labelPlural,
- icon: appObject.icon ?? undefined,
- fieldsCount: group.count,
- tagItem: { applicationId },
- };
- }
-
- const standardObjectName = findObjectNameByUniversalIdentifier(
- group.objectUniversalIdentifier,
- );
-
- const objectMetadataItem = isDefined(standardObjectName)
- ? objectMetadataItems.find(
- (item) => item.nameSingular === standardObjectName,
- )
- : undefined;
-
- if (!isDefined(objectMetadataItem)) {
- return;
- }
-
- return {
- key: objectMetadataItem.nameSingular,
- labelPlural: objectMetadataItem.labelPlural,
- icon: objectMetadataItem.icon ?? undefined,
- fieldsCount: group.count,
- link: getSettingsPath(SettingsPath.ObjectDetail, {
- objectNamePlural: objectMetadataItem.namePlural,
- }),
- tagItem: {},
- };
- })
- .filter(isDefined);
- }, [fields, objectMetadataItems, objects, applicationId]);
-
- const roles = content?.roles ?? [];
- const skills = content?.skills ?? [];
- const agents = content?.agents ?? [];
- const views = content?.views ?? [];
- const navigationMenuItems = content?.navigationMenuItems ?? [];
- const pageLayouts = content?.pageLayouts ?? [];
-
- return (
- <>
- <SettingsApplicationDataTable
- objectRows={objectRows}
- fieldGroupRows={fieldGroupRows}
- />
- <SettingsApplicationNameDescriptionTable
- title={t`Logic functions`}
- description={t`Logic functions provided by this app`}
- sectionTitle={t`Logic functions`}
- items={logicFunctions.map((lf) => ({
- name: lf.name ?? lf.universalIdentifier,
- description: lf.description,
- }))}
- />
- <SettingsApplicationNameDescriptionTable
- title={t`Front components`}
- description={t`UI components provided by this app`}
- sectionTitle={t`Front components`}
- items={frontComponents.map((fc) => ({
- name: fc.name ?? fc.universalIdentifier,
- description: fc.description,
- }))}
- />
- <SettingsApplicationNameDescriptionTable
- title={t`Roles`}
- description={t`Roles defined by this app`}
- sectionTitle={t`Roles`}
- items={roles.map((role) => ({
- name: role.label,
- description: role.description,
- }))}
- />
- <SettingsApplicationNameDescriptionTable
- title={t`Skills`}
- description={t`Skills provided by this app`}
- sectionTitle={t`Skills`}
- items={skills.map((skill) => ({
- name: skill.label ?? skill.name,
- description: skill.description,
- }))}
- />
- <SettingsApplicationNameDescriptionTable
- title={t`Agents`}
- description={t`Agents provided by this app`}
- sectionTitle={t`Agents`}
- items={agents.map((agent) => ({
- name: agent.label ?? agent.name,
- description: agent.description,
- }))}
- />
- <SettingsApplicationNameDescriptionTable
- title={t`Views`}
- description={t`Views created by this app`}
- sectionTitle={t`Views`}
- items={views.map((view) => ({
- name: view.name,
- }))}
- />
- <SettingsApplicationNameDescriptionTable
- title={t`Navigation menu items`}
- description={t`Navigation items added by this app`}
- sectionTitle={t`Navigation items`}
- items={navigationMenuItems.map((item) => ({
- name: item.name ?? item.universalIdentifier,
- }))}
- />
- <SettingsApplicationNameDescriptionTable
- title={t`Page layouts`}
- description={t`Page layouts defined by this app`}
- sectionTitle={t`Page layouts`}
- items={pageLayouts.map((layout) => ({
- name: layout.name,
- }))}
- />
- </>
- );
-};
diff --git a/packages/twenty-sdk/package.json b/packages/twenty-sdk/package.json
index c6587588bc7..5f3382c169d 100644
--- a/packages/twenty-sdk/package.json
+++ b/packages/twenty-sdk/package.json
@@ -1,6 +1,6 @@
{
"name": "twenty-sdk",
- "version": "1.23.0-canary.1",
+ "version": "1.23.0-canary.2",
"sideEffects": false,
"bin": {
"twenty": "dist/cli.cjs"
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 fd0e60ce814..0f38c9c2bf2 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 { 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';
import { RoleDTO } from 'src/engine/metadata-modules/role/dtos/role.dto';
@@ -129,6 +130,15 @@ export class ApplicationEntity extends WorkspaceRelatedEntity {
})
objects: Relation<ObjectMetadataEntity[]>;
+ @OneToMany(
+ () => FrontComponentEntity,
+ (frontComponent) => frontComponent.application,
+ {
+ onDelete: 'CASCADE',
+ },
+ )
+ frontComponents: Relation<FrontComponentEntity[]>;
+
@OneToMany(
() => ApplicationVariableEntity,
(applicationVariable) => applicationVariable.application,
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 6e67d8b63ec..14a84e4c5c5 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
@@ -122,6 +122,7 @@ export class ApplicationService {
relations: [
'logicFunctions',
'agents',
+ 'frontComponents',
'objects',
'applicationVariables',
'packageJsonFile',
@@ -157,6 +158,7 @@ export class ApplicationService {
relations: [
'logicFunctions',
'agents',
+ 'frontComponents',
'objects',
'applicationVariables',
'packageJsonFile',
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 4bc590b6d0a..c89bbe68b7f 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
@@ -3,6 +3,7 @@ import { type ApplicationEntity } from 'src/engine/core-modules/application/appl
export const APPLICATION_ENTITY_RELATION_PROPERTIES = [
'workspace',
'agents',
+ 'frontComponents',
'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 7be90826a8a..dafba62340d 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 { 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';
import { RoleDTO } from 'src/engine/metadata-modules/role/dtos/role.dto';
@@ -91,6 +92,9 @@ export class ApplicationDTO {
@Field(() => [AgentDTO])
agents?: AgentDTO[];
+ @Field(() => [FrontComponentDTO])
+ frontComponents?: FrontComponentDTO[];
+
@Field(() => [LogicFunctionDTO])
logicFunctions?: LogicFunctionDTO[];