{"_id":"@burnsred/entity-duck","_rev":"10-58d5b227a24efc34d17d6ac17c04cec1","name":"@burnsred/entity-duck","dist-tags":{"latest":"2.0.0-rc.2"},"versions":{"0.6.1":{"name":"@burnsred/entity-duck","version":"0.6.1","author":{"name":"Thierry Wong and Burnsred"},"license":"MIT","_id":"@burnsred/entity-duck@0.6.1","maintainers":[{"name":"burnsred","email":"accounts@burnsred.com.au"}],"homepage":"https://github.com/burnsred/burnsred-entity-library#readme","bugs":{"url":"https://github.com/burnsred/burnsred-entity-library/issues"},"dist":{"shasum":"5a1f3632bea29a9802cc847397c70bcdf06c07f5","tarball":"https://registry.npmjs.org/@burnsred/entity-duck/-/entity-duck-0.6.1.tgz","fileCount":8,"integrity":"sha512-4Tk67Ms0KArkEAuHzoJy+qBYAkJU8rIPt92HqIpqXkGGua8P6lnDQyZJPgFa6X05tWAf17MHTEVe4M8A/+dZlw==","signatures":[{"sig":"MEUCIQCCBlvhlrhJSgbv8tMM7yA8TgoLyUaU3SQIBJmrKRW1jwIga6AcuEquzBF73VjlxmB5P6dtZp1EfTDOrdX3VcTVu2c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40134,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc26umCRA9TVsSAnZWagAAoykP/3Cvz4izj/J/8OBPG8Dy\ndz41HbOLIgaEdem8wMNao7nBDlGlLp8lQlexSJZXEDREVIHkNLVsniUogAzM\nVlyzyv6/a4SkAjd4YEKI/NebDiaW1cv2fvgDMYoZIluTyLFO6e2z3uDrsCD7\nKqhRTnBqxynaldgN01zzkR192PC1ovF767wE+lkvzLlmaaCt80iwgYg3IyHV\npahHG2G8japHfzvaoFDJW8AylgxmoM16AGWtOm+3FTaGdJ/4kyMMLBiKYQHg\nBJ8nxCxGqkAvChMwCmkvncpxv2IoV6t+Kydg/Arb7DV6pMRjVSdd084/dwXn\nOx5mwSYWa4JsVTyxtTQ03ddmmYbz2uZZfTJyzrfba8WPce2kKg7rmPAZ6Onq\nYPCSQhWS63OdwPfYjAA6XCRIQmV52pFE7xZ6u+yYBjGUj32Ydv7ChxoVl79Q\nqOuVbZpsqNr2UfmvAvr6P4CmOWu2jcgsWMMMn482Vqm/WV5IqAmeHVmVnFiX\ntc1h0BCFtZEKxXH8MJHtIlLAZIWs0x2ub8T0ZPf6+Qe12xFnaIVKK4NsIL8Y\nEzpjlvUtu2yjQCj2JiKRMMmLnNuFSuQGDfumbYR3xoDZFJm+CoTZoCbz6wZL\nRqW2KHLYUpaX9ot06tT4QL0fMW9pM2tUBWGltJONeH0vOvzTtC0B8nj4ducl\n4eql\r\n=WKmR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"dist/index.js","gitHead":"e04cd707edcdcc5c73e355bf8eca56180185eb59","private":false,"scripts":{"build":"rollup -c=../../configs/rollup.config.js","destroy":"rimraf dist","prebuild":"npm run destroy","postbuild":"npm run link-main:dist && npm run link-module:dist","postdestroy":"npm run link-main:src && npm run link-module:src","link-main:src":"json -I -f package.json -e 'this.main=\"src/index.js\"'","link-main:dist":"json -I -f package.json -e 'this.main=\"dist/index.js\"'","link-module:src":"json -I -f package.json -e 'this.module=\"src/index.js\"'","link-module:dist":"json -I -f package.json -e 'this.module=\"dist/index.js\"'"},"_npmUser":{"name":"burnsred","email":"accounts@burnsred.com.au"},"repository":{"url":"git+https://github.com/burnsred/burnsred-entity-library.git","type":"git"},"_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","description":"entity-duck","directories":{},"sideEffects":false,"_nodeVersion":"10.15.3","dependencies":{"idx":"2.5.5","immutable":"4.0.0-rc.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"lodash":"4.17.11"},"peerDependencies":{"lodash":">=4.12.0"},"_npmOperationalInternal":{"tmp":"tmp/entity-duck_0.6.1_1557900197535_0.5410277674512716","host":"s3://npm-registry-packages"}},"0.6.2":{"name":"@burnsred/entity-duck","version":"0.6.2","author":{"name":"Thierry Wong and Burnsred"},"license":"MIT","_id":"@burnsred/entity-duck@0.6.2","maintainers":[{"name":"burnsred","email":"accounts@burnsred.com.au"}],"homepage":"https://github.com/burnsred/burnsred-entity-library#readme","bugs":{"url":"https://github.com/burnsred/burnsred-entity-library/issues"},"dist":{"shasum":"90f9a147488136eb4b0b8abfbea8c9b51c1a44d2","tarball":"https://registry.npmjs.org/@burnsred/entity-duck/-/entity-duck-0.6.2.tgz","fileCount":8,"integrity":"sha512-9dmCK61x7WB5TW3vAX5U8L3vS+/agpk9elGgR3ibt6BAOncdrik84cn7+6L42LeouyYwoOukbp37J33qRap8+A==","signatures":[{"sig":"MEUCICyMNsfTWKQ7CEIO/Bhm4ALgfdSlHemer7sEL9uP4XJ5AiEAvT8+U9xnA7EOW4OzeuH5P44F4RxSQvuvlTTdq7TjBGU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40177,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc27DGCRA9TVsSAnZWagAAVGMP/iWSYRFBc58grY4SBjqZ\nnQ6BEHXu+RYpVny7Fn2ojmJb00J29WPXquByaBEEJ0Y/7/ozD313tt34Lk+6\nEHwg1i/ZG33ljhRSo56LMUTuM3YIPQZW0UmEc52RX/7b+yeEQy3Grw/EEOy7\naKJnKJoAt1MOadZAsmmXl6UHMVqH7yNklFsHct/0L9GOq7iryuv9FxW4c3aT\n2JA1ACdNPdS6MmpjYlQokPeIcwoVLnJcW2Dhx9LDAYzOwVdvQBA8N4dCvcDh\naehjyWc1atQHsJA9ghD2PZx0MYsr73uS8WBIwlbFThSl15WkM+vQVsLCQ3QP\nj5SoqrMOjqQRoRp6nsM5u1hkPBU1VgnQGRuuTs6PUqG8iY16qJzaxDzz+Xxa\njr7lilqj0zrCGm8gtpw3IwNRffL74LPB07WU9aqJn/LKTvW3HfdBuqpxRDKf\nPp4hlwmHrIo9NiYsCIxiSZ75R0Pr1CwSv267Ds0NUY6Nf9ogy6+4khG4aJLJ\nq5W2lBa/SkdxF5lbLNCh5Y80SGWQTOK8n7tEO2ETGXEIhosoao2ysfZMMjTj\nPb4NpMlL4RggwvreTHh6CcNPzPk/K1gJ4aNgRN03tCcZ/jYN/Fh074/Hv2ke\nhU2BzBkjgQfGBkqhNBTBOwzezSwfj6ZNovtr+DVhLqnRZEowsBoi/V9r7+K3\niyDu\r\n=QaFK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","module":"dist/index.js","gitHead":"b5eddced9b62ae74a4de6c2be7c9206b11ce1c05","private":false,"scripts":{"build":"rollup -c=../../configs/rollup.config.js","destroy":"rimraf dist","prebuild":"npm run destroy","postbuild":"npm run link-main:dist && npm run link-module:dist","postdestroy":"npm run link-main:src && npm run link-module:src","link-main:src":"json -I -f package.json -e 'this.main=\"src/index.js\"'","link-main:dist":"json -I -f package.json -e 'this.main=\"dist/index.js\"'","link-module:src":"json -I -f package.json -e 'this.module=\"src/index.js\"'","link-module:dist":"json -I -f package.json -e 'this.module=\"dist/index.js\"'"},"_npmUser":{"name":"burnsred","email":"accounts@burnsred.com.au"},"repository":{"url":"git+https://github.com/burnsred/burnsred-entity-library.git","type":"git"},"_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","description":"entity-duck","directories":{},"sideEffects":false,"_nodeVersion":"10.15.3","dependencies":{"idx":"2.5.5","immutable":"4.0.0-rc.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"lodash":"4.17.11"},"peerDependencies":{"lodash":">=4.12.0"},"_npmOperationalInternal":{"tmp":"tmp/entity-duck_0.6.2_1557901509300_0.36855404915202605","host":"s3://npm-registry-packages"}},"0.6.3":{"name":"@burnsred/entity-duck","version":"0.6.3","author":{"name":"Thierry Wong and Burnsred"},"license":"MIT","_id":"@burnsred/entity-duck@0.6.3","maintainers":[{"name":"burnsred","email":"accounts@burnsred.com.au"}],"homepage":"https://github.com/burnsred/burnsred-entity-library#readme","bugs":{"url":"https://github.com/burnsred/burnsred-entity-library/issues"},"dist":{"shasum":"e09489dc8b6d384de359f18f8dee6bf5f4604d71","tarball":"https://registry.npmjs.org/@burnsred/entity-duck/-/entity-duck-0.6.3.tgz","fileCount":8,"integrity":"sha512-4C17Q+yL1EhcqCB0BxDr6xym98qSS7C7cdQhzixLXKlaoOAV6ptwnKwEz0nPgRjoZMVAZsW6tDrn9ZHzxrFhuQ==","signatures":[{"sig":"MEYCIQC1EpkwZJ0j22ohkN2QpjvqewR6VTxI047nriDQuVWUtwIhAK2CCPyDOP9/tXGfd5I8kg6WbmGhTqVJFJ61AnUifE2G","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41337},"main":"dist/legacy.js","type":"module","exports":{"default":"./dist/production.min.js","production":"./dist/production.min.js","development":"./dist/development.js"},"gitHead":"a6ac991b7caa6ff63725e7633464a6028a6e5c68","private":false,"scripts":{"build":"rollup -c=../../configs/rollup.config.js","destroy":"rimraf dist"},"_npmUser":{"name":"burnsred","email":"accounts@burnsred.com.au"},"repository":{"url":"git+https://github.com/burnsred/burnsred-entity-library.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v16.20.2+arm64 (darwin)","description":"entity-duck","directories":{},"sideEffects":false,"_nodeVersion":"16.20.2","dependencies":{"idx":"2.5.5","immutable":"4.0.0-rc.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"lodash":"4.17.11"},"peerDependencies":{"lodash":">=4.12.0"},"_npmOperationalInternal":{"tmp":"tmp/entity-duck_0.6.3_1713830711647_0.0822420503438428","host":"s3://npm-registry-packages"}},"0.6.4-dev.0":{"name":"@burnsred/entity-duck","version":"0.6.4-dev.0","author":{"name":"Thierry Wong and Burnsred"},"license":"MIT","_id":"@burnsred/entity-duck@0.6.4-dev.0","maintainers":[{"name":"burnsred","email":"accounts@burnsred.com.au"}],"homepage":"https://github.com/burnsred/burnsred-entity-library#readme","bugs":{"url":"https://github.com/burnsred/burnsred-entity-library/issues"},"dist":{"shasum":"67e97c39d16a7537c58853b563383f5dcc18700a","tarball":"https://registry.npmjs.org/@burnsred/entity-duck/-/entity-duck-0.6.4-dev.0.tgz","fileCount":4,"integrity":"sha512-ZHdc64xBC9U4AFq2ylFVmez7LVUV9fmTcZvRwD0qQZ4Z1NFupmfdQLZp+Sz5sYc5St73LBObscemiNrgsEjDBw==","signatures":[{"sig":"MEUCIBwhD03PKVv5SbjMAIybNduCRr5DV0yY9f/SLisgPrSDAiEA4/jgTg8pKr8iUY7ITxV+e7RcCgPn92UdNGHaOGu0vyI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5173},"main":"dist/legacy.js","type":"module","exports":{"default":"./dist/production.min.js","production":"./dist/production.min.js","development":"./dist/development.js"},"gitHead":"524eeafd4cff023116bd15247e52249dfa92ca18","private":false,"scripts":{"build":"rollup -c=../../configs/rollup.config.js","destroy":"rimraf dist"},"_npmUser":{"name":"burnsred","email":"accounts@burnsred.com.au"},"repository":{"url":"git+https://github.com/burnsred/burnsred-entity-library.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v16.20.2+arm64 (darwin)","description":"entity-duck","directories":{},"sideEffects":false,"_nodeVersion":"16.20.2","dependencies":{"idx":"2.5.5","immutable":"4.0.0-rc.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"lodash":"4.17.11"},"peerDependencies":{"lodash":">=4.12.0"},"_npmOperationalInternal":{"tmp":"tmp/entity-duck_0.6.4-dev.0_1717033749193_0.552802076084266","host":"s3://npm-registry-packages"}},"0.6.4":{"name":"@burnsred/entity-duck","version":"0.6.4","author":{"name":"Thierry Wong and Burnsred"},"license":"MIT","_id":"@burnsred/entity-duck@0.6.4","maintainers":[{"name":"burnsred","email":"accounts@burnsred.com.au"}],"homepage":"https://github.com/burnsred/burnsred-entity-library#readme","bugs":{"url":"https://github.com/burnsred/burnsred-entity-library/issues"},"dist":{"shasum":"6b9f1c801ede43083ff54c5c05158f7815026829","tarball":"https://registry.npmjs.org/@burnsred/entity-duck/-/entity-duck-0.6.4.tgz","fileCount":8,"integrity":"sha512-R8GXa3DYMWUAU4WiJX8Tbi/S4nxyK5Dm4W27pq8xsCz45ZWhKYnu/+56Ie2tnm45KawJA7pMQUyiX0hFo/D+OA==","signatures":[{"sig":"MEQCIFzNkOU3GjybEEsQygg4knySGp5J/5qewuJZTKUGZokGAiA6klBnawil9DH6BhBD3GSkY3PPEgjC04+A4P1aAGuHrw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41880},"main":"dist/legacy.js","type":"module","exports":{"default":"./dist/production.min.js","production":"./dist/production.min.js","development":"./dist/development.js"},"gitHead":"42617defeff021e7d3dc2258a7dc705a1dd95583","private":false,"scripts":{"build":"rollup -c=../../configs/rollup.config.js","destroy":"rimraf dist"},"_npmUser":{"name":"burnsred","email":"accounts@burnsred.com.au"},"repository":{"url":"git+https://github.com/burnsred/burnsred-entity-library.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v16.20.2+arm64 (darwin)","description":"entity-duck","directories":{},"sideEffects":false,"_nodeVersion":"16.20.2","dependencies":{"idx":"2.5.5","immutable":"4.0.0-rc.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"lodash":"4.17.11"},"peerDependencies":{"lodash":">=4.12.0"},"_npmOperationalInternal":{"tmp":"tmp/entity-duck_0.6.4_1717038339866_0.3704275535437571","host":"s3://npm-registry-packages"}},"0.6.5":{"name":"@burnsred/entity-duck","version":"0.6.5","author":{"name":"Thierry Wong and Burnsred"},"license":"MIT","_id":"@burnsred/entity-duck@0.6.5","maintainers":[{"name":"burnsred","email":"accounts@burnsred.com.au"}],"homepage":"https://github.com/burnsred/burnsred-entity-library#readme","bugs":{"url":"https://github.com/burnsred/burnsred-entity-library/issues"},"dist":{"shasum":"8e0db557c3d88039ab54bc6eb48b55bcb389ab68","tarball":"https://registry.npmjs.org/@burnsred/entity-duck/-/entity-duck-0.6.5.tgz","fileCount":8,"integrity":"sha512-8fDBgQIiS3N7LSjhVOk2CrCQ0Sjz4GdcNSn1ZAqmLnD173h9eDQhSv1us+Crk8mdn8+1XOmbovf/m8BDN4uk7Q==","signatures":[{"sig":"MEYCIQCuyiOuZXgqV/72V610WDkpaOjhN3YqnfXknImmWXVXUQIhALw0O8s6GHpxm5kDYGgxXN4n3qUeARGOZPA7OkB8HOts","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42429},"main":"dist/legacy.js","type":"module","exports":{"default":"./dist/production.min.js","production":"./dist/production.min.js","development":"./dist/development.js"},"gitHead":"85d20112d7be32a68fc51b90f2c142f79a8e6556","private":false,"scripts":{"build":"rollup -c=../../configs/rollup.config.js","destroy":"rimraf dist"},"_npmUser":{"name":"burnsred","email":"accounts@burnsred.com.au"},"repository":{"url":"git+https://github.com/burnsred/burnsred-entity-library.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v16.20.2+arm64 (darwin)","description":"entity-duck","directories":{},"sideEffects":false,"_nodeVersion":"16.20.2","dependencies":{"idx":"2.5.5","immutable":"4.0.0-rc.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"lodash":"4.17.11"},"peerDependencies":{"lodash":">=4.12.0"},"_npmOperationalInternal":{"tmp":"tmp/entity-duck_0.6.5_1718851452220_0.415318304949188","host":"s3://npm-registry-packages"}},"0.6.6":{"name":"@burnsred/entity-duck","version":"0.6.6","author":{"name":"Thierry Wong and Burnsred"},"license":"MIT","_id":"@burnsred/entity-duck@0.6.6","maintainers":[{"name":"burnsred","email":"accounts@burnsred.com.au"}],"homepage":"https://github.com/burnsred/burnsred-entity-library#readme","bugs":{"url":"https://github.com/burnsred/burnsred-entity-library/issues"},"dist":{"shasum":"1999c95fabb266761adb4c0022e80a2036cdd737","tarball":"https://registry.npmjs.org/@burnsred/entity-duck/-/entity-duck-0.6.6.tgz","fileCount":9,"integrity":"sha512-wJo1LmFyw1SPXPmdaxPtwymoKIVDHtkuNfklBkIOf5koaL0RoHWA0xNJnkyHaow/0IJwGf+FVB5c42Er8ZC4Vw==","signatures":[{"sig":"MEYCIQDNWA/KELAoL9PY2EyIuCBmGq9PWJX6GOF2aN5uHz84oAIhANRUNMFtdhg2yMyVGkcxxqCL+a+ipWDAw04PlL1I3+1U","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":55975},"main":"dist/legacy.js","type":"module","exports":{"default":"./dist/production.min.js","production":"./dist/production.min.js","development":"./dist/development.js"},"gitHead":"7f9371620f3492c9505efdffa876e0d02cd56adf","private":false,"scripts":{"build":"rollup -c=../../configs/rollup.config.js --bundleConfigAsCjs","destroy":"rimraf dist"},"_npmUser":{"name":"burnsred","email":"accounts@burnsred.com.au"},"repository":{"url":"git+https://github.com/burnsred/burnsred-entity-library.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v16.20.2+arm64 (darwin)","description":"entity-duck","directories":{},"sideEffects":false,"_nodeVersion":"16.20.2","dependencies":{"idx":"2.5.5","immutable":"4.0.0-rc.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"lodash":"4.17.11"},"peerDependencies":{"lodash":">=4.12.0"},"_npmOperationalInternal":{"tmp":"tmp/entity-duck_0.6.6_1771207715089_0.7756684739991202","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-rc.1":{"name":"@burnsred/entity-duck","version":"2.0.0-rc.1","author":{"name":"Thierry Wong and Burnsred"},"license":"MIT","_id":"@burnsred/entity-duck@2.0.0-rc.1","maintainers":[{"name":"burnsred","email":"accounts@burnsred.com.au"}],"homepage":"https://bitbucket.org/burnsred/burnsred-entity-library#readme","bugs":{"url":"https://bitbucket.org/burnsred/burnsred-entity-library/issues"},"dist":{"shasum":"dcac110bef911c47c3d2ccdcd47c257943f3e51d","tarball":"https://registry.npmjs.org/@burnsred/entity-duck/-/entity-duck-2.0.0-rc.1.tgz","fileCount":17,"integrity":"sha512-TI4R00mlbTsYb7wTvSV+bF7pBPb2bvnsHhwylnqUtdlyRI6MbrfYDdN1BkRhP/bE4TBDn8sKU4TLnjVZVbKFYA==","signatures":[{"sig":"MEYCIQC6UkdfyQMgqqSGsAlmMePvA9XgmBmWVcriQ9fA6dxOfgIhALrVIm0pd8pCc7+NyDezk61HS6TNCU9iLoJ04YVZ+Ivd","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71455},"main":"./dist/production.min.js","type":"module","types":"./dist/index.d.ts","engines":{"npm":"~10.9.4","node":"~22.22.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/production.min.js","production":"./dist/production.min.js","development":"./dist/development.js"}},"gitHead":"e1790f9c049e9a90920fb57084cea963bb57a3a5","scripts":{"build":"vite build -c ../../configs/vite.package.config.ts","destroy":"rimraf dist"},"_npmUser":{"name":"burnsred","email":"accounts@burnsred.com.au"},"repository":{"url":"git+ssh://git@bitbucket.org/burnsred/burnsred-entity-library.git","type":"git"},"_npmVersion":"lerna/9.0.4/node@v22.22.0+arm64 (darwin)","description":"entity-duck","directories":{},"sideEffects":false,"_nodeVersion":"22.22.0","dependencies":{"immutable":"4.0.0-rc.12","es-toolkit":"^1.44.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"redux":"^5.0.1","redux-immutable":"^4.0.0","@reduxjs/toolkit":"^2.11.2","@types/redux-immutable":"^4.0.6"},"peerDependencies":{"redux":"^5.0.1","redux-immutable":"^4.0.0","@burnsred/entity":"*"},"_npmOperationalInternal":{"tmp":"tmp/entity-duck_2.0.0-rc.1_1772156039009_0.48467417197230866","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-rc.2":{"author":{"name":"Thierry Wong and Burnsred"},"description":"entity-duck","license":"MIT","exports":{".":{"types":"./dist/index.d.ts","development":"./dist/development.js","production":"./dist/production.min.js","default":"./dist/production.min.js"}},"types":"./dist/index.d.ts","type":"module","main":"./dist/production.min.js","name":"@burnsred/entity-duck","repository":{"type":"git","url":"git+ssh://git@bitbucket.org/burnsred/burnsred-entity-library.git"},"sideEffects":false,"version":"2.0.0-rc.2","publishConfig":{"access":"public"},"engines":{"node":"~22.22.0","npm":"~10.9.4"},"scripts":{"build":"vite build -c ../../configs/vite.package.config.ts","destroy":"rimraf dist"},"dependencies":{"es-toolkit":"^1.44.0","immutable":"4.0.0-rc.12"},"devDependencies":{"@reduxjs/toolkit":"^2.11.2","@types/redux-immutable":"^4.0.6","redux":"^5.0.1","redux-immutable":"^4.0.0"},"peerDependencies":{"@burnsred/entity":"*","redux":"^5.0.1","redux-immutable":"^4.0.0"},"gitHead":"0062b61fc518a56926df2ec875308ad583ac0e1b","_id":"@burnsred/entity-duck@2.0.0-rc.2","bugs":{"url":"https://bitbucket.org/burnsred/burnsred-entity-library/issues"},"homepage":"https://bitbucket.org/burnsred/burnsred-entity-library#readme","_nodeVersion":"22.22.0","_npmVersion":"lerna/9.0.4/node@v22.22.0+arm64 (darwin)","dist":{"integrity":"sha512-3qVB754cW2v2mP3Yfb2iz9OWfdE7FyXCyKJWOFypGPcgL9Ebw1xz/obPvhH4+jZiZhJe27HMztRFEuLWmylsMw==","shasum":"d6539d752bb4104ebfbce4c514a0974d9a1c25a8","tarball":"https://registry.npmjs.org/@burnsred/entity-duck/-/entity-duck-2.0.0-rc.2.tgz","fileCount":17,"unpackedSize":71641,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCR/J6uLDpuZTZlqaGOuKgfSctXnkdEIPi373clJrcEAAIgDlP0BbQH1GKjWmF5FOrzsOM58L0ANFVe8CrePgkFfo4="}]},"_npmUser":{"name":"burnsred","email":"accounts@burnsred.com.au"},"directories":{},"maintainers":[{"name":"burnsred","email":"accounts@burnsred.com.au"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/entity-duck_2.0.0-rc.2_1784702495361_0.4038513448601424"},"_hasShrinkwrap":false}},"time":{"created":"2019-05-15T06:03:17.500Z","modified":"2026-07-22T06:41:35.624Z","0.6.1":"2019-05-15T06:03:17.686Z","0.6.2":"2019-05-15T06:25:09.598Z","0.6.3":"2024-04-23T00:05:11.843Z","0.6.4-dev.0":"2024-05-30T01:49:09.330Z","0.6.4":"2024-05-30T03:05:40.022Z","0.6.5":"2024-06-20T02:44:12.447Z","0.6.6":"2026-02-16T02:08:35.251Z","2.0.0-rc.1":"2026-02-27T01:33:59.145Z","2.0.0-rc.2":"2026-07-22T06:41:35.502Z"},"bugs":{"url":"https://bitbucket.org/burnsred/burnsred-entity-library/issues"},"author":{"name":"Thierry Wong and Burnsred"},"license":"MIT","homepage":"https://bitbucket.org/burnsred/burnsred-entity-library#readme","repository":{"type":"git","url":"git+ssh://git@bitbucket.org/burnsred/burnsred-entity-library.git"},"description":"entity-duck","maintainers":[{"name":"burnsred","email":"accounts@burnsred.com.au"}],"readme":"# @burnsred/entity-duck\n\n```js\nconst action = {\n  meta: {\n    entity: '',\n    id: 'uuid',\n  },\n  payload: undefined,\n  promise: '',\n  type: '@@Person/entities/PEOPLE_GET',\n};\n```\n\n## Configuration in client app\n\n```ts\nimport { configureStore } from '@reduxjs/toolkit';\nimport { Map } from 'immutable';\nimport { combineReducers } from 'redux-immutable';\n\nimport {\n  createDuckReducerFromRequires,\n  duckMiddleware,\n  filterEntityRequirements,\n} from '@burnsred/entity-duck';\nimport { axiosInstance } from 'api';\nimport * as entities from 'entities';\nimport { settings } from 'settings';\n\n// In dev, cross-check the barrel against all entity files on disk and warn\n// about any Entity-with-duck that was forgotten in entities/index.ts.\n// import.meta.glob must be a string literal — pass the result, not the pattern.\nconst requirements = filterEntityRequirements(\n  entities,\n  import.meta.env.DEV\n    ? import.meta.glob('./entities/**/*.ts', { eager: true })\n    : undefined,\n);\n\n// Alternatively, skip the barrel entirely — glob auto-discovers every entity:\n// const requirements = collectEntityRequirements(\n//   import.meta.glob('./entities/**/*.ts', { eager: true }),\n// );\n\nconst rootReducerMap = createDuckReducerFromRequires(\n  requirements,\n  combineReducers,\n);\n\nexport const store = configureStore({\n  reducer: combineReducers(rootReducerMap),\n  middleware: (getDefaultMiddleware) =>\n    getDefaultMiddleware({\n      // Immutable.js values are not serializable / plain objects\n      serializableCheck: false,\n      immutableCheck: false,\n    }).concat(duckMiddleware({ settings, client: axiosInstance })),\n  preloadedState: Map(),\n  // https://github.com/reduxjs/redux-devtools/blob/main/extension/docs/API/Arguments.md\n  devTools: import.meta.env.DEV && { trace: true, traceLimit: 100 },\n});\n```\n","readmeFilename":"README.md"}