{"_id":"@apricote/nest-pg-boss","_rev":"5-bd0decc5f44948e152959c2c36362544","name":"@apricote/nest-pg-boss","dist-tags":{"latest":"2.1.0"},"versions":{"0.0.1":{"name":"@apricote/nest-pg-boss","version":"0.0.1","description":"Use pg-boss in your NestJS app","author":{"name":"Julian Tölle","email":"julian.toelle97@gmail.com"},"license":"MIT","main":"./dist/index.js","scripts":{"build":"nest build","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\"","lint":"eslint \"{src,apps,libs,test}/**/*.ts\" --fix","test":"jest","test:watch":"jest --watch","test:cov":"jest --coverage","test:debug":"node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand","test:e2e":"jest --config ./test/jest-e2e.json"},"peerDependencies":{"@nestjs/common":"^9.3.3","@nestjs/core":"^9.3.3","pg-boss":"^8.4.1","reflect-metadata":"^0.1.13","rxjs":"^7.2.0"},"devDependencies":{"@nestjs/cli":"9.2.0","@nestjs/common":"9.3.9","@nestjs/core":"9.3.9","@nestjs/schematics":"9.0.4","@nestjs/testing":"9.3.9","@types/jest":"29.4.0","@types/node":"18.14.6","@types/supertest":"2.0.12","@typescript-eslint/eslint-plugin":"5.54.0","@typescript-eslint/parser":"5.54.0","eslint":"8.35.0","eslint-config-prettier":"8.6.0","eslint-plugin-prettier":"4.2.1","jest":"29.4.3","pg-boss":"8.4.1","prettier":"2.8.4","rxjs":"7.8.0","source-map-support":"0.5.21","supertest":"6.3.3","testcontainers":"9.1.3","ts-jest":"29.0.5","ts-loader":"9.4.2","ts-node":"10.9.1","tsconfig-paths":"4.1.2","typescript":"4.9.5"},"jest":{"moduleFileExtensions":["js","json","ts"],"rootDir":"src","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"collectCoverageFrom":["**/*.(t|j)s"],"coverageDirectory":"../coverage","testEnvironment":"node"},"types":"./dist/index.d.ts","gitHead":"4b62528f0820d0ad23be8174df863a119d309812","_id":"@apricote/nest-pg-boss@0.0.1","_nodeVersion":"18.14.2","_npmVersion":"9.5.0","dist":{"integrity":"sha512-OVskZp3/1mtwpIM8hvCRKAmzX8XdR1HOTG14tzrbrEJFdFNRXsIdCzanH2QATaPeVQ6z7Uy+TelHF93ydV6r3A==","shasum":"3033a3795eb6129a605c191506f20f034ef214d9","tarball":"https://registry.npmjs.org/@apricote/nest-pg-boss/-/nest-pg-boss-0.0.1.tgz","fileCount":37,"unpackedSize":137485,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICbacEPBji7BOxopi18cY2l+fBMexsUmkkw/+8rNYeObAiA1q8lWxGVAiERxh/jhQC1khk3N+WZDz1VSnZnc4sElkQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBaF+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmohjBAAjrHEcHxBgV5x5I974paLk9dX0zULaER78sKcMOZO4S0/xkJ6\r\nCDOJP7p2Ygld1R3oTlH5k8yz8iA+XOqjEZHGpcL795hcyMeAyWdiSDQ98NGW\r\nPomgq1+M5p9rEb4e9iUfY7vCatjigDyxZHUSoOwIj/JgqfDfn3ombTr/uQ6r\r\nXkBfFfXscWe9XyHfn9MliBCEWDgGcBWsodMRHgU5uD/p6YhN6OlJ1xoabWpS\r\ndabCh32OGlcB55D29lzCJ2WI7eaXVYobpU+6TDZ9WfmHctfauyN8G5RfRcGp\r\nFKHQgZ3Pfs8//Tbe+h89bmprJ0DSMQyQcV+yOrJNCl+PonWvix3BMhK6rIeQ\r\nDFVS3aZjro2csamfg+iIDu346Y2MQJ+OSxG8f8AJ5rMZYvhWaZ5WwjU5/EOl\r\nKCm0q2Hd+byI31+5vGAvJ4AKG13QUA6gDARrg+ooyVgCbJID4oZOvKbu7LxP\r\nu++x3fohIG7F0HmbtWKwDdrBn4it88FYXz6M2V3X+e5aHYUFRzEL4yUjPlhI\r\nGHNPBl+o/qCYHja6/1Yjqy0hroHu+TvafjQQ1z6h6ODN2R3SuGTeCY1BMEST\r\nd3OueZgBTVM8W2ymj4rxlRc/R4oL31nlnuolutyaE/LV53CUWiUP5RCNbAJV\r\nEalIpyt96VNWyMwE196dEZpEG5DasISEP4w=\r\n=+c9j\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"apricote","email":"julian.toelle97@gmail.com"},"directories":{},"maintainers":[{"name":"apricote","email":"julian.toelle97@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nest-pg-boss_0.0.1_1678090622443_0.5865990879582457"},"_hasShrinkwrap":false},"1.0.0":{"name":"@apricote/nest-pg-boss","version":"1.0.0","description":"Use pg-boss in your NestJS app","author":{"name":"Julian Tölle","email":"julian.toelle97@gmail.com"},"license":"MIT","main":"./dist/index.js","scripts":{"build":"nest build","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\"","lint":"eslint \"{src,apps,libs,test}/**/*.ts\" --fix","test":"jest","test:watch":"jest --watch","test:cov":"jest --coverage","test:debug":"node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand","test:e2e":"jest --config ./test/jest-e2e.json"},"peerDependencies":{"@nestjs/common":"^9.3.3","@nestjs/core":"^9.3.3","pg-boss":"^8.4.1","reflect-metadata":"^0.1.13","rxjs":"^7.2.0"},"devDependencies":{"@nestjs/cli":"9.2.0","@nestjs/common":"9.3.9","@nestjs/core":"9.3.9","@nestjs/platform-express":"9.3.9","@nestjs/schematics":"9.0.4","@nestjs/testing":"9.3.9","@types/jest":"29.4.0","@types/node":"18.14.6","@types/supertest":"2.0.12","@typescript-eslint/eslint-plugin":"5.54.0","@typescript-eslint/parser":"5.54.0","eslint":"8.35.0","eslint-config-prettier":"8.6.0","eslint-plugin-prettier":"4.2.1","jest":"29.4.3","pg-boss":"8.4.1","prettier":"2.8.4","rxjs":"7.8.0","source-map-support":"0.5.21","supertest":"6.3.3","testcontainers":"9.1.3","ts-jest":"29.0.5","ts-loader":"9.4.2","ts-node":"10.9.1","tsconfig-paths":"4.1.2","typescript":"4.9.5"},"jest":{"moduleFileExtensions":["js","json","ts"],"rootDir":"src","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"collectCoverageFrom":["**/*.(t|j)s"],"coverageDirectory":"../coverage","testEnvironment":"node"},"types":"./dist/index.d.ts","gitHead":"edff6a866b3eee2b3fbda29ca7fd1d5057c61283","_id":"@apricote/nest-pg-boss@1.0.0","_nodeVersion":"18.14.2","_npmVersion":"9.5.0","dist":{"integrity":"sha512-jYe9Bj/qBUxEWfnzKly6TTyg+x3A5uuQ1ocP0SXRyXHgtdXKUIf4AF4OZdgcX2qR9yrHNdi3lcoj9P2Qk+vvbw==","shasum":"ce6d60df94572926ec69fdb03feb3be33f8d8a74","tarball":"https://registry.npmjs.org/@apricote/nest-pg-boss/-/nest-pg-boss-1.0.0.tgz","fileCount":37,"unpackedSize":137526,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBqyKzqa7gM268Julkg5W+dueGCLE+wsKdZlSHvlCgjyAiEAlyii+qEzZY99iHGv0UU9ULyBZposABrTl1jn4/xDROk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBaKtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoR1g//QH1EWtPPa5C+1WiZw2KnFH+c6ESwT9vT0cFxCeCP/9knODvP\r\no4400QhgkzecN7L1Kf+mhL4T2mRQPthRqBnY5/dKUGcFjj8RaZ8tikXMVma6\r\nNRfOY4yUM0lphn+cvG6C+QjpaT2qD2oKDCg57uL6UJSUDtM35/lbpWPxzn3v\r\nj1gi0t1di+QdZncQwaCY9hICYRy/hEkRedm4diXLerEgqdxCWNy191sfreuL\r\ns5n4sYvnLySMUjPiJllpZzyaVaUkb+P9VWcPxgG1fpVrzwBWQ6fpyXVX4wjM\r\ncEgu4+Jq3mkux9cmeTqVfNdSaf17RMy5MLevIW/1UoCOr3eg0oJCJe+UtoL+\r\nrB+sBEct/QJ/hoD8dN0zOoP0L8CA8Ptjr5Hh6ED599B2InrJxbQpX1ytORj5\r\ngBbBzPctB5/ZDsn2avDyUPi52Tk+SfpEf3n/oePTfocSZI/2l0fPZpkqkkgz\r\nb8HiILmmv/UlGoSaV2QI7vAulnR5IZ2J457+I6A/AExHxcSDOk1p6CILLcT6\r\n2EAHdw7yEC57rPI09VFBxrgSkZboL4hzT/fMqGgVljfIAlO/Sk1h89/9Ws0I\r\nC6H6pp9AuTdDUF5jD3o1CWwe3VsFqENUiRptG6ebpmpXxnsYfEmosBbzqGIY\r\nInLcfSKwOUl9PwTBZ9zLKtE4j3MuJAlAhPE=\r\n=SsLZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"apricote","email":"julian.toelle97@gmail.com"},"directories":{},"maintainers":[{"name":"apricote","email":"julian.toelle97@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nest-pg-boss_1.0.0_1678090925219_0.4930571870465654"},"_hasShrinkwrap":false},"1.1.0":{"name":"@apricote/nest-pg-boss","version":"1.1.0","description":"Use pg-boss in your NestJS app","author":{"name":"Julian Tölle","email":"julian.toelle97@gmail.com"},"license":"MIT","main":"./dist/index.js","scripts":{"build":"nest build","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\"","lint":"eslint \"{src,apps,libs,test}/**/*.ts\"","lint:fix":"eslint \"{src,apps,libs,test}/**/*.ts\" --fix","test":"jest","test:watch":"jest --watch","test:cov":"jest --coverage","test:debug":"node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand","test:e2e":"jest --config ./test/jest-e2e.json"},"peerDependencies":{"@nestjs/common":"^9.3.3","@nestjs/core":"^9.3.3","pg-boss":"^8.4.1","reflect-metadata":"^0.1.13","rxjs":"^7.2.0"},"devDependencies":{"@nestjs/cli":"9.4.2","@nestjs/common":"9.4.0","@nestjs/core":"9.4.0","@nestjs/platform-express":"9.4.0","@nestjs/schematics":"9.1.0","@nestjs/testing":"9.4.0","@types/jest":"29.5.1","@types/node":"18.16.3","@types/supertest":"2.0.12","@typescript-eslint/eslint-plugin":"5.59.1","@typescript-eslint/parser":"5.59.1","eslint":"8.39.0","eslint-config-prettier":"8.8.0","eslint-plugin-prettier":"4.2.1","jest":"29.5.0","pg-boss":"8.4.2","prettier":"2.8.8","rxjs":"7.8.1","source-map-support":"0.5.21","supertest":"6.3.3","testcontainers":"9.6.0","ts-jest":"29.1.0","ts-loader":"9.4.2","ts-node":"10.9.1","tsconfig-paths":"4.2.0","typescript":"4.9.5"},"jest":{"moduleFileExtensions":["js","json","ts"],"rootDir":"src","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"collectCoverageFrom":["**/*.(t|j)s"],"coverageDirectory":"../coverage","testEnvironment":"node"},"types":"./dist/index.d.ts","gitHead":"98e4b86bcc0d9ee929c1ce0528f7b2e5d4a30fe4","_id":"@apricote/nest-pg-boss@1.1.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-8l0g9o98+p2x0hzLRPHCBfCSAQML6moeOXDc+T7JUfryb7Um02vQ51ILANzm9XcZAK0Slm89ZG6Lj5b7bfl4aQ==","shasum":"2cee5273b715f4998c944187c4b45c13847e4480","tarball":"https://registry.npmjs.org/@apricote/nest-pg-boss/-/nest-pg-boss-1.1.0.tgz","fileCount":37,"unpackedSize":142884,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHzOw5cKhPDOVwIM9gqHL950pzscFV3C6R+aWCuuGpHgIhAIGGDGvl5ci0X6qHxqazVx1pHx03UxS2I7t1F96aSwg+"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTSJ8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr8QhAAnLPgItEusamJ7zX5Ds7Sa/zub8ZNHScS9aFRnireuvhYlyIX\r\n1zUFJ2aIibLwBalybclY7mP+HnO9XA/9e4U6//S06pExxKzdZvXT84J0IA+Y\r\nWuZZLiVsPBvPXueindwmIhW89HltA/ZkBrNongAxaFsp/8HrasZCNk6eC4xY\r\ne/dDPpmzQOkDsQqlnHxjdOtpTBdRHoR5kc9TYAGRaWtqzcxiLQ62uDbWKp84\r\n8yjB6Swqx+xv+BeZh7jzxCRuosu3r8byBIYlT4a0XEPV1u43C0UfLMFKetTq\r\nzBMyVY2I28cMKRueelbE6e3LYUTQZnUUSNntngpN4JuG8jLDb2WzQgRcPsJD\r\nF8t+5aqQtpeFDpjp/BVyeGHDaFI+3tsPxHoWYoTBAJgjVMcmSd7EMYeulf4e\r\nCUZdJv/iFFd1bDaQDFHVD2fKKf71L4FhkEKv3DEHgg+JgCrExu6E9o6wpSU2\r\n3BqvvOqbeHi/Bk2O/ZxvFt6mF5DPxA9pw2CBfZiAkr1IRkmhWZ+pMr/3zBpn\r\nPWjsoUD1DNTqoQIgL6BAEqJvSDEG3bHBMhkJsDesPDHj4P2/PwcY4wawNw1f\r\n06YVnaWxib9Im2bCAXpL6kWXGfXohrcbVMGMFk3XOyJJl15cMdLKMcJFhtd8\r\n6yrlew1fUVQHOA0KX5wQKQ+zyZ6I0RQfs6E=\r\n=dzpY\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"apricote","email":"julian.toelle97@gmail.com"},"directories":{},"maintainers":[{"name":"apricote","email":"julian.toelle97@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nest-pg-boss_1.1.0_1682776700413_0.9534157242531498"},"_hasShrinkwrap":false},"1.2.0":{"name":"@apricote/nest-pg-boss","version":"1.2.0","description":"Use pg-boss in your NestJS app","author":{"name":"Julian Tölle","email":"julian.toelle97@gmail.com"},"license":"MIT","main":"./dist/index.js","scripts":{"build":"nest build","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\"","lint":"eslint \"{src,apps,libs,test}/**/*.ts\"","lint:fix":"eslint \"{src,apps,libs,test}/**/*.ts\" --fix","test":"jest","test:watch":"jest --watch","test:cov":"jest --coverage","test:debug":"node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand","test:e2e":"jest --config ./test/jest-e2e.json"},"peerDependencies":{"@nestjs/common":"^9.3.3","@nestjs/core":"^9.3.3","pg-boss":"^8.4.1","reflect-metadata":"^0.1.13","rxjs":"^7.2.0"},"devDependencies":{"@nestjs/cli":"9.4.2","@nestjs/common":"9.4.0","@nestjs/core":"9.4.0","@nestjs/platform-express":"9.4.0","@nestjs/schematics":"9.1.0","@nestjs/testing":"9.4.0","@types/jest":"29.5.1","@types/node":"18.16.4","@types/supertest":"2.0.12","@typescript-eslint/eslint-plugin":"5.59.2","@typescript-eslint/parser":"5.59.2","eslint":"8.39.0","eslint-config-prettier":"8.8.0","eslint-plugin-prettier":"4.2.1","jest":"29.5.0","pg-boss":"8.4.2","prettier":"2.8.8","rxjs":"7.8.1","source-map-support":"0.5.21","supertest":"6.3.3","testcontainers":"9.6.0","ts-jest":"29.1.0","ts-loader":"9.4.2","ts-node":"10.9.1","tsconfig-paths":"4.2.0","typescript":"4.9.5"},"jest":{"moduleFileExtensions":["js","json","ts"],"rootDir":"src","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"collectCoverageFrom":["**/*.(t|j)s"],"coverageDirectory":"../coverage","testEnvironment":"node"},"types":"./dist/index.d.ts","gitHead":"fbf75306058f050f10cfd63725d695f68a5d243f","_id":"@apricote/nest-pg-boss@1.2.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-giI4S8mOaV6BXBjnj7ifllTxQKdeuBri5hkeniKDpA/DWs+GvTH+LjpdyzfBbHQE1S090SCtkiPm4kN5z06B4Q==","shasum":"087468d4a14be4873e61b585cd3ed6f5f642f501","tarball":"https://registry.npmjs.org/@apricote/nest-pg-boss/-/nest-pg-boss-1.2.0.tgz","fileCount":37,"unpackedSize":143377,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZ3tRoJA3+v8UeNRUUdZTZLd8mg2tShgIW56eGUFADQwIgDDdbvXS7WlKAhzQfX3w477bFGRJjgoWYCftZcN2m1c4="}]},"_npmUser":{"name":"apricote","email":"julian.toelle97@gmail.com"},"directories":{},"maintainers":[{"name":"apricote","email":"julian.toelle97@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nest-pg-boss_1.2.0_1683303959557_0.9570119696971704"},"_hasShrinkwrap":false},"2.0.0":{"name":"@apricote/nest-pg-boss","version":"2.0.0","description":"Use pg-boss in your NestJS app","author":{"name":"Julian Tölle","email":"julian.toelle97@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/apricote/nest-pg-boss.git"},"bugs":{"url":"https://github.com/apricote/nest-pg-boss/issues"},"main":"./dist/index.js","scripts":{"build":"nest build","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\"","lint":"eslint \"{src,apps,libs,test}/**/*.ts\"","lint:fix":"eslint \"{src,apps,libs,test}/**/*.ts\" --fix","test":"jest","test:watch":"jest --watch","test:cov":"jest --coverage","test:debug":"node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand","test:e2e":"jest --config ./test/jest-e2e.json"},"peerDependencies":{"@nestjs/common":"^9.3.3","@nestjs/core":"^9.3.3","pg-boss":"^8.4.1 || ^9.0.0","reflect-metadata":"^0.1.13","rxjs":"^7.2.0"},"devDependencies":{"@nestjs/cli":"9.4.2","@nestjs/common":"9.4.0","@nestjs/core":"9.4.0","@nestjs/platform-express":"9.4.0","@nestjs/schematics":"9.1.0","@nestjs/testing":"9.4.0","@types/jest":"29.5.1","@types/node":"18.16.5","@types/supertest":"2.0.12","@typescript-eslint/eslint-plugin":"5.59.2","@typescript-eslint/parser":"5.59.2","eslint":"8.40.0","eslint-config-prettier":"8.8.0","eslint-plugin-prettier":"4.2.1","jest":"29.5.0","pg-boss":"9.0.0","prettier":"2.8.8","rxjs":"7.8.1","source-map-support":"0.5.21","supertest":"6.3.3","testcontainers":"9.6.0","ts-jest":"29.1.0","ts-loader":"9.4.2","ts-node":"10.9.1","tsconfig-paths":"4.2.0","typescript":"5.0.4"},"jest":{"moduleFileExtensions":["js","json","ts"],"rootDir":"src","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"collectCoverageFrom":["**/*.(t|j)s"],"coverageDirectory":"../coverage","testEnvironment":"node"},"types":"./dist/index.d.ts","gitHead":"4551d58a1a1f26b0401ccf823ecf7a212415fda8","homepage":"https://github.com/apricote/nest-pg-boss#readme","_id":"@apricote/nest-pg-boss@2.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-NpxxZO45CL8dwfW8IXr+Wynzt1Sh3xhFhAGyuCkxeGswsH3w7bY+gPV62ojlkNAAMMGNlb3PsLU4i94xT7i3Ug==","shasum":"5522e7e4d37f7a9161dbc15486a02a4d575adeca","tarball":"https://registry.npmjs.org/@apricote/nest-pg-boss/-/nest-pg-boss-2.0.0.tgz","fileCount":37,"unpackedSize":144601,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEOlCVrCeiFCs/24Suk9c/pmrSyHHr/fBgMQe3aMdzWAIhAJCEEcMN1mpq+Gv4YzBXE0Ms6Xosec5VB0wiBhhSY4KT"}]},"_npmUser":{"name":"apricote","email":"julian.toelle97@gmail.com"},"directories":{},"maintainers":[{"name":"apricote","email":"julian.toelle97@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nest-pg-boss_2.0.0_1683378155383_0.7681506477198645"},"_hasShrinkwrap":false},"2.1.0":{"name":"@apricote/nest-pg-boss","version":"2.1.0","description":"Use pg-boss in your NestJS app","author":{"name":"Julian Tölle","email":"julian.toelle97@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/apricote/nest-pg-boss.git"},"bugs":{"url":"https://github.com/apricote/nest-pg-boss/issues"},"main":"./dist/index.js","scripts":{"build":"nest build","format":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\"","lint":"eslint \"{src,apps,libs,test}/**/*.ts\"","lint:fix":"eslint \"{src,apps,libs,test}/**/*.ts\" --fix","test":"jest","test:watch":"jest --watch","test:cov":"jest --coverage","test:debug":"node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand","test:e2e":"jest --config ./test/jest-e2e.json"},"peerDependencies":{"@nestjs/common":"^9.3.3 || ^10.0.0","@nestjs/core":"^9.3.3 || ^10.0.0","pg-boss":"^8.4.1 || ^9.0.0","reflect-metadata":"^0.1.13","rxjs":"^7.2.0"},"devDependencies":{"@nestjs/cli":"10.1.17","@nestjs/common":"10.2.5","@nestjs/core":"10.2.5","@nestjs/platform-express":"10.2.5","@nestjs/schematics":"10.0.2","@nestjs/testing":"10.2.5","@types/jest":"29.5.5","@types/node":"20.6.2","@types/supertest":"2.0.12","@typescript-eslint/eslint-plugin":"6.7.0","@typescript-eslint/parser":"6.7.0","eslint":"8.49.0","eslint-config-prettier":"9.0.0","eslint-plugin-prettier":"5.0.0","jest":"29.7.0","pg-boss":"9.0.3","prettier":"3.0.3","rxjs":"7.8.1","source-map-support":"0.5.21","supertest":"6.3.3","@testcontainers/postgresql":"10.2.1","ts-jest":"29.1.1","ts-loader":"9.4.4","ts-node":"10.9.1","tsconfig-paths":"4.2.0","typescript":"5.2.2"},"jest":{"moduleFileExtensions":["js","json","ts"],"rootDir":"src","testRegex":".*\\.spec\\.ts$","transform":{"^.+\\.(t|j)s$":"ts-jest"},"collectCoverageFrom":["**/*.(t|j)s"],"coverageDirectory":"../coverage","testEnvironment":"node"},"types":"./dist/index.d.ts","gitHead":"8ea96145678fbf9774d81f8a27e03d660ae90e02","homepage":"https://github.com/apricote/nest-pg-boss#readme","_id":"@apricote/nest-pg-boss@2.1.0","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-Hdpdw9fG5aHyQp0x6wd/8foThdfRUB8/rAmtgt/bIgusxULY0XdS8KoYYu2hzRXdur1GFQ4Q0+u539t3DaJClw==","shasum":"09a3fd90c5e485ad597f2e2347ef45f0629cea9f","tarball":"https://registry.npmjs.org/@apricote/nest-pg-boss/-/nest-pg-boss-2.1.0.tgz","fileCount":37,"unpackedSize":144331,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaVTkVgMvFDH7RwyZUuy+ZlaS4oXlaPXX8Y4PH7wYliQIhALrrNtvQxYxoOyy+rA3jcjk+C4RVC8W9HIvCz2GlUXjD"}]},"_npmUser":{"name":"apricote","email":"julian.toelle97@gmail.com"},"directories":{},"maintainers":[{"name":"apricote","email":"julian.toelle97@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nest-pg-boss_2.1.0_1694858766693_0.6640692291339141"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-06T08:17:02.194Z","0.0.1":"2023-03-06T08:17:02.630Z","modified":"2023-09-16T10:06:07.117Z","1.0.0":"2023-03-06T08:22:05.376Z","1.1.0":"2023-04-29T13:58:20.648Z","1.2.0":"2023-05-05T16:25:59.795Z","2.0.0":"2023-05-06T13:02:35.606Z","2.1.0":"2023-09-16T10:06:06.947Z"},"maintainers":[{"name":"apricote","email":"julian.toelle97@gmail.com"}],"description":"Use pg-boss in your NestJS app","author":{"name":"Julian Tölle","email":"julian.toelle97@gmail.com"},"license":"MIT","readme":"# `@apricote/nest-pg-boss`\n\n<p align=\"center\">\n    Use <a href=\"https://github.com/timgit/pg-boss\" target=\"_blank\">pg-boss</a> in your Nest.js service!\n<p align=\"center\">\n\n<p align=\"center\">\n    <a href=\"https://www.npmjs.com/package/@apricote/nest-pg-boss\" target=\"_blank\"><img src=\"https://img.shields.io/npm/v/@apricote/nest-pg-boss.svg\" alt=\"NPM Version\"/></a>\n    <a href=\"https://www.npmjs.com/package/@apricote/nest-pg-boss\" target=\"_blank\"><img src=\"https://img.shields.io/npm/l/@apricote/nest-pg-boss.svg\" alt=\"Package License\"/></a>\n    <a href=\"https://www.npmjs.com/package/@apricote/nest-pg-boss\" target=\"_blank\"><img src=\"https://img.shields.io/npm/dm/@apricote/nest-pg-boss.svg\" alt=\"NPM Downloads\"/></a>\n    <a href=\"https://github.com/apricote/nest-pg-boss/actions?query=workflow%3A%22CI%22\" target=\"_blank\"><img src=\"https://img.shields.io/github/actions/workflow/status/apricote/nest-pg-boss/ci.yaml?branch=main\" alt=\"CI Status\"/></a>\n</p>\n\n## Installation\n\n```bash\nnpm install @apricote/nest-pg-boss\n```\n\n## Usage\n\n### Setup\n\nTo begin using `@apricote/nest-pg-boss`, initialize the root module:\n\n```ts\nimport { PGBossModule } from \"@apricote/nest-pg-boss\";\n\n// app.module.ts\n@Module({\n  imports: [\n    PGBossModule.forRootAsync({\n      application_name: \"default\",\n      useFactory: (config: ConfigService) => ({\n        // Connection details\n        host: config.get<string>(\"DB_HOST\"),\n        user: config.get<string>(\"DB_USERNAME\"),\n        password: config.get<string>(\"DB_PASSWORD\"),\n        database: config.get<string>(\"DB_DATABASE\"),\n        schema: \"public\",\n        max: config.get<number>(\"DB_POOL_MAX\"),\n      }),\n      inject: [ConfigService],\n    }),\n  ],\n})\nexport class AppModule {}\n```\n\nFor a list of available settings, check out the [pg-boss docs](https://github.com/timgit/pg-boss/blob/master/docs/readme.md#newoptions).\n\n### Jobs\n\n```typescript\n// jobs.ts\nimport { createJob } from \"@apricote/nest-pg-boss\"\n\ninterface IFoobarJobData {\n  foo: string\n  bar: boolean\n}\n\nconst FoobarJob = createJob<IFoobarJobData>(\"foobar\")\n```\n\n#### Create new Jobs\n\n```typescript\n// module.ts\nimport { PGBossModule } from \"@apricote/nest-pg-boss\";\nimport { FoobarService } from \"./service.ts\";\n\n@Module({\n  imports: PGBossModule.forJobs([FoobarJob]),\n  providers: [FoobarService]\n})\nclass FoobarModule {}\n\n```\n\n```typescript\n// service.ts\nimport { JobService } from \"@apricote/nest-pg-boss\";\nimport { FoobarJob, IFoobarJobData } from \"./jobs.ts\";\n\n@Injectable()\nclass FoobarService {\n  constructor(\n    @FoobarJob.Inject()\n    private readonly foobarJobService: JobService<IFoobarJobData>,\n  ) {}\n\n  async sendJob() {\n    await this.foobarJobService.send({ foo: \"oof\", bar: true }, {});\n  }\n}\n```\n\n#### Process Jobs\n\nJobs can be processed by using the `@FoobarJob.Handle()` decorator.\n\n```typescript\n// service.ts\n@Injectable()\nclass FoobarService {\n  /* ... */\n\n  @FoobarJob.Handle()\n  async handleJob(job: Job<FoobarJobData>) {\n    // do something\n  }\n}\n```\n\nYou can optionally pass an object with [WorkOptions](https://github.com/timgit/pg-boss/blob/1f541263a906781efaf607f539340c9609db77df/types.d.ts#L119) to `.Handle()`:\n\n```typescript\n@FoobarJob.Handle({ teamSize: 10, teamConcurrency: 2 })\n```\n\n## Test\n\n```bash\n# unit tests\n$ npm run test\n\n# e2e tests\n$ npm run test:e2e\n\n# test coverage\n$ npm run test:cov\n```\n\n## License\n\n`@apricote/nest-pg-boss` is [MIT licensed](LICENSE).\n","readmeFilename":"README.md","homepage":"https://github.com/apricote/nest-pg-boss#readme","repository":{"type":"git","url":"git+https://github.com/apricote/nest-pg-boss.git"},"bugs":{"url":"https://github.com/apricote/nest-pg-boss/issues"}}