Assist

Config guardrails and DTO helpers that keep Payload API responses consistent

Community 0 27/wk MIT v1.2.8

Installation

pnpm add @byte5digital/payload-assist

About

Assist adds guardrails to Payload projects. It checks the project config at startup and stops with a clear message when a rule is broken, such as a collection slug that is not kebab-case or GraphQL left enabled. Any built-in rule can be switched off, and custom rules can be added next to them.

It also gives Payload APIs a DTO layer. You describe which fields a response may expose, including nested objects, and only those fields leave the API. Custom endpoints and collection read hooks can be wrapped so every response is a DTO with a consistent error shape.

Package info

Package name
@byte5digital/payload-assist
Latest version
1.2.8
Unpacked size
40 kB
License
MIT
Weekly downloads
27
Last publish
Apr 27, 2026

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