{"_id":"@ahamie/storage","_rev":"2-0bf5447b30a34228a1fe3ab5587a1df9","name":"@ahamie/storage","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@ahamie/storage","version":"0.1.0","license":"Apache-2.0","_id":"@ahamie/storage@0.1.0","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"dist":{"shasum":"5d5c1a114bbd6416193848d8a96643fc120acc8e","tarball":"https://registry.npmjs.org/@ahamie/storage/-/storage-0.1.0.tgz","fileCount":14,"integrity":"sha512-qsPSe647iarAwtTyt5tHoFP5kOPnueVzHDBNmEJVFNNqMI7CfwO+7pyuu9MmIfalFuq449sSGCUYPAQ8spnfhQ==","signatures":[{"sig":"MEUCIQDwB+uSKI557omldFUegQigOaHia9xqAp/cf/VuZ+yX8QIgedzdz95X41R8yxb8qi3YaJBvRY1c8+K2mBZVHSdCwGw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":289587},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","ahamie":{"kind":"substrate","specVersion":"0.1.0"},"engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js"},"./schema":{"types":"./dist/schema/index.d.ts","import":"./dist/schema/index.js"},"./migrate":{"types":"./dist/migrate.d.ts","import":"./dist/migrate.js"},"./test-helpers":{"types":"./dist/test-helpers.d.ts","import":"./dist/test-helpers.js"}},"gitHead":"3ee0e2f79fefd8a33caf7450002730e057e02d5c","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup","clean":"rm -rf dist .turbo","typecheck":"tsc --noEmit","drizzle:generate":"drizzle-kit generate"},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"_npmVersion":"10.9.7","description":"Drizzle schema, migrations, and pgvector helpers for Ahamie. Postgres everywhere — no PGlite, no SQLite.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"postgres":"^3.4.9","drizzle-orm":"^0.45.2","@ahamie/schema":"workspace:*","@ahamie/telemetry":"workspace:*"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^2.1.5","typescript":"^5.6.3","@types/node":"^22.10.0","drizzle-kit":"^0.31.10","testcontainers":"^11.0.0","@testcontainers/postgresql":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/storage_0.1.0_1777663145952_0.4836160935960474","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@ahamie/storage","version":"0.1.1","description":"Drizzle schema, migrations, and pgvector helpers for Ahamie. Postgres everywhere — no PGlite, no SQLite.","license":"Apache-2.0","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./schema":{"types":"./dist/schema/index.d.ts","import":"./dist/schema/index.js"},"./client":{"types":"./dist/client.d.ts","import":"./dist/client.js"},"./migrate":{"types":"./dist/migrate.d.ts","import":"./dist/migrate.js"},"./test-helpers":{"types":"./dist/test-helpers.d.ts","import":"./dist/test-helpers.js"}},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest run","typecheck":"tsc --noEmit","drizzle:generate":"drizzle-kit generate","clean":"rm -rf dist .turbo"},"dependencies":{"@ahamie/schema":"0.1.1","@ahamie/telemetry":"0.1.1","drizzle-orm":"^0.45.2","postgres":"^3.4.9"},"devDependencies":{"@types/node":"^22.10.0","@testcontainers/postgresql":"^11.0.0","drizzle-kit":"^0.31.10","testcontainers":"^11.0.0","tsup":"^8.5.1","typescript":"^5.6.3","vitest":"^2.1.5"},"engines":{"node":">=22.0.0"},"publishConfig":{"access":"public","provenance":true},"ahamie":{"kind":"substrate","specVersion":"0.1.0"},"_id":"@ahamie/storage@0.1.1","gitHead":"3ee0e2f79fefd8a33caf7450002730e057e02d5c","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-C+G6C725uDczjuFWJJqXqa5BKOXQIyjRe6mE4GjagxSog815kRJiJKtoWK8Dvx/VlUxiEWNh5+7MXEX9w8gmDQ==","shasum":"291fec6b85acc8f0ad9d84abd8b0ec6ebf98409c","tarball":"https://registry.npmjs.org/@ahamie/storage/-/storage-0.1.1.tgz","fileCount":14,"unpackedSize":289575,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHHpSAMXHdQT9zcnrj77oXVzwGdc+Z2ZkckeTq8PzQUvAiBXDSg1+5akW0syd3xCxtEayLsqhrmwI985huLFY0tRWg=="}]},"_npmUser":{"name":"octalpixel","email":"mithushancj@gmail.com"},"directories":{},"maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/storage_0.1.1_1777663278074_0.33028580334612934"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-01T19:19:05.849Z","modified":"2026-05-01T19:21:18.369Z","0.1.0":"2026-05-01T19:19:06.090Z","0.1.1":"2026-05-01T19:21:18.218Z"},"license":"Apache-2.0","description":"Drizzle schema, migrations, and pgvector helpers for Ahamie. Postgres everywhere — no PGlite, no SQLite.","maintainers":[{"name":"octalpixel","email":"mithushancj@gmail.com"}],"readme":"# @ahamie/storage\n\nDrizzle schema + migrations + pgvector for Ahamie. **Postgres everywhere** (T5) — no PGlite, no SQLite. Three exports:\n\n- `@ahamie/storage` — top-level: `createDb`, `migrate`, every table.\n- `@ahamie/storage/client` — `createDb`, `closeDb`, `AhamieDb` type.\n- `@ahamie/storage/migrate` — runner.\n- `@ahamie/storage/schema` — every Drizzle table.\n\n```ts\nimport { createDb, migrate } from \"@ahamie/storage\";\n\nconst db = createDb({ url: process.env.AHAMIE_DB_URL! });\nawait migrate(db);\n```\n\nThe schema covers every v0 table from §15 of the tech plan. v1 adds RLS policies; v2 adds schema-per-tenant; v3 adds DB-per-tenant.\n","readmeFilename":"README.md"}