{"_id":"@0xintuition/graphql","_rev":"24-cda6a5cfc0298e7f5b0b7158d6adccf9","name":"@0xintuition/graphql","dist-tags":{"alpha":"2.0.0","latest":"3.0.1"},"versions":{"0.0.3":{"name":"@0xintuition/graphql","version":"0.0.3","_id":"@0xintuition/graphql@0.0.3","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"simonas-intuition","email":"simonas@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"0xclaus","email":"claudio@intuition.systems"}],"homepage":"https://github.com/0xIntuition/intuition-ts#readme","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"dist":{"shasum":"8dce4c6527594ea0a461818477836f26f12de1f7","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-0.0.3.tgz","fileCount":8,"integrity":"sha512-38sZvl5yGaLtHQjvOwXlDv4CXUmZgYbrKcbu49JeMgo5yQQj9RAGZDxFMOsknuOEhULd3isF9Ed1GqW6AdfmKQ==","signatures":[{"sig":"MEYCIQC5qgqOVxMxzRjII43j+OS/awYheuUVqjXSta1w4QlRawIhAI9nyfZz/n2vS03mEDu0duLtSepnqKASGXoaw1aQQDxa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1929189},"main":"./dist/index.js","_from":"file:0xintuition-graphql-0.0.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","test":"vitest","build":"tsup","lint:fix":"pnpm lint --fix","prebuild":"pnpm codegen:build","publish-dry":"pnpm build && pnpm publish --dry-run --no-git-checks --ignore-scripts","publish-next":"pnpm build && pnpm publish --tag next --no-git-checks --ignore-scripts","version:beta":"pnpm version prerelease --preid beta --no-git-tag-version","codegen:build":"NODE_ENV=production dotenv graphql-codegen --config codegen.ts","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts","version:major":"pnpm version major --no-git-tag-version","version:minor":"pnpm version minor --no-git-tag-version","version:patch":"pnpm version patch --no-git-tag-version","publish-latest":"pnpm build && pnpm publish --tag latest --no-git-checks --ignore-scripts"},"_npmUser":{"name":"jojikun","email":"jojikun@intuition.systems"},"_resolved":"/private/var/folders/f_/ndg1z6_s55d3q67bzytpmp8w0000gn/T/e15c0462250f556dca53a2c5236a81cd/0xintuition-graphql-0.0.3.tgz","_integrity":"sha512-38sZvl5yGaLtHQjvOwXlDv4CXUmZgYbrKcbu49JeMgo5yQQj9RAGZDxFMOsknuOEhULd3isF9Ed1GqW6AdfmKQ==","repository":{"url":"git+https://github.com/0xIntuition/intuition-ts.git","type":"git","directory":"packages/graphql"},"_npmVersion":"9.7.2","description":"GraphQL","directories":{},"_nodeVersion":"18.15.0","dependencies":{"graphql":"^16.9.0","graphql-request":"^7.1.0","@0xintuition/api":"^0.2.0","@tanstack/react-query":"^5.32.0","@graphql-codegen/typescript-document-nodes":"^4.0.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vite":"^5.2.11","vitest":"^1.3.1","typescript":"^5.4.5","concurrently":"^8.2.2","@parcel/watcher":"^2.4.1","@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-typed-document-node/core":"^3.2.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-codegen/typescript-react-apollo":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_0.0.3_1732681940897_0.15804473986091394","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@0xintuition/graphql","version":"0.0.4","_id":"@0xintuition/graphql@0.0.4","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"simonas-intuition","email":"simonas@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"0xclaus","email":"claudio@intuition.systems"}],"homepage":"https://github.com/0xIntuition/intuition-ts#readme","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"dist":{"shasum":"e4d144e450e95d244968806b57a52a10a867781b","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-0.0.4.tgz","fileCount":7,"integrity":"sha512-dHc6rZSn5ppod7/nSNf6EDpodBEi8YzXkAUtTv9shk0DEPlx39GMvpOzSotlCjJYqIcGum/5Tz/dnqeqKPXQlQ==","signatures":[{"sig":"MEMCHymcBVQYuwGw1YWavjdeA9yGyw1oThKjoBFt3y0q/tECIETV/tHB6kMBMj7vlTUezc25diuefY388AvrVR4jWEQ4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1928129},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"2ea2f1d1ee4f0d2a55c45fcbe1b589ad4baac169","scripts":{"dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","test":"vitest","build":"tsup","lint:fix":"pnpm lint --fix","prebuild":"pnpm codegen:build","publish-dry":"pnpm build && pnpm publish --dry-run --no-git-checks --ignore-scripts","publish-next":"pnpm build && pnpm publish --tag next --no-git-checks --ignore-scripts","version:beta":"pnpm version prerelease --preid beta --no-git-tag-version","codegen:build":"NODE_ENV=production dotenv graphql-codegen --config codegen.ts","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts","version:major":"pnpm version major --no-git-tag-version","version:minor":"pnpm version minor --no-git-tag-version","version:patch":"pnpm version patch --no-git-tag-version","publish-latest":"pnpm build && pnpm publish --tag latest --no-git-checks --ignore-scripts"},"_npmUser":{"name":"jojikun","email":"jojikun@intuition.systems"},"repository":{"url":"git+https://github.com/0xIntuition/intuition-ts.git","type":"git","directory":"packages/graphql"},"_npmVersion":"10.7.0","description":"GraphQL","directories":{},"_nodeVersion":"22.2.0","dependencies":{"graphql":"^16.9.0","graphql-request":"^7.1.0","@0xintuition/api":"workspace:^","@tanstack/react-query":"^5.32.0","@graphql-codegen/typescript-document-nodes":"^4.0.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vite":"^5.2.11","vitest":"^1.3.1","typescript":"^5.4.5","concurrently":"^8.2.2","@parcel/watcher":"^2.4.1","@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-typed-document-node/core":"^3.2.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-codegen/typescript-react-apollo":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_0.0.4_1732685363171_0.7139318362447031","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@0xintuition/graphql","version":"0.0.5","_id":"@0xintuition/graphql@0.0.5","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"simonas-intuition","email":"simonas@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"0xclaus","email":"claudio@intuition.systems"}],"homepage":"https://github.com/0xIntuition/intuition-ts#readme","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"dist":{"shasum":"1d61f2048a043db984936702875859099de9f592","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-0.0.5.tgz","fileCount":7,"integrity":"sha512-7IWirO0vo65iIp85VHKGcu3b1VRZpdeLjaPpUlS669OBH/54B0vg0uK0g5ApXOHNn+lmO0D+tp864mUzrbYAgw==","signatures":[{"sig":"MEUCIQCUxE74fB37quTvzd9gw4tYVBOcQYW8e1a3l7P4BoIk/gIgcZi4uFU49QRHI+vp5gI5jKNuklVCrPfys2OafJQ2Fh8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1928129},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"2ea2f1d1ee4f0d2a55c45fcbe1b589ad4baac169","scripts":{"dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","test":"vitest","build":"tsup","lint:fix":"pnpm lint --fix","prebuild":"pnpm codegen:build","publish-dry":"pnpm build && pnpm publish --dry-run --no-git-checks --ignore-scripts","publish-next":"pnpm build && pnpm publish --tag next --no-git-checks --ignore-scripts","version:beta":"pnpm version prerelease --preid beta --no-git-tag-version","codegen:build":"NODE_ENV=production dotenv graphql-codegen --config codegen.ts","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts","version:major":"pnpm version major --no-git-tag-version","version:minor":"pnpm version minor --no-git-tag-version","version:patch":"pnpm version patch --no-git-tag-version","publish-latest":"pnpm build && pnpm publish --tag latest --no-git-checks --ignore-scripts"},"_npmUser":{"name":"jojikun","email":"jojikun@intuition.systems"},"repository":{"url":"git+https://github.com/0xIntuition/intuition-ts.git","type":"git","directory":"packages/graphql"},"_npmVersion":"10.7.0","description":"GraphQL","directories":{},"_nodeVersion":"22.2.0","dependencies":{"graphql":"^16.9.0","graphql-request":"^7.1.0","@0xintuition/api":"workspace:^","@tanstack/react-query":"^5.32.0","@graphql-codegen/typescript-document-nodes":"^4.0.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vite":"^5.2.11","vitest":"^1.3.1","typescript":"^5.4.5","concurrently":"^8.2.2","@parcel/watcher":"^2.4.1","@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-typed-document-node/core":"^3.2.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-codegen/typescript-react-apollo":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_0.0.5_1732685560281_0.5074571219597528","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@0xintuition/graphql","version":"0.2.0","_id":"@0xintuition/graphql@0.2.0","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"simonas-intuition","email":"simonas@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"0xclaus","email":"claudio@intuition.systems"}],"homepage":"https://github.com/0xIntuition/intuition-ts#readme","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"dist":{"shasum":"90da0251b06e9ef4eef82128e708823e16a5eb6d","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-0.2.0.tgz","fileCount":8,"integrity":"sha512-WkTC/j+kIEibgnrQazHzLv5RDBOpWX84vDY/cbjkoFeoIn7LN5lD+bho9NDXOlvbTFHwyczPI3nt6K8NuFImcw==","signatures":[{"sig":"MEYCIQC8AfJeBmlCMuWNJO89L1YRiNVly628RR51dbRYLxMcPwIhAJflkpS+lvGyhe9pL6Ox9L9qOjqewoGBA/vH7yfjMvq+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4715550},"main":"./dist/index.js","_from":"file:0xintuition-graphql-0.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","test":"vitest","build":"tsup","lint:fix":"pnpm lint --fix","prebuild":"pnpm codegen:build","publish-dry":"pnpm build && pnpm publish --dry-run --no-git-checks --ignore-scripts","publish-next":"pnpm build && pnpm publish --tag next --no-git-checks --ignore-scripts","version:beta":"pnpm version prerelease --preid beta --no-git-tag-version","codegen:build":"NODE_ENV=production graphql-codegen --config codegen.ts","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts","version:major":"pnpm version major --no-git-tag-version","version:minor":"pnpm version minor --no-git-tag-version","version:patch":"pnpm version patch --no-git-tag-version","publish-latest":"pnpm build && pnpm publish --tag latest --no-git-checks --ignore-scripts"},"_npmUser":{"name":"jpbuilds","email":"jp@intuition.systems"},"_resolved":"/private/var/folders/yw/pwt1mjcx1zz57yz7flkcm5br0000gn/T/fce5fbb19de8b7c68dd0f34d0fb3ca0f/0xintuition-graphql-0.2.0.tgz","_integrity":"sha512-WkTC/j+kIEibgnrQazHzLv5RDBOpWX84vDY/cbjkoFeoIn7LN5lD+bho9NDXOlvbTFHwyczPI3nt6K8NuFImcw==","repository":{"url":"git+https://github.com/0xIntuition/intuition-ts.git","type":"git","directory":"packages/graphql"},"_npmVersion":"10.2.4","description":"GraphQL","directories":{},"_nodeVersion":"20.11.0","dependencies":{"graphql":"^16.9.0","graphql-request":"^7.1.0","@0xintuition/api":"^0.2.0","@tanstack/react-query":"^5.32.0","@graphql-codegen/typescript-document-nodes":"^4.0.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vite":"^5.2.11","vitest":"^1.3.1","typescript":"^5.4.5","concurrently":"^8.2.2","@parcel/watcher":"^2.4.1","@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-typed-document-node/core":"^3.2.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-codegen/typescript-react-apollo":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_0.2.0_1733435387931_0.6498930395268616","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@0xintuition/graphql","version":"0.3.0","_id":"@0xintuition/graphql@0.3.0","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"simonas-intuition","email":"simonas@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"0xclaus","email":"claudio@intuition.systems"}],"homepage":"https://github.com/0xIntuition/intuition-ts#readme","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"dist":{"shasum":"7533b2f66cee91e7f18d4c281c567b4d2f537c23","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-0.3.0.tgz","fileCount":8,"integrity":"sha512-XdghJ4CQvwqqSGBiSohDhtf6iZxzI/lg7/lSj2wIUf3Hm92DRd6LRgrZ/xpcrpQC1G8iFN2SmWIYjn/F/z/R2Q==","signatures":[{"sig":"MEQCICY9Wq9zZ8N4wu2zURBJJn80aXgQRPvvNyuNd/fUSjNyAiA0yK/lmkXfKdf7o7usuSIqQU5H549BS4Se4G7LMcet1A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6249397},"main":"./dist/index.js","_from":"file:0xintuition-graphql-0.3.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","test":"vitest","build":"tsup","lint:fix":"pnpm lint --fix","prebuild":"pnpm codegen:build","publish-dry":"pnpm build && pnpm publish --dry-run --no-git-checks --ignore-scripts","publish-next":"pnpm build && pnpm publish --tag next --no-git-checks --ignore-scripts","version:beta":"pnpm version prerelease --preid beta --no-git-tag-version","codegen:build":"NODE_ENV=production graphql-codegen --config codegen.ts","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts","version:major":"pnpm version major --no-git-tag-version","version:minor":"pnpm version minor --no-git-tag-version","version:patch":"pnpm version patch --no-git-tag-version","publish-latest":"pnpm build && pnpm publish --tag latest --no-git-checks --ignore-scripts"},"_npmUser":{"name":"jpbuilds","email":"jp@intuition.systems"},"_resolved":"/private/var/folders/yw/pwt1mjcx1zz57yz7flkcm5br0000gn/T/ff3ab54a9c68360df1c72600f43b24bd/0xintuition-graphql-0.3.0.tgz","_integrity":"sha512-XdghJ4CQvwqqSGBiSohDhtf6iZxzI/lg7/lSj2wIUf3Hm92DRd6LRgrZ/xpcrpQC1G8iFN2SmWIYjn/F/z/R2Q==","repository":{"url":"git+https://github.com/0xIntuition/intuition-ts.git","type":"git","directory":"packages/graphql"},"_npmVersion":"10.2.4","description":"GraphQL","directories":{},"_nodeVersion":"20.11.0","dependencies":{"graphql":"^16.9.0","graphql-request":"^7.1.0","@0xintuition/api":"^0.2.0","@tanstack/react-query":"^5.32.0","@graphql-codegen/typescript-document-nodes":"^4.0.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vite":"^5.2.11","vitest":"^1.3.1","typescript":"^5.4.5","concurrently":"^8.2.2","@parcel/watcher":"^2.4.1","@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-typed-document-node/core":"^3.2.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-codegen/typescript-react-apollo":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_0.3.0_1735312293569_0.37057829684795895","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@0xintuition/graphql","version":"0.4.0","_id":"@0xintuition/graphql@0.4.0","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"simonas-intuition","email":"simonas@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"0xclaus","email":"claudio@intuition.systems"}],"homepage":"https://github.com/0xIntuition/intuition-ts#readme","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"dist":{"shasum":"45f249dbed41d86dac4df44beac9ee64ac7208cf","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-0.4.0.tgz","fileCount":8,"integrity":"sha512-hWk3O0g5H+PmOmprMFXHMLPDsj2slTYYPzCWqbv9TmHDBeRPk/TvKiMc7Urk5/RwzfaZlaU7IgPNUo1wQqDCJA==","signatures":[{"sig":"MEYCIQCqKmmjJTifH6kEoTsvT2mq8cAecC3vl/73DrK41x2hbgIhAOuCHIcCw6+5i89QQMD+s9OHboJ4OKqu0R2QaN7YfrfJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6249363},"main":"./dist/index.js","_from":"file:0xintuition-graphql-0.4.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","test":"vitest","build":"tsup","lint:fix":"pnpm lint --fix","prebuild":"pnpm codegen:build","publish-dry":"pnpm build && pnpm publish --dry-run --no-git-checks --ignore-scripts","publish-next":"pnpm build && pnpm publish --tag next --no-git-checks --ignore-scripts","version:beta":"pnpm version prerelease --preid beta --no-git-tag-version","codegen:build":"NODE_ENV=production graphql-codegen --config codegen.ts","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts","version:major":"pnpm version major --no-git-tag-version","version:minor":"pnpm version minor --no-git-tag-version","version:patch":"pnpm version patch --no-git-tag-version","publish-latest":"pnpm build && pnpm publish --tag latest --no-git-checks --ignore-scripts"},"_npmUser":{"name":"jpbuilds","email":"jp@intuition.systems"},"_resolved":"/private/var/folders/yw/pwt1mjcx1zz57yz7flkcm5br0000gn/T/2cf002f296a609b2e2b1831a961b622a/0xintuition-graphql-0.4.0.tgz","_integrity":"sha512-hWk3O0g5H+PmOmprMFXHMLPDsj2slTYYPzCWqbv9TmHDBeRPk/TvKiMc7Urk5/RwzfaZlaU7IgPNUo1wQqDCJA==","repository":{"url":"git+https://github.com/0xIntuition/intuition-ts.git","type":"git","directory":"packages/graphql"},"_npmVersion":"10.2.4","description":"GraphQL","directories":{},"_nodeVersion":"20.11.0","dependencies":{"graphql":"^16.9.0","graphql-request":"^7.1.0","@tanstack/react-query":"^5.32.0","@graphql-codegen/typescript-document-nodes":"^4.0.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vite":"^5.2.11","vitest":"^1.3.1","typescript":"^5.4.5","concurrently":"^8.2.2","@parcel/watcher":"^2.4.1","@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-typed-document-node/core":"^3.2.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-codegen/typescript-react-apollo":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_0.4.0_1735847800470_0.4470843249486218","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@0xintuition/graphql","version":"0.5.0","_id":"@0xintuition/graphql@0.5.0","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"simonas-intuition","email":"simonas@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"0xclaus","email":"claudio@intuition.systems"}],"homepage":"https://github.com/0xIntuition/intuition-ts#readme","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"dist":{"shasum":"1f23c307ead47f0e93e945aaf183532955c6d362","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-0.5.0.tgz","fileCount":8,"integrity":"sha512-yRe8jSqd3QaJRj1UkYTyOlBuTh5qWhEQTe1wmDuCnkc4eW65ehdlVgW+IRFTi82eEXV4AMgdCBroG5p39Syfow==","signatures":[{"sig":"MEUCIQDRp2JtYElgR69MDI3eb02oUg9myr4NpNmZ6eAsW6RDWgIgIq/wJyoL/CgKbTNyB15+G0crwoC75vmcP5h9dRaXXk0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6249413},"main":"./dist/index.js","_from":"file:0xintuition-graphql-0.5.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","test":"vitest","build":"tsup","lint:fix":"pnpm lint --fix","prebuild":"pnpm codegen:build","publish-dry":"pnpm build && pnpm publish --dry-run --no-git-checks --ignore-scripts","publish-next":"pnpm build && pnpm publish --tag next --no-git-checks --ignore-scripts","version:beta":"pnpm version prerelease --preid beta --no-git-tag-version","codegen:build":"NODE_ENV=production graphql-codegen --config codegen.ts","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts","version:major":"pnpm version major --no-git-tag-version","version:minor":"pnpm version minor --no-git-tag-version","version:patch":"pnpm version patch --no-git-tag-version","publish-latest":"pnpm build && pnpm publish --tag latest --no-git-checks --ignore-scripts"},"_npmUser":{"name":"jpbuilds","email":"jp@intuition.systems"},"_resolved":"/private/var/folders/yw/pwt1mjcx1zz57yz7flkcm5br0000gn/T/726beb5ea6d2a87d905eb77e87451bc0/0xintuition-graphql-0.5.0.tgz","_integrity":"sha512-yRe8jSqd3QaJRj1UkYTyOlBuTh5qWhEQTe1wmDuCnkc4eW65ehdlVgW+IRFTi82eEXV4AMgdCBroG5p39Syfow==","repository":{"url":"git+https://github.com/0xIntuition/intuition-ts.git","type":"git","directory":"packages/graphql"},"_npmVersion":"10.2.4","description":"GraphQL","directories":{},"_nodeVersion":"20.11.0","dependencies":{"graphql":"^16.9.0","graphql-request":"^7.1.0","@tanstack/react-query":"^5.32.0","@graphql-codegen/typescript-document-nodes":"^4.0.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vite":"^5.2.11","vitest":"^1.3.1","typescript":"^5.4.5","concurrently":"^8.2.2","@parcel/watcher":"^2.4.1","@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-typed-document-node/core":"^3.2.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-codegen/typescript-react-apollo":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_0.5.0_1736392865083_0.5259715067206441","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@0xintuition/graphql","version":"0.6.0","_id":"@0xintuition/graphql@0.6.0","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"simonas-intuition","email":"simonas@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"0xclaus","email":"claudio@intuition.systems"}],"homepage":"https://github.com/0xIntuition/intuition-ts#readme","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"dist":{"shasum":"d01fd4026ff6c53e2589808d1ee4b848a54cfed4","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-0.6.0.tgz","fileCount":8,"integrity":"sha512-2KfAINWWdrfcggVlcM1huZve8iYVgPNuztRgKbWEW0FR88phaaBEDD0UBHkj10OD3iDG1DbIi0G1Hy/Kb9wVyg==","signatures":[{"sig":"MEQCIGk3FGGX3pOlaVn1Mnvx6rwLC4ZJVZWzt+L5vJw+lgtcAiBQleIaBhUAjwdkcy5SVIIHFC5gwb0glo2nLB0BNBLTgg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7839426},"main":"./dist/index.js","_from":"file:0xintuition-graphql-0.6.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","test":"vitest","build":"tsup","lint:fix":"pnpm lint --fix","prebuild":"pnpm codegen:build","publish-dry":"pnpm build && pnpm publish --dry-run --no-git-checks --ignore-scripts","publish-next":"pnpm build && pnpm publish --tag next --no-git-checks --ignore-scripts","version:beta":"pnpm version prerelease --preid beta --no-git-tag-version","codegen:build":"NODE_ENV=production graphql-codegen --config codegen.ts","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts","version:major":"pnpm version major --no-git-tag-version","version:minor":"pnpm version minor --no-git-tag-version","version:patch":"pnpm version patch --no-git-tag-version","publish-latest":"pnpm build && pnpm publish --tag latest --no-git-checks --ignore-scripts"},"_npmUser":{"name":"jpbuilds","email":"jp@intuition.systems"},"_resolved":"/private/var/folders/yw/pwt1mjcx1zz57yz7flkcm5br0000gn/T/cc70d747208240fb0d96ca14bc78d08f/0xintuition-graphql-0.6.0.tgz","_integrity":"sha512-2KfAINWWdrfcggVlcM1huZve8iYVgPNuztRgKbWEW0FR88phaaBEDD0UBHkj10OD3iDG1DbIi0G1Hy/Kb9wVyg==","repository":{"url":"git+https://github.com/0xIntuition/intuition-ts.git","type":"git","directory":"packages/graphql"},"_npmVersion":"10.2.4","description":"GraphQL","directories":{},"_nodeVersion":"20.11.0","dependencies":{"graphql":"^16.9.0","graphql-request":"^7.1.0","@tanstack/react-query":"^5.32.0","@graphql-codegen/typescript-document-nodes":"^4.0.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vite":"^5.2.11","vitest":"^1.3.1","typescript":"^5.4.5","concurrently":"^8.2.2","@parcel/watcher":"^2.4.1","@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-typed-document-node/core":"^3.2.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-codegen/typescript-react-apollo":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_0.6.0_1739828723656_0.26397430176697645","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@0xintuition/graphql","version":"0.7.0","_id":"@0xintuition/graphql@0.7.0","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"simonas-intuition","email":"simonas@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"0xclaus","email":"claudio@intuition.systems"}],"homepage":"https://github.com/0xIntuition/intuition-ts#readme","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"dist":{"shasum":"3e638871e6d189f63089928d2b519aa1bd96a94f","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-0.7.0.tgz","fileCount":8,"integrity":"sha512-TkFOhXTVn/3PS+KIRxMe6lCU1vP6tfF9F+MUdGhLMqn43SfhzYUF0X3WELMeJ4xszaTD1WTSSEtnLxluYxQSSw==","signatures":[{"sig":"MEUCIQCyB53XJdaSmo68gju9gJ6kSEwP3LloqLOSok2w1/9kiAIgLcD693vzhmllOp9fk3RenP5ssbc/yJMhhWPXXNNwRLk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8556937},"main":"./dist/index.js","_from":"file:0xintuition-graphql-0.7.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","test":"vitest","build":"tsup","lint:fix":"pnpm lint --fix","prebuild":"pnpm codegen:build","publish-dry":"pnpm build && pnpm publish --dry-run --no-git-checks --ignore-scripts","publish-next":"pnpm build && pnpm publish --tag next --no-git-checks --ignore-scripts","version:beta":"pnpm version prerelease --preid beta --no-git-tag-version","codegen:build":"NODE_ENV=production graphql-codegen --config codegen.ts","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts","version:major":"pnpm version major --no-git-tag-version","version:minor":"pnpm version minor --no-git-tag-version","version:patch":"pnpm version patch --no-git-tag-version","publish-latest":"pnpm build && pnpm publish --tag latest --no-git-checks --ignore-scripts"},"_npmUser":{"name":"jpbuilds","email":"jp@intuition.systems"},"_resolved":"/private/var/folders/yw/pwt1mjcx1zz57yz7flkcm5br0000gn/T/2af936c06efda5f7750d05989974a3a1/0xintuition-graphql-0.7.0.tgz","_integrity":"sha512-TkFOhXTVn/3PS+KIRxMe6lCU1vP6tfF9F+MUdGhLMqn43SfhzYUF0X3WELMeJ4xszaTD1WTSSEtnLxluYxQSSw==","repository":{"url":"git+https://github.com/0xIntuition/intuition-ts.git","type":"git","directory":"packages/graphql"},"_npmVersion":"8.6.0","description":"GraphQL","directories":{},"_nodeVersion":"23.5.0","dependencies":{"graphql":"^16.9.0","graphql-request":"^7.1.0","@tanstack/react-query":"^5.32.0","@graphql-codegen/typescript-document-nodes":"^4.0.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vite":"^5.2.11","vitest":"^1.3.1","typescript":"^5.4.5","concurrently":"^8.2.2","@parcel/watcher":"^2.4.1","@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-typed-document-node/core":"^3.2.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-codegen/typescript-react-apollo":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_0.7.0_1743128014384_0.4028081413997353","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@0xintuition/graphql","version":"0.8.0","_id":"@0xintuition/graphql@0.8.0","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"simonas-intuition","email":"simonas@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"0xclaus","email":"claudio@intuition.systems"}],"homepage":"https://github.com/0xIntuition/intuition-ts#readme","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"dist":{"shasum":"54ef7b1d22985303e1cde7df4221254c9b0b76b5","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-0.8.0.tgz","fileCount":8,"integrity":"sha512-eGEuCNv+18A67njaSHpte58tOL/xxgxYzQPdE6Nuq3ull5Nfuc19hsilC6sziCUgylPYhaEiw+LbzceH1xcDuQ==","signatures":[{"sig":"MEUCIAGXo1K5zz6elqaHdvdKo8uupCH6afSwI7e8iyvKjfIJAiEAr9IdSIsMZLzVT0hlVz7KUbm122aidI0qwSD9c0JKTXI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8559149},"main":"./dist/index.js","_from":"file:0xintuition-graphql-0.8.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","test":"vitest","build":"tsup","lint:fix":"pnpm lint --fix","prebuild":"pnpm codegen:build","publish-dry":"pnpm build && pnpm publish --dry-run --no-git-checks --ignore-scripts","publish-next":"pnpm build && pnpm publish --tag next --no-git-checks --ignore-scripts","version:beta":"pnpm version prerelease --preid beta --no-git-tag-version","codegen:build":"NODE_ENV=production graphql-codegen --config codegen.ts","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts","version:major":"pnpm version major --no-git-tag-version","version:minor":"pnpm version minor --no-git-tag-version","version:patch":"pnpm version patch --no-git-tag-version","publish-latest":"pnpm build && pnpm publish --tag latest --no-git-checks --ignore-scripts"},"_npmUser":{"name":"jojikun","email":"jojikun@intuition.systems"},"_resolved":"/private/var/folders/f_/ndg1z6_s55d3q67bzytpmp8w0000gn/T/1129c596e45f7eb55c1a1e4d07e82aac/0xintuition-graphql-0.8.0.tgz","_integrity":"sha512-eGEuCNv+18A67njaSHpte58tOL/xxgxYzQPdE6Nuq3ull5Nfuc19hsilC6sziCUgylPYhaEiw+LbzceH1xcDuQ==","repository":{"url":"git+https://github.com/0xIntuition/intuition-ts.git","type":"git","directory":"packages/graphql"},"_npmVersion":"9.7.2","description":"GraphQL","directories":{},"_nodeVersion":"18.15.0","dependencies":{"graphql":"^16.9.0","graphql-request":"^7.1.0","@tanstack/react-query":"^5.32.0","@graphql-codegen/typescript-document-nodes":"^4.0.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vite":"^5.2.11","vitest":"^1.3.1","typescript":"^5.4.5","concurrently":"^8.2.2","@parcel/watcher":"^2.4.1","@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-typed-document-node/core":"^3.2.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-codegen/typescript-react-apollo":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_0.8.0_1743547720518_0.42956924594307466","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-alpha.0":{"name":"@0xintuition/graphql","version":"1.0.0-alpha.0","_id":"@0xintuition/graphql@1.0.0-alpha.0","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"simonas-intuition","email":"simonas@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"intuition_kames","email":"kames@intuition.systems"}],"homepage":"https://github.com/0xIntuition/intuition-ts#readme","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"dist":{"shasum":"f7088d9b1f91fdb3b2eb31a4cb0072c647c87c63","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-1.0.0-alpha.0.tgz","fileCount":8,"integrity":"sha512-3Ov7dPOsMf3tk96Gk3ILCf996SfjqCSDEFZMuHN+vsDO1k0YcfURHtXcyXTh7DpfSQFAule0esfQv9olWuK8pw==","signatures":[{"sig":"MEYCIQDMZhuSWPX18uwxtktki8nFLxsla3OoCP4G4E3KxaRqAQIhAOrkOD6MSF0YIuHbVa8L/2kdsvvK5ZQPfIcoBEZNnVPf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9548755},"main":"./dist/index.js","_from":"file:0xintuition-graphql-1.0.0-alpha.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","test":"vitest","build":"tsup","lint:fix":"pnpm lint --fix","prebuild":"pnpm codegen:build","publish-dry":"pnpm build && pnpm publish --dry-run --no-git-checks --ignore-scripts","publish-next":"pnpm build && pnpm publish --tag next --no-git-checks --ignore-scripts","version:beta":"pnpm version prerelease --preid beta --no-git-tag-version","codegen:build":"NODE_ENV=production graphql-codegen --config codegen.ts","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts","version:major":"pnpm version major --no-git-tag-version","version:minor":"pnpm version minor --no-git-tag-version","version:patch":"pnpm version patch --no-git-tag-version","publish-latest":"pnpm build && pnpm publish --tag latest --no-git-checks --ignore-scripts"},"_npmUser":{"name":"intuition_kames","actor":{"name":"intuition_kames","type":"user","email":"kames@intuition.systems"},"email":"kames@intuition.systems"},"_resolved":"/private/var/folders/bk/gv24k1zn4kzbbfhpfq8x9dg80000gn/T/127101285f26271728c0c55a0b558403/0xintuition-graphql-1.0.0-alpha.0.tgz","_integrity":"sha512-3Ov7dPOsMf3tk96Gk3ILCf996SfjqCSDEFZMuHN+vsDO1k0YcfURHtXcyXTh7DpfSQFAule0esfQv9olWuK8pw==","repository":{"url":"git+https://github.com/0xIntuition/intuition-ts.git","type":"git","directory":"packages/graphql"},"_npmVersion":"10.9.0","description":"Intuition GraphQL","directories":{},"_nodeVersion":"22.12.0","dependencies":{"graphql":"^16.9.0","graphql-request":"^7.1.0","@tanstack/react-query":"^5.32.0","@graphql-codegen/typescript-document-nodes":"^4.0.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vite":"^5.2.11","vitest":"^1.3.1","typescript":"^5.4.5","concurrently":"^8.2.2","@parcel/watcher":"^2.4.1","@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-typed-document-node/core":"^3.2.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-codegen/typescript-react-apollo":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_1.0.0-alpha.0_1750871465738_0.686478287156389","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-alpha.1":{"name":"@0xintuition/graphql","version":"1.0.0-alpha.1","_id":"@0xintuition/graphql@1.0.0-alpha.1","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"simonas-intuition","email":"simonas@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"intuition_kames","email":"kames@intuition.systems"}],"homepage":"https://github.com/0xIntuition/intuition-ts#readme","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"dist":{"shasum":"25af1af2656acbfd08cace839ef3ac24a83904a9","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-1.0.0-alpha.1.tgz","fileCount":8,"integrity":"sha512-/MohmAdOyEcyCUL2uZQrxFibn4eKiX/JQlRYRoXz5PLKVJb+76vP1jYN/2ALu5BxMpTiacaalsU/Rh0msDxuBw==","signatures":[{"sig":"MEUCIQCb9oQOxVLl1vfVkPlIYr99pNBTmMaUddy7WV6JGX/tSQIgEBj0cC/+2wOhJtxHwRNfIXsf6TWLVDDNVw6G5ME2O5I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9794890},"main":"./dist/index.js","_from":"file:0xintuition-graphql-1.0.0-alpha.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","lint":"eslint","test":"vitest","build":"tsup","codegen":"NODE_ENV=production graphql-codegen --config codegen.ts","lint:fix":"eslint --fix","prebuild":"pnpm codegen","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts"},"_npmUser":{"name":"intuition_kames","email":"kames@intuition.systems"},"_resolved":"/private/var/folders/bk/gv24k1zn4kzbbfhpfq8x9dg80000gn/T/a64e3ab70c63d6197faa7e060a403585/0xintuition-graphql-1.0.0-alpha.1.tgz","_integrity":"sha512-/MohmAdOyEcyCUL2uZQrxFibn4eKiX/JQlRYRoXz5PLKVJb+76vP1jYN/2ALu5BxMpTiacaalsU/Rh0msDxuBw==","repository":{"url":"git+https://github.com/0xIntuition/intuition-ts.git","type":"git","directory":"packages/graphql"},"_npmVersion":"10.9.0","description":"Intuition GraphQL","directories":{},"_nodeVersion":"22.12.0","dependencies":{"graphql":"^16.9.0","graphql-request":"^7.1.0","@tanstack/react-query":"^5.32.0","@graphql-codegen/typescript-document-nodes":"^4.0.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vite":"^5.2.11","vitest":"^1.3.1","typescript":"^5.4.5","concurrently":"^8.2.2","@parcel/watcher":"^2.4.1","@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-typed-document-node/core":"^3.2.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-codegen/typescript-react-apollo":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_1.0.0-alpha.1_1755009361181_0.13615753200289182","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.0":{"name":"@0xintuition/graphql","version":"2.0.0-alpha.0","_id":"@0xintuition/graphql@2.0.0-alpha.0","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"simonas-intuition","email":"simonas@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"intuition_kames","email":"kames@intuition.systems"}],"homepage":"https://github.com/0xIntuition/intuition-ts#readme","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"dist":{"shasum":"247ae080f5541b1bfbaec1685186bc843e35bbbf","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-2.0.0-alpha.0.tgz","fileCount":8,"integrity":"sha512-HxtfAnhmowkybnl6A3sMTW93wmNum9kJCGfDna3rXATmCW/rpSzlqbwimy6X3QwloP74nFI3xRP8QPPo/smP1A==","signatures":[{"sig":"MEQCIA99+ZdULN5C27sLmVKjcx7AtVaoiaeVvU3QLpdRqOjPAiAHJvsI1qfVx06/seCDv/wXHqoPR0dSvKuXlhi4+2ev8Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9704861},"main":"./dist/index.js","_from":"file:0xintuition-graphql-2.0.0-alpha.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","lint":"eslint","test":"vitest","build":"tsup","codegen":"NODE_ENV=production graphql-codegen --config codegen.ts","lint:fix":"eslint --fix","prebuild":"pnpm codegen","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts"},"_npmUser":{"name":"intuition_kames","email":"kames@intuition.systems"},"_resolved":"/private/var/folders/bk/gv24k1zn4kzbbfhpfq8x9dg80000gn/T/48b35781d9fb02e155b2b246cd29b43c/0xintuition-graphql-2.0.0-alpha.0.tgz","_integrity":"sha512-HxtfAnhmowkybnl6A3sMTW93wmNum9kJCGfDna3rXATmCW/rpSzlqbwimy6X3QwloP74nFI3xRP8QPPo/smP1A==","repository":{"url":"git+https://github.com/0xIntuition/intuition-ts.git","type":"git","directory":"packages/graphql"},"_npmVersion":"10.9.0","description":"Intuition GraphQL","directories":{},"_nodeVersion":"22.12.0","dependencies":{"graphql":"^16.9.0","graphql-request":"^7.1.0","@tanstack/react-query":"^5.32.0","@graphql-codegen/typescript-document-nodes":"^4.0.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vite":"^5.2.11","vitest":"^1.3.1","typescript":"^5.4.5","concurrently":"^8.2.2","@parcel/watcher":"^2.4.1","@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-typed-document-node/core":"^3.2.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-codegen/typescript-react-apollo":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_2.0.0-alpha.0_1757607706843_0.4791456569601613","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.2":{"name":"@0xintuition/graphql","version":"2.0.0-alpha.2","_id":"@0xintuition/graphql@2.0.0-alpha.2","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"simonas-intuition","email":"simonas@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"intuition_kames","email":"kames@intuition.systems"}],"homepage":"https://github.com/0xIntuition/intuition-ts#readme","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"dist":{"shasum":"6f051686c01c5c5418b4c412f0951050c9fc603b","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-2.0.0-alpha.2.tgz","fileCount":8,"integrity":"sha512-BF6FDrI21GR2wpAKJYkfAuLphadsmqyydOwogBemJKmW5wAwt+/McBAxtmWzX/Ar0eMDxYoWvsOgduVbSYOVrA==","signatures":[{"sig":"MEUCIByVkIkSxcpRb6caU0/e2H9/30pviRLJ/m0tGs1Jyk0mAiEAmzrj6lmy4lB6Al8gUrQb6sxthJB1gvNLroDWQlK1BZY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10210112},"main":"./dist/index.js","_from":"file:0xintuition-graphql-2.0.0-alpha.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","lint":"eslint","test":"vitest","build":"tsup","codegen":"NODE_ENV=production graphql-codegen --config codegen.ts","lint:fix":"eslint --fix","prebuild":"pnpm codegen","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts"},"_npmUser":{"name":"simonas-intuition","email":"simonas@intuition.systems"},"_resolved":"/private/var/folders/lc/b96_7f0s07s_g22qmz_v8q600000gn/T/464625cf45b418fd0e04d5e092d35b07/0xintuition-graphql-2.0.0-alpha.2.tgz","_integrity":"sha512-BF6FDrI21GR2wpAKJYkfAuLphadsmqyydOwogBemJKmW5wAwt+/McBAxtmWzX/Ar0eMDxYoWvsOgduVbSYOVrA==","repository":{"url":"git+https://github.com/0xIntuition/intuition-ts.git","type":"git","directory":"packages/graphql"},"_npmVersion":"10.9.2","description":"Intuition GraphQL","directories":{},"_nodeVersion":"22.15.0","dependencies":{"graphql":"^16.9.0","graphql-request":"^7.1.0","@tanstack/react-query":"^5.32.0","@graphql-codegen/typescript-document-nodes":"^4.0.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vite":"^5.2.11","vitest":"^1.3.1","typescript":"^5.4.5","concurrently":"^8.2.2","@parcel/watcher":"^2.4.1","@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-typed-document-node/core":"^3.2.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-codegen/typescript-react-apollo":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_2.0.0-alpha.2_1758117862568_0.16620730399071504","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.3":{"name":"@0xintuition/graphql","version":"2.0.0-alpha.3","_id":"@0xintuition/graphql@2.0.0-alpha.3","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"simonas-intuition","email":"simonas@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"intuition_kames","email":"kames@intuition.systems"}],"homepage":"https://github.com/0xIntuition/intuition-ts#readme","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"dist":{"shasum":"652b5c0d91fcc3de90e739a71e8223ea43d88113","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-2.0.0-alpha.3.tgz","fileCount":8,"integrity":"sha512-4SFHUZeu2OyGUjC3EPqNx0gcjwd7InbYmh/m/5HcbRBBFmHT6eb8xCU+aB3rdBwL5mB3xNxN3pj1npMAKlIv4w==","signatures":[{"sig":"MEYCIQCcdD+gQ/e1U+US5r7AaJwkdQMWfo7fc2K8niTKzHQaJAIhAMrGPIjbiIKp9XyHw3NWdutotjgKZ8YdJjCKYJqq13h2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10265338},"main":"./dist/index.js","_from":"file:0xintuition-graphql-2.0.0-alpha.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","lint":"eslint","test":"vitest","build":"tsup","codegen":"NODE_ENV=production graphql-codegen --config codegen.ts","lint:fix":"eslint --fix","prebuild":"pnpm codegen","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts"},"_npmUser":{"name":"intuition_kames","email":"kames@intuition.systems"},"_resolved":"/private/var/folders/bk/gv24k1zn4kzbbfhpfq8x9dg80000gn/T/a1d34539566fd72216f4a110c11c30de/0xintuition-graphql-2.0.0-alpha.3.tgz","_integrity":"sha512-4SFHUZeu2OyGUjC3EPqNx0gcjwd7InbYmh/m/5HcbRBBFmHT6eb8xCU+aB3rdBwL5mB3xNxN3pj1npMAKlIv4w==","repository":{"url":"git+https://github.com/0xIntuition/intuition-ts.git","type":"git","directory":"packages/graphql"},"_npmVersion":"10.9.0","description":"Intuition GraphQL","directories":{},"_nodeVersion":"22.12.0","dependencies":{"graphql":"^16.9.0","graphql-request":"^7.1.0","@tanstack/react-query":"^5.32.0","@graphql-codegen/typescript-document-nodes":"^4.0.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vite":"^5.2.11","vitest":"^1.3.1","typescript":"^5.4.5","concurrently":"^8.2.2","@parcel/watcher":"^2.4.1","@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-typed-document-node/core":"^3.2.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-codegen/typescript-react-apollo":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_2.0.0-alpha.3_1761843939207_0.1789863822533888","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.4":{"name":"@0xintuition/graphql","version":"2.0.0-alpha.4","_id":"@0xintuition/graphql@2.0.0-alpha.4","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"simonas-intuition","email":"simonas@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"intuition_kames","email":"kames@intuition.systems"}],"homepage":"https://github.com/0xIntuition/intuition-ts#readme","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"dist":{"shasum":"90b188545814f8a7029a926e7913a83e972a9961","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-2.0.0-alpha.4.tgz","fileCount":8,"integrity":"sha512-4LPmtW4tRrnu8JcvtzRAHpFVIOXMI0fnN5ISn5KmWKHUGcMgtfHIYB0OE28sFh/LzpLZ1Sscvyc554T9M2mAYQ==","signatures":[{"sig":"MEQCIAMhFb7fEWc2c9eS4Vss+kWaZVPD5xtUMAR/eAUTgtHHAiAeYQ/H0YyWHS7eGCgkHYxu2H++NCWEViytm9U3Lc5Fbg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10265338},"main":"./dist/index.js","_from":"file:0xintuition-graphql-2.0.0-alpha.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","lint":"eslint","test":"vitest","build":"tsup","codegen":"NODE_ENV=production graphql-codegen --config codegen.ts","lint:fix":"eslint --fix","prebuild":"pnpm codegen","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts"},"_npmUser":{"name":"intuition_kames","email":"kames@intuition.systems"},"_resolved":"/private/var/folders/bk/gv24k1zn4kzbbfhpfq8x9dg80000gn/T/53c9e437f558009d89fe94f7640582e0/0xintuition-graphql-2.0.0-alpha.4.tgz","_integrity":"sha512-4LPmtW4tRrnu8JcvtzRAHpFVIOXMI0fnN5ISn5KmWKHUGcMgtfHIYB0OE28sFh/LzpLZ1Sscvyc554T9M2mAYQ==","repository":{"url":"git+https://github.com/0xIntuition/intuition-ts.git","type":"git","directory":"packages/graphql"},"_npmVersion":"10.9.0","description":"Intuition GraphQL","directories":{},"_nodeVersion":"22.12.0","dependencies":{"graphql":"^16.9.0","graphql-request":"^7.1.0","@tanstack/react-query":"^5.32.0","@graphql-codegen/typescript-document-nodes":"^4.0.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vite":"^5.2.11","vitest":"^1.3.1","typescript":"^5.4.5","concurrently":"^8.2.2","@parcel/watcher":"^2.4.1","@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-typed-document-node/core":"^3.2.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-codegen/typescript-react-apollo":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_2.0.0-alpha.4_1762741242135_0.5928790871853038","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@0xintuition/graphql","version":"2.0.0","_id":"@0xintuition/graphql@2.0.0","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"simonas-intuition","email":"simonas@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"intuition_kames","email":"kames@intuition.systems"}],"homepage":"https://github.com/0xIntuition/intuition-ts#readme","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"dist":{"shasum":"89e8202696e33393ed21646ac40498033d373159","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-2.0.0.tgz","fileCount":8,"integrity":"sha512-L6YZ78OJdKCvRYsWuGnbwt29mRwZ33m3UwFyd+1ZP9+KPXWe8SeMl8YJq4F/n7Gz77gpkitKPpM4g6MIQdKBoQ==","signatures":[{"sig":"MEYCIQCuRa1YoRP8C6Ho0l5tlB+2T9hRgjDpujvPXcqDvVp/eAIhAJt7iynnTZ4kbYVDAkVgw5CS2pR+AvJ6loUxCrxgEFcy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10271069},"main":"./dist/index.js","_from":"file:0xintuition-graphql-2.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","lint":"eslint","test":"vitest","build":"tsup","codegen":"NODE_ENV=production graphql-codegen --config codegen.ts","lint:fix":"eslint --fix","prebuild":"pnpm codegen","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts"},"_npmUser":{"name":"intuition_kames","email":"kames@intuition.systems"},"_resolved":"/private/var/folders/bk/gv24k1zn4kzbbfhpfq8x9dg80000gn/T/31fc5a7cdc50fc30b53f928033448cd6/0xintuition-graphql-2.0.0.tgz","_integrity":"sha512-L6YZ78OJdKCvRYsWuGnbwt29mRwZ33m3UwFyd+1ZP9+KPXWe8SeMl8YJq4F/n7Gz77gpkitKPpM4g6MIQdKBoQ==","repository":{"url":"git+https://github.com/0xIntuition/intuition-ts.git","type":"git","directory":"packages/graphql"},"_npmVersion":"10.9.0","description":"Intuition GraphQL","directories":{},"_nodeVersion":"22.12.0","dependencies":{"graphql":"^16.9.0","graphql-request":"^7.1.0","@tanstack/react-query":"^5.32.0","@graphql-codegen/typescript-document-nodes":"^4.0.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsup":"^6.7.0","vite":"^5.2.11","vitest":"^1.3.1","typescript":"^5.4.5","concurrently":"^8.2.2","@parcel/watcher":"^2.4.1","@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-typed-document-node/core":"^3.2.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-codegen/typescript-react-apollo":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_2.0.0_1765212429764_0.8450295334660956","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@0xintuition/graphql","version":"2.0.1","_id":"@0xintuition/graphql@2.0.1","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"simonas-intuition","email":"simonas@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"intuition_kames","email":"kames@intuition.systems"}],"homepage":"https://github.com/0xIntuition/intuition-ts#readme","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"dist":{"shasum":"5debfe117d061adb8b6656843ae8c9ccc7442215","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-2.0.1.tgz","fileCount":8,"integrity":"sha512-pj6+pC7rPdfTtQjLOP4kobU0Kdh+4ILor94Eig2ZtpMy0nqDlvj2PKLJbK9ZvnpWXS+hyVYbPB3iWQbHiC9XHg==","signatures":[{"sig":"MEUCIFdiZjl0PHo5XY+NNYZL5pEgDj1EEUaj6+CHJSKuNtE4AiEAvENWqdQkm8rnzAKaCGsGIoABhMad/U5qum9UyAHvAFc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10271069},"main":"./dist/index.js","_from":"file:0xintuition-graphql-2.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","lint":"eslint","test":"vitest","build":"tsup","codegen":"NODE_ENV=production graphql-codegen --config codegen.ts","lint:fix":"eslint --fix","prebuild":"pnpm codegen","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts"},"_npmUser":{"name":"intuition_kames","email":"kames@intuition.systems"},"_resolved":"/private/var/folders/bk/gv24k1zn4kzbbfhpfq8x9dg80000gn/T/38246fc05cfc0e7e026b310d2a3115bb/0xintuition-graphql-2.0.1.tgz","_integrity":"sha512-pj6+pC7rPdfTtQjLOP4kobU0Kdh+4ILor94Eig2ZtpMy0nqDlvj2PKLJbK9ZvnpWXS+hyVYbPB3iWQbHiC9XHg==","repository":{"url":"git+https://github.com/0xIntuition/intuition-ts.git","type":"git","directory":"packages/graphql"},"_npmVersion":"10.9.0","description":"Intuition GraphQL","directories":{},"_nodeVersion":"22.12.0","dependencies":{"graphql":"^16.9.0","graphql-request":"^7.1.0","@tanstack/react-query":"^5.32.0","@graphql-codegen/typescript-document-nodes":"^4.0.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vite":"^5.2.11","vitest":"^1.3.1","typescript":"^5.4.5","concurrently":"^8.2.2","@parcel/watcher":"^2.4.1","@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-typed-document-node/core":"^3.2.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-codegen/typescript-react-apollo":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_2.0.1_1765213366685_0.9640724815112509","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@0xintuition/graphql","version":"2.0.2","_id":"@0xintuition/graphql@2.0.2","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"simonas-intuition","email":"simonas@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"intuition_kames","email":"kames@intuition.systems"}],"homepage":"https://github.com/0xIntuition/intuition-ts#readme","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"dist":{"shasum":"f20b8ff701d1f316d34879e609a13b7c0c520188","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-2.0.2.tgz","fileCount":8,"integrity":"sha512-wWPZQWJoXyCPxk/8rusFVE0gp5+v5TyCJE8oI0aL+i36HwfMXhFsQtF0Idd75O2RObdpC629ZwaUbnYTVew7pw==","signatures":[{"sig":"MEYCIQD+riR3+MBGNK4Fo/pmLeWHl02tQIRgZYpi5HQQC0WtDAIhAP8DqGfMJZvfP8Pt5ibPkSUKng1BMOtk+AabtQ9/yT5b","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10271069},"main":"./dist/index.js","_from":"file:0xintuition-graphql-2.0.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","lint":"eslint","test":"vitest","build":"tsup","codegen":"NODE_ENV=production graphql-codegen --config codegen.ts","lint:fix":"eslint --fix","prebuild":"pnpm codegen","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts"},"_npmUser":{"name":"intuition_kames","email":"kames@intuition.systems"},"_resolved":"/private/var/folders/bk/gv24k1zn4kzbbfhpfq8x9dg80000gn/T/2202e8df3f63287e799225458f2aed6f/0xintuition-graphql-2.0.2.tgz","_integrity":"sha512-wWPZQWJoXyCPxk/8rusFVE0gp5+v5TyCJE8oI0aL+i36HwfMXhFsQtF0Idd75O2RObdpC629ZwaUbnYTVew7pw==","repository":{"url":"git+https://github.com/0xIntuition/intuition-ts.git","type":"git","directory":"packages/graphql"},"_npmVersion":"10.9.0","description":"Intuition GraphQL","directories":{},"_nodeVersion":"22.12.0","dependencies":{"graphql":"^16.9.0","graphql-request":"^7.1.0","@tanstack/react-query":"^5.32.0","@graphql-codegen/typescript-document-nodes":"^4.0.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vite":"^5.2.11","vitest":"^1.3.1","typescript":"^5.4.5","concurrently":"^8.2.2","@parcel/watcher":"^2.4.1","@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-typed-document-node/core":"^3.2.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-codegen/typescript-react-apollo":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_2.0.2_1765216983804_0.4993245535916595","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@0xintuition/graphql","version":"3.0.0","_id":"@0xintuition/graphql@3.0.0","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"intuition_kames","email":"kames@intuition.systems"}],"homepage":"https://github.com/0xIntuition/intuition-ts#readme","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"dist":{"shasum":"4f27cb1d4992ac186e0e0c2f1ed0c547046ae43c","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-3.0.0.tgz","fileCount":3,"integrity":"sha512-tuNG2bPkt7HsDcIzsitm2yi5AyWy/yFFJ4x96eIRhd/XEHra6vY7+bccfXDKHbTHZWiVYUKzNYS536h3eu9+kg==","signatures":[{"sig":"MEUCIDZ0q8GGCUzOpTPwtO/bu7KUauam8siGPmY7BjRozueyAiEAxo7HBS3BZdUeIHs3K3R5t+SOksDW7wsTT8FH3msM2Rk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61096},"main":"./dist/index.js","_from":"file:0xintuition-graphql-3.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"scripts":{"dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","lint":"eslint","test":"vitest run","build":"tsup","codegen":"NODE_ENV=production graphql-codegen --config codegen.ts","lint:fix":"eslint --fix","prebuild":"pnpm codegen","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts"},"_npmUser":{"name":"intuition_kames","email":"kames@intuition.systems"},"_resolved":"/private/var/folders/bk/gv24k1zn4kzbbfhpfq8x9dg80000gn/T/b08d17e3c275149e04a64b5e7e7d9cbd/0xintuition-graphql-3.0.0.tgz","_integrity":"sha512-tuNG2bPkt7HsDcIzsitm2yi5AyWy/yFFJ4x96eIRhd/XEHra6vY7+bccfXDKHbTHZWiVYUKzNYS536h3eu9+kg==","repository":{"url":"git+https://github.com/0xIntuition/intuition-ts.git","type":"git","directory":"packages/graphql"},"_npmVersion":"11.6.2","description":"Intuition GraphQL","directories":{},"_nodeVersion":"24.11.1","dependencies":{"graphql":"^16.9.0","graphql-request":"^7.1.0","@tanstack/react-query":"^5.32.0","@graphql-codegen/typescript-document-nodes":"^4.0.11"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^6.7.0","vite":"^5.2.11","vitest":"^1.3.1","typescript":"^5.4.5","concurrently":"^8.2.2","@parcel/watcher":"^2.4.1","@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-typed-document-node/core":"^3.2.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-codegen/typescript-react-apollo":"^4.3.2"},"_npmOperationalInternal":{"tmp":"tmp/graphql_3.0.0_1782416769620_0.9808710664294251","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"@0xintuition/graphql","description":"Intuition GraphQL","version":"3.0.1","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"}},"repository":{"type":"git","url":"git+https://github.com/0xIntuition/intuition-ts.git","directory":"packages/graphql"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"dependencies":{"@graphql-codegen/typescript-document-nodes":"^4.0.11","@tanstack/react-query":"^5.32.0","graphql":"^16.9.0","graphql-request":"^7.1.0"},"devDependencies":{"@0no-co/graphqlsp":"^1.12.16","@graphql-codegen/cli":"^5.0.3","@graphql-codegen/client-preset":"^4.4.0","@graphql-codegen/introspection":"^4.0.3","@graphql-codegen/plugin-helpers":"^5.0.4","@graphql-codegen/schema-ast":"^4.1.0","@graphql-codegen/typescript":"^4.1.0","@graphql-codegen/typescript-operations":"^4.3.0","@graphql-codegen/typescript-react-apollo":"^4.3.2","@graphql-codegen/typescript-react-query":"^6.1.0","@graphql-typed-document-node/core":"^3.2.0","@parcel/watcher":"^2.4.1","concurrently":"^8.2.2","tsup":"^6.7.0","typescript":"^5.4.5","vite":"^5.2.11","vitest":"^1.3.1"},"scripts":{"prebuild":"pnpm codegen","build":"tsup","dev":"concurrently \"pnpm codegen:watch\" \"tsup --watch\"","codegen":"NODE_ENV=production graphql-codegen --config codegen.ts","codegen:watch":"NODE_ENV=development dotenv graphql-codegen --config codegen.ts","pack:verify":"node ../../scripts/verify-package-entrypoints.mjs","test":"vitest run","lint":"eslint","lint:fix":"eslint --fix"},"_id":"@0xintuition/graphql@3.0.1","bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"homepage":"https://github.com/0xIntuition/intuition-ts#readme","_integrity":"sha512-OA6HXlHdtlVTUbZopfMaWQQfbeB7eKVh+w/ucuIZllhEC9MwktaAN058uiYYgNYbcCAMJpz33QE7YgBJh4oCkA==","_resolved":"/private/var/folders/yw/pwt1mjcx1zz57yz7flkcm5br0000gn/T/84d6ce6c77fa3444498214eaf6031c7d/0xintuition-graphql-3.0.1.tgz","_from":"file:0xintuition-graphql-3.0.1.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-OA6HXlHdtlVTUbZopfMaWQQfbeB7eKVh+w/ucuIZllhEC9MwktaAN058uiYYgNYbcCAMJpz33QE7YgBJh4oCkA==","shasum":"0cd976c11d4829f5cb43ade5709f17a042695be6","tarball":"https://registry.npmjs.org/@0xintuition/graphql/-/graphql-3.0.1.tgz","fileCount":8,"unpackedSize":10505025,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBWUeXtO2S14cEOFBpvaLMYk8jbMyYpHGMhj0wW+TkRuAiEA7oUdhhHB9d+OzkPtqH+ouA5BrZRwWzRHGcNyRl8tciI="}]},"_npmUser":{"name":"jpbuilds","email":"jp@intuition.systems"},"directories":{},"maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"intuition_kames","email":"kames@intuition.systems"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/graphql_3.0.1_1782847967543_0.46828845125209684"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-27T04:32:20.833Z","modified":"2026-06-30T19:32:47.881Z","0.0.3":"2024-11-27T04:32:21.173Z","0.0.4":"2024-11-27T05:29:23.342Z","0.0.5":"2024-11-27T05:32:40.461Z","0.2.0":"2024-12-05T21:49:48.180Z","0.3.0":"2024-12-27T15:11:33.906Z","0.4.0":"2025-01-02T19:56:40.702Z","0.5.0":"2025-01-09T03:21:05.329Z","0.6.0":"2025-02-17T21:45:23.851Z","0.7.0":"2025-03-28T02:13:34.704Z","0.8.0":"2025-04-01T22:48:40.774Z","1.0.0-alpha.0":"2025-06-25T17:11:06.070Z","1.0.0-alpha.1":"2025-08-12T14:36:01.465Z","2.0.0-alpha.0":"2025-09-11T16:21:47.013Z","2.0.0-alpha.2":"2025-09-17T14:04:22.820Z","2.0.0-alpha.3":"2025-10-30T17:05:39.428Z","2.0.0-alpha.4":"2025-11-10T02:20:42.436Z","2.0.0":"2025-12-08T16:47:09.923Z","2.0.1":"2025-12-08T17:02:46.921Z","2.0.2":"2025-12-08T18:03:04.067Z","3.0.0":"2026-06-25T19:46:09.750Z","3.0.1":"2026-06-30T19:32:47.690Z"},"bugs":{"url":"https://github.com/0xIntuition/intuition-ts/issues"},"homepage":"https://github.com/0xIntuition/intuition-ts#readme","repository":{"type":"git","url":"git+https://github.com/0xIntuition/intuition-ts.git","directory":"packages/graphql"},"description":"Intuition GraphQL","maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"intuition_kames","email":"kames@intuition.systems"}],"readme":"# @0xintuition/graphql\n\n**GraphQL API Documentation for the Intuition Protocol**\n\nThis package provides comprehensive documentation for querying the Intuition knowledge graph via GraphQL. Use any GraphQL client in any language to interact with atoms, triples, vaults, positions, and more.\n\n[![npm version](https://img.shields.io/npm/v/@0xintuition/graphql.svg)](https://www.npmjs.com/package/@0xintuition/graphql)\n\n---\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Core Concepts](#core-concepts)\n- [Getting Started](#getting-started)\n- [Schema Reference](#schema-reference)\n- [Common Query Patterns](#common-query-patterns)\n- [Mutations](#mutations)\n- [Subscriptions](#subscriptions)\n- [Best Practices](#best-practices)\n- [Example Queries](#example-queries)\n- [Advanced Examples](#advanced-examples)\n- [Code Generation](#code-generation)\n- [Anti-Patterns to Avoid](#anti-patterns-to-avoid)\n- [Resources](#resources)\n\n---\n\n## Introduction\n\nThe Intuition GraphQL API provides access to the complete Intuition knowledge graph, including atoms (entities), triples (relationships), vaults (asset pools), and user positions. The API is powered by Hasura and offers rich querying capabilities with filtering, sorting, pagination, and aggregations.\n\n### Public Endpoints\n\nNo authentication required:\n\n- **Mainnet**: `https://mainnet.intuition.sh/v1/graphql`\n- **Testnet**: `https://testnet.intuition.sh/v1/graphql`\n\n### Public Gated Pinning Endpoint\n\nPinning mutations use a separate public gated endpoint:\n\n- **Pinning**: `https://pin.intuition.systems/v1/graphql`\n\nGenerated pinning helpers such as `usePinThingMutation.fetcher` route to this endpoint automatically and require an `apikey` header. Keep this key on a server. Browser apps should call their own server route instead of embedding the key in client-side code.\n\n### Interactive Explorers\n\nExplore the API interactively with Apollo Studio Sandbox:\n\n- [Mainnet Explorer](https://studio.apollographql.com/sandbox/explorer?endpoint=https%3A%2F%2Fmainnet.intuition.sh%2Fv1%2Fgraphql)\n- [Testnet Explorer](https://studio.apollographql.com/sandbox/explorer?endpoint=https%3A%2F%2Ftestnet.intuition.sh%2Fv1%2Fgraphql)\n\n---\n\n## Core Concepts\n\n### Atoms\n\n**Atoms** are the fundamental entities in the Intuition knowledge graph. Each atom represents an identity, concept, or piece of data (e.g., a person, organization, tag, or blockchain address).\n\n### Triples\n\n**Triples** are statements that connect atoms in subject-predicate-object relationships. For example: `(Alice, knows, Bob)` or `(Document, hasTag, TypeScript)`.\n\n### Vaults\n\n**Vaults** are asset pools associated with atoms and triples. Users deposit assets into vaults and receive shares based on bonding curves. See the [@0xintuition/protocol](../protocol/README.md) documentation for details on bonding curves and vault mechanics.\n\n### Positions\n\n**Positions** represent user ownership (shares) in vaults. Each position tracks an account's shares in a specific vault.\n\n### Accounts\n\n**Accounts** are blockchain addresses participating in the protocol, including:\n\n- User wallets\n- Atom wallets (smart contract wallets for atoms)\n- Protocol vaults\n\n### Deposits & Redemptions\n\n**Deposits** are transactions where users add assets to vaults and receive shares. **Redemptions** are the reverse: users burn shares to withdraw assets.\n\n### Events\n\n**Events** capture the complete on-chain event history, including deposits, redemptions, atom creation, triple creation, and more.\n\n### Stats\n\n**Stats** provide protocol-wide statistics and aggregated metrics.\n\n---\n\n## Getting Started\n\nThe Intuition GraphQL API works with any GraphQL client. Below are minimal examples for popular clients across different languages.\n\n### JavaScript / TypeScript\n\n**For JavaScript/TypeScript projects**: Instead of hardcoding API endpoints, import them from this package:\n\n```typescript\nimport { API_URL_DEV, API_URL_PROD } from '@0xintuition/graphql'\n\n// API_URL_PROD = 'https://mainnet.intuition.sh/v1/graphql'\n// API_URL_DEV = 'https://testnet.intuition.sh/v1/graphql'\n```\n\n#### graphql-request\n\n```typescript\nimport { API_URL_PROD } from '@0xintuition/graphql'\n\nimport { GraphQLClient } from 'graphql-request'\n\nconst client = new GraphQLClient(API_URL_PROD)\n\nconst query = `\n  query GetAtom($id: String!) {\n    atom(term_id: $id) {\n      term_id\n      label\n      image\n    }\n  }\n`\n\nconst data = await client.request(query, { id: '0x...' })\n```\n\n[graphql-request documentation](https://github.com/jasonkuhrt/graphql-request)\n\n#### Apollo Client\n\n```typescript\nimport { API_URL_PROD } from '@0xintuition/graphql'\n\nimport { ApolloClient, gql, InMemoryCache } from '@apollo/client'\n\nconst client = new ApolloClient({\n  uri: API_URL_PROD,\n  cache: new InMemoryCache(),\n})\n\nconst { data } = await client.query({\n  query: gql`\n    query GetAtom($id: String!) {\n      atom(term_id: $id) {\n        term_id\n        label\n      }\n    }\n  `,\n  variables: { id: '0x...' },\n})\n```\n\n[@apollo/client documentation](https://www.apollographql.com/docs/react/)\n\n#### urql\n\n```typescript\nimport { API_URL_PROD } from '@0xintuition/graphql'\n\nimport { createClient } from 'urql'\n\nconst client = createClient({\n  url: API_URL_PROD,\n})\n\nconst result = await client.query(query, { id: '0x...' }).toPromise()\n```\n\n[urql documentation](https://formidable.com/open-source/urql/docs/)\n\n#### Plain fetch\n\n```typescript\nimport { API_URL_PROD } from '@0xintuition/graphql'\n\nconst response = await fetch(API_URL_PROD, {\n  method: 'POST',\n  headers: { 'Content-Type': 'application/json' },\n  body: JSON.stringify({\n    query: `query GetAtom($id: String!) { atom(term_id: $id) { term_id label } }`,\n    variables: { id: '0x...' },\n  }),\n})\n\nconst { data } = await response.json()\n```\n\n### Python\n\n#### gql\n\n```python\nfrom gql import gql, Client\nfrom gql.transport.requests import RequestsHTTPTransport\n\ntransport = RequestsHTTPTransport(url='https://mainnet.intuition.sh/v1/graphql')\nclient = Client(transport=transport)\n\nquery = gql('''\n  query GetAtom($id: String!) {\n    atom(term_id: $id) {\n      term_id\n      label\n    }\n  }\n''')\n\nresult = client.execute(query, variable_values={'id': '0x...'})\n```\n\n[gql documentation](https://gql.readthedocs.io/)\n\n#### python-graphql-client\n\n```python\nfrom python_graphql_client import GraphqlClient\n\nclient = GraphqlClient(endpoint='https://mainnet.intuition.sh/v1/graphql')\n\nquery = '''\n  query GetAtom($id: String!) {\n    atom(term_id: $id) {\n      term_id\n      label\n    }\n  }\n'''\n\ndata = client.execute(query=query, variables={'id': '0x...'})\n```\n\n[python-graphql-client documentation](https://github.com/prisma-labs/python-graphql-client)\n\n### Go\n\n#### machinebox/graphql\n\n```go\npackage main\n\nimport (\n    \"context\"\n    \"github.com/machinebox/graphql\"\n)\n\nfunc main() {\n    client := graphql.NewClient(\"https://mainnet.intuition.sh/v1/graphql\")\n\n    req := graphql.NewRequest(`\n        query GetAtom($id: String!) {\n            atom(term_id: $id) {\n                term_id\n                label\n            }\n        }\n    `)\n    req.Var(\"id\", \"0x...\")\n\n    var response map[string]interface{}\n    client.Run(context.Background(), req, &response)\n}\n```\n\n[machinebox/graphql documentation](https://github.com/machinebox/graphql)\n\n### Rust\n\n#### graphql-client\n\n```rust\nuse graphql_client::{GraphQLQuery, Response};\n\n#[derive(GraphQLQuery)]\n#[graphql(\n    schema_path = \"schema.graphql\",\n    query_path = \"get_atom.graphql\",\n)]\nstruct GetAtom;\n\nlet client = reqwest::Client::new();\nlet variables = get_atom::Variables {\n    id: \"0x...\".to_string(),\n};\n\nlet response = client\n    .post(\"https://mainnet.intuition.sh/v1/graphql\")\n    .json(&GetAtom::build_query(variables))\n    .send()\n    .await?;\n```\n\n[graphql-client documentation](https://github.com/graphql-rust/graphql-client)\n\n---\n\n## Schema Reference\n\n### Getting the Schema\n\nGenerate the GraphQL schema via introspection:\n\n```bash\n# Mainnet\nnpx get-graphql-schema https://mainnet.intuition.sh/v1/graphql > schema.graphql\n\n# Testnet\nnpx get-graphql-schema https://testnet.intuition.sh/v1/graphql > schema.graphql\n```\n\n### Schema Features\n\nThe Hasura-powered GraphQL schema provides:\n\n#### Filtering with `where` Clauses\n\nUse boolean expressions to filter results:\n\n```graphql\nquery GetRecentAtoms {\n  atoms(\n    where: { created_at: { _gte: \"2024-01-01\" }, type: { _eq: Person } }\n    limit: 10\n  ) {\n    term_id\n    label\n  }\n}\n```\n\n**Available operators**:\n\n- `_eq`, `_neq` - Equality\n- `_gt`, `_gte`, `_lt`, `_lte` - Comparisons\n- `_in`, `_nin` - Array membership\n- `_like`, `_ilike` - Pattern matching (case-sensitive/insensitive)\n- `_is_null` - Null checks\n- `_and`, `_or`, `_not` - Boolean logic\n\n#### Sorting with `order_by`\n\n```graphql\nquery GetTopAtoms {\n  atoms(\n    order_by: [{ term: { total_market_cap: desc } }, { created_at: desc }]\n    limit: 10\n  ) {\n    term_id\n    label\n  }\n}\n```\n\n#### Pagination\n\n```graphql\nquery GetAtomsPage($limit: Int!, $offset: Int!) {\n  atoms(limit: $limit, offset: $offset, order_by: { created_at: desc }) {\n    term_id\n    label\n  }\n\n  atoms_aggregate {\n    aggregate {\n      count\n    }\n  }\n}\n```\n\n#### Aggregations\n\n```graphql\nquery GetPositionStats($accountId: String!) {\n  positions_aggregate(where: { account_id: { _eq: $accountId } }) {\n    aggregate {\n      count\n      sum {\n        shares\n      }\n    }\n  }\n}\n```\n\n#### Relationships\n\nGraphQL relationships allow nested queries:\n\n```graphql\nquery GetAtomWithCreator($id: String!) {\n  atom(term_id: $id) {\n    term_id\n    label\n    creator {\n      id\n      label\n      image\n    }\n  }\n}\n```\n\n#### Primary Key Lookups\n\n```graphql\nquery GetAtom($id: String!) {\n  atom(term_id: $id) {\n    # Direct lookup by primary key\n    term_id\n    label\n  }\n}\n```\n\n---\n\n## Common Query Patterns\n\n### Querying Atoms\n\n#### Get Single Atom\n\n```graphql\nquery GetAtom($id: String!) {\n  atom(term_id: $id) {\n    term_id\n    data\n    label\n    image\n    type\n    created_at\n    creator {\n      id\n      label\n    }\n  }\n}\n```\n\n#### List Atoms with Filtering\n\n```graphql\nquery GetAtomsByType($type: atom_type!, $limit: Int!) {\n  atoms(\n    where: { type: { _eq: $type } }\n    order_by: { created_at: desc }\n    limit: $limit\n  ) {\n    term_id\n    label\n    image\n    created_at\n  }\n}\n```\n\n#### Get Atom with Vault Details\n\n```graphql\nquery GetAtomWithVault($id: String!, $curveId: numeric!) {\n  atom(term_id: $id) {\n    term_id\n    label\n    term {\n      vaults(where: { curve_id: { _eq: $curveId } }) {\n        term_id\n        curve_id\n        total_shares\n        current_share_price\n        position_count\n      }\n    }\n  }\n}\n```\n\n### Querying Triples\n\n#### Get Single Triple\n\n```graphql\nquery GetTriple($id: String!) {\n  triple(term_id: $id) {\n    term_id\n    subject {\n      term_id\n      label\n      image\n    }\n    predicate {\n      term_id\n      label\n    }\n    object {\n      term_id\n      label\n      image\n    }\n  }\n}\n```\n\n#### Filter Triples by Subject/Predicate/Object\n\n```graphql\nquery GetTriplesBySubject($subjectId: String!, $limit: Int!) {\n  triples(\n    where: { subject_id: { _eq: $subjectId } }\n    order_by: { created_at: desc }\n    limit: $limit\n  ) {\n    term_id\n    predicate {\n      label\n    }\n    object {\n      label\n    }\n  }\n}\n```\n\n#### Get Triples with Positions\n\n```graphql\nquery GetTriplesWithPositions(\n  $where: triples_bool_exp!\n  $curveId: numeric!\n  $limit: Int!\n) {\n  triples(where: $where, limit: $limit) {\n    term_id\n    subject {\n      label\n    }\n    predicate {\n      label\n    }\n    object {\n      label\n    }\n    term {\n      vaults(where: { curve_id: { _eq: $curveId } }) {\n        total_shares\n        position_count\n      }\n    }\n    counter_term {\n      vaults(where: { curve_id: { _eq: $curveId } }) {\n        total_shares\n        position_count\n      }\n    }\n  }\n}\n```\n\n### Querying Positions\n\n#### Get User Positions\n\n```graphql\nquery GetUserPositions($accountId: String!, $limit: Int!) {\n  positions(\n    where: { account_id: { _eq: $accountId } }\n    order_by: { shares: desc }\n    limit: $limit\n  ) {\n    id\n    shares\n    vault {\n      term_id\n      total_shares\n      current_share_price\n    }\n  }\n}\n```\n\n#### Get Aggregate Position Data\n\n```graphql\nquery GetPositionAggregates($accountId: String!) {\n  positions_aggregate(where: { account_id: { _eq: $accountId } }) {\n    aggregate {\n      count\n      sum {\n        shares\n      }\n    }\n  }\n}\n```\n\n**Best Practice**: Use aggregates when you only need counts or sums - don't fetch all nodes just to count them.\n\n### Querying Vaults\n\n#### Get Vault Details\n\n```graphql\nquery GetVault($termId: String!, $curveId: numeric!) {\n  vault(term_id: $termId, curve_id: $curveId) {\n    term_id\n    curve_id\n    total_shares\n    total_assets\n    current_share_price\n    position_count\n    positions(limit: 10, order_by: { shares: desc }) {\n      account {\n        id\n        label\n      }\n      shares\n    }\n  }\n}\n```\n\n### Search Queries\n\n#### Global Search\n\n```graphql\nquery GlobalSearch(\n  $searchTerm: String\n  $atomsLimit: Int\n  $accountsLimit: Int\n  $triplesLimit: Int\n) {\n  accounts(\n    where: {\n      _or: [\n        { label: { _ilike: $searchTerm } }\n        { atom: { data: { _ilike: $searchTerm } } }\n      ]\n    }\n    limit: $accountsLimit\n  ) {\n    id\n    label\n    image\n  }\n\n  atoms(\n    where: {\n      _or: [\n        { label: { _ilike: $searchTerm } }\n        { data: { _ilike: $searchTerm } }\n      ]\n    }\n    limit: $atomsLimit\n  ) {\n    term_id\n    label\n    image\n  }\n\n  triples(\n    where: {\n      _or: [\n        { subject: { label: { _ilike: $searchTerm } } }\n        { predicate: { label: { _ilike: $searchTerm } } }\n        { object: { label: { _ilike: $searchTerm } } }\n      ]\n    }\n    limit: $triplesLimit\n  ) {\n    term_id\n    subject {\n      label\n    }\n    predicate {\n      label\n    }\n    object {\n      label\n    }\n  }\n}\n```\n\n#### Semantic Search\n\n```graphql\nquery SemanticSearch($query: String!, $limit: Int) {\n  search_term(args: { query: $query }, limit: $limit) {\n    atom {\n      term_id\n      label\n      type\n    }\n  }\n}\n```\n\n### Pagination Patterns\n\n#### Offset-Based Pagination\n\n```graphql\nquery GetAtomsPage($limit: Int!, $offset: Int!) {\n  total: atoms_aggregate {\n    aggregate {\n      count\n    }\n  }\n  atoms(limit: $limit, offset: $offset, order_by: { created_at: desc }) {\n    term_id\n    label\n    created_at\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"limit\": 20,\n  \"offset\": 40\n}\n```\n\nThis fetches page 3 (items 41-60) when using 20 items per page.\n\n### Database Functions\n\nThe API provides backend functions for complex queries that would be inefficient to perform client-side.\n\n#### Following/Social Queries\n\nGet accounts a user follows:\n\n```graphql\nquery GetFollowing($address: String!) {\n  following(args: { address: $address }) {\n    id\n    label\n    image\n    atom {\n      term_id\n      label\n    }\n  }\n\n  following_aggregate(args: { address: $address }) {\n    aggregate {\n      count\n    }\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"address\": \"0xd8da6bf26964af9d7eed9e03e53415d37aa96045\"\n}\n```\n\nGet positions from accounts you follow:\n\n```graphql\nquery GetPositionsFromFollowing(\n  $address: String!\n  $limit: Int!\n  $offset: Int!\n) {\n  positions_from_following(\n    args: { address: $address }\n    limit: $limit\n    offset: $offset\n    order_by: { shares: desc }\n  ) {\n    id\n    shares\n    account {\n      id\n      label\n    }\n    vault {\n      term_id\n      current_share_price\n    }\n  }\n}\n```\n\nGet signals from followed accounts:\n\n```graphql\nquery GetSignalsFromFollowing($address: String!, $limit: Int!) {\n  signals_from_following(\n    args: { address: $address }\n    limit: $limit\n    order_by: { created_at: desc }\n  ) {\n    id\n    event_type\n    created_at\n    account {\n      id\n      label\n    }\n    atom {\n      term_id\n      label\n    }\n  }\n}\n```\n\n#### Advanced Position Search\n\nSearch positions with complex filtering:\n\n```graphql\nquery SearchPositions($addresses: _text!, $searchFields: jsonb!) {\n  search_positions_on_subject(\n    args: { addresses: $addresses, search_fields: $searchFields }\n  ) {\n    id\n    shares\n    account {\n      id\n      label\n    }\n    vault {\n      term_id\n      term {\n        atom {\n          label\n          image\n        }\n      }\n    }\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"addresses\": \"{0xabc..., 0xdef...}\",\n  \"searchFields\": {\n    \"min_shares\": \"1000000000000000000\",\n    \"term_type\": \"atom\"\n  }\n}\n```\n\n#### Social Search\n\nSearch terms within your social graph:\n\n```graphql\nquery SearchTermsFromFollowing(\n  $address: String!\n  $query: String!\n  $limit: Int\n) {\n  search_term_from_following(\n    args: { address: $address, query: $query }\n    limit: $limit\n  ) {\n    atom {\n      term_id\n      label\n      type\n      image\n    }\n  }\n}\n```\n\n### Time-Series Analysis\n\nThe API includes pre-computed time-series aggregations for efficient analytics.\n\n#### Price Trend Queries\n\nDaily price trends:\n\n```graphql\nquery GetDailyPriceTrends($termId: String!, $curveId: numeric!, $limit: Int!) {\n  share_price_change_stats_daily(\n    where: { term_id: { _eq: $termId }, curve_id: { _eq: $curveId } }\n    order_by: { bucket: desc }\n    limit: $limit\n  ) {\n    bucket\n    first_share_price\n    last_share_price\n    difference\n    change_count\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"termId\": \"0x...\",\n  \"curveId\": \"1\",\n  \"limit\": 30\n}\n```\n\nFor different time granularities, use:\n\n- `share_price_change_stats_hourly` - Hourly aggregations\n- `share_price_change_stats_weekly` - Weekly aggregations\n- `share_price_change_stats_monthly` - Monthly aggregations\n\n#### Signal Statistics\n\nQuery aggregated signal data over time:\n\n```graphql\nquery GetSignalStats($limit: Int!) {\n  signal_stats_daily(order_by: { bucket: desc }, limit: $limit) {\n    bucket\n    deposit_count\n    redemption_count\n    total_volume\n  }\n}\n```\n\n### Denormalized Tables\n\n#### Predicate-Object Aggregations\n\nQuery pre-aggregated collections grouped by (predicate, object):\n\n```graphql\nquery GetPopularCollections($predicateId: String!, $limit: Int!) {\n  predicate_objects(\n    where: { predicate_id: { _eq: $predicateId } }\n    order_by: { triple_count: desc }\n    limit: $limit\n  ) {\n    predicate_id\n    object_id\n    triple_count\n    total_market_cap\n    total_position_count\n    object {\n      term_id\n      label\n      image\n    }\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"predicateId\": \"0x...\",\n  \"limit\": 20\n}\n```\n\nThis is more efficient than manually aggregating triples with the same predicate and object.\n\n### Statistical Aggregations\n\nBeyond count and sum, the API supports advanced statistical aggregations:\n\n```graphql\nquery GetPositionStatistics($accountId: String!) {\n  positions_aggregate(where: { account_id: { _eq: $accountId } }) {\n    aggregate {\n      count\n      sum {\n        shares\n      }\n      avg {\n        shares\n      }\n      min {\n        shares\n      }\n      max {\n        shares\n      }\n      stddev {\n        shares\n      }\n      stddev_pop {\n        shares\n      }\n      stddev_samp {\n        shares\n      }\n      variance {\n        shares\n      }\n      var_pop {\n        shares\n      }\n      var_samp {\n        shares\n      }\n    }\n  }\n}\n```\n\n**Use cases**:\n\n- `stddev` - Identify outliers in share distributions\n- `variance` - Measure position concentration\n- `avg` - Calculate average position size\n\n---\n\n## Mutations\n\nThe public GraphQL API is read-oriented. Pinning mutations are available through the public gated pinning endpoint and require an Intuition pinning API key. Blockchain state changes (creating atoms, triples, deposits, redemptions) are performed through direct smart contract transactions, not GraphQL mutations.\n\nThe public gated pinning endpoint is used for `pinThing`, `pinPerson`, `pinOrganization`, `uploadJsonToIpfs`, `uploadImage`, and `uploadImageFromUrl`. Configure a key once with `configureClient({ pinApiKey })` or pass an `apikey` header per pinning request.\n\n### Pinning Metadata to IPFS\n\n#### Pin Thing\n\nPin a \"Thing\" object (general entity) to IPFS. The raw GraphQL mutation returns an IPFS URI:\n\n```graphql\nmutation PinThing($thing: PinThingInput!) {\n  pinThing(thing: $thing) {\n    uri\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"thing\": {\n    \"name\": \"TypeScript Programming Language\",\n    \"description\": \"A strongly typed programming language that builds on JavaScript\",\n    \"image\": \"ipfs://QmXnnyufdzAWL5CqZ2RnSNgPbvCc1ALT73s6epPrRnZ1Xy\",\n    \"url\": \"https://www.typescriptlang.org\"\n  }\n}\n```\n\n**Response**:\n\n```json\n{\n  \"data\": {\n    \"pinThing\": {\n      \"uri\": \"ipfs://bafkreib...\"\n    }\n  }\n}\n```\n\nThe generated package helper uses the same endpoint routing:\n\n```typescript\nimport {\n  configureClient,\n  requestPinThing,\n  usePinThingMutation,\n} from '@0xintuition/graphql'\n\nconfigureClient({ pinApiKey: process.env.INTUITION_PIN_API_KEY })\n\nconst uri = await requestPinThing({\n  name: 'TypeScript Programming Language',\n  description:\n    'A strongly typed programming language that builds on JavaScript',\n  image: 'ipfs://QmXnnyufdzAWL5CqZ2RnSNgPbvCc1ALT73s6epPrRnZ1Xy',\n  url: 'https://www.typescriptlang.org',\n})\n\nconst data = await usePinThingMutation.fetcher({\n  name: 'TypeScript Programming Language',\n  description:\n    'A strongly typed programming language that builds on JavaScript',\n  image: 'ipfs://QmXnnyufdzAWL5CqZ2RnSNgPbvCc1ALT73s6epPrRnZ1Xy',\n  url: 'https://www.typescriptlang.org',\n})()\n```\n\nUse `requestPinThing` when you need a guaranteed URI string; it throws if the\npinning response does not include one. Generated mutation fetchers return the raw\nGraphQL response payload.\n\nYou can also pass a key per request:\n\n```typescript\nconst data = await usePinThingMutation.fetcher(\n  {\n    name: 'TypeScript Programming Language',\n    description:\n      'A strongly typed programming language that builds on JavaScript',\n    image: 'ipfs://QmXnnyufdzAWL5CqZ2RnSNgPbvCc1ALT73s6epPrRnZ1Xy',\n    url: 'https://www.typescriptlang.org',\n  },\n  { apikey: process.env.INTUITION_PIN_API_KEY },\n)()\n```\n\n#### Pin Person\n\nPin a Person entity to IPFS:\n\n```graphql\nmutation PinPerson($person: PinPersonInput!) {\n  pinPerson(person: $person) {\n    uri\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"person\": {\n    \"name\": \"Vitalik Buterin\",\n    \"description\": \"Co-founder of Ethereum\",\n    \"email\": \"vitalik@ethereum.org\",\n    \"identifier\": \"vitalik.eth\",\n    \"image\": \"ipfs://QmXnnyufdzAWL5CqZ2RnSNgPbvCc1ALT73s6epPrRnZ1Xy\",\n    \"url\": \"https://vitalik.ca\"\n  }\n}\n```\n\n#### Pin Organization\n\nPin an Organization entity to IPFS:\n\n```graphql\nmutation PinOrganization($organization: PinOrganizationInput!) {\n  pinOrganization(organization: $organization) {\n    uri\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"organization\": {\n    \"name\": \"Ethereum Foundation\",\n    \"description\": \"Non-profit organization supporting Ethereum development\",\n    \"email\": \"info@ethereum.org\",\n    \"image\": \"ipfs://QmXnnyufdzAWL5CqZ2RnSNgPbvCc1ALT73s6epPrRnZ1Xy\",\n    \"url\": \"https://ethereum.foundation\"\n  }\n}\n```\n\n### Uploading JSON to IPFS\n\nPin arbitrary JSON data to IPFS:\n\nRequires the public gated pinning endpoint and an Intuition pinning API key.\n\n```graphql\nmutation UploadJson($json: jsonb!) {\n  uploadJsonToIpfs(json: $json) {\n    hash\n    name\n    size\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"json\": {\n    \"type\": \"custom_metadata\",\n    \"attributes\": [\n      { \"trait_type\": \"Category\", \"value\": \"DeFi\" },\n      { \"trait_type\": \"Chain\", \"value\": \"Base\" }\n    ],\n    \"version\": \"1.0\"\n  }\n}\n```\n\n### Image Upload\n\n#### Upload Image (Base64)\n\nUpload an image from base64-encoded data:\n\nRequires the public gated pinning endpoint and an Intuition pinning API key.\n\n```graphql\nmutation UploadImage($image: UploadImageInput!) {\n  uploadImage(image: $image) {\n    url\n    classification\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"image\": {\n    \"contentType\": \"image/png\",\n    \"data\": \"iVBORw0KGgoAAAANSUhEUgAAAAUA...\",\n    \"filename\": \"avatar.png\"\n  }\n}\n```\n\n**Response**:\n\n```json\n{\n  \"data\": {\n    \"uploadImage\": {\n      \"url\": \"ipfs://QmXnnyufdzAWL5CqZ2RnSNgPbvCc1ALT73s6epPrRnZ1Xy\",\n      \"classification\": \"safe\"\n    }\n  }\n}\n```\n\nThe `classification` field indicates if the image passed content moderation.\n\n#### Upload Image from URL\n\nUpload an image from a public URL:\n\nRequires the public gated pinning endpoint and an Intuition pinning API key.\n\n```graphql\nmutation UploadImageFromUrl($image: UploadImageFromUrlInput!) {\n  uploadImageFromUrl(image: $image) {\n    url\n    classification\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"image\": {\n    \"url\": \"https://example.com/images/logo.png\"\n  }\n}\n```\n\n### Mutation Workflow\n\nTypical workflow for creating an atom with pinned metadata:\n\n1. **Pin metadata** using `pinThing`, `pinPerson`, or `pinOrganization` on the public gated pinning endpoint\n2. **Get IPFS URI** from the mutation response\n3. **Create atom on-chain** via smart contract transaction using the IPFS URI\n4. **Query the GraphQL API** to fetch the newly created atom with resolved metadata\n\n---\n\n## Subscriptions\n\nThe GraphQL API supports real-time subscriptions for live data updates using cursor-based streaming. All queryable entities support corresponding `_stream` subscriptions.\n\n### Basic Subscription Pattern\n\nSubscribe to new atoms:\n\n```graphql\nsubscription WatchAtoms(\n  $cursor: [atoms_stream_cursor_input]!\n  $batchSize: Int!\n) {\n  atoms_stream(cursor: $cursor, batch_size: $batchSize) {\n    term_id\n    label\n    image\n    created_at\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"cursor\": [\n    {\n      \"initial_value\": { \"created_at\": \"2024-01-01T00:00:00Z\" },\n      \"ordering\": \"ASC\"\n    }\n  ],\n  \"batchSize\": 10\n}\n```\n\n### Cursor-Based Streaming\n\nSubscriptions use cursors to enable resumable streams:\n\n#### Cursor Configuration\n\n- **`initial_value`**: Starting point for the stream (e.g., timestamp, ID)\n- **`ordering`**: Sort direction (`ASC` or `DESC`)\n- **`batch_size`**: Number of items per batch\n\n#### Resumable Stream Example\n\n```graphql\nsubscription WatchPositions($cursor: [positions_stream_cursor_input]!) {\n  positions_stream(\n    cursor: $cursor\n    batch_size: 20\n    where: { shares: { _gt: \"0\" } }\n  ) {\n    id\n    shares\n    account {\n      id\n      label\n    }\n    vault {\n      term_id\n      current_share_price\n    }\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"cursor\": [\n    {\n      \"initial_value\": { \"created_at\": \"2024-12-01T00:00:00Z\" },\n      \"ordering\": \"DESC\"\n    }\n  ]\n}\n```\n\nTo resume from where you left off, update `initial_value` to the last received item's cursor value.\n\n### Common Subscription Use Cases\n\n#### Monitor New Triples\n\n```graphql\nsubscription WatchNewTriples($cursor: [triples_stream_cursor_input]!) {\n  triples_stream(cursor: $cursor, batch_size: 5) {\n    term_id\n    created_at\n    subject {\n      label\n    }\n    predicate {\n      label\n    }\n    object {\n      label\n    }\n  }\n}\n```\n\n#### Track Price Changes\n\n```graphql\nsubscription WatchPriceChanges(\n  $cursor: [share_price_changes_stream_cursor_input]!\n  $termId: String!\n) {\n  share_price_changes_stream(\n    cursor: $cursor\n    batch_size: 10\n    where: { term_id: { _eq: $termId } }\n  ) {\n    term_id\n    curve_id\n    old_price\n    new_price\n    price_change\n    created_at\n  }\n}\n```\n\n#### Live Signal Feed\n\n```graphql\nsubscription WatchSignals(\n  $cursor: [deposits_stream_cursor_input, redemptions_stream_cursor_input]!\n) {\n  deposits_stream(cursor: $cursor, batch_size: 10) {\n    id\n    event_type\n    sender_id\n    receiver_id\n    assets_for_receiver\n    shares_for_receiver\n    created_at\n  }\n\n  redemptions_stream(cursor: $cursor, batch_size: 10) {\n    id\n    event_type\n    receiver_id\n    assets_for_receiver\n    shares_from_receiver\n    created_at\n  }\n}\n```\n\n### Subscription Best Practices\n\n**Use subscriptions when:**\n\n- Building real-time dashboards\n- Monitoring live protocol activity\n- Tracking position changes\n- Creating notification systems\n\n**Use polling when:**\n\n- Data updates infrequently\n- Real-time updates aren't critical\n- Minimizing server connections is important\n\n---\n\n## Best Practices\n\n### 1. Avoid Over-Fetching\n\n❌ **Bad**: Fetching all fields when you only need a few\n\n```graphql\nquery GetAtoms {\n  atoms(limit: 10) {\n    term_id\n    data\n    label\n    image\n    emoji\n    type\n    wallet_id\n    block_number\n    created_at\n    transaction_hash\n    creator_id\n    creator {\n      id\n      label\n      image\n      atom_id\n      type\n    }\n    # ... many more fields you don't need\n  }\n}\n```\n\n✅ **Good**: Request only what you need\n\n```graphql\nquery GetAtoms {\n  atoms(limit: 10) {\n    term_id\n    label\n    image\n  }\n}\n```\n\n### 2. Use Aggregates Efficiently\n\n❌ **Bad**: Fetching all nodes just to count\n\n```graphql\nquery CountPositions($accountId: String!) {\n  positions(where: { account_id: { _eq: $accountId } }) {\n    id # Fetching all data just to count\n  }\n}\n```\n\n✅ **Good**: Use aggregates\n\n```graphql\nquery CountPositions($accountId: String!) {\n  positions_aggregate(where: { account_id: { _eq: $accountId } }) {\n    aggregate {\n      count\n    }\n  }\n}\n```\n\n### 3. Combine Aggregates with Nodes When Needed\n\n✅ **Efficient pattern**: Get both count and paginated data in one query\n\n```graphql\nquery GetPositionsWithCount($accountId: String!, $limit: Int!, $offset: Int!) {\n  total: positions_aggregate(where: { account_id: { _eq: $accountId } }) {\n    aggregate {\n      count\n      sum {\n        shares\n      }\n    }\n  }\n  positions(\n    where: { account_id: { _eq: $accountId } }\n    limit: $limit\n    offset: $offset\n  ) {\n    id\n    shares\n    vault {\n      term_id\n      current_share_price\n    }\n  }\n}\n```\n\n### 4. Use Fragments for Reusable Structures\n\n❌ **Bad**: Duplicating field selections\n\n```graphql\nquery GetTriple($id: String!) {\n  triple(term_id: $id) {\n    subject {\n      term_id\n      label\n      image\n      creator {\n        id\n        label\n      }\n    }\n    predicate {\n      term_id\n      label\n      image\n      creator {\n        id\n        label\n      }\n    }\n    object {\n      term_id\n      label\n      image\n      creator {\n        id\n        label\n      }\n    }\n  }\n}\n```\n\n✅ **Good**: Using fragments\n\n```graphql\nfragment AtomBasics on atoms {\n  term_id\n  label\n  image\n  creator {\n    id\n    label\n  }\n}\n\nquery GetTriple($id: String!) {\n  triple(term_id: $id) {\n    subject {\n      ...AtomBasics\n    }\n    predicate {\n      ...AtomBasics\n    }\n    object {\n      ...AtomBasics\n    }\n  }\n}\n```\n\n### 5. Use Variables for Dynamic Values\n\n❌ **Bad**: Hardcoding values\n\n```graphql\nquery {\n  atoms(where: { type: { _eq: Person } }) {\n    term_id\n    label\n  }\n}\n```\n\n✅ **Good**: Using variables\n\n```graphql\nquery GetAtomsByType($type: atom_type!) {\n  atoms(where: { type: { _eq: $type } }) {\n    term_id\n    label\n  }\n}\n```\n\n### 6. Filter Early and Specifically\n\n✅ **Efficient filtering**:\n\n```graphql\nquery GetRecentPersonAtoms($since: timestamptz!) {\n  atoms(\n    where: { type: { _eq: Person }, created_at: { _gte: $since } }\n    limit: 100\n  ) {\n    term_id\n    label\n  }\n}\n```\n\n### 7. Use Appropriate Comparison Operators\n\n❌ **Bad**: Using `_ilike` for exact matches\n\n```graphql\nquery GetAccount($address: String!) {\n  accounts(where: { id: { _ilike: $address } }) {\n    id\n    label\n  }\n}\n```\n\n✅ **Good**: Use `_eq` or primary key lookup\n\n```graphql\nquery GetAccount($address: String!) {\n  account(id: $address) {\n    id\n    label\n  }\n}\n```\n\n### 8. Paginate Large Result Sets\n\nAlways use `limit` and `offset` for queries that could return many results:\n\n```graphql\nquery GetAllAtoms($limit: Int!, $offset: Int!) {\n  atoms(limit: $limit, offset: $offset, order_by: { created_at: desc }) {\n    term_id\n    label\n  }\n}\n```\n\n### 9. Leverage Pre-Computed Statistics\n\nUse time-series aggregation tables instead of computing statistics client-side:\n\n❌ **Bad**: Computing trends from raw events\n\n```graphql\nquery GetPriceHistory($termId: String!) {\n  # Fetching all price changes then computing daily aggregates in app\n  share_price_changes(\n    where: { term_id: { _eq: $termId } }\n    order_by: { created_at: asc }\n  ) {\n    created_at\n    old_price\n    new_price\n  }\n}\n```\n\n✅ **Good**: Using pre-computed daily statistics\n\n```graphql\nquery GetDailyPriceStats($termId: String!, $curveId: numeric!) {\n  share_price_change_stats_daily(\n    where: { term_id: { _eq: $termId }, curve_id: { _eq: $curveId } }\n    order_by: { bucket: desc }\n    limit: 30\n  ) {\n    bucket\n    first_share_price\n    last_share_price\n    difference\n    change_count\n  }\n}\n```\n\n**When to use pre-computed tables**:\n\n- Building charts/graphs for analytics dashboards\n- Computing trends over time\n- Displaying aggregate metrics by time period\n\n**Available time-series tables**:\n\n- `share_price_change_stats_daily`, `_hourly`, `_weekly`, `_monthly`\n- `signal_stats_daily`, `_hourly`, `_monthly`\n\n### 10. Use Database Functions for Complex Queries\n\nLeverage backend functions instead of filtering large datasets client-side:\n\n❌ **Bad**: Manual filtering for social queries\n\n```graphql\nquery GetFollowingManually($address: String!) {\n  # First get all positions for an address\n  my_positions: positions(where: { account_id: { _eq: $address } }) {\n    vault {\n      term {\n        triple {\n          # Check if it's a \"follows\" relationship...\n          # This is inefficient and complex\n        }\n      }\n    }\n  }\n\n  # Then filter in application code...\n}\n```\n\n✅ **Good**: Using database functions\n\n```graphql\nquery GetFollowingEfficiently($address: String!) {\n  following(args: { address: $address }) {\n    id\n    label\n    atom {\n      term_id\n      label\n    }\n  }\n}\n```\n\n**Available database functions**:\n\n- `following` - Get accounts a user follows\n- `positions_from_following` - Social feed of positions\n- `search_positions_on_subject` - Complex position filtering\n- `search_term` - Full-text search\n- `search_term_from_following` - Search within social graph\n- `signals_from_following` - Activity from followed accounts\n\n**Benefits**:\n\n- Faster query execution (runs in database, not client)\n- Less data transferred over network\n- More maintainable code\n\n### 11. Choose Subscriptions vs Polling Appropriately\n\nUse subscriptions for real-time features, polling for everything else:\n\n✅ **Use subscriptions when:**\n\n- Building real-time dashboards\n- Monitoring live protocol activity (e.g., new positions, price changes)\n- Creating notification systems\n- User expects immediate updates\n- Data changes frequently (multiple times per minute)\n\n**Example subscription use cases**:\n\n```graphql\nsubscription WatchMyPositions($cursor: [positions_stream_cursor_input]!) {\n  positions_stream(cursor: $cursor, batch_size: 10) {\n    id\n    shares\n    vault {\n      current_share_price\n    }\n  }\n}\n```\n\n✅ **Use polling when:**\n\n- Data updates infrequently (e.g., daily statistics)\n- Real-time updates aren't critical for UX\n- Minimizing server connections is important\n- Building static reports or analytics\n\n**Example polling pattern**:\n\n```graphql\nquery GetStats {\n  stats {\n    total_accounts\n    total_atoms\n    total_triples\n  }\n}\n# Poll every 30 seconds or on user action\n```\n\n**Subscription cursor management**:\n\n- Always provide `initial_value` to start from a specific point\n- Use `batch_size` to control data flow (typically 10-50)\n- Store last received cursor to resume after disconnection\n- Use `ordering: ASC` for chronological updates\n\n---\n\n## Example Queries\n\n### Example 1: Get Atom Details with Vault Info\n\nThis example shows how to fetch atom metadata along with vault statistics.\n\n```graphql\nquery GetAtomWithVault($atomId: String!, $curveId: numeric!) {\n  atom(term_id: $atomId) {\n    term_id\n    label\n    image\n    type\n    created_at\n    creator {\n      id\n      label\n    }\n    term {\n      vaults(where: { curve_id: { _eq: $curveId } }) {\n        curve_id\n        total_shares\n        total_assets\n        current_share_price\n        position_count\n      }\n    }\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"atomId\": \"0x57d94c116a33bb460428eced262b7ae2ec6f865e7aceef6357cec3d034e8ea21\",\n  \"curveId\": \"1\"\n}\n```\n\n**Best Practices Used**:\n\n- Uses variables for dynamic values\n- Requests only needed fields\n- Filters vault by curve_id using a variable\n\n---\n\n### Example 2: List Triples with Pagination\n\nGet a paginated list of triples with total count.\n\n```graphql\nquery GetTriplesPage($limit: Int!, $offset: Int!, $where: triples_bool_exp) {\n  total: triples_aggregate(where: $where) {\n    aggregate {\n      count\n    }\n  }\n  triples(\n    where: $where\n    limit: $limit\n    offset: $offset\n    order_by: { created_at: desc }\n  ) {\n    term_id\n    created_at\n    subject {\n      term_id\n      label\n      image\n    }\n    predicate {\n      term_id\n      label\n    }\n    object {\n      term_id\n      label\n      image\n    }\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"limit\": 20,\n  \"offset\": 0,\n  \"where\": {\n    \"predicate_id\": {\n      \"_eq\": \"0x...\"\n    }\n  }\n}\n```\n\n**Best Practices Used**:\n\n- Combines aggregate count with paginated nodes\n- Uses variables for all dynamic values\n- Includes ordering for consistent pagination\n\n---\n\n### Example 3: Get User's Positions with Totals\n\nFetch user positions with aggregate statistics.\n\n```graphql\nquery GetUserPositions($accountId: String!, $limit: Int!, $offset: Int!) {\n  stats: positions_aggregate(where: { account_id: { _eq: $accountId } }) {\n    aggregate {\n      count\n      sum {\n        shares\n      }\n    }\n  }\n\n  positions(\n    where: { account_id: { _eq: $accountId } }\n    order_by: { shares: desc }\n    limit: $limit\n    offset: $offset\n  ) {\n    id\n    shares\n    vault {\n      term_id\n      curve_id\n      current_share_price\n      total_shares\n      term {\n        atom {\n          term_id\n          label\n          image\n        }\n        triple {\n          term_id\n          subject {\n            label\n          }\n          predicate {\n            label\n          }\n          object {\n            label\n          }\n        }\n      }\n    }\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"accountId\": \"0xd8da6bf26964af9d7eed9e03e53415d37aa96045\",\n  \"limit\": 10,\n  \"offset\": 0\n}\n```\n\n**Best Practices Used**:\n\n- Gets aggregate stats alongside paginated results\n- Uses relationship traversal to get atom/triple details\n- Aliases aggregate query as `stats` for clarity\n\n---\n\n### Example 4: Global Search Across Types\n\nSearch for a term across accounts, atoms, and triples.\n\n```graphql\nquery GlobalSearch($searchTerm: String!) {\n  accounts(\n    where: {\n      _or: [\n        { label: { _ilike: $searchTerm } }\n        { atom: { label: { _ilike: $searchTerm } } }\n      ]\n    }\n    limit: 5\n  ) {\n    id\n    label\n    image\n  }\n\n  atoms(\n    where: { label: { _ilike: $searchTerm } }\n    order_by: { term: { total_market_cap: desc } }\n    limit: 10\n  ) {\n    term_id\n    label\n    image\n    type\n  }\n\n  triples(\n    where: {\n      _or: [\n        { subject: { label: { _ilike: $searchTerm } } }\n        { predicate: { label: { _ilike: $searchTerm } } }\n        { object: { label: { _ilike: $searchTerm } } }\n      ]\n    }\n    limit: 10\n  ) {\n    term_id\n    subject {\n      label\n    }\n    predicate {\n      label\n    }\n    object {\n      label\n    }\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"searchTerm\": \"%ethereum%\"\n}\n```\n\n**Best Practices Used**:\n\n- Uses `_or` conditions for multi-field search\n- Limits results per type to avoid over-fetching\n- Uses `_ilike` appropriately for pattern matching\n\n---\n\n### Example 5: Get Vault Statistics\n\nCalculate derived metrics from vault data.\n\n```graphql\nquery GetVaultStats($termId: String!, $curveId: numeric!) {\n  vault(term_id: $termId, curve_id: $curveId) {\n    term_id\n    curve_id\n    total_shares\n    total_assets\n    current_share_price\n    position_count\n\n    positions_aggregate {\n      aggregate {\n        count\n        sum {\n          shares\n        }\n        avg {\n          shares\n        }\n      }\n    }\n\n    top_positions: positions(limit: 5, order_by: { shares: desc }) {\n      account {\n        id\n        label\n      }\n      shares\n    }\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"termId\": \"0x...\",\n  \"curveId\": \"1\"\n}\n```\n\n**Best Practices Used**:\n\n- Uses aggregates for statistics (count, sum, avg)\n- Limits top positions query\n- Uses aliases for clarity (`top_positions`)\n\n---\n\n## Advanced Examples\n\nThe following examples demonstrate more complex use cases and advanced API features.\n\n### Example 6: Social Graph - Following Feed\n\nBuild a social feed showing positions from accounts a user follows.\n\n```graphql\nquery GetFollowingFeed($address: String!, $limit: Int!, $offset: Int!) {\n  # Get total follower count\n  following_count: following_aggregate(args: { address: $address }) {\n    aggregate {\n      count\n    }\n  }\n\n  # Get positions from followed accounts\n  feed: positions_from_following(\n    args: { address: $address }\n    limit: $limit\n    offset: $offset\n    order_by: { created_at: desc }\n  ) {\n    id\n    shares\n    created_at\n    account {\n      id\n      label\n      image\n    }\n    vault {\n      term_id\n      curve_id\n      current_share_price\n      total_shares\n      term {\n        atom {\n          term_id\n          label\n          image\n          type\n        }\n        triple {\n          term_id\n          subject {\n            label\n            image\n          }\n          predicate {\n            label\n          }\n          object {\n            label\n            image\n          }\n        }\n      }\n    }\n  }\n\n  # Also get signals (deposits/redemptions) from followed accounts\n  signals: signals_from_following(\n    args: { address: $address }\n    limit: $limit\n    order_by: { created_at: desc }\n  ) {\n    id\n    event_type\n    created_at\n    account {\n      id\n      label\n      image\n    }\n    atom {\n      term_id\n      label\n    }\n    triple {\n      term_id\n      subject {\n        label\n      }\n      predicate {\n        label\n      }\n      object {\n        label\n      }\n    }\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"address\": \"0xd8da6bf26964af9d7eed9e03e53415d37aa96045\",\n  \"limit\": 20,\n  \"offset\": 0\n}\n```\n\n**Use Case**: Build a social activity feed showing what the accounts you follow are investing in, similar to Twitter/X feed but for protocol positions.\n\n**Best Practices Used**:\n\n- Uses database functions (`positions_from_following`, `signals_from_following`) instead of manual filtering\n- Combines multiple related queries in one request\n- Includes aggregate count for pagination UI\n- Handles both atoms and triples in vault term relationship\n\n---\n\n### Example 7: Time-Series Analytics - Price Trends\n\nAnalyze price trends over time using pre-computed aggregations.\n\n```graphql\nquery GetPriceTrendAnalysis($termId: String!, $curveId: numeric!, $days: Int!) {\n  # Get daily price changes for the last N days\n  daily_trends: share_price_change_stats_daily(\n    where: { term_id: { _eq: $termId }, curve_id: { _eq: $curveId } }\n    order_by: { bucket: desc }\n    limit: $days\n  ) {\n    bucket\n    first_share_price\n    last_share_price\n    difference\n    change_count\n  }\n\n  # Get hourly data for the last 24 hours for granular view\n  hourly_trends: share_price_change_stats_hourly(\n    where: { term_id: { _eq: $termId }, curve_id: { _eq: $curveId } }\n    order_by: { bucket: desc }\n    limit: 24\n  ) {\n    bucket\n    first_share_price\n    last_share_price\n    difference\n  }\n\n  # Get current vault state\n  current_state: vault(term_id: $termId, curve_id: $curveId) {\n    term_id\n    curve_id\n    current_share_price\n    total_shares\n    total_assets\n    position_count\n  }\n\n  # Get overall signal stats for context\n  signal_trends: signal_stats_daily(\n    where: { term_id: { _eq: $termId }, curve_id: { _eq: $curveId } }\n    order_by: { bucket: desc }\n    limit: $days\n  ) {\n    bucket\n    deposit_count\n    redemption_count\n    total_volume\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"termId\": \"0x57d94c116a33bb460428eced262b7ae2ec6f865e7aceef6357cec3d034e8ea21\",\n  \"curveId\": \"1\",\n  \"days\": 30\n}\n```\n\n**Use Case**: Build analytics dashboards showing price trends, trading volume, and market activity over different time periods.\n\n**Best Practices Used**:\n\n- Leverages pre-computed time-series tables for performance\n- Combines multiple time granularities (daily, hourly) in one query\n- Includes current state for comparison\n- Uses variables for all dynamic values\n\n**Analysis Notes**:\n\n- Calculate percentage change: `(last_share_price - first_share_price) / first_share_price * 100`\n- `change_count` shows number of price changes in that time bucket\n- Weekly and monthly aggregations available via `share_price_change_stats_weekly` and `share_price_change_stats_monthly`\n\n---\n\n### Example 8: Advanced Search - Multi-Criteria Position Search\n\nPerform complex position searches with custom filtering criteria.\n\n```graphql\nquery AdvancedPositionSearch(\n  $addresses: _text!\n  $searchFields: jsonb!\n  $limit: Int!\n) {\n  # Search positions with custom criteria\n  results: search_positions_on_subject(\n    args: { addresses: $addresses, search_fields: $searchFields }\n    limit: $limit\n  ) {\n    id\n    shares\n    created_at\n    account {\n      id\n      label\n      image\n    }\n    vault {\n      term_id\n      curve_id\n      current_share_price\n      total_shares\n      position_count\n      term {\n        atom {\n          term_id\n          label\n          image\n          type\n        }\n        triple {\n          term_id\n          subject {\n            term_id\n            label\n            image\n          }\n          predicate {\n            term_id\n            label\n          }\n          object {\n            term_id\n            label\n            image\n          }\n        }\n      }\n    }\n  }\n\n  # Get count for pagination\n  results_aggregate: search_positions_on_subject_aggregate(\n    args: { addresses: $addresses, search_fields: $searchFields }\n  ) {\n    aggregate {\n      count\n      sum {\n        shares\n      }\n    }\n  }\n}\n```\n\n**Variables**:\n\n```json\n{\n  \"addresses\": \"{0xd8da6bf26964af9d7eed9e03e53415d37aa96045,0xabc123...}\",\n  \"searchFields\": {\n    \"min_shares\": \"1000000000000000000\",\n    \"term_type\": \"atom\",\n    \"atom_type\": \"Person\"\n  },\n  \"limit\": 50\n}\n```\n\n**Use Case**: Build advanced search UIs where users can filter positions by:\n\n- Multiple wallet addresses\n- Minimum share amounts\n- Term type (atom vs triple)\n- Atom type (Person, Organization, Thing)\n- Other custom criteria in `search_fields`\n\n**Best Practices Used**:\n\n- Uses backend function for complex filtering (more efficient than client-side)\n- Includes aggregate variant for totals\n- Handles both atom and triple results\n- Uses `_text` type for array of addresses\n\n---\n\n### Example 9: Real-Time Updates - Subscription Pattern\n\nBuild a live dashboard with real-time position updates.\n\n```graphql\nsubscription LivePositionMonitor(\n  $cursor: [positions_stream_cursor_input]!\n  $accountId: String\n  $batchSize: Int!\n) {\n  # Stream position updates\n  positions_stream(\n    cursor: $cursor\n    batch_size: $batchSize\n    where: { account_id: { _eq: $accountId }, shares: { _gt: \"0\" } }\n  ) {\n    id\n    shares\n    created_at\n    account {\n      id\n      label\n    }\n    vault {\n      term_id\n      curve_id\n      current_share_price\n      term {\n        atom {\n          term_id\n          label\n          image\n        }\n        triple {\n          term_id\n          subject {\n            label\n          }\n          predicate {\n            label\n          }\n          object {\n            label\n          }\n        }\n      }\n    }\n  }\n}\n```\n\n**Variables (Initial)**:\n\n```json\n{\n  \"cursor\": [\n    {\n      \"initial_value\": { \"created_at\": \"2024-12-01T00:00:00Z\" },\n      \"ordering\": \"ASC\"\n    }\n  ],\n  \"accountId\": \"0xd8da6bf26964af9d7eed9e03e53415d37aa96045\",\n  \"batchSize\": 10\n}\n```\n\n**Variables (Resuming)**:\n\n```json\n{\n  \"cursor\": [\n    {\n      \"initial_value\": { \"created_at\": \"2024-12-12T15:30:00Z\" },\n      \"ordering\": \"ASC\"\n    }\n  ],\n  \"accountId\": \"0xd8da6bf26964af9d7eed9e03e53415d37aa96045\",\n  \"batchSize\": 10\n}\n```\n\n**Use Case**: Create real-time dashboards that update automatically when:\n\n- New positions are created\n- Existing positions change\n- User performs deposits or redemptions\n\n**Implementation Pattern**:\n\n1. Start subscription with initial cursor (e.g., last hour)\n2. Process incoming batches of updates\n3. Update UI state with new data\n4. If connection drops, resume from last received `created_at`\n\n**Best Practices Used**:\n\n- Filters for active positions (`shares > 0`)\n- Uses batch_size to control data flow\n- Cursor enables resumable streams after disconnection\n- Ascending order to get updates chronologically\n\n---\n\n### Example 10: Mutation Flow - Pinning Content to IPFS\n\nComplete workflow for creating an atom with metadata pinning.\n\n```graphql\n# Step 1: Pin person metadata to IPFS\nmutation PinPersonMetadata($person: PinPersonInput!) {\n  pinPerson(person: $person) {\n    uri\n  }\n}\n\n# Step 2: Query to verify atom after on-chain creation\nquery GetCreatedAtom($termId: String!, $curveId: numeric!) {\n  atom(term_id: $termId) {\n    term_id\n    data\n    label\n    image\n    emoji\n    type\n    created_at\n    creator {\n      id\n      label\n    }\n    term {\n      vaults(where: { curve_id: { _eq: $curveId } }) {\n        term_id\n        curve_id\n        total_shares\n        total_assets\n        current_share_price\n        position_count\n      }\n    }\n  }\n}\n```\n\n**Step 1 Variables**:\n\n```json\n{\n  \"person\": {\n    \"name\": \"Satoshi Nakamoto\",\n    \"description\": \"Creator of Bitcoin\",\n    \"identifier\": \"satoshi\",\n    \"image\": \"ipfs://QmPreviouslyUploadedImage...\",\n    \"url\": \"https://bitcoin.org\"\n  }\n}\n```\n\n**Step 1 Response**:\n\n```json\n{\n  \"data\": {\n    \"pinPerson\": {\n      \"uri\": \"ipfs://bafkreib...\"\n    }\n  }\n}\n```\n\n**Step 2 Variables** (after blockchain transaction):\n\n```json\n{\n  \"termId\": \"0x57d94c116a33bb460428eced262b7ae2ec6f865e7aceef6357cec3d034e8ea21\",\n  \"curveId\": \"1\"\n}\n```\n\n**Complete Workflow**:\n\n1. **Prepare metadata** - Gather all person/thing/organization data\n2. **Upload image** (optional) - Use `uploadImageFromUrl` or `uploadImage` if needed\n3. **Pin metadata** - Use `pinPerson`, `pinThing`, or `pinOrganization` on the public gated pinning endpoint\n4. **Get IPFS URI** - Extract `uri` from mutation response\n5. **Create atom on-chain** - Call smart contract with IPFS URI (via [@0xintuition/protocol](../protocol/README.md))\n6. **Wait for indexing** - GraphQL API will index the new atom (usually < 30 seconds)\n7. **Query atom** - Fetch complete atom data with vault information\n8. **Cache metadata** - Store IPFS URI for future reference\n\n**Error Handling Considerations**:\n\n- Mutation may fail if image classification fails (inappropriate content)\n- IPFS pinning may fail without a valid pinning API key or may timeout - implement retry logic\n- Blockchain transaction may fail - check gas and approval\n- Atom may not appear immediately - poll or subscribe for updates\n\n**Best Practices Used**:\n\n- Separates IPFS operations from blockchain operations\n- Uses appropriate mutation for entity type\n- Queries include vault data for immediate display\n- Workflow is idempotent (can retry safely)\n\n---\n\n## Code Generation\n\n### Generating the Schema File\n\nThe GraphQL schema is not stored in the repository. Generate it via introspection:\n\n```bash\n# Mainnet\nnpx get-graphql-schema https://mainnet.intuition.sh/v1/graphql > schema.graphql\n\n# Testnet\nnpx get-graphql-schema https://testnet.intuition.sh/v1/graphql > schema.graphql\n```\n\n### Code Generation Tools\n\nOnce you have the schema, use it with your preferred code generation tool:\n\n#### JavaScript/TypeScript\n\n- **[GraphQL Code Generator](https://the-guild.dev/graphql/codegen)**: Generate TypeScript types, React hooks, and more\n- **[Apollo CLI](https://www.apollographql.com/docs/devtools/cli/)**: Generate types for Apollo Client\n\n#### Python\n\n- **[Ariadne Codegen](https://ariadnegraphql.org/docs/codegen)**: Generate Python types and client code\n- **[sgqlc](https://github.com/profusion/sgqlc)**: Generate Python types from schema\n\n#### Go\n\n- **[gqlgen](https://gqlgen.com/)**: Generate Go server and client code\n- **[genqlient](https://github.com/Khan/genqlient)**: Generate Go client code\n\n#### Rust\n\n- **[graphql-client](https://github.com/graphql-rust/graphql-client)**: Typed GraphQL queries in Rust\n- **[cynic](https://cynic-rs.dev/)**: Type-safe GraphQL client for Rust\n\nEach tool has specific configuration requirements - refer to their official documentation.\n\n---\n\n## Anti-Patterns to Avoid\n\n### ❌ Anti-Pattern 1: Hardcoding Values in Queries\n\n**Problem**: Hardcoding values like curve IDs makes queries inflexible and violates DRY principles.\n\n```graphql\n# BAD\nfragment VaultDetails on atoms {\n  term {\n    vaults(where: { curve_id: { _eq: \"1\" } }) {\n      # ❌ Hardcoded!\n      total_shares\n    }\n  }\n}\n```\n\n**Solution**: Always use variables for dynamic values.\n\n```graphql\n# GOOD\nfragment VaultDetails on atoms {\n  term {\n    vaults(where: { curve_id: { _eq: $curveId } }) {\n      # ✅ Variable\n      total_shares\n    }\n  }\n}\n\nquery GetAtom($id: String!, $curveId: numeric!) {\n  atom(term_id: $id) {\n    ...VaultDetails\n  }\n}\n```\n\n---\n\n### ❌ Anti-Pattern 2: Over-Fetching When Only Aggregates Needed\n\n**Problem**: Fetching all nodes when you only need counts or sums wastes bandwidth and processing.\n\n```graphql\n# BAD\nquery GetPositionCount($where: positions_bool_exp) {\n  positions(where: $where) {\n    # ❌ Fetches all data\n    id\n    shares\n    account_id\n  }\n}\n# Application code then counts the results\n```\n\n**Solution**: Use `_aggregate` queries.\n\n```graphql\n# GOOD\nquery GetPositionCount($where: positions_bool_exp) {\n  positions_aggregate(where: $where) {\n    # ✅ Only returns count\n    aggregate {\n      count\n      sum {\n        shares\n      }\n    }\n  }\n}\n```\n\n---\n\n### ❌ Anti-Pattern 3: Unnecessary Deep Nesting\n\n**Problem**: Over-nesting queries fetches data you don't need.\n\n```graphql\n# BAD\nquery GetAtom($id: String!) {\n  atom(term_id: $id) {\n    label\n    creator {\n      id\n      atoms {\n        # ❌ Fetching all creator's atoms when not needed\n        term_id\n        label\n        as_subject_triples {\n          # ❌ Even deeper unnecessary nesting\n          term_id\n        }\n      }\n    }\n  }\n}\n```\n\n**Solution**: Only query what you actually need.\n\n```graphql\n# GOOD\nquery GetAtom($id: String!) {\n  atom(term_id: $id) {\n    label\n    creator {\n      id\n      label\n    }\n  }\n}\n```\n\n---\n\n### ❌ Anti-Pattern 4: Not Using Variables for Filters\n\n**Problem**: Embedding filter values directly makes queries inflexible.\n\n```graphql\n# BAD\nquery {\n  atoms(where: { type: { _eq: Person } }) {\n    # ❌ Hardcoded\n    term_id\n    label\n  }\n}\n```\n\n**Solution**: Always use variables.\n\n```graphql\n# GOOD\nquery GetAtomsByType($type: atom_type!) {\n  atoms(where: { type: { _eq: $type } }) {\n    # ✅ Variable\n    term_id\n    label\n  }\n}\n```\n\n---\n\n### ❌ Anti-Pattern 5: Fetching Same Data Multiple Times\n\n**Problem**: Duplicating field selections across the query.\n\n```graphql\n# BAD\nquery GetTriple($id: String!) {\n  triple(term_id: $id) {\n    subject {\n      term_id\n      label\n      creator {\n        id\n        label\n      } # ❌ Duplicated\n    }\n    predicate {\n      term_id\n      label\n      creator {\n        id\n        label\n      } # ❌ Duplicated\n    }\n    object {\n      term_id\n      label\n      creator {\n        id\n        label\n      } # ❌ Duplicated\n    }\n  }\n}\n```\n\n**Solution**: Use fragments for repeated structures.\n\n```graphql\n# GOOD\nfragment AtomBasics on atoms {\n  term_id\n  label\n  creator {\n    id\n    label\n  }\n}\n\nquery GetTriple($id: String!) {\n  triple(term_id: $id) {\n    subject {\n      ...AtomBasics\n    } # ✅ Reusable\n    predicate {\n      ...AtomBasics\n    }\n    object {\n      ...AtomBasics\n    }\n  }\n}\n```\n\n---\n\n### ❌ Anti-Pattern 6: Using `_ilike` for Exact Matches\n\n**Problem**: Pattern matching operators are slower than exact equality checks.\n\n```graphql\n# BAD\nquery GetAccount($address: String!) {\n  accounts(where: { id: { _ilike: $address } }) {\n    # ❌ Inefficient\n    id\n    label\n  }\n}\n```\n\n**Solution**: Use `_eq` for exact matches or primary key lookups.\n\n```graphql\n# GOOD\nquery GetAccount($address: String!) {\n  account(id: $address) {\n    # ✅ Primary key lookup\n    id\n    label\n  }\n}\n\n# Or with _eq\nquery GetAccounts($address: String!) {\n  accounts(where: { id: { _eq: $address } }) {\n    # ✅ Exact match\n    id\n    label\n  }\n}\n```\n\n---\n\n### ❌ Anti-Pattern 7: Not Using Fragments from the Package\n\n**Problem**: Re-writing common field selections instead of using existing fragments.\n\nThis package includes pre-built fragments in `src/fragments/`:\n\n- `atom.graphql` - Atom metadata, values, transactions, vault details\n- `triple.graphql` - Triple metadata, vault details\n- `position.graphql` - Position details and aggregates\n- `account.graphql` - Account metadata\n- `vault.graphql` - Vault details\n\n**Solution**: Reference and use these fragments in your queries where appropriate, or create similar reusable fragments in your own codebase.\n\n---\n\n**IMPORTANT NOTE**: Many of these anti-patterns exist in `packages/graphql/src/queries/*.graphql` and need to be refactored. This README serves as the authoritative guide for how queries SHOULD be written.\n\n---\n\n## Resources\n\n### Documentation\n\n- **GraphQL Official Docs**: https://graphql.org/learn/\n- **Hasura GraphQL Docs**: https://hasura.io/docs/latest/queries/postgres/index/\n- **Intuition Protocol Docs**: https://docs.intuition.systems\n\n### Interactive Explorers\n\n- **Mainnet**: [Apollo Studio Sandbox](https://studio.apollographql.com/sandbox/explorer?endpoint=https%3A%2F%2Fmainnet.intuition.sh%2Fv1%2Fgraphql)\n- **Testnet**: [Apollo Studio Sandbox](https://studio.apollographql.com/sandbox/explorer?endpoint=https%3A%2F%2Ftestnet.intuition.sh%2Fv1%2Fgraphql)\n\n### Related Packages\n\n- **[@0xintuition/protocol](../protocol/README.md)**: Low-level smart contract interactions\n- **[@0xintuition/sdk](../sdk/README.md)**: High-level SDK combining on-chain and off-chain data\n\n### Block Explorers\n\n- **Mainnet**: https://explorer.intuition.systems\n- **Testnet**: https://testnet.explorer.intuition.systems\n\n### Repository\n\n- **GitHub**: https://github.com/0xIntuition/intuition-ts\n\n---\n\n## Contributing\n\nPlease see the core [CONTRIBUTING.md](../../CONTRIBUTING.md) for guidelines.\n\n---\n\n## License\n\nMIT License - see the [repository](https://github.com/0xIntuition/intuition-ts) for details.\n","readmeFilename":"README.md"}