@riveo/payload-utils
v0.1.2
Published
Payload Utils reused across projects
Maintainers
Readme
Payload Utils
A collection of reusable utilities for Payload CMS, commonly shared across multiple projects — including, but not limited to, those developed at RIVEO.
Installation
npm install @riveo/payload-utilsUsage
Register the riveoUtilsPlugin in your Payload's config.
Features
Fields
Preconfigured field definitions ready to use in collections or globals:
internalTitleField– Simple text field that auto-generates an internal title (e.g. for admin display) based on another field's value.linkField– Field matching the internal link structure used by Payload’s Rich Text Editor.seoField– Minimal SEO field withtitle,description, andimage.slugField– Slug (URL path) field with support for auto-generation from other fields.
Plugins
riveoUtilsPlugin– Registers translations and applies shared Payload configurations.s3StoragePlugin– Preconfigured S3 storage adapter for file uploads.
Utilities
groupContentTypes– Organize collections or globals into admin groups at the config level.Example usage:
collections: groupContentTypes<CollectionConfig>( { group: 'Content', items: [Pages, Media], }, Users, );
License
This project is licensed under the MIT License.
