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
      mappers:
        PublishingComposition: ../resolvers/types/publishingComposition#PublishingCompositionKey
        PublishingSongWriter: ../resolvers/types/publishingSongWriter#PublishingSongWriterKey
        PublishingAgreement: ../resolvers/types/publishingAgreement#PublishingAgreementKey
        PublishingPublisher: ../resolvers/types/publishingPublisher#PublishingPublisherKey
        PublishingCompositionAgreement: ../resolvers/types/publishingCompositionAgreement#PublishingCompositionAgreementKey
        Vendor: ../resolvers/types/vendor#VendorKey
        CompanyBrand: ../resolvers/types/companyBrand#CompanyBrandKey
        Isrc: ../resolvers/types/isrc#IsrcKey
        GlobalSoundRecording: ../resolvers/types/globalSoundRecording#GlobalSoundRecordingKey
        LabelSoundRecording: ../resolvers/types/labelSoundRecording#LabelSoundRecordingKey
        ChangelogRecord: ../resolvers/types/changelogRecord#ChangelogRecordKey
        ChangelogReport: ../resolvers/types/changelogReport#ChangelogReportKey
