fix(gatsby): Improve `gatsby` TS types for `sourceNodes` (#20397)
fix(gatsby): Improve `gatsby` TS types for `sourceNodes` (#20397)

* fix(dts): improve `gatsby` TS types for `sourceNodes`

* fix(dts): add schema prop to `NodePluginArgs`

* chore: resolve PR requests

Use Record instead of object mapping.

gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby