@thinkform/types (0.2.0)
Published 2026-04-22 13:58:56 +00:00 by oliverkierepka
Installation
@thinkform:registry=npm install @thinkform/types@0.2.0"@thinkform/types": "0.2.0"About this package
Refresh generated Payload types
This package re-exports the generated Payload types so the frontend can import them as @thinkform/types.
To regenerate and copy new payload types run from repo root:
pnpm generate-payload-types
This runs payload generate:types in the backend and then copies apps/backend/src/generated/payload-types.ts into libs/types/src/lib and runs a small strip script.
If you add new collections, remember to re-run the above command and commit the updated types.
Details
2026-04-22 13:58:56 +00:00
Assets (1)
Versions (3)
View all
npm
9
latest
6.6 KiB
types-0.2.0.tgz
6.6 KiB