payloadcms / payload

The best way to build a modern backend + admin UI. No black magic, all TypeScript, and fully open-source, Payload is both an app framework and a headless CMS.
https://payloadcms.com
MIT License
20.99k stars 1.26k forks source link

fix: previousValue missing from ValidateOptions type #6931

Open franciscolourenco opened 3 days ago

franciscolourenco commented 3 days ago

Description

The previousValue property was added to the validationOptions passed into validate functions with https://github.com/payloadcms/payload/pull/6805. This PR updates the ValidateOptions type to reflect that.

Type of change

Checklist: