overwrite: true
schema: 'src/schema/[^_]*.graphql'
generates:
  src/generated/index.ts:
    plugins:
      - add:
          content: "/* eslint-disable max-len */\n/* eslint-disable @typescript-eslint/no-explicit-any */"
      - typescript
      - typescript-resolvers
    config:
      avoidOptionals:
        defaultValue: true
        field: true
        inputValue: false
        object: false
        resolvers: true
      contextType: ../types#ServiceContext
      useIndexSignature: true
      showUnusedMappers: true
      enumsAsConst: true
      makeResolverTypeCallable: true
      enumValues:
        NrContributorDeliveryStoreStatus: ../connectors/types/nrContributor#NrContributorDeliveryStoreStatus
        OwnershipNrProductContentType: ../connectors/types/ownershipNrProduct#OwnershipNrProductContentType
        OwnershipNrProductFormat: ../connectors/types/ownershipNrProduct#OwnershipNrProductFormat
        OwnershipNrProductSubType: ../connectors/types/ownershipNrProduct#OwnershipNrProductSubType
      mappers:
        NrSoundRecording: ../resolvers/types/nrSoundRecording#NrSoundRecordingKey
        NrContribution: ../resolvers/types/nrContribution#NrContributionKey
        OwnershipNrContribution: ../resolvers/types/ownershipNrContribution#OwnershipNrContributionKey
        NrParticipant: ../resolvers/types/nrParticipant#NrParticipantKey
        NrContributor: ../resolvers/types/nrContributor#NrContributorKey
        NrIngestionFile: ../resolvers/types/nrIngestionFile#NrIngestionFileKey
        OwnershipNrIngestionFile: ../resolvers/types/ownershipNrIngestionFile#OwnershipNrIngestionFileKey
        NrDeliveryClaim: ../resolvers/types/nrDeliveryClaim#NrDeliveryClaimKey
        NrDeliveryJob: ../resolvers/types/nrDeliveryJob#NrDeliveryJobKey
        Vendor: ../resolvers/types/vendor#VendorKey
        NrDeliveryOrder: ../resolvers/types/nrDeliveryOrder#NrDeliveryOrderKey
        DeliveryStore: ../resolvers/types/deliveryStore#DeliveryStoreKey
        Identity: ../resolvers/types/identity#IdentityKey
        NrSoundRecordingAndContribution: ../resolvers/types/nrSoundRecordingAndContribution#NrSoundRecordingAndContributionKeys
        NrContributorDeliveryStore: ../resolvers/types/nrContributorDeliveryStore#NrContributorDeliveryStoreKey
        OwnershipNrMonetizeRule: ../resolvers/types/ownershipNrMonetizeRule#OwnershipNrMonetizeRuleKey
        OwnershipNrCarveoutRule: ../resolvers/types/ownershipNrCarveoutRule#OwnershipNrCarveoutRuleKey
        OwnershipNrContributor: ../resolvers/types/ownershipNrContributor#OwnershipNrContributorKey
        OwnershipNrContributionResult: ../resolvers/types/ownershipNrContributionResult#OwnershipNrContributionResultKeys
        OwnershipNrSoundRecording: ../resolvers/types/ownershipNrSoundRecording#OwnershipNrSoundRecordingKey
        OwnershipNrParticipant: ../resolvers/types/ownershipNrParticipant#OwnershipNrParticipantKey
        OwnershipNrProduct: ../resolvers/types/ownershipNrProduct#OwnershipNrProductKey
        OwnershipNrTrack: ../resolvers/types/ownershipNrTrack#OwnershipNrTrackKey
        NrDeliveryQueueItem: ../resolvers/types/nrDeliveryQueueItem#NrDeliveryQueueItemKey
        OwnershipNrService: ../resolvers/types/ownershipNrService#OwnershipNrServiceItemKey
        OwnershipNrServiceAndRights: ../resolvers/types/ownershipNrServiceAndRights#OwnershipNrServiceAndRightsItemKey
        OwnershipNrDeliveryOrder: '../resolvers/types/ownershipNrDeliveryOrder#OwnershipNrDeliveryOrderKey'
        OwnershipNrDeliveryJob: '../resolvers/types/ownershipNrDeliveryJob#OwnershipNrDeliveryJobKey'
