Operations

Typed custom operations for Payload with a client and server-side contract

Community 3 3/wk MIT v1.0.0

Installation

pnpm add @nexload-sdk/payload-operations

About

Payload Operations lets you define custom server-side actions for Payload and call them from a client with full type safety. Each operation declares typed inputs and outputs, so a wrong argument is caught while you write code instead of when a request fails. Errors raised by an operation reach the client as structured values that can be checked and handled by type.

It works next to the native Payload REST SDK, so regular collection calls and custom operations can share one client. A timeout plugin is included for operations that should stop waiting after a set time.

Package info

Package name
@nexload-sdk/payload-operations
Latest version
1.0.0
Unpacked size
138 kB
License
MIT
Weekly downloads
3
Last publish
Jul 25, 2026

More from gecut

View profile

Shared ESLint 9 flat configs for Node, React, Next.js and Payload projects

Shared field definitions that generate Payload fields and matching validation schemas

Slug, Jalali date and minor-unit money fields for Payload collections

Preset-based Lexical rich text configuration for Payload fields

Logs collection create, update, delete and read operations

Readiness check that runs a Payload collection query to confirm the database responds

Type-safe client for the Payload REST API with CRUD, auth and file uploads

Framework-agnostic SDK for inline visual editing on Payload-powered sites

Angular query builder that sends list queries to Payload and other backends as signals

Registers custom drag-and-drop blocks for the Olgax page builder

Lets Puck components pull filtered Payload collection items into a resolved prop

Signed client for the VAP API, plus a Payload plugin for storefront sign-in and checkout