{"_id":"@c11/documents-store-pgmq-nestjs","_rev":"8-2f5a522402d00950b60479b5f235aaf4","name":"@c11/documents-store-pgmq-nestjs","dist-tags":{"latest":"1.2.1"},"versions":{"1.0.0":{"name":"@c11/documents-store-pgmq-nestjs","version":"1.0.0","author":{"name":"Radu Cocieru","email":"radu@code11.com"},"license":"PRIVATE","_id":"@c11/documents-store-pgmq-nestjs@1.0.0","maintainers":[{"name":"code11-dev","email":"platform-ops@code11.com"}],"homepage":"https://github.com/code11/documents-store-pgmq-nestjs#readme","bugs":{"url":"https://github.com/code11/documents-store-pgmq-nestjs/issues"},"dist":{"shasum":"ffa17fbd8a5615dcf6d95f964c9b8f510a591fbc","tarball":"https://registry.npmjs.org/@c11/documents-store-pgmq-nestjs/-/documents-store-pgmq-nestjs-1.0.0.tgz","fileCount":22,"integrity":"sha512-KGZ3tIoY/W88Zv62AjyZL6/XqQYUre/JHA49ZXMHUod6N0bdW/HiK6AhilwbewyeIdIEIo6fdbCrCZNURQ+Zlg==","signatures":[{"sig":"MEUCIQCEpdn89wLg+nOnRxkjloCX07i4nLW2LWxtmpd6B46jPgIgDMyH48kc3UeV+P26Frk1gSyq4qMz0gEcgTtMDFxUe8c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16656},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"0bc0ee180df79139ead745f8954ce0e206186257","scripts":{"build":"tsc -p tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"code11-dev","email":"platform-ops@code11.com"},"repository":{"url":"git+ssh://git@github.com/code11/documents-store-pgmq-nestjs.git","type":"git"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.20.0","publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"typeorm":"^0.3.0","typescript":"^5.0.0","@nestjs/core":"^11.0.0","@nestjs/common":"^11.0.0","@nestjs/typeorm":"^11.0.0"},"peerDependencies":{"typeorm":"^0.3.0","@nestjs/core":"^10.0.0 || ^11.0.0","@nestjs/common":"^10.0.0 || ^11.0.0","@nestjs/typeorm":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/documents-store-pgmq-nestjs_1.0.0_1771951011616_0.7084597981000782","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@c11/documents-store-pgmq-nestjs","version":"1.0.1","author":{"name":"Radu Cocieru","email":"radu@code11.com"},"license":"PRIVATE","_id":"@c11/documents-store-pgmq-nestjs@1.0.1","maintainers":[{"name":"code11-dev","email":"platform-ops@code11.com"}],"homepage":"https://github.com/code11/documents-store-pgmq-nestjs#readme","bugs":{"url":"https://github.com/code11/documents-store-pgmq-nestjs/issues"},"dist":{"shasum":"de0ebfabf62bc2bf7f27710e1a951a95683ca208","tarball":"https://registry.npmjs.org/@c11/documents-store-pgmq-nestjs/-/documents-store-pgmq-nestjs-1.0.1.tgz","fileCount":22,"integrity":"sha512-ZCch7OpbJUlHECUHdPvgCPddYW6IMTEVLBZfyN7A+KRGbRfdLMSRlIjsb0o4qgx6AUa0WGV/HpNdLloR/uKRzA==","signatures":[{"sig":"MEYCIQDXQ+9SjJ63aKjIgl1ravurCKAek8QXB40dfTEYWzPw+wIhAOz0LOHs4NXTctRlFGRRZBZvZW2jDNO+QXsToGVvM4dp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17553},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"069a34f29b0c5832b63a5204366e670348e9fa3e","scripts":{"build":"tsc -p tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"code11-dev","email":"platform-ops@code11.com"},"repository":{"url":"git+ssh://git@github.com/code11/documents-store-pgmq-nestjs.git","type":"git"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.20.0","publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"typeorm":"^0.3.0","typescript":"^5.0.0","@nestjs/core":"^11.0.0","@nestjs/common":"^11.0.0","@nestjs/typeorm":"^11.0.0"},"peerDependencies":{"typeorm":"^0.3.0","@nestjs/core":"^10.0.0 || ^11.0.0","@nestjs/common":"^10.0.0 || ^11.0.0","@nestjs/typeorm":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/documents-store-pgmq-nestjs_1.0.1_1772363835410_0.7725019994548845","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@c11/documents-store-pgmq-nestjs","version":"1.0.2","author":{"name":"Radu Cocieru","email":"radu@code11.com"},"license":"PRIVATE","_id":"@c11/documents-store-pgmq-nestjs@1.0.2","maintainers":[{"name":"code11-dev","email":"platform-ops@code11.com"}],"homepage":"https://github.com/code11/documents-store-pgmq-nestjs#readme","bugs":{"url":"https://github.com/code11/documents-store-pgmq-nestjs/issues"},"dist":{"shasum":"5bb704ff4270d157a3c5d733a034f5c8fa66e6df","tarball":"https://registry.npmjs.org/@c11/documents-store-pgmq-nestjs/-/documents-store-pgmq-nestjs-1.0.2.tgz","fileCount":22,"integrity":"sha512-8fAG4ELJrtTzaOcr97GNdq1OGpm8MBioKlMpzNO5A/VCJ05qZcu8AMyQok8bncN8FPwB/WjoK1wk87fD0fOIjQ==","signatures":[{"sig":"MEUCICzwO727549fI6VAmyyb3oop+lzbuP+sjwT2E6TuQGTLAiEAwVLZ/IrZY/5+9XxhcTmpeTwLs4LPEafKfKcK5qiSdos=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17596},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"91a0c639216dd732d5df4bf1798ef52951c805a0","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"code11-dev","email":"platform-ops@code11.com"},"repository":{"url":"git+ssh://git@github.com/code11/documents-store-pgmq-nestjs.git","type":"git"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.20.0","publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typeorm":"^0.3.0","typescript":"^5.0.0","@nestjs/core":"^11.0.0","@nestjs/common":"^11.0.0","@nestjs/typeorm":"^11.0.0","@vitest/coverage-v8":"^4.0.18"},"peerDependencies":{"typeorm":"^0.3.0","@nestjs/core":"^10.0.0 || ^11.0.0","@nestjs/common":"^10.0.0 || ^11.0.0","@nestjs/typeorm":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/documents-store-pgmq-nestjs_1.0.2_1773484943298_0.39333606324022985","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@c11/documents-store-pgmq-nestjs","version":"1.0.3","author":{"name":"Radu Cocieru","email":"radu@code11.com"},"license":"PRIVATE","_id":"@c11/documents-store-pgmq-nestjs@1.0.3","maintainers":[{"name":"code11-dev","email":"platform-ops@code11.com"}],"homepage":"https://github.com/code11/documents-store-pgmq-nestjs#readme","bugs":{"url":"https://github.com/code11/documents-store-pgmq-nestjs/issues"},"dist":{"shasum":"0c690b75204139029409880bb57b07f7a62c2978","tarball":"https://registry.npmjs.org/@c11/documents-store-pgmq-nestjs/-/documents-store-pgmq-nestjs-1.0.3.tgz","fileCount":22,"integrity":"sha512-8k3VkiG2dnqjZ3jo7PB4SijKBkpMqGIMbf1l71c7vzWm9spszlW/RxtgSgm3gZU4zWa0ea/aG836uqFis+0zqg==","signatures":[{"sig":"MEUCIQCX3u+FyAYYjXhv26m7RH5XZeS0NTj4gSDd1CTy8m1TpwIgTTbaB5Mbem7s9JJZ4Njg5F5qz2qF0r3lH7wgQ8M8h+8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19172},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"7b37e8879c21645f6bfcc206759ad3ed666264f1","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"code11-dev","email":"platform-ops@code11.com"},"repository":{"url":"git+ssh://git@github.com/code11/documents-store-pgmq-nestjs.git","type":"git"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.20.1","publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typeorm":"^0.3.0","typescript":"^5.0.0","@nestjs/core":"^11.0.0","@nestjs/common":"^11.0.0","@nestjs/typeorm":"^11.0.0","@vitest/coverage-v8":"^4.0.18"},"peerDependencies":{"typeorm":"^0.3.0","@nestjs/core":"^10.0.0 || ^11.0.0","@nestjs/common":"^10.0.0 || ^11.0.0","@nestjs/typeorm":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/documents-store-pgmq-nestjs_1.0.3_1773486933723_0.39820710431780815","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@c11/documents-store-pgmq-nestjs","version":"1.0.4","author":{"name":"Radu Cocieru","email":"radu@code11.com"},"license":"PRIVATE","_id":"@c11/documents-store-pgmq-nestjs@1.0.4","maintainers":[{"name":"code11-dev","email":"platform-ops@code11.com"}],"homepage":"https://github.com/code11/documents-store-pgmq-nestjs#readme","bugs":{"url":"https://github.com/code11/documents-store-pgmq-nestjs/issues"},"dist":{"shasum":"5d113aa551e18c548af43a39740df91682787c71","tarball":"https://registry.npmjs.org/@c11/documents-store-pgmq-nestjs/-/documents-store-pgmq-nestjs-1.0.4.tgz","fileCount":22,"integrity":"sha512-kZiiQAZmcMgJJbigbvHXGvAvcc2hN6yHsJMfhjXYrGBhPAYBHD7dfJWAZ/KjjPkkTmdLKcpNFg2PzzHQpzexvA==","signatures":[{"sig":"MEUCIQDs8l77j+uSz+6LEQGPvZaksRRudIfZRBuoJlIV2WeLawIgcnXE60bB6/4TNYSEPhOGgZl8OqaKY3W4KyVfZ0BJiCo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19611},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"320cd018e1c485a14f58d4f3c82c9cc7d849537b","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"code11-dev","email":"platform-ops@code11.com"},"repository":{"url":"git+ssh://git@github.com/code11/documents-store-pgmq-nestjs.git","type":"git"},"_npmVersion":"10.8.2","directories":{},"_nodeVersion":"20.20.1","publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typeorm":"^0.3.0","typescript":"^5.0.0","@types/node":"^25.5.0","@nestjs/core":"^11.0.0","@nestjs/common":"^11.0.0","@nestjs/typeorm":"^11.0.0","@vitest/coverage-v8":"^4.0.18"},"peerDependencies":{"typeorm":"^0.3.0","@nestjs/core":"^10.0.0 || ^11.0.0","@nestjs/common":"^10.0.0 || ^11.0.0","@nestjs/typeorm":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/documents-store-pgmq-nestjs_1.0.4_1773496320818_0.3896554576097806","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@c11/documents-store-pgmq-nestjs","version":"1.1.0","author":{"name":"Radu Cocieru","email":"radu@code11.com"},"license":"PRIVATE","_id":"@c11/documents-store-pgmq-nestjs@1.1.0","maintainers":[{"name":"code11-dev","email":"platform-ops@code11.com"}],"homepage":"https://github.com/code11/documents-store-pgmq-nestjs#readme","bugs":{"url":"https://github.com/code11/documents-store-pgmq-nestjs/issues"},"dist":{"shasum":"39e742e3490400142670566d1051357a8187fda4","tarball":"https://registry.npmjs.org/@c11/documents-store-pgmq-nestjs/-/documents-store-pgmq-nestjs-1.1.0.tgz","fileCount":25,"integrity":"sha512-KL9qBsV15u1JQXgYrf0vZsEo2relymUww7mGeNLlhhVfmtW5MNVkpnAkLt7Ie3XnlSQNUH2uyhdEFRgRswcOnw==","signatures":[{"sig":"MEUCIERRKJhWNYAPeSLidb35BijAErOvDYoO2hwzXPX1avucAiEAsczmMPh3msQMfw508zcE5bYYGZJBDVW7FDTIZCZdmjY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40562},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"393e87584851da5f081abd4f09033e755ca94d90","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"code11-dev","email":"platform-ops@code11.com"},"repository":{"url":"git+ssh://git@github.com/code11/documents-store-pgmq-nestjs.git","type":"git"},"_npmVersion":"10.8.2","description":"NestJS library providing a document store backed by PostgreSQL + [pgmq](https://github.com/tembo-io/pgmq). When a document is inserted, a routing event is published to a pgmq topic in the same database transaction — commit delivers the message, rollback s","directories":{},"_nodeVersion":"20.20.1","publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typeorm":"^0.3.0","typescript":"^5.0.0","@types/node":"^25.5.0","@nestjs/core":"^11.0.0","@nestjs/common":"^11.0.0","@nestjs/typeorm":"^11.0.0","@vitest/coverage-v8":"^4.0.18"},"peerDependencies":{"typeorm":"^0.3.0","@nestjs/core":"^10.0.0 || ^11.0.0","@nestjs/common":"^10.0.0 || ^11.0.0","@nestjs/typeorm":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/documents-store-pgmq-nestjs_1.1.0_1774108789980_0.8950401757036299","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@c11/documents-store-pgmq-nestjs","version":"1.2.0","author":{"name":"Radu Cocieru","email":"radu@code11.com"},"license":"PRIVATE","_id":"@c11/documents-store-pgmq-nestjs@1.2.0","maintainers":[{"name":"code11-dev","email":"platform-ops@code11.com"}],"homepage":"https://github.com/code11/documents-store-pgmq-nestjs#readme","bugs":{"url":"https://github.com/code11/documents-store-pgmq-nestjs/issues"},"dist":{"shasum":"975f5892573c0c2a17f3eab59320e39d838901b9","tarball":"https://registry.npmjs.org/@c11/documents-store-pgmq-nestjs/-/documents-store-pgmq-nestjs-1.2.0.tgz","fileCount":25,"integrity":"sha512-xv9Bipe4yX8ACDeD5EoYiEYJGdlmfvr9lAZb7bIo6ZHBxAP3MrRupCTt2HiLO0xSrRb5ZN9F5ECQutkv7xrgBg==","signatures":[{"sig":"MEYCIQCaCEKrQa+9ZacZAfb5WTv2dB/Bh2F+4dh46dzv81VL5gIhALYFlCHkoK044Yc1NajYzEJITctn8d7hbpDyknvujzUP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41476},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"92871c35c66aaf3eeed075c0e5090e78539f535b","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"code11-dev","email":"platform-ops@code11.com"},"repository":{"url":"git+ssh://git@github.com/code11/documents-store-pgmq-nestjs.git","type":"git"},"_npmVersion":"10.8.2","description":"NestJS library providing a document store backed by PostgreSQL + [pgmq](https://github.com/tembo-io/pgmq). When a document is inserted, a routing event is published to a pgmq topic in the same database transaction — commit delivers the message, rollback s","directories":{},"_nodeVersion":"20.20.1","publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.18","typeorm":"^0.3.0","typescript":"^5.0.0","@types/node":"^25.5.0","@nestjs/core":"^11.0.0","@nestjs/common":"^11.0.0","@nestjs/typeorm":"^11.0.0","@vitest/coverage-v8":"^4.0.18"},"peerDependencies":{"typeorm":"^0.3.0","@nestjs/core":"^10.0.0 || ^11.0.0","@nestjs/common":"^10.0.0 || ^11.0.0","@nestjs/typeorm":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/documents-store-pgmq-nestjs_1.2.0_1774198297403_0.3382999746616355","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@c11/documents-store-pgmq-nestjs","version":"1.2.1","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.js","scripts":{"build":"tsc -p tsconfig.build.json","prepublishOnly":"npm run build","test":"vitest run","test:watch":"vitest"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"peerDependencies":{"@nestjs/common":"^10.0.0 || ^11.0.0","@nestjs/core":"^10.0.0 || ^11.0.0","@nestjs/typeorm":"^10.0.0 || ^11.0.0","typeorm":"^0.3.0"},"devDependencies":{"@nestjs/common":"^11.0.0","@nestjs/core":"^11.0.0","@nestjs/typeorm":"^11.0.0","@types/node":"^25.5.0","@vitest/coverage-v8":"^4.0.18","typeorm":"^0.3.0","typescript":"^5.0.0","vitest":"^4.0.18"},"publishConfig":{"registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+ssh://git@github.com/code11/documents-store-pgmq-nestjs.git"},"author":{"name":"Radu Cocieru","email":"radu@code11.com"},"license":"PRIVATE","_id":"@c11/documents-store-pgmq-nestjs@1.2.1","gitHead":"88dbdb7c83318c26dedfce0d4691dfb8917746f9","description":"NestJS library providing a document store backed by PostgreSQL + [pgmq](https://github.com/tembo-io/pgmq). When a document is inserted, a routing event is published to a pgmq topic in the same database transaction — commit delivers the message, rollback s","bugs":{"url":"https://github.com/code11/documents-store-pgmq-nestjs/issues"},"homepage":"https://github.com/code11/documents-store-pgmq-nestjs#readme","_nodeVersion":"20.20.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-N6dGNov9MnJlSX0FRrK5AmhQ3g9rjIVso25fCgLb1gvS7G/1WDY7zUpAhoCwLhi3X8s+f5BJjOg800Xl1AVDpQ==","shasum":"ed8e05b97d4e8ef1a9759abd9b099110c1bef02b","tarball":"https://registry.npmjs.org/@c11/documents-store-pgmq-nestjs/-/documents-store-pgmq-nestjs-1.2.1.tgz","fileCount":25,"unpackedSize":41385,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCh3L+6ksH6bXFTcZxhyoytTbFOvuuAYWfzdkYx9zYBawIgZ4OORbt47lCd6+JBvYYBuBQhCZUwdgHBLbGiIxhR1tw="}]},"_npmUser":{"name":"code11-dev","email":"platform-ops@code11.com"},"directories":{},"maintainers":[{"name":"code11-dev","email":"platform-ops@code11.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/documents-store-pgmq-nestjs_1.2.1_1774198646638_0.46197029964778324"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-24T16:36:51.427Z","modified":"2026-03-22T16:57:27.003Z","1.0.0":"2026-02-24T16:36:51.781Z","1.0.1":"2026-03-01T11:17:15.578Z","1.0.2":"2026-03-14T10:42:23.470Z","1.0.3":"2026-03-14T11:15:33.879Z","1.0.4":"2026-03-14T13:52:00.967Z","1.1.0":"2026-03-21T15:59:50.102Z","1.2.0":"2026-03-22T16:51:37.559Z","1.2.1":"2026-03-22T16:57:26.825Z"},"bugs":{"url":"https://github.com/code11/documents-store-pgmq-nestjs/issues"},"author":{"name":"Radu Cocieru","email":"radu@code11.com"},"license":"PRIVATE","homepage":"https://github.com/code11/documents-store-pgmq-nestjs#readme","repository":{"type":"git","url":"git+ssh://git@github.com/code11/documents-store-pgmq-nestjs.git"},"description":"NestJS library providing a document store backed by PostgreSQL + [pgmq](https://github.com/tembo-io/pgmq). When a document is inserted, a routing event is published to a pgmq topic in the same database transaction — commit delivers the message, rollback s","maintainers":[{"name":"code11-dev","email":"platform-ops@code11.com"}],"readme":"# @c11/documents-store-pgmq-nestjs\n\nNestJS library providing a document store backed by PostgreSQL + [pgmq](https://github.com/tembo-io/pgmq). When a document is inserted, a routing event is published to a pgmq topic in the same database transaction — commit delivers the message, rollback suppresses it.\n\n## Installation\n\n```bash\nnpm install @c11/documents-store-pgmq-nestjs\n```\n\n## Peer dependencies\n\n| Package | Version |\n|---------|---------|\n| `@nestjs/common` | `^10.0.0 \\|\\| ^11.0.0` |\n| `@nestjs/core` | `^10.0.0 \\|\\| ^11.0.0` |\n| `@nestjs/typeorm` | `^10.0.0 \\|\\| ^11.0.0` |\n| `typeorm` | `^0.3.0` |\n\n## Quick start\n\n**1. Define a document entity**\n\n```typescript\n// order.document.ts\nimport { Entity, Column } from \"typeorm\";\nimport { BaseDocumentEntity } from \"@c11/documents-store-pgmq-nestjs\";\n\n@Entity({ name: \"orders\", schema: \"documents\" })\nexport class OrderDocument extends BaseDocumentEntity {\n  @Column(\"varchar\", { length: 255 })\n  status: string;\n}\n```\n\n**2. Register the module**\n\n```typescript\n// app.module.ts\nimport { DocumentStoreModule } from \"@c11/documents-store-pgmq-nestjs\";\n\n@Module({\n  imports: [\n    // forRootAsync: call ONCE in the root AppModule; synchronous despite the name\n    DocumentStoreModule.forRootAsync(\"my-app\"),\n\n    // forFeature: register entities — can go in root or any feature module\n    DocumentStoreModule.forFeature([OrderDocument]),\n  ],\n})\nexport class AppModule {}\n```\n\n**3. Inject the service and insert a document**\n\n```typescript\n// order.service.ts\nimport { DocumentStoreService } from \"@c11/documents-store-pgmq-nestjs\";\n\n@Injectable()\nexport class OrderService {\n  constructor(private readonly store: DocumentStoreService) {}\n\n  async create(namespace: string, status: string): Promise<OrderDocument> {\n    const order = this.store.create(OrderDocument, { namespace, type: \"order\", status });\n    return this.store.insert(order); // persists + publishes atomically\n  }\n}\n```\n\n## LLM / Agent reference\n\n> If you are an AI coding assistant (Claude, Copilot, Cursor, etc.), this package ships\n> two machine-readable reference files alongside the compiled output:\n>\n> - **`llms.txt`** — concise API signatures and constraints (~120 lines, no examples)\n> - **`llms-full.txt`** — full reference with annotated TypeScript examples\n>\n> Path in your project: `node_modules/@c11/documents-store-pgmq-nestjs/llms.txt`\n>\n> Read these files instead of scanning the compiled source.\n\n## License\n\nPRIVATE\n","readmeFilename":"README.md"}