Typing Supercharge

Strongly typed find, create, update and delete calls with checked where and sort clauses

Community 3 9/wk MIT v1.9.3

Installation

pnpm add payloadcms-typing-supercharge

About

PayloadCMS Typing Supercharge gives Payload's local API stricter TypeScript types. Field names used in where filters and sort arrays are checked against your collection types, so a misspelled or nonexistent field fails at compile time instead of at runtime. Selections of related documents are typed by depth, so you can see whether a relationship is an object or just an ID.

It is aimed at projects that rely heavily on queries and want the editor to catch mistakes early. Operations run through a wrapper class that is rootless by default, so access rules apply unless you opt into root access. A command-line helper generates the typed definitions from your Payload types file.

Package info

Package name
payloadcms-typing-supercharge
Latest version
1.9.3
Unpacked size
758 kB
License
MIT
Weekly downloads
9
Last publish
Nov 16, 2025

Similar tools

More in Dev workflow

Stateful test emulator of the Payload collection REST API with seeded data

Editor support for Payload component paths, with import checks and autocomplete

Governance checks and ESLint rules for Payload project structure, access code and hooks

Manifest, linter and Payload block generator for a design system's components

Automated code transforms that move a Payload project past breaking changes

Idempotent seed runner that fills a Payload database with ordered, cross-referenced content