{"_id":"@basehub/julianbenegas.julianbenegas-com","_rev":"1-fa77e4eb597f990a7f4a7a2878266801","name":"@basehub/julianbenegas.julianbenegas-com","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@basehub/julianbenegas.julianbenegas-com","description":"SDK client for basehub.ai GraphQL API","version":"0.0.1","main":"./dist/index.js","types":"./dist/index.d.ts","sideEffects":false,"keywords":["basehub.ai","graphql","sdk","typescript","genql"],"homepage":"https://basehub.ai","dependencies":{},"_id":"@basehub/julianbenegas.julianbenegas-com@0.0.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-f/g+qN6H7MJolKjZdYhZFGpKeI/MNby+0Gp3aamgukirSef/QZH8woYdr5a4Ec+uQd8eBPtQUbs3t0jws31Gow==","shasum":"36b11b787ef49dfb13685244ac3197df536eab2f","tarball":"https://registry.npmjs.org/@basehub/julianbenegas.julianbenegas-com/-/julianbenegas.julianbenegas-com-0.0.1.tgz","fileCount":55,"unpackedSize":156151,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHVCEzX6ZV4eJjAP8o4QtDkmqwG9X3ysziUtYj9UxzVlAiBOqPsUSpqgJd1hr3a3tKhk7MjbtSPcwe76ORNcz6+iXQ=="}]},"_npmUser":{"name":"bsmnt","email":"jb@basement.studio"},"directories":{},"maintainers":[{"name":"julianbenegas","email":"julianbenegas99@gmail.com"},{"name":"bsmnt","email":"jb@basement.studio"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/julianbenegas.julianbenegas-com_0.0.1_1687483290803_0.9159268627791803"},"_hasShrinkwrap":false},"0.0.2":{"name":"@basehub/julianbenegas.julianbenegas-com","description":"SDK client for basehub.ai GraphQL API","version":"0.0.2","main":"./dist/index.js","types":"./dist/index.d.ts","sideEffects":false,"keywords":["basehub.ai","graphql","sdk","typescript","genql"],"homepage":"https://basehub.ai","dependencies":{},"_id":"@basehub/julianbenegas.julianbenegas-com@0.0.2","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-4hLcKg4csvuieS0eaQ/Q1skl50WCD7vTR1gOVpKOlz0l4Duv2YlqzQQoUEXXNIqLcF6Hfyd0xE/+ohdFYwYiIQ==","shasum":"a668bdd3f37e02560029119ec5e26f7e5af9afae","tarball":"https://registry.npmjs.org/@basehub/julianbenegas.julianbenegas-com/-/julianbenegas.julianbenegas-com-0.0.2.tgz","fileCount":55,"unpackedSize":156151,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD87FY2x6wjpucKeB0/kkMHlNoIsSXxLKcfS57U7473IAIhAJReiCm88+OFfFOWt82vLiNKDRFytZZd2ONmw8+oCFxC"}]},"_npmUser":{"name":"bsmnt","email":"jb@basement.studio"},"directories":{},"maintainers":[{"name":"julianbenegas","email":"julianbenegas99@gmail.com"},{"name":"bsmnt","email":"jb@basement.studio"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/julianbenegas.julianbenegas-com_0.0.2_1688264400909_0.214178814015477"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-23T01:21:30.727Z","0.0.1":"2023-06-23T01:21:31.083Z","modified":"2023-07-02T02:20:01.314Z","0.0.2":"2023-07-02T02:20:01.116Z"},"maintainers":[{"name":"julianbenegas","email":"julianbenegas99@gmail.com"},{"name":"bsmnt","email":"jb@basement.studio"}],"description":"SDK client for basehub.ai GraphQL API","homepage":"https://basehub.ai","keywords":["basehub.ai","graphql","sdk","typescript","genql"],"readme":"\n\nTypeScript SDK for [https://basehub.ai](https://basehub.ai).\n\n<b>Features</b>\n\n- No codegen needed\n- Type completion & Type validation\n- No dependency on `graphql`\n- Works in browser, Node, Deno, Cloudflare workers, Bun and more\n\n## Usage\n\n```ts\nimport { createClient } from '@basehub/julianbenegas.julianbenegas-com'\n\nconst client = createClient({ token: process.env.BASEHUB_TOKEN })\n\nclient\n  .query({\n    _sys: {\n      hash: true,\n      id: true,\n      slug: true,\n    },\n  })\n  .then((data) => console.log(JSON.stringify(data, null, 2)))\n\n// query variables\nlet filter\nlet first = 3\n\nclient\n  .query({\n    home: {\n      _sys: {\n        createdAt: true,\n        hash: true,\n        id: true,\n      },\n      posts: {\n        __args: {\n          filter: filter,\n          first: first,\n        },\n        date: true,\n      },\n    },\n  })\n  .then((data) => console.log(JSON.stringify(data, null, 2)))\n\n\n```\n\nThis client has been generated with [Genql](https://genql.dev/), you can read more about usage and features [here](https://genql.dev/docs).\n\n## Support\n\nContact [support@basehub.ai](mailto:support@basehub.ai) for any feedback or questions.\n\n","readmeFilename":"README.md"}