{"_id":"@apick/types","_rev":"4-35dd9d258b3608150eec5b8ede686578","name":"@apick/types","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"@apick/types","version":"0.1.0","_id":"@apick/types@0.1.0","maintainers":[{"name":"vivmagarwal","email":"vivmagarwal@gmail.com"}],"dist":{"shasum":"8fc4fb570a5c95c70e6bf9cfc905f8c929a65912","tarball":"https://registry.npmjs.org/@apick/types/-/types-0.1.0.tgz","fileCount":33,"integrity":"sha512-R1gSJB/hwNPKDyXIEEJjmxhuDQilPokdRSLkCTU/kc2uao/l7hz289V3z3/PUqfOQk5HePrkCmwAydHs0FnCnw==","signatures":[{"sig":"MEUCIQDSl2FXKDg8Euxc/3HgDi3xVO6b6SjrxK+jqJbA5xdfpAIgFV3CMYiF+L0eIkbz+x6U18P0uRkGshrRwIWKoeenyDo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82498},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"0462b3ccb96c6e689feeccf6e01b647343067158","scripts":{"test":"echo 'no tests'","build":"tsc -p tsconfig.build.json","clean":"rimraf dist"},"_npmUser":{"name":"vivmagarwal","email":"vivmagarwal@gmail.com"},"_npmVersion":"11.3.0","directories":{},"_nodeVersion":"24.2.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.0","typescript":"^5.7.0"},"_npmOperationalInternal":{"tmp":"tmp/types_0.1.0_1772534422531_0.6317660504760279","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Obsolete and no longer maintained — folded into @apick/core (>=0.5.0). Install @apick/core instead: https://www.npmjs.com/package/@apick/core"},"0.2.0":{"name":"@apick/types","version":"0.2.0","license":"MIT","_id":"@apick/types@0.2.0","maintainers":[{"name":"vivmagarwal","email":"vivmagarwal@gmail.com"}],"homepage":"https://github.com/vivmagarwal/apickjs/tree/main/packages/types","bugs":{"url":"https://github.com/vivmagarwal/apickjs/issues"},"dist":{"shasum":"506a1dd48d2bc1c027ce9e0d4c8bf733750bd351","tarball":"https://registry.npmjs.org/@apick/types/-/types-0.2.0.tgz","fileCount":34,"integrity":"sha512-bTWHkrwFZMvZvSI0NAGgA5+6qbxelVjXrWFuB6jI6jzElCVIofNhBGe4xN0tbqJuJTxaK7OhYi0dj6DE0PBlDw==","signatures":[{"sig":"MEUCIEdJoB00aDocJ1PMdVA/wbxa56a3o9hqC6phFvqvrNAyAiEAh7x+xD0DxiT9AVdAdW3St+EErMiriTlXZf2bPDNUnPc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":84152},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"bf75a6bc9eec4eb2c8fca4719744512083d36e24","scripts":{"test":"echo 'no tests'","build":"tsc -p tsconfig.build.json","clean":"rimraf dist"},"_npmUser":{"name":"vivmagarwal","email":"vivmagarwal@gmail.com"},"repository":{"url":"git+https://github.com/vivmagarwal/apickjs.git","type":"git","directory":"packages/types"},"_npmVersion":"11.3.0","description":"Shared TypeScript type definitions for APICK headless CMS","directories":{},"_nodeVersion":"24.2.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.0","typescript":"^5.7.0"},"_npmOperationalInternal":{"tmp":"tmp/types_0.2.0_1772537709244_0.4628138094001786","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Obsolete and no longer maintained — folded into @apick/core (>=0.5.0). Install @apick/core instead: https://www.npmjs.com/package/@apick/core"},"0.3.0":{"name":"@apick/types","version":"0.3.0","license":"MIT","_id":"@apick/types@0.3.0","maintainers":[{"name":"vivmagarwal","email":"vivmagarwal@gmail.com"}],"homepage":"https://github.com/vivmagarwal/apickjs/tree/main/packages/types","bugs":{"url":"https://github.com/vivmagarwal/apickjs/issues"},"dist":{"shasum":"616e25dd12ee4d2273117f897df087295040c25a","tarball":"https://registry.npmjs.org/@apick/types/-/types-0.3.0.tgz","fileCount":34,"integrity":"sha512-2cHAvtx8HRJtNEQmKQmkT1w6uL01Q91gzin2RM91yac6h/dnfdWPBqdrl8F2my3/Mv/vFLK785wutUYwS8zn2Q==","signatures":[{"sig":"MEQCIF3n9m/VsIL175gr65ff6fNwmP+d5kBZCuEH64X4kFeyAiA8EqPK4cEW//bfoXXHvBlq8kGBXXgpMV9zQgocYYHjXw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":84152},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"bf2eb516fd277ad9277b3bdaa4bf67acb208bb91","scripts":{"test":"echo 'no tests'","build":"tsc -p tsconfig.build.json","clean":"rimraf dist"},"_npmUser":{"name":"vivmagarwal","email":"vivmagarwal@gmail.com"},"repository":{"url":"git+https://github.com/vivmagarwal/apickjs.git","type":"git","directory":"packages/types"},"_npmVersion":"11.3.0","description":"Shared TypeScript type definitions for APICK headless CMS","directories":{},"_nodeVersion":"24.2.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.0","typescript":"^5.7.0"},"_npmOperationalInternal":{"tmp":"tmp/types_0.3.0_1772550809211_0.1679261819647555","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Obsolete and no longer maintained — folded into @apick/core (>=0.5.0). Install @apick/core instead: https://www.npmjs.com/package/@apick/core"}},"time":{"created":"2026-03-03T10:40:22.457Z","modified":"2026-07-16T07:48:35.331Z","0.1.0":"2026-03-03T10:40:22.665Z","0.2.0":"2026-03-03T11:35:09.394Z","0.3.0":"2026-03-03T15:13:29.373Z"},"bugs":{"url":"https://github.com/vivmagarwal/apickjs/issues"},"license":"MIT","homepage":"https://github.com/vivmagarwal/apickjs/tree/main/packages/types","repository":{"url":"git+https://github.com/vivmagarwal/apickjs.git","type":"git","directory":"packages/types"},"description":"Shared TypeScript type definitions for APICK headless CMS","maintainers":[{"name":"vivmagarwal","email":"vivmagarwal@gmail.com"}],"readme":"# @apick/types\n\nShared TypeScript type definitions for [APICK](https://github.com/vivmagarwal/apickjs) — a pure headless CMS built TypeScript-first.\n\n## Install\n\n```bash\nnpm install @apick/types\n```\n\n## Type Namespaces\n\n| Namespace | Description |\n|-----------|-------------|\n| `Core` | Core framework types (`Apick`, `Server`, `Config`, `Registry`) |\n| `UID` | UID string types (`ContentType`, `Service`, `Controller`) |\n| `Schema` | Content type schema types (`Attribute`, `ContentType`, `Component`) |\n| `Modules` | Module-specific types (document service, query engine) |\n| `Data` | Data shape types (request/response bodies) |\n| `Struct` | Structural utility types |\n| `Config` | Configuration file types (`ServerConfig`, `DatabaseConfig`, etc.) |\n\n## Usage\n\n```typescript\nimport type { Core, UID, Schema } from '@apick/types';\n\nfunction getArticles(apick: Core.Apick): Promise<any[]> {\n  const uid: UID.ContentType = 'api::article.article';\n  return apick.documents(uid).findMany();\n}\n```\n\n## Related Packages\n\n- [`@apick/core`](https://www.npmjs.com/package/@apick/core) -- Framework kernel\n- [`@apick/utils`](https://www.npmjs.com/package/@apick/utils) -- Error classes, env helpers, utilities\n- [`@apick/cli`](https://www.npmjs.com/package/@apick/cli) -- CLI tool\n\n## License\n\n[MIT](https://github.com/vivmagarwal/apickjs/blob/main/LICENSE)\n","readmeFilename":"README.md"}