{"_id":"fqlx-micro-orm","_rev":"30-509dd06d8598292b36c77dd1bc28bcdf","name":"fqlx-micro-orm","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","dist-tags":{"begta":"1.4.0-beta.0","latest":"2.4.0","beta":"2.4.1-beta.2"},"versions":{"1.0.0":{"name":"fqlx-micro-orm","version":"1.0.0","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@1.0.0","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"c7957752b037a0c9d36956a62e2031e976c230ed","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-1.0.0.tgz","fileCount":24,"integrity":"sha512-3kTly2wbKwdIIbNhNqvMTAWopHLrcdHiVXvQerIwL1OYpUrp7aoXxV0lx4YzCrJ+D/UzEjYgydO5hQIPitWZSA==","signatures":[{"sig":"MEUCIEYik8Fnzr/7xWFxKgz6qaDxbVP/p2qIEUOfO8ZueXodAiEA+fUJaiZdgstW9AeAmbzbF8B3TikwLxL71oy1TzldpVs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137256},"main":"index.js","type":"module","gitHead":"5d902c70b64f728e97621aee9329923c47431f07","scripts":{"build":"tsc -p ."},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.6.7","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"18.17.1","dependencies":{"fauna-x-schemas":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_1.0.0_1694527918241_0.34261939146943576","host":"s3://npm-registry-packages"}},"1.0.0-beta.1":{"name":"fqlx-micro-orm","version":"1.0.0-beta.1","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@1.0.0-beta.1","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"2707b3699d6787d0d5054e399a91f54bf7b984bf","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-1.0.0-beta.1.tgz","fileCount":24,"integrity":"sha512-rXVQ8yoCwi7UQzn27wBFC0olLoeXEaYX+0vA3pg6pzV8hI4T2Qhy5liRpY4KmXwxQTeI1GfcZxGoF0+P+YWtWQ==","signatures":[{"sig":"MEUCIQC4BH7diGB84hMR/7ywqsoeZRqm4e3V1hZCjy4EjtTuVAIgH+BUXSI7h1ftQDm77zOGIO7i5zGVq/UTkyM0xWL27yo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137442},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","readme":"# FQLx Micro ORM\nThis library was created to interact with the FQLx API in a more type-safe way.\nThis library will not execute the actual queries but provides a way of interacting with the [Fauna Driver](https://www.npmjs.com/package/fauna)\n\n## Usage\n\n### Define Collections\nYou will start by creating a `Collection` class, which will mirror the collection in your database.\nFor example, the code below defines a collection class for `Address` and one for `Person`. Both of which are tied to a [zod](npmjs.com/package/zod) schema.\n*Note: the schemas aren't used for validation, but rather for type inference. However they will be helpful as schema definitions in your codebase*\n\n```js\nimport z from 'zod';\nimport { Collection } from 'fqlx-micro-orm';\nimport { documentReferenceSchemaFactory } from 'fauna-x-schemas';\n\nconst addressSchema = z.object({\n  street: z.string(),\n  zip: z.string(),\n});\n\nconst personSchema = z.object({\n  firstName: z.string(),\n  lastName: z.string(),\n  address: documentReferenceSchemaFactory('Address').optional(),\n});\n\nclass AddressCollection extends Collection<typeof addressSchema, 'Address'> {\n  public name = 'Address' as const;\n  public schema = addressSchema;\n}\n\nclass PersonCollection extends Collection<\n  typeof personSchema,\n  'Person',\n  { byFirstName: [string] } // index defintions\n> {\n  public name = 'Person' as const;\n  public schema = personSchema;\n}\n```\n\n### Build query\nOnce you have the collections set-up you can use them to build a typed query.\nFor the best experience you should use the built-in `query` method. This is because Fauna implicitly auto-paginates sets.\nThis behavior is handled by the query method.\n\n```js\nimport { Client } from 'fauna';\nimport { query } from 'fqlx-micro-orm';\n\nconst client = new Client();\nconst user = new PersonCollection()\n  .byFirstName('John')\n  .project(['firstName', 'lastName'])\n  .resolve('address', 'address', ['street', 'zip'], new AddressCollection());\n\n// type-safe!\nconst data = await query(client, user);\n```\n","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"d7e81a5029e9bc1029ee8641a3598f0cee4d8ac7","scripts":{"build":"tsc -p ."},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.6.7","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"18.17.1","dependencies":{"fauna-x-schemas":"^1.2.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_1.0.0-beta.1_1694528028614_0.37903776633684005","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"fqlx-micro-orm","version":"1.1.0","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@1.1.0","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"ba5b5bf67058f10ef2c7be1207affc5e336dc71a","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-1.1.0.tgz","fileCount":24,"integrity":"sha512-aMgAvy0iGzqhl+HHC5fFnn3Iasp4SB7HG4ZkVWbK03hA4GJcfFhHGALEnRIqhrdVNhM5jgJxLhC9xEzOCSavbg==","signatures":[{"sig":"MEYCIQCC51omH1bdkZE6Xe60IdmYtdIVI1vN4UD2U9t4mIF3vAIhAM1Yr0hEHJjWLkRlE28DG33d5bhjY4w7KL3RUunpkAnm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":137435},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"70922b8b90efe5fa158d660135a02371872b0d88","scripts":{"build":"tsc -p ."},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.6.7","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"18.17.1","dependencies":{"fauna-x-schemas":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_1.1.0_1694528060277_0.9374368001806821","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"fqlx-micro-orm","version":"1.1.1","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@1.1.1","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"b2e6a15bba1f01722d2acbb585a79f8ac4fbf5b7","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-1.1.1.tgz","fileCount":24,"integrity":"sha512-cWIp6+DbPkF9rmOUsI18rwYUMTGTr3EWx0Um9wjZagic8G9vS1emxza4inyBDtOyim2wR5SJgztMjhjMig/KFw==","signatures":[{"sig":"MEQCIGRQ8xPzlhDbewdbh9YV0u8KmohlKRTnewVLwoMvvoO1AiBbE5C0RNFkoNMXgjlwcSCtsK3GVrI2iR+VEHGDiR0sOQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":95131},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"f4ae37675b741e0e57d497183dcfe0a496cce590","scripts":{"build":"tsc -p ."},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.6.7","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"18.17.1","dependencies":{"fauna-x-schemas":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_1.1.1_1694528912845_0.6373231674014666","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"fqlx-micro-orm","version":"1.1.2","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@1.1.2","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"6d297cc9d97de9ae6994452338c8fcff911d627d","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-1.1.2.tgz","fileCount":26,"integrity":"sha512-n6jml3IIFuMv6iBs81n3tKMgMQRznsg0mHe+ZF+Pa3GnsfYzkI74ggIsWVF7qZcbPTlbYRLjWlF3SUpDC71Cew==","signatures":[{"sig":"MEUCIQCrHJxz5hfmQRNyV5v82jju9JPN8kbyEyfxJKUyBts3gAIgOM+JZDnnka03W7+p6PEnBQMci4HwjqS+KxrvrP2l2Ls=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39593},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"4677bfe7e38e084c9e4526ea12ead42c52b473d8","scripts":{"build":"tsc -p ."},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.6.7","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"18.17.1","dependencies":{"fauna-x-schemas":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_1.1.2_1694529725048_0.31473295230763476","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"fqlx-micro-orm","version":"1.1.3","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@1.1.3","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"24d79a63c607e0cefa591e2dc015c50dce7f8d11","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-1.1.3.tgz","fileCount":26,"integrity":"sha512-/uDQQN2RoI4tsIRGEWqCNb47LoVO+OOP/u6AU/P3zKMjUtU0sRfwZBX16e3kKjOzdWiEJvo1BnpcilyAOcAtwg==","signatures":[{"sig":"MEYCIQCXZPIiq30GOctJ1kga9lTtjGhO5hJmHy4XcEmfbC15vgIhAKef/9Wy3Cm7g/oeiPpOlMYEudXmYWIhBhbjHp7ulBjg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39621},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"f1e1ebd5f4ca48652186867c1c7db56bc8e02773","scripts":{"build":"tsc -p ."},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.6.7","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"18.17.1","dependencies":{"fauna-x-schemas":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_1.1.3_1694545029109_0.5299597791940671","host":"s3://npm-registry-packages"}},"1.1.4":{"name":"fqlx-micro-orm","version":"1.1.4","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@1.1.4","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"08ed7c01d9ef28f6da6dfc91c1f56ea659a0d8f4","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-1.1.4.tgz","fileCount":26,"integrity":"sha512-IiB+El5VaFKCYrxM1AogPj1NUJFfdJNUqWgF55dA7I9wuOl9nz5O/fAcVt3/9dUaqtAZ6+IwZwmmn6kOZasBUw==","signatures":[{"sig":"MEUCIHe2Ljqtq4t2hGqcg2cIsjXjJC5tOnrLabe87o+oImjaAiEAsLah+o3/cOGmh3P5ln64fmGv90xzrR7tbV6lHCKY69w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39624},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"323b33d57f5d36f2cdf6a32d72d47838dad26076","scripts":{"build":"tsc -p ."},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.6.7","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"18.17.1","dependencies":{"fauna-x-schemas":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_1.1.4_1694546950735_0.6903482363836084","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"fqlx-micro-orm","version":"1.2.0","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@1.2.0","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"b6eee8773a0c0df82919ab62f628d60226981af2","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-1.2.0.tgz","fileCount":26,"integrity":"sha512-HN4zGfauWLHc0HwdAZEcUZ9g+XP2zu/aB3bQbBzNEAGUVFe0qrMDPtw9+R8eFmygNN242qac7t0gLk5UpeCiiw==","signatures":[{"sig":"MEUCIBKiIHzqWx+C1c1HZYWVycZfHg9O1bbevC1ySzvMIyMHAiEAhjd5asRAyr1GwGL5FuscBGFQeGxFHugtclPdVHzfAnk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39581},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"f6eba84847468f646bb9548d4f2829658db42469","scripts":{"build":"tsc -p ."},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.6.7","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"18.17.1","dependencies":{"fauna-x-schemas":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_1.2.0_1694610712518_0.9230001155125662","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"fqlx-micro-orm","version":"1.3.0","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@1.3.0","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"44e185b8e06b7d8a3b7d563ad98c53935100d6ae","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-1.3.0.tgz","fileCount":26,"integrity":"sha512-4bwa/UgUOWtSKSM1rFtPJsxZqzbZNZv4uBGMlD7dYYgqxax3I2srBOySdMkvwG4a4tRg4blty1qfIoNwH1CRsg==","signatures":[{"sig":"MEYCIQCZQ8w0sCfwpqUP9e7utwmJPuD+nyGyaOpFtEN5fUzVcgIhANoDAliC4h5xdYbh8P5OdKJW/eKoUDoBcLaC+BNe8fXq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40070},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"3b7e22aa94ecc12733e65752d1c2cd4fbd1ce69a","scripts":{"build":"tsc -p ."},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.6.7","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"18.17.1","dependencies":{"fauna-x-schemas":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_1.3.0_1694612359233_0.009556791829060662","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"fqlx-micro-orm","version":"1.4.0","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@1.4.0","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"3243da725bf175eae44588dfe83ae5c3e66c6298","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-1.4.0.tgz","fileCount":26,"integrity":"sha512-GN5QzZSnieP6V+/ABz0H2ZNHptpMy5xUbDt+HlJrHeHr3dOI/H/hknAB0AJRHHRtuhuTGvN06XdXEBKoHv2Tgg==","signatures":[{"sig":"MEYCIQCfecyJ8OsuI6dbUUt/oIB8cxmhR00qi80xEkVO67y7+gIhANxs6xvHJ89i5H5J/5/MO4j7CMlx3bIqW9ZZDbViKXDb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33471},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"678bd40b1d6a74537614c3188d271afb4787e7d8","scripts":{"build":"tsc -p ."},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.6.7","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"18.17.1","dependencies":{"fauna-x-schemas":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_1.4.0_1694613088659_0.4405063342318585","host":"s3://npm-registry-packages"}},"1.4.0-beta.0":{"name":"fqlx-micro-orm","version":"1.4.0-beta.0","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@1.4.0-beta.0","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"0b3a6ac58d512d5971fc09f22c595970c4a280ad","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-1.4.0-beta.0.tgz","fileCount":26,"integrity":"sha512-yJEfzxsqUPfSwTx4MBat/wRLFxxDjcd5BykvgTeiP8A5lZdc6ywsfFvN/4DBc885Vh2x06pAWIw8y7G2dDKltg==","signatures":[{"sig":"MEYCIQDhy9A9b8OL+Lxj+pImiRCqzldGl8+zJBlO/ZCScHiwwQIhAOqOVaKjtxkQV1TNI/fE3K0m1GbtknOWbN7kkS6UgCt5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40077},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","readme":"# FQLx Micro ORM\nThis library was created to interact with the FQLx API in a more type-safe way.\nThis library will not execute the actual queries but provides a way of interacting with the [Fauna Driver](https://www.npmjs.com/package/fauna)\n\n## Usage\n\n### Define Collections\nYou will start by creating a `Collection` class, which will mirror the collection in your database.\nFor example, the code below defines a collection class for `Address` and one for `Person`. Both of which are tied to a [zod](npmjs.com/package/zod) schema.\n*Note: the schemas aren't used for validation, but rather for type inference. However they will be helpful as schema definitions in your codebase*\n\n```js\nimport z from 'zod';\nimport { Collection } from 'fqlx-micro-orm';\nimport { documentReferenceSchemaFactory } from 'fauna-x-schemas';\n\nconst addressSchema = z.object({\n  street: z.string(),\n  zip: z.string(),\n});\n\nconst personSchema = z.object({\n  firstName: z.string(),\n  lastName: z.string(),\n  address: documentReferenceSchemaFactory('Address').optional(),\n});\n\nclass AddressCollection extends Collection<typeof addressSchema, 'Address'> {\n  public name = 'Address' as const;\n  public schema = addressSchema;\n}\n\nclass PersonCollection extends Collection<\n  typeof personSchema,\n  'Person',\n  { byFirstName: [string] } // index defintions\n> {\n  public name = 'Person' as const;\n  public schema = personSchema;\n}\n```\n\n### Build query\nOnce you have the collections set-up you can use them to build a typed query.\nFor the best experience you should use the built-in `query` method. This is because Fauna implicitly auto-paginates sets.\nThis behavior is handled by the query method.\n\n```js\nimport { Client } from 'fauna';\nimport { query } from 'fqlx-micro-orm';\n\nconst client = new Client();\nconst user = new PersonCollection()\n  .index('byFirstName', 'John')\n  .project(['firstName', 'lastName'])\n  .resolve('address', 'address', ['street', 'zip'], new AddressCollection());\n\n// type-safe!\nconst data = await query(client, user);\n```\n","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"678bd40b1d6a74537614c3188d271afb4787e7d8","scripts":{"build":"tsc -p ."},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.6.7","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"18.17.1","dependencies":{"fauna-x-schemas":"^1.2.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_1.4.0-beta.0_1694613302890_0.13449150789595232","host":"s3://npm-registry-packages"}},"1.4.0-beta.1":{"name":"fqlx-micro-orm","version":"1.4.0-beta.1","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@1.4.0-beta.1","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"be331e8a6e85edd7560c7d8bff74f65bcb3cedb3","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-1.4.0-beta.1.tgz","fileCount":26,"integrity":"sha512-dwG/BCG4fde91Nm/TZee4fGpVoZPMbJjvvvXRmaJNHNV2iF7MISWHYLEGTjA/MreXitf6GrgaJ824StpqKDDGg==","signatures":[{"sig":"MEUCICtrJMCfludV7sWzL8WxYPB+5XjIfT2rXrNpG8cLjI0tAiEAocl8yWXrg61ww+0Ur+6qpqCG33pn7QuyE8UPqMBlomU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33505},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","readme":"# FQLx Micro ORM\nThis library was created to interact with the FQLx API in a more type-safe way.\nThis library will not execute the actual queries but provides a way of interacting with the [Fauna Driver](https://www.npmjs.com/package/fauna)\n\n## Usage\n\n### Define Collections\nYou will start by creating a `Collection` class, which will mirror the collection in your database.\nFor example, the code below defines a collection class for `Address` and one for `Person`. Both of which are tied to a [zod](npmjs.com/package/zod) schema.\n*Note: the schemas aren't used for validation, but rather for type inference. However they will be helpful as schema definitions in your codebase*\n\n```js\nimport z from 'zod';\nimport { Collection } from 'fqlx-micro-orm';\nimport { documentReferenceSchemaFactory } from 'fauna-x-schemas';\n\nconst addressSchema = z.object({\n  street: z.string(),\n  zip: z.string(),\n});\n\nconst personSchema = z.object({\n  firstName: z.string(),\n  lastName: z.string(),\n  address: documentReferenceSchemaFactory('Address').optional(),\n});\n\nclass AddressCollection extends Collection<typeof addressSchema, 'Address'> {\n  public name = 'Address' as const;\n  public schema = addressSchema;\n}\n\nclass PersonCollection extends Collection<\n  typeof personSchema,\n  'Person',\n  { byFirstName: [string] } // index defintions\n> {\n  public name = 'Person' as const;\n  public schema = personSchema;\n}\n```\n\n### Build query\nOnce you have the collections set-up you can use them to build a typed query.\nFor the best experience you should use the built-in `query` method. This is because Fauna implicitly auto-paginates sets.\nThis behavior is handled by the query method.\n\n```js\nimport { Client } from 'fauna';\nimport { query } from 'fqlx-micro-orm';\n\nconst client = new Client();\nconst user = new PersonCollection()\n  .index('byFirstName', 'John')\n  .project(['firstName', 'lastName'])\n  .resolve('address', 'address', ['street', 'zip'], new AddressCollection());\n\n// type-safe!\nconst data = await query(client, user);\n```\n","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"678bd40b1d6a74537614c3188d271afb4787e7d8","scripts":{"build":"tsc -p ."},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.6.7","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"18.17.1","dependencies":{"fauna-x-schemas":"^1.4.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_1.4.0-beta.1_1694615518794_0.8199231130324116","host":"s3://npm-registry-packages"}},"1.4.0-beta.2":{"name":"fqlx-micro-orm","version":"1.4.0-beta.2","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@1.4.0-beta.2","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"f9e728735aa7966f785c12ed6fb1ac249b6fcb19","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-1.4.0-beta.2.tgz","fileCount":26,"integrity":"sha512-ENl6Ey5qXSX2jNPMjDWAzN/rGpYWayYPhyN1mJoW2o3qTra3OzZppXF4ATtFpt76JVbZnfMEshaLWFzu1PfKxQ==","signatures":[{"sig":"MEQCIChea6kTMjPMsFPxLn4ELK6cvN7Fhx2ikBD6trlJ6s43AiB7VrLU3t75Ba4gkkd0UlmEkDGyjJFufiWA2qCaA/TUfg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33453},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","readme":"# FQLx Micro ORM\nThis library was created to interact with the FQLx API in a more type-safe way.\nThis library will not execute the actual queries but provides a way of interacting with the [Fauna Driver](https://www.npmjs.com/package/fauna)\n\n## Usage\n\n### Define Collections\nYou will start by creating a `Collection` class, which will mirror the collection in your database.\nFor example, the code below defines a collection class for `Address` and one for `Person`. Both of which are tied to a [zod](npmjs.com/package/zod) schema.\n*Note: the schemas aren't used for validation, but rather for type inference. However they will be helpful as schema definitions in your codebase*\n\n```js\nimport z from 'zod';\nimport { Collection } from 'fqlx-micro-orm';\nimport { documentReferenceSchemaFactory } from 'fauna-x-schemas';\n\nconst addressSchema = z.object({\n  street: z.string(),\n  zip: z.string(),\n});\n\nconst personSchema = z.object({\n  firstName: z.string(),\n  lastName: z.string(),\n  address: documentReferenceSchemaFactory('Address').optional(),\n});\n\nclass AddressCollection extends Collection<typeof addressSchema, 'Address'> {\n  public name = 'Address' as const;\n  public schema = addressSchema;\n}\n\nclass PersonCollection extends Collection<\n  typeof personSchema,\n  'Person',\n  { byFirstName: [string] } // index defintions\n> {\n  public name = 'Person' as const;\n  public schema = personSchema;\n}\n```\n\n### Build query\nOnce you have the collections set-up you can use them to build a typed query.\nFor the best experience you should use the built-in `query` method. This is because Fauna implicitly auto-paginates sets.\nThis behavior is handled by the query method.\n\n```js\nimport { Client } from 'fauna';\nimport { query } from 'fqlx-micro-orm';\n\nconst client = new Client();\nconst user = new PersonCollection()\n  .index('byFirstName', 'John')\n  .project(['firstName', 'lastName'])\n  .resolve('address', 'address', ['street', 'zip'], new AddressCollection());\n\n// type-safe!\nconst data = await query(client, user);\n```\n","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"0fa5303585e06c9590f7398bf41beb2c40ba7316","scripts":{"build":"tsc -p ."},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.6.7","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"18.17.1","dependencies":{"fauna-x-schemas":"^1.4.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_1.4.0-beta.2_1694616364020_0.9590895014084593","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"fqlx-micro-orm","version":"1.5.0","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@1.5.0","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"9c2a7303f68b30f01acb2e7ac3f0ef874644d9a4","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-1.5.0.tgz","fileCount":26,"integrity":"sha512-SBWI4ZJyK5wfgN5VFree181Nv4f11h+P9vDqRNF8n9eHaDDIbWQ0YVmc0fvNi3//mnIgmRTsJ44S6S4T3R+R7w==","signatures":[{"sig":"MEYCIQDzoNaBiHwu2PqnzGqs+HHmUSkkZHr/97VUwEJV53xZdQIhALVTdWNxSB14dxkiwucqCzkJh7IgJ7l7RL9Q9Wp37JxZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33446},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"7606dbcfb34a16d9268a25b0bab8320562d4f7da","scripts":{"build":"tsc -p ."},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.6.7","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"18.17.1","dependencies":{"fauna-x-schemas":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_1.5.0_1694616404728_0.6367118624641199","host":"s3://npm-registry-packages"}},"1.5.1":{"name":"fqlx-micro-orm","version":"1.5.1","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@1.5.1","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"6e596ad69b3bb420f5b1185573a9fb0aac0f6e9e","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-1.5.1.tgz","fileCount":26,"integrity":"sha512-INSYjvWRoeJ1bPcYHfoTLuKDVUsOPN9fyakRtA3VoRNblIuGEYSZRaFyIFSV2XxnAP5da12oeddtJ+Y45pOXZQ==","signatures":[{"sig":"MEUCIQCbkix5H98DiPhyqKHZ+aJFCmGCTNfjSxN5jp2geFngvwIgdl5oaeTqtvg8RHyz6jeviah+SSsMvD65FDQTDDyNxUk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33511},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"1bcfa9abc61be8efbfed7f214bdb5fded08e5b73","scripts":{"build":"tsc -p ."},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.8.1","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"20.6.1","dependencies":{"fauna-x-schemas":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_1.5.1_1694960132492_0.3617968283800812","host":"s3://npm-registry-packages"}},"1.6.0":{"name":"fqlx-micro-orm","version":"1.6.0","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@1.6.0","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"9a6b32387f16a41c756d443ffe00f9c26ba8fbf2","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-1.6.0.tgz","fileCount":26,"integrity":"sha512-lfkdsAMWkQncJkvtSCIU+ECY5ZBqA+0v3zl9h7VhCRPQfOslyx3vkDKNwhOJQgL8d3HqnhfPcTWZu3sQ0mgGVw==","signatures":[{"sig":"MEUCIQDy5luLgSylfBKZapI1LZMEg2nPQzFuF/IwT2cSPYpFKQIgIQkTNp0eVv2ApMVpfc2LCp+prlBRapNDzxMAeS0GneE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34366},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"17bb11a4bbd47d902c68c1d7d4ed76838dc31013","scripts":{"build":"tsc -p ."},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.8.1","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"20.6.1","dependencies":{"fauna-x-schemas":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_1.6.0_1695089222597_0.8350757453181739","host":"s3://npm-registry-packages"}},"1.6.1":{"name":"fqlx-micro-orm","version":"1.6.1","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@1.6.1","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"783a6f92ff68bbee22393a02a2e05f4b5079250e","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-1.6.1.tgz","fileCount":26,"integrity":"sha512-74w5Ywr32VTeBTUa538DSP3PIz/uuPlnsGjNlUx03BHfs01fqVeLjKAe41HRJQUfHLrpFcmdjIYUxjPd/uUdRg==","signatures":[{"sig":"MEUCIFCg5KasYcWEhok8zqc0s2YH4poQ6DL5u30XkGEokeu2AiEAr/Dk/LlkeKeUDkuE1P/vZMczGxRSjpCJVktxpS6LNbY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34410},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"3375854a563159f1c218866edc495c0eb0503707","scripts":{"build":"tsc -p ."},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.8.1","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"20.6.1","dependencies":{"fauna-x-schemas":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_1.6.1_1695089432291_0.3442126580079965","host":"s3://npm-registry-packages"}},"1.6.2":{"name":"fqlx-micro-orm","version":"1.6.2","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@1.6.2","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"4e566f9ab6a825c6de71dc75b6c6b3655282c815","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-1.6.2.tgz","fileCount":26,"integrity":"sha512-Slw9m56Fe4M95e5iX9gAokYjNDyKg1XYcyjuyUSB4DredXgAgdp3FvSVV5ch1PV/5e06l/QU6n+H4E/8nDCDRw==","signatures":[{"sig":"MEQCIGtrTJcmT9YEofw0XQVZYWmML5xO9ZBKmt5TjvGV0h+bAiANNQQkMjVQ6yaxcblt5h+VXPX5eW15f1Ktb3wpExyukA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34409},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"722560bbf35914deec06355c20aeb130727c33c0","scripts":{"build":"tsc -p ."},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.8.1","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"20.6.1","dependencies":{"fauna-x-schemas":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_1.6.2_1695089522125_0.26678010295775256","host":"s3://npm-registry-packages"}},"1.6.3":{"name":"fqlx-micro-orm","version":"1.6.3","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@1.6.3","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"e9a84aad513e78b47086e0a88e31c3ff0f780c7c","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-1.6.3.tgz","fileCount":26,"integrity":"sha512-OmVqX2iaafGvBhmhS7hiRXTEu2rGGHpvLAe2JrfAgyp0CoQIwgygBEbn6leX9aIZXlF3DVNbrfm5EkacK8/usw==","signatures":[{"sig":"MEUCIQC5NvyULHTj7/wtayRHPiAPjaGZfVqAp8s3IBE9ZL37XAIgDu5s4MXm4I3gxecEuN2Puk+E0nJH8Ka4lGhJKRVcNtg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34409},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"27c1d667dc2bb8632d826c3f12519e8e97a24f31","scripts":{"build":"tsc -p ."},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.8.1","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"20.6.1","dependencies":{"fauna-x-schemas":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_1.6.3_1695089929205_0.36513775810480564","host":"s3://npm-registry-packages"}},"1.6.4":{"name":"fqlx-micro-orm","version":"1.6.4","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@1.6.4","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"a34e755e6a96656e1bea1d859a14241e2857c8f6","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-1.6.4.tgz","fileCount":26,"integrity":"sha512-N92cT0UFa/ZJpxwe84xjbAJSmOgjWwh8b5xehm25WguO2QvfpUJ1sFvhmqWkyPRk0u68TQC/pwNvDZF+q+u3FQ==","signatures":[{"sig":"MEYCIQDXe25eiIolGcI10m1QPP5QQaPzpIzgjlLg2SK2t0yznwIhAM19Jr5VFUeaZZG/ZP1aiWWj5P/fFxISXBUCmLyDTHhg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34588},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"51157aadbf98ae0a3a6097ba271f422ad0aa2bd7","scripts":{"build":"tsc -p .","prepublish":"npm run build"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.8.1","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"20.6.1","dependencies":{"fauna-x-schemas":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_1.6.4_1695090026023_0.25761644184186605","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"fqlx-micro-orm","version":"2.0.0","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@2.0.0","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"817a37f786ad630a5d439c570f461b34399615ee","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-2.0.0.tgz","fileCount":26,"integrity":"sha512-LQOnE7ZpwpVkAiEt7wJsK2PRdAeTBj8lgvd2N3bJ5yLFSQa/AHmTT0VnjXyiReFm5rxvaHNrw8ZF3nShIoSQgA==","signatures":[{"sig":"MEUCIEZoMY2D9CGZc5ZH5qjzAQPEJjYFCD5OScqD6T6gKNL4AiEAmuxCHMUxr/qd3eRdb4T3UVkCSNpOaPnCVYUKdv0Ab6w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31750},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"d4c572fa2e639d96f4ce3908c7fb0706d9214fef","scripts":{"build":"tsc -p .","prepublish":"npm run build"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.8.1","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"20.6.1","dependencies":{"fauna-x-schemas":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_2.0.0_1695221302271_0.6302238738912334","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"fqlx-micro-orm","version":"2.1.0","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@2.1.0","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"af681d74fb1ed5a277604c6401e27cb15841b26e","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-2.1.0.tgz","fileCount":28,"integrity":"sha512-riDxUiFjrt3yD9tjSOF1sy3tchswysi30O0Dz0K8tMMY67uG2K3u7i6QdnpafnkUFPCLeel3ZAE2NSGHOtNZuw==","signatures":[{"sig":"MEUCIQC75yPmEKtMQQQptcF5ooNeRqVyqoWVXaqDFGUttT4ATQIgKfXd3u0v3XMRoTAx4i5vnRKwUQ1ZWsDdhM+yD9y9bkM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35685},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"961cc789be30fb889f56192e7ddbd73301dc2b4c","scripts":{"build":"tsc -p .","prepublish":"npm run build"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.8.1","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"20.6.1","dependencies":{"fauna-x-schemas":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_2.1.0_1695224552133_0.8423173205142875","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"fqlx-micro-orm","version":"2.2.0","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@2.2.0","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"7b3f43e220fca8d6ec3f07049c264c0a21e35862","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-2.2.0.tgz","fileCount":28,"integrity":"sha512-4kbWbpXMWCyex13ZdR6iAz3BNuNWcwngZR6Tpb2k8WJIyzydxYq+esq0C5ARhZq/XwMy96tq9d+Tm9EuEevl9g==","signatures":[{"sig":"MEUCIDszrq9CT0gGTUOC63KMYmhJhw3DmEhLIufQhVe7QFgcAiEArnPWR9kGIxNdI2/4tmHRRkSqKPu9e8hDr7AEiqLAF6E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35756},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"a40057b797b10bab1e6675d19e5ed92dc4a76afe","scripts":{"build":"tsc -p .","prepublish":"npm run build"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.8.1","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"20.6.1","dependencies":{"fauna-x-schemas":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_2.2.0_1695225892229_0.9419990389097621","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"fqlx-micro-orm","version":"2.3.0","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@2.3.0","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"c22c5068dbef6cf3324632a47c0bbd970e3b397c","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-2.3.0.tgz","fileCount":28,"integrity":"sha512-Hf2/sSiXh7DqRe0OwH8GqT4taWA40eJ1R8gq6E+8GYJBUNoqFmFYjgB8wG93bmtsmpZr7U1irxvzmtMC7CU7zQ==","signatures":[{"sig":"MEQCIDljng+sqTrvq3kmzfyADFV3fMWgPtjPh2dIax/YL3RXAiAtnOMdZYJKBGf6TzXTvNP9tNvGXUmDQJDUva1IPgsBvw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35899},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"823d143f677a242cb1924124ef127737c7e56a7f","scripts":{"build":"tsc -p .","prepublish":"npm run build"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.8.1","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"20.6.1","dependencies":{"fauna-x-schemas":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_2.3.0_1695227496524_0.11340515243858862","host":"s3://npm-registry-packages"}},"2.3.1":{"name":"fqlx-micro-orm","version":"2.3.1","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@2.3.1","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"8e4fe5d93f50d120066a3b688c74c46599e17f4e","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-2.3.1.tgz","fileCount":28,"integrity":"sha512-XOywHqbfH8ivMAz1DBbUDPVC/vXrZh78jRX7xE2+9PiIafFb8EaMcttN4URyZFmR1LlX2mrcGXD5cBkOMmyXRg==","signatures":[{"sig":"MEQCIC20X863a75k96em16w9XalFHXsX+zij6QMKakfkIfmAAiAhFJsv7aglNF3EcoKCWIs7RxK1noQF1JPXFNjRwaxg9Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35883},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"fdcb8f5e87906f31e1efe52904b6277d0fa50979","scripts":{"build":"tsc -p .","prepublish":"npm run build"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.8.1","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"20.6.1","dependencies":{"fauna-x-schemas":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_2.3.1_1695847848829_0.9819241768614793","host":"s3://npm-registry-packages"}},"2.3.2-beta.0":{"name":"fqlx-micro-orm","version":"2.3.2-beta.0","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@2.3.2-beta.0","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"ebf5f19f82cf89e4eda5cda7f6b76add668b7769","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-2.3.2-beta.0.tgz","fileCount":28,"integrity":"sha512-g2oZoVZqGO2o6Jmsly2yfLMWpPaJ3jgOD6a1yqZBte8BMvA+p22L7K9+vwGHYGWYlL8b7RPfNUx6lCALcj+9Ag==","signatures":[{"sig":"MEYCIQCcmEUuY0JieO8QHvQwaL3MboepFWFMPPSYmK9WdeN4PwIhAK029ChGLOv+30A7sSo7SiTclzzkdOKgQjEMfdC11ZRr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35906},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","readme":"# FQLx Micro ORM\nThis library was created to interact with the FQLx API in a more type-safe way.\nThis library will not execute the actual queries but provides a way of interacting with the [Fauna Driver](https://www.npmjs.com/package/fauna)\n\n## Usage\n\n### Define Collections\nYou will start by creating a `Collection` class, which will mirror the collection in your database.\nFor example, the code below defines a collection class for `Address` and one for `Person`. Both of which are tied to a [zod](npmjs.com/package/zod) schema.\n*Note: the schemas aren't used for validation, but rather for type inference. However they will be helpful as schema definitions in your codebase*\n\n```js\nimport z from 'zod';\nimport { Collection } from 'fqlx-micro-orm';\nimport { documentReferenceSchemaFactory } from 'fauna-x-schemas';\n\nconst addressSchema = z.object({\n  street: z.string(),\n  zip: z.string(),\n});\n\nconst personSchema = z.object({\n  firstName: z.string(),\n  lastName: z.string(),\n  address: documentReferenceSchemaFactory('Address').optional(),\n});\n\nclass AddressCollection extends Collection<typeof addressSchema, 'Address'> {\n  public name = 'Address' as const;\n  public schema = addressSchema;\n}\n\nclass PersonCollection extends Collection<\n  typeof personSchema,\n  'Person',\n  { byFirstName: [string] } // index defintions\n> {\n  public name = 'Person' as const;\n  public schema = personSchema;\n}\n```\n\n### Build query\nOnce you have the collections set-up you can use them to build a typed query.\nFor the best experience you should use the built-in `query` method. This is because Fauna implicitly auto-paginates sets.\nThis behavior is handled by the query method.\n\n```js\nimport { Client } from 'fauna';\nimport { query } from 'fqlx-micro-orm';\n\nconst client = new Client();\nconst user = new PersonCollection()\n  .index('byFirstName', 'John')\n  .project(['firstName', 'lastName'])\n  .resolve('address', 'address', ['street', 'zip'], new AddressCollection());\n\n// type-safe!\nconst data = await query(client, user);\n```\n","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"c93c76b40fe6539806b1121fd6b3d88e9960ef93","scripts":{"build":"tsc -p .","prepublish":"npm run build"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.8.1","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"20.6.1","dependencies":{"fauna-x-schemas":"^2.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_2.3.2-beta.0_1695854027006_0.04912317691384582","host":"s3://npm-registry-packages"}},"2.3.2":{"name":"fqlx-micro-orm","version":"2.3.2","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@2.3.2","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"938cd7137e2da865d5aa57157f080dd3175d6ce1","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-2.3.2.tgz","fileCount":28,"integrity":"sha512-3OnyEzyqi59vX7MQF3BTBxqFxqxPzinfsqA01pRmECk/a5bFaTkVuB1/nSYqDcJ50zKYTz4yDE6wlKQL77fNTQ==","signatures":[{"sig":"MEUCIGq69W64D8Zb8DDISo0/OLJFlyUQW+tBFaRDKn1OOkEsAiEApGNPRLTqOYcj3dQ1YgeJjAyyx6wSglsCc3KWm7DRMWU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35899},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"99d0c178becf4fcdd206e04aa5a2022abe9132c1","scripts":{"build":"tsc -p .","prepublish":"npm run build"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.8.1","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"20.6.1","dependencies":{"fauna-x-schemas":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_2.3.2_1695854186274_0.13917745126460224","host":"s3://npm-registry-packages"}},"2.4.0":{"name":"fqlx-micro-orm","version":"2.4.0","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@2.4.0","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"f0d117657d619919553ae97051d242be66f372f0","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-2.4.0.tgz","fileCount":28,"integrity":"sha512-L+R3X1E2NfgMfyv7PPe6MALu9AzNMnqJpCFiChfwxgeKcUgua1qR4Ag/WDNDyzuVyzINIV/6sCGnhN6cXPxGow==","signatures":[{"sig":"MEYCIQCK+d8epkbp/72BMqL2mx6+PYvWmP61YhFoYoaXXz5BdQIhALe+bmzQS/Rq/5dRG4pxB4Lwf/LkEAll62zvnrM+nckQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36009},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"6c9f45bdd1460db98690a605cef8aee9bba2c4a1","scripts":{"build":"tsc -p .","prepublish":"npm run build"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"9.8.1","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"20.6.1","dependencies":{"fauna-x-schemas":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_2.4.0_1695862386062_0.028049537959990767","host":"s3://npm-registry-packages"}},"2.4.1-beta.0":{"name":"fqlx-micro-orm","version":"2.4.1-beta.0","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@2.4.1-beta.0","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"613b039dd5a9ef442b499e99171a5468dbaa2342","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-2.4.1-beta.0.tgz","fileCount":28,"integrity":"sha512-SfC6CeOCT1yv3vqfzaZrWOuGhXdOU7GmfY0QqbYU24pTLZDaoWLEO/d84uGM30JFpebsZpErJFS2v56V5hgNzA==","signatures":[{"sig":"MEQCIAHiWuUA+44P0ojFAqSS49YuDaypkHHrnQ9EKsO5R+/oAiBOax/TNNrB7Cjkhrgyi/+/osHpNK8uAq9TUVctHM2hpQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36016},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","readme":"# FQLx Micro ORM\nThis library was created to interact with the FQLx API in a more type-safe way.\nThis library will not execute the actual queries but provides a way of interacting with the [Fauna Driver](https://www.npmjs.com/package/fauna)\n\n## Usage\n\n### Define Collections\nYou will start by creating a `Collection` class, which will mirror the collection in your database.\nFor example, the code below defines a collection class for `Address` and one for `Person`. Both of which are tied to a [zod](npmjs.com/package/zod) schema.\n*Note: the schemas aren't used for validation, but rather for type inference. However they will be helpful as schema definitions in your codebase*\n\n```js\nimport z from 'zod';\nimport { Collection } from 'fqlx-micro-orm';\nimport { documentReferenceSchemaFactory } from 'fauna-x-schemas';\n\nconst addressSchema = z.object({\n  street: z.string(),\n  zip: z.string(),\n});\n\nconst personSchema = z.object({\n  firstName: z.string(),\n  lastName: z.string(),\n  address: documentReferenceSchemaFactory('Address').optional(),\n});\n\nclass AddressCollection extends Collection<typeof addressSchema, 'Address'> {\n  public name = 'Address' as const;\n  public schema = addressSchema;\n}\n\nclass PersonCollection extends Collection<\n  typeof personSchema,\n  'Person',\n  { byFirstName: [string] } // index defintions\n> {\n  public name = 'Person' as const;\n  public schema = personSchema;\n}\n```\n\n### Build query\nOnce you have the collections set-up you can use them to build a typed query.\nFor the best experience you should use the built-in `query` method. This is because Fauna implicitly auto-paginates sets.\nThis behavior is handled by the query method.\n\n```js\nimport { Client } from 'fauna';\nimport { query } from 'fqlx-micro-orm';\n\nconst client = new Client();\nconst user = new PersonCollection()\n  .index('byFirstName', 'John')\n  .project(['firstName', 'lastName'])\n  .resolve('address', 'address', ['street', 'zip'], new AddressCollection());\n\n// type-safe!\nconst data = await query(client, user);\n```\n","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"97dfef1ec4ef7417c727e69b354f6497f9bb54b6","scripts":{"build":"tsc -p .","prepublish":"npm run build"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"10.5.2","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"20.13.1","dependencies":{"fauna-x-schemas":"^2.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_2.4.1-beta.0_1718677870549_0.1019989975186868","host":"s3://npm-registry-packages"}},"2.4.1-beta.1":{"name":"fqlx-micro-orm","version":"2.4.1-beta.1","keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","_id":"fqlx-micro-orm@2.4.1-beta.1","maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"dist":{"shasum":"c29df25b555eea749d0ec672388d1b861a386aff","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-2.4.1-beta.1.tgz","fileCount":28,"integrity":"sha512-RAmrY+ma6N8n3sE2LcU/GA4cZ/hA3A18nGZdOGE/fdAqRrATELCN0KobojIRFf7e2zg8igWW7AY6GWvohyYf4g==","signatures":[{"sig":"MEUCIFi4PDVgfhFdAyflBDtskU+vOi2zs8JZdnz5d54UyrsOAiEAxhA68qexZdT/WBoP+kgga9UIQ4SVnVruGORxqLtPKaM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36041},"type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","readme":"# FQLx Micro ORM\nThis library was created to interact with the FQLx API in a more type-safe way.\nThis library will not execute the actual queries but provides a way of interacting with the [Fauna Driver](https://www.npmjs.com/package/fauna)\n\n## Usage\n\n### Define Collections\nYou will start by creating a `Collection` class, which will mirror the collection in your database.\nFor example, the code below defines a collection class for `Address` and one for `Person`. Both of which are tied to a [zod](npmjs.com/package/zod) schema.\n*Note: the schemas aren't used for validation, but rather for type inference. However they will be helpful as schema definitions in your codebase*\n\n```js\nimport z from 'zod';\nimport { Collection } from 'fqlx-micro-orm';\nimport { documentReferenceSchemaFactory } from 'fauna-x-schemas';\n\nconst addressSchema = z.object({\n  street: z.string(),\n  zip: z.string(),\n});\n\nconst personSchema = z.object({\n  firstName: z.string(),\n  lastName: z.string(),\n  address: documentReferenceSchemaFactory('Address').optional(),\n});\n\nclass AddressCollection extends Collection<typeof addressSchema, 'Address'> {\n  public name = 'Address' as const;\n  public schema = addressSchema;\n}\n\nclass PersonCollection extends Collection<\n  typeof personSchema,\n  'Person',\n  { byFirstName: [string] } // index defintions\n> {\n  public name = 'Person' as const;\n  public schema = personSchema;\n}\n```\n\n### Build query\nOnce you have the collections set-up you can use them to build a typed query.\nFor the best experience you should use the built-in `query` method. This is because Fauna implicitly auto-paginates sets.\nThis behavior is handled by the query method.\n\n```js\nimport { Client } from 'fauna';\nimport { query } from 'fqlx-micro-orm';\n\nconst client = new Client();\nconst user = new PersonCollection()\n  .index('byFirstName', 'John')\n  .project(['firstName', 'lastName'])\n  .resolve('address', 'address', ['street', 'zip'], new AddressCollection());\n\n// type-safe!\nconst data = await query(client, user);\n```\n","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"gitHead":"97dfef1ec4ef7417c727e69b354f6497f9bb54b6","scripts":{"build":"tsc -p .","prepublish":"npm run build"},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"_npmVersion":"10.5.2","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","directories":{},"_nodeVersion":"20.13.1","dependencies":{"fauna-x-schemas":"^2.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zod":"^3.22.2","fauna":"^1.2.0","bun-types":"^1.0.1","typescript":"^5.2.2"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fqlx-micro-orm_2.4.1-beta.1_1718677878333_0.8691262905488966","host":"s3://npm-registry-packages"}},"2.4.1-beta.2":{"name":"fqlx-micro-orm","type":"module","version":"2.4.1-beta.2","description":"FQLx Micro ORM for a more type-safe way of interacting with the FQLx APIs","types":"./lib/index.d.ts","module":"./lib/index.js","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js","default":"./lib/index.js"}},"scripts":{"prepublish":"npm run build","build":"tsc -p ."},"repository":{"type":"git","url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git"},"homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"license":"MIT","dependencies":{"fauna-x-schemas":"^2.0.0"},"peerDependencies":{"zod":"^3.0.0","fauna":"^1.0.0"},"devDependencies":{"bun-types":"^1.0.1","fauna":"^1.2.0","typescript":"^5.2.2","zod":"^3.22.2"},"_id":"fqlx-micro-orm@2.4.1-beta.2","readme":"# FQLx Micro ORM\nThis library was created to interact with the FQLx API in a more type-safe way.\nThis library will not execute the actual queries but provides a way of interacting with the [Fauna Driver](https://www.npmjs.com/package/fauna)\n\n## Usage\n\n### Define Collections\nYou will start by creating a `Collection` class, which will mirror the collection in your database.\nFor example, the code below defines a collection class for `Address` and one for `Person`. Both of which are tied to a [zod](npmjs.com/package/zod) schema.\n*Note: the schemas aren't used for validation, but rather for type inference. However they will be helpful as schema definitions in your codebase*\n\n```js\nimport z from 'zod';\nimport { Collection } from 'fqlx-micro-orm';\nimport { documentReferenceSchemaFactory } from 'fauna-x-schemas';\n\nconst addressSchema = z.object({\n  street: z.string(),\n  zip: z.string(),\n});\n\nconst personSchema = z.object({\n  firstName: z.string(),\n  lastName: z.string(),\n  address: documentReferenceSchemaFactory('Address').optional(),\n});\n\nclass AddressCollection extends Collection<typeof addressSchema, 'Address'> {\n  public name = 'Address' as const;\n  public schema = addressSchema;\n}\n\nclass PersonCollection extends Collection<\n  typeof personSchema,\n  'Person',\n  { byFirstName: [string] } // index defintions\n> {\n  public name = 'Person' as const;\n  public schema = personSchema;\n}\n```\n\n### Build query\nOnce you have the collections set-up you can use them to build a typed query.\nFor the best experience you should use the built-in `query` method. This is because Fauna implicitly auto-paginates sets.\nThis behavior is handled by the query method.\n\n```js\nimport { Client } from 'fauna';\nimport { query } from 'fqlx-micro-orm';\n\nconst client = new Client();\nconst user = new PersonCollection()\n  .index('byFirstName', 'John')\n  .project(['firstName', 'lastName'])\n  .resolve('address', 'address', ['street', 'zip'], new AddressCollection());\n\n// type-safe!\nconst data = await query(client, user);\n```\n","readmeFilename":"README.md","gitHead":"97dfef1ec4ef7417c727e69b354f6497f9bb54b6","_nodeVersion":"20.13.1","_npmVersion":"10.5.2","dist":{"integrity":"sha512-irc2qF2+ycg+HuiGfHJgo0h+jiuFiuz2ZWHCT++hdPGU5M8nscPE3w3QXev1F6U4O9DGfuX6+Hmibm2Ivjvirg==","shasum":"4f01506ad2a3d3df0fe4697346af2d0d41212add","tarball":"https://registry.npmjs.org/fqlx-micro-orm/-/fqlx-micro-orm-2.4.1-beta.2.tgz","fileCount":28,"unpackedSize":36044,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnqUV2W+VKLiOUApvViXySq6EyKGO+lXn9G17DBc5ySwIgJql3sQnzH4sLmTtMI0evcdNmdKgUNpY3PaKDvGRxenc="}]},"_npmUser":{"name":"liammartens","email":"hi@liammartens.com"},"directories":{},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fqlx-micro-orm_2.4.1-beta.2_1718678004953_0.008983192938061046"},"_hasShrinkwrap":false}},"time":{"created":"2023-09-12T14:11:58.240Z","modified":"2024-06-18T02:33:25.277Z","1.0.0":"2023-09-12T14:11:58.423Z","1.0.0-beta.1":"2023-09-12T14:13:48.827Z","1.1.0":"2023-09-12T14:14:20.835Z","1.1.1":"2023-09-12T14:28:33.008Z","1.1.2":"2023-09-12T14:42:05.228Z","1.1.3":"2023-09-12T18:57:09.326Z","1.1.4":"2023-09-12T19:29:10.945Z","1.2.0":"2023-09-13T13:11:52.691Z","1.3.0":"2023-09-13T13:39:19.406Z","1.4.0":"2023-09-13T13:51:28.845Z","1.4.0-beta.0":"2023-09-13T13:55:03.136Z","1.4.0-beta.1":"2023-09-13T14:31:59.116Z","1.4.0-beta.2":"2023-09-13T14:46:04.235Z","1.5.0":"2023-09-13T14:46:44.925Z","1.5.1":"2023-09-17T14:15:32.709Z","1.6.0":"2023-09-19T02:07:02.756Z","1.6.1":"2023-09-19T02:10:32.460Z","1.6.2":"2023-09-19T02:12:02.290Z","1.6.3":"2023-09-19T02:18:49.644Z","1.6.4":"2023-09-19T02:20:26.319Z","2.0.0":"2023-09-20T14:48:22.469Z","2.1.0":"2023-09-20T15:42:32.351Z","2.2.0":"2023-09-20T16:04:52.459Z","2.3.0":"2023-09-20T16:31:36.714Z","2.3.1":"2023-09-27T20:50:49.040Z","2.3.2-beta.0":"2023-09-27T22:33:47.299Z","2.3.2":"2023-09-27T22:36:26.485Z","2.4.0":"2023-09-28T00:53:06.209Z","2.4.1-beta.0":"2024-06-18T02:31:10.728Z","2.4.1-beta.1":"2024-06-18T02:31:18.509Z","2.4.1-beta.2":"2024-06-18T02:33:25.118Z"},"maintainers":[{"name":"liammartens","email":"hi@liammartens.com"}],"author":{"name":"Liam Martens","email":"hi@liammartens.com"},"repository":{"url":"git+ssh://git@github.com/LiamMartens/fqlx-micro-orm.git","type":"git"},"keywords":["fauna","fql","fqlx","orm","typescript","typesafe"],"license":"MIT","homepage":"https://github.com/LiamMartens/fqlx-micro-orm","bugs":{"url":"https://github.com/LiamMartens/fqlx-micro-orm/issues"},"readme":"","readmeFilename":""}