{"_id":"@bond-london/gatsby-plugin-generate-typings","_rev":"5-98621135dd72015394f55bc9a831b762","name":"@bond-london/gatsby-plugin-generate-typings","dist-tags":{"latest":"2.0.0"},"versions":{"0.9.13":{"name":"@bond-london/gatsby-plugin-generate-typings","version":"0.9.13","author":{"name":"Stefan Baur","email":"stefan.baur@neugelb.com"},"contributors":[{"name":"Nick Randell","email":"nick@nickrandell.com"}],"description":"Plugin that automatically generates TypeScript typings from the graphql schema","main":"index.js","repository":{"url":"https://github.com/bond-london/gatsby-plugin-generate-typings"},"keywords":["gatsby","gatsby-plugin","gatsby-plugin-typescript","typescript","codegen","typings"],"scripts":{"build":"tsc -p ./","watch":"tsc --watch -p ./"},"license":"ISC","dependencies":{"@graphql-codegen/core":"^1.4.0","@graphql-codegen/introspection":"^1.18.2","@graphql-codegen/typescript":"^1.22.0","@graphql-codegen/typescript-operations":"^1.17.16"},"devDependencies":{"@types/node":"^12.20.13","@types/react-dom":"^17.0.5","gatsby":"^3.5.0"},"peerDependencies":{"typescript":"4.x"},"_id":"@bond-london/gatsby-plugin-generate-typings@0.9.13","dist":{"shasum":"75e295c2d5511a6aea0fde63a7f27b1b0562ee0a","integrity":"sha512-zAXqSffQQgv3rvDMwamIALj1gcF8omHydwHCubv5F36AprSQsxF2xhVzUxn4GMc+h8fjuVXU8ttbHaqs7RSWzA==","tarball":"https://registry.npmjs.org/@bond-london/gatsby-plugin-generate-typings/-/gatsby-plugin-generate-typings-0.9.13.tgz","fileCount":5,"unpackedSize":8116,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnjI2CRA9TVsSAnZWagAA1RgP/0Gosy/NXrgISA0l2O5S\nOg/AuhT6IWGe0dcBMfVzanEA0cOAT8qURBl1WeIyx3UuhpaH2l+8ptS5MkAv\nrs1zuFGed1zvY1HVg7Sllwbqo1ow552ZFQoiNheLSSOH8nlzBDofaf9x4NpP\njKpxigKlGF5+EDgqZHMv48o6xeJPtdWvwfF42XkCyiAoAo0LE+OYUg+CEahx\nffK133Wt3zk8yH5C5s2+jEghG2SN37KaRnsMsyXGkH5xNacL8TGZO/mbN/6y\nZI4HqiwQBZ+RUGwOmebk73oDOxusuafGY6QU+xntzK3zJfitQxtICjM1nBMO\ncLJ4RLj5RupDLRR6xWhkRcBQhqYLFxTWRD6kUJilt8ZKa+DxZyWxhxaWYKVM\nDaiGN5wO6RQdJJkRxyAPxbdZ3K18P9fturkA74czbHn2Bs7V436RvfZa2pE0\npVITEhb/+DwGPfA6Yl8ezCjnTXSQHDn6HK7v+8w6b4tPoX2ZK+OBnFobgKte\npQgeDCeF2VgAj5E9LZcPTKJ/5nj3W2VEB0rQlQmWue3fE3WG5X3BXkk32wqt\npocruyihp3coeV5eVGHAn+sUVIGKgxOtZSLczRY0Z5791fy3Aso9aFnFNghe\nqhXGf1NwvwpgmyjGWHpl2ADSTKcGK0Z9OzhgjrjBle7S++K6ggLxHQnMhk+e\nqDIX\r\n=npQE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhl9IZcCt5G50X64DGHtedSDjaDBcFk3N/hOQdp6ZJpwIhAKCBnRjaEXBulSVbg1tmeqIBSbXXxNxxXpzVQq7J8L3m"}]},"_npmUser":{"name":"nrandell","email":"nick@nickrandell.com"},"directories":{},"maintainers":[{"name":"nrandell","email":"nick@nickrandell.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-plugin-generate-typings_0.9.13_1620980277680_0.9967854978745081"},"_hasShrinkwrap":false},"1.0.0":{"name":"@bond-london/gatsby-plugin-generate-typings","version":"1.0.0","author":{"name":"Stefan Baur","email":"stefan.baur@neugelb.com"},"contributors":[{"name":"Nick Randell","email":"nick@nickrandell.com"}],"description":"Plugin that automatically generates TypeScript typings from the graphql schema","main":"index.js","repository":{"url":"https://github.com/bond-london/gatsby-plugin-generate-typings"},"keywords":["gatsby","gatsby-plugin","gatsby-plugin-typescript","typescript","codegen","typings"],"scripts":{"build":"tsc -p ./","watch":"tsc --watch -p ./"},"license":"ISC","dependencies":{"@graphql-codegen/core":"^1.4.0","@graphql-codegen/introspection":"^1.18.2","@graphql-codegen/typescript":"^1.22.0","@graphql-codegen/typescript-operations":"^1.17.16"},"devDependencies":{"@types/node":"^12.20.13","@types/react-dom":"^17.0.5","gatsby":"^3.5.0"},"peerDependencies":{"typescript":"4.x"},"_id":"@bond-london/gatsby-plugin-generate-typings@1.0.0","dist":{"shasum":"3845680a7f465873a3f612d29bb58747a6ab30cb","integrity":"sha512-8qRecez6oxOW4L5fo6dR7M9/9SYUo3hRiLjxQ/Y/c0Gb79ygfFOcSCFxk3b83bKSCz+QFa/y3HpY0qDAhDGDWw==","tarball":"https://registry.npmjs.org/@bond-london/gatsby-plugin-generate-typings/-/gatsby-plugin-generate-typings-1.0.0.tgz","fileCount":5,"unpackedSize":8348,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3yP1CRA9TVsSAnZWagAAzDgP/11eT/FtlJwaXHMBLyqw\n5tSkJCbcDDdNmrRFX+SPovuzvKiMBnoDARfTuyn6VC3tXvFJGe4AdYuKnzl5\nK+SEjKeKCkSj9db0gQy/viIpzN+Fv7kXO9/16JzNHGBZl6WzbHYuse2V35cq\nk4R9STGQovM7UqrnKMU4qp768qmHMwhpYdSnejMQfr63ZPktCWKZcIpf5y3x\na4E+7kvckTkgiE9IZdrWcBnMNOn9B771ZnvTcLMaiP7RgplAVW4UrhDK9BRI\nhFStBpK1+w4NkXhAmKb6a0XYdOUJLN2xkP2Tv7U/aepsQEPCMuhOXVfsBqXF\nIZrLWuIJUpneervt1EDJVYYkMEYwPZpm3kyXMp7QvfOqvOXHy2u05v0mfoHe\nLqhCGhUN6v1AX7vzrDzJ2SPl1JV8UZg79G0fFvhV4ssozOT/Cy3WmWJzixy0\nDaf4MqUCv/XW1Y9sccb2mTFfHknSn//JJVgM74r2W96O+qeD868U9UqHs17V\nW6BsQ1LCI5txPk/ZrEZA7ac1e/TnHWT6oMQ0WVEb8whN2nyaxNy8HCst5bvh\nP0Ic1O4+fY5/0sTSPsarA5yjQ2jJ4krbvOyY50jzeY8+A0ghkWFBY30o9hbT\n/6aPdguqAkY4pdhv3coRgVUGaPkB/zrZgvRKI6YB0XIQUG4xSPXs/UNIfduy\nMrEG\r\n=Wvfl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGQY5rE8L8fWpIe2zBnk/fPqSD5FPy8J5kQsKzmMRMxYAiAJHHc0U0j8TXFAe283NbSAp9TGRcZnX72tT8Zmqzabxw=="}]},"_npmUser":{"name":"nrandell","email":"nick@nickrandell.com"},"directories":{},"maintainers":[{"name":"nrandell","email":"nick@nickrandell.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-plugin-generate-typings_1.0.0_1625236468738_0.7390539343222282"},"_hasShrinkwrap":false},"1.1.0":{"name":"@bond-london/gatsby-plugin-generate-typings","version":"1.1.0","author":{"name":"Stefan Baur","email":"stefan.baur@neugelb.com"},"contributors":[{"name":"Nick Randell","email":"nick@nickrandell.com"}],"description":"Plugin that automatically generates TypeScript typings from the graphql schema","main":"index.js","repository":{"url":"https://github.com/bond-london/gatsby-plugin-generate-typings"},"keywords":["gatsby","gatsby-plugin","gatsby-plugin-typescript","typescript","codegen","typings"],"scripts":{"build":"tsc -p ./","watch":"tsc --watch -p ./"},"license":"ISC","dependencies":{"@graphql-codegen/core":"^2.1.0","@graphql-codegen/introspection":"^2.1.0","@graphql-codegen/typescript":"^2.2.1","@graphql-codegen/typescript-operations":"^2.1.3"},"devDependencies":{"@types/node":"^16.9.1","@types/react-dom":"^17.0.9","gatsby":"^3.13.0","typescript":"^4.4.2"},"peerDependencies":{"typescript":"4.x"},"_id":"@bond-london/gatsby-plugin-generate-typings@1.1.0","dist":{"shasum":"e7106c432d6f0f324f1ddcb095751975e9cc8fdc","integrity":"sha512-gK8Iw2ezWNStU3pdJcEcz4A8Jv2HGeCVUzVeksE59Hw1yaUozr56lx1b9LbmJTnWBsJ3Q5NWrUJ4V9AfxypbkA==","tarball":"https://registry.npmjs.org/@bond-london/gatsby-plugin-generate-typings/-/gatsby-plugin-generate-typings-1.1.0.tgz","fileCount":5,"unpackedSize":8422,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOxWyCRA9TVsSAnZWagAAtmMP/0UaGGdvpsi6XsNyaRIU\nAckm4As1rEvmbgdnLkMgXYlAsAW+CXETptb2mudTLjRSyIADXd0WGON2LN5Z\nfEjPypnCeBXLKYM3BAQXT2KW9cYIUAnMsXQe3buqyI0hNs4HVRuvXkQQpY4X\nkoAtDGxdQ6OxtirHgppWnyqhNASle9J3Dvb5CEOVnYCd1NIWH+li+R3cWiUo\nAUkHbBqEkhdH5HLk1Dtn/iX6pqe6fX6aNPAiQi2+Hq5fyXNSIMfbotZy7XOk\nZugWGTIuK4HRV79iCecdhm/3wcJqCn2MtnDmNpvn1FBd+8wbE2UHn6owrpdl\nXTPW1ulYILcdtiZkIw7xjLkRRG/KBSAK3N9joX1OCs9KNm0VhMaUtta3ImPx\nTBMi8Bt3PH6p3xCZsC4FRrn0auinPweVD45oVe6DMNe86LfoJKNpNe4gGhts\n3l14ORKOzVHVtCSk9gdU0+LLQmubjoOiMPUbPcy7geh6Y9Xx3uhM8xJCUjUj\nHips6+Je5t8GC03F0AefR37oRBrQwGoHqkIWvsqYhcQOHThlxN+Pc510A0ku\nUyy/YGzJhioGzr9KtC244qBZmRdPpPjLZHPWAVvKjyFZiQXVvqq+KN/LJtah\n2qo6tTdIe9U6oOKlL2qsnlTXIuq1fk9Q8CC4asCzdpawzwCD4klkSz4M8pKu\nSDw6\r\n=pbOa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB/WDCxrW6kvLLycVlOGOzE7lGgLgwrGNtQ2tRNopiswAiEA5i9q/uEV3bcwgqGKa7QpffQlT+FkVxWwQCLI2IbWTY0="}]},"_npmUser":{"name":"nrandell","email":"nick@nickrandell.com"},"directories":{},"maintainers":[{"name":"nrandell","email":"nick@nickrandell.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-plugin-generate-typings_1.1.0_1631262130678_0.9667576598705341"},"_hasShrinkwrap":false},"2.0.0":{"name":"@bond-london/gatsby-plugin-generate-typings","version":"2.0.0","author":{"name":"Stefan Baur","email":"stefan.baur@neugelb.com"},"contributors":[{"name":"Nick Randell","email":"nick@nickrandell.com"}],"description":"Plugin that automatically generates TypeScript typings from the graphql schema","main":"index.js","repository":{"url":"https://github.com/bond-london/gatsby-plugin-generate-typings"},"keywords":["gatsby","gatsby-plugin","gatsby-plugin-typescript","typescript","codegen","typings"],"scripts":{"build":"tsc -p .","watch":"tsc --watch -p ."},"license":"ISC","dependencies":{"@graphql-codegen/core":"^2.3.0","@graphql-codegen/typescript":"^2.3.0","@graphql-codegen/typescript-operations":"^2.2.0"},"devDependencies":{"@types/node":"^16.11.6","@types/react-dom":"^17.0.10","gatsby":"^4.1.0","typescript":"^4.4.4"},"peerDependencies":{"gatsby":"^3||^4"},"_id":"@bond-london/gatsby-plugin-generate-typings@2.0.0","dist":{"shasum":"ae325928e05c9646185bbe2ba9e4581f451eb7b4","integrity":"sha512-73BVjyWSN76rsaLbva9DpySeb+yVZKxAUcLduwnzKPEAKS8lf2KPTil9aOcfwEVDRMmWHWB+hUIiWK5wWqFhpw==","tarball":"https://registry.npmjs.org/@bond-london/gatsby-plugin-generate-typings/-/gatsby-plugin-generate-typings-2.0.0.tgz","fileCount":5,"unpackedSize":4560,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzZZ4CRA9TVsSAnZWagAABEgP/Ro3bsIyORaHK0L9cSCb\n/WU+KhVd+TB+4sz34ulMYGKEruPXUINyr8qdNt6bOFGcBo5dYXvPfDRSyuI6\nXQcjvgPjbsn2/7zDd2FuJojDCDOs/kbD09CehRjF8Q3WfzHtyV5GnW7VG09R\nbcZT4Y4T1droLRyeVGBDQe0bW07Hy75m+7Ca0rdMvIOHbwL4kM+gZo6GDgeZ\nMksY2IDRDLe3POjmv5IKLtg6EnZtaJtYsC0Q6d+B/3q+Lc3VM3C9lo5q8sPv\nOz9PnGAsHu7ZgMLe8ct6SE5Q1xje1q5oertuwOVDrQtJQwnWjrdrYnTq8pUl\nxrPxl7hHKt+yJayCNqtInr/qBnnPGkHoFjdSpA0BxVKrYzqE7vQ3L8yEhlKN\nMum9GtT3DUDzOEeN7RQa7lqWSUb7WCD9LNPk8Jy6MSeF01nUfw6Sh+8BFqqs\n+HZ9lvaMcbs30SwSGehm/NR026V+PrltnZtfOUHDa1dntdyN+F7yE1N7T2b4\nFkCislAvrgJDDW1LPbpC39HkWrU84jHBILL2W/mX04XfUyP4gggNkMV8JZ5j\nV0oDmpZcvzZJTiAldQeqg+baeGi43JhYiWlw0xEnnkX5axkbV4MUzGA0h6cO\nNpuohnnM4DLpReMwjL2kHRe8fJ/QUOU5cpsda5V+O6bHP7pp5CKZmBh63sPk\nleOO\r\n=Bfl8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWzJ6eSEBoiUfnGR4AVOjWuKM7ddohzKbn42fmbN1ktQIgYdF8xYdb+LzKFCCIoYksJkCnIpr/bqlRDDvrla7RaeU="}]},"_npmUser":{"name":"nrandell","email":"nick@nickrandell.com"},"directories":{},"maintainers":[{"name":"nrandell","email":"nick@nickrandell.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gatsby-plugin-generate-typings_2.0.0_1635878221469_0.8179389197946128"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-14T08:17:57.304Z","0.9.13":"2021-05-14T08:17:57.854Z","modified":"2022-04-04T20:05:10.685Z","1.0.0":"2021-07-02T14:34:28.886Z","1.1.0":"2021-09-10T08:22:10.800Z","2.0.0":"2021-11-02T18:37:01.635Z"},"maintainers":[{"name":"nrandell","email":"nick@nickrandell.com"}],"description":"Plugin that automatically generates TypeScript typings from the graphql schema","keywords":["gatsby","gatsby-plugin","gatsby-plugin-typescript","typescript","codegen","typings"],"repository":{"url":"https://github.com/bond-london/gatsby-plugin-generate-typings"},"contributors":[{"name":"Nick Randell","email":"nick@nickrandell.com"}],"author":{"name":"Stefan Baur","email":"stefan.baur@neugelb.com"},"license":"ISC","readme":"## Description\n\nThis plugin uses `graphql-codegen` to automatically generate typings for the gatsby graphql schema and your graphql queries.\n\n## How to install\n\nusing yarn: `yarn add gatsby-plugin-generate-typings`\nin your gatsby-config.js add\n\n```\n    {\n      // automatically generate typings from graphql schema\n      resolve: 'gatsby-plugin-generate-typings',\n      options: {\n        dest: './src/generated/graphql-types.d.ts',\n      },\n    },\n```\n\nto automatically generate `./src/generated/graphql-types.d.ts`.\n\n## Available options\n\n`dest`: the destination file name, where the typings will be written to.\n\n## When do I use this plugin?\n\nWhen using `gatsby-plugin-typescript` it comes handy to have typings for your graphql schema and queries.\n\n## Examples of usage\n\nWhen installed as above you can do\n\n```\nimport { SiteTitleQueryQuery } from '../generated/graphql-types';\n\n// ... somewhere in your render() function:\n\n<StaticQuery\n    query={graphql`\n      query SiteTitleQuery {\n        site {\n          siteMetadata {\n            title\n          }\n        }\n      }\n    `}\n    render={(data: SiteTitleQueryQuery) => {\n\n      // can use data.site.siteMetadata and have full Typescript Typings for it\n\n    }}\n  />\n```\n","readmeFilename":"README.md"}