{"_id":"@bedrok/sequelize-factory","_rev":"12-41710e22371d3ead55d6700d13950de3","name":"@bedrok/sequelize-factory","dist-tags":{"latest":"1.1.2"},"versions":{"0.0.2":{"name":"@bedrok/sequelize-factory","version":"0.0.2","description":"Factory for loading Sequelize models, running migrations and applying plugins","main":"index.js","license":"MIT","engines":{"node":">=16"},"scripts":{"test":"nyc test"},"dependencies":{"caller":"^1.0.1","consola":"^2.15.3","mysql2":"^2.3.0","sequelize":"^6.6.5"},"devDependencies":{"nyc":"^15.1.0"},"gitHead":"5db4eb691fdaf1c5c6e14b6ad5e86a891db6f666","_id":"@bedrok/sequelize-factory@0.0.2","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"integrity":"sha512-JMf5NWa409fNCMlbNs5Z/aRc7MtjsTJVtp618gSvs+EwvkuqBMho3Fa962xN3rrydHTLq8pmKxw2kOE6BlWGZA==","shasum":"9725439991cfa5f57d259ad50535b39104749618","tarball":"https://registry.npmjs.org/@bedrok/sequelize-factory/-/sequelize-factory-0.0.2.tgz","fileCount":9,"unpackedSize":7195,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0UM0+lTkdXe2QHKuIG/+Z0yxzUEWCeZRDwE/dNCnFHQIhAJ4vIe88m3S8fGTQYHhcq8LJAsfB3lWqsXfEBfCXuLw2"}]},"_npmUser":{"name":"jasonihaia","email":"jason@mashbot.com"},"directories":{},"maintainers":[{"name":"jasonihaia","email":"jason@mashbot.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sequelize-factory_0.0.2_1633038546577_0.0677529813018165"},"_hasShrinkwrap":false},"0.0.3":{"name":"@bedrok/sequelize-factory","version":"0.0.3","description":"Factory for loading Sequelize models, running migrations and applying plugins","main":"index.js","license":"MIT","repository":{"type":"git","url":"git+https://gitlab.com/bedrok/os/sequelize-factory.git"},"engines":{"node":">=16"},"scripts":{"test":"nyc test"},"dependencies":{"caller":"^1.0.1","consola":"^2.15.3","mysql2":"^2.3.0","sequelize":"^6.6.5"},"devDependencies":{"commitizen":"^4.2.4","cz-conventional-changelog":"^3.3.0","nyc":"^15.1.0","semantic-release":"^18.0.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"publishConfig":{"registry":"https://registry.npmjs.org/","tag":"latest"},"gitHead":"42791913730e07dc77316278129c8daf7530dda6","bugs":{"url":"https://gitlab.com/bedrok/os/sequelize-factory/issues"},"homepage":"https://gitlab.com/bedrok/os/sequelize-factory#readme","_id":"@bedrok/sequelize-factory@0.0.3","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"integrity":"sha512-gvqNzkhWtnqAg0Gu9lc7WSo5lBZb8rWLXWC29lZZWx7Kbjk1DEXntevlVISFlFYV7+3WcXBuA6oSebfmy73p3Q==","shasum":"abdd23e128d80f519dd5c7198804141a6aa60dc5","tarball":"https://registry.npmjs.org/@bedrok/sequelize-factory/-/sequelize-factory-0.0.3.tgz","fileCount":10,"unpackedSize":7930,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIBVCjZICGVIVOVGdrRxQGVhVElTMk53EnNUNeSD6ReP2Ah9KjTu1gVFTe0v0+gsHxC8tU/EFo8rc5LEpaeGx5MF6"}]},"_npmUser":{"name":"jasonihaia","email":"jason@mashbot.com"},"directories":{},"maintainers":[{"name":"jasonihaia","email":"jason@mashbot.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sequelize-factory_0.0.3_1633046455344_0.6995982696256589"},"_hasShrinkwrap":false},"1.0.1":{"name":"@bedrok/sequelize-factory","version":"1.0.1","description":"Factory for loading Sequelize models, running migrations and applying plugins","main":"index.js","license":"MIT","repository":{"type":"git","url":"git+https://gitlab.com/bedrok/os/sequelize-factory.git"},"engines":{"node":">=16"},"scripts":{"test":"nyc test"},"dependencies":{"caller":"^1.0.1","consola":"^2.15.3","mysql2":"^2.3.0","sequelize":"^6.6.5"},"devDependencies":{"commitizen":"^4.2.4","cz-conventional-changelog":"^3.3.0","nyc":"^15.1.0","semantic-release":"^18.0.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"publishConfig":{"registry":"https://registry.npmjs.org/","tag":"latest"},"gitHead":"f1e459f3172cec4267afe6cd6d95188904155a32","bugs":{"url":"https://gitlab.com/bedrok/os/sequelize-factory/issues"},"homepage":"https://gitlab.com/bedrok/os/sequelize-factory#readme","_id":"@bedrok/sequelize-factory@1.0.1","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"integrity":"sha512-BtKRjsuyInDdd45h2gwshe2ZZfrgGVwCCIpDP2UaN6ZHmXmJ1U/jyjk1bCbZFD50xkLdtGa4p3j1OB2VTNGcyA==","shasum":"42b7c3dc264e967f343c8dd086051c10602d11f1","tarball":"https://registry.npmjs.org/@bedrok/sequelize-factory/-/sequelize-factory-1.0.1.tgz","fileCount":11,"unpackedSize":8555,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6WzDu4QvfyIpwAUJOWLFSUNkK5nZ813pDncDvrM8TsQIhAPbylXMtEB1F7N6isgH8cbxC8ooFC7DgT6e2bfbsTAzv"}]},"_npmUser":{"name":"jasonihaia","email":"jason@mashbot.com"},"directories":{},"maintainers":[{"name":"jasonihaia","email":"jason@mashbot.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sequelize-factory_1.0.1_1633277396827_0.08279061872734039"},"_hasShrinkwrap":false},"1.0.2":{"name":"@bedrok/sequelize-factory","version":"1.0.2","description":"Factory for loading Sequelize models, running migrations and applying plugins","main":"index.js","license":"MIT","repository":{"type":"git","url":"git+https://gitlab.com/bedrok/os/sequelize-factory.git"},"engines":{"node":">=16"},"scripts":{"test":"nyc test"},"dependencies":{"caller":"^1.0.1","consola":"^2.15.3","mysql2":"^2.3.0","sequelize":"^6.6.5"},"devDependencies":{"commitizen":"^4.2.4","cz-conventional-changelog":"^3.3.0","nyc":"^15.1.0","semantic-release":"^18.0.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"publishConfig":{"registry":"https://registry.npmjs.org/","tag":"latest"},"gitHead":"a0ad862c9df03332ffe01e7ab043443e1be20b80","bugs":{"url":"https://gitlab.com/bedrok/os/sequelize-factory/issues"},"homepage":"https://gitlab.com/bedrok/os/sequelize-factory#readme","_id":"@bedrok/sequelize-factory@1.0.2","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"integrity":"sha512-qV1cfM6eMOoM+oCpoBPNIyBo5CgiqJJup9mz51w4f16Dk4Vqrj7hwFMcUHWaxga8Kh0BwrlpKk3Lb8l5YiSegQ==","shasum":"c9998b0c49fb36bc98d7c7fbc9da43dfaf51390e","tarball":"https://registry.npmjs.org/@bedrok/sequelize-factory/-/sequelize-factory-1.0.2.tgz","fileCount":11,"unpackedSize":8574,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE9v8YcTApTUCH90BcltxzwUxIumLZRTS3xB5VpoqFQ8AiAE6zlf9jd2vy2jE4NXncPDyeaHg1u219GRgPvSm+x4fg=="}]},"_npmUser":{"name":"jasonihaia","email":"jason@mashbot.com"},"directories":{},"maintainers":[{"name":"jasonihaia","email":"jason@mashbot.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sequelize-factory_1.0.2_1633287221087_0.634808941655217"},"_hasShrinkwrap":false},"1.0.3":{"name":"@bedrok/sequelize-factory","version":"1.0.3","description":"Factory for loading Sequelize models, running migrations and applying plugins","main":"index.js","license":"MIT","repository":{"type":"git","url":"git+https://gitlab.com/bedrok/os/sequelize-factory.git"},"engines":{"node":">=16"},"scripts":{"test":"nyc test"},"dependencies":{"caller":"^1.0.1","consola":"^2.15.3","mysql2":"^2.3.0","sequelize":"^6.6.5"},"devDependencies":{"commitizen":"^4.2.4","cz-conventional-changelog":"^3.3.0","nyc":"^15.1.0","semantic-release":"^18.0.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"publishConfig":{"registry":"https://registry.npmjs.org/","tag":"latest"},"gitHead":"7a8cf24e564994f6e6212e0ff85432956c790c86","bugs":{"url":"https://gitlab.com/bedrok/os/sequelize-factory/issues"},"homepage":"https://gitlab.com/bedrok/os/sequelize-factory#readme","_id":"@bedrok/sequelize-factory@1.0.3","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"integrity":"sha512-Ei+qVWh4iZDtZdwRvwdlQGwpB1zzO/eBJcOS8RcLhk2c04kDYaJX26+U9bSIGlux1NJ32tXxCwv9LYa6B1yJSQ==","shasum":"bdca0780d504e5c97481292e7f3ae2e0b9e7323d","tarball":"https://registry.npmjs.org/@bedrok/sequelize-factory/-/sequelize-factory-1.0.3.tgz","fileCount":11,"unpackedSize":8618,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEI1cs+prxjsfAjpADoLcnweqVat6CHgYXvAyMvPuBtVAiEA3V1pFYeDdfhQmpXdPqqLePj8aHjGA3g5lLikqNeulHQ="}]},"_npmUser":{"name":"jasonihaia","email":"jason@mashbot.com"},"directories":{},"maintainers":[{"name":"jasonihaia","email":"jason@mashbot.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sequelize-factory_1.0.3_1633290707097_0.20433960154635877"},"_hasShrinkwrap":false},"1.0.4":{"name":"@bedrok/sequelize-factory","version":"1.0.4","description":"Factory for loading Sequelize models, running migrations and applying plugins","main":"index.js","license":"MIT","repository":{"type":"git","url":"git+https://gitlab.com/bedrok/os/sequelize-factory.git"},"engines":{"node":">=16"},"scripts":{"test":"nyc test"},"dependencies":{"caller":"^1.0.1","consola":"^2.15.3","mysql2":"^2.3.0","sequelize":"^6.6.5"},"devDependencies":{"commitizen":"^4.2.4","cz-conventional-changelog":"^3.3.0","nyc":"^15.1.0","semantic-release":"^18.0.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"publishConfig":{"registry":"https://registry.npmjs.org/","tag":"latest"},"gitHead":"a47113cf307030a45c8299395e6c810e1a07a905","bugs":{"url":"https://gitlab.com/bedrok/os/sequelize-factory/issues"},"homepage":"https://gitlab.com/bedrok/os/sequelize-factory#readme","_id":"@bedrok/sequelize-factory@1.0.4","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"integrity":"sha512-xFglOVCaFtYyjzLNaTo+qJMdfiGiFjA94OhInDqtfrqlDMLcVjqPloZ0szWbz6vlSgGy5dsG9onRly9Sg6a2bQ==","shasum":"d69fa8f262cf3ff1332d45b5cbf57c4a7f90d778","tarball":"https://registry.npmjs.org/@bedrok/sequelize-factory/-/sequelize-factory-1.0.4.tgz","fileCount":11,"unpackedSize":8669,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAmIzvglm64JIZUmQZXftURZyljztBz9z6E+/pZLDK2MAiEAnghhj6fMsefA7dw6K4/KFw7/kjbYXlGkZwSK0RswF50="}]},"_npmUser":{"name":"jasonihaia","email":"jason@mashbot.com"},"directories":{},"maintainers":[{"name":"jasonihaia","email":"jason@mashbot.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sequelize-factory_1.0.4_1633298999455_0.8849790728779914"},"_hasShrinkwrap":false},"1.0.5":{"name":"@bedrok/sequelize-factory","version":"1.0.5","description":"Factory for loading Sequelize models, running migrations and applying plugins","main":"index.js","license":"MIT","keywords":["sequelize","plugins"],"author":{"name":"Jason Ihaia","email":"jason@mashbot.com"},"homepage":"https://gitlab.com/bedrok/os/sequelize-factory","bugs":{"url":"https://gitlab.com/bedrok/os/sequelize-factory/-/issues"},"repository":{"type":"git","url":"git+https://gitlab.com/bedrok/os/sequelize-factory.git"},"engines":{"node":">=16"},"scripts":{"test":"nyc test"},"dependencies":{"caller":"^1.0.1","consola":"^2.15.3","mysql2":"^2.3.0","sequelize":"^6.6.5"},"devDependencies":{"commitizen":"^4.2.4","cz-conventional-changelog":"^3.3.0","nyc":"^15.1.0","semantic-release":"^18.0.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"publishConfig":{"registry":"https://registry.npmjs.org/","tag":"latest"},"gitHead":"bb03f92338cd3e3a14947c7e69ba7aadc91cc145","_id":"@bedrok/sequelize-factory@1.0.5","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"integrity":"sha512-R8MrowkWoJ2zYTbBTtEHYjK8rijpMFJEWM4ex8f/L3mqXW9nnDFdJuakBv7RxgjnTFskXJVN8y/P5mr62A+jTQ==","shasum":"6eb3e81092028c6c17f1930943bdfbaf53bcfbb6","tarball":"https://registry.npmjs.org/@bedrok/sequelize-factory/-/sequelize-factory-1.0.5.tgz","fileCount":11,"unpackedSize":9053,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDaV6FXHXAltCLHkJKvN4WoSV6UneZ43yy/5/HNcvRsugIgMb4QRVpquizoQBVRMKsxaARSB13vsr/YPIUWYVfDobA="}]},"_npmUser":{"name":"jasonihaia","email":"jason@mashbot.com"},"directories":{},"maintainers":[{"name":"jasonihaia","email":"jason@mashbot.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sequelize-factory_1.0.5_1633315178779_0.6098427827294468"},"_hasShrinkwrap":false},"1.1.0":{"name":"@bedrok/sequelize-factory","version":"1.1.0","description":"Factory for loading Sequelize models, running migrations and applying plugins","main":"index.js","license":"MIT","keywords":["sequelize","plugins"],"author":{"name":"Jason Ihaia","email":"jason@mashbot.com"},"homepage":"https://gitlab.com/bedrok/os/sequelize-factory","bugs":{"url":"https://gitlab.com/bedrok/os/sequelize-factory/-/issues"},"repository":{"type":"git","url":"git+https://gitlab.com/bedrok/os/sequelize-factory.git"},"engines":{"node":">=16"},"scripts":{"test":"nyc test","lint":"eslint '**/*.js' --ignore-pattern node_modules/","lint:fix":"eslint '**/*.js' --ignore-pattern node_modules/ --fix"},"dependencies":{"caller":"^1.0.1","consola":"^2.15.3","mysql2":"^2.3.0","sequelize":"^6.6.5"},"devDependencies":{"commitizen":"^4.2.4","cz-conventional-changelog":"^3.3.0","eslint":"^7.32.0","eslint-config-google":"^0.14.0","nyc":"^15.1.0","semantic-release":"^18.0.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"publishConfig":{"registry":"https://registry.npmjs.org/","tag":"latest"},"gitHead":"be54d54eb59b7af3261887a0d7b4af5ccc7d8690","_id":"@bedrok/sequelize-factory@1.1.0","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"integrity":"sha512-/nB2RC6096FxdDZv53cMmTF+9kzN3YNKnTnmy8N5LbEYaZKM2q9AIjCqkXlwO2KArFUObj0R6NuTMVlvxuN9Og==","shasum":"ed84075c604644ff7491093e9834ada7b1cffaba","tarball":"https://registry.npmjs.org/@bedrok/sequelize-factory/-/sequelize-factory-1.1.0.tgz","fileCount":12,"unpackedSize":9844,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEjnEXg2A/pYu3Bj/0N4j/NyEDbE4qUC/pk6x5iWppRMAiEAlNpzkuitnB3L5BCwzh9mEyx8WNvRjOE1y6A5ITxhLac="}]},"_npmUser":{"name":"jasonihaia","email":"jason@mashbot.com"},"directories":{},"maintainers":[{"name":"jasonihaia","email":"jason@mashbot.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sequelize-factory_1.1.0_1633316992759_0.10876892498027457"},"_hasShrinkwrap":false},"1.1.1":{"name":"@bedrok/sequelize-factory","version":"1.1.1","description":"Factory for loading Sequelize models, running migrations and applying plugins","main":"index.js","license":"MIT","keywords":["sequelize","initializer","plugins"],"author":{"name":"Jason Ihaia","email":"jason@mashbot.com"},"homepage":"https://gitlab.com/bedrok/os/sequelize-factory","bugs":{"url":"https://gitlab.com/bedrok/os/sequelize-factory/-/issues"},"repository":{"type":"git","url":"git+https://gitlab.com/bedrok/os/sequelize-factory.git"},"engines":{"node":">=16"},"scripts":{"test":"nyc test","lint":"eslint '**/*.js' --ignore-pattern node_modules/","lint:fix":"eslint '**/*.js' --ignore-pattern node_modules/ --fix"},"dependencies":{"caller":"^1.0.1","consola":"^2.15.3","mysql2":"^2.3.0","sequelize":"^6.6.5"},"devDependencies":{"commitizen":"^4.2.4","cz-conventional-changelog":"^3.3.0","eslint":"^7.32.0","eslint-config-google":"^0.14.0","nyc":"^15.1.0","semantic-release":"^18.0.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"publishConfig":{"registry":"https://registry.npmjs.org/","tag":"latest"},"gitHead":"569d8d342cd1fc3ecbf639f88f698f9e843176fa","_id":"@bedrok/sequelize-factory@1.1.1","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"integrity":"sha512-XdfREmbdaBo9XyxEbXXytVcTRvdaUVAWIZHubDgIM149Og6ukEH3UOLHfn+N8Gaxf7jt/PsgAFHwOTOsQJtwEQ==","shasum":"58d3f24a69d3b63ea156c5516214a87ff7fb9089","tarball":"https://registry.npmjs.org/@bedrok/sequelize-factory/-/sequelize-factory-1.1.1.tgz","fileCount":12,"unpackedSize":12653,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJs7LWD/vB1Z/CkQpSv8axQGVWGyJtH8zsL6wJkHfdnAIgFj0zCiJ546K5YnLEA9Anegy466ilzkj3gE7wJunM3tg="}]},"_npmUser":{"name":"jasonihaia","email":"jason@mashbot.com"},"directories":{},"maintainers":[{"name":"jasonihaia","email":"jason@mashbot.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sequelize-factory_1.1.1_1633354914283_0.2846793155489662"},"_hasShrinkwrap":false},"1.1.2":{"name":"@bedrok/sequelize-factory","version":"1.1.2","description":"Factory for loading Sequelize models, running migrations and applying plugins","main":"index.js","license":"MIT","keywords":["sequelize","initializer","plugins"],"author":{"name":"Jason Ihaia","email":"jason@mashbot.com"},"homepage":"https://gitlab.com/bedrok/os/sequelize-factory","bugs":{"url":"https://gitlab.com/bedrok/os/sequelize-factory/-/issues"},"repository":{"type":"git","url":"git+https://gitlab.com/bedrok/os/sequelize-factory.git"},"engines":{"node":">=14"},"scripts":{"test":"nyc test","lint":"eslint '**/*.js' --ignore-pattern node_modules/","lint:fix":"eslint '**/*.js' --ignore-pattern node_modules/ --fix"},"dependencies":{"caller":"^1.0.1","consola":"^2.15.3","mysql2":"^2.3.0","pg":"^8.7.1","pg-hstore":"^2.3.4","sequelize":"^6.6.5"},"devDependencies":{"commitizen":"^4.2.4","cz-conventional-changelog":"^3.3.0","eslint":"^7.32.0","eslint-config-google":"^0.14.0","nyc":"^15.1.0","semantic-release":"^18.0.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"publishConfig":{"registry":"https://registry.npmjs.org/","tag":"latest"},"gitHead":"8b29d85ea32eaed4af2d0622283349da4bb8e3cd","_id":"@bedrok/sequelize-factory@1.1.2","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-k1fjZwvp72nUabA/4FzU1P9dYFzRb3asHINjODa6k4yC9weLWB0Da9vxOLEuWMr6/cMbdEq4193ivYN8jRRu3Q==","shasum":"a73a6dfdc306bc9e919428c87c128cddd01270a7","tarball":"https://registry.npmjs.org/@bedrok/sequelize-factory/-/sequelize-factory-1.1.2.tgz","fileCount":12,"unpackedSize":12666,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzHccCRA9TVsSAnZWagAAPJgP/j98+cmxZGSB798xxmWF\nxLkoiA1KMw8Gjuq4U3EHQbvZNG0k5s9C9qVAFqNokJNTe5Y0JeFxQyDzPjqT\nTGNKeuS8/a7Zk3g0NQAQb8nuidLhowZYi7tOzEKAqax4dQkImmQ6J2EpLG+X\n0nxpRfnE+/vQ+hit+49/pbr8ITtmJcwbfKnluhnwyZKD/0WcivUmJFaUmRtG\n6PNaSxRFIpgM0L+kWtvUqZ41zxQ4cINNgC5omvWm3LxB6iKOHfe2uelyOZx9\ndH1JKo5csDsbUktmKeWz7TS8cn21OmUHTRQQUa9H373gvbvws2onUxXfwgLc\nF/bd5AtEHRT8afaeKa3ELPF99VSQ22ybRb10oTxNNAkryFuzUyzeO1fHEHhL\nWEFiDVpuKOUFn+B6N9dm1FNe8Xm/fHhTq2EZwZ6sAd2uztAVY0dLnOPiY5eg\nFs7Y/sYMHoauBfBGgZ6KDFLahF2LJlVbwNgPY0am87F/s0y25kVQC9GZVWyf\nxTUZS+qjfRzm49BZVw2FdJplRi9PQ3dcFVbE6B4juoF0NW0FfIkPMyGNSSig\nR1PbfUuRsDsJC419osjWnKOajyjMnry04EZWSGUqJjsVp7UMIw59+/mNh2bk\nrIsCm0Nyl9pgSl8yNPpNNhkF/PHD7LqQmfl2C8U1e6pKshVfkgBVKs2W6l9P\n4bXD\r\n=ifpW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDU8rMERePCz0kXGUNzWZcyx0R2cApi30HMpBg3/bl/dwIhALYhKpYSh0RESrnliIErfrJEejuiC8Z6FC5PCMJtHRSl"}]},"_npmUser":{"name":"jasonihaia","email":"jason@mashbot.com"},"directories":{},"maintainers":[{"name":"jasonihaia","email":"jason@mashbot.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sequelize-factory_1.1.2_1636655018923_0.08952425969521216"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-30T21:49:06.577Z","0.0.2":"2021-09-30T21:49:06.764Z","modified":"2022-04-04T18:09:21.650Z","0.0.3":"2021-10-01T00:00:55.508Z","1.0.1":"2021-10-03T16:09:56.950Z","1.0.2":"2021-10-03T18:53:41.240Z","1.0.3":"2021-10-03T19:51:47.258Z","1.0.4":"2021-10-03T22:09:59.615Z","1.0.5":"2021-10-04T02:39:39.018Z","1.1.0":"2021-10-04T03:09:52.925Z","1.1.1":"2021-10-04T13:41:54.454Z","1.1.2":"2021-11-11T18:23:39.067Z"},"maintainers":[{"name":"jasonihaia","email":"jason@mashbot.com"}],"description":"Factory for loading Sequelize models, running migrations and applying plugins","license":"MIT","readme":"![Supporter](https://img.shields.io/badge/sponsored%20by-MASHBOT-blue)\n<br>\n[![MIT](https://img.shields.io/badge/license-MIT-blue)]()\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n[![maintained](https://img.shields.io/badge/Maintained%3F-yes-green.svg)]()\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n<br>\n\n# Welcome to Sequelize Factory\n\nFor those who have already made the choice to adopt [Sequelize](https://github.com/sequelize/sequelize)\nas the ORM for your NodeJS service, you will quickly realize that getting started may not be so out-of-the-box as you would like.\n\nDefining models, associations and hooks etc. are clearly defined and well documented. Loading those models, establishing the associations (in particular) are not.\n\nFor example, you must define all models first before attempting to establish the associations. Associating your model to another that has not yet been previously been loaded will lead to an error.\nThere are many good posts on how to do this, and in fact, it's not that hard. The challenge however is that you must solve this yourself. \n\nIf you are building out a microservice pattern with NodeJS and Sequelize, being consistent is key. Hence, Sequelize Factory was introduced.\n\nYou will still define your models the same, including associations and hooks etc., but you will use the Factory to initialize them. In addition to associations and hooks however, the Factory supports the ability of plugins, a feature to allow developers to establish other key characteristics and behaviors of a model in a uniform and consistent way. Examples include configuring a model to support Elasticsearch, or auto-generating GraphQL or gRPC endpoints.\n\nOne other key piece to the puzzle is executing the migrations. The factory will also take care of this on initialization after all of the definition and plugin capabilities have been applied. This allows your service to start-up in a consistent manner, apply features in a predictable order, followed by executing the migrations.\n\nNow, as a developer, you need only be focused on the amazing features Sequelize has to offer and leave the initialization and assembly of them to the Factory.\n\nSequelize Factory follows [Semantic Versioning](https://semver.org/) and supports Node v16 and above.\n\n## Getting started\n\nInstallation via NPM\n```\n$ npm i @bedrok/sequelize-factory --save\n```\n\nor via YARN\n```\n$ yarn add @bedrok/sequelize-factory\n```\n\n## Defining your models\n\nAs stated above, Sequelize Factory is wrapper to Sequelize that provides additional functionality while simplifying the overall initialization and activation process.\n\nThat said, it is opinionated on how you structure your definitions. Specifically, models must use the define method approach and not class extension approach.\n\nUse this method for defining your model;\n```javascript\n// MyModel.js\nmodule.exports = (sequelize, DataTypes) => {\n\n  const MyModel = sequelize.define(\n    'MyModel', {\n      id: DataTypes.STRING(32),\n      attrA: DataTypes.STRING(20),\n      attrB: DataTypes.STRING(20)\n    }, {\n      tableName: 'my_models'\n    }\n  );\n\n  return MyModel;\n};\n```\n","readmeFilename":"README.md","homepage":"https://gitlab.com/bedrok/os/sequelize-factory","repository":{"type":"git","url":"git+https://gitlab.com/bedrok/os/sequelize-factory.git"},"bugs":{"url":"https://gitlab.com/bedrok/os/sequelize-factory/-/issues"},"keywords":["sequelize","initializer","plugins"],"author":{"name":"Jason Ihaia","email":"jason@mashbot.com"}}