{"_id":"@alphscan/metrics-types","_rev":"2-b1f68fff479eeaf92fa74e2d485ea9f2","name":"@alphscan/metrics-types","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.0":{"name":"@alphscan/metrics-types","version":"0.0.0","_id":"@alphscan/metrics-types@0.0.0","maintainers":[{"name":"minijudie","email":"minijudie@imsorry.dev"}],"dist":{"shasum":"76d41e5a44c03fd9f26bd8b34dfd146811f8d7bd","tarball":"https://registry.npmjs.org/@alphscan/metrics-types/-/metrics-types-0.0.0.tgz","fileCount":24,"integrity":"sha512-dhNfgMtdfqlcQM4oQB88MYctlidZJEOb4NYsH00nMqfvRF7vrbRcEdXZyWeCMV2m3alf8h9xgHeUvPV7FE0VjA==","signatures":[{"sig":"MEUCICYUo3eQh6cJGBlHsSytNlfYNW9J0x2Bp+8LMH1sAkvZAiEA9xFkrEI3/ek1OSe5I/iPI/sBm1sukA2OtynmtX8Hb/4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18617},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"0b814c87bd4dac30f13b27794452e38942148e69","private":false,"scripts":{"build":"tsc","clean":"rm -rf dist","deploy":"npm run build && npm publish  --access public"},"_npmUser":{"name":"minijudie","email":"minijudie@imsorry.dev"},"_npmVersion":"10.8.2","description":"Shared types and helpers for timeseries metrics: scales, data points, timeseries definitions, S3 path resolution. Used by indexer-metrics and by SDK to resolve timeseries page URLs without indexer code.","directories":{},"_nodeVersion":"20.19.2","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.2"},"_npmOperationalInternal":{"tmp":"tmp/metrics-types_0.0.0_1772688853410_0.9664817273162432","host":"s3://npm-registry-packages-npm-production"}},"0.0.1":{"name":"@alphscan/metrics-types","version":"0.0.1","private":false,"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"tsc","clean":"rm -rf dist","deploy":"npm run build && npm publish  --access public"},"devDependencies":{"typescript":"^5.7.2"},"_id":"@alphscan/metrics-types@0.0.1","gitHead":"c744b7cde6352dd2cf0c3100c4eac6a58ca938c3","description":"Shared types and helpers for timeseries metrics: scales, data points, timeseries definitions, S3 path resolution. Used by indexer-metrics and by SDK to resolve timeseries page URLs without indexer code.","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-IJ+oyb3LzEdVWh18R0Xq7JdR/QM/2gTd3rP8HRwpGjf/0bBYAhK8anpJOukNHJaQNfkm5j5vhMa5S1K1hugfnA==","shasum":"b8ca0b219ba70c3780bd5e1d08ee266cca18a0a6","tarball":"https://registry.npmjs.org/@alphscan/metrics-types/-/metrics-types-0.0.1.tgz","fileCount":25,"unpackedSize":19913,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDUw2uzn9nGeXqg1HeNh+AymAZ5cWR/EujIiwLMENaLlQIgU64ueztOXFzO5BA104zz4StMzBjgpQW2vfgzwW4EFmg="}]},"_npmUser":{"name":"minijudie","email":"minijudie@imsorry.dev"},"directories":{},"maintainers":[{"name":"minijudie","email":"minijudie@imsorry.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/metrics-types_0.0.1_1772690015721_0.6224024104574382"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-05T05:34:13.311Z","modified":"2026-03-05T05:53:36.018Z","0.0.0":"2026-03-05T05:34:13.577Z","0.0.1":"2026-03-05T05:53:35.867Z"},"description":"Shared types and helpers for timeseries metrics: scales, data points, timeseries definitions, S3 path resolution. Used by indexer-metrics and by SDK to resolve timeseries page URLs without indexer code.","maintainers":[{"name":"minijudie","email":"minijudie@imsorry.dev"}],"readme":"# @alphscan/metrics-types\n\nShared types and helpers for timeseries metrics: scales, data points, timeseries definitions, S3 path resolution. Used by indexer-metrics and by SDK to resolve timeseries page URLs without indexer code.\n\n## SDK usage\n\nImport `getTimeseriesDefinition`, `getTimeseriesPagePath`, `getTimeseriesPageUrl` and a `MetricsConfig` (bucket, baseUrl, timeseries list). Resolve page paths/URLs for a given seriesId, scale, bucket timestamp, and optional dimensions.\n\n## Scales\n\n3m, 5m, 15m, 1h, 4h, 1d, 1w, 1m, 1y.\n","readmeFilename":"README.md"}