Skip to content

The open alternative to Salesforce, designed for AI.

Add widgetAvailability to front components (#27841)

martmulla7cd1867cc65
diff --git a/packages/twenty-agent-skills/references/develop-app/front-components.md b/packages/twenty-agent-skills/references/develop-app/front-components.md
index 0e4b60186b0..d82b100ce6e 100644
--- a/packages/twenty-agent-skills/references/develop-app/front-components.md
+++ b/packages/twenty-agent-skills/references/develop-app/front-components.md
@@ -25,6 +25,8 @@ export default defineFrontComponent({
});
```
+Set `widgetAvailability` to offer a non-headless component in a widget picker while a page layout is edited. It is a single object, because a component is built either for record pages or for dashboards: `{ pageLayoutType: PageLayoutType.RECORD_PAGE }` offers it on every record page, adding `objectUniversalIdentifiers` (non-empty) narrows it to those objects' record pages, and `{ pageLayoutType: PageLayoutType.DASHBOARD }` offers it on dashboards. Omitted, the component is offered in no widget picker, which is right for components opened only from a command, a settings menu item or a timeline row. `widgetAvailability` never limits where a component is displayed: commands, settings menu items and the app's own page layouts render it whatever its value.
+
Do not import or call `react-dom/client` in the component source. The SDK renderer mounts front components.
## Runtime Imports
diff --git a/packages/twenty-cli/src/app/manifest/manifest-validate.ts b/packages/twenty-cli/src/app/manifest/manifest-validate.ts
index 82e94595ca1..838aaaa7b32 100644
--- a/packages/twenty-cli/src/app/manifest/manifest-validate.ts
+++ b/packages/twenty-cli/src/app/manifest/manifest-validate.ts
@@ -23,6 +23,7 @@ import {
type ManifestField,
isRelationFieldManifest,
} from '@/app/manifest/utils/manifest-validation-helpers';
+import { getFrontComponentWidgetAvailabilityWarnings } from '@/app/manifest/utils/get-front-component-widget-availability-warnings';
import { getPageLayoutDeprecationWarnings } from '@/app/manifest/utils/get-page-layout-deprecation-warnings';
import { getUnresolvedLabelIdentifierWarnings } from '@/app/manifest/utils/get-unresolved-label-identifier-warnings';
import { validateTimelineActivityTypes } from '@/app/manifest/utils/validate-timeline-activity-types';
@@ -251,9 +252,14 @@ const invalidUniversalIdentifierVersions = (
export const manifestValidate = (manifest: Manifest) => {
const errors: string[] = [];
+ const pageLayoutWidgets = collectPageLayoutWidgets(manifest);
const warnings = [
...getPageLayoutDeprecationWarnings(manifest),
...getUnresolvedLabelIdentifierWarnings(manifest),
+ ...getFrontComponentWidgetAvailabilityWarnings({
+ manifest,
+ pageLayoutWidgets,
+ }),
];
const universalIdentifiers = findUniversalIdentifiers(manifest);
@@ -313,7 +319,7 @@ export const manifestValidate = (manifest: Manifest) => {
errors.push(...validatePageLayoutTabs(manifest));
- errors.push(...validateGraphWidgets(collectPageLayoutWidgets(manifest)));
+ errors.push(...validateGraphWidgets(pageLayoutWidgets));
errors.push(...validateTimelineActivityTypes(manifest));
diff --git a/packages/twenty-cli/src/app/manifest/utils/get-front-component-widget-availability-warnings.ts b/packages/twenty-cli/src/app/manifest/utils/get-front-component-widget-availability-warnings.ts
new file mode 100644
index 00000000000..8d237f0fde0
--- /dev/null
+++ b/packages/twenty-cli/src/app/manifest/utils/get-front-component-widget-availability-warnings.ts
@@ -0,0 +1,57 @@
+import {
+ type Manifest,
+ type PageLayoutWidgetManifest,
+} from 'twenty-shared/application';
+import { isDefined } from 'twenty-shared/utils';
+
+export const getFrontComponentWidgetAvailabilityWarnings = ({
+ manifest,
+ pageLayoutWidgets,
+}: {
+ manifest: Pick<
+ Manifest,
+ | 'application'
+ | 'frontComponents'
+ | 'settingsMenuItems'
+ | 'commandMenuItems'
+ | 'timelineActivityTypes'
+ >;
+ pageLayoutWidgets: PageLayoutWidgetManifest[];
+}): string[] => {
+ const frontComponentUniversalIdentifiersRenderedElsewhere = new Set(
+ [
+ manifest.application.settingsFrontComponent?.universalIdentifier,
+ ...manifest.settingsMenuItems.map(
+ (settingsMenuItem) =>
+ settingsMenuItem.frontComponentUniversalIdentifier,
+ ),
+ ...manifest.commandMenuItems.map(
+ (commandMenuItem) => commandMenuItem.frontComponentUniversalIdentifier,
+ ),
+ ...manifest.timelineActivityTypes.map(
+ (timelineActivityType) =>
+ timelineActivityType.frontComponentUniversalIdentifier,
+ ),
+ ...pageLayoutWidgets.map(({ configuration }) =>
+ isDefined(configuration) &&
+ 'frontComponentUniversalIdentifier' in configuration
+ ? configuration.frontComponentUniversalIdentifier
+ : undefined,
+ ),
+ ].filter(isDefined),
+ );
+
+ return manifest.frontComponents
+ .filter(
+ (frontComponent) =>
+ !frontComponent.isHeadless &&
+ !isDefined(frontComponent.widgetAvailability) &&
+ !frontComponentUniversalIdentifiersRenderedElsewhere.has(
+ frontComponent.universalIdentifier,
+ ),
+ )
+ .map(
+ (frontComponent) =>
+ `Front component "${frontComponent.name ?? frontComponent.componentName}" declares no widgetAvailability, so it is not offered in any widget picker. Set widgetAvailability to let users add it to record pages or dashboards.`,
+ );
+};
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
index c09faf57514..998a0cb0f41 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.graphql
@@ -2320,6 +2320,7 @@ type FrontComponent {
universalIdentifier: UUID
updatedAt: DateTime!
usesSdkClient: Boolean!
+ widgetAvailability: [FrontComponentWidgetAvailability!]!
}
type FrontComponentConfiguration {
@@ -2328,6 +2329,11 @@ type FrontComponentConfiguration {
headerCommandMenuItemUniversalIdentifiers: [UUID!]
}
+type FrontComponentWidgetAvailability {
+ objectMetadataId: UUID
+ pageLayoutType: PageLayoutType!
+}
+
type FullName {
firstName: String!
lastName: String!
diff --git a/packages/twenty-client-sdk/src/metadata/generated/schema.ts b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
index 940828a2468..ec786be1c68 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/schema.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/schema.ts
@@ -1496,6 +1496,7 @@ export interface FrontComponent {
universalIdentifier?: Scalars['UUID']
updatedAt: Scalars['DateTime']
usesSdkClient: Scalars['Boolean']
+ widgetAvailability: FrontComponentWidgetAvailability[]
__typename: 'FrontComponent'
}
@@ -1506,6 +1507,12 @@ export interface FrontComponentConfiguration {
__typename: 'FrontComponentConfiguration'
}
+export interface FrontComponentWidgetAvailability {
+ objectMetadataId?: Scalars['UUID']
+ pageLayoutType: PageLayoutType
+ __typename: 'FrontComponentWidgetAvailability'
+}
+
export interface FullName {
firstName: Scalars['String']
lastName: Scalars['String']
@@ -5677,6 +5684,7 @@ export interface FrontComponentGenqlSelection{
universalIdentifier?: boolean | number
updatedAt?: boolean | number
usesSdkClient?: boolean | number
+ widgetAvailability?: FrontComponentWidgetAvailabilityGenqlSelection
__typename?: boolean | number
__scalar?: boolean | number
}
@@ -5689,6 +5697,13 @@ export interface FrontComponentConfigurationGenqlSelection{
__scalar?: boolean | number
}
+export interface FrontComponentWidgetAvailabilityGenqlSelection{
+ objectMetadataId?: boolean | number
+ pageLayoutType?: boolean | number
+ __typename?: boolean | number
+ __scalar?: boolean | number
+}
+
export interface FullNameGenqlSelection{
firstName?: boolean | number
lastName?: boolean | number
@@ -9646,6 +9661,14 @@ export interface WorkspaceUrlsAndIdGenqlSelection{
+ const FrontComponentWidgetAvailability_possibleTypes: string[] = ['FrontComponentWidgetAvailability']
+ export const isFrontComponentWidgetAvailability = (obj?: { __typename?: any } | null): obj is FrontComponentWidgetAvailability => {
+ if (!obj?.__typename) throw new Error('__typename is missing in "isFrontComponentWidgetAvailability"')
+ return FrontComponentWidgetAvailability_possibleTypes.includes(obj.__typename)
+ }
+
+
+
const FullName_possibleTypes: string[] = ['FullName']
export const isFullName = (obj?: { __typename?: any } | null): obj is FullName => {
if (!obj?.__typename) throw new Error('__typename is missing in "isFullName"')
diff --git a/packages/twenty-client-sdk/src/metadata/generated/types.ts b/packages/twenty-client-sdk/src/metadata/generated/types.ts
index b5ae1061df3..d83a5f291e0 100644
--- a/packages/twenty-client-sdk/src/metadata/generated/types.ts
+++ b/packages/twenty-client-sdk/src/metadata/generated/types.ts
@@ -45,78 +45,78 @@ export default {
245,
248,
255,
- 269,
- 271,
- 281,
- 288,
+ 270,
+ 272,
+ 282,
289,
290,
- 301,
- 303,
- 316,
+ 291,
+ 302,
+ 304,
317,
318,
319,
320,
321,
- 323,
+ 322,
324,
325,
- 328,
+ 326,
329,
- 331,
+ 330,
332,
- 335,
- 337,
- 341,
- 345,
- 354,
- 361,
+ 333,
+ 336,
+ 338,
+ 342,
+ 346,
+ 355,
362,
363,
- 366,
- 370,
+ 364,
+ 367,
371,
- 376,
- 380,
- 401,
- 403,
+ 372,
+ 377,
+ 381,
+ 402,
404,
- 407,
- 412,
- 424,
- 426,
- 430,
- 435,
- 452,
- 464,
+ 405,
+ 408,
+ 413,
+ 425,
+ 427,
+ 431,
+ 436,
+ 453,
465,
- 467,
- 491,
- 493,
- 495,
- 555,
- 575,
- 582,
- 584,
- 598,
- 604,
+ 466,
+ 468,
+ 492,
+ 494,
+ 496,
+ 556,
+ 576,
+ 583,
+ 585,
+ 599,
605,
- 607,
+ 606,
608,
- 610,
+ 609,
611,
612,
- 615,
+ 613,
616,
- 621,
- 623,
- 626,
- 631,
+ 617,
+ 622,
+ 624,
+ 627,
632,
633,
- 636,
- 637
+ 634,
+ 637,
+ 638
],
"types": {
"ActivateWorkspaceInput": {
@@ -133,7 +133,7 @@ export default {
1
],
"operationSignature": [
- 288
+ 289
],
"queryId": [
1
@@ -144,7 +144,7 @@ export default {
},
"Agent": {
"applicationId": [
- 491
+ 492
],
"createdAt": [
187
@@ -156,7 +156,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isCustom": [
4
@@ -168,7 +168,7 @@ export default {
1
],
"modelConfiguration": [
- 288
+ 289
],
"modelId": [
1
@@ -180,13 +180,13 @@ export default {
1
],
"responseFormat": [
- 288
+ 289
],
"roleId": [
- 491
+ 492
],
"triggers": [
- 288
+ 289
],
"updatedAt": [
187
@@ -198,7 +198,7 @@ export default {
"Boolean": {},
"AgentChatEvent": {
"event": [
- 288
+ 289
],
"threadId": [
1
@@ -277,7 +277,7 @@ export default {
187
],
"id": [
- 491
+ 492
],
"isSubscribed": [
4
@@ -292,7 +292,7 @@ export default {
187
],
"threadId": [
- 491
+ 492
],
"updatedAt": [
187
@@ -303,7 +303,7 @@ export default {
},
"AgentIdInput": {
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -311,13 +311,13 @@ export default {
},
"AgentMessage": {
"agentId": [
- 491
+ 492
],
"createdAt": [
187
],
"id": [
- 491
+ 492
],
"parts": [
15
@@ -329,19 +329,19 @@ export default {
1
],
"senderUserWorkspaceId": [
- 491
+ 492
],
"senderWorkspaceMemberId": [
- 491
+ 492
],
"status": [
1
],
"threadId": [
- 491
+ 492
],
"turnId": [
- 491
+ 492
],
"__typename": [
1
@@ -358,7 +358,7 @@ export default {
1
],
"fileId": [
- 491
+ 492
],
"fileMediaType": [
1
@@ -367,10 +367,10 @@ export default {
1
],
"id": [
- 491
+ 492
],
"messageId": [
- 491
+ 492
],
"orderIndex": [
8
@@ -379,7 +379,7 @@ export default {
4
],
"providerMetadata": [
- 288
+ 289
],
"reasoningContent": [
1
@@ -415,13 +415,13 @@ export default {
1
],
"toolInput": [
- 288
+ 289
],
"toolName": [
1
],
"toolOutput": [
- 288
+ 289
],
"type": [
1
@@ -450,7 +450,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"input": [
1
@@ -474,7 +474,7 @@ export default {
17
],
"threadId": [
- 491
+ 492
],
"threadTitle": [
1
@@ -489,13 +489,13 @@ export default {
"AgentTurnStatus": {},
"AggregateChartConfiguration": {
"aggregateFieldMetadataId": [
- 491
+ 492
],
"aggregateOperation": [
19
],
"configurationType": [
- 615
+ 616
],
"description": [
1
@@ -504,7 +504,7 @@ export default {
4
],
"filter": [
- 288
+ 289
],
"firstDayOfTheWeek": [
8
@@ -519,7 +519,7 @@ export default {
1
],
"ratioAggregateConfig": [
- 396
+ 397
],
"suffix": [
1
@@ -601,7 +601,7 @@ export default {
187
],
"id": [
- 491
+ 492
],
"name": [
1
@@ -610,7 +610,7 @@ export default {
187
],
"role": [
- 418
+ 419
],
"updatedAt": [
187
@@ -624,7 +624,7 @@ export default {
187
],
"id": [
- 491
+ 492
],
"name": [
1
@@ -690,7 +690,7 @@ export default {
33
],
"value": [
- 288
+ 289
],
"__typename": [
1
@@ -728,13 +728,13 @@ export default {
1
],
"personId": [
- 491
+ 492
],
"role": [
- 325
+ 326
],
"workspaceMemberId": [
- 491
+ 492
],
"__typename": [
1
@@ -748,7 +748,7 @@ export default {
57
],
"applicationRegistrationId": [
- 491
+ 492
],
"applicationVariables": [
60
@@ -757,7 +757,7 @@ export default {
4
],
"availablePackages": [
- 288
+ 289
],
"canBeUninstalled": [
4
@@ -769,7 +769,7 @@ export default {
187
],
"defaultLogicFunctionRole": [
- 418
+ 419
],
"defaultRoleId": [
1
@@ -781,19 +781,19 @@ export default {
262
],
"healthCheckLogicFunctionId": [
- 491
+ 492
],
"id": [
- 491
+ 492
],
"isUninstallBlockedByOtherWorkspaceInstallations": [
4
],
"logicFunctions": [
- 300
+ 301
],
"logoFileId": [
- 491
+ 492
],
"logoUrl": [
1
@@ -802,19 +802,19 @@ export default {
1
],
"objects": [
- 347
+ 348
],
"packageJsonChecksum": [
1
],
"packageJsonFileId": [
- 491
+ 492
],
"settingsCustomTabFrontComponentId": [
- 491
+ 492
],
"settingsMenuItems": [
- 451
+ 452
],
"universalIdentifier": [
1
@@ -826,7 +826,7 @@ export default {
1
],
"yarnLockFileId": [
- 491
+ 492
],
"__typename": [
1
@@ -834,7 +834,7 @@ export default {
},
"ApplicationAuthorization": {
"applicationId": [
- 491
+ 492
],
"applicationName": [
1
@@ -846,7 +846,7 @@ export default {
187
],
"id": [
- 491
+ 492
],
"lastAuthorizedAt": [
187
@@ -858,7 +858,7 @@ export default {
1
],
"workspaceId": [
- 491
+ 492
],
"__typename": [
1
@@ -869,7 +869,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -877,7 +877,7 @@ export default {
},
"ApplicationConnectedAccountDTO": {
"applicationId": [
- 491
+ 492
],
"archivedAt": [
187
@@ -889,10 +889,10 @@ export default {
1
],
"connectionParameters": [
- 392
+ 393
],
"connectionProviderId": [
- 491
+ 492
],
"createdAt": [
187
@@ -904,7 +904,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isOwnedByCurrentUser": [
4
@@ -928,7 +928,7 @@ export default {
187
],
"userWorkspaceId": [
- 491
+ 492
],
"visibility": [
1
@@ -945,7 +945,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"logoUrl": [
1
@@ -985,7 +985,7 @@ export default {
46
],
"manifest": [
- 288
+ 289
],
"__typename": [
1
@@ -1039,7 +1039,7 @@ export default {
},
"ApplicationFileCompletionError": {
"fileId": [
- 491
+ 492
],
"message": [
1
@@ -1087,7 +1087,7 @@ export default {
255
],
"fileId": [
- 491
+ 492
],
"filePath": [
1
@@ -1136,7 +1136,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isConfigured": [
4
@@ -1169,7 +1169,7 @@ export default {
1
],
"ownerWorkspaceId": [
- 491
+ 492
],
"sourcePackage": [
1
@@ -1199,7 +1199,7 @@ export default {
8
],
"versionDistribution": [
- 596
+ 597
],
"__typename": [
1
@@ -1207,7 +1207,7 @@ export default {
},
"ApplicationRegistrationSummary": {
"id": [
- 491
+ 492
],
"latestAvailableVersion": [
1
@@ -1230,7 +1230,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isDeprecated": [
4
@@ -1248,7 +1248,7 @@ export default {
1
],
"options": [
- 288
+ 289
],
"type": [
1
@@ -1279,7 +1279,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isDeprecated": [
4
@@ -1297,7 +1297,7 @@ export default {
1
],
"options": [
- 288
+ 289
],
"scope": [
61
@@ -1321,7 +1321,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isValidated": [
4
@@ -1358,7 +1358,7 @@ export default {
4
],
"sso": [
- 434
+ 435
],
"__typename": [
1
@@ -1418,7 +1418,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"inviteHash": [
1
@@ -1433,10 +1433,10 @@ export default {
1
],
"sso": [
- 433
+ 434
],
"workspaceUrls": [
- 638
+ 639
],
"__typename": [
1
@@ -1467,7 +1467,7 @@ export default {
"AxisNameDisplay": {},
"BarChartConfiguration": {
"aggregateFieldMetadataId": [
- 491
+ 492
],
"aggregateOperation": [
19
@@ -1479,7 +1479,7 @@ export default {
1
],
"configurationType": [
- 615
+ 616
],
"description": [
1
@@ -1491,7 +1491,7 @@ export default {
4
],
"filter": [
- 288
+ 289
],
"firstDayOfTheWeek": [
8
@@ -1512,10 +1512,10 @@ export default {
4
],
"primaryAxisDateGranularity": [
- 361
+ 362
],
"primaryAxisGroupByFieldMetadataId": [
- 491
+ 492
],
"primaryAxisGroupBySubFieldName": [
1
@@ -1524,7 +1524,7 @@ export default {
1
],
"primaryAxisOrderBy": [
- 269
+ 270
],
"rangeMax": [
11
@@ -1533,10 +1533,10 @@ export default {
11
],
"secondaryAxisGroupByDateGranularity": [
- 361
+ 362
],
"secondaryAxisGroupByFieldMetadataId": [
- 491
+ 492
],
"secondaryAxisGroupBySubFieldName": [
1
@@ -1545,7 +1545,7 @@ export default {
1
],
"secondaryAxisOrderBy": [
- 269
+ 270
],
"splitMultiValueFields": [
4
@@ -1559,10 +1559,10 @@ export default {
},
"BarChartData": {
"data": [
- 288
+ 289
],
"formattedToRawLookup": [
- 288
+ 289
],
"groupMode": [
77
@@ -1600,10 +1600,10 @@ export default {
},
"BarChartDataInput": {
"configuration": [
- 288
+ 289
],
"objectMetadataId": [
- 491
+ 492
],
"__typename": [
1
@@ -1645,7 +1645,7 @@ export default {
4
],
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -1665,7 +1665,7 @@ export default {
4
],
"status": [
- 465
+ 466
],
"__typename": [
1
@@ -1763,7 +1763,7 @@ export default {
107
],
"recurringInterval": [
- 464
+ 465
],
"stripePriceId": [
1
@@ -1780,7 +1780,7 @@ export default {
107
],
"recurringInterval": [
- 464
+ 465
],
"stripePriceId": [
1
@@ -1915,19 +1915,19 @@ export default {
187
],
"id": [
- 491
+ 492
],
"interval": [
- 464
+ 465
],
"metadata": [
- 288
+ 289
],
"phases": [
103
],
"status": [
- 465
+ 466
],
"__typename": [
1
@@ -1945,7 +1945,7 @@ export default {
4
],
"id": [
- 491
+ 492
],
"quantity": [
11
@@ -2021,7 +2021,7 @@ export default {
},
"CalendarChannel": {
"connectedAccountId": [
- 491
+ 492
],
"contactAutoCreationPolicy": [
110
@@ -2033,7 +2033,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isContactAutoCreationEnabled": [
4
@@ -2072,7 +2072,7 @@ export default {
"CalendarChannelVisibility": {},
"CalendarConfiguration": {
"configurationType": [
- 615
+ 616
],
"__typename": [
1
@@ -2080,7 +2080,7 @@ export default {
},
"CallRecordingSummaryConfiguration": {
"configurationType": [
- 615
+ 616
],
"__typename": [
1
@@ -2088,7 +2088,7 @@ export default {
},
"CallRecordingTranscriptConfiguration": {
"configurationType": [
- 615
+ 616
],
"__typename": [
1
@@ -2165,7 +2165,7 @@ export default {
"ChartNumberFormat": {},
"ChatConfiguration": {
"configurationType": [
- 615
+ 616
],
"__typename": [
1
@@ -2173,7 +2173,7 @@ export default {
},
"ChatStreamCatchupChunks": {
"chunks": [
- 288
+ 289
],
"error": [
126
@@ -2198,7 +2198,7 @@ export default {
},
"ChatThreadsConfiguration": {
"configurationType": [
- 615
+ 616
],
"__typename": [
1
@@ -2323,7 +2323,7 @@ export default {
11
],
"modelFamily": [
- 341
+ 342
],
"modelFamilyLabel": [
1
@@ -2332,7 +2332,7 @@ export default {
1
],
"nativeCapabilities": [
- 343
+ 344
],
"outputCostPerMillionTokens": [
11
@@ -2465,13 +2465,13 @@ export default {
134
],
"publicFeatureFlags": [
- 390
+ 391
],
"publicFunctionDomain": [
1
],
"sentry": [
- 449
+ 450
],
"serverUrl": [
1
@@ -2480,7 +2480,7 @@ export default {
4
],
"support": [
- 466
+ 467
],
"__typename": [
1
@@ -2513,10 +2513,10 @@ export default {
},
"CommandMenuItem": {
"applicationId": [
- 491
+ 492
],
"availabilityObjectMetadataId": [
- 491
+ 492
],
"availabilityType": [
137
@@ -2528,7 +2528,7 @@ export default {
1
],
"coreWorkflowVersionId": [
- 491
+ 492
],
"createdAt": [
187
@@ -2540,7 +2540,7 @@ export default {
262
],
"frontComponentId": [
- 491
+ 492
],
"hotKeys": [
1
@@ -2549,7 +2549,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isActive": [
4
@@ -2561,10 +2561,10 @@ export default {
1
],
"navigationTargetObjectMetadataId": [
- 491
+ 492
],
"pageLayoutId": [
- 491
+ 492
],
"payload": [
138
@@ -2576,13 +2576,13 @@ export default {
1
],
"universalIdentifier": [
- 491
+ 492
],
"updatedAt": [
187
],
"workflowVersionId": [
- 491
+ 492
],
"__typename": [
1
@@ -2591,10 +2591,10 @@ export default {
"CommandMenuItemAvailabilityType": {},
"CommandMenuItemPayload": {
"on_ObjectMetadataCommandMenuItemPayload": [
- 353
+ 354
],
"on_PathCommandMenuItemPayload": [
- 378
+ 379
],
"__typename": [
1
@@ -2613,7 +2613,7 @@ export default {
},
"ConnectedAccountPublicDTO": {
"applicationId": [
- 491
+ 492
],
"archivedAt": [
187
@@ -2625,10 +2625,10 @@ export default {
1
],
"connectionParameters": [
- 392
+ 393
],
"connectionProviderId": [
- 491
+ 492
],
"createdAt": [
187
@@ -2640,7 +2640,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"lastCredentialsRefreshedAt": [
187
@@ -2661,7 +2661,7 @@ export default {
187
],
"userWorkspaceId": [
- 491
+ 492
],
"visibility": [
1
@@ -2672,19 +2672,19 @@ export default {
},
"ConnectedImapSmtpCaldavAccount": {
"connectionParameters": [
- 274
+ 275
],
"handle": [
1
],
"id": [
- 491
+ 492
],
"provider": [
1
],
"userWorkspaceId": [
- 491
+ 492
],
"__typename": [
1
@@ -2722,7 +2722,7 @@ export default {
1
],
"modelConfiguration": [
- 288
+ 289
],
"modelId": [
1
@@ -2734,13 +2734,13 @@ export default {
1
],
"responseFormat": [
- 288
+ 289
],
"roleId": [
- 491
+ 492
],
"triggers": [
- 288
+ 289
],
"__typename": [
1
@@ -2757,7 +2757,7 @@ export default {
1
],
"roleId": [
- 491
+ 492
],
"__typename": [
1
@@ -2765,7 +2765,7 @@ export default {
},
"CreateAppMessageChannelInput": {
"connectedAccountId": [
- 491
+ 492
],
"displayName": [
1
@@ -2774,7 +2774,7 @@ export default {
1
],
"visibility": [
- 321
+ 322
],
"__typename": [
1
@@ -2890,7 +2890,7 @@ export default {
},
"CreateCommandMenuItemInput": {
"availabilityObjectMetadataId": [
- 491
+ 492
],
"availabilityType": [
137
@@ -2902,13 +2902,13 @@ export default {
1
],
"coreWorkflowVersionId": [
- 491
+ 492
],
"engineComponentKey": [
221
],
"frontComponentId": [
- 491
+ 492
],
"hotKeys": [
1
@@ -2923,13 +2923,13 @@ export default {
1
],
"navigationTargetObjectMetadataId": [
- 491
+ 492
],
"pageLayoutId": [
- 491
+ 492
],
"payload": [
- 288
+ 289
],
"position": [
11
@@ -2938,7 +2938,7 @@ export default {
1
],
"workflowVersionId": [
- 491
+ 492
],
"__typename": [
1
@@ -2960,7 +2960,7 @@ export default {
1
],
"messageChannel": [
- 315
+ 316
],
"__typename": [
1
@@ -2976,7 +2976,7 @@ export default {
},
"CreateFieldInput": {
"defaultValue": [
- 288
+ 289
],
"description": [
1
@@ -3018,22 +3018,22 @@ export default {
1
],
"morphRelationsCreationPayload": [
- 288
+ 289
],
"name": [
1
],
"objectMetadataId": [
- 491
+ 492
],
"options": [
- 288
+ 289
],
"relationCreationPayload": [
- 288
+ 289
],
"settings": [
- 288
+ 289
],
"type": [
248
@@ -3056,7 +3056,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"name": [
1
@@ -3070,7 +3070,7 @@ export default {
},
"CreateIndexFieldInput": {
"fieldMetadataId": [
- 491
+ 492
],
"subFieldName": [
1
@@ -3084,10 +3084,10 @@ export default {
159
],
"indexType": [
- 281
+ 282
],
"objectMetadataId": [
- 491
+ 492
],
"__typename": [
1
@@ -3095,40 +3095,40 @@ export default {
},
"CreateLogicFunctionFromSourceInput": {
"cronTriggerSettings": [
- 288
+ 289
],
"databaseEventTriggerSettings": [
- 288
+ 289
],
"description": [
1
],
"httpRouteTriggerSettings": [
- 288
+ 289
],
"id": [
- 491
+ 492
],
"name": [
1
],
"serverRouteTriggerSettings": [
- 288
+ 289
],
"source": [
- 288
+ 289
],
"timeoutSeconds": [
11
],
"toolTriggerSettings": [
- 288
+ 289
],
"universalIdentifier": [
- 491
+ 492
],
"workflowActionTriggerSettings": [
- 288
+ 289
],
"__typename": [
1
@@ -3139,7 +3139,7 @@ export default {
1
],
"unsubscribeTopicId": [
- 491
+ 492
],
"__typename": [
1
@@ -3150,13 +3150,13 @@ export default {
1
],
"folderId": [
- 491
+ 492
],
"icon": [
1
],
"id": [
- 491
+ 492
],
"link": [
1
@@ -3165,25 +3165,25 @@ export default {
1
],
"pageLayoutId": [
- 491
+ 492
],
"position": [
11
],
"targetObjectMetadataId": [
- 491
+ 492
],
"targetRecordId": [
- 491
+ 492
],
"type": [
- 345
+ 346
],
"userWorkspaceId": [
- 491
+ 492
],
"viewId": [
- 491
+ 492
],
"__typename": [
1
@@ -3221,7 +3221,7 @@ export default {
1
],
"primaryKeyFieldMetadataSettings": [
- 288
+ 289
],
"shortcut": [
1
@@ -3262,10 +3262,10 @@ export default {
1
],
"objectMetadataId": [
- 491
+ 492
],
"type": [
- 371
+ 372
],
"__typename": [
1
@@ -3273,10 +3273,10 @@ export default {
},
"CreatePageLayoutTabInput": {
"layoutMode": [
- 370
+ 371
],
"pageLayoutId": [
- 491
+ 492
],
"position": [
11
@@ -3290,22 +3290,22 @@ export default {
},
"CreatePageLayoutWidgetInput": {
"configuration": [
- 288
+ 289
],
"objectMetadataId": [
- 491
+ 492
],
"pageLayoutTabId": [
- 491
+ 492
],
"position": [
- 288
+ 289
],
"title": [
1
],
"type": [
- 616
+ 617
],
"__typename": [
1
@@ -3313,16 +3313,16 @@ export default {
},
"CreateRecordExportInput": {
"fieldMetadataIds": [
- 491
+ 492
],
"filter": [
- 288
+ 289
],
"objectMetadataId": [
- 491
+ 492
],
"orderBy": [
- 288
+ 289
],
"__typename": [
1
@@ -3383,7 +3383,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"label": [
1
@@ -3403,7 +3403,7 @@ export default {
1
],
"visibility": [
- 495
+ 496
],
"__typename": [
1
@@ -3420,7 +3420,7 @@ export default {
80
],
"operationType": [
- 575
+ 576
],
"periodCount": [
8
@@ -3429,7 +3429,7 @@ export default {
1
],
"resourceType": [
- 582
+ 583
],
"spenderId": [
1
@@ -3438,7 +3438,7 @@ export default {
1
],
"unit": [
- 584
+ 585
],
"__typename": [
1
@@ -3449,7 +3449,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 491
+ 492
],
"expression": [
1
@@ -3467,7 +3467,7 @@ export default {
1
],
"objectMetadataId": [
- 491
+ 492
],
"__typename": [
1
@@ -3475,7 +3475,7 @@ export default {
},
"CreateViewFieldGroupInput": {
"id": [
- 491
+ 492
],
"isVisible": [
4
@@ -3487,7 +3487,7 @@ export default {
11
],
"viewId": [
- 491
+ 492
],
"__typename": [
1
@@ -3498,10 +3498,10 @@ export default {
19
],
"fieldMetadataId": [
- 491
+ 492
],
"id": [
- 491
+ 492
],
"isVisible": [
4
@@ -3513,10 +3513,10 @@ export default {
11
],
"viewFieldGroupId": [
- 491
+ 492
],
"viewId": [
- 491
+ 492
],
"__typename": [
1
@@ -3524,19 +3524,19 @@ export default {
},
"CreateViewFilterGroupInput": {
"id": [
- 491
+ 492
],
"logicalOperator": [
- 604
+ 605
],
"parentViewFilterGroupId": [
- 491
+ 492
],
"positionInViewFilterGroup": [
11
],
"viewId": [
- 491
+ 492
],
"__typename": [
1
@@ -3544,31 +3544,31 @@ export default {
},
"CreateViewFilterInput": {
"fieldMetadataId": [
- 491
+ 492
],
"id": [
- 491
+ 492
],
"operand": [
- 605
+ 606
],
"positionInViewFilterGroup": [
11
],
"relationTargetFieldMetadataId": [
- 491
+ 492
],
"subFieldName": [
1
],
"value": [
- 288
+ 289
],
"viewFilterGroupId": [
- 491
+ 492
],
"viewId": [
- 491
+ 492
],
"__typename": [
1
@@ -3579,7 +3579,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isVisible": [
4
@@ -3588,7 +3588,7 @@ export default {
11
],
"viewId": [
- 491
+ 492
],
"__typename": [
1
@@ -3599,13 +3599,13 @@ export default {
1
],
"calendarEndFieldMetadataId": [
- 491
+ 492
],
"calendarFieldMetadataId": [
- 491
+ 492
],
"calendarLayout": [
- 598
+ 599
],
"groupLoadLimit": [
8
@@ -3614,7 +3614,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isCompact": [
4
@@ -3623,25 +3623,25 @@ export default {
19
],
"kanbanAggregateOperationFieldMetadataId": [
- 491
+ 492
],
"kanbanColumnWidth": [
8
],
"key": [
- 607
+ 608
],
"mainGroupByFieldMetadataId": [
- 491
+ 492
],
"name": [
1
],
"objectMetadataId": [
- 491
+ 492
],
"openRecordIn": [
- 608
+ 609
],
"position": [
11
@@ -3650,10 +3650,10 @@ export default {
4
],
"type": [
- 611
+ 612
],
"visibility": [
- 612
+ 613
],
"__typename": [
1
@@ -3661,19 +3661,19 @@ export default {
},
"CreateViewSortInput": {
"direction": [
- 610
+ 611
],
"fieldMetadataId": [
- 491
+ 492
],
"id": [
- 491
+ 492
],
"subFieldName": [
1
],
"viewId": [
- 491
+ 492
],
"__typename": [
1
@@ -3684,7 +3684,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"operations": [
1
@@ -3720,7 +3720,7 @@ export default {
"DateTime": {},
"DeleteApprovedAccessDomainInput": {
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -3728,7 +3728,7 @@ export default {
},
"DeleteOneFieldInput": {
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -3736,7 +3736,7 @@ export default {
},
"DeleteOneIndexInput": {
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -3744,7 +3744,7 @@ export default {
},
"DeleteOneObjectInput": {
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -3752,7 +3752,7 @@ export default {
},
"DeleteSso": {
"identityProviderId": [
- 491
+ 492
],
"__typename": [
1
@@ -3760,7 +3760,7 @@ export default {
},
"DeleteSsoInput": {
"identityProviderId": [
- 491
+ 492
],
"__typename": [
1
@@ -3776,7 +3776,7 @@ export default {
},
"DeleteViewFieldGroupInput": {
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -3784,7 +3784,7 @@ export default {
},
"DeleteViewFieldInput": {
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -3792,7 +3792,7 @@ export default {
},
"DeleteViewFilterInput": {
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -3800,7 +3800,7 @@ export default {
},
"DeleteViewGroupInput": {
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -3808,7 +3808,7 @@ export default {
},
"DeleteViewSortInput": {
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -3819,16 +3819,16 @@ export default {
1
],
"id": [
- 491
+ 492
],
"name": [
- 264
+ 265
],
"userEmail": [
1
],
"userWorkspaceId": [
- 491
+ 492
],
"__typename": [
1
@@ -3836,7 +3836,7 @@ export default {
},
"DestroyViewFieldGroupInput": {
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -3844,7 +3844,7 @@ export default {
},
"DestroyViewFieldInput": {
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -3852,7 +3852,7 @@ export default {
},
"DestroyViewFilterInput": {
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -3860,7 +3860,7 @@ export default {
},
"DestroyViewGroupInput": {
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -3868,7 +3868,7 @@ export default {
},
"DestroyViewSortInput": {
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -3910,7 +3910,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isCustomDomainEnabled": [
4
@@ -3927,10 +3927,10 @@ export default {
1
],
"id": [
- 491
+ 492
],
"pageLayoutId": [
- 491
+ 492
],
"position": [
11
@@ -3953,7 +3953,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"memberCount": [
11
@@ -3973,7 +3973,7 @@ export default {
},
"EditSso": {
"id": [
- 491
+ 492
],
"issuer": [
1
@@ -3982,10 +3982,10 @@ export default {
1
],
"status": [
- 435
+ 436
],
"type": [
- 271
+ 272
],
"__typename": [
1
@@ -3993,10 +3993,10 @@ export default {
},
"EditSsoInput": {
"id": [
- 491
+ 492
],
"status": [
- 435
+ 436
],
"__typename": [
1
@@ -4030,7 +4030,7 @@ export default {
},
"EmailThreadConfiguration": {
"configurationType": [
- 615
+ 616
],
"__typename": [
1
@@ -4044,7 +4044,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"status": [
218
@@ -4053,13 +4053,13 @@ export default {
219
],
"unsubscribeHostnameStatus": [
- 493
+ 494
],
"updatedAt": [
187
],
"verificationRecords": [
- 593
+ 594
],
"verifiedAt": [
187
@@ -4072,7 +4072,7 @@ export default {
"EmailingDomainTenantStatus": {},
"EmailsConfiguration": {
"configurationType": [
- 615
+ 616
],
"__typename": [
1
@@ -4090,7 +4090,7 @@ export default {
1
],
"payload": [
- 288
+ 289
],
"retryLimit": [
8
@@ -4104,7 +4104,7 @@ export default {
1
],
"payload": [
- 288
+ 289
],
"__typename": [
1
@@ -4135,7 +4135,7 @@ export default {
1
],
"payloads": [
- 288
+ 289
],
"retryLimit": [
8
@@ -4303,7 +4303,7 @@ export default {
1
],
"properties": [
- 288
+ 289
],
"recordId": [
1
@@ -4324,13 +4324,13 @@ export default {
1
],
"metadataEvents": [
- 330
+ 331
],
"objectRecordEventsWithQueryIds": [
- 360
+ 361
],
"queueJobEvents": [
- 291
+ 292
],
"__typename": [
1
@@ -4338,10 +4338,10 @@ export default {
},
"ExecuteOneLogicFunctionInput": {
"id": [
- 491
+ 492
],
"payload": [
- 288
+ 289
],
"__typename": [
1
@@ -4361,13 +4361,13 @@ export default {
"FeatureFlagKey": {},
"Field": {
"applicationId": [
- 491
+ 492
],
"createdAt": [
187
],
"defaultValue": [
- 288
+ 289
],
"description": [
1
@@ -4376,7 +4376,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isActive": [
4
@@ -4409,28 +4409,28 @@ export default {
1
],
"morphId": [
- 491
+ 492
],
"morphRelations": [
- 411
+ 412
],
"name": [
1
],
"object": [
- 347
+ 348
],
"objectMetadataId": [
- 491
+ 492
],
"options": [
- 288
+ 289
],
"relation": [
- 411
+ 412
],
"settings": [
- 288
+ 289
],
"type": [
248
@@ -4442,7 +4442,7 @@ export default {
187
],
"writability": [
- 337
+ 338
],
"__typename": [
1
@@ -4450,7 +4450,7 @@ export default {
},
"FieldConfiguration": {
"configurationType": [
- 615
+ 616
],
"fieldDisplayMode": [
245
@@ -4476,7 +4476,7 @@ export default {
246
],
"pageInfo": [
- 367
+ 368
],
"__typename": [
1
@@ -4499,7 +4499,7 @@ export default {
247
],
"id": [
- 492
+ 493
],
"isActive": [
108
@@ -4514,7 +4514,7 @@ export default {
108
],
"objectMetadataId": [
- 492
+ 493
],
"or": [
247
@@ -4532,16 +4532,16 @@ export default {
4
],
"fieldMetadataId": [
- 491
+ 492
],
"id": [
- 491
+ 492
],
"objectMetadataId": [
- 491
+ 492
],
"roleId": [
- 491
+ 492
],
"__typename": [
1
@@ -4555,10 +4555,10 @@ export default {
4
],
"fieldMetadataId": [
- 491
+ 492
],
"objectMetadataId": [
- 491
+ 492
],
"__typename": [
1
@@ -4566,7 +4566,7 @@ export default {
},
"FieldRichTextConfiguration": {
"configurationType": [
- 615
+ 616
],
"__typename": [
1
@@ -4574,7 +4574,7 @@ export default {
},
"FieldsConfiguration": {
"configurationType": [
- 615
+ 616
],
"newFieldDefaultVisibility": [
4
@@ -4594,7 +4594,7 @@ export default {
187
],
"id": [
- 491
+ 492
],
"path": [
1
@@ -4611,7 +4611,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -4626,7 +4626,7 @@ export default {
187
],
"fileId": [
- 491
+ 492
],
"uploadUrl": [
1
@@ -4640,7 +4640,7 @@ export default {
187
],
"id": [
- 491
+ 492
],
"path": [
1
@@ -4657,7 +4657,7 @@ export default {
},
"FilesConfiguration": {
"configurationType": [
- 615
+ 616
],
"__typename": [
1
@@ -4665,7 +4665,7 @@ export default {
},
"FindAvailableSSOIDP": {
"id": [
- 491
+ 492
],
"issuer": [
1
@@ -4674,13 +4674,13 @@ export default {
1
],
"status": [
- 435
+ 436
],
"type": [
- 271
+ 272
],
"workspace": [
- 635
+ 636
],
"__typename": [
1
@@ -4694,13 +4694,13 @@ export default {
8
],
"reason": [
- 328
+ 329
],
"searchTerm": [
1
],
"unsubscribeTopicId": [
- 491
+ 492
],
"__typename": [
1
@@ -4708,7 +4708,7 @@ export default {
},
"FormFieldConfiguration": {
"configurationType": [
- 615
+ 616
],
"fieldMetadataId": [
1
@@ -4722,7 +4722,7 @@ export default {
1
],
"applicationId": [
- 491
+ 492
],
"applicationName": [
1
@@ -4731,7 +4731,7 @@ export default {
59
],
"applicationVariables": [
- 288
+ 289
],
"builtComponentChecksum": [
1
@@ -4752,7 +4752,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isHeadless": [
4
@@ -4764,7 +4764,7 @@ export default {
1
],
"universalIdentifier": [
- 491
+ 492
],
"updatedAt": [
187
@@ -4772,19 +4772,33 @@ export default {
"usesSdkClient": [
4
],
+ "widgetAvailability": [
+ 264
+ ],
"__typename": [
1
]
},
"FrontComponentConfiguration": {
"configurationType": [
- 615
+ 616
],
"frontComponentId": [
- 491
+ 492
],
"headerCommandMenuItemUniversalIdentifiers": [
- 491
+ 492
+ ],
+ "__typename": [
+ 1
+ ]
+ },
+ "FrontComponentWidgetAvailability": {
+ "objectMetadataId": [
+ 492
+ ],
+ "pageLayoutType": [
+ 372
],
"__typename": [
1
@@ -4803,7 +4817,7 @@ export default {
},
"GetApiKeyInput": {
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -4814,7 +4828,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"type": [
1
@@ -4825,7 +4839,7 @@ export default {
},
"GetAuthorizationUrlForSSOInput": {
"identityProviderId": [
- 491
+ 492
],
"workspaceInviteHash": [
1
@@ -4836,7 +4850,7 @@ export default {
},
"GrantApplicationCapabilitiesInput": {
"applicationId": [
- 491
+ 492
],
"capabilities": [
1
@@ -4866,7 +4880,7 @@ export default {
"IdentityProviderType": {},
"IframeConfiguration": {
"configurationType": [
- 615
+ 616
],
"url": [
1
@@ -4888,13 +4902,13 @@ export default {
},
"ImapSmtpCaldavPublicConnectionParameters": {
"CALDAV": [
- 275
+ 276
],
"IMAP": [
- 275
+ 276
],
"SMTP": [
- 275
+ 276
],
"name": [
1
@@ -4925,7 +4939,7 @@ export default {
65
],
"workspace": [
- 639
+ 640
],
"__typename": [
1
@@ -4936,13 +4950,13 @@ export default {
187
],
"id": [
- 491
+ 492
],
"indexFieldMetadataList": [
- 279
+ 280
],
"indexType": [
- 281
+ 282
],
"indexWhereClause": [
1
@@ -4968,7 +4982,7 @@ export default {
142
],
"node": [
- 277
+ 278
],
"__typename": [
1
@@ -4979,10 +4993,10 @@ export default {
187
],
"fieldMetadataId": [
- 491
+ 492
],
"id": [
- 491
+ 492
],
"order": [
11
@@ -4999,16 +5013,16 @@ export default {
},
"IndexFilter": {
"and": [
- 280
+ 281
],
"id": [
- 492
+ 493
],
"isCustom": [
108
],
"or": [
- 280
+ 281
],
"__typename": [
1
@@ -5017,7 +5031,7 @@ export default {
"IndexType": {},
"IngestAppMessagesInput": {
"messageChannelId": [
- 491
+ 492
],
"messages": [
34
@@ -5028,7 +5042,7 @@ export default {
},
"IngestAppMessagesOutput": {
"messages": [
- 284
+ 285
],
"__typename": [
1
@@ -5039,10 +5053,10 @@ export default {
1
],
"messageId": [
- 491
+ 492
],
"messageThreadId": [
- 491
+ 492
],
"__typename": [
1
@@ -5101,7 +5115,7 @@ export default {
11
],
"state": [
- 290
+ 291
],
"__typename": [
1
@@ -5109,7 +5123,7 @@ export default {
},
"LineChartConfiguration": {
"aggregateFieldMetadataId": [
- 491
+ 492
],
"aggregateOperation": [
19
@@ -5121,7 +5135,7 @@ export default {
1
],
"configurationType": [
- 615
+ 616
],
"description": [
1
@@ -5133,7 +5147,7 @@ export default {
4
],
"filter": [
- 288
+ 289
],
"firstDayOfTheWeek": [
8
@@ -5151,10 +5165,10 @@ export default {
4
],
"primaryAxisDateGranularity": [
- 361
+ 362
],
"primaryAxisGroupByFieldMetadataId": [
- 491
+ 492
],
"primaryAxisGroupBySubFieldName": [
1
@@ -5163,7 +5177,7 @@ export default {
1
],
"primaryAxisOrderBy": [
- 269
+ 270
],
"rangeMax": [
11
@@ -5172,10 +5186,10 @@ export default {
11
],
"secondaryAxisGroupByDateGranularity": [
- 361
+ 362
],
"secondaryAxisGroupByFieldMetadataId": [
- 491
+ 492
],
"secondaryAxisGroupBySubFieldName": [
1
@@ -5184,7 +5198,7 @@ export default {
1
],
"secondaryAxisOrderBy": [
- 269
+ 270
],
"splitMultiValueFields": [
4
@@ -5198,13 +5212,13 @@ export default {
},
"LineChartData": {
"formattedToRawLookup": [
- 288
+ 289
],
"hasTooManyGroups": [
4
],
"series": [
- 296
+ 297
],
"showDataLabels": [
4
@@ -5224,10 +5238,10 @@ export default {
},
"LineChartDataInput": {
"configuration": [
- 288
+ 289
],
"objectMetadataId": [
- 491
+ 492
],
"__typename": [
1
@@ -5246,7 +5260,7 @@ export default {
},
"LineChartSeries": {
"data": [
- 295
+ 296
],
"key": [
1
@@ -5274,7 +5288,7 @@ export default {
},
"ListAppMessageChannelsInput": {
"connectedAccountId": [
- 491
+ 492
],
"__typename": [
1
@@ -5293,7 +5307,7 @@ export default {
},
"LogicFunction": {
"applicationId": [
- 491
+ 492
],
"canRunOnDemand": [
4
@@ -5302,25 +5316,25 @@ export default {
187
],
"cronTriggerSettings": [
- 288
+ 289
],
"databaseEventTriggerSettings": [
- 288
+ 289
],
"description": [
1
],
"executionMode": [
- 301
+ 302
],
"handlerName": [
1
],
"httpRouteTriggerSettings": [
- 288
+ 289
],
"id": [
- 491
+ 492
],
"name": [
1
@@ -5335,16 +5349,16 @@ export default {
11
],
"toolTriggerSettings": [
- 288
+ 289
],
"universalIdentifier": [
- 491
+ 492
],
"updatedAt": [
187
],
"workflowActionTriggerSettings": [
- 288
+ 289
],
"__typename": [
1
@@ -5353,19 +5367,19 @@ export default {
"LogicFunctionExecutionMode": {},
"LogicFunctionExecutionResult": {
"data": [
- 288
+ 289
],
"duration": [
11
],
"error": [
- 288
+ 289
],
"logs": [
1
],
"status": [
- 303
+ 304
],
"__typename": [
1
@@ -5388,7 +5402,7 @@ export default {
1
],
"universalIdentifier": [
- 491
+ 492
],
"__typename": [
1
@@ -5396,19 +5410,19 @@ export default {
},
"LogicFunctionLogsInput": {
"applicationId": [
- 491
+ 492
],
"applicationUniversalIdentifier": [
- 491
+ 492
],
"id": [
- 491
+ 492
],
"name": [
1
],
"universalIdentifier": [
- 491
+ 492
],
"__typename": [
1
@@ -5498,7 +5512,7 @@ export default {
1
],
"manifest": [
- 288
+ 289
],
"name": [
1
@@ -5510,7 +5524,7 @@ export default {
1
],
"roles": [
- 310
+ 311
],
"screenshots": [
1
@@ -5557,7 +5571,7 @@ export default {
1
],
"fieldPermissions": [
- 311
+ 312
],
"icon": [
1
@@ -5566,7 +5580,7 @@ export default {
1
],
"objectPermissions": [
- 312
+ 313
],
"permissionFlagUniversalIdentifiers": [
1
@@ -5623,7 +5637,7 @@ export default {
},
"MessageCampaignBodyConfiguration": {
"configurationType": [
- 615
+ 616
],
"__typename": [
1
@@ -5631,7 +5645,7 @@ export default {
},
"MessageCampaignDetailsConfiguration": {
"configurationType": [
- 615
+ 616
],
"__typename": [
1
@@ -5642,10 +5656,10 @@ export default {
140
],
"connectedAccountId": [
- 491
+ 492
],
"contactAutoCreationPolicy": [
- 316
+ 317
],
"createdAt": [
187
@@ -5663,7 +5677,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isContactAutoCreationEnabled": [
4
@@ -5672,19 +5686,19 @@ export default {
4
],
"messageFolderImportPolicy": [
- 323
+ 324
],
"pendingGroupEmailsAction": [
- 317
+ 318
],
"syncStage": [
- 318
+ 319
],
"syncStageStartedAt": [
187
],
"syncStatus": [
- 319
+ 320
],
"syncedAt": [
187
@@ -5696,13 +5710,13 @@ export default {
187
],
"type": [
- 320
+ 321
],
"updatedAt": [
187
],
"visibility": [
- 321
+ 322
],
"__typename": [
1
@@ -5722,7 +5736,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isSentFolder": [
4
@@ -5731,7 +5745,7 @@ export default {
4
],
"messageChannelId": [
- 491
+ 492
],
"name": [
1
@@ -5740,7 +5754,7 @@ export default {
1
],
"pendingSyncAction": [
- 324
+ 325
],
"updatedAt": [
187
@@ -5760,16 +5774,16 @@ export default {
1
],
"id": [
- 491
+ 492
],
"reason": [
- 328
+ 329
],
"source": [
- 329
+ 330
],
"unsubscribeTopicId": [
- 491
+ 492
],
"__typename": [
1
@@ -5777,7 +5791,7 @@ export default {
},
"MessageSuppressionList": {
"records": [
- 326
+ 327
],
"totalCount": [
8
@@ -5793,13 +5807,13 @@ export default {
1
],
"properties": [
- 359
+ 360
],
"recordId": [
1
],
"type": [
- 331
+ 332
],
"updatedCollectionHash": [
1
@@ -5821,16 +5835,16 @@ export default {
1
],
"objectMetadataId": [
- 491
+ 492
],
"property": [
1
],
"provenance": [
- 335
+ 336
],
"recordId": [
- 491
+ 492
],
"sourceValue": [
1
@@ -5859,13 +5873,13 @@ export default {
"MetadataTranslationProvenance": {},
"MetadataTranslationsInput": {
"fieldMetadataId": [
- 491
+ 492
],
"locale": [
1
],
"objectMetadataId": [
- 491
+ 492
],
"__typename": [
1
@@ -5877,10 +5891,10 @@ export default {
135
],
"objectMetadataItems": [
- 339
+ 340
],
"views": [
- 340
+ 341
],
"__typename": [
1
@@ -5894,7 +5908,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isActive": [
4
@@ -5923,16 +5937,16 @@ export default {
},
"MinimalView": {
"id": [
- 491
+ 492
],
"key": [
- 607
+ 608
],
"objectMetadataId": [
- 491
+ 492
],
"type": [
- 611
+ 612
],
"__typename": [
1
@@ -5941,16 +5955,16 @@ export default {
"ModelFamily": {},
"Mutation": {
"activateSkill": [
- 458,
+ 459,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
],
"activateWorkspace": [
- 620,
+ 621,
{
"data": [
0,
@@ -5971,10 +5985,10 @@ export default {
4,
{
"assigneeWorkspaceMemberId": [
- 491
+ 492
],
"threadId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -5983,11 +5997,11 @@ export default {
4,
{
"agentId": [
- 491,
+ 492,
"UUID!"
],
"roleId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -5996,11 +6010,11 @@ export default {
4,
{
"apiKeyId": [
- 491,
+ 492,
"UUID!"
],
"roleId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -6068,7 +6082,7 @@ export default {
"BillingPlanKey!"
],
"recurringInterval": [
- 464,
+ 465,
"SubscriptionInterval!"
],
"requirePaymentMethod": [
@@ -6093,7 +6107,7 @@ export default {
54,
{
"fileId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -6106,13 +6120,13 @@ export default {
"String!"
],
"fileIds": [
- 491,
+ 492,
"[UUID!]!"
]
}
],
"completeBookCallOnboardingStep": [
- 365,
+ 366,
{
"hasBookedCall": [
4,
@@ -6174,7 +6188,7 @@ export default {
}
],
"createAppMessageChannel": [
- 315,
+ 316,
{
"input": [
146,
@@ -6301,7 +6315,7 @@ export default {
}
],
"createManyNavigationMenuItems": [
- 344,
+ 345,
{
"inputs": [
163,
@@ -6310,7 +6324,7 @@ export default {
}
],
"createManyViewFieldGroups": [
- 601,
+ 602,
{
"inputs": [
177,
@@ -6319,7 +6333,7 @@ export default {
}
],
"createManyViewFields": [
- 600,
+ 601,
{
"inputs": [
178,
@@ -6328,7 +6342,7 @@ export default {
}
],
"createManyViewGroups": [
- 606,
+ 607,
{
"inputs": [
181,
@@ -6337,7 +6351,7 @@ export default {
}
],
"createMessageSuppression": [
- 326,
+ 327,
{
"input": [
162,
@@ -6346,7 +6360,7 @@ export default {
}
],
"createNavigationMenuItem": [
- 344,
+ 345,
{
"input": [
163,
@@ -6372,10 +6386,10 @@ export default {
}
],
"createOIDCIdentityProvider": [
- 455,
+ 456,
{
"input": [
- 453,
+ 454,
"SetupOIDCSsoInput!"
]
}
@@ -6388,14 +6402,14 @@ export default {
"String!"
],
"objectMetadataId": [
- 491,
+ 492,
"UUID!"
],
"properties": [
- 288
+ 289
],
"recordId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -6419,7 +6433,7 @@ export default {
}
],
"createOneIndex": [
- 277,
+ 278,
{
"input": [
166,
@@ -6428,7 +6442,7 @@ export default {
}
],
"createOneLogicFunction": [
- 300,
+ 301,
{
"input": [
161,
@@ -6437,7 +6451,7 @@ export default {
}
],
"createOneObject": [
- 347,
+ 348,
{
"input": [
167,
@@ -6446,7 +6460,7 @@ export default {
}
],
"createOneRole": [
- 418,
+ 419,
{
"createRoleInput": [
172,
@@ -6455,7 +6469,7 @@ export default {
}
],
"createPageLayout": [
- 368,
+ 369,
{
"input": [
168,
@@ -6464,7 +6478,7 @@ export default {
}
],
"createPageLayoutTab": [
- 369,
+ 370,
{
"input": [
169,
@@ -6473,7 +6487,7 @@ export default {
}
],
"createPageLayoutWidget": [
- 372,
+ 373,
{
"input": [
170,
@@ -6482,7 +6496,7 @@ export default {
}
],
"createPublicDomain": [
- 389,
+ 390,
{
"applicationId": [
1,
@@ -6495,16 +6509,16 @@ export default {
}
],
"createSAMLIdentityProvider": [
- 455,
+ 456,
{
"input": [
- 454,
+ 455,
"SetupSAMLSsoInput!"
]
}
],
"createSkill": [
- 458,
+ 459,
{
"input": [
173,
@@ -6524,7 +6538,7 @@ export default {
"BillingPlanKey!"
],
"recurringInterval": [
- 464,
+ 465,
"SubscriptionInterval!"
],
"requirePaymentMethod": [
@@ -6537,7 +6551,7 @@ export default {
}
],
"createUnsubscribeTopic": [
- 494,
+ 495,
{
"input": [
174,
@@ -6546,7 +6560,7 @@ export default {
}
],
"createUsageLimit": [
- 573,
+ 574,
{
"input": [
175,
@@ -6555,7 +6569,7 @@ export default {
}
],
"createValidationRule": [
- 592,
+ 593,
{
"input": [
176,
@@ -6564,7 +6578,7 @@ export default {
}
],
"createView": [
- 597,
+ 598,
{
"input": [
182,
@@ -6573,7 +6587,7 @@ export default {
}
],
"createViewField": [
- 600,
+ 601,
{
"input": [
178,
@@ -6582,7 +6596,7 @@ export default {
}
],
"createViewFieldGroup": [
- 601,
+ 602,
{
"input": [
177,
@@ -6591,7 +6605,7 @@ export default {
}
],
"createViewFilter": [
- 602,
+ 603,
{
"input": [
180,
@@ -6600,7 +6614,7 @@ export default {
}
],
"createViewFilterGroup": [
- 603,
+ 604,
{
"input": [
179,
@@ -6609,7 +6623,7 @@ export default {
}
],
"createViewGroup": [
- 606,
+ 607,
{
"input": [
181,
@@ -6618,7 +6632,7 @@ export default {
}
],
"createViewSort": [
- 609,
+ 610,
{
"input": [
183,
@@ -6627,7 +6641,7 @@ export default {
}
],
"createWebhook": [
- 613,
+ 614,
{
"input": [
184,
@@ -6636,10 +6650,10 @@ export default {
}
],
"deactivateSkill": [
- 458,
+ 459,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
@@ -6657,10 +6671,10 @@ export default {
}
],
"deleteAppMessageChannel": [
- 315,
+ 316,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
@@ -6687,7 +6701,7 @@ export default {
136,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
@@ -6696,19 +6710,19 @@ export default {
140,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
],
"deleteCurrentWorkspace": [
- 620
+ 621
],
"deleteEmailGroupChannel": [
- 315,
+ 316,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
@@ -6726,16 +6740,16 @@ export default {
262,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
],
"deleteManyNavigationMenuItems": [
- 344,
+ 345,
{
"ids": [
- 491,
+ 492,
"[UUID!]!"
]
}
@@ -6744,16 +6758,16 @@ export default {
4,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
],
"deleteNavigationMenuItem": [
- 344,
+ 345,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
@@ -6777,7 +6791,7 @@ export default {
}
],
"deleteOneIndex": [
- 277,
+ 278,
{
"input": [
190,
@@ -6786,16 +6800,16 @@ export default {
}
],
"deleteOneLogicFunction": [
- 300,
+ 301,
{
"input": [
- 304,
+ 305,
"LogicFunctionIdInput!"
]
}
],
"deleteOneObject": [
- 347,
+ 348,
{
"input": [
191,
@@ -6807,7 +6821,7 @@ export default {
1,
{
"roleId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -6825,7 +6839,7 @@ export default {
4,
{
"messageId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -6840,10 +6854,10 @@ export default {
}
],
"deleteSkill": [
- 458,
+ 459,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
@@ -6852,7 +6866,7 @@ export default {
194,
{
"twoFactorAuthenticationMethodId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -6870,16 +6884,16 @@ export default {
4,
{
"usageLimitId": [
- 491,
+ 492,
"UUID!"
]
}
],
"deleteUser": [
- 586
+ 587
],
"deleteUserFromWorkspace": [
- 589,
+ 590,
{
"workspaceMemberIdToDelete": [
1,
@@ -6888,10 +6902,10 @@ export default {
}
],
"deleteValidationRule": [
- 592,
+ 593,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
@@ -6906,7 +6920,7 @@ export default {
}
],
"deleteViewField": [
- 600,
+ 601,
{
"input": [
196,
@@ -6915,7 +6929,7 @@ export default {
}
],
"deleteViewFieldGroup": [
- 601,
+ 602,
{
"input": [
195,
@@ -6924,7 +6938,7 @@ export default {
}
],
"deleteViewFilter": [
- 602,
+ 603,
{
"input": [
197,
@@ -6942,7 +6956,7 @@ export default {
}
],
"deleteViewGroup": [
- 606,
+ 607,
{
"input": [
198,
@@ -6960,10 +6974,10 @@ export default {
}
],
"deleteWebhook": [
- 613,
+ 614,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
@@ -7014,7 +7028,7 @@ export default {
}
],
"destroyViewField": [
- 600,
+ 601,
{
"input": [
202,
@@ -7023,7 +7037,7 @@ export default {
}
],
"destroyViewFieldGroup": [
- 601,
+ 602,
{
"input": [
201,
@@ -7032,7 +7046,7 @@ export default {
}
],
"destroyViewFilter": [
- 602,
+ 603,
{
"input": [
203,
@@ -7050,7 +7064,7 @@ export default {
}
],
"destroyViewGroup": [
- 606,
+ 607,
{
"input": [
204,
@@ -7071,7 +7085,7 @@ export default {
140,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
@@ -7080,7 +7094,7 @@ export default {
209,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
@@ -7089,7 +7103,7 @@ export default {
210,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
@@ -7114,7 +7128,7 @@ export default {
"String!"
],
"workspaceId": [
- 491
+ 492
]
}
],
@@ -7140,10 +7154,10 @@ export default {
}
],
"enrichWorkspaceCompany": [
- 624
+ 625
],
"executeOneLogicFunction": [
- 302,
+ 303,
{
"input": [
239,
@@ -7155,7 +7169,7 @@ export default {
30,
{
"apiKeyId": [
- 491,
+ 492,
"UUID!"
],
"expiresAt": [
@@ -7168,7 +7182,7 @@ export default {
59,
{
"applicationId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -7177,16 +7191,16 @@ export default {
65
],
"generateTransientToken": [
- 474
+ 475
],
"generateTwoFactorAuthenticationRecoveryCode": [
- 488,
+ 489,
{
"otp": [
1
],
"userId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -7234,7 +7248,7 @@ export default {
}
],
"getAuthTokensFromTwoFactorAuthenticationRecoveryCode": [
- 489,
+ 490,
{
"captchaToken": [
1
@@ -7254,16 +7268,16 @@ export default {
}
],
"getAuthorizationUrlForSSO": [
- 266,
+ 267,
{
"input": [
- 267,
+ 268,
"GetAuthorizationUrlForSSOInput!"
]
}
],
"getLoginTokenFromCredentials": [
- 307,
+ 308,
{
"captchaToken": [
1
@@ -7289,41 +7303,41 @@ export default {
}
],
"goBackToPreviousOnboardingStep": [
- 364
+ 365
],
"grantApplicationCapabilities": [
38,
{
"input": [
- 268,
+ 269,
"GrantApplicationCapabilitiesInput!"
]
}
],
"impersonate": [
- 276,
+ 277,
{
"userId": [
- 491,
+ 492,
"UUID!"
],
"workspaceId": [
- 491,
+ 492,
"UUID!"
]
}
],
"ingestAppMessages": [
- 283,
+ 284,
{
"input": [
- 282,
+ 283,
"IngestAppMessagesInput!"
]
}
],
"initiateOTPProvisioning": [
- 285,
+ 286,
{
"loginToken": [
1,
@@ -7336,7 +7350,7 @@ export default {
}
],
"initiateOTPProvisioningForAuthenticatedUser": [
- 285
+ 286
],
"installApplication": [
36,
@@ -7372,20 +7386,20 @@ export default {
4,
{
"input": [
- 413,
+ 414,
"RemoveQueryFromEventStreamInput!"
]
}
],
"removeRecordShare": [
- 405,
+ 406,
{
"principal": [
- 402,
+ 403,
"RecordSharePrincipalInput!"
],
"target": [
- 410,
+ 411,
"RecordTargetInput!"
]
}
@@ -7394,7 +7408,7 @@ export default {
4,
{
"agentId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -7421,13 +7435,13 @@ export default {
4,
{
"input": [
- 414,
+ 415,
"ReportAppConnectionAuthFailureInput!"
]
}
],
"resendEmailVerificationToken": [
- 415,
+ 416,
{
"email": [
1,
@@ -7440,7 +7454,7 @@ export default {
}
],
"resendWorkspaceInvitation": [
- 445,
+ 446,
{
"appTokenId": [
1,
@@ -7452,13 +7466,13 @@ export default {
136,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
],
"resetPageLayoutTabToDefault": [
- 369,
+ 370,
{
"id": [
1,
@@ -7467,7 +7481,7 @@ export default {
}
],
"resetPageLayoutToDefault": [
- 368,
+ 369,
{
"id": [
1,
@@ -7476,7 +7490,7 @@ export default {
}
],
"resetPageLayoutWidgetToDefault": [
- 372,
+ 373,
{
"id": [
1,
@@ -7485,22 +7499,22 @@ export default {
}
],
"resetTimelineActivityType": [
- 469,
+ 470,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
],
"retryChatMessage": [
- 438,
+ 439,
{
"modelId": [
1
],
"threadId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -7512,7 +7526,7 @@ export default {
28,
{
"input": [
- 416,
+ 417,
"RevokeApiKeyInput!"
]
}
@@ -7521,7 +7535,7 @@ export default {
4,
{
"applicationAuthorizationId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -7530,7 +7544,7 @@ export default {
4,
{
"userId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -7539,13 +7553,13 @@ export default {
4,
{
"userSessionId": [
- 491,
+ 492,
"UUID!"
]
}
],
"rotateApplicationRegistrationClientSecret": [
- 420,
+ 421,
{
"id": [
1,
@@ -7554,10 +7568,10 @@ export default {
}
],
"runAgent": [
- 431,
+ 432,
{
"input": [
- 427,
+ 428,
"RunAgentInput!"
]
}
@@ -7566,13 +7580,13 @@ export default {
52,
{
"applicationId": [
- 491,
+ 492,
"UUID!"
]
}
],
"saveImapSmtpCaldavAccount": [
- 273,
+ 274,
{
"connectionParameters": [
213,
@@ -7583,26 +7597,26 @@ export default {
"String!"
],
"id": [
- 491
+ 492
]
}
],
"sendChatMessage": [
- 438,
+ 439,
{
"browsingContext": [
- 288
+ 289
],
"fileAttachments": [
254,
"[FileAttachmentInput!]"
],
"mentionedWorkspaceMemberIds": [
- 491,
+ 492,
"[UUID!]"
],
"messageId": [
- 491,
+ 492,
"UUID!"
],
"modelId": [
@@ -7613,55 +7627,55 @@ export default {
"String!"
],
"threadId": [
- 491,
+ 492,
"UUID!"
]
}
],
"sendEmail": [
- 441,
+ 442,
{
"input": [
- 440,
+ 441,
"SendEmailInput!"
]
}
],
"sendInboxMessage": [
- 444,
+ 445,
{
"input": [
- 443,
+ 444,
"SendInboxMessageInput!"
]
}
],
"sendInvitations": [
- 445,
+ 446,
{
"emails": [
1,
"[String!]!"
],
"roleId": [
- 491
+ 492
]
}
],
"sendMessageCampaign": [
- 447,
+ 448,
{
"input": [
- 446,
+ 447,
"SendMessageCampaignInput!"
]
}
],
"sendMessageCampaignTest": [
- 442,
+ 443,
{
"input": [
- 448,
+ 449,
"SendMessageCampaignTestInput!"
]
}
@@ -7670,7 +7684,7 @@ export default {
32,
{
"input": [
- 450,
+ 451,
"SetAppKeyValueInput!"
]
}
@@ -7685,31 +7699,31 @@ export default {
}
],
"setRecordGeneralAccess": [
- 405,
+ 406,
{
"accessLevel": [
- 401,
+ 402,
"RecordShareAccessLevel!"
],
"target": [
- 410,
+ 411,
"RecordTargetInput!"
]
}
],
"setRecordShare": [
- 405,
+ 406,
{
"accessLevel": [
- 401,
+ 402,
"RecordShareAccessLevel!"
],
"principal": [
- 402,
+ 403,
"RecordSharePrincipalInput!"
],
"target": [
- 410,
+ 411,
"RecordTargetInput!"
]
}
@@ -7776,15 +7790,15 @@ export default {
}
],
"signUpInNewWorkspace": [
- 456,
+ 457,
{
"input": [
- 457
+ 458
]
}
],
"signUpInWorkspace": [
- 456,
+ 457,
{
"captchaToken": [
1
@@ -7804,7 +7818,7 @@ export default {
1
],
"workspaceId": [
- 491
+ 492
],
"workspaceInviteHash": [
1
@@ -7815,7 +7829,7 @@ export default {
}
],
"skipSyncEmailOnboardingStep": [
- 365,
+ 366,
{
"isAutoSkipped": [
4,
@@ -7827,19 +7841,19 @@ export default {
122,
{
"connectedAccountId": [
- 491,
+ 492,
"UUID!"
]
}
],
"startWorkspaceSetupChat": [
- 460,
+ 461,
{
"companyContext": [
- 288
+ 289
],
"personContext": [
- 288
+ 289
]
}
],
@@ -7847,13 +7861,13 @@ export default {
4,
{
"threadId": [
- 491,
+ 492,
"UUID!"
]
}
],
"stopImpersonation": [
- 461
+ 462
],
"switchBillingPlan": [
106
@@ -7862,7 +7876,7 @@ export default {
106
],
"syncApplication": [
- 634,
+ 635,
{
"dryRun": [
4
@@ -7871,7 +7885,7 @@ export default {
4
],
"manifest": [
- 288,
+ 289,
"JSON!"
]
}
@@ -7889,7 +7903,7 @@ export default {
1
],
"properties": [
- 288
+ 289
],
"type": [
26,
@@ -7911,55 +7925,55 @@ export default {
}
],
"triggerAddPeopleToMessageListJob": [
- 476,
+ 477,
{
"input": [
- 475,
+ 476,
"TriggerAddPeopleToMessageListJobInput!"
]
}
],
"triggerInstallApplication": [
- 480,
+ 481,
{
"input": [
- 477,
+ 478,
"TriggerInstallApplicationInput!"
]
}
],
"triggerInstallApplicationJob": [
- 479,
+ 480,
{
"input": [
- 478,
+ 479,
"TriggerInstallApplicationJobInput!"
]
}
],
"triggerUninstallApplication": [
- 484,
+ 485,
{
"input": [
- 481,
+ 482,
"TriggerUninstallApplicationInput!"
]
}
],
"triggerUninstallApplicationJob": [
- 483,
+ 484,
{
"input": [
- 482,
+ 483,
"TriggerUninstallApplicationJobInput!"
]
}
],
"triggerUpgradeApplication": [
- 486,
+ 487,
{
"input": [
- 485,
+ 486,
"TriggerUpgradeApplicationInput!"
]
}
@@ -7984,7 +7998,7 @@ export default {
187
],
"threadIds": [
- 491,
+ 492,
"[UUID!]!"
]
}
@@ -7993,16 +8007,16 @@ export default {
28,
{
"input": [
- 497,
+ 498,
"UpdateApiKeyInput!"
]
}
],
"updateAppMessageChannel": [
- 315,
+ 316,
{
"input": [
- 498,
+ 499,
"UpdateAppMessageChannelInput!"
]
}
@@ -8011,11 +8025,11 @@ export default {
36,
{
"id": [
- 491,
+ 492,
"UUID!"
],
"input": [
- 499,
+ 500,
"UpdateApplicationInput!"
]
}
@@ -8024,7 +8038,7 @@ export default {
54,
{
"input": [
- 500,
+ 501,
"UpdateApplicationRegistrationInput!"
]
}
@@ -8033,7 +8047,7 @@ export default {
58,
{
"input": [
- 502,
+ 503,
"UpdateApplicationRegistrationVariableInput!"
]
}
@@ -8042,7 +8056,7 @@ export default {
109,
{
"input": [
- 504,
+ 505,
"UpdateCalendarChannelInput!"
]
}
@@ -8051,16 +8065,16 @@ export default {
136,
{
"input": [
- 506,
+ 507,
"UpdateCommandMenuItemInput!"
]
}
],
"updateEmailGroupChannel": [
- 315,
+ 316,
{
"input": [
- 507,
+ 508,
"UpdateEmailGroupChannelInput!"
]
}
@@ -8069,7 +8083,7 @@ export default {
262,
{
"input": [
- 509,
+ 510,
"UpdateFrontComponentInput!"
]
}
@@ -8078,61 +8092,61 @@ export default {
240,
{
"input": [
- 511,
+ 512,
"UpdateLabPublicFeatureFlagInput!"
]
}
],
"updateManyNavigationMenuItems": [
- 344,
+ 345,
{
"inputs": [
- 522,
+ 523,
"[UpdateOneNavigationMenuItemInput!]!"
]
}
],
"updateManyObjects": [
- 347,
+ 348,
{
"inputs": [
- 523,
+ 524,
"[UpdateOneObjectInput!]!"
]
}
],
"updateManyViewGroups": [
- 606,
+ 607,
{
"inputs": [
- 545,
+ 546,
"[UpdateViewGroupInput!]!"
]
}
],
"updateMessageChannel": [
- 315,
+ 316,
{
"input": [
- 514,
+ 515,
"UpdateMessageChannelInput!"
]
}
],
"updateMessageFolder": [
- 322,
+ 323,
{
"input": [
- 516,
+ 517,
"UpdateMessageFolderInput!"
]
}
],
"updateMessageFolders": [
- 322,
+ 323,
{
"input": [
- 518,
+ 519,
"UpdateMessageFoldersInput!"
]
}
@@ -8155,10 +8169,10 @@ export default {
}
],
"updateNavigationMenuItem": [
- 344,
+ 345,
{
"input": [
- 522,
+ 523,
"UpdateOneNavigationMenuItemInput!"
]
}
@@ -8167,7 +8181,7 @@ export default {
3,
{
"input": [
- 496,
+ 497,
"UpdateAgentInput!"
]
}
@@ -8176,7 +8190,7 @@ export default {
4,
{
"applicationId": [
- 491
+ 492
],
"key": [
1,
@@ -8192,7 +8206,7 @@ export default {
242,
{
"input": [
- 521,
+ 522,
"UpdateOneFieldMetadataInput!"
]
}
@@ -8201,83 +8215,83 @@ export default {
4,
{
"input": [
- 512,
+ 513,
"UpdateLogicFunctionFromSourceInput!"
]
}
],
"updateOneObject": [
- 347,
+ 348,
{
"input": [
- 523,
+ 524,
"UpdateOneObjectInput!"
]
}
],
"updateOneRole": [
- 418,
+ 419,
{
"updateRoleInput": [
- 530,
+ 531,
"UpdateRoleInput!"
]
}
],
"updatePageLayout": [
- 368,
+ 369,
{
"id": [
1,
"String!"
],
"input": [
- 524,
+ 525,
"UpdatePageLayoutInput!"
]
}
],
"updatePageLayoutTab": [
- 369,
+ 370,
{
"id": [
1,
"String!"
],
"input": [
- 525,
+ 526,
"UpdatePageLayoutTabInput!"
]
}
],
"updatePageLayoutWidget": [
- 372,
+ 373,
{
"id": [
1,
"String!"
],
"input": [
- 527,
+ 528,
"UpdatePageLayoutWidgetInput!"
]
}
],
"updatePageLayoutWithTabsAndWidgets": [
- 368,
+ 369,
{
"id": [
1,
"String!"
],
"input": [
- 529,
+ 530,
"UpdatePageLayoutWithTabsInput!"
]
}
],
"updatePasswordViaResetToken": [
- 286,
+ 287,
{
"newPassword": [
1,
@@ -8290,37 +8304,37 @@ export default {
}
],
"updateSkill": [
- 458,
+ 459,
{
"input": [
- 532,
+ 533,
"UpdateSkillInput!"
]
}
],
"updateTimelineActivityType": [
- 469,
+ 470,
{
"input": [
- 533,
+ 534,
"UpdateTimelineActivityTypeInput!"
]
}
],
"updateUnsubscribeTopic": [
- 494,
+ 495,
{
"input": [
- 534,
+ 535,
"UpdateUnsubscribeTopicInput!"
]
}
],
"updateUsageLimit": [
- 573,
+ 574,
{
"input": [
- 535,
+ 536,
"UpdateUsageLimitInput!"
]
}
@@ -8338,121 +8352,121 @@ export default {
}
],
"updateValidationRule": [
- 592,
+ 593,
{
"input": [
- 536,
+ 537,
"UpdateValidationRuleInput!"
]
}
],
"updateView": [
- 597,
+ 598,
{
"id": [
1,
"String!"
],
"input": [
- 547,
+ 548,
"UpdateViewInput!"
]
}
],
"updateViewField": [
- 600,
+ 601,
{
"input": [
- 540,
+ 541,
"UpdateViewFieldInput!"
]
}
],
"updateViewFieldGroup": [
- 601,
+ 602,
{
"input": [
- 538,
+ 539,
"UpdateViewFieldGroupInput!"
]
}
],
"updateViewFilter": [
- 602,
+ 603,
{
"input": [
- 543,
+ 544,
"UpdateViewFilterInput!"
]
}
],
"updateViewFilterGroup": [
- 603,
+ 604,
{
"id": [
1,
"String!"
],
"input": [
- 542,
+ 543,
"UpdateViewFilterGroupInput!"
]
}
],
"updateViewGroup": [
- 606,
+ 607,
{
"input": [
- 545,
+ 546,
"UpdateViewGroupInput!"
]
}
],
"updateViewSort": [
- 609,
+ 610,
{
"input": [
- 548,
+ 549,
"UpdateViewSortInput!"
]
}
],
"updateWebhook": [
- 613,
+ 614,
{
"input": [
- 550,
+ 551,
"UpdateWebhookInput!"
]
}
],
"updateWorkspace": [
- 620,
+ 621,
{
"data": [
- 553,
+ 554,
"UpdateWorkspaceInput!"
]
}
],
"updateWorkspaceAllowedIframeOrigins": [
- 620,
+ 621,
{
"data": [
- 552,
+ 553,
"UpdateWorkspaceAllowedIframeOriginsInput!"
]
}
],
"updateWorkspaceMemberRole": [
- 629,
+ 630,
{
"roleId": [
- 491,
+ 492,
"UUID!"
],
"workspaceMemberId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -8461,7 +8475,7 @@ export default {
4,
{
"input": [
- 554,
+ 555,
"UpdateWorkspaceMemberSettingsInput!"
]
}
@@ -8483,7 +8497,7 @@ export default {
54,
{
"file": [
- 555,
+ 556,
"Upload!"
],
"universalIdentifier": [
@@ -8499,7 +8513,7 @@ export default {
"String!"
],
"file": [
- 555,
+ 556,
"Upload!"
],
"fileFolder": [
@@ -8520,7 +8534,7 @@ export default {
"String!"
],
"file": [
- 555,
+ 556,
"Upload!"
]
}
@@ -8529,7 +8543,7 @@ export default {
257,
{
"file": [
- 555,
+ 556,
"Upload!"
],
"workspaceId": [
@@ -8542,7 +8556,7 @@ export default {
257,
{
"file": [
- 555,
+ 556,
"Upload!"
]
}
@@ -8551,7 +8565,7 @@ export default {
257,
{
"file": [
- 555,
+ 556,
"Upload!"
]
}
@@ -8560,52 +8574,52 @@ export default {
249,
{
"upsertFieldPermissionsInput": [
- 556,
+ 557,
"UpsertFieldPermissionsInput!"
]
}
],
"upsertFieldsWidget": [
- 597,
+ 598,
{
"input": [
- 559,
+ 560,
"UpsertFieldsWidgetInput!"
]
}
],
"upsertObjectPermissions": [
- 355,
+ 356,
{
"upsertObjectPermissionsInput": [
- 560,
+ 561,
"UpsertObjectPermissionsInput!"
]
}
],
"upsertPermissionFlags": [
- 419,
+ 420,
{
"upsertPermissionFlagsInput": [
- 561,
+ 562,
"UpsertPermissionFlagsInput!"
]
}
],
"upsertRowLevelPermissionPredicates": [
- 563,
+ 564,
{
"input": [
- 562,
+ 563,
"UpsertRowLevelPermissionPredicatesInput!"
]
}
],
"upsertViewWidget": [
- 597,
+ 598,
{
"input": [
- 564,
+ 565,
"UpsertViewWidgetInput!"
]
}
@@ -8614,13 +8628,13 @@ export default {
62,
{
"input": [
- 590,
+ 591,
"ValidateApprovedAccessDomainInput!"
]
}
],
"verifyEmailAndGetLoginToken": [
- 594,
+ 595,
{
"captchaToken": [
1
@@ -8665,7 +8679,7 @@ export default {
}
],
"verifyTwoFactorAuthenticationMethodForAuthenticatedUser": [
- 595,
+ 596,
{
"otp": [
1,
@@ -8690,7 +8704,7 @@ export default {
},
"NavigationMenuItem": {
"applicationId": [
- 491
+ 492
],
"color": [
1
@@ -8699,13 +8713,13 @@ export default {
187
],
"folderId": [
- 491
+ 492
],
"icon": [
1
],
"id": [
- 491
+ 492
],
"link": [
1
@@ -8714,31 +8728,31 @@ export default {
1
],
"pageLayoutId": [
- 491
+ 492
],
"position": [
11
],
"targetObjectMetadataId": [
- 491
+ 492
],
"targetRecordId": [
- 491
+ 492
],
"targetRecordIdentifier": [
- 398
+ 399
],
"type": [
- 345
+ 346
],
"updatedAt": [
187
],
"userWorkspaceId": [
- 491
+ 492
],
"viewId": [
- 491
+ 492
],
"__typename": [
1
@@ -8747,7 +8761,7 @@ export default {
"NavigationMenuItemType": {},
"NotesConfiguration": {
"configurationType": [
- 615
+ 616
],
"__typename": [
1
@@ -8755,7 +8769,7 @@ export default {
},
"Object": {
"applicationId": [
- 491
+ 492
],
"color": [
1
@@ -8770,7 +8784,7 @@ export default {
1
],
"fields": [
- 350,
+ 351,
{
"filter": [
247,
@@ -8789,19 +8803,19 @@ export default {
1
],
"id": [
- 491
+ 492
],
"imageIdentifierFieldMetadataId": [
- 491
+ 492
],
"indexMetadataList": [
- 277
+ 278
],
"indexMetadatas": [
- 352,
+ 353,
{
"filter": [
- 280,
+ 281,
"IndexFilter!"
],
"paging": [
@@ -8835,7 +8849,7 @@ export default {
4
],
"labelIdentifierFieldMetadataId": [
- 491
+ 492
],
"labelPlural": [
1
@@ -8850,19 +8864,19 @@ export default {
1
],
"openRecordIn": [
- 354
+ 355
],
"readability": [
- 332
+ 333
],
"readabilityParentFieldUniversalIdentifiers": [
- 491
+ 492
],
"searchFieldMetadataList": [
- 437
+ 438
],
"sharingReach": [
- 362
+ 363
],
"shortcut": [
1
@@ -8874,7 +8888,7 @@ export default {
187
],
"writability": [
- 337
+ 338
],
"__typename": [
1
@@ -8882,10 +8896,10 @@ export default {
},
"ObjectConnection": {
"edges": [
- 349
+ 350
],
"pageInfo": [
- 367
+ 368
],
"__typename": [
1
@@ -8896,7 +8910,7 @@ export default {
142
],
"node": [
- 347
+ 348
],
"__typename": [
1
@@ -8907,7 +8921,7 @@ export default {
246
],
"pageInfo": [
- 367
+ 368
],
"__typename": [
1
@@ -8915,10 +8929,10 @@ export default {
},
"ObjectFilter": {
"and": [
- 351
+ 352
],
"id": [
- 492
+ 493
],
"isActive": [
108
@@ -8942,10 +8956,10 @@ export default {
108
],
"or": [
- 351
+ 352
],
"universalIdentifier": [
- 492
+ 493
],
"__typename": [
1
@@ -8953,10 +8967,10 @@ export default {
},
"ObjectIndexMetadatasConnection": {
"edges": [
- 278
+ 279
],
"pageInfo": [
- 367
+ 368
],
"__typename": [
1
@@ -8964,7 +8978,7 @@ export default {
},
"ObjectMetadataCommandMenuItemPayload": {
"objectMetadataItemId": [
- 491
+ 492
],
"__typename": [
1
@@ -8985,16 +8999,16 @@ export default {
4
],
"objectMetadataId": [
- 491
+ 492
],
"restrictedFields": [
- 288
+ 289
],
"rowLevelPermissionPredicateGroups": [
- 422
+ 423
],
"rowLevelPermissionPredicates": [
- 421
+ 422
],
"__typename": [
1
@@ -9014,7 +9028,7 @@ export default {
4
],
"objectMetadataId": [
- 491
+ 492
],
"__typename": [
1
@@ -9039,7 +9053,7 @@ export default {
1
],
"properties": [
- 359
+ 360
],
"recordId": [
1
@@ -9056,13 +9070,13 @@ export default {
},
"ObjectRecordEventProperties": {
"after": [
- 288
+ 289
],
"before": [
- 288
+ 289
],
"diff": [
- 288
+ 289
],
"updatedFields": [
1
@@ -9073,7 +9087,7 @@ export default {
},
"ObjectRecordEventWithQueryIds": {
"objectRecordEvent": [
- 358
+ 359
],
"queryIds": [
1
@@ -9087,10 +9101,10 @@ export default {
"OnboardingStatus": {},
"OnboardingStepNavigation": {
"onboardingStatus": [
- 363
+ 364
],
"previousOnboardingStatus": [
- 363
+ 364
],
"__typename": [
1
@@ -9124,19 +9138,19 @@ export default {
},
"PageLayout": {
"applicationId": [
- 491
+ 492
],
"createdAt": [
187
],
"defaultTabToFocusOnMobileAndSidePanelId": [
- 491
+ 492
],
"deletedAt": [
187
],
"id": [
- 491
+ 492
],
"isFirstTabPinned": [
4
@@ -9148,16 +9162,16 @@ export default {
1
],
"objectMetadataId": [
- 491
+ 492
],
"tabs": [
- 369
+ 370
],
"type": [
- 371
+ 372
],
"universalIdentifier": [
- 491
+ 492
],
"updatedAt": [
187
@@ -9168,7 +9182,7 @@ export default {
},
"PageLayoutTab": {
"applicationId": [
- 491
+ 492
],
"createdAt": [
187
@@ -9180,7 +9194,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isActive": [
4
@@ -9192,10 +9206,10 @@ export default {
4
],
"layoutMode": [
- 370
+ 371
],
"pageLayoutId": [
- 491
+ 492
],
"position": [
11
@@ -9204,13 +9218,13 @@ export default {
1
],
"universalIdentifier": [
- 491
+ 492
],
"updatedAt": [
187
],
"widgets": [
- 372
+ 373
],
"__typename": [
1
@@ -9220,16 +9234,16 @@ export default {
"PageLayoutType": {},
"PageLayoutWidget": {
"applicationId": [
- 491
+ 492
],
"conditionalAvailabilityExpression": [
1
],
"conditionalDisplay": [
- 288
+ 289
],
"configuration": [
- 614
+ 615
],
"createdAt": [
187
@@ -9238,10 +9252,10 @@ export default {
187
],
"gridPosition": [
- 270
+ 271
],
"id": [
- 491
+ 492
],
"isActive": [
4
@@ -9253,22 +9267,22 @@ export default {
4
],
"objectMetadataId": [
- 491
+ 492
],
"pageLayoutTabId": [
- 491
+ 492
],
"position": [
- 375
+ 376
],
"title": [
1
],
"type": [
- 616
+ 617
],
"universalIdentifier": [
- 491
+ 492
],
"updatedAt": [
187
@@ -9279,7 +9293,7 @@ export default {
},
"PageLayoutWidgetCanvasPosition": {
"layoutMode": [
- 370
+ 371
],
"__typename": [
1
@@ -9293,7 +9307,7 @@ export default {
8
],
"layoutMode": [
- 370
+ 371
],
"row": [
8
@@ -9307,13 +9321,13 @@ export default {
},
"PageLayoutWidgetPosition": {
"on_PageLayoutWidgetCanvasPosition": [
- 373
+ 374
],
"on_PageLayoutWidgetGridPosition": [
- 374
+ 375
],
"on_PageLayoutWidgetVerticalListPosition": [
- 377
+ 378
],
"__typename": [
1
@@ -9322,13 +9336,13 @@ export default {
"PageLayoutWidgetVerticalListHeightBehavior": {},
"PageLayoutWidgetVerticalListPosition": {
"heightBehavior": [
- 376
+ 377
],
"index": [
8
],
"layoutMode": [
- 370
+ 371
],
"__typename": [
1
@@ -9344,7 +9358,7 @@ export default {
},
"PermissionFlag": {
"applicationId": [
- 491
+ 492
],
"createdAt": [
187
@@ -9356,7 +9370,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"key": [
1
@@ -9368,7 +9382,7 @@ export default {
1
],
"universalIdentifier": [
- 491
+ 492
],
"updatedAt": [
187
@@ -9380,7 +9394,7 @@ export default {
"PermissionFlagType": {},
"PieChartConfiguration": {
"aggregateFieldMetadataId": [
- 491
+ 492
],
"aggregateOperation": [
19
@@ -9389,10 +9403,10 @@ export default {
1
],
"configurationType": [
- 615
+ 616
],
"dateGranularity": [
- 361
+ 362
],
"description": [
1
@@ -9404,13 +9418,13 @@ export default {
4
],
"filter": [
- 288
+ 289
],
"firstDayOfTheWeek": [
8
],
"groupByFieldMetadataId": [
- 491
+ 492
],
"groupBySubFieldName": [
1
@@ -9425,7 +9439,7 @@ export default {
123
],
"orderBy": [
- 269
+ 270
],
"showCenterMetric": [
4
@@ -9442,10 +9456,10 @@ export default {
},
"PieChartData": {
"data": [
- 384
+ 385
],
"formattedToRawLookup": [
- 288
+ 289
],
"hasTooManyGroups": [
4
@@ -9465,10 +9479,10 @@ export default {
},
"PieChartDataInput": {
"configuration": [
- 288
+ 289
],
"objectMetadataId": [
- 491
+ 492
],
"__typename": [
1
@@ -9493,7 +9507,7 @@ export default {
1
],
"location": [
- 299
+ 300
],
"postcode": [
1
@@ -9521,7 +9535,7 @@ export default {
},
"PublicApplicationRegistration": {
"id": [
- 491
+ 492
],
"logoUrl": [
1
@@ -9558,7 +9572,7 @@ export default {
},
"PublicDomain": {
"applicationId": [
- 491
+ 492
],
"createdAt": [
187
@@ -9567,7 +9581,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isValidated": [
4
@@ -9581,7 +9595,7 @@ export default {
241
],
"metadata": [
- 391
+ 392
],
"__typename": [
1
@@ -9606,13 +9620,13 @@ export default {
},
"PublicImapSmtpCaldavConnectionParameters": {
"CALDAV": [
- 388
+ 389
],
"IMAP": [
- 388
+ 389
],
"SMTP": [
- 388
+ 389
],
"__typename": [
1
@@ -9629,13 +9643,13 @@ export default {
1
],
"id": [
- 491
+ 492
],
"logo": [
1
],
"workspaceUrls": [
- 638
+ 639
],
"__typename": [
1
@@ -9646,7 +9660,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"logo": [
1
@@ -9663,7 +9677,7 @@ export default {
16,
{
"agentId": [
- 491,
+ 492,
"UUID!"
],
"limit": [
@@ -9679,7 +9693,7 @@ export default {
28,
{
"input": [
- 265,
+ 266,
"GetApiKeyInput!"
]
}
@@ -9700,7 +9714,7 @@ export default {
31,
{
"filter": [
- 297
+ 298
]
}
],
@@ -9717,10 +9731,10 @@ export default {
}
],
"appMessageChannels": [
- 315,
+ 316,
{
"filter": [
- 298
+ 299
]
}
],
@@ -9728,7 +9742,7 @@ export default {
39,
{
"applicationId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -9737,7 +9751,7 @@ export default {
40,
{
"applicationId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -9761,10 +9775,10 @@ export default {
}
],
"applicationSdkClientChecksums": [
- 436,
+ 437,
{
"applicationId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -9790,10 +9804,10 @@ export default {
}
],
"callRecordingIdForCalendarEvent": [
- 491,
+ 492,
{
"calendarEventId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -9802,7 +9816,7 @@ export default {
14,
{
"threadId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -9811,7 +9825,7 @@ export default {
125,
{
"threadId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -9820,7 +9834,7 @@ export default {
9,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
@@ -9838,7 +9852,7 @@ export default {
}
],
"checkWorkspaceInviteHashIsValid": [
- 628,
+ 629,
{
"inviteHash": [
1,
@@ -9847,7 +9861,7 @@ export default {
}
],
"checkWorkspaceSubdomainAvailability": [
- 462,
+ 463,
{
"subdomain": [
1,
@@ -9859,7 +9873,7 @@ export default {
136,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
@@ -9868,16 +9882,16 @@ export default {
136
],
"currentUser": [
- 586
+ 587
],
"currentUserApplicationAuthorizations": [
37
],
"currentUserSessions": [
- 588
+ 589
],
"currentWorkspace": [
- 620
+ 621
],
"enterpriseCheckoutSession": [
1,
@@ -9911,7 +9925,7 @@ export default {
42,
{
"universalIdentifier": [
- 491,
+ 492,
"UUID!"
]
}
@@ -9920,7 +9934,7 @@ export default {
242,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
@@ -9939,7 +9953,7 @@ export default {
}
],
"findApplicationRegistrationByClientId": [
- 387,
+ 388,
{
"clientId": [
1,
@@ -9986,7 +10000,7 @@ export default {
}
],
"findInstallApplicationJobStatus": [
- 291,
+ 292,
{
"universalIdentifier": [
1,
@@ -10004,10 +10018,10 @@ export default {
36
],
"findManyLogicFunctions": [
- 300
+ 301
],
"findManyMarketplaceApps": [
- 308,
+ 309,
{
"universalIdentifiers": [
1,
@@ -10016,10 +10030,10 @@ export default {
}
],
"findManyPublicDomains": [
- 389
+ 390
],
"findMarketplaceAppDetail": [
- 309,
+ 310,
{
"universalIdentifier": [
1,
@@ -10040,10 +10054,10 @@ export default {
36,
{
"id": [
- 491
+ 492
],
"universalIdentifier": [
- 491
+ 492
]
}
],
@@ -10057,16 +10071,16 @@ export default {
}
],
"findOneLogicFunction": [
- 300,
+ 301,
{
"input": [
- 304,
+ 305,
"LogicFunctionIdInput!"
]
}
],
"findUninstallApplicationJobStatus": [
- 291,
+ 292,
{
"universalIdentifier": [
1,
@@ -10075,7 +10089,7 @@ export default {
}
],
"findUpgradeApplicationJobStatus": [
- 291,
+ 292,
{
"universalIdentifier": [
1,
@@ -10084,10 +10098,10 @@ export default {
}
],
"findWorkspaceAiStats": [
- 622
+ 623
],
"findWorkspaceFromInviteHash": [
- 620,
+ 621,
{
"inviteHash": [
1,
@@ -10096,13 +10110,13 @@ export default {
}
],
"findWorkspaceInvitations": [
- 627
+ 628
],
"frontComponent": [
262,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
@@ -10111,7 +10125,7 @@ export default {
262
],
"getAddressDetails": [
- 385,
+ 386,
{
"placeId": [
1,
@@ -10127,7 +10141,7 @@ export default {
22
],
"getApiKeyRoles": [
- 418
+ 419
],
"getApprovedAccessDomains": [
62
@@ -10152,10 +10166,10 @@ export default {
}
],
"getAvailablePackages": [
- 288,
+ 289,
{
"input": [
- 304,
+ 305,
"LogicFunctionIdInput!"
]
}
@@ -10164,7 +10178,7 @@ export default {
141,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
@@ -10173,10 +10187,10 @@ export default {
217
],
"getInviteSuggestions": [
- 287
+ 288
],
"getJobs": [
- 291,
+ 292,
{
"jobIds": [
1,
@@ -10188,13 +10202,13 @@ export default {
1,
{
"input": [
- 304,
+ 305,
"LogicFunctionIdInput!"
]
}
],
"getPageLayout": [
- 368,
+ 369,
{
"id": [
1,
@@ -10203,7 +10217,7 @@ export default {
}
],
"getPageLayoutTab": [
- 369,
+ 370,
{
"id": [
1,
@@ -10212,7 +10226,7 @@ export default {
}
],
"getPageLayoutTabs": [
- 369,
+ 370,
{
"pageLayoutId": [
1,
@@ -10221,7 +10235,7 @@ export default {
}
],
"getPageLayoutWidget": [
- 372,
+ 373,
{
"id": [
1,
@@ -10230,7 +10244,7 @@ export default {
}
],
"getPageLayoutWidgets": [
- 372,
+ 373,
{
"pageLayoutTabId": [
1,
@@ -10239,21 +10253,21 @@ export default {
}
],
"getPageLayouts": [
- 368,
+ 369,
{
"objectMetadataId": [
1
],
"pageLayoutType": [
- 371
+ 372
]
}
],
"getPermissionFlags": [
- 379
+ 380
],
"getPublicWorkspaceDataByDomain": [
- 393,
+ 394,
{
"origin": [
1
@@ -10261,10 +10275,10 @@ export default {
}
],
"getPublicWorkspaceDataById": [
- 394,
+ 395,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
@@ -10273,25 +10287,25 @@ export default {
98
],
"getRole": [
- 418,
+ 419,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
],
"getRoles": [
- 418
+ 419
],
"getSSOIdentityProviders": [
259
],
"getToolIndex": [
- 473
+ 474
],
"getToolInputSchema": [
- 288,
+ 289,
{
"toolName": [
1,
@@ -10300,15 +10314,15 @@ export default {
}
],
"getUsageAnalytics": [
- 570,
+ 571,
{
"input": [
- 571
+ 572
]
}
],
"getView": [
- 597,
+ 598,
{
"id": [
1,
@@ -10317,7 +10331,7 @@ export default {
}
],
"getViewField": [
- 600,
+ 601,
{
"id": [
1,
@@ -10326,7 +10340,7 @@ export default {
}
],
"getViewFieldGroup": [
- 601,
+ 602,
{
"id": [
1,
@@ -10335,7 +10349,7 @@ export default {
}
],
"getViewFieldGroups": [
- 601,
+ 602,
{
"viewId": [
1,
@@ -10344,7 +10358,7 @@ export default {
}
],
"getViewFields": [
- 600,
+ 601,
{
"viewId": [
1,
@@ -10353,7 +10367,7 @@ export default {
}
],
"getViewFilter": [
- 602,
+ 603,
{
"id": [
1,
@@ -10362,7 +10376,7 @@ export default {
}
],
"getViewFilterGroup": [
- 603,
+ 604,
{
"id": [
1,
@@ -10371,7 +10385,7 @@ export default {
}
],
"getViewFilterGroups": [
- 603,
+ 604,
{
"viewId": [
1
@@ -10379,7 +10393,7 @@ export default {
}
],
"getViewFilters": [
- 602,
+ 603,
{
"viewId": [
1
@@ -10387,7 +10401,7 @@ export default {
}
],
"getViewGroup": [
- 606,
+ 607,
{
"id": [
1,
@@ -10396,7 +10410,7 @@ export default {
}
],
"getViewGroups": [
- 606,
+ 607,
{
"viewId": [
1
@@ -10404,7 +10418,7 @@ export default {
}
],
"getViewSort": [
- 609,
+ 610,
{
"id": [
1,
@@ -10413,7 +10427,7 @@ export default {
}
],
"getViewSorts": [
- 609,
+ 610,
{
"viewId": [
1
@@ -10421,19 +10435,19 @@ export default {
}
],
"getViews": [
- 597,
+ 598,
{
"objectMetadataId": [
1
],
"viewTypes": [
- 611,
+ 612,
"[ViewType!]"
]
}
],
"getWorkspaceCreationDefaults": [
- 625
+ 626
],
"githubClaimAuthorizationUrl": [
1,
@@ -10454,10 +10468,10 @@ export default {
}
],
"lineChartData": [
- 293,
+ 294,
{
"input": [
- 294,
+ 295,
"LineChartDataInput!"
]
}
@@ -10466,7 +10480,7 @@ export default {
89
],
"messageSuppressions": [
- 327,
+ 328,
{
"input": [
260,
@@ -10475,22 +10489,22 @@ export default {
}
],
"metadataTranslations": [
- 333,
+ 334,
{
"input": [
- 336,
+ 337,
"MetadataTranslationsInput!"
]
}
],
"minimalMetadata": [
- 338
+ 339
],
"mostlyEmptyFieldMetadataIds": [
- 491,
+ 492,
{
"objectMetadataId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -10499,7 +10513,7 @@ export default {
109,
{
"connectedAccountId": [
- 491
+ 492
]
}
],
@@ -10507,53 +10521,53 @@ export default {
140
],
"myMessageChannels": [
- 315,
+ 316,
{
"connectedAccountId": [
- 491
+ 492
]
}
],
"myMessageFolders": [
- 322,
+ 323,
{
"messageChannelId": [
- 491
+ 492
]
}
],
"myUserApplicationVariables": [
- 630
+ 631
],
"navigationMenuItem": [
- 344,
+ 345,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
],
"navigationMenuItems": [
- 344
+ 345
],
"object": [
- 347,
+ 348,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
],
"objectRecordCounts": [
- 357
+ 358
],
"objects": [
- 348,
+ 349,
{
"filter": [
- 351,
+ 352,
"ObjectFilter!"
],
"paging": [
@@ -10563,10 +10577,10 @@ export default {
}
],
"pieChartData": [
- 382,
+ 383,
{
"input": [
- 383,
+ 384,
"PieChartDataInput!"
]
}
@@ -10575,13 +10589,13 @@ export default {
117,
{
"input": [
- 386,
+ 387,
"PreviewMessageCampaignAudienceInput!"
]
}
],
"publicMarketplaceAppDetail": [
- 309,
+ 310,
{
"universalIdentifier": [
1,
@@ -10590,7 +10604,7 @@ export default {
}
],
"publicMarketplaceApps": [
- 308,
+ 309,
{
"isVetted": [
4,
@@ -10599,70 +10613,70 @@ export default {
}
],
"recordPermissions": [
- 400,
+ 401,
{
"targets": [
- 410,
+ 411,
"[RecordTargetInput!]!"
]
}
],
"recordSharing": [
- 405,
+ 406,
{
"target": [
- 410,
+ 411,
"RecordTargetInput!"
]
}
],
"skill": [
- 458,
+ 459,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
],
"skills": [
- 458
+ 459
],
"timelineActivityTypes": [
- 469
+ 470
],
"twoFactorAuthenticationRecoveryStatus": [
- 490,
+ 491,
{
"userId": [
- 491,
+ 492,
"UUID!"
]
}
],
"unsubscribeTopics": [
- 494
+ 495
],
"usageLimits": [
- 573
+ 574
],
"usageQuotaDefinitions": [
- 577
+ 578
],
"usageQuotaScopeConsumption": [
- 579,
+ 580,
{
"input": [
- 580,
+ 581,
"UsageQuotaScopeInput!"
]
}
],
"usageQuotasWithConsumption": [
- 581
+ 582
],
"validatePasswordResetToken": [
- 591,
+ 592,
{
"passwordResetToken": [
1,
@@ -10671,25 +10685,25 @@ export default {
}
],
"validationRules": [
- 592,
+ 593,
{
"objectMetadataId": [
- 491,
+ 492,
"UUID!"
]
}
],
"webhook": [
- 613,
+ 614,
{
"id": [
- 491,
+ 492,
"UUID!"
]
}
],
"webhooks": [
- 613
+ 614
],
"__typename": [
1
@@ -10697,7 +10711,7 @@ export default {
},
"RatioAggregateConfig": {
"fieldMetadataId": [
- 491
+ 492
],
"optionValue": [
1
@@ -10717,7 +10731,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"progress": [
8
@@ -10728,7 +10742,7 @@ export default {
},
"RecordIdentifier": {
"id": [
- 491
+ 492
],
"imageIdentifier": [
1
@@ -10759,13 +10773,13 @@ export default {
},
"RecordPermissionsResult": {
"objectMetadataId": [
- 491
+ 492
],
"permissions": [
- 399
+ 400
],
"recordId": [
- 491
+ 492
],
"__typename": [
1
@@ -10774,10 +10788,10 @@ export default {
"RecordShareAccessLevel": {},
"RecordSharePrincipalInput": {
"roleId": [
- 491
+ 492
],
"workspaceMemberId": [
- 491
+ 492
],
"__typename": [
1
@@ -10790,25 +10804,25 @@ export default {
4
],
"defaultGeneralAccessLevel": [
- 401
+ 402
],
"generalAccessLevel": [
- 401
+ 402
],
"hasManagedGeneralAccess": [
4
],
"permissions": [
- 399
+ 400
],
"roles": [
- 408
+ 409
],
"shares": [
- 406
+ 407
],
"sharingMode": [
- 407
+ 408
],
"__typename": [
1
@@ -10816,22 +10830,22 @@ export default {
},
"RecordSharingGrantDTO": {
"accessLevel": [
- 401
+ 402
],
"id": [
10
],
"principalId": [
- 491
+ 492
],
"principalRoleId": [
- 491
+ 492
],
"principalType": [
- 403
+ 404
],
"rowCause": [
- 404
+ 405
],
"__typename": [
1
@@ -10846,7 +10860,7 @@ export default {
4
],
"id": [
- 491
+ 492
],
"label": [
1
@@ -10857,7 +10871,7 @@ export default {
},
"RecordTableConfiguration": {
"configurationType": [
- 615
+ 616
],
"isUIEditable": [
4
@@ -10874,10 +10888,10 @@ export default {
},
"RecordTargetInput": {
"objectMetadataId": [
- 491
+ 492
],
"recordId": [
- 491
+ 492
],
"__typename": [
1
@@ -10888,16 +10902,16 @@ export default {
242
],
"sourceObjectMetadata": [
- 347
+ 348
],
"targetFieldMetadata": [
242
],
"targetObjectMetadata": [
- 347
+ 348
],
"type": [
- 412
+ 413
],
"__typename": [
1
@@ -10936,7 +10950,7 @@ export default {
},
"RevokeApiKeyInput": {
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -10997,7 +11011,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isEditable": [
4
@@ -11006,22 +11020,22 @@ export default {
1
],
"objectPermissions": [
- 355
+ 356
],
"permissionFlags": [
- 419
+ 420
],
"rowLevelPermissionPredicateGroups": [
- 422
+ 423
],
"rowLevelPermissionPredicates": [
- 421
+ 422
],
"universalIdentifier": [
- 491
+ 492
],
"workspaceMembers": [
- 629
+ 630
],
"__typename": [
1
@@ -11032,10 +11046,10 @@ export default {
1
],
"id": [
- 491
+ 492
],
"roleId": [
- 491
+ 492
],
"__typename": [
1
@@ -11060,7 +11074,7 @@ export default {
1
],
"operand": [
- 426
+ 427
],
"positionInRowLevelPermissionPredicateGroup": [
11
@@ -11075,7 +11089,7 @@ export default {
1
],
"value": [
- 288
+ 289
],
"workspaceMemberFieldMetadataId": [
1
@@ -11092,7 +11106,7 @@ export default {
1
],
"logicalOperator": [
- 424
+ 425
],
"objectMetadataId": [
1
@@ -11112,16 +11126,16 @@ export default {
},
"RowLevelPermissionPredicateGroupInput": {
"id": [
- 491
+ 492
],
"logicalOperator": [
- 424
+ 425
],
"objectMetadataId": [
- 491
+ 492
],
"parentRowLevelPermissionPredicateGroupId": [
- 491
+ 492
],
"positionInRowLevelPermissionPredicateGroup": [
11
@@ -11133,25 +11147,25 @@ export default {
"RowLevelPermissionPredicateGroupLogicalOperator": {},
"RowLevelPermissionPredicateInput": {
"fieldMetadataId": [
- 491
+ 492
],
"id": [
- 491
+ 492
],
"operand": [
- 426
+ 427
],
"positionInRowLevelPermissionPredicateGroup": [
11
],
"rowLevelPermissionPredicateGroupId": [
- 491
+ 492
],
"subFieldName": [
1
],
"value": [
- 288
+ 289
],
"workspaceMemberFieldMetadataId": [
1
@@ -11172,19 +11186,19 @@ export default {
1
],
"input": [
- 429
+ 430
],
"messages": [
- 429
+ 430
],
"prompt": [
1
],
"runAsWorkspaceMemberId": [
- 491
+ 492
],
"thread": [
- 432
+ 433
],
"__typename": [
1
@@ -11192,7 +11206,7 @@ export default {
},
"RunAgentMessageAttachmentInput": {
"fileId": [
- 491
+ 492
],
"filename": [
1
@@ -11203,13 +11217,13 @@ export default {
},
"RunAgentMessageInput": {
"attachments": [
- 428
+ 429
],
"content": [
1
],
"role": [
- 430
+ 431
],
"__typename": [
1
@@ -11221,7 +11235,7 @@ export default {
1
],
"result": [
- 288
+ 289
],
"status": [
1
@@ -11230,7 +11244,7 @@ export default {
4
],
"threadId": [
- 491
+ 492
],
"__typename": [
1
@@ -11249,7 +11263,7 @@ export default {
},
"SSOConnection": {
"id": [
- 491
+ 492
],
"issuer": [
1
@@ -11258,10 +11272,10 @@ export default {
1
],
"status": [
- 435
+ 436
],
"type": [
- 271
+ 272
],
"__typename": [
1
@@ -11269,7 +11283,7 @@ export default {
},
"SSOIdentityProvider": {
"id": [
- 491
+ 492
],
"issuer": [
1
@@ -11278,10 +11292,10 @@ export default {
1
],
"status": [
- 435
+ 436
],
"type": [
- 271
+ 272
],
"__typename": [
1
@@ -11304,16 +11318,16 @@ export default {
187
],
"fieldMetadataId": [
- 491
+ 492
],
"id": [
- 491
+ 492
],
"position": [
11
],
"tsVectorFieldMetadataId": [
- 491
+ 492
],
"updatedAt": [
187
@@ -11324,7 +11338,7 @@ export default {
},
"SendChatMessageResult": {
"mentionedParticipantWorkspaceMemberIds": [
- 491
+ 492
],
"messageId": [
1
@@ -11367,7 +11381,7 @@ export default {
1
],
"files": [
- 439
+ 440
],
"fromHandle": [
1
@@ -11421,10 +11435,10 @@ export default {
1
],
"toolCall": [
- 288
+ 289
],
"workspaceMemberIds": [
- 491
+ 492
],
"__typename": [
1
@@ -11432,7 +11446,7 @@ export default {
},
"SendInboxMessageResult": {
"threadId": [
- 491
+ 492
],
"__typename": [
1
@@ -11443,7 +11457,7 @@ export default {
1
],
"result": [
- 627
+ 628
],
"success": [
4
@@ -11522,7 +11536,7 @@ export default {
33
],
"value": [
- 288
+ 289
],
"__typename": [
1
@@ -11530,31 +11544,31 @@ export default {
},
"SettingsMenuItem": {
"applicationId": [
- 491
+ 492
],
"createdAt": [
187
],
"frontComponentId": [
- 491
+ 492
],
"icon": [
1
],
"id": [
- 491
+ 492
],
"position": [
11
],
"scope": [
- 452
+ 453
],
"title": [
1
],
"universalIdentifier": [
- 491
+ 492
],
"updatedAt": [
187
@@ -11589,7 +11603,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"issuer": [
1
@@ -11606,7 +11620,7 @@ export default {
},
"SetupSso": {
"id": [
- 491
+ 492
],
"issuer": [
1
@@ -11615,10 +11629,10 @@ export default {
1
],
"status": [
- 435
+ 436
],
"type": [
- 271
+ 272
],
"__typename": [
1
@@ -11629,7 +11643,7 @@ export default {
65
],
"workspace": [
- 639
+ 640
],
"__typename": [
1
@@ -11651,7 +11665,7 @@ export default {
},
"Skill": {
"applicationId": [
- 491
+ 492
],
"content": [
1
@@ -11666,7 +11680,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isActive": [
4
@@ -11692,10 +11706,10 @@ export default {
},
"StandaloneRichTextConfiguration": {
"body": [
- 417
+ 418
],
"configurationType": [
- 615
+ 616
],
"__typename": [
1
@@ -11703,7 +11717,7 @@ export default {
},
"StartWorkspaceSetupChatResult": {
"outcome": [
- 637
+ 638
],
"thread": [
9
@@ -11752,7 +11766,7 @@ export default {
}
],
"exportRecords": [
- 397,
+ 398,
{
"input": [
171,
@@ -11761,10 +11775,10 @@ export default {
}
],
"logicFunctionLogs": [
- 305,
+ 306,
{
"input": [
- 306,
+ 307,
"LogicFunctionLogsInput!"
]
}
@@ -11773,7 +11787,7 @@ export default {
5,
{
"threadId": [
- 491,
+ 492,
"UUID!"
]
}
@@ -11795,7 +11809,7 @@ export default {
"SubscriptionStatus": {},
"Support": {
"supportDriver": [
- 467
+ 468
],
"supportFrontChatId": [
1
@@ -11807,7 +11821,7 @@ export default {
"SupportDriver": {},
"TasksConfiguration": {
"configurationType": [
- 615
+ 616
],
"__typename": [
1
@@ -11818,22 +11832,22 @@ export default {
1
],
"applicationId": [
- 491
+ 492
],
"createdAt": [
187
],
"emit": [
- 470
+ 471
],
"frontComponentUniversalIdentifier": [
- 491
+ 492
],
"icon": [
1
],
"id": [
- 491
+ 492
],
"isActive": [
4
@@ -11845,13 +11859,13 @@ export default {
1
],
"objectUniversalIdentifier": [
- 491
+ 492
],
"replacesTimelineActivityTypeUniversalIdentifier": [
- 491
+ 492
],
"universalIdentifier": [
- 491
+ 492
],
"updatedAt": [
187
@@ -11862,13 +11876,13 @@ export default {
},
"TimelineActivityTypeEmit": {
"objectUniversalIdentifier": [
- 491
+ 492
],
"on": [
1
],
"through": [
- 471
+ 472
],
"__typename": [
1
@@ -11876,13 +11890,13 @@ export default {
},
"TimelineActivityTypeEmitThrough": {
"happensAtFieldUniversalIdentifier": [
- 491
+ 492
],
"relationFieldUniversalIdentifier": [
- 491
+ 492
],
"triggerFieldUniversalIdentifiers": [
- 491
+ 492
],
"__typename": [
1
@@ -11890,7 +11904,7 @@ export default {
},
"TimelineConfiguration": {
"configurationType": [
- 615
+ 616
],
"__typename": [
1
@@ -11910,7 +11924,7 @@ export default {
1
],
"inputSchema": [
- 288
+ 289
],
"label": [
1
@@ -11938,10 +11952,10 @@ export default {
},
"TriggerAddPeopleToMessageListJobInput": {
"messageListId": [
- 491
+ 492
],
"personFilter": [
- 288
+ 289
],
"__typename": [
1
@@ -12046,7 +12060,7 @@ export default {
1
],
"twoFactorAuthenticationMethodId": [
- 491
+ 492
],
"__typename": [
1
@@ -12091,19 +12105,19 @@ export default {
"UUID": {},
"UUIDFilterComparison": {
"eq": [
- 491
+ 492
],
"gt": [
- 491
+ 492
],
"gte": [
- 491
+ 492
],
"iLike": [
- 491
+ 492
],
"in": [
- 491
+ 492
],
"is": [
4
@@ -12112,25 +12126,25 @@ export default {
4
],
"like": [
- 491
+ 492
],
"lt": [
- 491
+ 492
],
"lte": [
- 491
+ 492
],
"neq": [
- 491
+ 492
],
"notILike": [
- 491
+ 492
],
"notIn": [
- 491
+ 492
],
"notLike": [
- 491
+ 492
],
"__typename": [
1
@@ -12145,7 +12159,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"name": [
1
@@ -12154,7 +12168,7 @@ export default {
187
],
"visibility": [
- 495
+ 496
],
"__typename": [
1
@@ -12169,13 +12183,13 @@ export default {
1
],
"id": [
- 491
+ 492
],
"label": [
1
],
"modelConfiguration": [
- 288
+ 289
],
"modelId": [
1
@@ -12187,13 +12201,13 @@ export default {
1
],
"responseFormat": [
- 288
+ 289
],
"roleId": [
- 491
+ 492
],
"triggers": [
- 288
+ 289
],
"__typename": [
1
@@ -12204,7 +12218,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"name": [
1
@@ -12221,13 +12235,13 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isSyncEnabled": [
4
],
"visibility": [
- 321
+ 322
],
"__typename": [
1
@@ -12246,7 +12260,7 @@ export default {
1
],
"update": [
- 501
+ 502
],
"__typename": [
1
@@ -12271,7 +12285,7 @@ export default {
1
],
"update": [
- 503
+ 504
],
"__typename": [
1
@@ -12293,10 +12307,10 @@ export default {
},
"UpdateCalendarChannelInput": {
"id": [
- 491
+ 492
],
"update": [
- 505
+ 506
],
"__typename": [
1
@@ -12321,7 +12335,7 @@ export default {
},
"UpdateCommandMenuItemInput": {
"availabilityObjectMetadataId": [
- 491
+ 492
],
"availabilityType": [
137
@@ -12336,7 +12350,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isPinned": [
4
@@ -12345,7 +12359,7 @@ export default {
1
],
"pageLayoutId": [
- 491
+ 492
],
"position": [
11
@@ -12362,7 +12376,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -12370,7 +12384,7 @@ export default {
},
"UpdateFieldInput": {
"defaultValue": [
- 288
+ 289
],
"description": [
1
@@ -12409,22 +12423,22 @@ export default {
1
],
"morphRelationsUpdatePayload": [
- 288
+ 289
],
"name": [
1
],
"objectMetadataId": [
- 491
+ 492
],
"options": [
- 288
+ 289
],
"settings": [
- 288
+ 289
],
"translations": [
- 334
+ 335
],
"universalIdentifier": [
1
@@ -12435,10 +12449,10 @@ export default {
},
"UpdateFrontComponentInput": {
"id": [
- 491
+ 492
],
"update": [
- 510
+ 511
],
"__typename": [
1
@@ -12468,10 +12482,10 @@ export default {
},
"UpdateLogicFunctionFromSourceInput": {
"id": [
- 491
+ 492
],
"update": [
- 513
+ 514
],
"__typename": [
1
@@ -12479,10 +12493,10 @@ export default {
},
"UpdateLogicFunctionFromSourceInputUpdates": {
"cronTriggerSettings": [
- 288
+ 289
],
"databaseEventTriggerSettings": [
- 288
+ 289
],
"description": [
1
@@ -12491,7 +12505,7 @@ export default {
1
],
"httpRouteTriggerSettings": [
- 288
+ 289
],
"name": [
1
@@ -12506,10 +12520,10 @@ export default {
11
],
"toolTriggerSettings": [
- 288
+ 289
],
"workflowActionTriggerSettings": [
- 288
+ 289
],
"__typename": [
1
@@ -12517,10 +12531,10 @@ export default {
},
"UpdateMessageChannelInput": {
"id": [
- 491
+ 492
],
"update": [
- 515
+ 516
],
"__typename": [
1
@@ -12528,7 +12542,7 @@ export default {
},
"UpdateMessageChannelInputUpdates": {
"contactAutoCreationPolicy": [
- 316
+ 317
],
"excludeGroupEmails": [
4
@@ -12543,10 +12557,10 @@ export default {
4
],
"messageFolderImportPolicy": [
- 323
+ 324
],
"visibility": [
- 321
+ 322
],
"__typename": [
1
@@ -12554,10 +12568,10 @@ export default {
},
"UpdateMessageFolderInput": {
"id": [
- 491
+ 492
],
"update": [
- 517
+ 518
],
"__typename": [
1
@@ -12573,10 +12587,10 @@ export default {
},
"UpdateMessageFoldersInput": {
"ids": [
- 491
+ 492
],
"update": [
- 517
+ 518
],
"__typename": [
1
@@ -12587,7 +12601,7 @@ export default {
1
],
"folderId": [
- 491
+ 492
],
"icon": [
1
@@ -12599,7 +12613,7 @@ export default {
1
],
"pageLayoutId": [
- 491
+ 492
],
"position": [
11
@@ -12619,7 +12633,7 @@ export default {
1
],
"imageIdentifierFieldMetadataId": [
- 491
+ 492
],
"isActive": [
4
@@ -12631,7 +12645,7 @@ export default {
4
],
"labelIdentifierFieldMetadataId": [
- 491
+ 492
],
"labelPlural": [
1
@@ -12646,19 +12660,19 @@ export default {
1
],
"openRecordIn": [
- 354
+ 355
],
"readability": [
- 332
+ 333
],
"sharingReach": [
- 362
+ 363
],
"shortcut": [
1
],
"translations": [
- 334
+ 335
],
"__typename": [
1
@@ -12666,10 +12680,10 @@ export default {
},
"UpdateOneFieldMetadataInput": {
"id": [
- 491
+ 492
],
"update": [
- 508
+ 509
],
"__typename": [
1
@@ -12677,10 +12691,10 @@ export default {
},
"UpdateOneNavigationMenuItemInput": {
"id": [
- 491
+ 492
],
"update": [
- 519
+ 520
],
"__typename": [
1
@@ -12688,10 +12702,10 @@ export default {
},
"UpdateOneObjectInput": {
"id": [
- 491
+ 492
],
"update": [
- 520
+ 521
],
"__typename": [
1
@@ -12702,10 +12716,10 @@ export default {
1
],
"objectMetadataId": [
- 491
+ 492
],
"type": [
- 371
+ 372
],
"__typename": [
1
@@ -12716,7 +12730,7 @@ export default {
1
],
"layoutMode": [
- 370
+ 371
],
"position": [
11
@@ -12733,10 +12747,10 @@ export default {
1
],
"id": [
- 491
+ 492
],
"layoutMode": [
- 370
+ 371
],
"position": [
11
@@ -12745,7 +12759,7 @@ export default {
1
],
"widgets": [
- 528
+ 529
],
"__typename": [
1
@@ -12756,28 +12770,28 @@ export default {
1
],
"conditionalDisplay": [
- 288
+ 289
],
"configuration": [
- 288
+ 289
],
"isActive": [
4
],
"objectMetadataId": [
- 491
+ 492
],
"pageLayoutTabId": [
- 491
+ 492
],
"position": [
- 288
+ 289
],
"title": [
1
],
"type": [
- 616
+ 617
],
"__typename": [
1
@@ -12788,28 +12802,28 @@ export default {
1
],
"conditionalDisplay": [
- 288
+ 289
],
"configuration": [
- 288
+ 289
],
"id": [
- 491
+ 492
],
"objectMetadataId": [
- 491
+ 492
],
"pageLayoutTabId": [
- 491
+ 492
],
"position": [
- 288
+ 289
],
"title": [
1
],
"type": [
- 616
+ 617
],
"__typename": [
1
@@ -12823,13 +12837,13 @@ export default {
1
],
"objectMetadataId": [
- 491
+ 492
],
"tabs": [
- 526
+ 527
],
"type": [
- 371
+ 372
],
"__typename": [
1
@@ -12837,10 +12851,10 @@ export default {
},
"UpdateRoleInput": {
"id": [
- 491
+ 492
],
"update": [
- 531
+ 532
],
"__typename": [
1
@@ -12898,7 +12912,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isActive": [
4
@@ -12918,7 +12932,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isActive": [
4
@@ -12927,7 +12941,7 @@ export default {
1
],
"translations": [
- 334
+ 335
],
"__typename": [
1
@@ -12944,7 +12958,7 @@ export default {
1
],
"visibility": [
- 495
+ 496
],
"__typename": [
1
@@ -12952,7 +12966,7 @@ export default {
},
"UpdateUsageLimitInput": {
"id": [
- 491
+ 492
],
"payload": [
175
@@ -12963,10 +12977,10 @@ export default {
},
"UpdateValidationRuleInput": {
"id": [
- 491
+ 492
],
"update": [
- 537
+ 538
],
"__typename": [
1
@@ -12977,7 +12991,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 491
+ 492
],
"expression": [
1
@@ -13000,10 +13014,10 @@ export default {
},
"UpdateViewFieldGroupInput": {
"id": [
- 491
+ 492
],
"update": [
- 539
+ 540
],
"__typename": [
1
@@ -13028,10 +13042,10 @@ export default {
},
"UpdateViewFieldInput": {
"id": [
- 491
+ 492
],
"update": [
- 541
+ 542
],
"__typename": [
1
@@ -13051,7 +13065,7 @@ export default {
11
],
"viewFieldGroupId": [
- 491
+ 492
],
"__typename": [
1
@@ -13059,19 +13073,19 @@ export default {
},
"UpdateViewFilterGroupInput": {
"id": [
- 491
+ 492
],
"logicalOperator": [
- 604
+ 605
],
"parentViewFilterGroupId": [
- 491
+ 492
],
"positionInViewFilterGroup": [
11
],
"viewId": [
- 491
+ 492
],
"__typename": [
1
@@ -13079,10 +13093,10 @@ export default {
},
"UpdateViewFilterInput": {
"id": [
- 491
+ 492
],
"update": [
- 544
+ 545
],
"__typename": [
1
@@ -13090,25 +13104,25 @@ export default {
},
"UpdateViewFilterInputUpdates": {
"fieldMetadataId": [
- 491
+ 492
],
"operand": [
- 605
+ 606
],
"positionInViewFilterGroup": [
11
],
"relationTargetFieldMetadataId": [
- 491
+ 492
],
"subFieldName": [
1
],
"value": [
- 288
+ 289
],
"viewFilterGroupId": [
- 491
+ 492
],
"__typename": [
1
@@ -13116,10 +13130,10 @@ export default {
},
"UpdateViewGroupInput": {
"id": [
- 491
+ 492
],
"update": [
- 546
+ 547
],
"__typename": [
1
@@ -13127,7 +13141,7 @@ export default {
},
"UpdateViewGroupInputUpdates": {
"fieldMetadataId": [
- 491
+ 492
],
"fieldValue": [
1
@@ -13147,13 +13161,13 @@ export default {
1
],
"calendarEndFieldMetadataId": [
- 491
+ 492
],
"calendarFieldMetadataId": [
- 491
+ 492
],
"calendarLayout": [
- 598
+ 599
],
"groupLoadLimit": [
8
@@ -13162,7 +13176,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isCompact": [
4
@@ -13171,19 +13185,19 @@ export default {
19
],
"kanbanAggregateOperationFieldMetadataId": [
- 491
+ 492
],
"kanbanColumnWidth": [
8
],
"mainGroupByFieldMetadataId": [
- 491
+ 492
],
"name": [
1
],
"openRecordIn": [
- 608
+ 609
],
"position": [
11
@@ -13192,10 +13206,10 @@ export default {
4
],
"type": [
- 611
+ 612
],
"visibility": [
- 612
+ 613
],
"__typename": [
1
@@ -13203,10 +13217,10 @@ export default {
},
"UpdateViewSortInput": {
"id": [
- 491
+ 492
],
"update": [
- 549
+ 550
],
"__typename": [
1
@@ -13214,7 +13228,7 @@ export default {
},
"UpdateViewSortInputUpdates": {
"direction": [
- 610
+ 611
],
"subFieldName": [
1
@@ -13225,10 +13239,10 @@ export default {
},
"UpdateWebhookInput": {
"id": [
- 491
+ 492
],
"update": [
- 551
+ 552
],
"__typename": [
1
@@ -13276,7 +13290,7 @@ export default {
1
],
"aiModelIdByTier": [
- 288
+ 289
],
"allowImpersonation": [
4
@@ -13285,7 +13299,7 @@ export default {
1
],
"defaultRoleId": [
- 491
+ 492
],
"displayName": [
1
@@ -13345,7 +13359,7 @@ export default {
11
],
"workspaceDiscoverability": [
- 626
+ 627
],
"__typename": [
1
@@ -13353,10 +13367,10 @@ export default {
},
"UpdateWorkspaceMemberSettingsInput": {
"update": [
- 288
+ 289
],
"workspaceMemberId": [
- 491
+ 492
],
"__typename": [
1
@@ -13368,7 +13382,7 @@ export default {
250
],
"roleId": [
- 491
+ 492
],
"__typename": [
1
@@ -13376,7 +13390,7 @@ export default {
},
"UpsertFieldsWidgetFieldInput": {
"fieldMetadataId": [
- 491
+ 492
],
"isVisible": [
4
@@ -13385,7 +13399,7 @@ export default {
11
],
"viewFieldId": [
- 491
+ 492
],
"__typename": [
1
@@ -13393,10 +13407,10 @@ export default {
},
"UpsertFieldsWidgetGroupInput": {
"fields": [
- 557
+ 558
],
"id": [
- 491
+ 492
],
"isVisible": [
4
@@ -13413,13 +13427,13 @@ export default {
},
"UpsertFieldsWidgetInput": {
"fields": [
- 557
+ 558
],
"groups": [
- 558
+ 559
],
"widgetId": [
- 491
+ 492
],
"__typename": [
1
@@ -13427,10 +13441,10 @@ export default {
},
"UpsertObjectPermissionsInput": {
"objectPermissions": [
- 356
+ 357
],
"roleId": [
- 491
+ 492
],
"__typename": [
1
@@ -13441,7 +13455,7 @@ export default {
1
],
"roleId": [
- 491
+ 492
],
"__typename": [
1
@@ -13449,16 +13463,16 @@ export default {
},
"UpsertRowLevelPermissionPredicatesInput": {
"objectMetadataId": [
- 491
+ 492
],
"predicateGroups": [
- 423
+ 424
],
"predicates": [
- 425
+ 426
],
"roleId": [
- 491
+ 492
],
"__typename": [
1
@@ -13466,10 +13480,10 @@ export default {
},
"UpsertRowLevelPermissionPredicatesResult": {
"predicateGroups": [
- 422
+ 423
],
"predicates": [
- 421
+ 422
],
"__typename": [
1
@@ -13477,22 +13491,22 @@ export default {
},
"UpsertViewWidgetInput": {
"view": [
- 568
+ 569
],
"viewFields": [
- 565
+ 566
],
"viewFilterGroups": [
- 566
+ 567
],
"viewFilters": [
- 567
+ 568
],
"viewSorts": [
- 569
+ 570
],
"widgetId": [
- 491
+ 492
],
"__typename": [
1
@@ -13503,7 +13517,7 @@ export default {
19
],
"fieldMetadataId": [
- 491
+ 492
],
"isVisible": [
4
@@ -13515,7 +13529,7 @@ export default {
11
],
"viewFieldId": [
- 491
+ 492
],
"__typename": [
1
@@ -13523,13 +13537,13 @@ export default {
},
"UpsertViewWidgetViewFilterGroupInput": {
"id": [
- 491
+ 492
],
"logicalOperator": [
- 604
+ 605
],
"parentViewFilterGroupId": [
- 491
+ 492
],
"positionInViewFilterGroup": [
11
@@ -13540,28 +13554,28 @@ export default {
},
"UpsertViewWidgetViewFilterInput": {
"fieldMetadataId": [
- 491
+ 492
],
"id": [
- 491
+ 492
],
"operand": [
- 605
+ 606
],
"positionInViewFilterGroup": [
11
],
"relationTargetFieldMetadataId": [
- 491
+ 492
],
"subFieldName": [
1
],
"value": [
- 288
+ 289
],
"viewFilterGroupId": [
- 491
+ 492
],
"__typename": [
1
@@ -13569,34 +13583,34 @@ export default {
},
"UpsertViewWidgetViewSettingsInput": {
"calendarEndFieldMetadataId": [
- 491
+ 492
],
"calendarFieldMetadataId": [
- 491
+ 492
],
"calendarLayout": [
- 598
+ 599
],
"kanbanAggregateOperation": [
19
],
"kanbanAggregateOperationFieldMetadataId": [
- 491
+ 492
],
"kanbanColumnWidth": [
8
],
"mainGroupByFieldMetadataId": [
- 491
+ 492
],
"openRecordIn": [
- 608
+ 609
],
"shouldHideEmptyGroups": [
4
],
"type": [
- 611
+ 612
],
"__typename": [
1
@@ -13604,13 +13618,13 @@ export default {
},
"UpsertViewWidgetViewSortInput": {
"direction": [
- 610
+ 611
],
"fieldMetadataId": [
- 491
+ 492
],
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -13624,22 +13638,22 @@ export default {
187
],
"timeSeries": [
- 583
+ 584
],
"usageByApplication": [
- 572
+ 573
],
"usageByModel": [
- 572
+ 573
],
"usageByOperationType": [
- 572
+ 573
],
"usageByUser": [
- 572
+ 573
],
"userDailyUsage": [
- 585
+ 586
],
"__typename": [
1
@@ -13647,7 +13661,7 @@ export default {
},
"UsageAnalyticsInput": {
"operationTypes": [
- 575
+ 576
],
"periodEnd": [
187
@@ -13684,7 +13698,7 @@ export default {
187
],
"id": [
- 491
+ 492
],
"limitKind": [
1
@@ -13693,7 +13707,7 @@ export default {
80
],
"operationType": [
- 575
+ 576
],
"periodCount": [
8
@@ -13702,7 +13716,7 @@ export default {
1
],
"resourceType": [
- 582
+ 583
],
"spenderId": [
1
@@ -13711,7 +13725,7 @@ export default {
1
],
"unit": [
- 584
+ 585
],
"updatedAt": [
187
@@ -13722,10 +13736,10 @@ export default {
},
"UsageLimitOperationDefinition": {
"allowedUnits": [
- 584
+ 585
],
"operationType": [
- 575
+ 576
],
"__typename": [
1
@@ -13734,7 +13748,7 @@ export default {
"UsageOperationType": {},
"UsageQuotaDefinition": {
"allowedOperations": [
- 574
+ 575
],
"allowedSpenderTypes": [
1
@@ -13743,10 +13757,10 @@ export default {
1
],
"operatorOnlyScopes": [
- 578
+ 579
],
"resourceType": [
- 582
+ 583
],
"__typename": [
1
@@ -13754,7 +13768,7 @@ export default {
},
"UsageQuotaDefinitions": {
"definitions": [
- 576
+ 577
],
"hasAllowancePeriod": [
4
@@ -13768,7 +13782,7 @@ export default {
},
"UsageQuotaOperatorOnlyScope": {
"operationType": [
- 575
+ 576
],
"periodUnit": [
1
@@ -13777,7 +13791,7 @@ export default {
1
],
"unit": [
- 584
+ 585
],
"__typename": [
1
@@ -13799,13 +13813,13 @@ export default {
},
"UsageQuotaScopeInput": {
"operationType": [
- 575
+ 576
],
"periodUnit": [
1
],
"resourceType": [
- 582
+ 583
],
"spenderId": [
1
@@ -13814,7 +13828,7 @@ export default {
1
],
"unit": [
- 584
+ 585
],
"__typename": [
1
@@ -13825,7 +13839,7 @@ export default {
80
],
"id": [
- 491
+ 492
],
"isEnforced": [
4
@@ -13834,7 +13848,7 @@ export default {
80
],
"operationType": [
- 575
+ 576
],
"periodEnd": [
187
@@ -13849,7 +13863,7 @@ export default {
80
],
"resourceType": [
- 582
+ 583
],
"spenderId": [
1
@@ -13861,7 +13875,7 @@ export default {
1
],
"unit": [
- 584
+ 585
],
"__typename": [
1
@@ -13882,7 +13896,7 @@ export default {
"UsageUnit": {},
"UsageUserDaily": {
"dailyUsage": [
- 583
+ 584
],
"userWorkspaceId": [
1
@@ -13905,10 +13919,10 @@ export default {
187
],
"currentUserWorkspace": [
- 589
+ 590
],
"currentWorkspace": [
- 620
+ 621
],
"deletedAt": [
187
@@ -13929,7 +13943,7 @@ export default {
4
],
"id": [
- 491
+ 492
],
"isEmailVerified": [
4
@@ -13944,10 +13958,10 @@ export default {
1
],
"onboardingStatus": [
- 363
+ 364
],
"previousOnboardingStatus": [
- 363
+ 364
],
"supportUserHash": [
1
@@ -13956,19 +13970,19 @@ export default {
187
],
"userVars": [
- 289
+ 290
],
"userWorkspaces": [
- 589
+ 590
],
"workspaceMember": [
- 629
+ 630
],
"workspaceMembers": [
- 629
+ 630
],
"workspaces": [
- 589
+ 590
],
"__typename": [
1
@@ -13994,7 +14008,7 @@ export default {
1
],
"options": [
- 288
+ 289
],
"type": [
1
@@ -14017,7 +14031,7 @@ export default {
187
],
"id": [
- 491
+ 492
],
"ipAddress": [
1
@@ -14035,7 +14049,7 @@ export default {
1
],
"workspaceId": [
- 491
+ 492
],
"__typename": [
1
@@ -14049,7 +14063,7 @@ export default {
187
],
"id": [
- 491
+ 492
],
"isImpersonating": [
4
@@ -14058,25 +14072,25 @@ export default {
1
],
"objectPermissions": [
- 355
+ 356
],
"objectsPermissions": [
- 355
+ 356
],
"permissionFlags": [
- 380
+ 381
],
"twoFactorAuthenticationMethodSummary": [
- 487
+ 488
],
"updatedAt": [
187
],
"user": [
- 586
+ 587
],
"userId": [
- 491
+ 492
],
"__typename": [
1
@@ -14084,7 +14098,7 @@ export default {
},
"ValidateApprovedAccessDomainInput": {
"approvedAccessDomainId": [
- 491
+ 492
],
"validationToken": [
1
@@ -14101,7 +14115,7 @@ export default {
4
],
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -14112,7 +14126,7 @@ export default {
1
],
"errorFieldMetadataId": [
- 491
+ 492
],
"expression": [
1
@@ -14121,7 +14135,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isActive": [
4
@@ -14133,7 +14147,7 @@ export default {
1
],
"objectMetadataId": [
- 491
+ 492
],
"__typename": [
1
@@ -14164,7 +14178,7 @@ export default {
65
],
"workspaceUrls": [
- 638
+ 639
],
"__typename": [
1
@@ -14194,22 +14208,22 @@ export default {
1
],
"applicationId": [
- 491
+ 492
],
"calendarEndFieldMetadataId": [
- 491
+ 492
],
"calendarFieldMetadataId": [
- 491
+ 492
],
"calendarLayout": [
- 598
+ 599
],
"createdAt": [
187
],
"createdByUserWorkspaceId": [
- 491
+ 492
],
"deletedAt": [
187
@@ -14221,7 +14235,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isActive": [
4
@@ -14239,25 +14253,25 @@ export default {
19
],
"kanbanAggregateOperationFieldMetadataId": [
- 491
+ 492
],
"kanbanColumnWidth": [
8
],
"key": [
- 607
+ 608
],
"mainGroupByFieldMetadataId": [
- 491
+ 492
],
"name": [
1
],
"objectMetadataId": [
- 491
+ 492
],
"openRecordIn": [
- 608
+ 609
],
"position": [
11
@@ -14266,37 +14280,37 @@ export default {
4
],
"type": [
- 611
+ 612
],
"universalIdentifier": [
- 491
+ 492
],
"updatedAt": [
187
],
"viewFieldGroups": [
- 601
+ 602
],
"viewFields": [
- 600
+ 601
],
"viewFilterGroups": [
- 603
+ 604
],
"viewFilters": [
- 602
+ 603
],
"viewGroups": [
- 606
+ 607
],
"viewSorts": [
- 609
+ 610
],
"visibility": [
- 612
+ 613
],
"workspaceId": [
- 491
+ 492
],
"__typename": [
1
@@ -14305,7 +14319,7 @@ export default {
"ViewCalendarLayout": {},
"ViewConfiguration": {
"configurationType": [
- 615
+ 616
],
"__typename": [
1
@@ -14316,7 +14330,7 @@ export default {
19
],
"applicationId": [
- 491
+ 492
],
"createdAt": [
187
@@ -14325,10 +14339,10 @@ export default {
187
],
"fieldMetadataId": [
- 491
+ 492
],
"id": [
- 491
+ 492
],
"isActive": [
4
@@ -14349,19 +14363,19 @@ export default {
11
],
"universalIdentifier": [
- 491
+ 492
],
"updatedAt": [
187
],
"viewFieldGroupId": [
- 491
+ 492
],
"viewId": [
- 491
+ 492
],
"workspaceId": [
- 491
+ 492
],
"__typename": [
1
@@ -14375,7 +14389,7 @@ export default {
187
],
"id": [
- 491
+ 492
],
"isActive": [
4
@@ -14396,13 +14410,13 @@ export default {
187
],
"viewFields": [
- 600
+ 601
],
"viewId": [
- 491
+ 492
],
"workspaceId": [
- 491
+ 492
],
"__typename": [
1
@@ -14416,19 +14430,19 @@ export default {
187
],
"fieldMetadataId": [
- 491
+ 492
],
"id": [
- 491
+ 492
],
"operand": [
- 605
+ 606
],
"positionInViewFilterGroup": [
11
],
"relationTargetFieldMetadataId": [
- 491
+ 492
],
"subFieldName": [
1
@@ -14437,16 +14451,16 @@ export default {
187
],
"value": [
- 288
+ 289
],
"viewFilterGroupId": [
- 491
+ 492
],
"viewId": [
- 491
+ 492
],
"workspaceId": [
- 491
+ 492
],
"__typename": [
1
@@ -14460,13 +14474,13 @@ export default {
187
],
"id": [
- 491
+ 492
],
"logicalOperator": [
- 604
+ 605
],
"parentViewFilterGroupId": [
- 491
+ 492
],
"positionInViewFilterGroup": [
11
@@ -14475,10 +14489,10 @@ export default {
187
],
"viewId": [
- 491
+ 492
],
"workspaceId": [
- 491
+ 492
],
"__typename": [
1
@@ -14497,7 +14511,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"isVisible": [
4
@@ -14509,10 +14523,10 @@ export default {
187
],
"viewId": [
- 491
+ 492
],
"workspaceId": [
- 491
+ 492
],
"__typename": [
1
@@ -14528,13 +14542,13 @@ export default {
187
],
"direction": [
- 610
+ 611
],
"fieldMetadataId": [
- 491
+ 492
],
"id": [
- 491
+ 492
],
"subFieldName": [
1
@@ -14543,10 +14557,10 @@ export default {
187
],
"viewId": [
- 491
+ 492
],
"workspaceId": [
- 491
+ 492
],
"__typename": [
1
@@ -14557,7 +14571,7 @@ export default {
"ViewVisibility": {},
"Webhook": {
"applicationId": [
- 491
+ 492
],
"createdAt": [
187
@@ -14569,7 +14583,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"operations": [
1
@@ -14634,46 +14648,46 @@ export default {
263
],
"on_IframeConfiguration": [
- 272
+ 273
],
"on_LineChartConfiguration": [
- 292
+ 293
],
"on_MessageCampaignBodyConfiguration": [
- 313
+ 314
],
"on_MessageCampaignDetailsConfiguration": [
- 314
+ 315
],
"on_NotesConfiguration": [
- 346
+ 347
],
"on_PieChartConfiguration": [
- 381
+ 382
],
"on_RecordTableConfiguration": [
- 409
+ 410
],
"on_StandaloneRichTextConfiguration": [
- 459
+ 460
],
"on_TasksConfiguration": [
- 468
+ 469
],
"on_TimelineConfiguration": [
- 472
+ 473
],
"on_ViewConfiguration": [
- 599
+ 600
],
"on_WorkflowConfiguration": [
- 617
+ 618
],
"on_WorkflowRunConfiguration": [
- 618
+ 619
],
"on_WorkflowVersionConfiguration": [
- 619
+ 620
],
"__typename": [
1
@@ -14683,7 +14697,7 @@ export default {
"WidgetType": {},
"WorkflowConfiguration": {
"configurationType": [
- 615
+ 616
],
"__typename": [
1
@@ -14691,7 +14705,7 @@ export default {
},
"WorkflowRunConfiguration": {
"configurationType": [
- 615
+ 616
],
"__typename": [
1
@@ -14699,7 +14713,7 @@ export default {
},
"WorkflowVersionConfiguration": {
"configurationType": [
- 615
+ 616
],
"__typename": [
1
@@ -14707,7 +14721,7 @@ export default {
},
"Workspace": {
"activationStatus": [
- 621
+ 622
],
"aiAdditionalInstructions": [
1
@@ -14722,7 +14736,7 @@ export default {
1
],
"aiModelIdByTier": [
- 288
+ 289
],
"allowImpersonation": [
4
@@ -14752,7 +14766,7 @@ export default {
1
],
"defaultRole": [
- 418
+ 419
],
"deletedAt": [
187
@@ -14776,7 +14790,7 @@ export default {
4
],
"id": [
- 491
+ 492
],
"installedApplications": [
36
@@ -14827,7 +14841,7 @@ export default {
1
],
"logoFileId": [
- 491
+ 492
],
"metadataVersion": [
11
@@ -14842,22 +14856,22 @@ export default {
187
],
"viewFields": [
- 600
+ 601
],
"viewFilterGroups": [
- 603
+ 604
],
"viewFilters": [
- 602
+ 603
],
"viewGroups": [
- 606
+ 607
],
"viewSorts": [
- 609
+ 610
],
"views": [
- 597
+ 598
],
"workspaceCustomApplication": [
36
@@ -14866,13 +14880,13 @@ export default {
1
],
"workspaceDiscoverability": [
- 626
+ 627
],
"workspaceMembersCount": [
11
],
"workspaceUrls": [
- 638
+ 639
],
"__typename": [
1
@@ -14896,19 +14910,19 @@ export default {
"WorkspaceCompanyEnrichmentOutcome": {},
"WorkspaceCompanyEnrichmentResult": {
"enrichment": [
- 288
+ 289
],
"isBookCallOnboardingStepPending": [
4
],
"outcome": [
- 623
+ 624
],
"personEnrichment": [
- 288
+ 289
],
"personOutcome": [
- 636
+ 637
],
"__typename": [
1
@@ -14934,10 +14948,10 @@ export default {
187
],
"id": [
- 491
+ 492
],
"roleId": [
- 491
+ 492
],
"__typename": [
1
@@ -14962,28 +14976,28 @@ export default {
1
],
"dateFormat": [
- 631
+ 632
],
"id": [
- 491
+ 492
],
"locale": [
1
],
"name": [
- 264
+ 265
],
"numberFormat": [
- 632
+ 633
],
"openRecordIn": [
- 366
+ 367
],
"roles": [
- 418
+ 419
],
"timeFormat": [
- 633
+ 634
],
"timeZone": [
1
@@ -14995,10 +15009,10 @@ export default {
1
],
"userId": [
- 491
+ 492
],
"userWorkspaceId": [
- 491
+ 492
],
"__typename": [
1
@@ -15006,13 +15020,13 @@ export default {
},
"WorkspaceMemberApplicationVariables": {
"userWorkspaceId": [
- 491
+ 492
],
"variables": [
- 587
+ 588
],
"workspaceMemberId": [
- 491
+ 492
],
"__typename": [
1
@@ -15023,7 +15037,7 @@ export default {
"WorkspaceMemberTimeFormatEnum": {},
"WorkspaceMigration": {
"actions": [
- 288
+ 289
],
"applicationUniversalIdentifier": [
1
@@ -15037,7 +15051,7 @@ export default {
1
],
"id": [
- 491
+ 492
],
"__typename": [
1
@@ -15058,10 +15072,10 @@ export default {
},
"WorkspaceUrlsAndId": {
"id": [
- 491
+ 492
],
"workspaceUrls": [
- 638
+ 639
],
"__typename": [
1
diff --git a/packages/twenty-docs/developers/extend/apps/layout/front-components.mdx b/packages/twenty-docs/developers/extend/apps/layout/front-components.mdx
index 25677d2b516..c1c4672a53d 100644
--- a/packages/twenty-docs/developers/extend/apps/layout/front-components.mdx
+++ b/packages/twenty-docs/developers/extend/apps/layout/front-components.mdx
@@ -78,18 +78,50 @@ Click it to render the component inline.
## Configuration fields
-| Field | Required | Description |
-| --------------------- | -------- | ------------------------------------------------------------ |
-| `universalIdentifier` | Yes | Stable unique ID for this component |
-| `component` | Yes | A React component function |
-| `name` | No | Display name |
-| `description` | No | Description of what the component does |
-| `isHeadless` | No | Set to `true` if the component has no visible UI (see below) |
+| Field | Required | Description |
+| --------------------- | -------- | ---------------------------------------------------------------------------------------------------------------- |
+| `universalIdentifier` | Yes | Stable unique ID for this component |
+| `component` | Yes | A React component function |
+| `name` | No | Display name |
+| `description` | No | Description of what the component does |
+| `isHeadless` | No | Set to `true` if the component has no visible UI (see below) |
+| `widgetAvailability` | No | Widget picker that offers the component: record pages, optionally narrowed to objects, or dashboards (see below) |
## Placing a front component on a page
Beyond commands, you can embed a front component directly into a record page by adding it as a widget in a **page layout**. See [Page Layouts](/developers/extend/apps/layout/page-layouts) for details.
+`widgetAvailability` decides which widget picker offers the component while a page layout is being edited. A front component is built either for record pages, where it works on the shown record, or for dashboards, so it declares one `pageLayoutType`:
+
+| `widgetAvailability` | Offered in |
+| --- | --- |
+| omitted | no widget picker |
+| `{ pageLayoutType: PageLayoutType.RECORD_PAGE }` | every record page |
+| `{ pageLayoutType: PageLayoutType.RECORD_PAGE, objectUniversalIdentifiers: [...] }` | the record pages of those objects |
+| `{ pageLayoutType: PageLayoutType.DASHBOARD }` | dashboards |
+
+```tsx
+import {
+ defineFrontComponent,
+ PageLayoutType,
+ STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS,
+} from 'twenty-sdk/define';
+
+export default defineFrontComponent({
+ universalIdentifier: '...',
+ name: 'company-notes',
+ component: CompanyNotes,
+ widgetAvailability: {
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectUniversalIdentifiers: [
+ STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS.company.universalIdentifier,
+ ],
+ },
+});
+```
+
+Leave `widgetAvailability` out for a component that is only opened from a command, a [settings menu item](#settings-menu-items) or a timeline row. It never limits where a component is displayed: commands, settings menu items and the page layouts your app declares render it whatever its value. The build warns about a visible component that declares none and is opened from nowhere else.
+
## Settings menu items
An app can add its own entries to the settings menu, each rendering a front component. Declare one with `defineSettingsMenuItem()` in its own file, pointing at the component that renders it:
diff --git a/packages/twenty-front/src/generated-metadata/graphql.ts b/packages/twenty-front/src/generated-metadata/graphql.ts
index b7794e80fb5..afadfe95f0b 100644
--- a/packages/twenty-front/src/generated-metadata/graphql.ts
+++ b/packages/twenty-front/src/generated-metadata/graphql.ts
@@ -2452,6 +2452,7 @@ export type FrontComponent = {
universalIdentifier?: Maybe<Scalars['UUID']['output']>;
updatedAt: Scalars['DateTime']['output'];
usesSdkClient: Scalars['Boolean']['output'];
+ widgetAvailability: Array<FrontComponentWidgetAvailability>;
};
export type FrontComponentConfiguration = {
@@ -2461,6 +2462,12 @@ export type FrontComponentConfiguration = {
headerCommandMenuItemUniversalIdentifiers?: Maybe<Array<Scalars['UUID']['output']>>;
};
+export type FrontComponentWidgetAvailability = {
+ __typename?: 'FrontComponentWidgetAvailability';
+ objectMetadataId?: Maybe<Scalars['UUID']['output']>;
+ pageLayoutType: PageLayoutType;
+};
+
export type FullName = {
__typename?: 'FullName';
firstName: Scalars['String']['output'];
@@ -8961,7 +8968,7 @@ export type FindFrontComponentApplicationCapabilitiesQuery = { __typename?: 'Que
export type FindManyFrontComponentsQueryVariables = Exact<{ [key: string]: never; }>;
-export type FindManyFrontComponentsQuery = { __typename?: 'Query', frontComponents: Array<{ __typename?: 'FrontComponent', id: string, name: string, applicationId: string, builtComponentChecksum: string, builtComponentPath: string, componentName: string, createdAt: string, description?: string | null, isHeadless: boolean, sourceComponentPath: string, universalIdentifier?: string | null, updatedAt: string, usesSdkClient: boolean, frontComponentSharedDependenciesChecksum?: string | null }> };
+export type FindManyFrontComponentsQuery = { __typename?: 'Query', frontComponents: Array<{ __typename?: 'FrontComponent', id: string, name: string, applicationId: string, builtComponentChecksum: string, builtComponentPath: string, componentName: string, createdAt: string, description?: string | null, isHeadless: boolean, sourceComponentPath: string, universalIdentifier?: string | null, updatedAt: string, usesSdkClient: boolean, frontComponentSharedDependenciesChecksum?: string | null, widgetAvailability: Array<{ __typename?: 'FrontComponentWidgetAvailability', pageLayoutType: PageLayoutType, objectMetadataId?: string | null }> }> };
export type FindOneFrontComponentQueryVariables = Exact<{
id: Scalars['UUID']['input'];
@@ -10974,7 +10981,7 @@ export const GenerateFrontComponentApplicationTokenPairDocument = {"kind":"Docum
export const GrantApplicationCapabilitiesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"GrantApplicationCapabilities"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"GrantApplicationCapabilitiesInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"grantApplicationCapabilities"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"grantedCapabilities"}}]}}]}}]} as unknown as DocumentNode<GrantApplicationCapabilitiesMutation, GrantApplicationCapabilitiesMutationVariables>;
export const RenewApplicationTokenDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RenewApplicationToken"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"applicationRefreshToken"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"renewApplicationToken"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"applicationRefreshToken"},"value":{"kind":"Variable","name":{"kind":"Name","value":"applicationRefreshToken"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"applicationAccessToken"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"expiresAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"applicationRefreshToken"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"expiresAt"}}]}}]}}]}}]} as unknown as DocumentNode<RenewApplicationTokenMutation, RenewApplicationTokenMutationVariables>;
export const FindFrontComponentApplicationCapabilitiesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindFrontComponentApplicationCapabilities"},"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":"frontComponent"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"applicationGrantedCapabilities"}}]}}]}}]} as unknown as DocumentNode<FindFrontComponentApplicationCapabilitiesQuery, FindFrontComponentApplicationCapabilitiesQueryVariables>;
-export const FindManyFrontComponentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindManyFrontComponents"},"selectionSet":{"kind":"SelectionSet","selections":[{"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":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"builtComponentChecksum"}},{"kind":"Field","name":{"kind":"Name","value":"builtComponentPath"}},{"kind":"Field","name":{"kind":"Name","value":"componentName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isHeadless"}},{"kind":"Field","name":{"kind":"Name","value":"sourceComponentPath"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"usesSdkClient"}},{"kind":"Field","name":{"kind":"Name","value":"frontComponentSharedDependenciesChecksum"}}]}}]}}]} as unknown as DocumentNode<FindManyFrontComponentsQuery, FindManyFrontComponentsQueryVariables>;
+export const FindManyFrontComponentsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindManyFrontComponents"},"selectionSet":{"kind":"SelectionSet","selections":[{"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":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"builtComponentChecksum"}},{"kind":"Field","name":{"kind":"Name","value":"builtComponentPath"}},{"kind":"Field","name":{"kind":"Name","value":"componentName"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"isHeadless"}},{"kind":"Field","name":{"kind":"Name","value":"widgetAvailability"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"pageLayoutType"}},{"kind":"Field","name":{"kind":"Name","value":"objectMetadataId"}}]}},{"kind":"Field","name":{"kind":"Name","value":"sourceComponentPath"}},{"kind":"Field","name":{"kind":"Name","value":"universalIdentifier"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"usesSdkClient"}},{"kind":"Field","name":{"kind":"Name","value":"frontComponentSharedDependenciesChecksum"}}]}}]}}]} as unknown as DocumentNode<FindManyFrontComponentsQuery, FindManyFrontComponentsQueryVariables>;
export const FindOneFrontComponentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"FindOneFrontComponent"},"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":"frontComponent"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"applicationId"}},{"kind":"Field","name":{"kind":"Name","value":"applicationName"}},{"kind":"Field","name":{"kind":"Name","value":"applicationGrantedCapabilities"}},{"kind":"Field","name":{"kind":"Name","value":"builtComponentChecksum"}},{"kind":"Field","name":{"kind":"Name","value":"isHeadless"}},{"kind":"Field","name":{"kind":"Name","value":"usesSdkClient"}},{"kind":"Field","name":{"kind":"Name","value":"frontComponentSharedDependenciesChecksum"}},{"kind":"Field","name":{"kind":"Name","value":"applicationVariables"}}]}}]}}]} as unknown as DocumentNode<FindOneFrontComponentQuery, FindOneFrontComponentQueryVariables>;
export const GetApplicationSdkClientChecksumsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetApplicationSdkClientChecksums"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"applicationId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UUID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"applicationSdkClientChecksums"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"applicationId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"applicationId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"core"}},{"kind":"Field","name":{"kind":"Name","value":"metadata"}}]}}]}}]} as unknown as DocumentNode<GetApplicationSdkClientChecksumsQuery, GetApplicationSdkClientChecksumsQueryVariables>;
export const GetAutoCompleteAddressDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetAutoCompleteAddress"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"address"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"token"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"country"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"isFieldCity"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Boolean"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getAutoCompleteAddress"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"address"},"value":{"kind":"Variable","name":{"kind":"Name","value":"address"}}},{"kind":"Argument","name":{"kind":"Name","value":"token"},"value":{"kind":"Variable","name":{"kind":"Name","value":"token"}}},{"kind":"Argument","name":{"kind":"Name","value":"country"},"value":{"kind":"Variable","name":{"kind":"Name","value":"country"}}},{"kind":"Argument","name":{"kind":"Name","value":"isFieldCity"},"value":{"kind":"Variable","name":{"kind":"Name","value":"isFieldCity"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"text"}},{"kind":"Field","name":{"kind":"Name","value":"placeId"}}]}}]}}]} as unknown as DocumentNode<GetAutoCompleteAddressQuery, GetAutoCompleteAddressQueryVariables>;
diff --git a/packages/twenty-front/src/modules/front-components/graphql/queries/findManyFrontComponents.ts b/packages/twenty-front/src/modules/front-components/graphql/queries/findManyFrontComponents.ts
index bd3c78066d7..0d5e01f5418 100644
--- a/packages/twenty-front/src/modules/front-components/graphql/queries/findManyFrontComponents.ts
+++ b/packages/twenty-front/src/modules/front-components/graphql/queries/findManyFrontComponents.ts
@@ -12,6 +12,10 @@ export const FIND_MANY_FRONT_COMPONENTS = gql`
createdAt
description
isHeadless
+ widgetAvailability {
+ pageLayoutType
+ objectMetadataId
+ }
sourceComponentPath
universalIdentifier
updatedAt
diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/SidePanelPageLayoutDashboardWidgetTypeSelect.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/SidePanelPageLayoutDashboardWidgetTypeSelect.tsx
index 28ad7583ebe..9c57a767f68 100644
--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/SidePanelPageLayoutDashboardWidgetTypeSelect.tsx
+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/SidePanelPageLayoutDashboardWidgetTypeSelect.tsx
@@ -16,6 +16,7 @@ import { useNavigatePageLayoutSidePanel } from '@/side-panel/pages/page-layout/h
import { usePageLayoutSidePanelTarget } from '@/side-panel/pages/page-layout/hooks/usePageLayoutSidePanelTarget';
import { getFrontComponentWidgetTypeSelectItemId } from '@/side-panel/pages/page-layout/utils/getFrontComponentWidgetTypeSelectItemId';
import { isExistingWidgetMissingOrDifferentType } from '@/side-panel/pages/page-layout/utils/isExistingWidgetMissingOrDifferentType';
+import { isFrontComponentAvailableInWidgetPicker } from '@/side-panel/pages/page-layout/utils/isFrontComponentAvailableInWidgetPicker';
import { SelectableListItem } from '@/ui/layout/selectable-list/components/SelectableListItem';
import { useAtomComponentState } from '@/ui/utilities/state/jotai/hooks/useAtomComponentState';
import { useAtomComponentStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomComponentStateValue';
@@ -89,7 +90,11 @@ export const SidePanelPageLayoutDashboardWidgetTypeSelect = () => {
}>(FIND_MANY_FRONT_COMPONENTS);
const frontComponents = (frontComponentsData?.frontComponents ?? []).filter(
- (frontComponent) => !frontComponent.isHeadless,
+ (frontComponent) =>
+ isFrontComponentAvailableInWidgetPicker({
+ frontComponent,
+ pageLayoutType: PageLayoutType.DASHBOARD,
+ }),
);
const frontComponentsWithSelectItemId = frontComponents.map(
diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/SidePanelPageLayoutRecordPageWidgetTypeSelect.tsx b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/SidePanelPageLayoutRecordPageWidgetTypeSelect.tsx
index 2a7e57548b4..9e869cde2e1 100644
--- a/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/SidePanelPageLayoutRecordPageWidgetTypeSelect.tsx
+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/components/SidePanelPageLayoutRecordPageWidgetTypeSelect.tsx
@@ -22,6 +22,7 @@ import { useSidePanelMenu } from '@/side-panel/hooks/useSidePanelMenu';
import { useNavigatePageLayoutSidePanel } from '@/side-panel/pages/page-layout/hooks/useNavigatePageLayoutSidePanel';
import { usePageLayoutSidePanelTarget } from '@/side-panel/pages/page-layout/hooks/usePageLayoutSidePanelTarget';
import { getFrontComponentWidgetTypeSelectItemId } from '@/side-panel/pages/page-layout/utils/getFrontComponentWidgetTypeSelectItemId';
+import { isFrontComponentAvailableInWidgetPicker } from '@/side-panel/pages/page-layout/utils/isFrontComponentAvailableInWidgetPicker';
import { resolveWidgetTypeSelectTargetTabId } from '@/side-panel/pages/page-layout/utils/resolveWidgetTypeSelectTargetTabId';
import { SelectableListItem } from '@/ui/layout/selectable-list/components/SelectableListItem';
import { useAtomComponentState } from '@/ui/utilities/state/jotai/hooks/useAtomComponentState';
@@ -43,6 +44,7 @@ import { v4 as uuidv4 } from 'uuid';
import {
type FrontComponent,
PageLayoutTabLayoutMode,
+ PageLayoutType,
WidgetConfigurationType,
WidgetType,
} from '~/generated-metadata/graphql';
@@ -147,7 +149,12 @@ export const SidePanelPageLayoutRecordPageWidgetTypeSelect = () => {
}>(FIND_MANY_FRONT_COMPONENTS);
const frontComponents = (frontComponentsData?.frontComponents ?? []).filter(
- (frontComponent) => !frontComponent.isHeadless,
+ (frontComponent) =>
+ isFrontComponentAvailableInWidgetPicker({
+ frontComponent,
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectMetadataId: objectMetadataItem.id,
+ }),
);
const frontComponentsWithSelectItemId = frontComponents.map(
diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/utils/__tests__/isFrontComponentAvailableInWidgetPicker.test.ts b/packages/twenty-front/src/modules/side-panel/pages/page-layout/utils/__tests__/isFrontComponentAvailableInWidgetPicker.test.ts
new file mode 100644
index 00000000000..b7cdf75b3cc
--- /dev/null
+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/utils/__tests__/isFrontComponentAvailableInWidgetPicker.test.ts
@@ -0,0 +1,84 @@
+import { isFrontComponentAvailableInWidgetPicker } from '@/side-panel/pages/page-layout/utils/isFrontComponentAvailableInWidgetPicker';
+import { PageLayoutType } from '~/generated-metadata/graphql';
+
+const COMPANY_OBJECT_METADATA_ID = '20202020-0000-4000-8000-000000000001';
+const PERSON_OBJECT_METADATA_ID = '20202020-0000-4000-8000-000000000002';
+
+describe('isFrontComponentAvailableInWidgetPicker', () => {
+ it('should return true when the page layout type is listed for every object', () => {
+ expect(
+ isFrontComponentAvailableInWidgetPicker({
+ frontComponent: {
+ isHeadless: false,
+ widgetAvailability: [
+ { pageLayoutType: PageLayoutType.RECORD_PAGE },
+ { pageLayoutType: PageLayoutType.DASHBOARD },
+ ],
+ },
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectMetadataId: COMPANY_OBJECT_METADATA_ID,
+ }),
+ ).toBe(true);
+ });
+
+ it('should return false when the page layout type is not listed', () => {
+ expect(
+ isFrontComponentAvailableInWidgetPicker({
+ frontComponent: {
+ isHeadless: false,
+ widgetAvailability: [{ pageLayoutType: PageLayoutType.DASHBOARD }],
+ },
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectMetadataId: COMPANY_OBJECT_METADATA_ID,
+ }),
+ ).toBe(false);
+ });
+
+ it('should only return true on record pages of the listed objects', () => {
+ const frontComponent = {
+ isHeadless: false,
+ widgetAvailability: [
+ {
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectMetadataId: COMPANY_OBJECT_METADATA_ID,
+ },
+ ],
+ };
+
+ expect(
+ isFrontComponentAvailableInWidgetPicker({
+ frontComponent,
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectMetadataId: COMPANY_OBJECT_METADATA_ID,
+ }),
+ ).toBe(true);
+ expect(
+ isFrontComponentAvailableInWidgetPicker({
+ frontComponent,
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectMetadataId: PERSON_OBJECT_METADATA_ID,
+ }),
+ ).toBe(false);
+ });
+
+ it('should return false when no widget picker is listed', () => {
+ expect(
+ isFrontComponentAvailableInWidgetPicker({
+ frontComponent: { isHeadless: false, widgetAvailability: [] },
+ pageLayoutType: PageLayoutType.DASHBOARD,
+ }),
+ ).toBe(false);
+ });
+
+ it('should return false for a headless front component', () => {
+ expect(
+ isFrontComponentAvailableInWidgetPicker({
+ frontComponent: {
+ isHeadless: true,
+ widgetAvailability: [{ pageLayoutType: PageLayoutType.DASHBOARD }],
+ },
+ pageLayoutType: PageLayoutType.DASHBOARD,
+ }),
+ ).toBe(false);
+ });
+});
diff --git a/packages/twenty-front/src/modules/side-panel/pages/page-layout/utils/isFrontComponentAvailableInWidgetPicker.ts b/packages/twenty-front/src/modules/side-panel/pages/page-layout/utils/isFrontComponentAvailableInWidgetPicker.ts
new file mode 100644
index 00000000000..c660154db8c
--- /dev/null
+++ b/packages/twenty-front/src/modules/side-panel/pages/page-layout/utils/isFrontComponentAvailableInWidgetPicker.ts
@@ -0,0 +1,26 @@
+import { isDefined } from 'twenty-shared/utils';
+
+import {
+ type FrontComponent,
+ type PageLayoutType,
+} from '~/generated-metadata/graphql';
+
+export const isFrontComponentAvailableInWidgetPicker = ({
+ frontComponent,
+ pageLayoutType,
+ objectMetadataId,
+}: {
+ frontComponent: Pick<FrontComponent, 'isHeadless' | 'widgetAvailability'>;
+ pageLayoutType: PageLayoutType;
+ objectMetadataId?: string;
+}): boolean => {
+ return (
+ !frontComponent.isHeadless &&
+ frontComponent.widgetAvailability.some(
+ (availability) =>
+ availability.pageLayoutType === pageLayoutType &&
+ (!isDefined(availability.objectMetadataId) ||
+ availability.objectMetadataId === objectMetadataId),
+ )
+ );
+};
diff --git a/packages/twenty-sdk/src/cli/utilities/build/manifest/__tests__/manifest-validate.spec.ts b/packages/twenty-sdk/src/cli/utilities/build/manifest/__tests__/manifest-validate.spec.ts
index bb85f262cb0..57f5137666a 100644
--- a/packages/twenty-sdk/src/cli/utilities/build/manifest/__tests__/manifest-validate.spec.ts
+++ b/packages/twenty-sdk/src/cli/utilities/build/manifest/__tests__/manifest-validate.spec.ts
@@ -1158,4 +1158,107 @@ describe('manifestValidate', () => {
);
});
});
+
+ describe('front component widget availability warnings', () => {
+ const frontComponent = {
+ universalIdentifier: 'a0a1a2a3-a4a5-4000-8000-000000000020',
+ name: 'Insights',
+ sourceComponentPath: 'src/insights.tsx',
+ builtComponentPath: 'src/insights.mjs',
+ builtComponentChecksum: 'checksum',
+ componentName: 'Insights',
+ };
+
+ it('warns about a visible front component that no widget picker offers', () => {
+ const result = manifestValidate({
+ ...validManifest,
+ frontComponents: [frontComponent],
+ });
+
+ expect(result.isValid).toBe(true);
+ expect(result.warnings).toEqual([
+ expect.stringContaining(
+ 'Front component "Insights" declares no widgetAvailability',
+ ),
+ ]);
+ });
+
+ it('does not warn when widgetAvailability is declared', () => {
+ const result = manifestValidate({
+ ...validManifest,
+ frontComponents: [
+ {
+ ...frontComponent,
+ widgetAvailability: { pageLayoutType: PageLayoutType.DASHBOARD },
+ },
+ ],
+ });
+
+ expect(result.warnings).toEqual([]);
+ });
+
+ it('does not warn about a front component the app places in its own page layout', () => {
+ const result = manifestValidate({
+ ...validManifest,
+ frontComponents: [frontComponent],
+ pageLayoutTabs: [
+ {
+ universalIdentifier: 'a0a1a2a3-a4a5-4000-8000-000000000025',
+ title: 'Overview',
+ position: 0,
+ layoutMode: PageLayoutTabLayoutMode.VERTICAL_LIST,
+ widgets: [
+ {
+ universalIdentifier: 'a0a1a2a3-a4a5-4000-8000-000000000026',
+ title: 'Insights',
+ type: WidgetType.FRONT_COMPONENT,
+ configuration: {
+ configurationType: 'FRONT_COMPONENT',
+ frontComponentUniversalIdentifier:
+ frontComponent.universalIdentifier,
+ },
+ },
+ ],
+ },
+ ],
+ });
+
+ expect(result.warnings).toEqual([]);
+ });
+
+ it('does not warn about headless front components or those opened from a menu item', () => {
+ const result = manifestValidate({
+ ...validManifest,
+ frontComponents: [
+ { ...frontComponent, isHeadless: true },
+ {
+ ...frontComponent,
+ universalIdentifier: 'a0a1a2a3-a4a5-4000-8000-000000000021',
+ },
+ {
+ ...frontComponent,
+ universalIdentifier: 'a0a1a2a3-a4a5-4000-8000-000000000022',
+ },
+ ],
+ settingsMenuItems: [
+ {
+ universalIdentifier: 'a0a1a2a3-a4a5-4000-8000-000000000023',
+ frontComponentUniversalIdentifier:
+ 'a0a1a2a3-a4a5-4000-8000-000000000021',
+ title: 'Settings',
+ },
+ ],
+ commandMenuItems: [
+ {
+ universalIdentifier: 'a0a1a2a3-a4a5-4000-8000-000000000024',
+ frontComponentUniversalIdentifier:
+ 'a0a1a2a3-a4a5-4000-8000-000000000022',
+ label: 'Open',
+ },
+ ],
+ });
+
+ expect(result.warnings).toEqual([]);
+ });
+ });
});
diff --git a/packages/twenty-sdk/src/cli/utilities/build/manifest/manifest-validate.ts b/packages/twenty-sdk/src/cli/utilities/build/manifest/manifest-validate.ts
index 84bb1bb5822..1403f5eccda 100644
--- a/packages/twenty-sdk/src/cli/utilities/build/manifest/manifest-validate.ts
+++ b/packages/twenty-sdk/src/cli/utilities/build/manifest/manifest-validate.ts
@@ -22,6 +22,7 @@ import {
type ManifestField,
isRelationFieldManifest,
} from '@/cli/utilities/build/manifest/utils/manifest-validation-helpers';
+import { getFrontComponentWidgetAvailabilityWarnings } from '@/cli/utilities/build/manifest/utils/get-front-component-widget-availability-warnings';
import { getPageLayoutDeprecationWarnings } from '@/cli/utilities/build/manifest/utils/get-page-layout-deprecation-warnings';
import { validateTimelineActivityTypes } from '@/cli/utilities/build/manifest/utils/validate-timeline-activity-types';
@@ -249,7 +250,14 @@ const invalidUniversalIdentifierVersions = (
export const manifestValidate = (manifest: Manifest) => {
const errors: string[] = [];
- const warnings = getPageLayoutDeprecationWarnings(manifest);
+ const pageLayoutWidgets = collectPageLayoutWidgets(manifest);
+ const warnings = [
+ ...getPageLayoutDeprecationWarnings(manifest),
+ ...getFrontComponentWidgetAvailabilityWarnings({
+ manifest,
+ pageLayoutWidgets,
+ }),
+ ];
const universalIdentifiers = findUniversalIdentifiers(manifest);
@@ -277,7 +285,7 @@ export const manifestValidate = (manifest: Manifest) => {
errors.push(...validatePageLayoutTabs(manifest));
- errors.push(...validateGraphWidgets(collectPageLayoutWidgets(manifest)));
+ errors.push(...validateGraphWidgets(pageLayoutWidgets));
errors.push(...validateTimelineActivityTypes(manifest));
diff --git a/packages/twenty-sdk/src/cli/utilities/build/manifest/utils/get-front-component-widget-availability-warnings.ts b/packages/twenty-sdk/src/cli/utilities/build/manifest/utils/get-front-component-widget-availability-warnings.ts
new file mode 100644
index 00000000000..81305482819
--- /dev/null
+++ b/packages/twenty-sdk/src/cli/utilities/build/manifest/utils/get-front-component-widget-availability-warnings.ts
@@ -0,0 +1,56 @@
+import {
+ type Manifest,
+ type PageLayoutWidgetManifest,
+} from 'twenty-shared/application';
+import { isDefined } from 'twenty-shared/utils';
+
+export const getFrontComponentWidgetAvailabilityWarnings = ({
+ manifest,
+ pageLayoutWidgets,
+}: {
+ manifest: Pick<
+ Manifest,
+ | 'application'
+ | 'frontComponents'
+ | 'settingsMenuItems'
+ | 'commandMenuItems'
+ | 'timelineActivityTypes'
+ >;
+ pageLayoutWidgets: PageLayoutWidgetManifest[];
+}): string[] => {
+ const frontComponentUniversalIdentifiersRenderedElsewhere = new Set(
+ [
+ manifest.application.settingsFrontComponent?.universalIdentifier,
+ ...manifest.settingsMenuItems.map(
+ (settingsMenuItem) => settingsMenuItem.frontComponentUniversalIdentifier,
+ ),
+ ...manifest.commandMenuItems.map(
+ (commandMenuItem) => commandMenuItem.frontComponentUniversalIdentifier,
+ ),
+ ...manifest.timelineActivityTypes.map(
+ (timelineActivityType) =>
+ timelineActivityType.frontComponentUniversalIdentifier,
+ ),
+ ...pageLayoutWidgets.map(({ configuration }) =>
+ isDefined(configuration) &&
+ 'frontComponentUniversalIdentifier' in configuration
+ ? configuration.frontComponentUniversalIdentifier
+ : undefined,
+ ),
+ ].filter(isDefined),
+ );
+
+ return manifest.frontComponents
+ .filter(
+ (frontComponent) =>
+ !frontComponent.isHeadless &&
+ !isDefined(frontComponent.widgetAvailability) &&
+ !frontComponentUniversalIdentifiersRenderedElsewhere.has(
+ frontComponent.universalIdentifier,
+ ),
+ )
+ .map(
+ (frontComponent) =>
+ `Front component "${frontComponent.name ?? frontComponent.componentName}" declares no widgetAvailability, so it is not offered in any widget picker. Set widgetAvailability to let users add it to record pages or dashboards.`,
+ );
+};
diff --git a/packages/twenty-sdk/src/sdk/define/front-component/__tests__/define-front-component.spec.ts b/packages/twenty-sdk/src/sdk/define/front-component/__tests__/define-front-component.spec.ts
index 10f2ec4f2bf..c3842b4bcf8 100644
--- a/packages/twenty-sdk/src/sdk/define/front-component/__tests__/define-front-component.spec.ts
+++ b/packages/twenty-sdk/src/sdk/define/front-component/__tests__/define-front-component.spec.ts
@@ -1,4 +1,5 @@
import { defineFrontComponent } from '@/sdk/define';
+import { PageLayoutType } from 'twenty-shared/types';
const MockComponent = () => null;
@@ -81,4 +82,33 @@ describe('defineFrontComponent', () => {
expect(result.success).toBe(true);
expect(result.config?.name).toBeUndefined();
});
+
+ it('should accept a widgetAvailability restricted to objects', () => {
+ const result = defineFrontComponent({
+ ...validConfig,
+ widgetAvailability: {
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectUniversalIdentifiers: ['20202020-b374-4779-a561-80086cb2e17f'],
+ },
+ });
+
+ expect(result.success).toBe(true);
+ });
+
+ it('should return error when widgetAvailability restricts record pages to no object', () => {
+ const result = defineFrontComponent({
+ ...validConfig,
+ widgetAvailability: {
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectUniversalIdentifiers: [],
+ },
+ });
+
+ expect(result.success).toBe(false);
+ expect(result.errors).toEqual([
+ expect.stringContaining(
+ 'widgetAvailability.objectUniversalIdentifiers must not be empty',
+ ),
+ ]);
+ });
});
diff --git a/packages/twenty-sdk/src/sdk/define/front-component/define-front-component.ts b/packages/twenty-sdk/src/sdk/define/front-component/define-front-component.ts
index cf0ed482efb..bf407274ea0 100644
--- a/packages/twenty-sdk/src/sdk/define/front-component/define-front-component.ts
+++ b/packages/twenty-sdk/src/sdk/define/front-component/define-front-component.ts
@@ -1,6 +1,7 @@
import type { DefineEntity } from '@/sdk/define/common/types/define-entity.type';
import { createValidationResult } from '@/sdk/define/common/utils/create-validation-result';
import { type FrontComponentConfig } from '@/sdk/define/front-component/front-component-config';
+import { isDefined, isNonEmptyArray } from 'twenty-shared/utils';
export const defineFrontComponent: DefineEntity<FrontComponentConfig> = (
config,
@@ -19,6 +20,19 @@ export const defineFrontComponent: DefineEntity<FrontComponentConfig> = (
errors.push('Front component component must be a React component');
}
+ const widgetAvailability = config.widgetAvailability;
+
+ if (
+ isDefined(widgetAvailability) &&
+ 'objectUniversalIdentifiers' in widgetAvailability &&
+ isDefined(widgetAvailability.objectUniversalIdentifiers) &&
+ !isNonEmptyArray(widgetAvailability.objectUniversalIdentifiers)
+ ) {
+ errors.push(
+ 'Front component widgetAvailability.objectUniversalIdentifiers must not be empty: omit it to offer the component on every record page, or omit widgetAvailability to offer it nowhere',
+ );
+ }
+
return createValidationResult({
config,
errors,
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-47/2-47-instance-command-fast-1791898075681-add-widget-availability-to-front-component.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-47/2-47-instance-command-fast-1791898075681-add-widget-availability-to-front-component.ts
new file mode 100644
index 00000000000..fba8167bc86
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-47/2-47-instance-command-fast-1791898075681-add-widget-availability-to-front-component.ts
@@ -0,0 +1,19 @@
+import { QueryRunner } from 'typeorm';
+
+import { RegisteredInstanceCommand } from 'src/engine/core-modules/upgrade/decorators/registered-instance-command.decorator';
+import { FastInstanceCommand } from 'src/engine/core-modules/upgrade/interfaces/fast-instance-command.interface';
+
+@RegisteredInstanceCommand('2.47.0', 1791898075681)
+export class AddWidgetAvailabilityToFrontComponentFastInstanceCommand implements FastInstanceCommand {
+ public async up(queryRunner: QueryRunner): Promise<void> {
+ await queryRunner.query(
+ 'ALTER TABLE "core"."frontComponent" ADD "widgetAvailability" jsonb NOT NULL DEFAULT \'[]\'',
+ );
+ }
+
+ public async down(queryRunner: QueryRunner): Promise<void> {
+ await queryRunner.query(
+ 'ALTER TABLE "core"."frontComponent" DROP COLUMN "widgetAvailability"',
+ );
+ }
+}
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/2-47/add-widget-availability-to-front-component-upgrade-command-name.constant.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/2-47/add-widget-availability-to-front-component-upgrade-command-name.constant.ts
new file mode 100644
index 00000000000..fac38362b37
--- /dev/null
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/2-47/add-widget-availability-to-front-component-upgrade-command-name.constant.ts
@@ -0,0 +1,2 @@
+export const ADD_WIDGET_AVAILABILITY_TO_FRONT_COMPONENT_UPGRADE_COMMAND_NAME =
+ '2.47.0_AddWidgetAvailabilityToFrontComponentFastInstanceCommand_1791898075681';
diff --git a/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts b/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts
index 398b3fab6de..e0aecfbfe38 100644
--- a/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts
+++ b/packages/twenty-server/src/database/commands/upgrade-version-command/instance-commands.constant.ts
@@ -240,6 +240,7 @@ import { AddPurchaseToBillingCreditGrantTypeFastInstanceCommand } from 'src/data
import { RestoreUsageLimitMeterCompatibilityFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-46/2-46-instance-command-fast-1791538680877-restore-usage-limit-meter-compatibility';
import { DropUsageLimitMeterFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-47/2-47-instance-command-fast-1791720497488-drop-usage-limit-meter';
import { SetWorkspaceEventLogRetentionDefaultFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-47/2-47-instance-command-fast-1791790299002-set-workspace-event-log-retention-default';
+import { AddWidgetAvailabilityToFrontComponentFastInstanceCommand } from 'src/database/commands/upgrade-version-command/2-47/2-47-instance-command-fast-1791898075681-add-widget-availability-to-front-component';
export const INSTANCE_COMMANDS = [
AddViewFieldGroupIdIndexOnViewFieldFastInstanceCommand,
@@ -482,4 +483,5 @@ export const INSTANCE_COMMANDS = [
RestoreUsageLimitMeterCompatibilityFastInstanceCommand,
DropUsageLimitMeterFastInstanceCommand,
SetWorkspaceEventLogRetentionDefaultFastInstanceCommand,
+ AddWidgetAvailabilityToFrontComponentFastInstanceCommand,
];
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/__tests__/from-front-component-manifest-to-universal-flat-front-component.util.spec.ts b/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/__tests__/from-front-component-manifest-to-universal-flat-front-component.util.spec.ts
new file mode 100644
index 00000000000..53ae33d741e
--- /dev/null
+++ b/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/__tests__/from-front-component-manifest-to-universal-flat-front-component.util.spec.ts
@@ -0,0 +1,72 @@
+import {
+ type FrontComponentManifest,
+ type FrontComponentWidgetAvailabilityManifest,
+} from 'twenty-shared/application';
+import { PageLayoutType } from 'twenty-shared/types';
+
+import { fromFrontComponentManifestToUniversalFlatFrontComponent } from 'src/engine/core-modules/application/application-manifest/converters/from-front-component-manifest-to-universal-flat-front-component.util';
+
+const APP_UID = 'a8a8a8a8-a8a8-4a8a-a8a8-a8a8a8a8a8a8';
+const FRONT_COMPONENT_UID = 'f1f1f1f1-f1f1-4f1f-b1f1-f1f1f1f1f1f1';
+const COMPANY_UID = 'c0c0c0c0-c0c0-4c0c-a0c0-c0c0c0c0c0c0';
+const PERSON_UID = 'd0d0d0d0-d0d0-4d0d-a0d0-d0d0d0d0d0d0';
+const NOW = '2026-10-12T00:00:00.000Z';
+
+const convertWidgetAvailability = (
+ widgetAvailability?: FrontComponentWidgetAvailabilityManifest,
+) => {
+ const frontComponentManifest: FrontComponentManifest = {
+ universalIdentifier: FRONT_COMPONENT_UID,
+ name: 'My component',
+ sourceComponentPath: 'src/my.front-component.tsx',
+ builtComponentPath: 'src/my.front-component.mjs',
+ builtComponentChecksum: 'checksum',
+ componentName: 'MyComponent',
+ widgetAvailability,
+ };
+
+ return fromFrontComponentManifestToUniversalFlatFrontComponent({
+ frontComponentManifest,
+ applicationUniversalIdentifier: APP_UID,
+ isSettingsFrontComponent: false,
+ now: NOW,
+ }).universalWidgetAvailability;
+};
+
+describe('fromFrontComponentManifestToUniversalFlatFrontComponent', () => {
+ it('should keep a front component out of every widget picker when widgetAvailability is omitted', () => {
+ expect(convertWidgetAvailability()).toEqual([]);
+ });
+
+ it('should offer a front component on every record page', () => {
+ expect(
+ convertWidgetAvailability({
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ }),
+ ).toEqual([{ pageLayoutType: PageLayoutType.RECORD_PAGE }]);
+ });
+
+ it('should expand record page object restrictions into one entry per object', () => {
+ expect(
+ convertWidgetAvailability({
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectUniversalIdentifiers: [COMPANY_UID, PERSON_UID],
+ }),
+ ).toEqual([
+ {
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectMetadataUniversalIdentifier: COMPANY_UID,
+ },
+ {
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectMetadataUniversalIdentifier: PERSON_UID,
+ },
+ ]);
+ });
+
+ it('should offer a front component on dashboards', () => {
+ expect(
+ convertWidgetAvailability({ pageLayoutType: PageLayoutType.DASHBOARD }),
+ ).toEqual([{ pageLayoutType: PageLayoutType.DASHBOARD }]);
+ });
+});
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/from-front-component-manifest-to-universal-flat-front-component.util.ts b/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/from-front-component-manifest-to-universal-flat-front-component.util.ts
index c42d7f535b2..96a9dcc202d 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/from-front-component-manifest-to-universal-flat-front-component.util.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-manifest/converters/from-front-component-manifest-to-universal-flat-front-component.util.ts
@@ -1,7 +1,34 @@
-import { type FrontComponentManifest } from 'twenty-shared/application';
+import {
+ type FrontComponentManifest,
+ type FrontComponentWidgetAvailabilityManifest,
+} from 'twenty-shared/application';
+import { isDefined } from 'twenty-shared/utils';
+import { type UniversalFrontComponentWidgetAvailability } from 'src/engine/metadata-modules/flat-front-component/types/universal-front-component-widget-availability.type';
import { type UniversalFlatFrontComponent } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/universal-flat-front-component.type';
+const fromWidgetAvailabilityManifestToUniversalWidgetAvailability = (
+ widgetAvailabilityManifest?: FrontComponentWidgetAvailabilityManifest,
+): UniversalFrontComponentWidgetAvailability[] => {
+ if (!isDefined(widgetAvailabilityManifest)) {
+ return [];
+ }
+
+ if (
+ 'objectUniversalIdentifiers' in widgetAvailabilityManifest &&
+ isDefined(widgetAvailabilityManifest.objectUniversalIdentifiers)
+ ) {
+ return widgetAvailabilityManifest.objectUniversalIdentifiers.map(
+ (objectMetadataUniversalIdentifier) => ({
+ pageLayoutType: widgetAvailabilityManifest.pageLayoutType,
+ objectMetadataUniversalIdentifier,
+ }),
+ );
+ }
+
+ return [{ pageLayoutType: widgetAvailabilityManifest.pageLayoutType }];
+};
+
export const fromFrontComponentManifestToUniversalFlatFrontComponent = ({
frontComponentManifest,
applicationUniversalIdentifier,
@@ -26,6 +53,10 @@ export const fromFrontComponentManifestToUniversalFlatFrontComponent = ({
isHeadless: isSettingsFrontComponent
? false
: (frontComponentManifest.isHeadless ?? false),
+ universalWidgetAvailability:
+ fromWidgetAvailabilityManifestToUniversalWidgetAvailability(
+ frontComponentManifest.widgetAvailability,
+ ),
usesSdkClient: frontComponentManifest.usesSdkClient ?? false,
createdAt: now,
updatedAt: now,
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-manifest/services/compute-application-manifest-all-universal-flat-entity-maps.service.ts b/packages/twenty-server/src/engine/core-modules/application/application-manifest/services/compute-application-manifest-all-universal-flat-entity-maps.service.ts
index d644c0706bb..bcc0808f5c5 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-manifest/services/compute-application-manifest-all-universal-flat-entity-maps.service.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-manifest/services/compute-application-manifest-all-universal-flat-entity-maps.service.ts
@@ -228,8 +228,15 @@ export class ComputeApplicationManifestAllUniversalFlatEntityMapsService {
});
}
- const settingsFrontComponentUniversalIdentifier =
- manifest.application.settingsFrontComponent?.universalIdentifier;
+ const settingsFrontComponentUniversalIdentifiers = new Set(
+ [
+ manifest.application.settingsFrontComponent?.universalIdentifier,
+ ...(manifest.settingsMenuItems ?? []).map(
+ (settingsMenuItemManifest) =>
+ settingsMenuItemManifest.frontComponentUniversalIdentifier,
+ ),
+ ].filter(isDefined),
+ );
for (const frontComponentManifest of manifest.frontComponents) {
addUniversalFlatEntityToUniversalFlatEntityMapsThroughMutationOrThrow({
@@ -238,8 +245,9 @@ export class ComputeApplicationManifestAllUniversalFlatEntityMapsService {
frontComponentManifest,
applicationUniversalIdentifier,
isSettingsFrontComponent:
- frontComponentManifest.universalIdentifier ===
- settingsFrontComponentUniversalIdentifier,
+ settingsFrontComponentUniversalIdentifiers.has(
+ frontComponentManifest.universalIdentifier,
+ ),
now,
}),
universalFlatEntityMapsToMutate:
diff --git a/packages/twenty-server/src/engine/core-modules/application/application-manifest/utils/__tests__/reconstruct-page-layouts-manifest.util.spec.ts b/packages/twenty-server/src/engine/core-modules/application/application-manifest/utils/__tests__/reconstruct-page-layouts-manifest.util.spec.ts
index 31b0b931207..2613b8b31e5 100644
--- a/packages/twenty-server/src/engine/core-modules/application/application-manifest/utils/__tests__/reconstruct-page-layouts-manifest.util.spec.ts
+++ b/packages/twenty-server/src/engine/core-modules/application/application-manifest/utils/__tests__/reconstruct-page-layouts-manifest.util.spec.ts
@@ -174,6 +174,7 @@ const frontComponent: FlatFrontComponent = {
id: `${FRONT_COMPONENT_UID}-id`,
workspaceId: WORKSPACE_ID,
applicationId: APP_ID,
+ widgetAvailability: [],
};
const buildFlatPageLayout = ({
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/all-universal-flat-entity-properties-to-compare-and-stringify.constant.spec.ts.snap b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/all-universal-flat-entity-properties-to-compare-and-stringify.constant.spec.ts.snap
index 41199b2cd96..bc63a80e256 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/all-universal-flat-entity-properties-to-compare-and-stringify.constant.spec.ts.snap
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/__tests__/__snapshots__/all-universal-flat-entity-properties-to-compare-and-stringify.constant.spec.ts.snap
@@ -121,9 +121,12 @@ exports[`ALL_UNIVERSAL_FLAT_ENTITY_PROPERTIES_TO_COMPARE_AND_STRINGIFY should ma
"builtComponentPath",
"componentName",
"isHeadless",
+ "universalWidgetAvailability",
"usesSdkClient",
],
- "propertiesToStringify": [],
+ "propertiesToStringify": [
+ "universalWidgetAvailability",
+ ],
},
"index": {
"propertiesToCompare": [
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant.ts b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant.ts
index 29e583bdb19..d98fb6bed60 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-entity-properties-configuration-by-metadata-name.constant.ts
@@ -1778,6 +1778,11 @@ export const ALL_ENTITY_PROPERTIES_CONFIGURATION_BY_METADATA_NAME = {
toStringify: false,
universalProperty: undefined,
},
+ widgetAvailability: {
+ toCompare: true,
+ toStringify: true,
+ universalProperty: 'universalWidgetAvailability',
+ },
usesSdkClient: {
toCompare: true,
toStringify: false,
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-metadata-required-metadata-for-validation.constant.ts b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-metadata-required-metadata-for-validation.constant.ts
index ac4c28cf3ba..ed9c49ac37f 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-metadata-required-metadata-for-validation.constant.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-metadata-required-metadata-for-validation.constant.ts
@@ -116,7 +116,9 @@ export const ALL_METADATA_REQUIRED_METADATA_FOR_VALIDATION = {
role: true,
objectMetadata: true,
},
- frontComponent: {},
+ frontComponent: {
+ objectMetadata: true,
+ },
webhook: {},
applicationVariable: {},
connectionProvider: {},
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-metadata-serialized-relation.constant.ts b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-metadata-serialized-relation.constant.ts
index b04d4bc7f1a..b1a06b8cdc5 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-metadata-serialized-relation.constant.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-entity/constant/all-metadata-serialized-relation.constant.ts
@@ -49,7 +49,9 @@ export const ALL_METADATA_SERIALIZED_RELATION = {
rowLevelPermissionPredicateGroup: {},
viewFilterGroup: {},
viewSort: {},
- frontComponent: {},
+ frontComponent: {
+ objectMetadata: true,
+ },
webhook: {},
applicationVariable: {},
connectionProvider: {},
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-front-component/services/workspace-flat-front-component-map-cache.service.ts b/packages/twenty-server/src/engine/metadata-modules/flat-front-component/services/workspace-flat-front-component-map-cache.service.ts
index 66851d5ddfe..f0dced424a8 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-front-component/services/workspace-flat-front-component-map-cache.service.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-front-component/services/workspace-flat-front-component-map-cache.service.ts
@@ -13,6 +13,7 @@ import { addFlatEntityToFlatEntityMapsThroughMutationOrThrow } from 'src/engine/
const FLAT_FRONT_COMPONENT_ROWS_REQUIREMENT = {
frontComponent: true,
application: ['id', 'universalIdentifier'],
+ objectMetadata: ['id', 'universalIdentifier'],
} as const;
@Injectable()
@@ -25,10 +26,17 @@ export class WorkspaceFlatFrontComponentMapCacheService extends MetadataFlatEnti
}: WorkspaceCacheProviderContext<
typeof FLAT_FRONT_COMPONENT_ROWS_REQUIREMENT
>): FlatFrontComponentMaps {
- const { frontComponent: frontComponents, application: applications } = rows;
+ const {
+ frontComponent: frontComponents,
+ application: applications,
+ objectMetadata: objectMetadatas,
+ } = rows;
const applicationIdToUniversalIdentifierMap =
createIdToUniversalIdentifierMap(applications);
+ const objectMetadataUniversalIdentifierById = Object.fromEntries(
+ createIdToUniversalIdentifierMap(objectMetadatas),
+ );
const flatFrontComponentMaps = createEmptyFlatEntityMaps();
@@ -36,6 +44,7 @@ export class WorkspaceFlatFrontComponentMapCacheService extends MetadataFlatEnti
const flatFrontComponent = fromFrontComponentEntityToFlatFrontComponent({
entity: frontComponentEntity,
applicationIdToUniversalIdentifierMap,
+ objectMetadataUniversalIdentifierById,
});
addFlatEntityToFlatEntityMapsThroughMutationOrThrow({
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-front-component/types/universal-front-component-widget-availability.type.ts b/packages/twenty-server/src/engine/metadata-modules/flat-front-component/types/universal-front-component-widget-availability.type.ts
new file mode 100644
index 00000000000..45badcfb186
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-front-component/types/universal-front-component-widget-availability.type.ts
@@ -0,0 +1,6 @@
+import { type FormatRecordSerializedRelationProperties } from 'twenty-shared/types';
+
+import { type FrontComponentWidgetAvailability } from 'src/engine/metadata-modules/front-component/entities/front-component.entity';
+
+export type UniversalFrontComponentWidgetAvailability =
+ FormatRecordSerializedRelationProperties<FrontComponentWidgetAvailability>;
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-front-component/utils/__tests__/from-front-component-entity-to-flat-front-component.util.spec.ts b/packages/twenty-server/src/engine/metadata-modules/flat-front-component/utils/__tests__/from-front-component-entity-to-flat-front-component.util.spec.ts
new file mode 100644
index 00000000000..3a07109478e
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-front-component/utils/__tests__/from-front-component-entity-to-flat-front-component.util.spec.ts
@@ -0,0 +1,71 @@
+import { PageLayoutType } from 'twenty-shared/types';
+
+import { fromFrontComponentEntityToFlatFrontComponent } from 'src/engine/metadata-modules/flat-front-component/utils/from-front-component-entity-to-flat-front-component.util';
+import { FrontComponentEntity } from 'src/engine/metadata-modules/front-component/entities/front-component.entity';
+
+const APPLICATION_ID = '00000000-0000-4000-8000-000000000001';
+const APPLICATION_UNIVERSAL_IDENTIFIER = '20202020-0000-4000-8000-000000000001';
+const COMPANY_OBJECT_METADATA_ID = '00000000-0000-4000-8000-000000000002';
+const COMPANY_UNIVERSAL_IDENTIFIER = '20202020-0000-4000-8000-000000000002';
+
+const buildFrontComponentEntity = (
+ overrides: Partial<FrontComponentEntity> = {},
+): FrontComponentEntity =>
+ Object.assign(new FrontComponentEntity(), {
+ id: '00000000-0000-4000-8000-000000000003',
+ universalIdentifier: '20202020-0000-4000-8000-000000000003',
+ workspaceId: '00000000-0000-4000-8000-000000000004',
+ applicationId: APPLICATION_ID,
+ name: 'Company insights',
+ description: null,
+ sourceComponentPath: 'src/company-insights.tsx',
+ builtComponentPath: 'dist/company-insights.mjs',
+ componentName: 'CompanyInsights',
+ builtComponentChecksum: 'checksum',
+ isHeadless: false,
+ usesSdkClient: false,
+ createdAt: new Date('2026-01-01T00:00:00.000Z'),
+ updatedAt: new Date('2026-01-01T00:00:00.000Z'),
+ ...overrides,
+ });
+
+const convert = (entity: FrontComponentEntity) =>
+ fromFrontComponentEntityToFlatFrontComponent({
+ entity,
+ applicationIdToUniversalIdentifierMap: new Map([
+ [APPLICATION_ID, APPLICATION_UNIVERSAL_IDENTIFIER],
+ ]),
+ objectMetadataUniversalIdentifierById: {
+ [COMPANY_OBJECT_METADATA_ID]: COMPANY_UNIVERSAL_IDENTIFIER,
+ },
+ });
+
+describe('fromFrontComponentEntityToFlatFrontComponent', () => {
+ it('resolves object restrictions to object universal identifiers', () => {
+ const flatFrontComponent = convert(
+ buildFrontComponentEntity({
+ widgetAvailability: [
+ {
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectMetadataId: COMPANY_OBJECT_METADATA_ID,
+ },
+ { pageLayoutType: PageLayoutType.DASHBOARD },
+ ],
+ }),
+ );
+
+ expect(flatFrontComponent.universalWidgetAvailability).toEqual([
+ {
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectMetadataUniversalIdentifier: COMPANY_UNIVERSAL_IDENTIFIER,
+ },
+ { pageLayoutType: PageLayoutType.DASHBOARD },
+ ]);
+ });
+
+ it('falls back to the column default before its upgrade step has run', () => {
+ const flatFrontComponent = convert(buildFrontComponentEntity());
+
+ expect(flatFrontComponent.universalWidgetAvailability).toEqual([]);
+ });
+});
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-front-component/utils/from-create-front-component-input-to-flat-front-component-to-create.util.ts b/packages/twenty-server/src/engine/metadata-modules/flat-front-component/utils/from-create-front-component-input-to-flat-front-component-to-create.util.ts
index 9778d81269d..aecc23b9c9e 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-front-component/utils/from-create-front-component-input-to-flat-front-component-to-create.util.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-front-component/utils/from-create-front-component-input-to-flat-front-component-to-create.util.ts
@@ -34,6 +34,8 @@ export const fromCreateFrontComponentInputToFlatFrontComponentToCreate = ({
componentName: createFrontComponentInput.componentName,
builtComponentChecksum: createFrontComponentInput.builtComponentChecksum,
isHeadless: createFrontComponentInput.isHeadless ?? false,
+ widgetAvailability: [],
+ universalWidgetAvailability: [],
usesSdkClient: false,
workspaceId,
createdAt: now,
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-front-component/utils/from-flat-front-component-to-front-component-dto.util.ts b/packages/twenty-server/src/engine/metadata-modules/flat-front-component/utils/from-flat-front-component-to-front-component-dto.util.ts
index 1c7d3d8dcbf..54fcebf7495 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-front-component/utils/from-flat-front-component-to-front-component-dto.util.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-front-component/utils/from-flat-front-component-to-front-component-dto.util.ts
@@ -21,6 +21,7 @@ export const fromFlatFrontComponentToFrontComponentDto = (
workspaceId: flatFrontComponent.workspaceId,
applicationId: flatFrontComponent.applicationId,
isHeadless: flatFrontComponent.isHeadless,
+ widgetAvailability: flatFrontComponent.widgetAvailability,
usesSdkClient: flatFrontComponent.usesSdkClient,
createdAt: new Date(flatFrontComponent.createdAt),
updatedAt: new Date(flatFrontComponent.updatedAt),
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-front-component/utils/from-front-component-entity-to-flat-front-component.util.ts b/packages/twenty-server/src/engine/metadata-modules/flat-front-component/utils/from-front-component-entity-to-flat-front-component.util.ts
index f59906ac396..9c9ccb668e2 100644
--- a/packages/twenty-server/src/engine/metadata-modules/flat-front-component/utils/from-front-component-entity-to-flat-front-component.util.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-front-component/utils/from-front-component-entity-to-flat-front-component.util.ts
@@ -1,12 +1,23 @@
+import { isDefined } from 'twenty-shared/utils';
+
import { fromEntityToScalarEntity } from 'src/engine/metadata-modules/flat-entity/utils/from-entity-to-scalar-entity.util';
import { type FlatFrontComponent } from 'src/engine/metadata-modules/flat-front-component/types/flat-front-component.type';
+import { fromFrontComponentWidgetAvailabilityToUniversalWidgetAvailability } from 'src/engine/metadata-modules/flat-front-component/utils/from-front-component-widget-availability-to-universal-widget-availability.util';
import { type FromEntityToFlatEntityArgs } from 'src/engine/workspace-cache/types/from-entity-to-flat-entity-args.type';
import { resolveManyToOneRelationIdsToUniversalIdentifiers } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/resolve-many-to-one-relation-ids-to-universal-identifiers.util';
+type FromFrontComponentEntityToFlatFrontComponentArgs =
+ FromEntityToFlatEntityArgs<'frontComponent'> & {
+ objectMetadataUniversalIdentifierById: Partial<Record<string, string>>;
+ };
+
export const fromFrontComponentEntityToFlatFrontComponent = (
- args: FromEntityToFlatEntityArgs<'frontComponent'>,
+ args: FromFrontComponentEntityToFlatFrontComponentArgs,
): FlatFrontComponent => {
- const { entity: frontComponentEntity } = args;
+ const {
+ entity: frontComponentEntity,
+ objectMetadataUniversalIdentifierById,
+ } = args;
const frontComponentScalarEntity = fromEntityToScalarEntity({
metadataName: 'frontComponent',
@@ -19,8 +30,18 @@ export const fromFrontComponentEntityToFlatFrontComponent = (
...args,
});
+ const universalWidgetAvailability = isDefined(
+ frontComponentEntity.widgetAvailability,
+ )
+ ? fromFrontComponentWidgetAvailabilityToUniversalWidgetAvailability({
+ widgetAvailability: frontComponentEntity.widgetAvailability,
+ objectMetadataUniversalIdentifierById,
+ })
+ : [];
+
return {
...frontComponentScalarEntity,
...relationUniversalIdentifiers,
+ universalWidgetAvailability,
};
};
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-front-component/utils/from-front-component-widget-availability-to-universal-widget-availability.util.ts b/packages/twenty-server/src/engine/metadata-modules/flat-front-component/utils/from-front-component-widget-availability-to-universal-widget-availability.util.ts
new file mode 100644
index 00000000000..73ea772fbdc
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-front-component/utils/from-front-component-widget-availability-to-universal-widget-availability.util.ts
@@ -0,0 +1,22 @@
+import { isDefined } from 'twenty-shared/utils';
+
+import { type UniversalFrontComponentWidgetAvailability } from 'src/engine/metadata-modules/flat-front-component/types/universal-front-component-widget-availability.type';
+import { type FrontComponentWidgetAvailability } from 'src/engine/metadata-modules/front-component/entities/front-component.entity';
+
+export const fromFrontComponentWidgetAvailabilityToUniversalWidgetAvailability =
+ ({
+ widgetAvailability,
+ objectMetadataUniversalIdentifierById,
+ }: {
+ widgetAvailability: FrontComponentWidgetAvailability[];
+ objectMetadataUniversalIdentifierById: Partial<Record<string, string>>;
+ }): UniversalFrontComponentWidgetAvailability[] =>
+ widgetAvailability.map(({ objectMetadataId, ...entry }) =>
+ isDefined(objectMetadataId)
+ ? {
+ ...entry,
+ objectMetadataUniversalIdentifier:
+ objectMetadataUniversalIdentifierById[objectMetadataId] ?? null,
+ }
+ : entry,
+ );
diff --git a/packages/twenty-server/src/engine/metadata-modules/flat-front-component/validators/utils/validate-front-component-universal-widget-availability.util.ts b/packages/twenty-server/src/engine/metadata-modules/flat-front-component/validators/utils/validate-front-component-universal-widget-availability.util.ts
new file mode 100644
index 00000000000..9ba8f085696
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/flat-front-component/validators/utils/validate-front-component-universal-widget-availability.util.ts
@@ -0,0 +1,72 @@
+import { msg, t } from '@lingui/core/macro';
+import {
+ FRONT_COMPONENT_WIDGET_PAGE_LAYOUT_TYPES,
+ isFrontComponentWidgetPageLayoutType,
+} from 'twenty-shared/application';
+import { PageLayoutType } from 'twenty-shared/types';
+import { isDefined } from 'twenty-shared/utils';
+
+import { findFlatEntityByUniversalIdentifier } from 'src/engine/metadata-modules/flat-entity/utils/find-flat-entity-by-universal-identifier.util';
+import { type UniversalFrontComponentWidgetAvailability } from 'src/engine/metadata-modules/flat-front-component/types/universal-front-component-widget-availability.type';
+import { FrontComponentExceptionCode } from 'src/engine/metadata-modules/front-component/front-component.exception';
+import { type FlatEntityValidationError } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/types/failed-flat-entity-validation.type';
+import { type MetadataUniversalFlatEntityMaps } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/metadata-universal-flat-entity-maps.type';
+
+export const validateFrontComponentUniversalWidgetAvailability = ({
+ universalWidgetAvailability,
+ flatObjectMetadataMaps,
+}: {
+ universalWidgetAvailability: UniversalFrontComponentWidgetAvailability[];
+ flatObjectMetadataMaps: MetadataUniversalFlatEntityMaps<'objectMetadata'>;
+}): FlatEntityValidationError[] =>
+ universalWidgetAvailability.flatMap<FlatEntityValidationError>(
+ ({ pageLayoutType, objectMetadataUniversalIdentifier }) => {
+ if (!isFrontComponentWidgetPageLayoutType(pageLayoutType)) {
+ const supportedPageLayoutTypes =
+ FRONT_COMPONENT_WIDGET_PAGE_LAYOUT_TYPES.join(', ');
+ const receivedPageLayoutType = String(pageLayoutType);
+
+ return [
+ {
+ code: FrontComponentExceptionCode.INVALID_FRONT_COMPONENT_INPUT,
+ message: t`Front component widget availability has an unsupported page layout type: supported values are ${supportedPageLayoutTypes}, received ${receivedPageLayoutType}`,
+ userFriendlyMessage: msg`Front component widget availability has an unsupported page layout type: supported values are ${supportedPageLayoutTypes}, received ${receivedPageLayoutType}`,
+ value: pageLayoutType,
+ },
+ ];
+ }
+
+ if (!isDefined(objectMetadataUniversalIdentifier)) {
+ return [];
+ }
+
+ if (pageLayoutType !== PageLayoutType.RECORD_PAGE) {
+ return [
+ {
+ code: FrontComponentExceptionCode.INVALID_FRONT_COMPONENT_INPUT,
+ message: t`Front component widget availability can only restrict record pages to objects`,
+ userFriendlyMessage: msg`Front component widget availability can only restrict record pages to objects`,
+ value: pageLayoutType,
+ },
+ ];
+ }
+
+ const flatObjectMetadata = findFlatEntityByUniversalIdentifier({
+ flatEntityMaps: flatObjectMetadataMaps,
+ universalIdentifier: objectMetadataUniversalIdentifier,
+ });
+
+ if (!isDefined(flatObjectMetadata)) {
+ return [
+ {
+ code: FrontComponentExceptionCode.INVALID_FRONT_COMPONENT_INPUT,
+ message: t`Front component widget availability references an unknown object`,
+ userFriendlyMessage: msg`Front component widget availability references an unknown object`,
+ value: objectMetadataUniversalIdentifier,
+ },
+ ];
+ }
+
+ return [];
+ },
+ );
diff --git a/packages/twenty-server/src/engine/metadata-modules/front-component/dtos/front-component-widget-availability.dto.ts b/packages/twenty-server/src/engine/metadata-modules/front-component/dtos/front-component-widget-availability.dto.ts
new file mode 100644
index 00000000000..e25af047743
--- /dev/null
+++ b/packages/twenty-server/src/engine/metadata-modules/front-component/dtos/front-component-widget-availability.dto.ts
@@ -0,0 +1,22 @@
+import { Field, ObjectType } from '@nestjs/graphql';
+
+import { IsIn, IsOptional, IsUUID } from 'class-validator';
+import {
+ FRONT_COMPONENT_WIDGET_PAGE_LAYOUT_TYPES,
+ type FrontComponentWidgetPageLayoutType,
+} from 'twenty-shared/application';
+import { PageLayoutType } from 'twenty-shared/types';
+
+import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';
+
+@ObjectType('FrontComponentWidgetAvailability')
+export class FrontComponentWidgetAvailabilityDTO {
+ @IsIn(FRONT_COMPONENT_WIDGET_PAGE_LAYOUT_TYPES)
+ @Field(() => PageLayoutType)
+ pageLayoutType: FrontComponentWidgetPageLayoutType;
+
+ @IsUUID()
+ @IsOptional()
+ @Field(() => UUIDScalarType, { nullable: true })
+ objectMetadataId?: string;
+}
diff --git a/packages/twenty-server/src/engine/metadata-modules/front-component/dtos/front-component.dto.ts b/packages/twenty-server/src/engine/metadata-modules/front-component/dtos/front-component.dto.ts
index 0aa5c8031a1..ffadf062425 100644
--- a/packages/twenty-server/src/engine/metadata-modules/front-component/dtos/front-component.dto.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/front-component/dtos/front-component.dto.ts
@@ -1,6 +1,7 @@
import { Field, HideField, ObjectType } from '@nestjs/graphql';
import {
+ IsArray,
IsBoolean,
IsDateString,
IsNotEmpty,
@@ -12,6 +13,7 @@ import { GraphQLJSON } from 'graphql-type-json';
import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';
import { ApplicationTokenPairDTO } from 'src/engine/core-modules/application/application-oauth/dtos/application-token-pair.dto';
+import { FrontComponentWidgetAvailabilityDTO } from 'src/engine/metadata-modules/front-component/dtos/front-component-widget-availability.dto';
@ObjectType('FrontComponent')
export class FrontComponentDTO {
@@ -69,6 +71,10 @@ export class FrontComponentDTO {
@Field()
isHeadless: boolean;
+ @IsArray()
+ @Field(() => [FrontComponentWidgetAvailabilityDTO])
+ widgetAvailability: FrontComponentWidgetAvailabilityDTO[];
+
@IsBoolean()
@Field()
usesSdkClient: boolean;
diff --git a/packages/twenty-server/src/engine/metadata-modules/front-component/entities/front-component.entity.ts b/packages/twenty-server/src/engine/metadata-modules/front-component/entities/front-component.entity.ts
index 9385e63198a..e17efe484b7 100644
--- a/packages/twenty-server/src/engine/metadata-modules/front-component/entities/front-component.entity.ts
+++ b/packages/twenty-server/src/engine/metadata-modules/front-component/entities/front-component.entity.ts
@@ -6,7 +6,18 @@ import {
UpdateDateColumn,
} from 'typeorm';
+import { type FrontComponentWidgetPageLayoutType } from 'twenty-shared/application';
+import { type SerializedRelation } from 'twenty-shared/types';
+
+import { ADD_WIDGET_AVAILABILITY_TO_FRONT_COMPONENT_UPGRADE_COMMAND_NAME } from 'src/database/commands/upgrade-version-command/2-47/add-widget-availability-to-front-component-upgrade-command-name.constant';
+import { WasIntroducedInUpgrade } from 'src/engine/core-modules/upgrade/decorators/was-introduced-in-upgrade.decorator';
import { SyncableEntity } from 'src/engine/workspace-manager/types/syncable-entity.interface';
+import { type JsonbProperty } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/jsonb-property.type';
+
+export type FrontComponentWidgetAvailability = {
+ pageLayoutType: FrontComponentWidgetPageLayoutType;
+ objectMetadataId?: SerializedRelation;
+};
@Entity('frontComponent')
export class FrontComponentEntity
@@ -37,6 +48,17 @@ export class FrontComponentEntity
@Column({ default: false })
isHeadless: boolean;
+ @WasIntroducedInUpgrade({
+ upgradeCommandName:
+ ADD_WIDGET_AVAILABILITY_TO_FRONT_COMPONENT_UPGRADE_COMMAND_NAME,
+ })
+ @Column({
+ type: 'jsonb',
+ nullable: false,
+ default: [],
+ })
+ widgetAvailability: JsonbProperty<FrontComponentWidgetAvailability[]>;
+
@Column({ default: false })
usesSdkClient: boolean;
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/constants/all-jsonb-properties-with-serialized-relation-by-metadata-name.constant.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/constants/all-jsonb-properties-with-serialized-relation-by-metadata-name.constant.ts
index 5ee8c6dc0bb..cd1b704715d 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/constants/all-jsonb-properties-with-serialized-relation-by-metadata-name.constant.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/universal-flat-entity/constants/all-jsonb-properties-with-serialized-relation-by-metadata-name.constant.ts
@@ -43,7 +43,9 @@ export const ALL_JSONB_PROPERTIES_WITH_SERIALIZED_RELATION_BY_METADATA_NAME = {
permissionFlag: {},
objectPermission: {},
fieldPermission: {},
- frontComponent: {},
+ frontComponent: {
+ widgetAvailability: 'widgetAvailability',
+ },
applicationVariable: {},
connectionProvider: {},
timelineActivityType: {},
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-front-component-validator.service.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-front-component-validator.service.ts
index 67122753640..ba265d37d5b 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-front-component-validator.service.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-builder/validators/services/flat-front-component-validator.service.ts
@@ -8,6 +8,7 @@ import { isDefined } from 'twenty-shared/utils';
import { validateFilePath } from 'src/engine/core-modules/file-storage/utils/validate-file-path.util';
import { findFlatEntityByUniversalIdentifier } from 'src/engine/metadata-modules/flat-entity/utils/find-flat-entity-by-universal-identifier.util';
+import { validateFrontComponentUniversalWidgetAvailability } from 'src/engine/metadata-modules/flat-front-component/validators/utils/validate-front-component-universal-widget-availability.util';
import { FrontComponentExceptionCode } from 'src/engine/metadata-modules/front-component/front-component.exception';
import { type FailedFlatEntityValidation } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/types/failed-flat-entity-validation.type';
import { getEmptyFlatEntityValidationError } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-builder/builders/utils/get-flat-entity-validation-error.util';
@@ -18,6 +19,9 @@ import { type UniversalFlatEntityValidationArgs } from 'src/engine/workspace-man
export class FlatFrontComponentValidatorService {
public validateFlatFrontComponentCreation({
flatEntityToValidate: flatFrontComponent,
+ optimisticFlatEntityMapsAndRelatedFlatEntityMaps: {
+ flatObjectMetadataMaps,
+ },
}: UniversalFlatEntityValidationArgs<
typeof ALL_METADATA_NAME.frontComponent
>): FailedFlatEntityValidation<'frontComponent', 'create'> {
@@ -68,6 +72,14 @@ export class FlatFrontComponentValidatorService {
}
}
+ validationResult.errors.push(
+ ...validateFrontComponentUniversalWidgetAvailability({
+ universalWidgetAvailability:
+ flatFrontComponent.universalWidgetAvailability,
+ flatObjectMetadataMaps,
+ }),
+ );
+
return validationResult;
}
@@ -111,6 +123,7 @@ export class FlatFrontComponentValidatorService {
flatEntityUpdate,
optimisticFlatEntityMapsAndRelatedFlatEntityMaps: {
flatFrontComponentMaps: optimisticFlatFrontComponentMaps,
+ flatObjectMetadataMaps,
},
}: FlatEntityUpdateValidationArgs<
typeof ALL_METADATA_NAME.frontComponent
@@ -168,6 +181,16 @@ export class FlatFrontComponentValidatorService {
}
}
+ if (isDefined(flatEntityUpdate.universalWidgetAvailability)) {
+ validationResult.errors.push(
+ ...validateFrontComponentUniversalWidgetAvailability({
+ universalWidgetAvailability:
+ flatEntityUpdate.universalWidgetAvailability,
+ flatObjectMetadataMaps,
+ }),
+ );
+ }
+
return validationResult;
}
}
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/front-component/services/create-front-component-action-handler.service.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/front-component/services/create-front-component-action-handler.service.ts
index f1b5b0cd547..cabf4638250 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/front-component/services/create-front-component-action-handler.service.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/front-component/services/create-front-component-action-handler.service.ts
@@ -12,6 +12,7 @@ import {
FrontComponentExceptionCode,
} from 'src/engine/metadata-modules/front-component/front-component.exception';
import { getUniversalFlatEntityEmptyForeignKeyAggregators } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/reset-universal-flat-entity-foreign-key-aggregators.util';
+import { fromUniversalWidgetAvailabilityToFrontComponentWidgetAvailability } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/front-component/services/utils/from-universal-widget-availability-to-front-component-widget-availability.util';
import {
FlatCreateFrontComponentAction,
UniversalCreateFrontComponentAction,
@@ -32,6 +33,7 @@ export class CreateFrontComponentActionHandlerService extends WorkspaceMigration
override async transpileUniversalActionToFlatAction({
action,
+ allFlatEntityMaps,
flatApplication,
workspaceId,
}: WorkspaceMigrationActionRunnerArgs<UniversalCreateFrontComponentAction>): Promise<FlatCreateFrontComponentAction> {
@@ -44,6 +46,12 @@ export class CreateFrontComponentActionHandlerService extends WorkspaceMigration
...action,
flatEntity: {
...action.flatEntity,
+ widgetAvailability:
+ fromUniversalWidgetAvailabilityToFrontComponentWidgetAvailability({
+ universalWidgetAvailability:
+ action.flatEntity.universalWidgetAvailability,
+ flatObjectMetadataMaps: allFlatEntityMaps.flatObjectMetadataMaps,
+ }),
applicationId: flatApplication.id,
id: action.id ?? v4(),
workspaceId,
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/front-component/services/update-front-component-action-handler.service.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/front-component/services/update-front-component-action-handler.service.ts
index 1501d35bfa0..d7828f5e1e2 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/front-component/services/update-front-component-action-handler.service.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/front-component/services/update-front-component-action-handler.service.ts
@@ -1,10 +1,13 @@
import { Injectable } from '@nestjs/common';
+import { isDefined } from 'twenty-shared/utils';
+
import { WorkspaceMigrationRunnerActionHandler } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/interfaces/workspace-migration-runner-action-handler-service.interface';
import { findFlatEntityByUniversalIdentifierOrThrow } from 'src/engine/metadata-modules/flat-entity/utils/find-flat-entity-by-universal-identifier-or-throw.util';
import { FrontComponentEntity } from 'src/engine/metadata-modules/front-component/entities/front-component.entity';
import { resolveUniversalUpdateRelationIdentifiersToIds } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/utils/resolve-universal-update-relation-identifiers-to-ids.util';
+import { fromUniversalWidgetAvailabilityToFrontComponentWidgetAvailability } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/front-component/services/utils/from-universal-widget-availability-to-front-component-widget-availability.util';
import {
FlatUpdateFrontComponentAction,
UniversalUpdateFrontComponentAction,
@@ -29,11 +32,23 @@ export class UpdateFrontComponentActionHandlerService extends WorkspaceMigration
universalIdentifier: action.universalIdentifier,
});
- const update = resolveUniversalUpdateRelationIdentifiersToIds({
- metadataName: 'frontComponent',
- universalUpdate: action.update,
- allFlatEntityMaps,
- });
+ const { universalWidgetAvailability, ...updateWithResolvedForeignKeys } =
+ resolveUniversalUpdateRelationIdentifiersToIds({
+ metadataName: 'frontComponent',
+ universalUpdate: action.update,
+ allFlatEntityMaps,
+ });
+
+ const update = isDefined(universalWidgetAvailability)
+ ? {
+ ...updateWithResolvedForeignKeys,
+ widgetAvailability:
+ fromUniversalWidgetAvailabilityToFrontComponentWidgetAvailability({
+ universalWidgetAvailability,
+ flatObjectMetadataMaps: allFlatEntityMaps.flatObjectMetadataMaps,
+ }),
+ }
+ : updateWithResolvedForeignKeys;
return {
type: 'update',
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/front-component/services/utils/__tests__/from-universal-widget-availability-to-front-component-widget-availability.util.spec.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/front-component/services/utils/__tests__/from-universal-widget-availability-to-front-component-widget-availability.util.spec.ts
new file mode 100644
index 00000000000..eb4389bcbe5
--- /dev/null
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/front-component/services/utils/__tests__/from-universal-widget-availability-to-front-component-widget-availability.util.spec.ts
@@ -0,0 +1,90 @@
+import { PageLayoutType } from 'twenty-shared/types';
+
+import { type FlatEntityMaps } from 'src/engine/metadata-modules/flat-entity/types/flat-entity-maps.type';
+import { getFlatObjectMetadataMock } from 'src/engine/metadata-modules/flat-object-metadata/__mocks__/get-flat-object-metadata.mock';
+import { type FlatObjectMetadata } from 'src/engine/metadata-modules/flat-object-metadata/types/flat-object-metadata.type';
+import { fromUniversalWidgetAvailabilityToFrontComponentWidgetAvailability } from 'src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/front-component/services/utils/from-universal-widget-availability-to-front-component-widget-availability.util';
+
+const COMPANY_OBJECT_METADATA_ID = '00000000-0000-4000-8000-000000000001';
+const COMPANY_UNIVERSAL_IDENTIFIER = '20202020-0000-4000-8000-000000000001';
+
+const companyFlatObjectMetadata = getFlatObjectMetadataMock({
+ id: COMPANY_OBJECT_METADATA_ID,
+ universalIdentifier: COMPANY_UNIVERSAL_IDENTIFIER,
+});
+
+const flatObjectMetadataMaps: FlatEntityMaps<FlatObjectMetadata> = {
+ byUniversalIdentifier: {
+ [COMPANY_UNIVERSAL_IDENTIFIER]: companyFlatObjectMetadata,
+ },
+ universalIdentifierById: {
+ [COMPANY_OBJECT_METADATA_ID]: COMPANY_UNIVERSAL_IDENTIFIER,
+ },
+ universalIdentifiersByApplicationId: {},
+};
+
+describe('fromUniversalWidgetAvailabilityToFrontComponentWidgetAvailability', () => {
+ it('keeps entries offered on every object', () => {
+ expect(
+ fromUniversalWidgetAvailabilityToFrontComponentWidgetAvailability({
+ universalWidgetAvailability: [
+ { pageLayoutType: PageLayoutType.RECORD_PAGE },
+ { pageLayoutType: PageLayoutType.DASHBOARD },
+ ],
+ flatObjectMetadataMaps,
+ }),
+ ).toEqual([
+ { pageLayoutType: PageLayoutType.RECORD_PAGE },
+ { pageLayoutType: PageLayoutType.DASHBOARD },
+ ]);
+ });
+
+ it('resolves object restrictions to object metadata ids', () => {
+ expect(
+ fromUniversalWidgetAvailabilityToFrontComponentWidgetAvailability({
+ universalWidgetAvailability: [
+ {
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectMetadataUniversalIdentifier: COMPANY_UNIVERSAL_IDENTIFIER,
+ },
+ ],
+ flatObjectMetadataMaps,
+ }),
+ ).toEqual([
+ {
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectMetadataId: COMPANY_OBJECT_METADATA_ID,
+ },
+ ]);
+ });
+
+ it('drops entries restricted to an object that no longer exists', () => {
+ expect(
+ fromUniversalWidgetAvailabilityToFrontComponentWidgetAvailability({
+ universalWidgetAvailability: [
+ {
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectMetadataUniversalIdentifier: null,
+ },
+ { pageLayoutType: PageLayoutType.DASHBOARD },
+ ],
+ flatObjectMetadataMaps,
+ }),
+ ).toEqual([{ pageLayoutType: PageLayoutType.DASHBOARD }]);
+ });
+
+ it('throws on an object restriction that cannot be resolved', () => {
+ expect(() =>
+ fromUniversalWidgetAvailabilityToFrontComponentWidgetAvailability({
+ universalWidgetAvailability: [
+ {
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectMetadataUniversalIdentifier:
+ '20202020-0000-4000-8000-000000000099',
+ },
+ ],
+ flatObjectMetadataMaps,
+ }),
+ ).toThrow();
+ });
+});
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/front-component/services/utils/from-universal-widget-availability-to-front-component-widget-availability.util.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/front-component/services/utils/from-universal-widget-availability-to-front-component-widget-availability.util.ts
new file mode 100644
index 00000000000..534d76155d1
--- /dev/null
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/workspace-migration-runner/action-handlers/front-component/services/utils/from-universal-widget-availability-to-front-component-widget-availability.util.ts
@@ -0,0 +1,33 @@
+import { type FlatEntityMaps } from 'src/engine/metadata-modules/flat-entity/types/flat-entity-maps.type';
+import { findFlatEntityByUniversalIdentifierOrThrow } from 'src/engine/metadata-modules/flat-entity/utils/find-flat-entity-by-universal-identifier-or-throw.util';
+import { type UniversalFrontComponentWidgetAvailability } from 'src/engine/metadata-modules/flat-front-component/types/universal-front-component-widget-availability.type';
+import { type FlatObjectMetadata } from 'src/engine/metadata-modules/flat-object-metadata/types/flat-object-metadata.type';
+import { type FrontComponentWidgetAvailability } from 'src/engine/metadata-modules/front-component/entities/front-component.entity';
+
+export const fromUniversalWidgetAvailabilityToFrontComponentWidgetAvailability =
+ ({
+ universalWidgetAvailability,
+ flatObjectMetadataMaps,
+ }: {
+ universalWidgetAvailability: UniversalFrontComponentWidgetAvailability[];
+ flatObjectMetadataMaps: FlatEntityMaps<FlatObjectMetadata>;
+ }): FrontComponentWidgetAvailability[] =>
+ universalWidgetAvailability.flatMap(
+ ({ objectMetadataUniversalIdentifier, ...entry }) => {
+ if (objectMetadataUniversalIdentifier === undefined) {
+ return [entry];
+ }
+
+ if (objectMetadataUniversalIdentifier === null) {
+ return [];
+ }
+
+ const flatObjectMetadata =
+ findFlatEntityByUniversalIdentifierOrThrow<FlatObjectMetadata>({
+ flatEntityMaps: flatObjectMetadataMaps,
+ universalIdentifier: objectMetadataUniversalIdentifier,
+ });
+
+ return [{ ...entry, objectMetadataId: flatObjectMetadata.id }];
+ },
+ );
diff --git a/packages/twenty-server/test/integration/metadata/suites/application/manifest-sync-front-component-widget-availability.integration-spec.ts b/packages/twenty-server/test/integration/metadata/suites/application/manifest-sync-front-component-widget-availability.integration-spec.ts
new file mode 100644
index 00000000000..c0c06089206
--- /dev/null
+++ b/packages/twenty-server/test/integration/metadata/suites/application/manifest-sync-front-component-widget-availability.integration-spec.ts
@@ -0,0 +1,270 @@
+import { buildBaseManifest } from 'test/integration/metadata/suites/application/utils/build-base-manifest.util';
+import { cleanupApplicationAndAppRegistration } from 'test/integration/metadata/suites/application/utils/cleanup-application-and-app-registration.util';
+import { setupApplicationForSync } from 'test/integration/metadata/suites/application/utils/setup-application-for-sync.util';
+import { syncApplication } from 'test/integration/metadata/suites/application/utils/sync-application.util';
+import { uploadApplicationFile } from 'test/integration/metadata/suites/application/utils/upload-application-file.util';
+import { findFrontComponents } from 'test/integration/metadata/suites/front-component/utils/find-front-components.util';
+import { findManyObjectMetadataWithIndexes } from 'test/integration/metadata/suites/object-metadata/utils/find-many-object-metadata-with-indexes.util';
+import {
+ type FrontComponentManifest,
+ type FrontComponentWidgetAvailabilityManifest,
+ type Manifest,
+ type SettingsMenuItemManifest,
+} from 'twenty-shared/application';
+import { STANDARD_OBJECTS } from 'twenty-shared/metadata';
+import { PageLayoutType } from 'twenty-shared/types';
+import { isDefined } from 'twenty-shared/utils';
+import { v4 as uuidv4 } from 'uuid';
+
+const TEST_APP_ID = uuidv4();
+const TEST_ROLE_ID = uuidv4();
+const FRONT_COMPONENT_ID = uuidv4();
+const SETTINGS_MENU_ITEM_ID = uuidv4();
+
+const COMPONENT_NAME = 'WidgetComponent';
+
+const buildManifest = ({
+ widgetAvailability,
+ isHeadless = false,
+ settingsMenuItems = [],
+}: {
+ widgetAvailability?: FrontComponentWidgetAvailabilityManifest;
+ isHeadless?: boolean;
+ settingsMenuItems?: SettingsMenuItemManifest[];
+} = {}): Manifest => {
+ const frontComponent: FrontComponentManifest = {
+ universalIdentifier: FRONT_COMPONENT_ID,
+ name: COMPONENT_NAME,
+ sourceComponentPath: `src/front-components/${COMPONENT_NAME}.tsx`,
+ builtComponentPath: `src/front-components/${COMPONENT_NAME}.mjs`,
+ builtComponentChecksum: `${COMPONENT_NAME}-checksum`,
+ componentName: COMPONENT_NAME,
+ isHeadless,
+ ...(isDefined(widgetAvailability) ? { widgetAvailability } : {}),
+ };
+
+ return buildBaseManifest({
+ appId: TEST_APP_ID,
+ roleId: TEST_ROLE_ID,
+ overrides: {
+ frontComponents: [frontComponent],
+ settingsMenuItems,
+ },
+ });
+};
+
+const findFrontComponent = async () => {
+ const { data } = await findFrontComponents({
+ gqlFields: `
+ universalIdentifier
+ isHeadless
+ widgetAvailability {
+ pageLayoutType
+ objectMetadataId
+ }
+ `,
+ expectToFail: false,
+ });
+
+ return data.frontComponents.find(
+ (frontComponent) =>
+ frontComponent.universalIdentifier === FRONT_COMPONENT_ID,
+ );
+};
+
+const findWidgetAvailability = async () =>
+ (await findFrontComponent())?.widgetAvailability;
+
+const findCompanyObjectMetadataId = async () => {
+ const objects = await findManyObjectMetadataWithIndexes({
+ expectToFail: false,
+ });
+
+ const company = objects.find(
+ (object) =>
+ object.universalIdentifier ===
+ STANDARD_OBJECTS.company.universalIdentifier,
+ );
+
+ if (!isDefined(company)) {
+ throw new Error('Standard Company object not found in workspace');
+ }
+
+ return company.id;
+};
+
+const expectSyncToBeRejected = async (manifest: Manifest) => {
+ const { errors } = await syncApplication({
+ manifest,
+ expectToFail: true,
+ });
+
+ expect(errors).toBeDefined();
+ expect(errors?.[0]?.extensions?.code).not.toBe('INTERNAL_SERVER_ERROR');
+ expect(await findWidgetAvailability()).toEqual([]);
+
+ return errors;
+};
+
+describe('Manifest sync - front component widgetAvailability', () => {
+ beforeAll(async () => {
+ await setupApplicationForSync({
+ applicationUniversalIdentifier: TEST_APP_ID,
+ name: 'Front Component Widget Availability Test Application',
+ description: 'App for testing front component widgetAvailability sync',
+ sourcePath: 'front-component-widget-availability-manifest-sync',
+ });
+
+ jest.useRealTimers();
+
+ await uploadApplicationFile({
+ applicationUniversalIdentifier: TEST_APP_ID,
+ fileFolder: 'BuiltFrontComponent',
+ filePath: `src/front-components/${COMPONENT_NAME}.mjs`,
+ fileBuffer: Buffer.from('dummy built component content'),
+ filename: `${COMPONENT_NAME}.mjs`,
+ contentType: 'application/javascript',
+ expectToFail: false,
+ });
+ }, 120000);
+
+ beforeEach(async () => {
+ await syncApplication({
+ manifest: buildManifest(),
+ expectToFail: false,
+ });
+ }, 60000);
+
+ afterAll(async () => {
+ await cleanupApplicationAndAppRegistration({
+ applicationUniversalIdentifier: TEST_APP_ID,
+ });
+ });
+
+ it('keeps a front component out of every widget picker when widgetAvailability is omitted', async () => {
+ expect(await findWidgetAvailability()).toEqual([]);
+ }, 60000);
+
+ it('offers a front component on every record page', async () => {
+ await syncApplication({
+ manifest: buildManifest({
+ widgetAvailability: { pageLayoutType: PageLayoutType.RECORD_PAGE },
+ }),
+ expectToFail: false,
+ });
+
+ expect(await findWidgetAvailability()).toEqual([
+ { pageLayoutType: PageLayoutType.RECORD_PAGE, objectMetadataId: null },
+ ]);
+ }, 60000);
+
+ it('restricts the record page widget picker to the declared objects', async () => {
+ await syncApplication({
+ manifest: buildManifest({
+ widgetAvailability: {
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectUniversalIdentifiers: [
+ STANDARD_OBJECTS.company.universalIdentifier,
+ ],
+ },
+ }),
+ expectToFail: false,
+ });
+
+ expect(await findWidgetAvailability()).toEqual([
+ {
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectMetadataId: await findCompanyObjectMetadataId(),
+ },
+ ]);
+ }, 60000);
+
+ it('offers a front component on dashboards', async () => {
+ await syncApplication({
+ manifest: buildManifest({
+ widgetAvailability: { pageLayoutType: PageLayoutType.DASHBOARD },
+ }),
+ expectToFail: false,
+ });
+
+ expect(await findWidgetAvailability()).toEqual([
+ { pageLayoutType: PageLayoutType.DASHBOARD, objectMetadataId: null },
+ ]);
+ }, 60000);
+
+ it('hides the front component again once its declaration is removed', async () => {
+ await syncApplication({
+ manifest: buildManifest({
+ widgetAvailability: { pageLayoutType: PageLayoutType.DASHBOARD },
+ }),
+ expectToFail: false,
+ });
+
+ await syncApplication({
+ manifest: buildManifest(),
+ expectToFail: false,
+ });
+
+ expect(await findWidgetAvailability()).toEqual([]);
+ }, 60000);
+
+ it('renders a front component behind a settings menu item even when declared headless', async () => {
+ await syncApplication({
+ manifest: buildManifest({
+ isHeadless: true,
+ settingsMenuItems: [
+ {
+ universalIdentifier: SETTINGS_MENU_ITEM_ID,
+ frontComponentUniversalIdentifier: FRONT_COMPONENT_ID,
+ title: 'Settings',
+ },
+ ],
+ }),
+ expectToFail: false,
+ });
+
+ expect(await findFrontComponent()).toMatchObject({
+ isHeadless: false,
+ widgetAvailability: [],
+ });
+ }, 60000);
+
+ it('rejects a page layout type without a widget picker', async () => {
+ const errors = await expectSyncToBeRejected(
+ buildManifest({
+ widgetAvailability: {
+ pageLayoutType:
+ PageLayoutType.STANDALONE_PAGE as FrontComponentWidgetAvailabilityManifest['pageLayoutType'],
+ },
+ }),
+ );
+
+ expect(JSON.stringify(errors)).toContain(
+ 'supported values are RECORD_PAGE, DASHBOARD, received STANDALONE_PAGE',
+ );
+ }, 60000);
+
+ it('rejects an object restriction on dashboards', async () => {
+ await expectSyncToBeRejected(
+ buildManifest({
+ widgetAvailability: {
+ pageLayoutType: PageLayoutType.DASHBOARD,
+ objectUniversalIdentifiers: [
+ STANDARD_OBJECTS.company.universalIdentifier,
+ ],
+ } as FrontComponentWidgetAvailabilityManifest,
+ }),
+ );
+ }, 60000);
+
+ it('rejects an object restriction on an unknown object', async () => {
+ await expectSyncToBeRejected(
+ buildManifest({
+ widgetAvailability: {
+ pageLayoutType: PageLayoutType.RECORD_PAGE,
+ objectUniversalIdentifiers: [uuidv4()],
+ },
+ }),
+ );
+ }, 60000);
+});
diff --git a/packages/twenty-shared/src/application/constants/FrontComponentWidgetPageLayoutTypes.ts b/packages/twenty-shared/src/application/constants/FrontComponentWidgetPageLayoutTypes.ts
new file mode 100644
index 00000000000..efc30e849de
--- /dev/null
+++ b/packages/twenty-shared/src/application/constants/FrontComponentWidgetPageLayoutTypes.ts
@@ -0,0 +1,6 @@
+import { PageLayoutType } from '@/types/page-layout/PageLayoutType';
+
+export const FRONT_COMPONENT_WIDGET_PAGE_LAYOUT_TYPES = [
+ PageLayoutType.RECORD_PAGE,
+ PageLayoutType.DASHBOARD,
+] as const;
diff --git a/packages/twenty-shared/src/application/frontComponentManifestType.ts b/packages/twenty-shared/src/application/frontComponentManifestType.ts
index 6953970bcdf..641f70a48f7 100644
--- a/packages/twenty-shared/src/application/frontComponentManifestType.ts
+++ b/packages/twenty-shared/src/application/frontComponentManifestType.ts
@@ -1,5 +1,7 @@
+import { type FRONT_COMPONENT_WIDGET_PAGE_LAYOUT_TYPES } from '@/application/constants/FrontComponentWidgetPageLayoutTypes';
import { type SyncableEntityOptions } from '@/application/syncableEntityOptionsType';
import { type CommandMenuItemAvailabilityType } from '@/types';
+import { type PageLayoutType } from '@/types/page-layout/PageLayoutType';
export type CommandMenuItemManifest = SyncableEntityOptions & {
label: string;
@@ -14,6 +16,16 @@ export type CommandMenuItemManifest = SyncableEntityOptions & {
conditionalPinnedExpression?: string;
};
+export type FrontComponentWidgetPageLayoutType =
+ (typeof FRONT_COMPONENT_WIDGET_PAGE_LAYOUT_TYPES)[number];
+
+export type FrontComponentWidgetAvailabilityManifest =
+ | {
+ pageLayoutType: PageLayoutType.RECORD_PAGE;
+ objectUniversalIdentifiers?: string[];
+ }
+ | { pageLayoutType: PageLayoutType.DASHBOARD };
+
export type FrontComponentManifest = {
universalIdentifier: string;
name?: string;
@@ -23,5 +35,6 @@ export type FrontComponentManifest = {
builtComponentChecksum: string;
componentName: string;
isHeadless?: boolean;
+ widgetAvailability?: FrontComponentWidgetAvailabilityManifest;
usesSdkClient?: boolean;
};
diff --git a/packages/twenty-shared/src/application/index.ts b/packages/twenty-shared/src/application/index.ts
index 8e5c00de004..09d17f18767 100644
--- a/packages/twenty-shared/src/application/index.ts
+++ b/packages/twenty-shared/src/application/index.ts
@@ -93,6 +93,7 @@ export { DEFAULT_FUNCTIONS_URL_NAME } from './constants/DefaultFunctionsUrlName'
export { DEFAULT_SETTINGS_MENU_ITEM_POSITION } from './constants/DefaultSettingsMenuItemPosition';
export { FRONT_COMPONENT_SHARED_DEPENDENCIES_BUILT_PATH } from './constants/FrontComponentSharedDependenciesBuiltPath';
export { FRONT_COMPONENT_SHARED_DEPENDENCIES_IMPORT_SPECIFIER } from './constants/FrontComponentSharedDependenciesImportSpecifier';
+export { FRONT_COMPONENT_WIDGET_PAGE_LAYOUT_TYPES } from './constants/FrontComponentWidgetPageLayoutTypes';
export { GENERATED_DIR } from './constants/GeneratedDirectory';
export { MINIMUM_UNIVERSAL_IDENTIFIER_UUID_VERSION } from './constants/MinimumUniversalIdentifierUuidVersion';
export { NODE_ESM_CJS_BANNER } from './constants/NodeEsmCjsBanner';
@@ -172,6 +173,8 @@ export type {
} from './fieldManifestType';
export type {
CommandMenuItemManifest,
+ FrontComponentWidgetPageLayoutType,
+ FrontComponentWidgetAvailabilityManifest,
FrontComponentManifest,
} from './frontComponentManifestType';
export type { FrontComponentSharedDependenciesManifest } from './frontComponentSharedDependenciesManifestType';
@@ -267,6 +270,7 @@ export {
} from './utils/getEffectiveObjectPermissionsFromRoleManifest';
export { getRoleManifestGrantsNotCoveredBy } from './utils/getRoleManifestGrantsNotCoveredBy';
export { getRowLevelRestrictionSignature } from './utils/getRowLevelRestrictionSignature';
+export { isFrontComponentWidgetPageLayoutType } from './utils/isFrontComponentWidgetPageLayoutType';
export {
RESERVED_SETTINGS_MENU_ITEM_TITLES,
isReservedSettingsMenuItemTitle,
diff --git a/packages/twenty-shared/src/application/utils/isFrontComponentWidgetPageLayoutType.ts b/packages/twenty-shared/src/application/utils/isFrontComponentWidgetPageLayoutType.ts
new file mode 100644
index 00000000000..9c55a759094
--- /dev/null
+++ b/packages/twenty-shared/src/application/utils/isFrontComponentWidgetPageLayoutType.ts
@@ -0,0 +1,9 @@
+import { FRONT_COMPONENT_WIDGET_PAGE_LAYOUT_TYPES } from '@/application/constants/FrontComponentWidgetPageLayoutTypes';
+import { type FrontComponentWidgetPageLayoutType } from '@/application/frontComponentManifestType';
+
+export const isFrontComponentWidgetPageLayoutType = (
+ pageLayoutType: string,
+): pageLayoutType is FrontComponentWidgetPageLayoutType =>
+ FRONT_COMPONENT_WIDGET_PAGE_LAYOUT_TYPES.some(
+ (widgetPageLayoutType) => widgetPageLayoutType === pageLayoutType,
+ );