feat: Implement comprehensive validation system for DailyNotification

- Add URL requirement validation
- Add time format validation (24-hour format)
- Add timezone validation using Intl.DateTimeFormat
- Add retry count and interval range validation
- Add content handler validation with timeout support
- Add basic schedule conflict detection
- Update validation to run before plugin calls
- Make validation methods async for content handler testing
- All validation now happens in DailyNotification class before calling native plugin
This commit is contained in:
Matthew Raymer
2025-08-12 10:03:09 +00:00
parent e51f884e00
commit a92c408790
3 changed files with 53 additions and 6 deletions

View File

@@ -26,7 +26,9 @@
- [x] Update all test files to match current interfaces
- [x] Implement proper mock objects
- [x] Fix TypeScript compilation errors
- [ ] Fix test execution issues (plugin registration, validation)
- [x] Fix test execution issues (plugin registration, validation)
- [x] Implement comprehensive validation system
- [ ] Update test expectations to match new validation architecture
- [ ] Ensure 100% test coverage
- [ ] Add integration tests for native platforms