{"name":"@apollo/cache-control-types","version":"1.0.3","description":"TypeScript types for Apollo Server info.cacheControl","type":"module","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","exports":{".":{"types":{"require":"./dist/cjs/index.d.ts","default":"./dist/esm/index.d.ts"},"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-server.git","directory":"packages/cache-control-types/"},"keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"homepage":"https://github.com/apollographql/apollo-server#readme","peerDependencies":{"graphql":"14.x || 15.x || 16.x"},"volta":{"extends":"../../package.json"},"gitHead":"65a8ac86a7407a3bd5fea792e09a3053fbca0c6c","_id":"@apollo/cache-control-types@1.0.3","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-F17/vCp7QVwom9eG7ToauIKdAxpSoadsJnqIfyryLFSkLSOEqu+eC5Z3N8OXcUVStuOMcNHlyraRsA6rRICu4g==","shasum":"5da62cf64c3b4419dabfef4536b57a40c8ff0b47","tarball":"http://registry-npm.ywwl.com/@apollo/cache-control-types/download/@apollo/cache-control-types-1.0.3.tgz","fileCount":16,"unpackedSize":75611,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDpXKP6o0Ntq1DXmj89/w/wPpF3+oA1mHYxnkPTyQpCBAiEAzWVmRdBpqWu4s/JyIj12cpvSCsiJwngyWDno+aUu0zc="}],"size":15759,"noattachment":false,"key":"/@apollo/cache-control-types/-/@apollo/cache-control-types-1.0.3.tgz"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"maintainers":[{"name":"dkuc","email":"dariusz_kuc@hotmail.com"},{"name":"glasser","email":"glasser@apollographql.com"},{"name":"trevor.scheer","email":"trevor.scheer@gmail.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cache-control-types_1.0.3_1687797457295_0.2741167564024256"},"_hasShrinkwrap":false,"readme":"# Cache Control types\n\nThis package exports various TypeScript types related to Apollo Server's cache\npolicy calculation.\n\nSpecifically, it gives a type-safe way to get the `info.cacheControl` field in resolvers. Either declare your resolver's `info` argument to be of type `GraphQLResolveInfoWithCacheControl` (perhaps with the graphql-code-generator typescript-resolvers customResolveInfo option), or use the `maybeCacheControlFromInfo` or `cacheControlFromInfo` functions to extract `info.cacheControl` in a type-safe way.\n","publish_time":1687797457476,"_cnpm_publish_time":1687797457476,"dist-tags":{"latest":"1.0.3"}}