{"_id":"@andamio-platform/db-api","_rev":"13-8d04eddf3fc974994e6e7b99530a8709","name":"@andamio-platform/db-api","dist-tags":{"latest":"0.1.16"},"versions":{"0.1.0":{"name":"@andamio-platform/db-api","version":"0.1.0","keywords":["andamio","cardano","blockchain","learning","education","trpc","openapi","typescript","zod","api-client","database-api","type-safe"],"author":{"name":"Andamio"},"license":"MIT","_id":"@andamio-platform/db-api@0.1.0","maintainers":[{"name":"james-andamio","email":"james@andamio.io"}],"homepage":"https://github.com/Andamio-Platform/andamio-platform-monorepo/tree/main/andamio-db-api#readme","bugs":{"url":"https://github.com/Andamio-Platform/andamio-platform-monorepo/issues"},"dist":{"shasum":"5a544b4a892c3b69a4b18db5348c3063541ec418","tarball":"https://registry.npmjs.org/@andamio-platform/db-api/-/db-api-0.1.0.tgz","fileCount":239,"integrity":"sha512-GAQemrjssrdEzMKZG4RLgEMLFxXgS2GdVFrU4l/YD14hnPlZaZpA5b6zOw6A3aI2kj3D1fvQEpz0zKy09WX84w==","signatures":[{"sig":"MEQCIHHQ73Qb/l7KxNDMns3bcOwgvY6974/QjvvD0ZCLLdn9AiASPa54UkFTGDm1U1hIEjPpidIMF0+6986QGbkzWq+TAQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":911959},"main":"dist/schemas/index.js","types":"dist/schemas/index.d.ts","exports":{".":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.js"},"./server":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"},"./schemas":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"}},"gitHead":"68cff5329e93a3faa6be46582607bceeb139e878","scripts":{"dev":"tsx watch src/server.ts","build":"tsc","start":"node dist/server.js","config":"./scripts/check-config.sh","test:api":"./scripts/test-api.sh","test:jwt":"tsx scripts/generate-test-jwt.ts","type-check":"tsc --noEmit","build:types":"tsc --declaration --emitDeclarationOnly --outDir dist","prisma:studio":"prisma studio","prisma:migrate":"prisma migrate dev","prisma:generate":"prisma generate"},"_npmUser":{"name":"james-andamio","email":"james@andamio.io"},"repository":{"url":"git+https://github.com/Andamio-Platform/andamio-platform-monorepo.git","type":"git","directory":"andamio-db-api"},"_npmVersion":"10.9.3","description":"Type-safe database API client for Andamio Platform - TypeScript types, Zod schemas, and API utilities for building Cardano learning applications","directories":{},"_nodeVersion":"22.20.0","dependencies":{"zod":"^3.22.4","cors":"^2.8.5","dotenv":"^16.6.1","express":"^4.18.2","@trpc/server":"^10.45.0","jsonwebtoken":"^9.0.2","trpc-openapi":"^1.2.0","@prisma/client":"^5.7.1","@meshsdk/common":"^1.9.0-beta.87","@meshsdk/core-cst":"^1.9.0-beta.87"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","prisma":"^5.7.1","typescript":"^5.3.3","@types/cors":"^2.8.17","@types/node":"^20.10.6","@types/express":"^4.17.21","@types/jsonwebtoken":"^9.0.5"},"_npmOperationalInternal":{"tmp":"tmp/db-api_0.1.0_1763575580470_0.05765903094234903","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.5":{"name":"@andamio-platform/db-api","version":"0.1.5","keywords":["andamio","cardano","blockchain","learning","education","trpc","openapi","typescript","zod","api-client","database-api","type-safe"],"author":{"name":"Andamio"},"license":"MIT","_id":"@andamio-platform/db-api@0.1.5","maintainers":[{"name":"james-andamio","email":"james@andamio.io"}],"homepage":"https://github.com/Andamio-Platform/andamio-platform-monorepo/tree/main/andamio-db-api#readme","bugs":{"url":"https://github.com/Andamio-Platform/andamio-platform-monorepo/issues"},"dist":{"shasum":"676159ecaf59d3490109f60d174a2d782389bb62","tarball":"https://registry.npmjs.org/@andamio-platform/db-api/-/db-api-0.1.5.tgz","fileCount":239,"integrity":"sha512-L9yRF/q06NQKRvUfJSkR6eShZt6wq8lwdu66P+1q2DazRKvlfaT9XndobwnW3XrZbRgzyqd/Yt+Gb71rMgJFwQ==","signatures":[{"sig":"MEUCIDl5wM8iwSkWpNJc91HkoD15LhV/UGeOwIX7SLiH9K5ZAiEAvLQ+nTYvd8uwTF08QXHaA6FLU3UVbxZOEZ8rd4sOf/c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":910842},"main":"dist/schemas/index.js","types":"dist/schemas/index.d.ts","exports":{".":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.js"},"./server":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"},"./schemas":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"}},"gitHead":"6ef58e81b50571b82bb8daa95efa6465fbc8f59a","scripts":{"dev":"tsx watch src/server.ts","build":"tsc","start":"node dist/server.js","config":"./scripts/check-config.sh","test:api":"./scripts/test-api.sh","test:jwt":"tsx scripts/generate-test-jwt.ts","type-check":"tsc --noEmit","build:types":"tsc --declaration --emitDeclarationOnly --outDir dist","prisma:studio":"prisma studio","prisma:migrate":"prisma migrate dev","prisma:generate":"prisma generate"},"_npmUser":{"name":"james-andamio","email":"james@andamio.io"},"repository":{"url":"git+https://github.com/Andamio-Platform/andamio-platform-monorepo.git","type":"git","directory":"andamio-db-api"},"_npmVersion":"10.9.3","description":"Type-safe database API client for Andamio Platform - TypeScript types, Zod schemas, and API utilities for building Cardano learning applications","directories":{},"_nodeVersion":"22.20.0","dependencies":{"zod":"^3.22.4","cors":"^2.8.5","dotenv":"^16.6.1","express":"^4.18.2","@trpc/server":"^10.45.0","jsonwebtoken":"^9.0.2","trpc-openapi":"^1.2.0","@prisma/client":"^5.7.1","@meshsdk/common":"^1.9.0-beta.87","@meshsdk/core-cst":"^1.9.0-beta.87"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","prisma":"^5.7.1","typescript":"^5.3.3","@types/cors":"^2.8.17","@types/node":"^20.10.6","@types/express":"^4.17.21","@types/jsonwebtoken":"^9.0.5"},"_npmOperationalInternal":{"tmp":"tmp/db-api_0.1.5_1763633967967_0.823762239261526","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.6":{"name":"@andamio-platform/db-api","version":"0.1.6","keywords":["andamio","cardano","blockchain","learning","education","trpc","openapi","typescript","zod","api-client","database-api","type-safe"],"author":{"name":"Andamio"},"license":"MIT","_id":"@andamio-platform/db-api@0.1.6","maintainers":[{"name":"james-andamio","email":"james@andamio.io"}],"homepage":"https://github.com/Andamio-Platform/andamio-platform-monorepo/tree/main/andamio-db-api#readme","bugs":{"url":"https://github.com/Andamio-Platform/andamio-platform-monorepo/issues"},"dist":{"shasum":"44ab294cf4af66cbdb2b52e0709e922aaf536d6c","tarball":"https://registry.npmjs.org/@andamio-platform/db-api/-/db-api-0.1.6.tgz","fileCount":244,"integrity":"sha512-fgr8wOmo4qRAyLruaM2IA5xHGRNOLVxfeWH0+ZEKEYfaYltLLqkx/rLL4ZFR6eCsLJ5MdLzbNEc6QDbCxFEW6w==","signatures":[{"sig":"MEQCIGLGgIINUyCEPmwxq1RGYYSFfD+juR65Y7Ya6okVp0aEAiB1IJjv0JSmnYe1pQVmIf6OjB+ncWLZtg7+GmX8hNeuJw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":943096},"main":"dist/schemas/index.js","types":"dist/schemas/index.d.ts","exports":{".":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.js"},"./server":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"},"./schemas":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"}},"gitHead":"a061092e3e414120576156a8c2e149cef3920ce1","scripts":{"dev":"tsx watch src/server.ts","build":"tsc","start":"node dist/server.js","config":"./scripts/check-config.sh","test:api":"./scripts/test-api.sh","test:jwt":"tsx scripts/generate-test-jwt.ts","type-check":"tsc --noEmit","build:types":"tsc --declaration --emitDeclarationOnly --outDir dist","prisma:studio":"prisma studio","prisma:migrate":"prisma migrate dev","prisma:generate":"prisma generate"},"_npmUser":{"name":"james-andamio","email":"james@andamio.io"},"repository":{"url":"git+https://github.com/Andamio-Platform/andamio-platform-monorepo.git","type":"git","directory":"andamio-db-api"},"_npmVersion":"10.9.2","description":"Type-safe database API client for Andamio Platform - TypeScript types, Zod schemas, and API utilities for building Cardano learning applications","directories":{},"_nodeVersion":"23.5.0","dependencies":{"zod":"^3.22.4","cors":"^2.8.5","dotenv":"^16.6.1","express":"^4.18.2","@trpc/server":"^10.45.0","jsonwebtoken":"^9.0.2","trpc-openapi":"^1.2.0","@prisma/client":"^5.7.1","@meshsdk/common":"^1.9.0-beta.87","@meshsdk/core-cst":"^1.9.0-beta.87"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","prisma":"^5.7.1","typescript":"^5.3.3","@types/cors":"^2.8.17","@types/node":"^20.10.6","@types/express":"^4.17.21","@types/jsonwebtoken":"^9.0.5"},"_npmOperationalInternal":{"tmp":"tmp/db-api_0.1.6_1763649033519_0.500881719936747","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.7":{"name":"@andamio-platform/db-api","version":"0.1.7","keywords":["andamio","cardano","blockchain","learning","education","trpc","openapi","typescript","zod","api-client","database-api","type-safe"],"author":{"name":"Andamio"},"license":"MIT","_id":"@andamio-platform/db-api@0.1.7","maintainers":[{"name":"james-andamio","email":"james@andamio.io"}],"homepage":"https://github.com/Andamio-Platform/andamio-platform-monorepo/tree/main/andamio-db-api#readme","bugs":{"url":"https://github.com/Andamio-Platform/andamio-platform-monorepo/issues"},"dist":{"shasum":"43cbb5634c4ee94e739add0077ba3923d0d98694","tarball":"https://registry.npmjs.org/@andamio-platform/db-api/-/db-api-0.1.7.tgz","fileCount":244,"integrity":"sha512-aJ3vdH1GX28UKEHYBc5loF4RsZ86ILFm5dNZPxxYOfXXlfvaAzJ1y+ZkjmWBT7py6qWgw6oJB/liZr3byJ0PQg==","signatures":[{"sig":"MEYCIQDSu/ylkc9/3iS2WASeLSpULb5fsOhnfvuplgBix3eb/AIhAIOhPCOaV13Mx8r4MdC9iFd+2aFiW++KDiIEX4puEHwH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":880284},"main":"dist/schemas/index.js","types":"dist/schemas/index.d.ts","exports":{".":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.js"},"./server":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"},"./schemas":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"}},"gitHead":"a7f5719ec4545c360b4cbf2c18591a95dd9a5196","scripts":{"dev":"tsx watch src/server.ts","build":"tsc","start":"node dist/server.js","config":"./scripts/check-config.sh","test:api":"./scripts/test-api.sh","test:jwt":"tsx scripts/generate-test-jwt.ts","type-check":"tsc --noEmit","build:types":"tsc --declaration --emitDeclarationOnly --outDir dist","prisma:studio":"prisma studio","prisma:migrate":"prisma migrate dev","prisma:generate":"prisma generate"},"_npmUser":{"name":"james-andamio","email":"james@andamio.io"},"repository":{"url":"git+https://github.com/Andamio-Platform/andamio-platform-monorepo.git","type":"git","directory":"andamio-db-api"},"_npmVersion":"10.9.2","description":"Type-safe database API client for Andamio Platform - TypeScript types, Zod schemas, and API utilities for building Cardano learning applications","directories":{},"_nodeVersion":"23.5.0","dependencies":{"zod":"^3.22.4","cors":"^2.8.5","dotenv":"^16.6.1","express":"^4.18.2","@trpc/server":"^10.45.0","jsonwebtoken":"^9.0.2","trpc-openapi":"^1.2.0","@prisma/client":"^5.7.1","@meshsdk/common":"^1.9.0-beta.87","@meshsdk/core-cst":"^1.9.0-beta.87"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","prisma":"^5.7.1","typescript":"^5.3.3","@types/cors":"^2.8.17","@types/node":"^20.10.6","@types/express":"^4.17.21","@types/jsonwebtoken":"^9.0.5"},"_npmOperationalInternal":{"tmp":"tmp/db-api_0.1.7_1763650675873_0.8001824652523462","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.8":{"name":"@andamio-platform/db-api","version":"0.1.8","keywords":["andamio","cardano","blockchain","learning","education","trpc","openapi","typescript","zod","api-client","database-api","type-safe"],"author":{"name":"Andamio"},"license":"MIT","_id":"@andamio-platform/db-api@0.1.8","maintainers":[{"name":"james-andamio","email":"james@andamio.io"}],"homepage":"https://github.com/Andamio-Platform/andamio-platform-monorepo/tree/main/andamio-db-api#readme","bugs":{"url":"https://github.com/Andamio-Platform/andamio-platform-monorepo/issues"},"dist":{"shasum":"8c001c2c6e9dc12df278fefa2ea115a5900796c4","tarball":"https://registry.npmjs.org/@andamio-platform/db-api/-/db-api-0.1.8.tgz","fileCount":244,"integrity":"sha512-qWCrZYsQGJaeKwakI8x1fO88XQqySwvYPtcFM5UaM5DaHZLAEeVKELVLW0adwNI2xGcHLxiAmq+DznptChMV+Q==","signatures":[{"sig":"MEQCICR5g9CVyOYjeU4CPBasPzdEYZAW8ResfOC9oqY2pfDfAiBX/1wHbxHWlYMy+sgM1I4NbehQ3TxrZdY4OTtJ3yZ5Jw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":932918},"main":"dist/schemas/index.js","types":"dist/schemas/index.d.ts","exports":{".":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.js"},"./server":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"},"./schemas":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"}},"gitHead":"677b3d3d492991012de5d7ce03d11d202ef2652a","scripts":{"dev":"tsx watch src/server.ts","build":"tsc","start":"node dist/server.js","config":"./scripts/check-config.sh","test:api":"./scripts/test-api.sh","test:jwt":"tsx scripts/generate-test-jwt.ts","type-check":"tsc --noEmit","build:types":"tsc --declaration --emitDeclarationOnly --outDir dist","prisma:studio":"prisma studio","prisma:migrate":"prisma migrate dev","prisma:generate":"prisma generate"},"_npmUser":{"name":"james-andamio","email":"james@andamio.io"},"repository":{"url":"git+https://github.com/Andamio-Platform/andamio-platform-monorepo.git","type":"git","directory":"andamio-db-api"},"_npmVersion":"10.9.2","description":"Type-safe database API client for Andamio Platform - TypeScript types, Zod schemas, and API utilities for building Cardano learning applications","directories":{},"_nodeVersion":"23.5.0","dependencies":{"zod":"^3.22.4","cors":"^2.8.5","dotenv":"^16.6.1","express":"^4.18.2","@trpc/server":"^10.45.0","jsonwebtoken":"^9.0.2","trpc-openapi":"^1.2.0","@prisma/client":"^5.22.0","@meshsdk/common":"^1.9.0-beta.87","@meshsdk/core-cst":"^1.9.0-beta.87"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","prisma":"^5.7.1","typescript":"^5.3.3","@types/cors":"^2.8.17","@types/node":"^20.10.6","@types/express":"^4.17.21","@types/jsonwebtoken":"^9.0.5"},"_npmOperationalInternal":{"tmp":"tmp/db-api_0.1.8_1763661930896_0.8598611824330948","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.9":{"name":"@andamio-platform/db-api","version":"0.1.9","keywords":["andamio","cardano","blockchain","learning","education","trpc","openapi","typescript","zod","api-client","database-api","type-safe"],"author":{"name":"Andamio"},"license":"MIT","_id":"@andamio-platform/db-api@0.1.9","maintainers":[{"name":"james-andamio","email":"james@andamio.io"}],"homepage":"https://github.com/Andamio-Platform/andamio-platform-monorepo/tree/main/andamio-db-api#readme","bugs":{"url":"https://github.com/Andamio-Platform/andamio-platform-monorepo/issues"},"dist":{"shasum":"fe5a299b7592c7c333a671a0e2c6ba7a81044986","tarball":"https://registry.npmjs.org/@andamio-platform/db-api/-/db-api-0.1.9.tgz","fileCount":244,"integrity":"sha512-rXJEfafS1JEIcYN12xgrelcuvdpVoajOq5JMSg0JWXaVqtvScMwOgcvpF/V79a60wd+km9f/4JyTPSZpUBvoqw==","signatures":[{"sig":"MEQCICj6Ky0TZ4Z+oxZapNsv7+YicNN//MV97k/wV+k6eIX2AiA6Oye6QXzLF+zzOn8IwT93/ndbfBMd5/8UHr+3NRn5ig==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":946062},"main":"dist/schemas/index.js","types":"dist/schemas/index.d.ts","exports":{".":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.js"},"./server":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"},"./schemas":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"}},"gitHead":"15cb04b991f3ecc1dd3cea72251d759aea55d1c8","scripts":{"dev":"tsx watch src/server.ts","build":"tsc","start":"node dist/server.js","config":"./scripts/check-config.sh","test:api":"./scripts/test-api.sh","test:jwt":"tsx scripts/generate-test-jwt.ts","type-check":"tsc --noEmit","build:types":"tsc --declaration --emitDeclarationOnly --outDir dist","prisma:studio":"prisma studio","prisma:migrate":"prisma migrate dev","prisma:generate":"prisma generate"},"_npmUser":{"name":"james-andamio","email":"james@andamio.io"},"repository":{"url":"git+https://github.com/Andamio-Platform/andamio-platform-monorepo.git","type":"git","directory":"andamio-db-api"},"_npmVersion":"10.9.2","description":"Type-safe database API client for Andamio Platform - TypeScript types, Zod schemas, and API utilities for building Cardano learning applications","directories":{},"_nodeVersion":"23.5.0","dependencies":{"zod":"^3.22.4","cors":"^2.8.5","dotenv":"^16.6.1","express":"^4.18.2","@trpc/server":"^10.45.0","jsonwebtoken":"^9.0.2","trpc-openapi":"^1.2.0","@prisma/client":"^5.22.0","@meshsdk/common":"^1.9.0-beta.87","@meshsdk/core-cst":"^1.9.0-beta.87"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","prisma":"^5.7.1","typescript":"^5.3.3","@types/cors":"^2.8.17","@types/node":"^20.10.6","@types/express":"^4.17.21","@types/jsonwebtoken":"^9.0.5"},"_npmOperationalInternal":{"tmp":"tmp/db-api_0.1.9_1763664013842_0.40831706079707564","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.10":{"name":"@andamio-platform/db-api","version":"0.1.10","keywords":["andamio","cardano","blockchain","learning","education","trpc","openapi","typescript","zod","api-client","database-api","type-safe"],"author":{"name":"Andamio"},"license":"MIT","_id":"@andamio-platform/db-api@0.1.10","maintainers":[{"name":"james-andamio","email":"james@andamio.io"}],"homepage":"https://github.com/Andamio-Platform/andamio-platform-monorepo/tree/main/andamio-db-api#readme","bugs":{"url":"https://github.com/Andamio-Platform/andamio-platform-monorepo/issues"},"dist":{"shasum":"b279af1f4b8d6dcdc84a12bdf25eaa88e67f3c3c","tarball":"https://registry.npmjs.org/@andamio-platform/db-api/-/db-api-0.1.10.tgz","fileCount":244,"integrity":"sha512-tEbtYJZ0uuMQ0LvIQnDxnnOQJHyU0jLp2C1Fyww4kL9nMhyo+6whuYgFQlYSDuap2vxOUnSvfUWpE8eorg3nLg==","signatures":[{"sig":"MEQCIEVlWF4w11Y8YDBocYyH+WMWF/+JarnHlm0JhVibXWPMAiAxouFkOG/UlMyiLMPOhkV6WXAwacbC3ypSghGAZLCaBg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":946200},"main":"dist/schemas/index.js","types":"dist/schemas/index.d.ts","exports":{".":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.js"},"./server":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"},"./schemas":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"}},"gitHead":"7d4fdeb84759979cb49386988331298f368d8da0","scripts":{"dev":"tsx watch src/server.ts","build":"tsc","start":"node dist/server.js","config":"./scripts/check-config.sh","test:api":"./scripts/test-api.sh","test:jwt":"tsx scripts/generate-test-jwt.ts","type-check":"tsc --noEmit","build:types":"tsc --declaration --emitDeclarationOnly --outDir dist","prisma:studio":"prisma studio","prisma:migrate":"prisma migrate dev","prisma:generate":"prisma generate"},"_npmUser":{"name":"james-andamio","email":"james@andamio.io"},"repository":{"url":"git+https://github.com/Andamio-Platform/andamio-platform-monorepo.git","type":"git","directory":"andamio-db-api"},"_npmVersion":"10.9.2","description":"Type-safe database API client for Andamio Platform - TypeScript types, Zod schemas, and API utilities for building Cardano learning applications","directories":{},"_nodeVersion":"23.5.0","dependencies":{"zod":"^3.22.4","cors":"^2.8.5","dotenv":"^16.6.1","express":"^4.18.2","@trpc/server":"^10.45.0","jsonwebtoken":"^9.0.2","trpc-openapi":"^1.2.0","@prisma/client":"^5.22.0","@meshsdk/common":"^1.9.0-beta.87","@meshsdk/core-cst":"^1.9.0-beta.87"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","prisma":"^5.7.1","typescript":"^5.3.3","@types/cors":"^2.8.17","@types/node":"^20.10.6","@types/express":"^4.17.21","@types/jsonwebtoken":"^9.0.5"},"_npmOperationalInternal":{"tmp":"tmp/db-api_0.1.10_1763665278118_0.8795933648519887","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.11":{"name":"@andamio-platform/db-api","version":"0.1.11","keywords":["andamio","cardano","blockchain","learning","education","trpc","openapi","typescript","zod","api-client","database-api","type-safe"],"author":{"name":"Andamio"},"license":"MIT","_id":"@andamio-platform/db-api@0.1.11","maintainers":[{"name":"james-andamio","email":"james@andamio.io"}],"homepage":"https://github.com/Andamio-Platform/andamio-platform-monorepo/tree/main/andamio-db-api#readme","bugs":{"url":"https://github.com/Andamio-Platform/andamio-platform-monorepo/issues"},"dist":{"shasum":"565d76bab7313b5a54c19abb489cfd0d18d3cbba","tarball":"https://registry.npmjs.org/@andamio-platform/db-api/-/db-api-0.1.11.tgz","fileCount":244,"integrity":"sha512-rO32sWG/pmZet4bPBLevPzaMRthNfu94OeLdf1FnVMcT1WYZctuEcYo3Q5/cPRt3mDUnzfOEyB1hj72twjDAwA==","signatures":[{"sig":"MEQCICqyKkhSRmvG2yXOhrdC/kbI2E3x5YcYaLeOGG/q+p3AAiBoLDExNi31UJWzBrEigJ7cDmS2ly+fs8k5WVAPyAEcSQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":945670},"main":"dist/schemas/index.js","types":"dist/schemas/index.d.ts","exports":{".":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.js"},"./server":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"},"./schemas":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"}},"gitHead":"6d9cfe3c0cb80c6fe19d9b4989c131f7ac69cdd6","scripts":{"dev":"tsx watch src/server.ts","build":"tsc","start":"node dist/server.js","config":"./scripts/check-config.sh","test:api":"./scripts/test-api.sh","test:jwt":"tsx scripts/generate-test-jwt.ts","type-check":"tsc --noEmit","build:types":"tsc --declaration --emitDeclarationOnly --outDir dist","prisma:studio":"prisma studio","prisma:migrate":"prisma migrate dev","prisma:generate":"prisma generate"},"_npmUser":{"name":"james-andamio","email":"james@andamio.io"},"repository":{"url":"git+https://github.com/Andamio-Platform/andamio-platform-monorepo.git","type":"git","directory":"andamio-db-api"},"_npmVersion":"10.9.2","description":"Type-safe database API client for Andamio Platform - TypeScript types, Zod schemas, and API utilities for building Cardano learning applications","directories":{},"_nodeVersion":"23.5.0","dependencies":{"zod":"^3.22.4","cors":"^2.8.5","dotenv":"^16.6.1","express":"^4.18.2","@trpc/server":"^10.45.0","jsonwebtoken":"^9.0.2","trpc-openapi":"^1.2.0","@prisma/client":"^5.22.0","@meshsdk/common":"^1.9.0-beta.87","@meshsdk/core-cst":"^1.9.0-beta.87"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","prisma":"^5.7.1","typescript":"^5.3.3","@types/cors":"^2.8.17","@types/node":"^20.10.6","@types/express":"^4.17.21","@types/jsonwebtoken":"^9.0.5"},"_npmOperationalInternal":{"tmp":"tmp/db-api_0.1.11_1763667252112_0.8535906481758666","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.13":{"name":"@andamio-platform/db-api","version":"0.1.13","keywords":["andamio","cardano","blockchain","learning","education","trpc","openapi","typescript","zod","api-client","database-api","type-safe"],"author":{"name":"Andamio"},"license":"MIT","_id":"@andamio-platform/db-api@0.1.13","maintainers":[{"name":"james-andamio","email":"james@andamio.io"}],"homepage":"https://github.com/Andamio-Platform/andamio-platform-monorepo/tree/main/andamio-db-api#readme","bugs":{"url":"https://github.com/Andamio-Platform/andamio-platform-monorepo/issues"},"dist":{"shasum":"87f29bcc3ef51dd922f033f6867030528c61e173","tarball":"https://registry.npmjs.org/@andamio-platform/db-api/-/db-api-0.1.13.tgz","fileCount":244,"integrity":"sha512-nKqE7ktlSANUgw7Me7pTw9G3tdb3yDUhJTH9CXiXTbnzqAjOTSyIQs1G1YFmcgbnkUC2Na2cjOmqtVswHuvUeg==","signatures":[{"sig":"MEUCIQCDX0ycZU4D1LakwGunH6bd3SxRI/NJShqPFlkZbDm/SwIgIbazC9km6AyR/fS+3rAHXX3M83H0Rn3ayvR0OiH1D5c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":949753},"main":"dist/schemas/index.js","types":"dist/schemas/index.d.ts","exports":{".":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.js"},"./server":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"},"./schemas":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"}},"gitHead":"cb729b06beb15f94753d7fca7cb6342e5ccc56c4","scripts":{"dev":"tsx watch src/server.ts","build":"tsc","start":"node dist/server.js","config":"./scripts/check-config.sh","test:api":"./scripts/test-api.sh","test:jwt":"tsx scripts/generate-test-jwt.ts","type-check":"tsc --noEmit","build:types":"tsc --declaration --emitDeclarationOnly --outDir dist","prisma:studio":"prisma studio","prisma:migrate":"prisma migrate dev","prisma:generate":"prisma generate"},"_npmUser":{"name":"james-andamio","email":"james@andamio.io"},"repository":{"url":"git+https://github.com/Andamio-Platform/andamio-platform-monorepo.git","type":"git","directory":"andamio-db-api"},"_npmVersion":"10.9.2","description":"Type-safe database API client for Andamio Platform - TypeScript types, Zod schemas, and API utilities for building Cardano learning applications","directories":{},"_nodeVersion":"23.5.0","dependencies":{"zod":"^3.22.4","cors":"^2.8.5","dotenv":"^16.6.1","express":"^4.18.2","@trpc/server":"^10.45.0","jsonwebtoken":"^9.0.2","trpc-openapi":"^1.2.0","@prisma/client":"^5.22.0","@meshsdk/common":"^1.9.0-beta.87","@meshsdk/core-cst":"^1.9.0-beta.87"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","prisma":"^5.7.1","typescript":"^5.3.3","@types/cors":"^2.8.17","@types/node":"^20.10.6","@types/express":"^4.17.21","@types/jsonwebtoken":"^9.0.5"},"_npmOperationalInternal":{"tmp":"tmp/db-api_0.1.13_1763669977183_0.646007051329645","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.14":{"name":"@andamio-platform/db-api","version":"0.1.14","keywords":["andamio","cardano","blockchain","learning","education","trpc","openapi","typescript","zod","api-client","database-api","type-safe"],"author":{"name":"Andamio"},"license":"MIT","_id":"@andamio-platform/db-api@0.1.14","maintainers":[{"name":"james-andamio","email":"james@andamio.io"}],"homepage":"https://github.com/Andamio-Platform/andamio-platform-monorepo/tree/main/andamio-db-api#readme","bugs":{"url":"https://github.com/Andamio-Platform/andamio-platform-monorepo/issues"},"dist":{"shasum":"2d583198414873e44c004a9717322d1a2aaf51fd","tarball":"https://registry.npmjs.org/@andamio-platform/db-api/-/db-api-0.1.14.tgz","fileCount":244,"integrity":"sha512-nk1rJx9c8HatG69nN+UbSAC5rXfBGxN0wjCRGwuPsGNwLU1Cq9b6Dp4fiQUdD2dshvqze93CabNv9fEATHMFrg==","signatures":[{"sig":"MEUCIQChGnf4s80lZQHgyK73a204D5nbqC4rLxl2zu4TBKjZZQIgL0vBmh/dhzVwR9Gu4Pp4hhlJ4JDyYNvyV9VCcATIFRs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":950329},"main":"dist/schemas/index.js","types":"dist/schemas/index.d.ts","exports":{".":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.js"},"./server":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"},"./schemas":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"}},"gitHead":"a365fd33dfad392969d7c1e0c70d7bd0e3be6ec3","scripts":{"dev":"tsx watch src/server.ts","build":"tsc","start":"node dist/server.js","config":"./scripts/check-config.sh","test:api":"./scripts/test-api.sh","test:jwt":"tsx scripts/generate-test-jwt.ts","type-check":"tsc --noEmit","build:types":"tsc --declaration --emitDeclarationOnly --outDir dist","prisma:studio":"prisma studio","prisma:migrate":"prisma migrate dev","prisma:generate":"prisma generate"},"_npmUser":{"name":"james-andamio","email":"james@andamio.io"},"repository":{"url":"git+https://github.com/Andamio-Platform/andamio-platform-monorepo.git","type":"git","directory":"andamio-db-api"},"_npmVersion":"10.9.2","description":"Type-safe database API client for Andamio Platform - TypeScript types, Zod schemas, and API utilities for building Cardano learning applications","directories":{},"_nodeVersion":"23.5.0","dependencies":{"zod":"^3.22.4","cors":"^2.8.5","dotenv":"^16.6.1","express":"^4.18.2","@trpc/server":"^10.45.0","jsonwebtoken":"^9.0.2","trpc-openapi":"^1.2.0","@prisma/client":"^5.22.0","@meshsdk/common":"^1.9.0-beta.87","@meshsdk/core-cst":"^1.9.0-beta.87"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","prisma":"^5.7.1","typescript":"^5.3.3","@types/cors":"^2.8.17","@types/node":"^20.10.6","@types/express":"^4.17.21","@types/jsonwebtoken":"^9.0.5"},"_npmOperationalInternal":{"tmp":"tmp/db-api_0.1.14_1763670207961_0.2496822543059627","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.15":{"name":"@andamio-platform/db-api","version":"0.1.15","keywords":["andamio","cardano","blockchain","learning","education","trpc","openapi","typescript","zod","api-client","database-api","type-safe"],"author":{"name":"Andamio"},"license":"MIT","_id":"@andamio-platform/db-api@0.1.15","maintainers":[{"name":"james-andamio","email":"james@andamio.io"}],"homepage":"https://github.com/Andamio-Platform/andamio-platform-monorepo/tree/main/andamio-db-api#readme","bugs":{"url":"https://github.com/Andamio-Platform/andamio-platform-monorepo/issues"},"dist":{"shasum":"5ff1a46d0cfe32e4c26b3a41c72faf49c154a93a","tarball":"https://registry.npmjs.org/@andamio-platform/db-api/-/db-api-0.1.15.tgz","fileCount":244,"integrity":"sha512-h2qRz9LjvP4ZYWBCmJo9TEjeiCHFrpZc9xVYo4PNhcn7X4rz2uNLMDNu4nNUJgEErswYY7YNvEK7ZGjDo6gPGw==","signatures":[{"sig":"MEUCIQDmoCTxG66XkBQFoc/GA/gDVxaQep43EvoGcOf/KHFOtAIgeZXwXx5RXIslnTU6CtxsTmlTxbBs2w2f48tuN9vwvIk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":959361},"main":"dist/schemas/index.js","types":"dist/schemas/index.d.ts","exports":{".":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.js"},"./server":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"},"./schemas":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"}},"gitHead":"e617d39213e500c1fbf89c01e72fc1a3dfa7ddc5","scripts":{"dev":"tsx watch src/server.ts","build":"tsc","start":"node dist/server.js","config":"./scripts/check-config.sh","test:api":"./scripts/test-api.sh","test:jwt":"tsx scripts/generate-test-jwt.ts","type-check":"tsc --noEmit","build:types":"tsc --declaration --emitDeclarationOnly --outDir dist","prisma:studio":"prisma studio","prisma:migrate":"prisma migrate dev","prisma:generate":"prisma generate"},"_npmUser":{"name":"james-andamio","email":"james@andamio.io"},"repository":{"url":"git+https://github.com/Andamio-Platform/andamio-platform-monorepo.git","type":"git","directory":"andamio-db-api"},"_npmVersion":"10.9.2","description":"Type-safe database API client for Andamio Platform - TypeScript types, Zod schemas, and API utilities for building Cardano learning applications","directories":{},"_nodeVersion":"23.5.0","dependencies":{"zod":"^3.22.4","cors":"^2.8.5","dotenv":"^16.6.1","express":"^4.18.2","@trpc/server":"^10.45.0","jsonwebtoken":"^9.0.2","trpc-openapi":"^1.2.0","@prisma/client":"^5.22.0","@meshsdk/common":"^1.9.0-beta.87","@meshsdk/core-cst":"^1.9.0-beta.87"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","prisma":"^5.7.1","typescript":"^5.3.3","@types/cors":"^2.8.17","@types/node":"^20.10.6","@types/express":"^4.17.21","@types/jsonwebtoken":"^9.0.5"},"_npmOperationalInternal":{"tmp":"tmp/db-api_0.1.15_1763671498646_0.6340338571766209","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.16":{"name":"@andamio-platform/db-api","version":"0.1.16","keywords":["andamio","cardano","blockchain","learning","education","trpc","openapi","typescript","zod","api-client","database-api","type-safe"],"author":{"name":"Andamio"},"license":"MIT","_id":"@andamio-platform/db-api@0.1.16","maintainers":[{"name":"james-andamio","email":"james@andamio.io"}],"homepage":"https://github.com/Andamio-Platform/andamio-platform-monorepo/tree/main/andamio-db-api#readme","bugs":{"url":"https://github.com/Andamio-Platform/andamio-platform-monorepo/issues"},"dist":{"shasum":"1e2033a92138cf2b2c4ef60f7b9326cc3361a81f","tarball":"https://registry.npmjs.org/@andamio-platform/db-api/-/db-api-0.1.16.tgz","fileCount":244,"integrity":"sha512-gjC8aT7N0v7AqoiKH9vX9ZhN6TX9aSA27c5qMXc1+y6cXuwvQ65EPNS2EBitWmo+dkRt/T70JZ19IL7GXnf2nA==","signatures":[{"sig":"MEUCIAWV7kvN0t2DqmmhDaZWxzB3lZVYRy780qMppHBYZ52yAiEA+Txdtxdjnkuuxrs9iEzHuHiYxRO1maY+i8poGUxcYmk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":962639},"main":"dist/schemas/index.js","types":"dist/schemas/index.d.ts","exports":{".":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"},"./types":{"types":"./dist/types/index.d.ts","import":"./dist/types/index.js","require":"./dist/types/index.js"},"./server":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"},"./schemas":{"types":"./dist/schemas/index.d.ts","import":"./dist/schemas/index.js","require":"./dist/schemas/index.js"}},"gitHead":"43db9ab054a79791969bc897559beee6fa495673","scripts":{"dev":"tsx watch src/server.ts","build":"tsc","start":"node dist/server.js","config":"./scripts/check-config.sh","test:api":"./scripts/test-api.sh","test:jwt":"tsx scripts/generate-test-jwt.ts","type-check":"tsc --noEmit","build:types":"tsc --declaration --emitDeclarationOnly --outDir dist","prisma:studio":"prisma studio","prisma:migrate":"prisma migrate dev","prisma:generate":"prisma generate"},"_npmUser":{"name":"james-andamio","email":"james@andamio.io"},"repository":{"url":"git+https://github.com/Andamio-Platform/andamio-platform-monorepo.git","type":"git","directory":"andamio-db-api"},"_npmVersion":"10.9.2","description":"Type-safe database API client for Andamio Platform - TypeScript types, Zod schemas, and API utilities for building Cardano learning applications","directories":{},"_nodeVersion":"23.5.0","dependencies":{"zod":"^3.22.4","cors":"^2.8.5","dotenv":"^16.6.1","express":"^4.18.2","@trpc/server":"^10.45.0","jsonwebtoken":"^9.0.2","trpc-openapi":"^1.2.0","@prisma/client":"^5.22.0","@meshsdk/common":"^1.9.0-beta.87","@meshsdk/core-cst":"^1.9.0-beta.87"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","prisma":"^5.7.1","typescript":"^5.3.3","@types/cors":"^2.8.17","@types/node":"^20.10.6","@types/express":"^4.17.21","@types/jsonwebtoken":"^9.0.5"},"_npmOperationalInternal":{"tmp":"tmp/db-api_0.1.16_1763673120591_0.333767949996425","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2025-11-19T18:06:20.344Z","modified":"2025-11-21T20:18:26.195Z","0.1.0":"2025-11-19T18:06:20.675Z","0.1.5":"2025-11-20T10:19:28.203Z","0.1.6":"2025-11-20T14:30:33.730Z","0.1.7":"2025-11-20T14:57:56.087Z","0.1.8":"2025-11-20T18:05:31.125Z","0.1.9":"2025-11-20T18:40:14.055Z","0.1.10":"2025-11-20T19:01:18.331Z","0.1.11":"2025-11-20T19:34:12.329Z","0.1.13":"2025-11-20T20:19:37.385Z","0.1.14":"2025-11-20T20:23:28.179Z","0.1.15":"2025-11-20T20:44:58.855Z","0.1.16":"2025-11-20T21:12:00.810Z"},"bugs":{"url":"https://github.com/Andamio-Platform/andamio-platform-monorepo/issues"},"author":{"name":"Andamio"},"license":"MIT","homepage":"https://github.com/Andamio-Platform/andamio-platform-monorepo/tree/main/andamio-db-api#readme","keywords":["andamio","cardano","blockchain","learning","education","trpc","openapi","typescript","zod","api-client","database-api","type-safe"],"repository":{"url":"git+https://github.com/Andamio-Platform/andamio-platform-monorepo.git","type":"git","directory":"andamio-db-api"},"description":"Type-safe database API client for Andamio Platform - TypeScript types, Zod schemas, and API utilities for building Cardano learning applications","maintainers":[{"name":"james-andamio","email":"james@andamio.io"}],"readme":"# @andamio-platform/db-api\n\nType-safe database API client for Andamio Platform - TypeScript types, Zod schemas, and API utilities for building Cardano learning applications.\n\n## Installation\n\n```bash\nnpm install @andamio-platform/db-api\n```\n\n## Overview\n\nThis package provides TypeScript types and Zod schemas for the Andamio Database API. Import types to get full type safety and autocomplete when working with the Andamio API, with zero framework dependencies required.\n\n**Key Features:**\n- ✅ **Zero tRPC knowledge required** - Clean TypeScript types\n- ✅ **Works with any HTTP client** - fetch, axios, or any other client\n- ✅ **Full autocomplete and type safety** - IntelliSense support\n- ✅ **Runtime validation** - Optional Zod schemas for validation\n- ✅ **Versioned API support** - Supports v0 (unstable) API endpoints\n\n## Quick Start\n\n### Basic Usage with Fetch\n\n```typescript\nimport {\n  type ListOwnedCoursesOutput,\n  type CourseOutput,\n  type CreateCourseInput\n} from \"@andamio-platform/db-api\";\n\n// GET request with typed response\nconst response = await fetch(`${API_URL}/courses/owned`, {\n  headers: {\n    Authorization: `Bearer ${jwtToken}`,\n  },\n});\nconst courses = (await response.json()) as ListOwnedCoursesOutput;\n\n// POST request with typed input and output\nconst createData: CreateCourseInput = {\n  courseCode: \"CS101\",\n  courseName: \"Introduction to Computer Science\",\n  // ... other fields\n};\n\nconst createResponse = await fetch(`${API_URL}/courses`, {\n  method: \"POST\",\n  headers: {\n    \"Content-Type\": \"application/json\",\n    Authorization: `Bearer ${jwtToken}`,\n  },\n  body: JSON.stringify(createData),\n});\nconst newCourse = (await createResponse.json()) as CourseOutput;\n```\n\n### Runtime Validation with Schemas\n\n```typescript\nimport {\n  type ListOwnedCoursesOutput,\n  listOwnedCoursesOutputSchema\n} from \"@andamio-platform/db-api\";\n\nconst response = await fetch(`${API_URL}/courses/owned`);\nconst data = await response.json();\n\n// Runtime validation with Zod\nconst courses = listOwnedCoursesOutputSchema.parse(data);\n// TypeScript now knows courses is ListOwnedCoursesOutput\n```\n\n## Package Exports\n\nThis package provides multiple export paths for different use cases:\n\n### Default Export (Recommended)\n\n```typescript\n// Import types and schemas (no tRPC dependency)\nimport {\n  type CourseOutput,\n  type CreateCourseInput,\n  courseOutputSchema\n} from \"@andamio-platform/db-api\";\n```\n\n### Explicit Imports\n\n```typescript\n// Schemas and types\nimport { type CourseOutput } from \"@andamio-platform/db-api/schemas\";\n\n// tRPC-inferred types (legacy)\nimport { type RouterInputs, type RouterOutputs } from \"@andamio-platform/db-api/types\";\n```\n\n## Available Types\n\nThe package exports types for all API endpoints, organized by domain:\n\n### Course Types\n```typescript\nimport {\n  type CourseOutput,\n  type ListOwnedCoursesOutput,\n  type ListPublishedCoursesOutput,\n  type CreateCourseInput,\n  type UpdateCourseInput,\n  type DeleteCourseInput,\n  // ... and schemas\n  courseOutputSchema,\n  listOwnedCoursesOutputSchema,\n} from \"@andamio-platform/db-api\";\n```\n\n### Course Module Types\n```typescript\nimport {\n  type CourseModuleOutput,\n  type ListCourseModulesOutput,\n  type CreateCourseModuleInput,\n  type UpdateCourseModuleInput,\n  // ... and schemas\n} from \"@andamio-platform/db-api\";\n```\n\n### Lesson Types\n```typescript\nimport {\n  type LessonOutput,\n  type ListLessonsOutput,\n  type CreateLessonInput,\n  type UpdateLessonInput,\n  // ... and schemas\n} from \"@andamio-platform/db-api\";\n```\n\n### Assignment Types\n```typescript\nimport {\n  type AssignmentOutput,\n  type CreateAssignmentInput,\n  type UpdateAssignmentInput,\n  type PublishAssignmentInput,\n  // ... and schemas\n} from \"@andamio-platform/db-api\";\n```\n\n### Assignment Commitment Types\n```typescript\nimport {\n  type AssignmentCommitmentOutput,\n  type AssignmentCommitmentWithAssignmentOutput,\n  type CreateAssignmentCommitmentInput,\n  type UpdateAssignmentCommitmentEvidenceInput,\n  type UpdateAssignmentCommitmentStatusInput,\n  type DeleteAssignmentCommitmentInput,\n  type PrivateStatus,\n  type NetworkStatus,\n  // ... and schemas\n  assignmentCommitmentOutputSchema,\n  networkStatusSchema,\n  privateStatusSchema,\n} from \"@andamio-platform/db-api\";\n```\n\n### Pending Transaction Types\n```typescript\nimport {\n  type PendingTransaction,\n  type ListPendingTransactionsOutput,\n  // ... and schemas\n  listPendingTransactionsOutputSchema,\n} from \"@andamio-platform/db-api\";\n```\n\n### SLT (Student Learning Target) Types\n```typescript\nimport {\n  type SLTOutput,\n  type ListSLTsOutput,\n  type CreateSLTInput,\n  type UpdateSLTInput,\n  // ... and schemas\n} from \"@andamio-platform/db-api\";\n```\n\n### Auth Types\n```typescript\nimport {\n  type CreateSessionInput,\n  type CreateSessionOutput,\n  type ValidateSignatureInput,\n  type ValidateSignatureOutput,\n  // ... and schemas\n} from \"@andamio-platform/db-api\";\n```\n\n### Complete Type Reference\n\nFor a complete list of all available types and schemas, see [API-TYPE-REFERENCE.md](https://github.com/Andamio-Platform/andamio-platform-monorepo/blob/main/andamio-db-api/API-TYPE-REFERENCE.md).\n\n## API Versioning\n\n**Current Version**: `0.1.0` (Unstable)\n\nThis package supports the Andamio Database API v0, which is currently unstable and under active development.\n\n**⚠️ Version 0.x Status**:\n- **Unstable** - Breaking changes may occur between minor versions\n- Use for **development and testing only**\n- Not recommended for production\n- Will be stabilized as v1.0.0 once API design is finalized\n\n**API Endpoints**:\n- `/api/v0/*` - REST endpoints (recommended)\n- `/trpc/v0/*` - tRPC endpoints\n\n## Examples\n\n### Fetching Published Courses\n\n```typescript\nimport { type ListPublishedCoursesOutput } from \"@andamio-platform/db-api\";\n\nasync function getPublishedCourses() {\n  const response = await fetch(`${API_URL}/courses/published`);\n  const courses = (await response.json()) as ListPublishedCoursesOutput;\n\n  courses.forEach(course => {\n    console.log(course.courseName, course.courseNftPolicyId);\n  });\n}\n```\n\n### Creating a Course Module\n\n```typescript\nimport {\n  type CreateCourseModuleInput,\n  type CourseModuleOutput\n} from \"@andamio-platform/db-api\";\n\nasync function createModule(\n  courseNftPolicyId: string,\n  moduleData: Omit<CreateCourseModuleInput, \"courseNftPolicyId\">\n) {\n  const input: CreateCourseModuleInput = {\n    courseNftPolicyId,\n    ...moduleData,\n  };\n\n  const response = await fetch(`${API_URL}/course-modules`, {\n    method: \"POST\",\n    headers: {\n      \"Content-Type\": \"application/json\",\n      Authorization: `Bearer ${jwtToken}`,\n    },\n    body: JSON.stringify(input),\n  });\n\n  return (await response.json()) as CourseModuleOutput;\n}\n```\n\n### Updating a Lesson\n\n```typescript\nimport {\n  type UpdateLessonInput,\n  type LessonOutput\n} from \"@andamio-platform/db-api\";\n\nasync function updateLesson(lessonData: UpdateLessonInput) {\n  const response = await fetch(`${API_URL}/lessons`, {\n    method: \"PUT\",\n    headers: {\n      \"Content-Type\": \"application/json\",\n      Authorization: `Bearer ${jwtToken}`,\n    },\n    body: JSON.stringify(lessonData),\n  });\n\n  return (await response.json()) as LessonOutput;\n}\n```\n\n### Checking Pending Transactions\n\n```typescript\nimport { type ListPendingTransactionsOutput } from \"@andamio-platform/db-api\";\n\nasync function getPendingTransactions() {\n  const response = await fetch(`${API_URL}/pending-transactions`, {\n    headers: { Authorization: `Bearer ${jwtToken}` },\n  });\n\n  const pendingTxs = (await response.json()) as ListPendingTransactionsOutput;\n\n  pendingTxs.forEach(tx => {\n    console.log(`${tx.entityType} - ${tx.txHash} (submitted: ${tx.submittedAt})`);\n  });\n}\n```\n\n### Updating Assignment Commitment Status\n\n```typescript\nimport {\n  type UpdateAssignmentCommitmentStatusInput,\n  type AssignmentCommitmentOutput\n} from \"@andamio-platform/db-api\";\n\nasync function updateCommitmentStatus(\n  courseNftPolicyId: string,\n  moduleCode: string,\n  accessTokenAlias: string,\n  newStatus: \"PENDING_APPROVAL\" | \"AWAITING_EVIDENCE\"\n) {\n  const input: UpdateAssignmentCommitmentStatusInput = {\n    courseNftPolicyId,\n    moduleCode,\n    accessTokenAlias,\n    networkStatus: newStatus,\n  };\n\n  const response = await fetch(\n    `${API_URL}/assignment-commitments/${courseNftPolicyId}/${moduleCode}/${accessTokenAlias}/status`,\n    {\n      method: \"PATCH\",\n      headers: {\n        \"Content-Type\": \"application/json\",\n        Authorization: `Bearer ${jwtToken}`,\n      },\n      body: JSON.stringify(input),\n    }\n  );\n\n  return (await response.json()) as AssignmentCommitmentOutput;\n}\n```\n\n### Confirming Blockchain Transactions\n\n```typescript\nimport { type CourseModuleOutput } from \"@andamio-platform/db-api\";\n\nasync function confirmModuleTransaction(\n  courseNftPolicyId: string,\n  moduleCode: string,\n  txHash: string,\n  moduleHash?: string\n) {\n  const response = await fetch(\n    `${API_URL}/course-modules/${courseNftPolicyId}/${moduleCode}/confirm-transaction`,\n    {\n      method: \"PATCH\",\n      headers: {\n        \"Content-Type\": \"application/json\",\n        Authorization: `Bearer ${jwtToken}`,\n      },\n      body: JSON.stringify({\n        courseNftPolicyId,\n        moduleCode,\n        txHash,\n        moduleHash,\n      }),\n    }\n  );\n\n  return (await response.json()) as CourseModuleOutput;\n}\n```\n\n## Using with React\n\nHere's an example of using the types in a React component:\n\n```typescript\nimport { useState, useEffect } from \"react\";\nimport { type ListOwnedCoursesOutput } from \"@andamio-platform/db-api\";\n\nfunction MyCourses() {\n  const [courses, setCourses] = useState<ListOwnedCoursesOutput>([]);\n  const [loading, setLoading] = useState(true);\n\n  useEffect(() => {\n    async function fetchCourses() {\n      const response = await fetch(`${API_URL}/courses/owned`, {\n        headers: { Authorization: `Bearer ${jwtToken}` },\n      });\n      const data = (await response.json()) as ListOwnedCoursesOutput;\n      setCourses(data);\n      setLoading(false);\n    }\n    fetchCourses();\n  }, []);\n\n  if (loading) return <div>Loading...</div>;\n\n  return (\n    <ul>\n      {courses.map((course) => (\n        <li key={course.courseNftPolicyId}>{course.courseName}</li>\n      ))}\n    </ul>\n  );\n}\n```\n\n## Architecture\n\nThis package is designed to work with the Andamio Platform architecture:\n\n```\nYour Application\n      ↓ (uses types from)\n@andamio-platform/db-api (this package)\n      ↓ (HTTP requests to)\nAndamio API Gateway\n      ↓ (routes to)\nAndamio Database API\n      ↓ (queries)\nPostgreSQL Database\n```\n\n### API Design Principles\n\n- **On-Chain Identifiers Only**: The API uses blockchain identifiers (`courseNftPolicyId`, `courseCode`, `moduleCode`) and never exposes internal database IDs\n- **Role-Based Authorization**: Supports Learner, Creator, Contributor, Treasury Owner, and Contribution Manager roles\n- **Type Safety**: All inputs and outputs are fully typed with TypeScript\n- **Runtime Validation**: Optional Zod schemas for runtime type checking\n\n## Development Setup\n\nIf you're contributing to this package or running it locally:\n\n1. Clone the repository\n2. Install dependencies: `npm install`\n3. Generate Prisma client: `npm run prisma:generate`\n4. Build: `npm run build`\n5. Run tests: `npm run test:api`\n\nSee [README-SERVER.md](https://github.com/Andamio-Platform/andamio-db-api/blob/main/README-SERVER.md) for complete server setup and deployment instructions.\n\n## Documentation\n\n- **[API Type Reference](https://github.com/Andamio-Platform/andamio-platform-monorepo/blob/main/andamio-db-api/API-TYPE-REFERENCE.md)** - Complete type reference\n- **[API Design Principles](https://github.com/Andamio-Platform/andamio-platform-monorepo/blob/main/andamio-db-api/API-DESIGN-PRINCIPLES.md)** - Design philosophy and security\n- **[Server Setup](https://github.com/Andamio-Platform/andamio-platform-monorepo/blob/main/andamio-db-api/README-SERVER.md)** - Running the database API server\n- **[Publishing Guide](https://github.com/Andamio-Platform/andamio-platform-monorepo/blob/main/andamio-db-api/PUBLISHING.md)** - How to publish to npm (manual & automated)\n- **[CI/CD Setup](https://github.com/Andamio-Platform/andamio-platform-monorepo/blob/main/andamio-db-api/CI-CD-SETUP.md)** - Automated testing and publishing\n\n## Links\n\n- **npm**: https://www.npmjs.com/package/@andamio-platform/db-api\n- **GitHub Repository**: https://github.com/Andamio-Platform/andamio-platform-monorepo/tree/main/andamio-db-api\n- **Report Issues**: https://github.com/Andamio-Platform/andamio-platform-monorepo/issues\n- **Andamio Platform**: https://andamio.io\n\n## License\n\nMIT © Andamio\n","readmeFilename":"README.md"}