{"_id":"@apollo/utils.withrequired","_rev":"17-78b90f161e06ea4fb1c67954fa0dbfd1","name":"@apollo/utils.withrequired","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"@apollo/utils.withrequired","version":"1.0.0","keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/utils.withrequired@1.0.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"dist":{"shasum":"d1edb01aff533f9e0c14123ab72b3842714a46f5","tarball":"https://registry.npmjs.org/@apollo/utils.withrequired/-/utils.withrequired-1.0.0.tgz","fileCount":10,"integrity":"sha512-wmsGhLTMzaEYsjjSXwP3rdsmwsEONs1Cw5FbSUplRYY53mnYexCV/5xsFhcZFn9yFjARQE0uS8glsPvrDxgabA==","signatures":[{"sig":"MEQCIGz2pKPCXtFRMGwZ89A3RfS1NRMhG8rzmpiFd+LtDmVmAiBOR1Dh9CKDXeGTIVGbzchdXQ5vAEIq7Sl0wIS60suIrg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3594,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioigsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoG9g//bDDI2v8vC7QlIp3cNpAS+tMnE2NmDcoUT+ZDVs0vGvJfwswt\r\nHVrKnGkeQ/MDc5mgNvIVzrcFmOt4BlkGiEUVCa+Q4JS6St0fwdQZm3bMPHjJ\r\nZ0Qh7P9o/0M96zqHj67vJeW/rbAu1vPbxtVahSc7auH7Aix06P8UBhadK2jY\r\neFB1k4eMy4BDi24WNhaPTd1EDnWKvxgverd4gU0w4j/uEUtiw9hrKmKWuMxc\r\nEdvnNPm7rXfHLI0brON3otg6ybG0gmRLSx9NPNAlGK39eBqZrnRt2lUZ/j1o\r\nSyxQpIDzxMZgIED6ZkGYyfZl9xb+Nk15GSizjOJjHFJ+cGvejkJ2vo/byU9/\r\nDuE1j6Cf6xQYJq8EdjbG1FDyTqZ2nH6ELHAFWy03mg9nDXvh6zfmw1qZu/3t\r\nJ9GSMeV12ThWwrcdxSimEN5jM/X2672ohNkytTBcY5elwKFUGMTMM0fYv6HX\r\nwzn4xgCtFxK6HCZ7UEy+hIdKxX11Tri2JsTc4k8vPHzt/faHKvagbpqrc5a+\r\nYP8/Q2pvI17YVOxXq50HfVIOLM0yNnTGeRGzKsbE3sdgiZbBop5cFW0xX8Fc\r\nUFyvNGBPFI4cFSrbr444Onp8nEZU4TDMPKb+XLQsQQiBnk3/pRVMsMCbs1z1\r\nGCjKBtFNG6AdQKAeTXuiYWE55VUCPi9bu+U=\r\n=0PmE\r\n-----END PGP SIGNATURE-----\r\n"},"types":"dist/index.d.ts","gitHead":"f6f1c0f2199b573b4d6f6c7542580f27e6def44a","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/withRequired/"},"_npmVersion":"8.5.0","description":"TypeScript utility type WithRequired","directories":{},"_nodeVersion":"16.15.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/utils.withrequired_1.0.0_1654794284060_0.8428456203087757","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@apollo/utils.withrequired","version":"1.0.1","keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/utils.withrequired@1.0.1","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"dist":{"shasum":"7718b2edc87e35c65411cd4069694a33b8db9508","tarball":"https://registry.npmjs.org/@apollo/utils.withrequired/-/utils.withrequired-1.0.1.tgz","fileCount":10,"integrity":"sha512-5DYufeISXjz9UqtISIwte86F8ELjTrKVeXcPtdnUnV/PX+4EXUjqIp1FLJTYrCQ1a9OyFAMeCZ2QhUy1D8w7/A==","signatures":[{"sig":"MEUCICVqSr6gXEp6ns+79aeCKejUtnrSENUuDT4GQUOGm+7WAiEAmPWn+cVjXHg+b908sRhRB/FYi97bTJ5DrMxM10Hhzdw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3559,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTe/vACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrBtQ//QK48LpsbMEZ0HRIznl45O01PmKCdxNvYII23K3ZLm3ut1bIp\r\nxwZL30AZby1a7Lfulkm2JjyMhlHbwhwrJNbrzcjf9iXF7/1bDWAOj3GO1aCb\r\nuaADxk+a2FXQjTbYiult+KoeWeR4Pp8NlGeaE6HdGcNcrxr4Nr3hhnLIJsQI\r\n1U7+S2joKCIydIdiMmwZ8yRipj5LKAWXBi4yp7FqIx4GWDqPl5gSfpxZybxR\r\n8D0M52RrVK6DkJ/oDlLdYmMcOa1oSBlB3rcJJEzI7KhF1gkKxfjFhMngTQXa\r\ngcFJ3BtmouzMAVbCLOE19exu8E+ozbhHwbwVzzr7ectzMgY+4uF6mEKWuJ9N\r\nXU+/qqCQIZNyhAXSc1YK/cAhsl3l7mf3SdAKLN34jeLv5iriakFWqoFAOsFN\r\nrbptAG4nzm3GECuoNAG/ZVpz29/tN3O2q2vSaJSUJtigh6WWrFeqrVRPywEY\r\nw3bCOca4hFFm61khTzkQR63Zc8B82P5gcYx+Q32BBEu8JecpKo69a6qwa8wn\r\nMDG3vV6hxMVD2WnphsEx2Xl91Oku2aeg0rb1oeqhVNSbgge/T9Bs7Rv5B+da\r\nC52BCw8Tg7TS6hg5l7CjDcMYVDw3qBFEiaZigvD3PcfWoL3xazXcK0OOybM4\r\nZQOtGl39E0F9i0dhHo02gFDixVBg55VJ8q4=\r\n=EHeo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"","types":"dist/index.d.ts","gitHead":"f169ad777a98b155f5517e8af2cac0c93747634e","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/withRequired/"},"_npmVersion":"8.5.0","description":"TypeScript utility type WithRequired","directories":{},"_nodeVersion":"16.17.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/utils.withrequired_1.0.1_1666052079038_0.5636112015705408","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@apollo/utils.withrequired","version":"2.0.0","keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/utils.withrequired@2.0.0","maintainers":[{"name":"glasser","email":"glasser@apollographql.com"},{"name":"trevor.scheer","email":"trevor.scheer@gmail.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"dist":{"shasum":"f39340f7b621b214d7a063b8da3eab24a9b7b7e8","tarball":"https://registry.npmjs.org/@apollo/utils.withrequired/-/utils.withrequired-2.0.0.tgz","fileCount":10,"integrity":"sha512-+djpTu6AEE/A1etryZs9tmXRyDY6XXGe3G29MS/LB09uHq3pcl3n4Q5lvDTL5JWKuJixrulg5djePLDAooG8dQ==","signatures":[{"sig":"MEUCID8rgGT4Ufk7By1UlTHzbObsO+ucVJ24UT5Ej5hInPdBAiEA3vb6f2qY35sI+DaezRtA3JWI9V6rDAZQRh3BJr3dGDk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3598,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjd70CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoB1Q/5AG5xQ/gAcVb9k/cGioeRTIscHgEolD1Hsg2BkA/MIU+hbf+y\r\nUL+lP70nsepHl84yFyoVcTNWW49vu9/Q5eS76FPRUxYlL0Skgf1IvctdSeCq\r\nxBwVbZhsKpgI45SWz2D9DEpXYIqh9/3en/9SnvXVE3dku0shfXtUWx/+qm/C\r\nyhthTZdc7J3ufUvpd2SIQRoQqxvucPJQ5q7rkTCBqBecI48GM+VhJ/piqI2y\r\nyqcsbrjBKUadxar9O/TSBkbQtQtF1JqJvw1hF73AzGMEA36irF8Gv4DhCWct\r\nVxOaOcNt9ud0HuIJIxCsh1ukZMO3enBBhPCnsSW10Zw2NLub92jfO6zen6b2\r\n/Kjz3DM6l/BCQgTA7kgJgbr7vQa8jJ03VWc0nk7XxvgwMMGwsooLrl99Uzh2\r\n2PE69NEXuNaOmrY7JXNQv2LXMBs/raY0uXfsVQ5O/RKOdRZu3lgkCfXDcAXU\r\nIkKQk/I522xd2lqUxZxbIGEH63PlhH5ydA+JU5gm5zE9hd9PS/0D4Y7eQGRu\r\nAqYNCcSRQEeIf9/O+io41AJBRbuCQMpJGO6+MdsEdvptVFv+T6lkcvutPC1o\r\npBF+tNgnNhwu7+kcieXOT5A5qTOhZ9tS0LCeCoRj9T98VOH1Lw/WfmTG1abU\r\nbs46j1v2Qotz8PUtikBIE2K6JuZaqh339Uw=\r\n=0Kba\r\n-----END PGP SIGNATURE-----\r\n"},"main":"","types":"dist/index.d.ts","engines":{"node":">=14"},"gitHead":"a81b88047ea1213c08fec8530e6ab9c30d03ce59","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/withRequired/"},"_npmVersion":"8.5.0","description":"TypeScript utility type WithRequired","directories":{},"_nodeVersion":"16.18.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/utils.withrequired_2.0.0_1668791554458_0.012717894068164703","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@apollo/utils.withrequired","version":"2.0.1","keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/utils.withrequired@2.0.1","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"}],"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"dist":{"shasum":"e72bc512582a6f26af150439f7eb7473b46ba874","tarball":"https://registry.npmjs.org/@apollo/utils.withrequired/-/utils.withrequired-2.0.1.tgz","fileCount":10,"integrity":"sha512-YBDiuAX9i1lLc6GeTy1m7DGLFn/gMnvXqlalOIMjM7DeOgIacEjjfwPqb0M1CQ2v11HhR15d1NmxJoRCfrNqcA==","signatures":[{"sig":"MEYCIQDjEhugFETaWxmiBlzymvh8imhxAnqrBsoNFux1aXxwQQIhAKa7cnVvDJljOjRJRgnV3VfGNgWlAdZ4p+TlunSVI/uv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3594,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKyZ6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrlCQ/9FBncOjtFIuU7JGXm7/i/CHoBh3ST9MaqAZhYX8/honfhKB/R\r\nJmbkzAQuoKylDPcyjlvymXtsF4q32BR7tDKgTwi0VWnW1xeSnIvBvx94JOc4\r\nKWOJggSh4EG4QvEh8gJbkZLzu7GP6bgUA1uqw65RJNMvs4rXvF1BeQpHGWun\r\nZXZ5t32Gx+5US8czd1VQCB7TYzRJ8vLKQVU1TR0Vz+xzbSuYpipZ2Gurgv2+\r\nfY4+tjRLEBMAcEJ3FjSQqlHMzHwGPEdQCocrhtVrWnxF6gUByaVNPmwZYuKN\r\nDWdYAvrE1ITUm1n/oZczTDElRjHUdKmPwWbBtxuUFmMmG9qHmrtv3F1eu+WN\r\nkfR5taBGLLXKWzgZn1Fo0JJPy/zfzQ7cLYMA/XzZ+9PfbFkhvjBDDClsJ3o4\r\ndFVTRca+FMk58PlITMdwg8XskauVTAbPyLh9wce0StqBlJXM+ZNAir0MN0mh\r\n6AzOEQM6y9ZveLGU2bxNg734TGdLblSvrOYVlakVT3OuCoOVCG4Y4oPy0kYt\r\n0KsoyyqaLvWG3PpCa4N3GkM52SNE0hpDBIEOZ0kF36dQEn1/HrBSRgwmKmz8\r\nUP16crN+cVzme58pwFg3h8umBFAlUwqKRJBhL6DlhVdt2OoJMCTzFXL65PyA\r\nVCXyQENS2I4Hg7mp7D704uI7uua6MVHght0=\r\n=332j\r\n-----END PGP SIGNATURE-----\r\n"},"main":"","types":"dist/index.d.ts","engines":{"node":">=14"},"gitHead":"353e9dab31d4ce1ef286564573e93bc042e8925a","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/withRequired/"},"_npmVersion":"8.5.0","description":"TypeScript utility type WithRequired","directories":{},"_nodeVersion":"16.19.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/utils.withrequired_2.0.1_1680549498503_0.7386486204140561","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@apollo/utils.withrequired","version":"3.0.0","keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/utils.withrequired@3.0.0","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"}],"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"dist":{"shasum":"1342bab438528d09c41e43ce33cb976fa9c99e52","tarball":"https://registry.npmjs.org/@apollo/utils.withrequired/-/utils.withrequired-3.0.0.tgz","fileCount":10,"integrity":"sha512-aaxeavfJ+RHboh7c2ofO5HHtQobGX4AgUujXP4CXpREHp9fQ9jPi6K9T1jrAKe7HIipoP0OJ1gd6JamSkFIpvA==","signatures":[{"sig":"MEQCIBxHI6KGlttBK/WZfQMOlNloeyZYjMYC8s1IUyexXxaXAiARn6qF6krBIDWeglDJViyx+nqmjA/EyMhfOMdb9E+kbA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3594,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPc3qACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpkpw/+MOHSa3n5IjWqxsCvRtOn7dTOb6dkerZNii8x2et2bwbpax+G\r\nOMojfE6hhxnaoVUnrYxPQ/fpmWlo4WskraU4tOs6MeiR8al8RJlraiS59Qsy\r\n+aV7hgOSI10gB50xPqDaTOqN7/m0jkzfOLW+yn/aWiRKff0NVEhS2Wk3Oppe\r\nwp0qTFglYt2YY2BsygzvlHQWQfzzPMi0hmjFyQs5R1bDoJ3ulZsCSszvXX2m\r\nTkCNFRl7rQXIV5WjXk4BIvauD10naD/o6xLSq04DZdRI90UiNxcU+kDC17WD\r\nn8OOK2kVA59u/8KxHWES+mSKHQRiEW13FBpHbf8sJsx57Uted9JiSwwWxPSq\r\nE0vVYUc07FJaailuRUem5jK5diObpP63qXkHOxr9AVWTOwDO0ttZeaSq7pUA\r\nbB6NXr068YppBLF/K+nqK4t95c1RKszoWh8nWxBK3Kq/FtRkpPcDpH2GpRwr\r\nPE3cQnIHNj2eLFN0fhOPxskL+SrSQRaQSU0m3IwFPgKf0YHGMSgCxkOKY5BB\r\nzB8o0ng5+I2xKtLWFUGqTW8/+uIN+J6eMlrjEXIZlZxg0vsqz9/W1QWnFoko\r\n1SOrnjeEZaU3sk49O+mFn3SlVlAIYPWvJgI/rhZP0TU/VnwI8tIkPuP4XJqR\r\nthbnaBjYIzdh/TEpNkLQxExlAvMfI9G+Ek0=\r\n=GdYL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"","types":"dist/index.d.ts","engines":{"node":">=16"},"gitHead":"9b66f38f6d6097a408bc354d749ebc480ba3bbda","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/withRequired/"},"_npmVersion":"8.5.0","description":"TypeScript utility type WithRequired","directories":{},"_nodeVersion":"16.20.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/utils.withrequired_3.0.0_1681772009929_0.7551181526473334","host":"s3://npm-registry-packages"}}},"time":{"created":"2022-06-09T17:04:44.012Z","modified":"2026-01-22T17:35:15.926Z","1.0.0":"2022-06-09T17:04:44.190Z","1.0.1":"2022-10-18T00:14:39.196Z","2.0.0":"2022-11-18T17:12:34.594Z","2.0.1":"2023-04-03T19:18:18.768Z","3.0.0":"2023-04-17T22:53:30.094Z"},"bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","homepage":"https://github.com/apollographql/apollo-utils#readme","keywords":["apollo","graphql","typescript","node"],"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/withRequired/"},"description":"TypeScript utility type WithRequired","maintainers":[{"email":"glasser@apollographql.com","name":"glasser"},{"email":"dariusz_kuc@hotmail.com","name":"dkuc"},{"email":"mail@lenzw.de","name":"phryneas"},{"email":"npm@apollographql.com","name":"apollo-bot"},{"email":"npmjs@jro.cc","name":"abernix"}],"readme":"# WithRequired type\n\nThis package defines the TypeScript utility type `WithRequired`. It transforms a type that has one or more optional fields into a type where those fields are required.\n\nFor example:\n\n```\nimport { WithRequired } from '@apollo/utils.withrequired';\n\ninterface HasSomeOptionals {\n    foo: number;\n    bar?: string;\n    baz?: boolean;\n    quux?: string;\n}\n\ntype MoreRequired = WithRequired<HasSomeOptions, 'bar' | 'baz'>;\n```\n\nThe `MoreRequired` type is like `HasSomeOptionals`, but `bar` and `baz` are now required rather than optional. `quux` remains optional.\n","readmeFilename":"README.md"}