{"_id":"@bota-apps/hooks","_rev":"12-917d16cce24ace7c6f27aaa166fe6538","name":"@bota-apps/hooks","dist-tags":{"latest":"0.6.0"},"versions":{"0.2.0":{"name":"@bota-apps/hooks","version":"0.2.0","author":{"name":"bota-apps"},"license":"MIT","_id":"@bota-apps/hooks@0.2.0","maintainers":[{"name":"bota-apps","email":"imusema.hassen@icloud.com"}],"homepage":"https://github.com/bota-apps/bota-apps#readme","bugs":{"url":"https://github.com/bota-apps/bota-apps/issues"},"dist":{"shasum":"832ad5e6c2927a5f9d9b22785d006222bbcfe306","tarball":"https://registry.npmjs.org/@bota-apps/hooks/-/hooks-0.2.0.tgz","fileCount":30,"integrity":"sha512-xs9DiPULGU4BRVAI6Zttcz2VDj8L0Hefr2CvRzeRLm32nE2cO6/S6uBR7wesZnMP8jwk7APeBZm81Zf8s/Y/fQ==","signatures":[{"sig":"MEUCIQDB/QD7fTGL/8MCFg7pIm74a/Exmf2SOancZoyTonuAgQIgIgcvJKRZMWL1JH9o4ktt9D3NDiMEzZUYVPqk/O2pU4M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14761},"main":"./dist/index.js","type":"module","_from":"file:bota-apps-hooks-0.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"tsc && node ../../scripts/fixExtensions.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"bota-apps","email":"imusema.hassen@icloud.com"},"_resolved":"/private/var/folders/wp/6cc4gkfd481b73439xdrv4wm0000gn/T/3f4789b8b07ebb1df18adece40486f07/bota-apps-hooks-0.2.0.tgz","_integrity":"sha512-xs9DiPULGU4BRVAI6Zttcz2VDj8L0Hefr2CvRzeRLm32nE2cO6/S6uBR7wesZnMP8jwk7APeBZm81Zf8s/Y/fQ==","repository":{"url":"git+https://github.com/bota-apps/bota-apps.git","type":"git","directory":"packages/hooks"},"_npmVersion":"10.9.8","description":"The generic data layer for @bota-apps apps: a configured React Query client wired to the feature error tracker, the GraphQL client context/provider, and typed query/mutation pipeline wrappers. Domain hooks stay in each app.","directories":{},"_nodeVersion":"22.23.1","dependencies":{"@bota-apps/fm":"^0.2.0","@bota-apps/gql-client":"^0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.0.0","typescript":"^5.8.3","@types/react":"^19.0.0","@tanstack/react-query":"^5.62.0"},"peerDependencies":{"react":"^19.0.0","@tanstack/react-query":"^5.62.0"},"_npmOperationalInternal":{"tmp":"tmp/hooks_0.2.0_1782838695770_0.98354405058937","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@bota-apps/hooks","version":"0.2.1","author":{"name":"bota-apps"},"license":"MIT","_id":"@bota-apps/hooks@0.2.1","maintainers":[{"name":"bota-apps","email":"imusema.hassen@icloud.com"}],"homepage":"https://github.com/bota-apps/packages/tree/main/packages/hooks#readme","bugs":{"url":"https://github.com/bota-apps/packages/issues"},"dist":{"shasum":"abed12e2c708767505be96453588f1e54b8474ae","tarball":"https://registry.npmjs.org/@bota-apps/hooks/-/hooks-0.2.1.tgz","fileCount":31,"integrity":"sha512-fT/e2TydMlEyb7WdBxJYvijchJ9a7/D279Zs/pondqXVhuSziATulVudtRZWQOxrDd6JrnE0KeUJ3ZjgoQS/lw==","signatures":[{"sig":"MEUCIQCXysEa+HwIYFipl+ZOUjhAUcba8+oWz0WbgeoXmMAkJgIgG6RmZEQqXY/KPq1I0Fpo3SfxB2kcDAOS9ptYh61k+OU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16412},"main":"./dist/index.js","type":"module","_from":"file:bota-apps-hooks-0.2.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"rm -rf dist && tsc && node ../../scripts/fixExtensions.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:79719b9d-7b57-4246-927b-9de1f040db30"}},"_resolved":"/tmp/14123b694fc9431197a9737843836005/bota-apps-hooks-0.2.1.tgz","_integrity":"sha512-fT/e2TydMlEyb7WdBxJYvijchJ9a7/D279Zs/pondqXVhuSziATulVudtRZWQOxrDd6JrnE0KeUJ3ZjgoQS/lw==","repository":{"url":"git+https://github.com/bota-apps/packages.git","type":"git","directory":"packages/hooks"},"_npmVersion":"11.18.0","description":"The generic data layer for @bota-apps apps: a configured React Query client wired to the feature error tracker, the GraphQL client context/provider, and typed query/mutation pipeline wrappers. Domain hooks stay in each app.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@bota-apps/fm":"^0.2.1","@bota-apps/gql-client":"^0.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.0.0","typescript":"^5.8.3","@types/react":"^19.0.0","@tanstack/react-query":"^5.62.0"},"peerDependencies":{"react":"^19.0.0","@tanstack/react-query":"^5.62.0"},"_npmOperationalInternal":{"tmp":"tmp/hooks_0.2.1_1783061248559_0.01178064161439396","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@bota-apps/hooks","version":"0.3.0","author":{"name":"bota-apps"},"license":"MIT","_id":"@bota-apps/hooks@0.3.0","maintainers":[{"name":"bota-apps","email":"imusema.hassen@icloud.com"}],"homepage":"https://github.com/bota-apps/packages/tree/main/packages/hooks#readme","bugs":{"url":"https://github.com/bota-apps/packages/issues"},"dist":{"shasum":"9913eaf0306875279c29ce1154856bf9e50706cc","tarball":"https://registry.npmjs.org/@bota-apps/hooks/-/hooks-0.3.0.tgz","fileCount":35,"integrity":"sha512-d14MwXixIt/FGlIjfDqn9pIyIHYFOlTdWvQ1l2GFwWd4uVfNoQ/e3OZNeYCZaLlWs6xI2Ep9D9a4sh9YXGsbPw==","signatures":[{"sig":"MEUCIBXOgRBJ3c1MnQL/qK/r09uWzFdUPnhm0MhjvGrYMD2YAiEA8dpZvIvGC/URuU7EUI8tfrz6f8N9QBr9RzCEVudxVzg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18433},"main":"./dist/index.js","type":"module","_from":"file:bota-apps-hooks-0.3.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"rm -rf dist && tsc && node ../../scripts/fixExtensions.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:79719b9d-7b57-4246-927b-9de1f040db30"}},"_resolved":"/tmp/756a26516aba548cc432c81e00ba3533/bota-apps-hooks-0.3.0.tgz","_integrity":"sha512-d14MwXixIt/FGlIjfDqn9pIyIHYFOlTdWvQ1l2GFwWd4uVfNoQ/e3OZNeYCZaLlWs6xI2Ep9D9a4sh9YXGsbPw==","repository":{"url":"git+https://github.com/bota-apps/packages.git","type":"git","directory":"packages/hooks"},"_npmVersion":"11.18.0","description":"The generic data layer for @bota-apps apps: a configured React Query client wired to the feature error tracker, the GraphQL client context/provider, and typed query/mutation pipeline wrappers. Domain hooks stay in each app.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@bota-apps/fm":"^0.3.0","@bota-apps/gql-client":"^0.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.0.0","typescript":"^5.8.3","@types/react":"^19.0.0","@tanstack/react-query":"^5.62.0"},"peerDependencies":{"react":"^19.0.0","@tanstack/react-query":"^5.62.0"},"_npmOperationalInternal":{"tmp":"tmp/hooks_0.3.0_1783068186380_0.3628760794270185","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@bota-apps/hooks","version":"0.3.1","author":{"name":"bota-apps"},"license":"MIT","_id":"@bota-apps/hooks@0.3.1","maintainers":[{"name":"bota-apps","email":"imusema.hassen@icloud.com"}],"homepage":"https://github.com/bota-apps/packages/tree/main/packages/hooks#readme","bugs":{"url":"https://github.com/bota-apps/packages/issues"},"dist":{"shasum":"1af3e496ed84765bdcb90323771e883cf9903ded","tarball":"https://registry.npmjs.org/@bota-apps/hooks/-/hooks-0.3.1.tgz","fileCount":35,"integrity":"sha512-JtD1phzPv+uyuTgllAq1DiHw2Zs59OyeRh1OZbycfx0bfHoscnZYiE0r/S5s8y67pqW4XC0kXaH3nZdYeyYWyw==","signatures":[{"sig":"MEUCIQCB/z1E0e8RyZyho7GumHfTyKaecRALARxri7U7cYGzCgIgAkbHQA7S7NwjwwltyjGZvhaBmoBxcc0C1F0AIAYNghc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18433},"main":"./dist/index.js","type":"module","_from":"file:bota-apps-hooks-0.3.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"rm -rf dist && tsc && node ../../scripts/fixExtensions.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:79719b9d-7b57-4246-927b-9de1f040db30"}},"_resolved":"/tmp/18e73d8c52854144d23d7d58370008e6/bota-apps-hooks-0.3.1.tgz","_integrity":"sha512-JtD1phzPv+uyuTgllAq1DiHw2Zs59OyeRh1OZbycfx0bfHoscnZYiE0r/S5s8y67pqW4XC0kXaH3nZdYeyYWyw==","repository":{"url":"git+https://github.com/bota-apps/packages.git","type":"git","directory":"packages/hooks"},"_npmVersion":"11.18.0","description":"The generic data layer for @bota-apps apps: a configured React Query client wired to the feature error tracker, the GraphQL client context/provider, and typed query/mutation pipeline wrappers. Domain hooks stay in each app.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@bota-apps/fm":"^0.4.0","@bota-apps/gql-client":"^0.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.0.0","typescript":"^5.8.3","@types/react":"^19.0.0","@tanstack/react-query":"^5.62.0"},"peerDependencies":{"react":"^19.0.0","@tanstack/react-query":"^5.62.0"},"_npmOperationalInternal":{"tmp":"tmp/hooks_0.3.1_1783072258344_0.9640972512209831","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@bota-apps/hooks","version":"0.3.2","author":{"name":"bota-apps"},"license":"MIT","_id":"@bota-apps/hooks@0.3.2","maintainers":[{"name":"bota-apps","email":"imusema.hassen@icloud.com"}],"homepage":"https://github.com/bota-apps/packages/tree/main/packages/hooks#readme","bugs":{"url":"https://github.com/bota-apps/packages/issues"},"dist":{"shasum":"7dbf01fc4afc6ce3ee90de846cf976c504062516","tarball":"https://registry.npmjs.org/@bota-apps/hooks/-/hooks-0.3.2.tgz","fileCount":35,"integrity":"sha512-mJqJnY3taI+SAdEBUgxJTjO4YrvCBV2QFSzDL5QnliKhn39xTvSixrbR483MmI9NvIKezkE12q1XJZ7qeekbgg==","signatures":[{"sig":"MEUCIFC8k2CZnUWByJ/vNzqWIxRkn9pCaw7lqLxIyfj/CXdsAiEAqiNLxGal/YfbOlh8b/A5xjSStBtazVTnx9EYxg5/PTU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18433},"main":"./dist/index.js","type":"module","_from":"file:bota-apps-hooks-0.3.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"rm -rf dist && tsc && node ../../scripts/fixExtensions.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:79719b9d-7b57-4246-927b-9de1f040db30"}},"_resolved":"/tmp/cc817f759367c074419cfed937b4de8b/bota-apps-hooks-0.3.2.tgz","_integrity":"sha512-mJqJnY3taI+SAdEBUgxJTjO4YrvCBV2QFSzDL5QnliKhn39xTvSixrbR483MmI9NvIKezkE12q1XJZ7qeekbgg==","repository":{"url":"git+https://github.com/bota-apps/packages.git","type":"git","directory":"packages/hooks"},"_npmVersion":"11.18.0","description":"The generic data layer for @bota-apps apps: a configured React Query client wired to the feature error tracker, the GraphQL client context/provider, and typed query/mutation pipeline wrappers. Domain hooks stay in each app.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@bota-apps/fm":"^0.5.0","@bota-apps/gql-client":"^0.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.0.0","typescript":"^5.8.3","@types/react":"^19.0.0","@tanstack/react-query":"^5.62.0"},"peerDependencies":{"react":"^19.0.0","@tanstack/react-query":"^5.62.0"},"_npmOperationalInternal":{"tmp":"tmp/hooks_0.3.2_1783079408448_0.43755413848731606","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@bota-apps/hooks","version":"0.4.0","author":{"name":"bota-apps"},"license":"MIT","_id":"@bota-apps/hooks@0.4.0","maintainers":[{"name":"bota-apps","email":"imusema.hassen@icloud.com"}],"homepage":"https://github.com/bota-apps/packages/tree/main/packages/hooks#readme","bugs":{"url":"https://github.com/bota-apps/packages/issues"},"dist":{"shasum":"6e57be8647ff26a350de482ca860eea796ce0706","tarball":"https://registry.npmjs.org/@bota-apps/hooks/-/hooks-0.4.0.tgz","fileCount":39,"integrity":"sha512-F438LrJtsmpVdofD/6sGwHhDQXJewhbcOyJyXhAjp0+IGy8i2bVvCG7NzpJ1+gre/yHgFau8pql4kKZsWlprIQ==","signatures":[{"sig":"MEYCIQDyM0UuyWttDnhor+L0zLwOusl6nUEantDqzq1kHzNCpAIhALGOEWHzq7gvEttGuOuqa+huqKVlf++sQeSxHEodLTUQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29122},"main":"./dist/index.js","type":"module","_from":"file:bota-apps-hooks-0.4.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"rm -rf dist && tsc && node ../../scripts/fixExtensions.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:79719b9d-7b57-4246-927b-9de1f040db30"}},"_resolved":"/tmp/53c3bea65dbabc8b215cb42e1bcf4d61/bota-apps-hooks-0.4.0.tgz","_integrity":"sha512-F438LrJtsmpVdofD/6sGwHhDQXJewhbcOyJyXhAjp0+IGy8i2bVvCG7NzpJ1+gre/yHgFau8pql4kKZsWlprIQ==","repository":{"url":"git+https://github.com/bota-apps/packages.git","type":"git","directory":"packages/hooks"},"_npmVersion":"11.18.0","description":"The generic data layer for @bota-apps apps: a configured React Query client wired to the feature error tracker, the GraphQL client context/provider, and typed query/mutation pipeline wrappers. Domain hooks stay in each app.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@bota-apps/fm":"^0.5.1","@bota-apps/gql-client":"^0.2.1","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.0.0","graphql":"^16.9.0","typescript":"^5.8.3","@types/react":"^19.0.0","graphql-request":"^7.1.2","@tanstack/react-query":"^5.62.0"},"peerDependencies":{"react":"^19.0.0","graphql":"^16.9.0","@tanstack/react-query":"^5.62.0"},"_npmOperationalInternal":{"tmp":"tmp/hooks_0.4.0_1783119661160_0.7045749883555597","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@bota-apps/hooks","version":"0.5.0","author":{"name":"bota-apps"},"license":"MIT","_id":"@bota-apps/hooks@0.5.0","maintainers":[{"name":"bota-apps","email":"imusema.hassen@icloud.com"}],"homepage":"https://github.com/bota-apps/packages/tree/main/packages/hooks#readme","bugs":{"url":"https://github.com/bota-apps/packages/issues"},"dist":{"shasum":"0fe942196f73ec146fdee503329317bcd3813026","tarball":"https://registry.npmjs.org/@bota-apps/hooks/-/hooks-0.5.0.tgz","fileCount":39,"integrity":"sha512-W16ONnMllcO8f3YkF0fk+AgsjIYiM7D8pZVjFB22Asug2oDyvsXR7P2oOdqoc4R/ttl+fi3+01uQGakmRKqmNw==","signatures":[{"sig":"MEQCIHGxgVRKcmTsp1XzHmAeqIVmZmSxAoWYloYx/mvw37HlAiAg8mCKf8NZtu9SL0WiVkt0TX4RczPR0ZjKcc/i96ZjOQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31494},"main":"./dist/index.js","type":"module","_from":"file:bota-apps-hooks-0.5.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"rm -rf dist && tsc && node ../../scripts/fixExtensions.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:79719b9d-7b57-4246-927b-9de1f040db30"}},"_resolved":"/tmp/51bf1750e1fe5942cf3c40e87af06ac4/bota-apps-hooks-0.5.0.tgz","_integrity":"sha512-W16ONnMllcO8f3YkF0fk+AgsjIYiM7D8pZVjFB22Asug2oDyvsXR7P2oOdqoc4R/ttl+fi3+01uQGakmRKqmNw==","repository":{"url":"git+https://github.com/bota-apps/packages.git","type":"git","directory":"packages/hooks"},"_npmVersion":"11.18.0","description":"The generic data layer for @bota-apps apps: a configured React Query client wired to the feature error tracker, the GraphQL client context/provider, and typed query/mutation pipeline wrappers. Domain hooks stay in each app.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@bota-apps/fm":"^0.5.1","@bota-apps/gql-client":"^0.2.1","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.0.0","graphql":"^16.9.0","typescript":"^5.8.3","@types/react":"^19.0.0","graphql-request":"^7.1.2","@tanstack/react-query":"^5.62.0"},"peerDependencies":{"react":"^19.0.0","graphql":"^16.9.0","@tanstack/react-query":"^5.62.0"},"_npmOperationalInternal":{"tmp":"tmp/hooks_0.5.0_1783121152270_0.8741540194830668","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@bota-apps/hooks","version":"0.5.1","author":{"name":"bota-apps"},"license":"MIT","_id":"@bota-apps/hooks@0.5.1","maintainers":[{"name":"bota-apps","email":"imusema.hassen@icloud.com"}],"homepage":"https://github.com/bota-apps/packages/tree/main/packages/hooks#readme","bugs":{"url":"https://github.com/bota-apps/packages/issues"},"dist":{"shasum":"537d6635cdad3024c7aa34c402dc67cdc59ad10c","tarball":"https://registry.npmjs.org/@bota-apps/hooks/-/hooks-0.5.1.tgz","fileCount":39,"integrity":"sha512-la9DT9mzNQS834Ln9VElL4m/TYsjtubaNNJRGg/YT5mBwMrW6XXYwP9pEYZ2Mnf/3vS7RLeyy+aK0W+An71Ivw==","signatures":[{"sig":"MEUCIHxM30+PXIY9MuthClzVnMqMncBTutaFZPMErEyCFnlqAiEA8mF13r1kOROH5ERKE/5GSCDeosBvR6jXXcNDSsdkuP0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31494},"main":"./dist/index.js","type":"module","_from":"file:bota-apps-hooks-0.5.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"rm -rf dist && tsc && node ../../scripts/fixExtensions.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:79719b9d-7b57-4246-927b-9de1f040db30"}},"_resolved":"/tmp/79f974a8c3a4e1a80855886ee926356a/bota-apps-hooks-0.5.1.tgz","_integrity":"sha512-la9DT9mzNQS834Ln9VElL4m/TYsjtubaNNJRGg/YT5mBwMrW6XXYwP9pEYZ2Mnf/3vS7RLeyy+aK0W+An71Ivw==","repository":{"url":"git+https://github.com/bota-apps/packages.git","type":"git","directory":"packages/hooks"},"_npmVersion":"11.18.0","description":"The generic data layer for @bota-apps apps: a configured React Query client wired to the feature error tracker, the GraphQL client context/provider, and typed query/mutation pipeline wrappers. Domain hooks stay in each app.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@bota-apps/fm":"^0.6.0","@bota-apps/gql-client":"^0.2.1","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.0.0","graphql":"^16.9.0","typescript":"^5.8.3","@types/react":"^19.0.0","graphql-request":"^7.1.2","@tanstack/react-query":"^5.62.0"},"peerDependencies":{"react":"^19.0.0","graphql":"^16.9.0","@tanstack/react-query":"^5.62.0"},"_npmOperationalInternal":{"tmp":"tmp/hooks_0.5.1_1783124915514_0.4041787435307762","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"@bota-apps/hooks","version":"0.5.2","author":{"name":"bota-apps"},"license":"MIT","_id":"@bota-apps/hooks@0.5.2","maintainers":[{"name":"bota-apps","email":"imusema.hassen@icloud.com"}],"homepage":"https://github.com/bota-apps/packages/tree/main/packages/hooks#readme","bugs":{"url":"https://github.com/bota-apps/packages/issues"},"dist":{"shasum":"b31b87173f201773d93a0b93e22730b5e8e46e16","tarball":"https://registry.npmjs.org/@bota-apps/hooks/-/hooks-0.5.2.tgz","fileCount":39,"integrity":"sha512-Msi+hA5ylIyO5qwEMEFbpg7jFg6VtHkpxvOJKul4YmHioQzU1TB8UBC81fJnySUteTkjJrsCtCSywR2eWiWKmg==","signatures":[{"sig":"MEUCIQDVbjx15ciC7PwpZyqlU37NgJ4K/SGgaDVlHMaaII9ySgIgEdgCOdh+oGEBrCkvNLczUC3ifUKDiHZkczK67yp3rjA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31494},"main":"./dist/index.js","type":"module","_from":"file:bota-apps-hooks-0.5.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"rm -rf dist && tsc && node ../../scripts/fixExtensions.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"bota-apps","email":"imusema.hassen@icloud.com"},"_resolved":"/private/var/folders/wp/6cc4gkfd481b73439xdrv4wm0000gn/T/07a662730d3485a9e02d36adfa9b25e6/bota-apps-hooks-0.5.2.tgz","_integrity":"sha512-Msi+hA5ylIyO5qwEMEFbpg7jFg6VtHkpxvOJKul4YmHioQzU1TB8UBC81fJnySUteTkjJrsCtCSywR2eWiWKmg==","repository":{"url":"git+https://github.com/bota-apps/packages.git","type":"git","directory":"packages/hooks"},"_npmVersion":"10.9.8","description":"The generic data layer for @bota-apps apps: a configured React Query client wired to the feature error tracker, the GraphQL client context/provider, and typed query/mutation pipeline wrappers. Domain hooks stay in each app.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@bota-apps/fm":"^0.7.0","@bota-apps/gql-client":"^0.2.1","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.0.0","graphql":"^16.9.0","typescript":"^5.8.3","@types/react":"^19.0.0","graphql-request":"^7.1.2","@tanstack/react-query":"^5.62.0"},"peerDependencies":{"react":"^19.0.0","graphql":"^16.9.0","@tanstack/react-query":"^5.62.0"},"_npmOperationalInternal":{"tmp":"tmp/hooks_0.5.2_1783241687710_0.37332190672820453","host":"s3://npm-registry-packages-npm-production"}},"0.5.3":{"name":"@bota-apps/hooks","version":"0.5.3","author":{"name":"bota-apps"},"license":"MIT","_id":"@bota-apps/hooks@0.5.3","maintainers":[{"name":"bota-apps","email":"imusema.hassen@icloud.com"}],"homepage":"https://github.com/bota-apps/packages/tree/main/packages/hooks#readme","bugs":{"url":"https://github.com/bota-apps/packages/issues"},"dist":{"shasum":"ba06d08f5c373918ea4d2a0de4ad41ab5bf53cb5","tarball":"https://registry.npmjs.org/@bota-apps/hooks/-/hooks-0.5.3.tgz","fileCount":39,"integrity":"sha512-FVAO/+Ww/XqzWVCQ7Lje1v0OyE9DRMFSCnr2mbyemrsDOmcHA/3X80MUQsmMZvP4VDpsA/FGAXbKv512jbAnwg==","signatures":[{"sig":"MEUCIHoduTBDb85EUfC4glEcAgKl4PMzmkDs8RWE4hXfM0VIAiEApnBzhINcdJ6riPcx2Xekd1kjM0jcGO8bNOn6k8Q2RxI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31494},"main":"./dist/index.js","type":"module","_from":"file:bota-apps-hooks-0.5.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"rm -rf dist && tsc && node ../../scripts/fixExtensions.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:79719b9d-7b57-4246-927b-9de1f040db30"}},"_resolved":"/tmp/db9b24320032bb0ddb38b9141037ddc9/bota-apps-hooks-0.5.3.tgz","_integrity":"sha512-FVAO/+Ww/XqzWVCQ7Lje1v0OyE9DRMFSCnr2mbyemrsDOmcHA/3X80MUQsmMZvP4VDpsA/FGAXbKv512jbAnwg==","repository":{"url":"git+https://github.com/bota-apps/packages.git","type":"git","directory":"packages/hooks"},"_npmVersion":"11.18.0","description":"The generic data layer for @bota-apps apps: a configured React Query client wired to the feature error tracker, the GraphQL client context/provider, and typed query/mutation pipeline wrappers. Domain hooks stay in each app.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@bota-apps/fm":"^0.8.0","@bota-apps/gql-client":"^0.2.1","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.0.0","graphql":"^16.9.0","typescript":"^5.8.3","@types/react":"^19.0.0","graphql-request":"^7.1.2","@tanstack/react-query":"^5.62.0"},"peerDependencies":{"react":"^19.0.0","graphql":"^16.9.0","@tanstack/react-query":"^5.62.0"},"_npmOperationalInternal":{"tmp":"tmp/hooks_0.5.3_1783303526407_0.3083776321493885","host":"s3://npm-registry-packages-npm-production"}},"0.5.4":{"name":"@bota-apps/hooks","version":"0.5.4","keywords":["bota-apps","typescript","react","react-query","tanstack-query","hooks","data-fetching","graphql"],"author":{"url":"https://github.com/bota-apps","name":"Bota Apps"},"license":"MIT","_id":"@bota-apps/hooks@0.5.4","maintainers":[{"name":"bota-apps","email":"imusema.hassen@icloud.com"}],"homepage":"https://github.com/bota-apps/packages/tree/main/packages/hooks#readme","bugs":{"url":"https://github.com/bota-apps/packages/issues"},"dist":{"shasum":"b047786409cdb934bf8a32af6754a088412fb296","tarball":"https://registry.npmjs.org/@bota-apps/hooks/-/hooks-0.5.4.tgz","fileCount":39,"integrity":"sha512-6Gehy0p7Zzanhaaw36OBsdzcaS6pMg7yXqRvc2l+1Ol8+efT1mEeAPkh/MpcnWrf66L3mfkk5v5KOMsq1j5YXQ==","signatures":[{"sig":"MEQCIGdaPD7A5F6xfqwyyr9c2K882KeATzOp+ewQi2WEI5LlAiAl14v7CilXWyyhSUoQoMye+T8czgrJySo25O9FGKarLA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35121},"main":"./dist/index.js","type":"module","_from":"file:bota-apps-hooks-0.5.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"rm -rf dist && tsc && node ../../scripts/fixExtensions.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6df8742d-ef39-488f-975a-a63c0ce76fea"}},"_resolved":"/tmp/d78c253925013decca96446d1617183a/bota-apps-hooks-0.5.4.tgz","_integrity":"sha512-6Gehy0p7Zzanhaaw36OBsdzcaS6pMg7yXqRvc2l+1Ol8+efT1mEeAPkh/MpcnWrf66L3mfkk5v5KOMsq1j5YXQ==","repository":{"url":"git+https://github.com/bota-apps/packages.git","type":"git","directory":"packages/hooks"},"_npmVersion":"11.18.0","description":"The generic data layer for @bota-apps apps: a configured React Query client wired to the feature error tracker, the GraphQL client context/provider, and typed query/mutation pipeline wrappers. Domain hooks stay in each app.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@bota-apps/fm":"^0.8.2","@bota-apps/gql-client":"^0.2.2","@graphql-typed-document-node/core":"^3.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.0.0","graphql":"^16.9.0","typescript":"^5.8.3","@types/react":"^19.0.0","graphql-request":"^7.1.2","@tanstack/react-query":"^5.62.0"},"peerDependencies":{"react":"^19.0.0","graphql":"^16.9.0","@tanstack/react-query":"^5.62.0"},"_npmOperationalInternal":{"tmp":"tmp/hooks_0.5.4_1783319739160_0.6367993303272828","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@bota-apps/hooks","version":"0.6.0","description":"The generic data layer for @bota-apps apps: a configured React Query client wired to the feature error tracker, the GraphQL client context/provider, and typed query/mutation pipeline wrappers. Domain hooks stay in each app.","keywords":["bota-apps","typescript","react","react-query","tanstack-query","hooks","data-fetching","graphql"],"license":"MIT","author":{"name":"Bota Apps","url":"https://github.com/bota-apps"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"repository":{"type":"git","url":"git+https://github.com/bota-apps/packages.git","directory":"packages/hooks"},"homepage":"https://github.com/bota-apps/packages/tree/main/packages/hooks#readme","bugs":{"url":"https://github.com/bota-apps/packages/issues"},"publishConfig":{"access":"public"},"dependencies":{"@graphql-typed-document-node/core":"^3.2.0","@bota-apps/fm":"^0.8.3","@bota-apps/gql-client":"^0.3.0"},"peerDependencies":{"@tanstack/react-query":"^5.62.0","graphql":"^16.9.0","react":"^19.0.0"},"devDependencies":{"@tanstack/react-query":"^5.62.0","@types/react":"^19.0.0","graphql":"^16.9.0","graphql-request":"^7.1.2","react":"^19.0.0","typescript":"^5.8.3"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"build":"rm -rf dist && tsc && node ../../scripts/fixExtensions.mjs","typecheck":"tsc --noEmit","clean":"rm -rf dist"},"_id":"@bota-apps/hooks@0.6.0","_integrity":"sha512-E58cBRDIGZI8WLM2k0D2RHDY0ocpZeAoZcaU2G6arT6hak/1ypWBSQkQwUgTLS1PTIwJgYSPtIG40/i4cfWXbQ==","_resolved":"/tmp/e6ac182c0ca691a9d4c91820cca21149/bota-apps-hooks-0.6.0.tgz","_from":"file:bota-apps-hooks-0.6.0.tgz","_nodeVersion":"22.23.1","_npmVersion":"11.18.0","dist":{"integrity":"sha512-E58cBRDIGZI8WLM2k0D2RHDY0ocpZeAoZcaU2G6arT6hak/1ypWBSQkQwUgTLS1PTIwJgYSPtIG40/i4cfWXbQ==","shasum":"ec5d997e79147b9d29f003ef18dea7800f93edf8","tarball":"https://registry.npmjs.org/@bota-apps/hooks/-/hooks-0.6.0.tgz","fileCount":43,"unpackedSize":44803,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bota-apps%2fhooks@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQClfNXO7VLnTddJNvS+2NPj9BZWLVmhcKLBregEsCu9OQIgeZ+0Xe0UZnDy98DYSu0LBDIAEzFMo++VCkI8jbf/CxY="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6df8742d-ef39-488f-975a-a63c0ce76fea"}},"directories":{},"maintainers":[{"name":"bota-apps","email":"imusema.hassen@icloud.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hooks_0.6.0_1784192820418_0.6070150369270297"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-30T16:58:15.622Z","modified":"2026-07-16T09:07:00.857Z","0.2.0":"2026-06-30T16:58:15.931Z","0.2.1":"2026-07-03T06:47:28.696Z","0.3.0":"2026-07-03T08:43:06.535Z","0.3.1":"2026-07-03T09:50:58.494Z","0.3.2":"2026-07-03T11:50:08.582Z","0.4.0":"2026-07-03T23:01:01.302Z","0.5.0":"2026-07-03T23:25:52.407Z","0.5.1":"2026-07-04T00:28:35.665Z","0.5.2":"2026-07-05T08:54:47.831Z","0.5.3":"2026-07-06T02:05:26.531Z","0.5.4":"2026-07-06T06:35:39.291Z","0.6.0":"2026-07-16T09:07:00.550Z"},"bugs":{"url":"https://github.com/bota-apps/packages/issues"},"author":{"name":"Bota Apps","url":"https://github.com/bota-apps"},"license":"MIT","homepage":"https://github.com/bota-apps/packages/tree/main/packages/hooks#readme","keywords":["bota-apps","typescript","react","react-query","tanstack-query","hooks","data-fetching","graphql"],"repository":{"type":"git","url":"git+https://github.com/bota-apps/packages.git","directory":"packages/hooks"},"description":"The generic data layer for @bota-apps apps: a configured React Query client wired to the feature error tracker, the GraphQL client context/provider, and typed query/mutation pipeline wrappers. Domain hooks stay in each app.","maintainers":[{"name":"bota-apps","email":"imusema.hassen@icloud.com"}],"readme":"# @bota-apps/hooks\n\nThe generic data layer for `@bota-apps` apps: a configured React Query client\nwired to the feature error tracker, the GraphQL client context/provider, and\ntyped query/mutation pipeline wrappers. **Domain hooks stay in each app** (built\non these) — this package ships only the generic plumbing.\n\n## Install\n\n```bash\npnpm add @bota-apps/hooks\n# peers: @tanstack/react-query, react, graphql\n```\n\n## Usage\n\n### Provide the clients near the app root\n\n`QueryProvider` mounts the shared `queryClient`; `GraphQLProvider` puts a\n[`@bota-apps/gql-client`](../gql-client) `GraphQLClient` on context so the\n`useGql*` hooks and `useGraphQLClient()` can reach it.\n\n```tsx\nimport { QueryProvider, GraphQLProvider } from \"@bota-apps/hooks\";\nimport { createGraphQLClient } from \"@bota-apps/gql-client\";\n\nconst client = createGraphQLClient(\"https://api.example.com/graphql\");\n\n<QueryProvider>\n  <GraphQLProvider client={client}>{children}</GraphQLProvider>\n</QueryProvider>;\n```\n\n### Typed operations with the `useGql*` hooks\n\nPass a `TypedDocumentNode` (e.g. from [`@bota-apps/gql-codegen`](../gql-codegen))\nand the field result type is inferred. `useGqlQuery` unwraps the single root\nfield for you, and `gqlQueryKey` derives a stable query key from the document +\nvariables:\n\n```ts\nimport { useGqlQuery, useGqlMutation } from \"@bota-apps/hooks\";\n\nexport function useProjects() {\n  return useGqlQuery(ProjectsDocument); // UseQueryResult<Project[], Error>\n}\n\nexport function useProject(id: string) {\n  return useGqlQuery(ProjectDocument, { id }); // variables passed positionally\n}\n\nexport function usePromoteProject() {\n  return useGqlMutation(PromoteProjectDocument, {\n    invalidates: [[\"projects\"]], // shorthand for meta.invalidates\n  });\n}\n```\n\n### Build a domain hook on the raw pipelines\n\nWhen you need a bespoke `queryFn`, use the pipelines directly. They forward\nfailures to the feature tracker and honour `meta.featureId` / `meta.invalidates`:\n\n```ts\nimport { useQueryPipeline, useGraphQLClient } from \"@bota-apps/hooks\";\n\nexport function useProjects() {\n  const client = useGraphQLClient();\n  return useQueryPipeline({\n    queryKey: [\"projects\"],\n    queryFn: () => client.request(ProjectsDocument).then((r) => r.projects),\n    meta: { featureId: \"projects\" },\n  });\n}\n```\n\n## API\n\n| Export                                                               | What                                                                              |\n| -------------------------------------------------------------------- | --------------------------------------------------------------------------------- |\n| `queryClient`                                                        | The shared, pre-configured `QueryClient` instance                                 |\n| `QueryProvider`                                                      | Mounts `queryClient` via `QueryClientProvider`                                    |\n| `GraphQLContext` / `useGraphQLClient`                                | React context holding the `GraphQLClient`; hook throws if used outside a provider |\n| `GraphQLProvider`                                                    | Puts a `GraphQLClient` on `GraphQLContext`                                        |\n| `useQueryPipeline` / `useSuspenseQueryPipeline`                      | `useQuery` / `useSuspenseQuery` wrappers with feature-tracker error forwarding    |\n| `useMutationPipeline`                                                | `useMutation` wrapper honouring `meta.invalidates` (auto query invalidation)      |\n| `usePaginatedQueryPipeline`                                          | Query pipeline for paginated list operations                                      |\n| `useGqlQuery` / `useGqlSuspenseQuery`                                | Typed query hooks that take a `TypedDocumentNode` and unwrap the root field       |\n| `useGqlMutation`                                                     | Typed mutation hook; `invalidates` shorthand for `meta.invalidates`               |\n| `gqlQueryKey`                                                        | Stable query key from a document + variables                                      |\n| `QueryMeta` / `MutationMeta` / `GqlVariables`                        | Supporting types (`featureId`, `invalidates`, variable record)                    |\n| `GqlQueryOptions` / `GqlSuspenseQueryOptions` / `GqlMutationOptions` | Option types for the `useGql*` hooks (query key / fn omitted)                     |\n\nQuery failures are forwarded to the feature tracker via\n[`@bota-apps/fm`](../fm); the `GraphQLClient` type comes from\n[`@bota-apps/gql-client`](../gql-client). React and `@tanstack/react-query` are\npeer dependencies supplied by the app.\n\nPart of the [`@bota-apps` packages monorepo](https://github.com/bota-apps/packages).\n","readmeFilename":"README.md"}