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.
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.
[x] I have read and understand the CONTRIBUTING.md document in this repository.
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
Checklist:
[ ] ~I have added tests that prove my fix is effective or that my feature works~
[x] Existing test suite passes locally with my changes
[ ] ~I have made corresponding changes to the documentation~
Description
The
previousValue
property was added to the validationOptions passed into validate functions with https://github.com/payloadcms/payload/pull/6805. This PR updates theValidateOptions
type to reflect that.Type of change
Checklist: