Scaffolds a new Payload project or adds Payload to an existing Next.js or TanStack app
Collection Registry
Generates TypeScript types, API clients and React routes from Payload collections
Installation
pnpm add @alloylab/collection-registry About
Collection Registry reads your Payload collection files and generates matching TypeScript types, typed API client methods and React route and component files for a separate frontend. It removes the need to write and update the same interfaces by hand each time a collection changes. The tool detects common patterns such as slug, status, SEO group, navigation toggle, featured image, excerpt, tag and author fields, and uses them to shape the generated code. Field names can be remapped when a project uses different conventions, and the output can be formatted automatically.
Package info
- Package name
@alloylab/collection-registry- Latest version
1.1.2- Unpacked size
- 85 kB
- License
- MIT
- Weekly downloads
- 41
- Last publish
- Sep 26, 2025
Similar tools
More in CLI & scaffoldingAutomated code transforms that move a Payload project past breaking changes
CLI and registry that installs wired Payload blocks into Next.js projects
Migrates WordPress posts, pages, media, SEO and redirects into Payload
Migrates WordPress sites to Payload from a WXR export file
Converts WordPress WXR exports into Astro, Next.js, Payload or Pruvious projects