{"_id":"@dusty-phillips/rescript-dexie","_rev":"8-4c9f09ec0809c703a2e226d060c3f8c5","name":"@dusty-phillips/rescript-dexie","dist-tags":{"latest":"0.4.0"},"versions":{"0.1.0":{"name":"@dusty-phillips/rescript-dexie","version":"0.1.0","scripts":{"build":"rescript build","clean":"rescript clean","format":"rescript format","test":"tests/pretty.sh","test:watch":"onchange --initial '{tests,src}/*.mjs' -- tests/pretty.sh","watch":"rescript build -w"},"keywords":["ReScript"],"author":{},"license":"MIT","devDependencies":{"@dusty-phillips/rescript-zora":"^3.0.0","fake-indexeddb":"^3.1.3","onchange":"^7.1.0","pta":"^1.0.0","rescript":"^9.1.4","tap-diff2":"^0.2.3","zora":"^5.0.0"},"dependencies":{"@ryyppy/rescript-promise":"^2.1.0","dexie":"^3.2.0-rc.2"},"description":"Note: These bindings are still very early. No npm package is available and there are no docs.","licenseText":"The MIT License (MIT)\nCopyright © 2021 Dusty Phillips\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@dusty-phillips/rescript-dexie@0.1.0","dist":{"shasum":"2bd7f22a8fd4f7da295ddbbd2059a65229e9ccc2","integrity":"sha512-GLTbA5KLgSMpZpJqjkNyaDwhpXjuoZaeCVGX9UlF2mXm8M0Vxx6AQUBH8YFJIWZmJavFqFud2AerDhBtqzJ7Aw==","tarball":"https://registry.npmjs.org/@dusty-phillips/rescript-dexie/-/rescript-dexie-0.1.0.tgz","fileCount":109,"unpackedSize":5756188,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5rVSimkR3eJO4hfdUxoYA/iTOo/dTtjDBHno11iRd3AIhANm3wTvRzAfzl2HSIvZImKyQsaWEwGnwUGy79+mzPLRS"}]},"_npmUser":{"name":"dusty-phillips","email":"dusty@phillips.codes"},"directories":{},"maintainers":[{"name":"dusty-phillips","email":"dusty@phillips.codes"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rescript-dexie_0.1.0_1634046968065_0.12585882519951985"},"_hasShrinkwrap":false},"0.1.1":{"name":"@dusty-phillips/rescript-dexie","version":"0.1.1","scripts":{"build":"rescript build","clean":"rescript clean","format":"rescript format","test":"tests/pretty.sh","test:watch":"onchange --initial '{tests,src}/*.mjs' -- tests/pretty.sh","watch":"rescript build -w"},"keywords":["ReScript"],"author":{},"license":"MIT","devDependencies":{"@dusty-phillips/rescript-zora":"^3.0.0","fake-indexeddb":"^3.1.3","onchange":"^7.1.0","pta":"^1.0.0","rescript":"^9.1.4","tap-diff2":"^0.2.3","zora":"^5.0.0"},"dependencies":{"@ryyppy/rescript-promise":"^2.1.0","dexie":"^3.2.0-rc.2"},"description":"Note: These bindings are still very early. No npm package is available and there are no docs.","licenseText":"The MIT License (MIT)\nCopyright © 2021 Dusty Phillips\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@dusty-phillips/rescript-dexie@0.1.1","dist":{"shasum":"d63c78b024a03b960bd801d5c8e5da652c13515e","integrity":"sha512-hclMv74obGlj3ueqt0apOd2X9OQMPj1qyOMPgDrxUNV2abtyCvvcgjIlxyJ/xUiPXGf2wwlpmhtrEVhdLBxXSA==","tarball":"https://registry.npmjs.org/@dusty-phillips/rescript-dexie/-/rescript-dexie-0.1.1.tgz","fileCount":144,"unpackedSize":5803225,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtMkPTaeRdldgvvdTm4ahom7jaTkWiqm6gvKHsF5K0cAIhAPuMKONuDW69mHvvqTu7cyvwr0+qEwxkhIeoDbliz2EF"}]},"_npmUser":{"name":"dusty-phillips","email":"dusty@phillips.codes"},"directories":{},"maintainers":[{"name":"dusty-phillips","email":"dusty@phillips.codes"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rescript-dexie_0.1.1_1634075481166_0.653485891134397"},"_hasShrinkwrap":false},"0.2.0":{"name":"@dusty-phillips/rescript-dexie","version":"0.2.0","scripts":{"build":"rescript build","clean":"rescript clean","format":"rescript format","test":"tests/pretty.sh","test:watch":"onchange --initial '{tests,src}/*.mjs' -- tests/pretty.sh","watch":"rescript build -w"},"keywords":["ReScript"],"author":{},"license":"MIT","devDependencies":{"@dusty-phillips/rescript-zora":"^3.0.0","fake-indexeddb":"^3.1.3","onchange":"^7.1.0","pta":"^1.0.0","rescript":"^9.1.4","tap-diff2":"^0.2.3","zora":"^5.0.0"},"dependencies":{"@ryyppy/rescript-promise":"^2.1.0","dexie":"^3.2.0-rc.2"},"description":"Note: These bindings are still very early. No npm package is available and there are no docs.","licenseText":"The MIT License (MIT)\nCopyright © 2021 Dusty Phillips\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@dusty-phillips/rescript-dexie@0.2.0","dist":{"shasum":"dd155c3ae9f26c03ee2baf2280162016983cff3b","integrity":"sha512-5fbfaLY4olYJIuNj9Y14EQuDpEtnAJFM1I2z93pay2r70ZijEQL7U40IuZ63rf/s7bRaypdxTK3u5zK2jifi0w==","tarball":"https://registry.npmjs.org/@dusty-phillips/rescript-dexie/-/rescript-dexie-0.2.0.tgz","fileCount":170,"unpackedSize":6233423,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGv1WUVoxc7u6innTrtbwbyebBL7l+4z7cNKfFDH4DklAiEAn6tyamaxkd/ffu4m9GlgDA0Aiw2UwPQIjlbM9iAFWLM="}]},"_npmUser":{"name":"dusty-phillips","email":"dusty@phillips.codes"},"directories":{},"maintainers":[{"name":"dusty-phillips","email":"dusty@phillips.codes"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rescript-dexie_0.2.0_1634130005300_0.7574959113096262"},"_hasShrinkwrap":false},"0.3.0":{"name":"@dusty-phillips/rescript-dexie","version":"0.3.0","scripts":{"build":"rescript build","build:deps":"rescript build -with-deps","build:watch":"rescript build -w","clean":"rescript clean","format":"rescript format","test":"tests/pretty.sh","test:watch":"onchange --initial '{tests,src}/*.mjs' -- tests/pretty.sh"},"keywords":["ReScript"],"author":{},"license":"MIT","devDependencies":{"@dusty-phillips/rescript-zora":"^3.0.0","fake-indexeddb":"^3.1.3","onchange":"^7.1.0","pta":"^1.0.0","rescript":"^9.1.4","tap-diff2":"^0.2.3","zora":"^5.0.0"},"dependencies":{"@ryyppy/rescript-promise":"^2.1.0","dexie":"^3.2.0-rc.2"},"optionalDependencies":{"dexie-react-hooks":"^1.0.7"},"description":"Note: These bindings are still very early. No npm package is available and there are no docs.","licenseText":"The MIT License (MIT)\nCopyright © 2021 Dusty Phillips\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@dusty-phillips/rescript-dexie@0.3.0","dist":{"shasum":"ba84b9ab5fe3426c10f9040f3ea6b5849f09627a","integrity":"sha512-9JAGZMDhl/ZMQkM/Dok1vplBwzRpfg5bNQuZcDYD44Wp3KNX62GhMRK9svfmuDqgIvN/nyfpR4Dv2410SOMf/A==","tarball":"https://registry.npmjs.org/@dusty-phillips/rescript-dexie/-/rescript-dexie-0.3.0.tgz","fileCount":167,"unpackedSize":6274882,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH1P6h7LqIdOFmW4naoY1w1KW36UhYxaTleArzg9gO9SAiEA4+7u18hWzFJHnp0zVGuaE/Y1wOqMnxRhnEw95WkPP/M="}]},"_npmUser":{"name":"dusty-phillips","email":"dusty@phillips.codes"},"directories":{},"maintainers":[{"name":"dusty-phillips","email":"dusty@phillips.codes"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rescript-dexie_0.3.0_1634138502627_0.43399234837503897"},"_hasShrinkwrap":false},"0.3.1":{"name":"@dusty-phillips/rescript-dexie","version":"0.3.1","scripts":{"build":"rescript build","build:deps":"rescript build -with-deps","build:watch":"rescript build -w","clean":"rescript clean","format":"rescript format","test":"tests/pretty.sh","test:watch":"onchange --initial '{tests,src}/*.mjs' -- tests/pretty.sh"},"keywords":["ReScript"],"author":{},"license":"MIT","devDependencies":{"@dusty-phillips/rescript-zora":"^3.0.0","fake-indexeddb":"^3.1.3","onchange":"^7.1.0","pta":"^1.0.0","rescript":"^9.1.4","tap-diff2":"^0.2.3","zora":"^5.0.0"},"dependencies":{"@ryyppy/rescript-promise":"^2.1.0","dexie":"^3.2.0-rc.2"},"optionalDependencies":{"dexie-react-hooks":"^1.0.7"},"description":"Rescript bindings to the easy-to-use [Dexie](https://dexie.org) wrapper of IndexedDB.","licenseText":"The MIT License (MIT)\nCopyright © 2021 Dusty Phillips\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@dusty-phillips/rescript-dexie@0.3.1","dist":{"shasum":"e3792200349221e5005bc2fcde8b2438fda2f9e7","integrity":"sha512-DGFHYN2u3Kr3jmdgtwQY+guw5BeQtkHcbYGefb4qiVbJ49LOJei5UTbHoYRcfluVwuVTzj6BxMjPBemNhXwmoA==","tarball":"https://registry.npmjs.org/@dusty-phillips/rescript-dexie/-/rescript-dexie-0.3.1.tgz","fileCount":145,"unpackedSize":5986074,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHPLWelw5O2aP+sxwJ5ca4Kt3kz4mxr+CbJG6gtEqxMjAiApBybXYAT1Pd5VKFQpah5CZhUJEa9cOz9qkTl0VwKmoQ=="}]},"_npmUser":{"name":"dusty-phillips","email":"dusty@phillips.codes"},"directories":{},"maintainers":[{"name":"dusty-phillips","email":"dusty@phillips.codes"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rescript-dexie_0.3.1_1634141705484_0.3158114283636386"},"_hasShrinkwrap":false},"0.3.2":{"name":"@dusty-phillips/rescript-dexie","version":"0.3.2","scripts":{"build":"rescript build","build:deps":"rescript build -with-deps","build:watch":"rescript build -w","clean":"rescript clean","format":"rescript format","test":"tests/pretty.sh","test:watch":"onchange --initial '{tests,src}/*.mjs' -- tests/pretty.sh"},"keywords":["ReScript"],"author":{},"license":"MIT","devDependencies":{"@dusty-phillips/rescript-zora":"^3.0.0","fake-indexeddb":"^3.1.3","onchange":"^7.1.0","pta":"^1.0.0","rescript":"^9.1.4","tap-diff2":"^0.2.3","zora":"^5.0.0"},"dependencies":{"@ryyppy/rescript-promise":"^2.1.0","dexie":"^3.2.0-rc.2"},"optionalDependencies":{"dexie-react-hooks":"^1.0.7"},"description":"Rescript bindings to the easy-to-use [Dexie](https://dexie.org) wrapper of IndexedDB.","licenseText":"The MIT License (MIT)\nCopyright © 2021 Dusty Phillips\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@dusty-phillips/rescript-dexie@0.3.2","dist":{"shasum":"cef9684dacc0d9cb0abb97e492ffb95c2f9f15bc","integrity":"sha512-eHXW7jvxJjgPjFnv6iR+9Ce5BQQJAPGja66CxHw/70b59DiLhkpU5JzgBP87/h/+7vpL2GVg1t8gZoFZI1w/gQ==","tarball":"https://registry.npmjs.org/@dusty-phillips/rescript-dexie/-/rescript-dexie-0.3.2.tgz","fileCount":144,"unpackedSize":5986282,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAljQsSQS7KrhMuPSSWl/3GRWhMPB1XbzfVAcn791EkRAiEA6sWFrZCRhzrPVS5+/Y5v2RcLaBPXmkfo0sdDgrSCX2U="}]},"_npmUser":{"name":"dusty-phillips","email":"dusty@phillips.codes"},"directories":{},"maintainers":[{"name":"dusty-phillips","email":"dusty@phillips.codes"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rescript-dexie_0.3.2_1636646283900_0.4190088245259209"},"_hasShrinkwrap":false},"0.3.3":{"name":"@dusty-phillips/rescript-dexie","version":"0.3.3","scripts":{"build":"rescript build","build:deps":"rescript build -with-deps","build:watch":"rescript build -w","clean":"rescript clean","format":"rescript format","test":"tests/pretty.sh","test:watch":"onchange --initial '{tests,src}/*.mjs' -- tests/pretty.sh"},"keywords":["ReScript"],"author":{},"license":"MIT","devDependencies":{"@dusty-phillips/rescript-zora":"^3.0.0","fake-indexeddb":"^3.1.3","onchange":"^7.1.0","pta":"^1.0.0","rescript":"^9.1.4","tap-diff2":"^0.2.3","zora":"^5.0.0"},"dependencies":{"@ryyppy/rescript-promise":"^2.1.0","dexie":"^3.2.0-rc.2"},"optionalDependencies":{"dexie-react-hooks":"^1.0.7"},"description":"Rescript bindings to the easy-to-use [Dexie](https://dexie.org) wrapper of IndexedDB.","licenseText":"The MIT License (MIT)\nCopyright © 2021 Dusty Phillips\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@dusty-phillips/rescript-dexie@0.3.3","dist":{"shasum":"79b65a2362d7d235fdc05b1b58c6dbd74a9e80b2","integrity":"sha512-17tb4SpJm21e93KfiISbs6hGc7GbKPrwuCip+B+NWy6yFOQkjHesIgGwNq1YDBj5sIbKHdU0EAKLeLxT5H4B9Q==","tarball":"https://registry.npmjs.org/@dusty-phillips/rescript-dexie/-/rescript-dexie-0.3.3.tgz","fileCount":144,"unpackedSize":5988351,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhm72RCRA9TVsSAnZWagAA8/kP/1nSXg4MBMawvfdbjw1U\nnZJf+y1xwbw0tKkVPdTJ1ipYOquSzinwbpR+kHp+YArWZrKZ8ejvK9mB+cZq\njweEYtjiToAvE/0y9XfdnJbjM8PBXlToiHIgFaTACCdf0UZlojkAif4TlFIn\n8pvgzLn6udmgp7ZUBiT5B4LotmQ4WqziUX8xoMJtYQKElEDCG1EpcnFT4JX3\n9uPIcWchQjl4cfYfW7K2gP8nbVxzjU7YwhbUSJJ4Uw2OpRV07n6Uxhbu+28Q\ngFKUB4lwZA4uNrw0hCnJdSMRVK6PcuIFwrC4rSgYB4YJF/8ndFEbgKKM6CDw\nKwv94qvC0x6D0guGnXrR47E4XqA973qvApxcifqCqKQOwPYhHdgvOORIbzYC\nTTeYU35rmLMzgp2dW17VRMFAAGn7DucVfdkziM0uX5llH0wZlZBpQkUymA0s\n7plUtwYQ9CSptE+z6UpRSmyf6D/XrkGK2874OVw6CtC97Z2/cZRZbcSmvONE\nezwB4ZmQKmF1eKBngsw/iKtHVZZANo/UkHDFJUHauGkTbv4F5ZcqifsrFnZy\nQdWgEIUV0BECd9JhBEGH5q8dghkSyBP989iuS8Msawl5JS6hMJdWd2qEtMxu\nGQgBbnuLzsxPkj/Gs/FQY9f4snJVM7iON5aFPVu6CDqvB5AamgGwdIYvg8WW\nGFQP\r\n=BNUp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFDJ4Aw9xgT6Gy7dm8JlJmFDUt7qx+Umg6SAkybz9NNUAiEAseJ3XqpW4jTptcS46rH9hpyh0xMiuqP/NqDWJgra3nI="}]},"_npmUser":{"name":"dusty-phillips","email":"dusty@phillips.codes"},"directories":{},"maintainers":[{"name":"dusty-phillips","email":"dusty@phillips.codes"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rescript-dexie_0.3.3_1637596561323_0.3034247363961753"},"_hasShrinkwrap":false},"0.4.0":{"name":"@dusty-phillips/rescript-dexie","version":"0.4.0","scripts":{"build":"rescript build","build:deps":"rescript build -with-deps","build:watch":"rescript build -w","clean":"rescript clean","format":"rescript format","test":"tests/pretty.sh","test:watch":"onchange --initial '{tests,src}/*.mjs' -- tests/pretty.sh"},"keywords":["ReScript"],"author":{},"license":"MIT","devDependencies":{"@dusty-phillips/rescript-zora":"^4.0.0","fake-indexeddb":"^3.1.3","onchange":"^7.1.0","pta":"^1.0.0","rescript":"^10.1.2","tap-diff2":"^0.2.3","zora":"^5.0.0"},"dependencies":{"dexie":"^3.2.0"},"optionalDependencies":{"dexie-react-hooks":"^1.0.7"},"description":"Rescript bindings to the easy-to-use [Dexie](https://dexie.org) wrapper of IndexedDB.","licenseText":"The MIT License (MIT)\nCopyright © 2021 Dusty Phillips\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@dusty-phillips/rescript-dexie@0.4.0","dist":{"shasum":"d810c9005ea9e1451699f07ef74017594fcdbb99","integrity":"sha512-+aLCsaZSTEVjkxzoZUd3jUENreYXLgh2TR7RZQLvv7rNjshHWHXfx6VAeaJf6oj/4TgW+HPVxSghcl8h0VaPOg==","tarball":"https://registry.npmjs.org/@dusty-phillips/rescript-dexie/-/rescript-dexie-0.4.0.tgz","fileCount":144,"unpackedSize":5965516,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdrDexlel/Sq4gInQLN/0c/10gAngQpn39TBwT5Je7qwIhAN0dv+PzWxYyS2AfpK8Rdiaew5fPOIX8p3YN3BxtiT6S"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBRn0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr4zg/+KgRtr69FlWVRzUjcYDXWASXhjbz8oxyPKdommUbyqUE6oDnn\r\nF/VoNgNn2jZ78h8O+Q6NmcKmV/b/PLmiVVtq/gpxbDedHmVyKcyW3IOOzpJt\r\ntfW0G677FgyoM3QpQdHkV0YNP6FFnjIHMsYVRut2WITguyziW7h8tCY31+lS\r\nh0DrfCHPEbvYoN1PR1nFpHr4ZzF9QgAlrLb308b+0oTcVgRoEFpBvEzxPEaM\r\n/9WSyfaN8i4q0+py5wymiY6z0+7QkL9eOzOrgnAZAKIXX5aVRU1CotZi43ce\r\nGVqLzPphwmXsKv5wl6MG3+UiyQrJ5Lj08LbPtpEG1apIOrGETaqk6HPOkS5R\r\nWKiPM5sbxxFMsimQzASh2y4A1h/EoShxplMESchlWUMI/kmMi9PzCM+b7v7t\r\nf76jkc9Dw+cYzCWM9s0SGHGQwgQMocSqbxilEOAUbMyTjlIfnuBVe4Uf8cIU\r\n27NZcrGljv0m/YwQXInWpHF/RGAkRfAutaKFwjigdUlT11HHdCSNTxuvLs76\r\nHziIOMaA1fx2TvXYzDUsO+I7tDDfG1wmjNi9sikKPk5Ej9IuDwR2lQbaGhFm\r\ni6cqelLzZ94HEdeO+HWIl/47+M12cDM+5LTuT1IpIsKmOBPpVnzkeMkMwgIG\r\nn7NQLlGN4reVrZzvFBzbW1qVWAX7i/fwAnE=\r\n=0RYX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dusty-phillips","email":"dusty@phillips.codes"},"directories":{},"maintainers":[{"name":"dusty-phillips","email":"dusty@phillips.codes"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rescript-dexie_0.4.0_1678055924642_0.717386362515797"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-12T13:56:08.004Z","0.1.0":"2021-10-12T13:56:08.273Z","modified":"2023-03-05T22:38:45.017Z","0.1.1":"2021-10-12T21:51:21.508Z","0.2.0":"2021-10-13T13:00:05.596Z","0.3.0":"2021-10-13T15:21:42.878Z","0.3.1":"2021-10-13T16:15:05.782Z","0.3.2":"2021-11-11T15:58:04.113Z","0.3.3":"2021-11-22T15:56:01.559Z","0.4.0":"2023-03-05T22:38:44.876Z"},"maintainers":[{"name":"dusty-phillips","email":"dusty@phillips.codes"}],"description":"Rescript bindings to the easy-to-use [Dexie](https://dexie.org) wrapper of IndexedDB.","keywords":["ReScript"],"author":{},"license":"MIT","readme":"# Rescript-Dexie\n\nRescript bindings to the easy-to-use [Dexie](https://dexie.org) wrapper of IndexedDB.\n\nThese bindings are not complete, but everything required for basic IndexedDB\naccess should be working, including:\n\n- Define fully typed table schemas\n- Version and upgrade schemas\n- Create, update, delete records (including bulk operations)\n- Query by index\n- Query using criteria\n- Query using where clauses\n- Perform operations on the resulting Collections\n- Execute inside Transactions\n- React live queries (optional, with `dexie-react-hooks` installed)\n\nSome of the more complex pieces of Dexie are missing from these bindings:\n\n- Translation of Dexie's JS error types into a Rescript-friendly paradigm\n- Dexie Hooks API or DBCore Middleware\n- Syncables\n- Addons, including Dexie Cloud\n\nA couple things I haven't tested yet:\n\n- Not sure if things like compound primary keys are working\n- Probably schema upgrades will get confused when dealing with 'before' and 'after' types\n\n## Quick Start\n\nStart by defining a small module for each table in your database, that\ndescribes the type of the `id` field, the structure of each record, and\nthe name of the table:\n\n```rescript\nmodule FriendSchema = {\n  type id = int\n  type t = {\n    id: option<int>,\n    name: string,\n    color: [#Blue | #Red | #Purple],\n  }\n  let tableName = \"friends\"\n}\n```\n\nUse the `MakeTable` functor to create a table for each schema:\n\n```rescript\nmodule Friend = Dexie.Table.MakeTable(FriendSchema)\n```\n\nConstruct a Dexie instance with the IndexedDB name:\n\n```rescript\nlet dexie = Dexie.Database.make(`hello dexie ${someNumber}`)\n```\n\nDescribe the [Dexie schema](https://dexie.org/docs/Version/Version.stores) for\neach of your tables using an array of `(name, schema)` tuples:\n\n```rescript\nlet schema = [(\"friends\", \"++id,name,birthdate,color\"), ...]\n```\n\nCreate your initial version of the database and open it:\n\n```rescript\ndexie\n->Dexie.Database.version(1)\n->Dexie.Version.stores(schema)\n->ignore\n\ndexie->Dexie.Database.opendb->ignore\n```\n\nAdd and query your tables using the module you created with the\n`MakeTable` functor. Note that most functions return promises so you'll\nwant to use async and await syntax.\n\nSome things you can do:\n\n```rescript\ndexie->Friend.bulkPut([\n  {id: Some(1), name: \"Chris\", color: #Red},\n  {id: Some(2), name: \"Leroy\", color: #Blue},\n  {id: Some(3), name: \"Jerome\", color: #Purple},\n  {id: Some(4), name: \"Betty\", color: #Purple},\n])\n\ndexie->Friend.add(None, name: \"Xiao\", color: #Blue)\n\ndexie->Friend.getById(3)->Promise.then(friendOption => ...)\n\ndexie\n->Friend.where(\"name\")\n->Dexie.Where.anyOfIgnoreCase([\"Leroy\", \"Xiao\"])\n->Dexie.Collection.first\n->Promise.then(friend=> ...)\n```\n\nReact [live query](<https://dexie.org/docs/dexie-react-hooks/useLiveQuery()>)\nhooks are also supported if you `yarn add dexie-react-hooks`:\n\n```rescript\nlet teamBlue = Dexie.LiveQuery.use0(() => {\n  dexie->Friend.findByCriteria({color: #Blue})\n})\n```\n\nThere are hooks `use0` through `use7` that behave similarly to rescript-react's\n[useEffect](https://rescript-lang.org/docs/react/latest/hooks-effect)\nmodelling.\n\n## Next Steps\n\nI haven't documented this as thoroughly as I normally do in my projects. For\nthe most part, follow [Dexie's excellent\ndocumentation](https://dexie.org/docs/) and assume the Rescript bindings are\nsane (or completely unavailable).\n\nYou can also refer to the [unit\ntests](https://github.com/dusty-phillips/rescript-dexie/tree/main/tests) to get\na better idea of the things you can do with the bindings.\n\nAnd there is a tiny React app in the [examples/react](examples/react) folder.\n\n## Contributing\n\nPRs and issues are welcome!\n\n### Testing\n\nI use my [rescript-zora](https://github.com/dusty-phillips/rescript-zora)\nlibrary for testing. `yarn test:watch` should be all you need.\n\n### Releasing\n\nThis is for my reference:\n\n- update the version in `bsconfig.json`\n- bump the version in `example/react`\n- `np`\n","readmeFilename":"README.md"}