Assist
Provides utilities for DTO management and validation hooks in Payload CMS.
Installation
pnpm add @byte5digital/payload-assist About
Assist for Payload adds tools for data transfer object (DTO) management and validation rules to Payload CMS projects. It allows you to validate your Payload configuration at boot, ensuring compliance with defined rules. This plugin provides first-class helpers for defining, transforming, and validating API responses strictly as DTOs. With ergonomic wrappers, it standardizes endpoint responses ensuring consistency and security. Key functionalities include the `payloadAssist` function to initialize Assist with customized options and the ability to enforce DTO-only responses with hooks like `withResponse` and `withDtoReadHook`. You can define collections and their access controls while utilizing DTOs for structured API responses, ensuring only the expected data leaves your application.
Package info
- Package name
@byte5digital/payload-assist- Latest version
1.2.8- Unpacked size
- 40 kB
- License
- MIT
- Weekly downloads
- 42
- Last publish
- Apr 27, 2026
Similar plugins
More in ContentShaggle Core
Adds ready-made collections, globals, and layout blocks for agency and hospitality sites to a Payload CMS config.
Meilisearch
Syncs Payload CMS collection documents to a Meilisearch index via afterChange and afterDelete hooks.
Nested Docs
Adds parent-child document hierarchies with auto-generated breadcrumbs to Payload collections.
Redirects
Manage redirects directly within the Payload CMS admin panel.
Media Preview
Preview images, videos, audio, and documents directly in the Payload CMS admin panel.
Iframe Tabs
Add iframes into separate tabs in the Payload admin panel.