{"_id":"@alpaca-travel/graph-sdk-react-apollo","_rev":"9-9e601b0a1bf32b90b7f7bcff39b56c71","time":{"created":"2023-01-27T00:21:17.663Z","1.0.1-alpha.0":"2023-01-27T00:15:19.799Z","modified":"2023-01-31T02:39:18.513Z","1.0.2-alpha.0":"2023-01-27T00:21:17.886Z","2.0.0":"2023-01-27T00:42:17.618Z","2.0.1":"2023-01-27T01:30:51.234Z","2.0.2":"2023-01-27T01:51:45.636Z","2.0.3":"2023-01-27T01:57:10.724Z","2.1.0":"2023-01-29T21:54:16.717Z","2.1.5":"2023-01-31T02:39:18.435Z"},"name":"@alpaca-travel/graph-sdk-react-apollo","dist-tags":{"latest":"2.1.5"},"versions":{"1.0.2-alpha.0":{"name":"@alpaca-travel/graph-sdk-react-apollo","version":"1.0.2-alpha.0","author":{"name":"Tom Manderson","email":"tom@alpaca.travel"},"homepage":"https://alpacatravel.github.io/graph-sdk/packages/react-apollo/","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","license":"MIT","repository":{"type":"git","url":"git://github.com/AlpacaTravel/graph-sdk.git"},"scripts":{"test":"jest","build:typedoc":"rm -rf docs && node doc-generator.js && typedoc src/index.ts --readme api.md --out docs","docs":"npm run build:typedoc","build":"npm run tsc","prepublishOnly":"npm run tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","graphql-codegen":"graphql-codegen --config codegen.yml","clean":"rm -rf dist && rm -rf docs"},"peerDependencies":{"@apollo/client":"^3.4.7","graphql":"^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0","graphql-tag":"^2.0.0"},"env":{"jest":true},"devDependencies":{"@apollo/client":"^3.4.7","@graphql-codegen/cli":"^2.0.1","@graphql-codegen/fragment-matcher":"^3.0.0","@graphql-codegen/introspection":"^2.0.0","@graphql-codegen/jsdoc":"^2.0.0","@graphql-codegen/typescript":"^2.0.0","@graphql-codegen/typescript-operations":"^2.0.1","@graphql-codegen/typescript-react-apollo":"^3.0.0","@types/jest":"^29.4.0","graphql":"^15.5.1","jest":"^29.4.1","react":"^17.0.2","ts-jest":"^29.0.5","typedoc":"^0.23.0","typescript":"^4.8.0"},"gitHead":"85ea4103a5293db7b86fabccb9bd33e6cf2261c9","description":"> This package assist with a basic SDK for developing applications on top of > Alpaca Travel GraphQL API via React/Apollo.","bugs":{"url":"https://github.com/AlpacaTravel/graph-sdk/issues"},"_id":"@alpaca-travel/graph-sdk-react-apollo@1.0.2-alpha.0","_nodeVersion":"16.15.0","_npmVersion":"lerna/6.4.1/node@v16.15.0+x64 (linux)","dist":{"integrity":"sha512-InEABCgCctAr4Z5eWofSnCINyCoLL+cojA9MB2ptzZVSknwyJbTv67fk9sVaAXKwcWh2HrIzXX5qS4rZbHhCtA==","shasum":"e3fa609727e8034ff31cf5a0c93f915cf557aec3","tarball":"https://registry.npmjs.org/@alpaca-travel/graph-sdk-react-apollo/-/graph-sdk-react-apollo-1.0.2-alpha.0.tgz","fileCount":6,"unpackedSize":600518,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIN/A6Fj2wrD8p/acsNn9uHKtVq70gBLPPj5fPquvqRQIgR0uwldA1vxU355A5mz9AiKj5rprVfUDIQQWfGYJe5CY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0xj9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrxOA/8CBBut4lshK7y5YgEbJllZlQuXxWXm5egqraJ5vcdTmm9Lyg5\r\nRqapPwPBH0Qii+WgnL/3RH5FwtbG7CYeO/QIf1Xj9HmUWrfPz6B9ThSVuBAI\r\nWDwMgPJ4tey79Q0wLm5s5KDzfzYFpwz9NzbzzL2CcIlT2mFN8A9Dp1pLCXf+\r\nCJeG/DddDVl4T0Re4rrE/PJujir76XqR3HI0JZOgJScaGeVcZxzaw+ZbySBc\r\ni0v+wu5P1XtZt8fK9CV0sFS0wNyBiIlm1NqVQYLIOUF5dV7hwAicXCo2PccF\r\nsSx0ByUQWPiyPPPgHzy0Hp1V0KLuZLRHTU05dAlOoyqSOx/zJEkExRkv8viF\r\n64D8Ncjs0kLgp5G/qR/rzDyNqCzaNKGvkdtMqdk4treB/EvqsVwXvuGFdro9\r\nM/Z0CS+Bc3AqTeY0BP769TkSLGhxdfg8nixc4OZLuUKatDGVSKbZWkWBz+CV\r\nchanup0OeFUlAvf30dKy82+3Z6YhYvsdEmYY+8FBvl0qYDKsiB/hcNkk7Gb/\r\nQ9GtKCdL4F1if5t4gj/2Fp//1X4NSEN/hlVCUNqh/OV5S1vQMIuFdl5amOZ/\r\n2VtIsH/arVqGUtCieccK72i+qKbHlySEXuTFPK3N3K8wV/h74rFDxJG3SHbp\r\n0EYEBIdwfxnYKIvTKkv3RmfpbXPYevxj59s=\r\n=5N+E\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cammanderson","email":"cameronmanderson@gmail.com"},"directories":{},"maintainers":[{"name":"cammanderson","email":"cameronmanderson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graph-sdk-react-apollo_1.0.2-alpha.0_1674778877664_0.498772934584939"},"_hasShrinkwrap":false},"2.0.0":{"name":"@alpaca-travel/graph-sdk-react-apollo","version":"2.0.0","author":{"name":"Tom Manderson","email":"tom@alpaca.travel"},"homepage":"https://alpacatravel.github.io/graph-sdk/packages/react-apollo/","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","license":"MIT","repository":{"type":"git","url":"git://github.com/AlpacaTravel/graph-sdk.git"},"scripts":{"test":"jest","build:typedoc":"rm -rf docs && node doc-generator.js && typedoc src/index.ts --readme api.md --out docs","docs":"npm run build:typedoc","build":"npm run tsc","prepublishOnly":"npm run tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","graphql-codegen":"graphql-codegen --config codegen.yml","clean":"rm -rf dist && rm -rf docs"},"peerDependencies":{"@apollo/client":"^3.4.7","graphql":"^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0","graphql-tag":"^2.0.0"},"env":{"jest":true},"devDependencies":{"@apollo/client":"^3.4.7","@graphql-codegen/cli":"^2.0.1","@graphql-codegen/fragment-matcher":"^3.0.0","@graphql-codegen/introspection":"^2.0.0","@graphql-codegen/jsdoc":"^2.0.0","@graphql-codegen/typescript":"^2.0.0","@graphql-codegen/typescript-operations":"^2.0.1","@graphql-codegen/typescript-react-apollo":"^3.0.0","@types/jest":"^29.4.0","graphql":"^15.5.1","jest":"^29.4.1","react":"^17.0.2","ts-jest":"^29.0.5","typedoc":"^0.23.0","typescript":"^4.8.0"},"gitHead":"4d5c951b5fbb529b1a89f9290c6f273334bd9958","description":"> This package assist with a basic SDK for developing applications on top of > Alpaca Travel GraphQL API via React/Apollo.","bugs":{"url":"https://github.com/AlpacaTravel/graph-sdk/issues"},"_id":"@alpaca-travel/graph-sdk-react-apollo@2.0.0","_nodeVersion":"16.15.0","_npmVersion":"lerna/6.4.1/node@v16.15.0+x64 (linux)","dist":{"integrity":"sha512-PBD4flACJiCjsxFt671RIFnT2ExgPAnHGTRC/BhxM7FtEe5Wsp4SfdKY+zxkLAwp91QFkxGT8DX8j8ThKP/tIQ==","shasum":"ed6ce38cb76509d4000411a637d1132d05a30d10","tarball":"https://registry.npmjs.org/@alpaca-travel/graph-sdk-react-apollo/-/graph-sdk-react-apollo-2.0.0.tgz","fileCount":6,"unpackedSize":601202,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDzQ6i50UFO49fjqeakb4B7xTfSyzFZj3SFsxGfhPfiIAiEAs9yn0cCB0XTiuSr/KgCRHRDhh5hepXSKq6KEvkovD+U="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0x3pACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrk3A/9FxwproZnqdlOmh/GYp0cCm84fjTvtcBoJYo75SoPQkjwxy7F\r\n01Y0D/lLTIKl4prC3B/XMOgt9YwfgXCaZ4/pdLxSvIpVoy8ujFtrVH9iiqoB\r\nBjdzx6ZWfSYUDCXDt9nWBQPzyE3+uz8KGGp3DmySwNzPtZqPzCpjKlL9bA0u\r\ne/V04lsOXskpL8Hyc6/nrnsgBo20CIjhQXMwVXDHClARxhgC0d0C6mbF+qDW\r\npqUPq39Gfd/pc0R86LO4rNV+yRdMpAccacdC7t2QZ5ZqHYwj1kwOlX2x8XB/\r\nbY7F/onWBzMr1WXHEJq5S+NevHlJ7t4g7c/eHrdNyw318phrXYk58uDXunQm\r\nk+BznYifhhdG5D0RCI5qsSInoA8zj3BzEwaWGS9WwDiQRyQH5lfV9g6Wjbfu\r\nWN0rbkdRY0vV9xqN5kY4D4J3QlluvPGbvhr1UvxgWl4sdYJ5D8iN9K5vXjnl\r\nbNOaGu6yPm/pRg20xuiXMV8doJHc3YHbhWJPDZ5KIepDEQXu0tkpnJXl/5+R\r\ndu98xIRcT6gguNYeE/h27tsIcoYhaj9djhiNouEWxs2jrlOd2cryCWe+++iZ\r\n5p8eeQ2AShKz01bgUKl9Pg5yxyIk+WlSa1Y3L8/JUSy7hy5a1gzh+6EQYpK5\r\niv5U7GC/e0PKxAy99LUiVot2NmPd99BQO1M=\r\n=s/cd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cammanderson","email":"cameronmanderson@gmail.com"},"directories":{},"maintainers":[{"name":"cammanderson","email":"cameronmanderson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graph-sdk-react-apollo_2.0.0_1674780137439_0.5220413591213167"},"_hasShrinkwrap":false},"2.0.1":{"name":"@alpaca-travel/graph-sdk-react-apollo","version":"2.0.1","author":{"name":"Tom Manderson","email":"tom@alpaca.travel"},"homepage":"https://alpacatravel.github.io/graph-sdk/packages/react-apollo/","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","license":"MIT","repository":{"type":"git","url":"git://github.com/AlpacaTravel/graph-sdk.git"},"scripts":{"test":"jest","build:typedoc":"rm -rf docs && node doc-generator.js && typedoc src/index.ts --readme api.md --out docs","docs":"npm run build:typedoc","build":"npm run tsc","prepublishOnly":"npm run tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","graphql-codegen":"graphql-codegen --config codegen.yml","clean":"rm -rf dist && rm -rf docs"},"peerDependencies":{"@apollo/client":"^3.4.7","graphql":"^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0","graphql-tag":"^2.0.0"},"env":{"jest":true},"devDependencies":{"@apollo/client":"^3.4.7","@graphql-codegen/cli":"^2.0.1","@graphql-codegen/fragment-matcher":"^3.0.0","@graphql-codegen/introspection":"^2.0.0","@graphql-codegen/jsdoc":"^2.0.0","@graphql-codegen/typescript":"^2.0.0","@graphql-codegen/typescript-operations":"^2.0.1","@graphql-codegen/typescript-react-apollo":"^3.0.0","@types/jest":"^29.4.0","graphql":"^16.0.0","jest":"^29.4.1","react":"^17.0.2","ts-jest":"^29.0.5","typedoc":"^0.23.0","typescript":"^4.8.0"},"gitHead":"72f33783d78ec51ec1c290227ae753bca771afce","description":"> This package assist with a basic SDK for developing applications on top of > Alpaca Travel GraphQL API via React/Apollo.","bugs":{"url":"https://github.com/AlpacaTravel/graph-sdk/issues"},"_id":"@alpaca-travel/graph-sdk-react-apollo@2.0.1","_nodeVersion":"16.15.0","_npmVersion":"lerna/6.4.1/node@v16.15.0+x64 (linux)","dist":{"integrity":"sha512-AzPj4WHN3rQhB6rudHY5dw+WcSpZ+mgMgVyXNlxuV478ec2KJiMasypGJeumCPv8D+O69XzCKfCwZs+UjrbYGg==","shasum":"dea73a18f309a94464684db53246f7642673b192","tarball":"https://registry.npmjs.org/@alpaca-travel/graph-sdk-react-apollo/-/graph-sdk-react-apollo-2.0.1.tgz","fileCount":6,"unpackedSize":601213,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDc4CMVdH6IvvmVuaCFVyt80SZQkoSA3Qt2KRazkp3C4AiEA5W8hXRNKCC6I3KylxubVB9jxpL29AQxT945deHkhF0w="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0ylLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoMLhAAnRz9531WGk6R0yGBEi1PNo8+3ELMrya2tVqQgpXKtgDXlnvl\r\ngjH0QGJF2dYLa1cvCOXx+0gNiNLC97sgGBDZMIFNWrPCOcn+BihHVNch1NSl\r\nCx7BIQpNSzhF4DMOvCToEjlWSyT4JoSeRZr2MiuxhmKRhGzmpjeOWoNScRUm\r\nM20NVv2pISUk3yBcyJQVA5DNpw3X6r54s9OfGVYFvhIVVTm81m5hhVt9sgvg\r\nrIp0mEWDI7wY3upNBHv3nqSokEvBS3fHe4+3jrpHm3gcg/e63lY347cZBRQY\r\n+L16HzlmAMUHTPcqljArCuFruzofGxmbr9bE2k1e7oNwHswQy4o9sJW99jKE\r\nxXbyA3n3DUUTw93kPn+1YdzKV0dg3+zOtIOXOL4k0Nwwu9S7XKwgqyrCVi4b\r\nW8+allmv7/6h/XdahREzWtl2yyDcPuF4omx9wnC+SMuALhIuAr2oxuwByZWH\r\n0ASJoW7QbFC+tGlNHuO6z8aXzBpfxanhbrpSQRrVm25fWs4YbyZ7JZ2tRffq\r\ntp82Nb9AMYokS0zYHZOb4Zg/XPNpm/ThsvFNh7e4VBvWnUK4FESFpa9f8MJw\r\n3t5wsatbuhWEhy48Z5B6sHk0gBeMV0job38y/cPXodv3sUHRyHQRkeDslM3P\r\n2nJnb2iw7IyJT/7/cb+wy9LL3vvkFQS9dmY=\r\n=zil7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cammanderson","email":"cameronmanderson@gmail.com"},"directories":{},"maintainers":[{"name":"cammanderson","email":"cameronmanderson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graph-sdk-react-apollo_2.0.1_1674783051020_0.21949008792063962"},"_hasShrinkwrap":false},"2.0.2":{"name":"@alpaca-travel/graph-sdk-react-apollo","version":"2.0.2","author":{"name":"Tom Manderson","email":"tom@alpaca.travel"},"homepage":"https://alpacatravel.github.io/graph-sdk/packages/react-apollo/","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","license":"MIT","repository":{"type":"git","url":"git://github.com/AlpacaTravel/graph-sdk.git"},"scripts":{"test":"jest","build:typedoc":"rm -rf docs && node doc-generator.js && typedoc src/index.ts --readme api.md --out docs","docs":"npm run build:typedoc","build":"npm run tsc","prepublishOnly":"npm run tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","graphql-codegen":"graphql-codegen --config codegen.yml","clean":"rm -rf dist && rm -rf docs"},"peerDependencies":{"@apollo/client":"^3.4.7","graphql":"^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0","graphql-tag":"^2.0.0"},"env":{"jest":true},"devDependencies":{"@apollo/client":"^3.4.7","@graphql-codegen/cli":"^2.0.1","@graphql-codegen/fragment-matcher":"^3.0.0","@graphql-codegen/introspection":"^2.0.0","@graphql-codegen/jsdoc":"^2.0.0","@graphql-codegen/typescript":"^2.0.0","@graphql-codegen/typescript-operations":"^2.0.1","@graphql-codegen/typescript-react-apollo":"^3.0.0","@types/jest":"^29.4.0","graphql":"^16.0.0","jest":"^29.4.1","react":"^17.0.2","ts-jest":"^29.0.5","typedoc":"^0.23.0","typescript":"^4.8.0"},"gitHead":"bde6d518ac347d59bb0cb8745d2419c5c4991690","description":"> This package assist with a basic SDK for developing applications on top of > Alpaca Travel GraphQL API via React/Apollo.","bugs":{"url":"https://github.com/AlpacaTravel/graph-sdk/issues"},"_id":"@alpaca-travel/graph-sdk-react-apollo@2.0.2","_nodeVersion":"16.15.0","_npmVersion":"lerna/6.4.1/node@v16.15.0+x64 (linux)","dist":{"integrity":"sha512-u+9rArzsstukB5yx25pzTYlEx240JYXmwZg10u6pNnXiQU3IsMHH81bWCVRLju1p0caYz4wPmwDVnBqMN5X+CQ==","shasum":"f2ffcef4dc58daa1efdef48954cb94b24e0dd879","tarball":"https://registry.npmjs.org/@alpaca-travel/graph-sdk-react-apollo/-/graph-sdk-react-apollo-2.0.2.tgz","fileCount":6,"unpackedSize":592074,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEjiSTnWlugJgRZAe0j8zgxcAC+Qm0hZwDoxfBRubgqWAiAluG8VNwUlHjzr9xIfdy/Njv8ZIf4DoL40lWr44A2vNg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0y4xACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmre4Q//RNvu43k3bSoFgnMuybFx2otqsjexO7+xKX1o8XM9U8mSwgST\r\n5O7RsS4QBiJ5GQIhx/PDX6Q+xCFHNBg9hn/711Y9jF3Hk2oELh5CPl87YWuC\r\nSns10a03F4R0KS77+zyyw9cRdzOWHI0Dm+qQy5/Q4q95oPL3esCPurf8CSHm\r\nZGx1omFhgRlj5tIdUWVRTHl/l9/qbDcW3BQo+nCnzghMGt6AoxHQVLM7ey16\r\nehuiO6gQsDjpJ/bdzEvb10Sa2YMmTp8uaqR5kFW4OD4Rh9/SzOsImPdCB/p6\r\n4yXi8JNIiQFfMNOhx5YHSsYkzis3lvxYgxyOnKYJUHsn9UrAN0hPzcRDzx9Q\r\nh+SlzPTzY8OCLRFRCHVqSB7ixt4L1WEPK46Xfy6D/Tv9qMpMS0yDtqOFWLHQ\r\nDxsF+6YqkwGMmeMQLdqQ5EYPHrj8FWeK/JjE4Csf/h0mxZ2zM5CKbcdjMvlF\r\n4P0YSgkZQh4W2bwdTZXj/Vkc4GwNyBSqObD3DC5AV3BmydPkiLC7Z9ekmdXI\r\nnhWv6aPwIXV309Rllw7ukaAcchDDLgb+z+o8/rvvJd8cD5JcY7yYV6CRiH1h\r\njeaooJl/0LzwxmjmCmxHYPv95LOvpxbJBJndY4noekjKK+/yeHhvpSFIAmVs\r\nstiKeSxvLmzN/ULiU7ke179V+Wvx5V97/94=\r\n=koKZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cammanderson","email":"cameronmanderson@gmail.com"},"directories":{},"maintainers":[{"name":"cammanderson","email":"cameronmanderson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graph-sdk-react-apollo_2.0.2_1674784305450_0.20231467784661405"},"_hasShrinkwrap":false},"2.0.3":{"name":"@alpaca-travel/graph-sdk-react-apollo","version":"2.0.3","author":{"name":"Tom Manderson","email":"tom@alpaca.travel"},"homepage":"https://alpacatravel.github.io/graph-sdk/packages/react-apollo/","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","license":"MIT","repository":{"type":"git","url":"git://github.com/AlpacaTravel/graph-sdk.git"},"scripts":{"test":"jest","build:typedoc":"rm -rf docs && node doc-generator.js && typedoc src/index.ts --readme api.md --out docs","docs":"npm run build:typedoc","build":"npm run tsc","prepublishOnly":"npm run tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","graphql-codegen":"graphql-codegen --config codegen.yml","clean":"rm -rf dist && rm -rf docs"},"peerDependencies":{"@apollo/client":"^3.4.7","graphql":"^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0","graphql-tag":"^2.0.0"},"env":{"jest":true},"devDependencies":{"@apollo/client":"^3.4.7","@graphql-codegen/cli":"^2.0.1","@graphql-codegen/fragment-matcher":"^3.0.0","@graphql-codegen/introspection":"^2.0.0","@graphql-codegen/jsdoc":"^2.0.0","@graphql-codegen/typescript":"^2.0.0","@graphql-codegen/typescript-operations":"^2.0.1","@graphql-codegen/typescript-react-apollo":"^3.0.0","@types/jest":"^29.4.0","graphql":"^16.0.0","jest":"^29.4.1","react":"^17.0.2","ts-jest":"^29.0.5","typedoc":"^0.23.0","typescript":"^4.8.0"},"gitHead":"7a3ddbf00383088660f39276196a7bf14b7d6e5b","description":"> This package assist with a basic SDK for developing applications on top of > Alpaca Travel GraphQL API via React/Apollo.","bugs":{"url":"https://github.com/AlpacaTravel/graph-sdk/issues"},"_id":"@alpaca-travel/graph-sdk-react-apollo@2.0.3","_nodeVersion":"16.15.0","_npmVersion":"lerna/6.4.1/node@v16.15.0+x64 (linux)","dist":{"integrity":"sha512-pSY5yOi3GwJ5XpFHBQnU3nxbC3n7AwB4p7e3VktqdUyMGm14UALLc7QGMzhQUsPwxkV/s5qECi8vfx/cyXU1uA==","shasum":"9fbeb687455307680fbd95ea022cbeba900f7577","tarball":"https://registry.npmjs.org/@alpaca-travel/graph-sdk-react-apollo/-/graph-sdk-react-apollo-2.0.3.tgz","fileCount":6,"unpackedSize":589712,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHWulwxZbD+3+b3omkqbzGo8kcmn1hiKCOYgD3IDQKxlAiA0nMIzXO1m781HqVu9/VYhPM/4wSvPhLLG4ycfz8XQ2Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0y92ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqG3A//Q77uL0feuZ0tDTiNSSDGRYqUTpEMPGJOfzY7F0BIqypA7hAM\r\nndMoGoKlR9UWWOUELHwpmVrh8tVzPlRDM/oKcM22DoJZ7mt8qM6JHJLKBEhK\r\ndJ8zuSeOXxZpkjcLeRdA/GgqorrffWtEkJhmunnwYA+fOgmubUC9dD6aqVA7\r\nRQEZmxPXSJO4sScj3Sw1g3ywxkf6SridUmSz3OmzbnpcSM9+st/VMnJiVfN6\r\nl/Z0EhC1M1kePtEnhcQWcKT0Hv3NAbbHlPJqAA7K9eHBNTiqYJj6OyGHi3fk\r\nRJBo8Nvv4bSKG7T3vljQ2GwgHlvKdBXq6qE0WwO9NqhpOBmND5FXPj0+z2bI\r\nDz2OXMvMcgOivA41cfp79ZWGruVJZZ+UJwF1qVhWimBDHUB3px0v5UjjcCtH\r\naPmR5Nk7j3s/p2183TMvIeEBe0MVocurlEKpBl/KFWMA7vF5tsARDnvU2iq4\r\nhl69IbCYCEumzWK6uclgMY9gV316/gyF1vUvhGqYUenHQk8nfbkhH8Yv9K6l\r\nt9DPfljgJuDXfgw1thE6YKDG9QoUmi8PAj+R1/QXscF68fVd4jJ7q9bYO6Id\r\nbiERFlqlvBQgRlHRsrxtpfC0nYDc+cf11n584oIhdZYVRDrIeGV3yIoTPlQx\r\nJSgk0PPRejXNzU867vAKGJPdepv6E/SXV1Y=\r\n=5Ssx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cammanderson","email":"cameronmanderson@gmail.com"},"directories":{},"maintainers":[{"name":"cammanderson","email":"cameronmanderson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graph-sdk-react-apollo_2.0.3_1674784630511_0.530416729011411"},"_hasShrinkwrap":false},"2.1.0":{"name":"@alpaca-travel/graph-sdk-react-apollo","version":"2.1.0","author":{"name":"Tom Manderson","email":"tom@alpaca.travel"},"homepage":"https://alpacatravel.github.io/graph-sdk/packages/react-apollo/","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","license":"MIT","repository":{"type":"git","url":"git://github.com/AlpacaTravel/graph-sdk.git"},"scripts":{"test":"jest","build:typedoc":"rm -rf docs && node doc-generator.js && typedoc src/index.ts --readme api.md --out docs","docs":"npm run build:typedoc","build":"npm run tsc","prepublishOnly":"npm run tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","graphql-codegen":"graphql-codegen --config codegen.yml","clean":"rm -rf dist && rm -rf docs"},"peerDependencies":{"@apollo/client":"^3.4.7","graphql":"^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0","graphql-tag":"^2.0.0"},"env":{"jest":true},"devDependencies":{"@apollo/client":"^3.4.7","@graphql-codegen/cli":"^2.16.4","@graphql-codegen/fragment-matcher":"^3.3.3","@graphql-codegen/introspection":"^2.2.3","@graphql-codegen/jsdoc":"^2.3.6","@graphql-codegen/typescript":"^2.8.7","@graphql-codegen/typescript-apollo-client-helpers":"^2.2.6","@graphql-codegen/typescript-document-nodes":"^2.3.12","@graphql-codegen/typescript-operations":"^2.5.12","@graphql-codegen/typescript-react-apollo":"^3.3.7","@types/jest":"^29.4.0","graphql":"^16.0.0","jest":"^29.4.1","react":"^17.0.2","ts-jest":"^29.0.5","typedoc":"^0.23.0","typescript":"^4.8.0"},"gitHead":"e6e785b274f5558dfc0f5b9c7c2e9d176c29096d","description":"![npm](https://img.shields.io/npm/v/@alpaca-travel/graph-sdk-react-apollo)![npm bundle size](https://img.shields.io/bundlephobia/minzip/@alpaca-travel/graph-sdk-react-apollo)![NPM](https://img.shields.io/npm/l/@alpaca-travel/graph-sdk-react-apollo)![npm t","bugs":{"url":"https://github.com/AlpacaTravel/graph-sdk/issues"},"_id":"@alpaca-travel/graph-sdk-react-apollo@2.1.0","_nodeVersion":"16.15.0","_npmVersion":"lerna/6.4.1/node@v16.15.0+x64 (linux)","dist":{"integrity":"sha512-U5fEC8/QAWdYRbPEH0laOzkira7Idr7jKY2zRyh8fG0CBJC2z4BFRRgp+XIuDravAqwK0fMslb2HMP8u4a60JA==","shasum":"96259dde139015600d8f48057fc509c3de366a0a","tarball":"https://registry.npmjs.org/@alpaca-travel/graph-sdk-react-apollo/-/graph-sdk-react-apollo-2.1.0.tgz","fileCount":6,"unpackedSize":716865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF1i2bewPsRP5UlIE0mdS0qU2egfVR9RZ1Fn9WYDKCvDAiAyCy8psX1seEnWN+YO8HybDZ+5gBpm8783JU/Z+2/wTg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1usIACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphAw/7BApp7jk6IELcqIENSpJA5Yp+qVFpc6e9QhuYCKq2MOFwBORn\r\nWMXvtWslS6i0ynXptuJnJ3JLcw3rZk52TNbgZMvYJ+YDMVkVe12MPrmTyDcQ\r\nQgzLqkfHBfqmBJGk3yvJuQItGq1HyTKUZwj3XWCG35Q0o+mccNNyuDdgdcyJ\r\ngH1fSGOwwdM+MAvEDyr3EsgffRNrjHdvlNVVnp0HSXIiHeuzLhRIjGlOQ6a0\r\najAPD68f850mm0yCHVtxYLx8po8H0FEe7Xyh+kCbrdrAQ5UxH9NJkcpenDZR\r\nYKPnmrRAkTRPqwGLOQm8UIh0dy50KQhS1faswQ13encthnxFWao/2JP2WD2g\r\nZ+JJQ8nGRbMSeWPivAAZAdVzzfIYQjS+R5vcMK7puRKGrA3vzRFqVnT9SV3h\r\npcTR+ty9kbQLGAJ00NH2kqTsa46OaBc5qbNsWDUzDKqO+0nZCQr+HsxVrksq\r\ndmC6VV0xPGg4Q3Veg0miMbyLK30WbuO5Kmfk77NAIPRZQZfOQkbf07GjrBwU\r\nHV0zOtK/bg3/cTD9Ith8yb12QLJmAGefqJw7KxAakSlj0hLqqLI6VSTZFM9p\r\nHUgJ1PBBcr3VxzLrS+saFBWF85zU/jlcEKZXa4uUZl1C3k+h/PxJHD1BLVrY\r\nlh+UkD8Tg0YZzWIQz3VJC8WrvzA6LoirUmQ=\r\n=0RnT\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cammanderson","email":"cameronmanderson@gmail.com"},"directories":{},"maintainers":[{"name":"cammanderson","email":"cameronmanderson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graph-sdk-react-apollo_2.1.0_1675029256570_0.5099273112476008"},"_hasShrinkwrap":false},"2.1.5":{"name":"@alpaca-travel/graph-sdk-react-apollo","version":"2.1.5","author":{"name":"Tom Manderson","email":"tom@alpaca.travel"},"homepage":"https://alpacatravel.github.io/graph-sdk/packages/react-apollo/","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","license":"MIT","repository":{"type":"git","url":"git://github.com/AlpacaTravel/graph-sdk.git"},"scripts":{"test":"jest","build:typedoc":"rm -rf docs && node doc-generator.js && typedoc src/index.ts --readme api.md --out docs","docs":"npm run build:typedoc","build":"npm run tsc","prepublishOnly":"npm run tsc","tsc":"tsc -p tsconfig.json && tsc -p tsconfig-cjs.json","graphql-codegen":"graphql-codegen --config codegen.yml","clean":"rm -rf dist && rm -rf docs"},"peerDependencies":{"@apollo/client":"^3.4.7","graphql":"^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0","graphql-tag":"^2.0.0"},"env":{"jest":true},"devDependencies":{"@apollo/client":"^3.4.7","@graphql-codegen/cli":"^2.16.4","@graphql-codegen/fragment-matcher":"^3.3.3","@graphql-codegen/introspection":"^2.2.3","@graphql-codegen/jsdoc":"^2.3.6","@graphql-codegen/typescript":"^2.8.7","@graphql-codegen/typescript-apollo-client-helpers":"^2.2.6","@graphql-codegen/typescript-document-nodes":"^2.3.12","@graphql-codegen/typescript-operations":"^2.5.12","@graphql-codegen/typescript-react-apollo":"^3.3.7","@types/jest":"^29.4.0","graphql":"^16.0.0","jest":"^29.4.1","react":"^17.0.2","ts-jest":"^29.0.5","typedoc":"^0.23.0","typescript":"^4.8.0"},"gitHead":"f70985a5acfd7439a48c0de89cc6ae59b17eaf75","description":"![npm](https://img.shields.io/npm/v/@alpaca-travel/graph-sdk-react-apollo)![npm bundle size](https://img.shields.io/bundlephobia/minzip/@alpaca-travel/graph-sdk-react-apollo)![NPM](https://img.shields.io/npm/l/@alpaca-travel/graph-sdk-react-apollo)![npm t","bugs":{"url":"https://github.com/AlpacaTravel/graph-sdk/issues"},"_id":"@alpaca-travel/graph-sdk-react-apollo@2.1.5","_nodeVersion":"16.15.0","_npmVersion":"lerna/6.4.1/node@v16.15.0+x64 (linux)","dist":{"integrity":"sha512-A+twylsGC8vHCrQiKZidqOfeJ8Ehuc4Ag8ePXwiGeGkQb8hSyiM/A+0j+PYKNyLgrpwlwnZAo2SUTIhCSOFRTw==","shasum":"4aba4f89f487ba9a0d9498b7e4c123668d901451","tarball":"https://registry.npmjs.org/@alpaca-travel/graph-sdk-react-apollo/-/graph-sdk-react-apollo-2.1.5.tgz","fileCount":6,"unpackedSize":716597,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEyh6AM5JcyNG0dmGwe68FqguAP7ZpVkPubc7GxKoLnTAiBMVKZaAUeq3Vq2+H2aVn/RSrjcG051BmwlrNw15PHWnw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2H9WACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmql6w//QNlNXrbnlY90F31qtvFSvmt0ioillmrUnWInaAe5qNwFWsHa\r\nqkBIG8M3u7SC6BtKQT5deg59+EtPlmh4AbeU5KIHz557RvP8G6omEcP+dEqc\r\n1T/GuoqKBltKBlQlfclcSO2GCvCpfQ4l+Cd0YQ3wjpF4Lj1fij3xnD0vmSn+\r\nR2g7NamxNrNWfPRLUz5vYC3mofHiwQ7uLwJ4NnGjOLYkCMAS8x94vibxegjl\r\n31lBt2dCOiWnjLrbDaOq4Zx2/JHG87f1v7gku4J8qE+83CQV0sqUEJCsqtfj\r\nWDut6Qw115PYRIfBhrE+lTveaciu0n1lsxSTbXXuKlap3mQmO6Hbtg4KNHAn\r\nIdFnAdJRTffvySluIMh0QMvZz/QRV4EoclaGwEpUy43QT89CSQ5KNAT2t480\r\nmioKfYsH+/LdozbvDbYkBewoSAdh8jUzzCtwk3QZ7uGrWtiDwApYc3pcPEkk\r\nYTi/VkkMlaxBK5iFikyxS19iVk0hfM/In10afmwlIR6DrjHUV45JLmetRRUP\r\nzk84k5zTZt2PTdJWW/fAfjYIY4DLqOi36WzhkxZlttuTA7LAEUR8Qucdy28m\r\n83VKv/ksEe4D0BQ1esZgkrA9UyxtMlOWUMa4RppOUe99bTvC5l+Vy2YTpyA5\r\njhvn8fkPizW4vLccHy0bVs9BF3RhwwKCGww=\r\n=9HWk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"cammanderson","email":"cameronmanderson@gmail.com"},"directories":{},"maintainers":[{"name":"cammanderson","email":"cameronmanderson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graph-sdk-react-apollo_2.1.5_1675132758180_0.7509629834686826"},"_hasShrinkwrap":false}},"maintainers":[{"name":"cammanderson","email":"cameronmanderson@gmail.com"}],"description":"![npm](https://img.shields.io/npm/v/@alpaca-travel/graph-sdk-react-apollo)![npm bundle size](https://img.shields.io/bundlephobia/minzip/@alpaca-travel/graph-sdk-react-apollo)![NPM](https://img.shields.io/npm/l/@alpaca-travel/graph-sdk-react-apollo)![npm t","homepage":"https://alpacatravel.github.io/graph-sdk/packages/react-apollo/","repository":{"type":"git","url":"git://github.com/AlpacaTravel/graph-sdk.git"},"author":{"name":"Tom Manderson","email":"tom@alpaca.travel"},"bugs":{"url":"https://github.com/AlpacaTravel/graph-sdk/issues"},"license":"MIT","readme":"# React and Apollo SDK for Alpaca Travel\n\n![npm](https://img.shields.io/npm/v/@alpaca-travel/graph-sdk-react-apollo)![npm bundle size](https://img.shields.io/bundlephobia/minzip/@alpaca-travel/graph-sdk-react-apollo)![NPM](https://img.shields.io/npm/l/@alpaca-travel/graph-sdk-react-apollo)![npm type definitions](https://img.shields.io/npm/types/@alpaca-travel/graph-sdk-react-apollo)\n\nThe Alpaca Travel platform offers a GraphQL API that provides developers with\neasy access to itinerary content for use in interactive applications and user\ninterfaces. It includes features such as itinerary management, guide and\ndirectory creation, location search, and place information loading to enhance\nthe functionality of travel-related applications and websites.\n\n> Simplify integration of Alpaca Travel GraphQL API into React and Apollo-based\n> projects using pre-built functionality and type-safe hooks.\n\nThe\n**[@alpaca-travel/graph-sdk-react-apollo](https://www.npmjs.com/package/@alpaca-travel/graph-sdk-react-apollo)**\npackage is an npm package for developers who are using React and Apollo GraphQL\nto build travel-related websites and applications. The package includes an SDK\nthat utilizes Apollo clients to connect to the Alpaca Travel GraphQL API,\nproviding developers with a prebuilt set of standard functionality without the\nneed to write their own GraphQL operations.\n\nAdditionally, the package includes examples of how to use code generation to\nconstruct type-safe hooks based on the Alpaca Travel GraphQL schema, which can\nassist in validating operations and simplifying integration. This package may be\nuseful for developers who are looking to efficiently integrate the Alpaca Travel\nGraphQL API into their React and Apollo-based projects.\n\n- [NPM Package](https://www.npmjs.com/package/@alpaca-travel/graph-sdk-react-apollo)\n- [SDK API Documentation](https://alpacatravel.github.io/graph-sdk/packages/react-apollo/docs)\n- [Alpaca Travel GraphQL Documentation](https://github.com/AlpacaTravel/graphql-docs)\n- [Alternative SDK Versions](/README.md)\n\n## Setup\n\nThis SDK is for applications or websites that are built using React along with\nthe Apollo Client.\n\nThis guide assumes that you have you React application already installed and\nrunning.\n\n- Create a production website with [Next.js](https://nextjs.org/), or\n- Create a new React project locally with\n  [Create React App](https://reactjs.org/docs/create-a-new-react-app.html), or\n- Create a new React sandbox on [CodeSandbox](https://codesandbox.io/)\n\n## Install dependencies\n\n### Apollo Client\n\nIf you haven't done so already, you'll also need to install the Apollo Client.\n\nApollo Client requires two top-level dependencies of `@apollo/client` and\n`graphql`.\n\n```shell\nnpm install @apollo/client graphql --save\n```\n\nFor this you can use an install like below, or refer to the\n[Apollo Client](https://www.apollographql.com/docs/react/) documentation.\n\n### Alpaca Travel React/Apollo SDK\n\nIntalling the Alpaca Travel SDK requires one top-level dependency added to the\nproject.\n\n```shell\nnpm install @alpaca-travel/graph-sdk-react-apollo --save\n```\n\nThis single package exposes a number of React hooks and GraphQL documents\nproviding the basis of the Alpaca Travel SDK.\n\n## Initialize the ApolloClient\n\nYou'll need to establish your client and provide it to the application.\n\nCreate a module called `client.js` and add the following Apollo Client\nconfiguration:\n\n```javascript\nimport { ApolloClient, InMemoryCache } from \"@apollo/client\";\nimport { typePolicies } from \"@alpaca-travel/graph-sdk-react-apollo\";\n\n// Recommend this is an environment variable\nconst ACCESS_TOKEN = \"ADD_YOUR_TOKEN_HERE\";\n\n// Create a new Apollo Client\nconst client = new ApolloClient({\n  // Substitute in your API Key\n  uri: `https://withalpaca.com/api/graphql?accessToken=${ACCESS_TOKEN}`,\n  cache: new InMemoryCache({ typePolicies }),\n});\n```\n\n- `uri` specifies apollo to connect to the Alpaca Travel GraphQL endpoint\n- `cache` is an instance of `InMemoryCache`, which Apollo client uses to cache\n  results after fetching them.\n\nRemember to update the code with your Access Token.\n\nPass the InMemoryCache instance the value of `typePolicies` exported from the\nSDK, which helps configure the cache to understand how to handle SDK\nfunctionality, such as relay style cursor pagination.\n\nSee More:\n\n- Alpaca Travel GraphQL API\n  [Token Authorization](https://github.com/AlpacaTravel/graphql-docs/tree/master/topics/graphql/Token%20Authorization)\n- Alpaca Travel GraphQL API\n  [Apollo Client](https://github.com/AlpacaTravel/graphql-docs/tree/master/topics/javascript/react/Apollo%20Client)\n  Topic\n\n## Connect your client to React\n\nIn your application component, you can provide the Apollo Client to wrap your\napplication using the `ApolloProvider`.\n\nWe suggest putting the `ApolloProvider` somewhere high in your app, above any\ncomponent that might need to use the SDK.\n\n```javascript\nimport React from \"react\";\nimport { ApolloProvider } from \"@apollo/client\";\n\n// Import the client from above\nimport client from \"./client\";\n\nfunction App() {\n  return (\n    <ApolloProvider client={client}>\n      <h2>My first Apollo app 🚀</h2>\n    </ApolloProvider>\n  );\n}\n\nexport default App;\n```\n\n## Fetch data with the SDK\n\nThe below provides an example of using the 'getItinerary' SDK query, which is\nexposed as `useGetItineraryQuery`. You also have access to variations, such as\nlazy loading.\n\n```javascript\n// Import the SDK function\nimport * as alpaca from \"@alpaca-travel/graph-sdk-react-apollo\";\n\nfunction MyComponent() {\n  // Leverage an SDK function as a hook\n  const [data, loading, error] = alpaca.useGetItineraryQuery({\n    variables: {\n      id: \"itinerary/123\",\n    },\n  });\n\n  // Loading state...\n  if (loading) {\n    return <>Loading...</>;\n  }\n\n  // Use Error Boundary for error handling\n  if (error) {\n    throw error;\n  }\n\n  // Use the data how you want\n  return (\n    <>\n      <h3>{data.itinerary.title}</h3>\n      <p>Locations: {data.itinerary.locations.totalCount}</p>\n    </>\n  );\n}\n```\n\n## Setup Code Example Reference\n\nYou can refer to this\n[CodeSandbox example](https://codesandbox.io/s/alpaca-travel-typescript-sdk-react-apollo-e958zh?file=/src/App.tsx)\nwhich shows a React v18 application using Apollo to query the Alpaca Travel API\nvia the SDK.\n\n## SDK API Documentation\n\nThe capabilities of the API are documented using typedoc.\n\nSee\n[API Documentation](https://alpacatravel.github.io/graph-sdk/packages/react-apollo/docs)\n\n## Extending the SDK Functionality\n\nYou have options on how you would like extend your queries.\n\n- Use the Apollo `useQuery` or `useMutation` from Apollo Client and refer to the\n  [Alpaca Travel GraphQL documentation](https://github.com/AlpacaTravel/graphql-docs)\n  for example operations\n- Write your GraphQL documents and leverage `graphql-codegen` to generate your\n  apollo hooks\n\nAs an alternative option, you can review this package for a reference of\nimplementating your own SDK modifications.\n\n### Using Apollo `useQuery`\n\nApollo makes it easy for you to create your own GraphQL documents that connect\nto Alpaca and then execute your queries and mutations.\n\n```javascript\nimport { gql, useQuery } from \"@apollo/client\";\n\nconst GET_AUTHORIZED_PROFILES = gql`\n  query getAuthorizedProfiles($first: Int!) {\n    authorizedProfiles(first: $first) {\n      nodes {\n        id\n        __typename\n        name\n      }\n    }\n  }\n`;\n\nfunction Profiles() {\n  const { loading, error, data } = useQuery(GET_AUTHORIZED_PROFILES, {\n    first: 10,\n  });\n\n  if (loading) return null;\n  if (error) return `Error! ${error}`;\n\n  return (\n    <ul>\n      {data.authorizedProfiles.nodes.map((profile) => (\n        <li key={profile.id}>{profile.name}</li>\n      ))}\n    </ul>\n  );\n}\n```\n\n- See [Apollo Queries](https://www.apollographql.com/docs/react/data/queries/)\n- See\n  [Apollo Mutations](https://www.apollographql.com/docs/react/data/mutations/)\n\n### Using `graphql-codegen` in your project\n\nYou can leverage the tool `graphql-codegen` in order to generate additional\nhooks and capability for your application.\n\nThis has the benefit of validating your GraphQL operations against the Alpaca\nTravel GraphQL schema, and can generate associated types that can help\ndevelopment.\n\nInstall graphql-codegen and the related libraries to your project (Assumes\ntypescript):\n\n```shell\nnpm install -D @graphql-codegen/cli @graphql-codegen/fragment-matcher @graphql-codegen/introspection @graphql-codegen/jsdoc @graphql-codegen/typescript @graphql-codegen/typescript-operations @graphql-codegen/typescript-react-apollo\n```\n\nSee the\n[graphql-codegen configuration](/packages/react-apollo/codegen-typescript-example.yml)\nfor an example of the configuration used for generating out the SDK.\n\n1. Copy the `codegen-typescript-example.yml` file as `codegen.yml` in your\n   workspace\n2. Create the folder in `src/graphql` and place in your graphql operations\n3. Add the script `\"graphql-codegen\": \"graphql-codegen --config codegen.yml\"` to\n   your package.json \"scripts\" section\n4. Run `npm run graphql-codegen` to generate your own `src/graphql/index.ts`\n   file\n\nThe benefit of using graphql-codegen is that your Typescript types will be\ncreated, as well as providing the API surface for you to call without embedding\nyour GraphQL queries/mutations within the component.\n\n# Further Reading\n\n- [Alpaca GraphQL JavaScript SDK](/README.md)\n- [Alpaca GraphQL API Documentation](https://github.com/AlpacaTravel/graphql-docs)\n","readmeFilename":"README.md"}