mirror of
https://github.com/xtr-dev/payload-mailing.git
synced 2025-12-10 08:13:23 +00:00
- Add PayloadID type for string | number IDs - Add PayloadRelation<T> type for populated/unpopulated relations - Add isPopulated() type guard to check if relation is populated - Add resolveID() helper to extract ID from relation (object or ID) - Add resolveIDs() helper for arrays of relations - Fix filterOptions in Emails.ts to safely resolve ID before filtering - This prevents MongoDB ObjectId casting errors when id is an object - Bump version to 0.4.15 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
3.2 KiB
3.2 KiB