import * as Types from '../graphql-types'; //============================================================== /* tslint:disable */ /* eslint-disable */ /* prettier-ignore */ // @generated // This file was automatically generated and should not be edited. //============================================================== export type CreateCustomFieldDefinitionMutationVariables = Types.Exact<{ input: Types.CompassCreateCustomFieldDefinitionInput; }>; export type CreateCustomFieldDefinitionMutation = { __typename?: 'Mutation', compass?: { __typename?: 'CompassCatalogMutationApi', createCustomFieldDefinition?: { __typename?: 'CompassCreateCustomFieldDefinitionPayload', customFieldDefinition?: { __typename?: 'CompassCustomBooleanFieldDefinition', id: string, name?: string | null, description?: string | null, componentTypes?: Array | null } | { __typename?: 'CompassCustomMultiSelectFieldDefinition', id: string, name?: string | null, description?: string | null, componentTypes?: Array | null } | { __typename?: 'CompassCustomNumberFieldDefinition', id: string, name?: string | null, description?: string | null, componentTypes?: Array | null } | { __typename?: 'CompassCustomSingleSelectFieldDefinition', id: string, name?: string | null, description?: string | null, componentTypes?: Array | null } | { __typename?: 'CompassCustomTextFieldDefinition', id: string, name?: string | null, description?: string | null, componentTypes?: Array | null } | { __typename?: 'CompassCustomUserFieldDefinition', id: string, name?: string | null, description?: string | null, componentTypes?: Array | null } | null, errors?: Array<{ __typename?: 'MutationError', message?: string | null, extensions?: { __typename?: 'AdminAnnouncementBannerMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'AdminApplicationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'AriGraphRelationshipsMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'BulkMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'ConfluenceCalendarFieldMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'ConfluenceUpdateContentAccessRequestMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'ConfluenceUpdateCustomContentPermissionsMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'ConfluenceUpdateSiteConfigurationMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'CplsMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'CustomerServiceCustomDetailCreateErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'DevAiGenericMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'GenericMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'HelpLayoutMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'InsightsMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'InvokeExtensionPayloadErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'JiraFieldValidationMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'JiraFilterEditGrantMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'JiraFilterNameMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'JiraFilterShareGrantMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'JiraIssueArchiveAsyncErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'JiraIssueArchiveErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'JiraIssueUnarchiveErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'JiraListSettingMigrationMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'KnowledgeDiscoveryBookmarkMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'ReopenCommentsMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'ResolveCommentsMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'ResolveRestrictionsForSubjectMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'RoadmapMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'ShepherdGenericMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'ToolchainAssociateEntitiesErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'ToolchainCreateContainerErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'ToolchainDisassociateEntitiesErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'TownsquareCreateGoalHasJiraAlignProjectMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'TownsquareCreateRelationshipsMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'TownsquareDeleteGoalHasJiraAlignProjectMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'TownsquareDeleteRelationshipsMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'TownsquareProjectsChildWorkItemsAlreadyLinkedMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'TownsquareProjectsCreateLinkMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'TownsquareProjectsEditMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'TownsquareProjectsParentWorkItemAlreadyLinkedToAnotherProjectMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'TownsquareProjectsWorkItemAlreadyLinkedMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'TrelloMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'UpdateExCoSpacePermissionsMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'VirtualAgentValidationMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | { __typename?: 'WorkSuggestionsMutationErrorExtension', statusCode?: number | null, errorType?: string | null } | null }> | null } | null } | null }; export const CreateCustomFieldDefinition = ` mutation CreateCustomFieldDefinition($input: CompassCreateCustomFieldDefinitionInput!) { compass { createCustomFieldDefinition(input: $input) { customFieldDefinition { id name description componentTypes } errors { extensions { statusCode errorType } message } } } } `;