{"_id":"@timescaledb/typeorm","_rev":"10-ad56e38eb927cd02eeeb9bca57461420","name":"@timescaledb/typeorm","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.0-alpha.0":{"name":"@timescaledb/typeorm","version":"0.0.0-alpha.0","keywords":["timescaledb","timeseries","database","typescript","typeorm","orm","plugin","integration","adapter","wrapper"],"author":{"name":"Timescale"},"license":"MIT","_id":"@timescaledb/typeorm@0.0.0-alpha.0","maintainers":[{"name":"danstarns","email":"danielstarns@hotmail.com"}],"homepage":"https://github.com/timescale/timescaledb-ts","bugs":{"url":"https://github.com/timescale/timescaledb-ts/issues"},"dist":{"shasum":"d32f0588d4a7d727d00e65062ab06e9caaaf037b","tarball":"https://registry.npmjs.org/@timescaledb/typeorm/-/typeorm-0.0.0-alpha.0.tgz","fileCount":23,"integrity":"sha512-vsgKkVku+3ubjmEDE9s1q3LhklFKzTIfgwKxnti8oHs+JYNdIgL93I2yCdVMcIpEMGZgrOqXaOD28AzQT22laQ==","signatures":[{"sig":"MEQCID9Gq3snj0HCe063yhNOHVY9GLFx5zQ3LMERYw7uWAucAiAbTAXJDud8WjpVZvHckUYWtpzloYy79EQJsKnewzishw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31256},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"87a6cd59355dc7ba885b335e375cf085724ef404","scripts":{"build":"tsc"},"_npmUser":{"name":"danstarns","email":"danielstarns@hotmail.com"},"repository":{"url":"git+https://github.com/timescale/timescaledb-ts.git","type":"git"},"_npmVersion":"10.9.2","description":"This is the official TimescaleDB plugin for TypeORM.","directories":{},"_nodeVersion":"22.13.0","dependencies":{"typeorm":"^0.3.20","reflect-metadata":"^0.2.2","@timescaledb/core":"workspace:^","@timescaledb/schemas":"workspace:^"},"typesVersions":{"*":{"*":["src/*"]}},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/typeorm_0.0.0-alpha.0_1737946968295_0.9863747714419104","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.1":{"name":"@timescaledb/typeorm","version":"0.0.0-alpha.1","keywords":["timescaledb","timeseries","database","typescript","typeorm","orm","plugin","integration","adapter","wrapper"],"author":{"name":"Timescale"},"license":"MIT","_id":"@timescaledb/typeorm@0.0.0-alpha.1","maintainers":[{"name":"danstarns","email":"danielstarns@hotmail.com"}],"homepage":"https://github.com/timescale/timescaledb-ts","bugs":{"url":"https://github.com/timescale/timescaledb-ts/issues"},"dist":{"shasum":"5e64bb0c12fab38dc4041f2772c3ad1b8828c3a6","tarball":"https://registry.npmjs.org/@timescaledb/typeorm/-/typeorm-0.0.0-alpha.1.tgz","fileCount":24,"integrity":"sha512-en182jkGBWKmeDJIeAbZJT3PiprO+FMZHrwiN5MbfzP3CLprNGns0kl1TkSm8rxgeBtCVKLceJ3BDcNHrn4+WA==","signatures":[{"sig":"MEYCIQC20XkdNKStEgkf5DAss6OQTJEkDyikRnpMHGOTZ79rpAIhAM7PbFa0ju8+P6FDEVKr/nKx8F3xETg8KOxgtdZHuw7L","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32325},"main":"dist/index.js","_from":"file:timescaledb-typeorm-0.0.0-alpha.1.tgz","types":"dist/index.d.ts","scripts":{"build":"tsc"},"_npmUser":{"name":"danstarns","email":"danielstarns@hotmail.com"},"_resolved":"/tmp/d688407ce7e1363c552c8896f53c0592/timescaledb-typeorm-0.0.0-alpha.1.tgz","_integrity":"sha512-en182jkGBWKmeDJIeAbZJT3PiprO+FMZHrwiN5MbfzP3CLprNGns0kl1TkSm8rxgeBtCVKLceJ3BDcNHrn4+WA==","repository":{"url":"git+https://github.com/timescale/timescaledb-ts.git","type":"git"},"_npmVersion":"10.9.2","description":"This is the official TimescaleDB plugin for TypeORM.","directories":{},"_nodeVersion":"22.13.0","dependencies":{"typeorm":"^0.3.20","reflect-metadata":"^0.2.2","@timescaledb/core":"0.0.0-alpha.1","@timescaledb/schemas":"0.0.0-alpha.1"},"typesVersions":{"*":{"*":["src/*"]}},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/typeorm_0.0.0-alpha.1_1738001343900_0.17966903067095008","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.2":{"name":"@timescaledb/typeorm","version":"0.0.0-alpha.2","keywords":["timescaledb","timeseries","database","typescript","typeorm","orm","plugin","integration","adapter","wrapper"],"author":{"name":"Timescale"},"license":"MIT","_id":"@timescaledb/typeorm@0.0.0-alpha.2","maintainers":[{"name":"danstarns","email":"danielstarns@hotmail.com"}],"homepage":"https://github.com/timescale/timescaledb-ts","bugs":{"url":"https://github.com/timescale/timescaledb-ts/issues"},"dist":{"shasum":"88bc03cc4ace84bf69f83021b877339eae7e8eb6","tarball":"https://registry.npmjs.org/@timescaledb/typeorm/-/typeorm-0.0.0-alpha.2.tgz","fileCount":33,"integrity":"sha512-i7PbKPa7JyXWJsUe3AhybaDu6058zd+AjutIWoHFOvu1rV8qaPIxDGTdV5p3iD4iDK7p9v1gzyLLLvtDj60WUw==","signatures":[{"sig":"MEQCIBJp0crfKilj/o8Td+/AFIGd9WJF1+RMpZSEmYifc9gRAiAc/0eWpZQKsZ43BqJHbqVTt++BSWsvUvNUmHt9rzgklA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52099},"main":"dist/index.js","_from":"file:timescaledb-typeorm-0.0.0-alpha.2.tgz","types":"dist/index.d.ts","scripts":{"build":"tsc"},"_npmUser":{"name":"danstarns","email":"danielstarns@hotmail.com"},"_resolved":"/tmp/f2e97deae3e75a2c78c6429bf70ccfdf/timescaledb-typeorm-0.0.0-alpha.2.tgz","_integrity":"sha512-i7PbKPa7JyXWJsUe3AhybaDu6058zd+AjutIWoHFOvu1rV8qaPIxDGTdV5p3iD4iDK7p9v1gzyLLLvtDj60WUw==","repository":{"url":"git+https://github.com/timescale/timescaledb-ts.git","type":"git"},"_npmVersion":"10.9.2","description":"This is the official TimescaleDB plugin for TypeORM.","directories":{},"_nodeVersion":"22.13.0","dependencies":{"typeorm":"^0.3.20","reflect-metadata":"^0.2.2","@timescaledb/core":"0.0.0-alpha.2","@timescaledb/schemas":"0.0.0-alpha.2"},"typesVersions":{"*":{"*":["src/*"]}},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/typeorm_0.0.0-alpha.2_1738701346805_0.4396515918404156","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.3":{"name":"@timescaledb/typeorm","version":"0.0.0-alpha.3","keywords":["timescaledb","timeseries","database","typescript","typeorm","orm","plugin","integration","adapter","wrapper"],"author":{"name":"Timescale"},"license":"MIT","_id":"@timescaledb/typeorm@0.0.0-alpha.3","maintainers":[{"name":"danstarns","email":"danielstarns@hotmail.com"}],"homepage":"https://github.com/timescale/timescaledb-ts","bugs":{"url":"https://github.com/timescale/timescaledb-ts/issues"},"dist":{"shasum":"46e2e64ccba49eefe5439af5891ff6d458b9a144","tarball":"https://registry.npmjs.org/@timescaledb/typeorm/-/typeorm-0.0.0-alpha.3.tgz","fileCount":48,"integrity":"sha512-AtZyU2k/ejwXv9VVICzDs9gep0lzeGE+Xi3eSV+8kA7sunyXDSL28WzVqrBJ1OrK0CWVGNU3u8ZcZy8xMXNUqA==","signatures":[{"sig":"MEQCIC/yEXT1ecBvse1uxROTXFEFIHVoDKzhSGOlM2AmQjjrAiAImh4arsD5jZ/ehiBSqSzXtMqEY55eJfZZYETbTpZHkQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":87100},"main":"dist/index.js","_from":"file:timescaledb-typeorm-0.0.0-alpha.3.tgz","types":"dist/index.d.ts","scripts":{"test":"jest --runInBand","build":"tsc"},"_npmUser":{"name":"danstarns","email":"danielstarns@hotmail.com"},"_resolved":"/tmp/7e3585a9f248df2a33076b0ce6d0762e/timescaledb-typeorm-0.0.0-alpha.3.tgz","_integrity":"sha512-AtZyU2k/ejwXv9VVICzDs9gep0lzeGE+Xi3eSV+8kA7sunyXDSL28WzVqrBJ1OrK0CWVGNU3u8ZcZy8xMXNUqA==","repository":{"url":"git+https://github.com/timescale/timescaledb-ts.git","type":"git"},"_npmVersion":"10.9.2","description":"This is the official TimescaleDB plugin for TypeORM.","directories":{},"_nodeVersion":"22.13.0","dependencies":{"typeorm":"^0.3.20","reflect-metadata":"^0.2.2","@timescaledb/core":"0.0.0-alpha.3","@timescaledb/schemas":"0.0.0-alpha.3"},"typesVersions":{"*":{"*":["src/*"]}},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/typeorm_0.0.0-alpha.3_1739384142874_0.3513917271033964","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.4":{"name":"@timescaledb/typeorm","version":"0.0.0-alpha.4","keywords":["timescaledb","timeseries","database","typescript","typeorm","orm","plugin","integration","adapter","wrapper"],"author":{"name":"Timescale"},"license":"MIT","_id":"@timescaledb/typeorm@0.0.0-alpha.4","maintainers":[{"name":"danstarns","email":"danielstarns@hotmail.com"}],"homepage":"https://github.com/timescale/timescaledb-ts","bugs":{"url":"https://github.com/timescale/timescaledb-ts/issues"},"dist":{"shasum":"15ea632025d069fd87cddf105ee36fe6564fc230","tarball":"https://registry.npmjs.org/@timescaledb/typeorm/-/typeorm-0.0.0-alpha.4.tgz","fileCount":51,"integrity":"sha512-A3gNDjBUd4QWQba2XzENSvtlWHT9FsQv9VfVIBcKiqGmaF7y08WnaVIn/7TZvJc5Jr3DeCRlZcXmvS9HVFwc5Q==","signatures":[{"sig":"MEUCIBbZ5Z7X+IWdVaAH/WQX2BC94Q+rmrFkHoQJu28cc7fkAiEA7aHZyfgQ7SE6dyXE04rS4iH7pf5GjP2tYFuh9nZu7ZI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":93023},"main":"dist/index.js","_from":"file:timescaledb-typeorm-0.0.0-alpha.4.tgz","types":"dist/index.d.ts","scripts":{"test":"jest --runInBand","build":"tsc"},"_npmUser":{"name":"danstarns","email":"danielstarns@hotmail.com"},"_resolved":"/tmp/466bf6366b885172fd6c07d35ea28042/timescaledb-typeorm-0.0.0-alpha.4.tgz","_integrity":"sha512-A3gNDjBUd4QWQba2XzENSvtlWHT9FsQv9VfVIBcKiqGmaF7y08WnaVIn/7TZvJc5Jr3DeCRlZcXmvS9HVFwc5Q==","repository":{"url":"git+https://github.com/timescale/timescaledb-ts.git","type":"git"},"_npmVersion":"10.9.2","description":"This is the official TimescaleDB plugin for TypeORM.","directories":{},"_nodeVersion":"22.13.0","dependencies":{"typeorm":"^0.3.20","reflect-metadata":"^0.2.2","@timescaledb/core":"0.0.0-alpha.4","@timescaledb/utils":"0.0.0-alpha.4","@timescaledb/schemas":"0.0.0-alpha.4"},"typesVersions":{"*":{"*":["src/*"]}},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/typeorm_0.0.0-alpha.4_1739486977678_0.06661533092483052","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.5":{"name":"@timescaledb/typeorm","version":"0.0.0-alpha.5","keywords":["timescaledb","timeseries","database","typescript","typeorm","orm","plugin","integration","adapter","wrapper"],"author":{"name":"Timescale"},"license":"MIT","_id":"@timescaledb/typeorm@0.0.0-alpha.5","maintainers":[{"name":"danstarns","email":"danielstarns@hotmail.com"}],"homepage":"https://github.com/timescale/timescaledb-ts","bugs":{"url":"https://github.com/timescale/timescaledb-ts/issues"},"dist":{"shasum":"cf086889795c2632d532658230ba158efcb83d47","tarball":"https://registry.npmjs.org/@timescaledb/typeorm/-/typeorm-0.0.0-alpha.5.tgz","fileCount":51,"integrity":"sha512-9rL+TnulsbDkK4f4e7PSJAoBxn4sab4fMDScEmsJTOkswBDojGZ4nIkedv9R2azlYIxtV8ON9Wv/YtstqV4D7A==","signatures":[{"sig":"MEQCICmwGlGapSQp5KZc2Pnvx4/Of2y+YjJkEjYLjmtzwT44AiAiBCI/DJLsiQtaARqvSXXWp0h5S4Iu6lhiPuauqM3A7w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":93170},"main":"./dist/index.js","_from":"file:timescaledb-typeorm-0.0.0-alpha.5.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"test":"jest --runInBand","build":"tsc"},"_npmUser":{"name":"danstarns","email":"danielstarns@hotmail.com"},"_resolved":"/tmp/02a0aa29061d105b1a337aa94a9f7039/timescaledb-typeorm-0.0.0-alpha.5.tgz","_integrity":"sha512-9rL+TnulsbDkK4f4e7PSJAoBxn4sab4fMDScEmsJTOkswBDojGZ4nIkedv9R2azlYIxtV8ON9Wv/YtstqV4D7A==","repository":{"url":"git+https://github.com/timescale/timescaledb-ts.git","type":"git"},"_npmVersion":"10.9.2","description":"This is the official TimescaleDB plugin for TypeORM.","directories":{},"_nodeVersion":"22.13.0","dependencies":{"typeorm":"^0.3.20","reflect-metadata":"^0.2.2","@timescaledb/core":"0.0.0-alpha.5","@timescaledb/utils":"0.0.0-alpha.5","@timescaledb/schemas":"0.0.0-alpha.5"},"typesVersions":{"*":{"*":["src/*"]}},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/typeorm_0.0.0-alpha.5_1739498969688_0.2926960506194758","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.6":{"name":"@timescaledb/typeorm","version":"0.0.0-alpha.6","keywords":["timescaledb","timeseries","database","typescript","typeorm","orm","plugin","integration","adapter","wrapper"],"author":{"name":"Timescale"},"license":"MIT","_id":"@timescaledb/typeorm@0.0.0-alpha.6","maintainers":[{"name":"danstarns","email":"danielstarns@hotmail.com"}],"homepage":"https://github.com/timescale/timescaledb-ts","bugs":{"url":"https://github.com/timescale/timescaledb-ts/issues"},"dist":{"shasum":"2c778ddf79b56eca10783f1a512886f13446b709","tarball":"https://registry.npmjs.org/@timescaledb/typeorm/-/typeorm-0.0.0-alpha.6.tgz","fileCount":51,"integrity":"sha512-bIuKANxqaf1WvEV7Cm2e+w6+3q1oiyomt8AqZy1N4DmMWL8JDa6qhx52M02g+ZpY/fygRNtbi5CNWDwMvJA//w==","signatures":[{"sig":"MEQCIEtgDsiSLiCCRkKeM2IfC4PmYXKSW2T/RYHQiDj6/blVAiBUgnXa/nJUs9Ljtq729Wycj5CoFarGdKW1wOYFBMxz6Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":93170},"main":"./dist/index.js","_from":"file:timescaledb-typeorm-0.0.0-alpha.6.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"test":"jest --runInBand","build":"tsc"},"_npmUser":{"name":"danstarns","email":"danielstarns@hotmail.com"},"_resolved":"/tmp/535486d2ceed6a106b90eab09fd902a7/timescaledb-typeorm-0.0.0-alpha.6.tgz","_integrity":"sha512-bIuKANxqaf1WvEV7Cm2e+w6+3q1oiyomt8AqZy1N4DmMWL8JDa6qhx52M02g+ZpY/fygRNtbi5CNWDwMvJA//w==","repository":{"url":"git+https://github.com/timescale/timescaledb-ts.git","type":"git"},"_npmVersion":"10.9.2","description":"This is the official TimescaleDB plugin for TypeORM.","directories":{},"_nodeVersion":"22.13.0","dependencies":{"typeorm":"^0.3.20","reflect-metadata":"^0.2.2","@timescaledb/core":"0.0.0-alpha.6","@timescaledb/utils":"0.0.0-alpha.6","@timescaledb/schemas":"0.0.0-alpha.6"},"typesVersions":{"*":{"*":["src/*"]}},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/typeorm_0.0.0-alpha.6_1739500609017_0.2431152055198229","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.7":{"name":"@timescaledb/typeorm","version":"0.0.0-alpha.7","keywords":["timescaledb","timeseries","database","typescript","typeorm","orm","plugin","integration","adapter","wrapper"],"author":{"name":"Timescale"},"license":"MIT","_id":"@timescaledb/typeorm@0.0.0-alpha.7","maintainers":[{"name":"danstarns","email":"danielstarns@hotmail.com"}],"homepage":"https://github.com/timescale/timescaledb-ts","bugs":{"url":"https://github.com/timescale/timescaledb-ts/issues"},"dist":{"shasum":"e5aed8af6be82d1ffe4db173ee8e61d660b803f8","tarball":"https://registry.npmjs.org/@timescaledb/typeorm/-/typeorm-0.0.0-alpha.7.tgz","fileCount":51,"integrity":"sha512-KE/oy85tDD4dWR3fr2cxh5Hch1fZ/qaa/cFkuzq/FHOf9bh9F8Wrq3leuzmXKI/YeN91fj3I8mILlmGlRHE40w==","signatures":[{"sig":"MEUCIQCQ8ATlsMBYJpW/I1jf3Ko4FCBei8qiJNVg5s0AaTMIuQIgT8UH2MdO0z1D8wHCwqoxV9UqzizOMziYsOEQAo0wMhE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":93492},"main":"./dist/index.js","_from":"file:timescaledb-typeorm-0.0.0-alpha.7.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"test":"jest --runInBand","build":"tsc"},"_npmUser":{"name":"danstarns","email":"danielstarns@hotmail.com"},"_resolved":"/tmp/2a7c29754a857847737359507cda554a/timescaledb-typeorm-0.0.0-alpha.7.tgz","_integrity":"sha512-KE/oy85tDD4dWR3fr2cxh5Hch1fZ/qaa/cFkuzq/FHOf9bh9F8Wrq3leuzmXKI/YeN91fj3I8mILlmGlRHE40w==","repository":{"url":"git+https://github.com/timescale/timescaledb-ts.git","type":"git"},"_npmVersion":"10.9.2","description":"This is the official TimescaleDB plugin for TypeORM.","directories":{},"_nodeVersion":"22.13.0","dependencies":{"typeorm":"^0.3.20","reflect-metadata":"^0.2.2","@timescaledb/core":"0.0.0-alpha.7","@timescaledb/utils":"0.0.0-alpha.7","@timescaledb/schemas":"0.0.0-alpha.7"},"typesVersions":{"*":{"*":["src/*"]}},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/typeorm_0.0.0-alpha.7_1740526206411_0.59701244206138","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.8":{"name":"@timescaledb/typeorm","version":"0.0.0-alpha.8","keywords":["timescaledb","timeseries","database","typescript","typeorm","orm","plugin","integration","adapter","wrapper"],"author":{"name":"Timescale"},"license":"MIT","_id":"@timescaledb/typeorm@0.0.0-alpha.8","maintainers":[{"name":"danstarns","email":"danielstarns@hotmail.com"}],"homepage":"https://github.com/timescale/timescaledb-ts","bugs":{"url":"https://github.com/timescale/timescaledb-ts/issues"},"dist":{"shasum":"49446a4e44b972dfe8aca300fc76a66cc436cce1","tarball":"https://registry.npmjs.org/@timescaledb/typeorm/-/typeorm-0.0.0-alpha.8.tgz","fileCount":51,"integrity":"sha512-98xqyC4ya5acamFeZ1A5ad9n0yMiI3JjE10Z+B7e4/62jBlWIYctwXtK07rtY86ueVnc4OYJK+aJ1BpsardL8w==","signatures":[{"sig":"MEYCIQDMA96w1Lo+sh4l4VmO9FcExZPuzZIjpkf9wMMIFjRj2AIhAI0ZmZ+XYLIXkpMugxXgza2ebtxWBmeLFwP8YNazwq2O","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":93412},"main":"./dist/index.js","_from":"file:timescaledb-typeorm-0.0.0-alpha.8.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"scripts":{"test":"jest --runInBand","build":"tsc"},"_npmUser":{"name":"danstarns","email":"danielstarns@hotmail.com"},"_resolved":"/tmp/ec844b6568103ff87fcc426e1ba72957/timescaledb-typeorm-0.0.0-alpha.8.tgz","_integrity":"sha512-98xqyC4ya5acamFeZ1A5ad9n0yMiI3JjE10Z+B7e4/62jBlWIYctwXtK07rtY86ueVnc4OYJK+aJ1BpsardL8w==","repository":{"url":"git+https://github.com/timescale/timescaledb-ts.git","type":"git"},"_npmVersion":"10.9.2","description":"This is the official TimescaleDB plugin for TypeORM.","directories":{},"_nodeVersion":"22.13.0","dependencies":{"typeorm":"^0.3.20","reflect-metadata":"^0.2.2","@timescaledb/core":"0.0.0-alpha.8","@timescaledb/utils":"0.0.0-alpha.8","@timescaledb/schemas":"0.0.0-alpha.8"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/typeorm_0.0.0-alpha.8_1744456591320_0.3385348007990918","host":"s3://npm-registry-packages-npm-production"}},"0.0.1":{"name":"@timescaledb/typeorm","version":"0.0.1","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"homepage":"https://github.com/timescale/timescaledb-ts","repository":{"type":"git","url":"git+https://github.com/timescale/timescaledb-ts.git"},"keywords":["timescaledb","timeseries","database","typescript","typeorm","orm","plugin","integration","adapter","wrapper"],"author":{"name":"Timescale"},"license":"MIT","bugs":{"url":"https://github.com/timescale/timescaledb-ts/issues"},"dependencies":{"@timescaledb/core":"0.0.1","@timescaledb/utils":"0.0.1","@timescaledb/schemas":"0.0.1","reflect-metadata":"^0.2.2","typeorm":"^0.3.20"},"scripts":{"build":"tsc","test":"jest --runInBand"},"_id":"@timescaledb/typeorm@0.0.1","description":"This is the official TimescaleDB plugin for TypeORM.","_integrity":"sha512-aAw9psQAloh/F2yJbLQe12nV25U63ClWFpI2Lkke7F8IYn2qOEb+OYsD1UAmn4U+dQS8YuOqCq32jAxE+DUasg==","_resolved":"/tmp/e561efc842828e8ac0433362023f55c4/timescaledb-typeorm-0.0.1.tgz","_from":"file:timescaledb-typeorm-0.0.1.tgz","_nodeVersion":"22.13.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-aAw9psQAloh/F2yJbLQe12nV25U63ClWFpI2Lkke7F8IYn2qOEb+OYsD1UAmn4U+dQS8YuOqCq32jAxE+DUasg==","shasum":"e005f99b57b3ed161e4bcbc0d78ba053e3c84e48","tarball":"https://registry.npmjs.org/@timescaledb/typeorm/-/typeorm-0.0.1.tgz","fileCount":51,"unpackedSize":93380,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDTWEEa7cPE3FW8aUIO2lNNFCaKM9gSqkRRDHKVU4mMhQIhAIvdaUTE3l4vOaYTcQKcU2uuxKj8w2pEtFxK1q9/m/qU"}]},"_npmUser":{"name":"danstarns","email":"danielstarns@hotmail.com"},"directories":{},"maintainers":[{"name":"danstarns","email":"danielstarns@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/typeorm_0.0.1_1745422959252_0.4178560586271678"},"_hasShrinkwrap":false}},"time":{"created":"2025-01-27T03:02:48.214Z","modified":"2025-04-23T15:42:39.678Z","0.0.0-alpha.0":"2025-01-27T03:02:48.899Z","0.0.0-alpha.1":"2025-01-27T18:09:04.116Z","0.0.0-alpha.2":"2025-02-04T20:35:47.008Z","0.0.0-alpha.3":"2025-02-12T18:15:43.108Z","0.0.0-alpha.4":"2025-02-13T22:49:37.874Z","0.0.0-alpha.5":"2025-02-14T02:09:29.878Z","0.0.0-alpha.6":"2025-02-14T02:36:49.199Z","0.0.0-alpha.7":"2025-02-25T23:30:06.600Z","0.0.0-alpha.8":"2025-04-12T11:16:31.519Z","0.0.1":"2025-04-23T15:42:39.457Z"},"bugs":{"url":"https://github.com/timescale/timescaledb-ts/issues"},"author":{"name":"Timescale"},"license":"MIT","homepage":"https://github.com/timescale/timescaledb-ts","keywords":["timescaledb","timeseries","database","typescript","typeorm","orm","plugin","integration","adapter","wrapper"],"repository":{"type":"git","url":"git+https://github.com/timescale/timescaledb-ts.git"},"description":"This is the official TimescaleDB plugin for TypeORM.","maintainers":[{"name":"danstarns","email":"danielstarns@hotmail.com"}],"readme":"# @timescaledb/typeorm\n\nThis is the official TimescaleDB plugin for TypeORM.\n\n## Installation\n\n```bash\nnpm install typeorm @timescaledb/typeorm\n```\n\n## Hypertables\n\n### Creating a Hypertable\n\nUse the `@Hypertable` decorator to define your time-series tables:\n\nSee:\n\n- https://docs.timescale.com/use-timescale/latest/hypertables/create/\n\nUsage:\n\n```typescript\nimport { Entity, PrimaryColumn } from 'typeorm';\nimport { Hypertable, TimeColumn } from '@timescaledb/typeorm';\n\n@Entity('page_loads')\n@Hypertable({\n  compression: {\n    compress: true,\n    compress_orderby: 'time',\n    compress_segmentby: 'user_agent',\n    policy: {\n      schedule_interval: '7 days',\n    },\n  },\n})\nexport class PageLoad {\n  @PrimaryColumn({ name: 'user_agent', type: 'varchar' })\n  userAgent!: string;\n\n  @TimeColumn()\n  time!: Date;\n}\n```\n\n## Hypertable Methods\n\n### `getTimeBucket`\n\nThis method allows you to perform time bucketing queries on the hypertable:\n\nSee:\n\n- https://docs.timescale.com/api/latest/hyperfunctions/time_bucket/\n\nUsage:\n\n```typescript\nimport { AppDataSource } from './data-source';\nimport { PageLoad } from './models/PageLoad';\n\nconst repository = AppDataSource.getRepository(PageLoad);\n\nconst stats = await repository.getTimeBucket({\n  timeRange: {\n    start,\n    end,\n  },\n  bucket: {\n    interval: '1 hour',\n    metrics: [\n      { type: 'count', alias: 'count' },\n      { type: 'distinct_count', column: 'user_agent', alias: 'unique_users' },\n    ],\n  },\n  where: {\n    user_agent: 'Mozilla/5.0',\n  },\n});\n\nconsole.log(stats);\n// [\n//   { interval: '2021-01-01T00:00:00Z', count: 10, unique_users: 5 },\n//   { interval: '2021-01-01T01:00:00Z', count: 20, unique_users: 10 },\n//   { interval: '2021-01-01T02:00:00Z', count: 30, unique_users: 15 },\n//   ...\n// ]\n```\n\n### `getCompressionStats`\n\nGet compression statistics for a hypertable:\n\nSee:\n\n- https://docs.timescale.com/api/latest/compression/hypertable_compression_stats/\n\nUsage:\n\n```typescript\nimport { AppDataSource } from './data-source';\nimport { PageLoad } from './models/PageLoad';\n\nconst repository = AppDataSource.getRepository(PageLoad);\nconst stats = await repository.getCompressionStats();\n\nconsole.log(stats);\n// {\n//   total_chunks: 100,\n//   compressed_chunks: 50,\n//   number_compressed_chunks: 10,\n// }\n```\n\n### `getCandlesticks`\n\nSee:\n\n- [Candlestick 👇](#Candlesticks)\n\n## Continuous Aggregates\n\n### Creating a Continuous Aggregate\n\nUse the `@ContinuousAggregate` decorator to define materialized views that automatically maintain aggregates over time windows, plus the `@AggregateColumn` decorator to define the columns in the materialized view:\n\nSee:\n\n- https://docs.timescale.com/use-timescale/latest/continuous-aggregates/create-a-continuous-aggregate/\n\nUsage:\n\n```ts\nimport { ViewColumn } from 'typeorm';\nimport { ContinuousAggregate, AggregateColumn, BucketColumn } from '@timescaledb/typeorm';\nimport { PageLoad } from './PageLoad';\n\n@ContinuousAggregate(PageLoad, {\n  name: 'hourly_page_views',\n  bucket_interval: '1 hour',\n  refresh_policy: {\n    start_offset: '3 days',\n    end_offset: '1 hour',\n    schedule_interval: '1 hour',\n  },\n})\nexport class HourlyPageViews {\n  @BucketColumn({\n    source_column: 'time',\n  })\n  bucket!: Date;\n\n  @AggregateColumn({\n    type: 'count',\n  })\n  total_views!: number;\n\n  @AggregateColumn({\n    type: 'unique_count',\n    column: 'user_agent',\n  })\n  unique_users!: number;\n}\n```\n\n### Using Continuous Aggregates\n\nQuery the materialized view like a regular entity:\n\nSee:\n\n- https://orkhan.gitbook.io/typeorm/docs/view-entities\n\nUsage:\n\n```ts\nconst hourlyStats = await AppDataSource.getRepository(HourlyPageViews)\n  .createQueryBuilder()\n  .where('bucket >= :start', { start })\n  .andWhere('bucket <= :end', { end })\n  .orderBy('bucket', 'DESC')\n  .getMany();\n```\n\n## Rollups\n\nRollups let you aggregate data from continuous aggregates into longer time intervals (e.g., roll up hourly statistics into daily summaries).\n\nSee:\n\n- https://docs.timescale.com/use-timescale/latest/continuous-aggregates/hierarchical-continuous-aggregates/\n\n### Usage\n\nFirst, define your source continuous aggregate:\n\n```typescript\nimport { ContinuousAggregate, BucketColumn, AggregateColumn } from '@timescaledb/typeorm';\n\n@ContinuousAggregate(PageLoad, {\n  name: 'hourly_page_views',\n  bucket_interval: '1 hour',\n})\nexport class HourlyPageViews {\n  @BucketColumn({\n    source_column: 'time',\n  })\n  bucket!: Date;\n\n  @AggregateColumn({\n    type: 'count',\n  })\n  total_views!: number;\n}\n```\n\nThen define your rollup:\n\n```typescript\nimport { Rollup, RollupColumn, BucketColumn } from '@timescaledb/typeorm';\n\n@Rollup(HourlyPageViews, {\n  name: 'daily_page_stats',\n  bucket_interval: '1 day',\n  refresh_policy: {\n    start_offset: '30 days',\n    end_offset: '1 day',\n    schedule_interval: '1 day',\n  },\n})\nexport class DailyPageStats {\n  @BucketColumn({\n    source_column: 'bucket',\n  })\n  bucket!: Date;\n\n  @RollupColumn({\n    type: 'sum',\n    source_column: 'total_views',\n  })\n  daily_total!: number;\n}\n```\n\nQuery the rollup:\n\n```typescript\nconst stats = await AppDataSource.getRepository(DailyPageStats)\n  .createQueryBuilder()\n  .where('bucket >= :start', { start })\n  .andWhere('bucket < :end', { end })\n  .getMany();\n```\n\nThe library automatically handles rollup creation and updates during migrations.\n\n## Candlesticks\n\nUse a Hypertable to define a time-series table, then use the `getCandlesticks` method on the repository to query candlestick data:\n\nSee:\n\n- https://docs.timescale.com/api/latest/hyperfunctions/financial-analysis/candlestick_agg/\n\n### Defining a Candlestick Entity\n\n```typescript\nimport { Entity } from 'typeorm';\nimport { Hypertable, TimeColumn } from '@timescaledb/typeorm';\n\n@Entity('stock_prices')\n@Hypertable()\nexport class StockPrice {\n  @PrimaryColumn({ type: 'varchar' })\n  tickerSymbol: string;\n\n  @TimeColumn()\n  timestamp: Date;\n\n  @Column({ type: 'decimal', precision: 10, scale: 2 })\n  price: number;\n\n  @Column({ type: 'decimal', precision: 10, scale: 2 })\n  volume: number;\n}\n```\n\n### Querying Candlestick Data\n\nUse the appended `getCandlesticks` method on the repository to query candlestick data:\n\n```typescript\nconst repository = AppDataSource.getRepository(StockPrice);\n\nconst candlesticks = await repository.getCandlesticks({\n  timeRange: {\n    start: new Date('2025-01-01'),\n    end: new Date('2025-01-02'),\n  },\n  config: {\n    time_column: 'timestamp',\n    price_column: 'price',\n    volume_column: 'volume',\n    bucket_interval: '1 hour',\n  },\n  where: {\n    symbol: 'AAPL',\n  },\n});\n\nconsole.log(candlesticks);\n// Output:\n// [\n//   {\n//     bucket_time: \"2025-01-01T00:00:00.000Z\",\n//     open: 185.25,\n//     high: 186.64,\n//     low: 183.34,\n//     close: 184.87,\n//     open_time: \"2025-01-01T00:02:15.000Z\",\n//     high_time: \"2025-01-01T00:45:12.000Z\",\n//     low_time: \"2025-01-01T00:15:33.000Z\",\n//     close_time: \"2025-01-01T00:59:45.000Z\",\n//     volume: 2589100,\n//     vwap: 184.95\n//   },\n//   ...\n// ]\n```\n\n## Migrations\n\nTo hook into the TypeORM migration process, import the library at the top of your `data-source` file:\n\n```typescript\nimport '@timescaledb/typeorm'; // This should be the first import in your file to hook into the TypeORM migration process\n\nimport { DataSource } from 'typeorm';\nimport { PageLoad, HourlyPageViews } from './models';\n\nexport const AppDataSource = new DataSource({\n  type: 'postgres',\n  url: process.env.DATABASE_URL,\n  synchronize: false,\n  logging: process.env.NODE_ENV === 'development',\n  entities: [PageLoad, HourlyPageViews, StockPrice], // <-- Add your entities here\n  migrations: ['migrations/*.ts'],\n});\n```\n\nThen run your normal TypeORM migration commands:\n\n```bash\ntypeorm-ts-node-commonjs migration:run -d src/data-source.ts\n```\n\nThe `@timescaledb/typeorm` library will automatically create the necessary hypertables and other TimescaleDB-specific objects in the database.\n\nIf you wish to have more control over the migration process, then please reffer to the `@timescaledb/core` library and how its used in this integration.\n","readmeFilename":"README.md"}