docs: add comprehensive static daily reminders documentation
- Add static daily reminders to README.md core features and API reference - Create detailed usage guide in USAGE.md with examples and best practices - Add version 2.1.0 changelog entry documenting new reminder functionality - Create examples/static-daily-reminders.ts with complete usage examples - Update test-apps README to include reminder testing capabilities The static daily reminder feature provides simple daily notifications without network content dependency, supporting cross-platform scheduling with rich customization options.
This commit is contained in:
@@ -56,6 +56,12 @@ describe('DailyNotification Advanced Scenarios', () => {
|
||||
refreshAuthenticationForNewIdentity: jest.fn(),
|
||||
clearCacheForNewIdentity: jest.fn(),
|
||||
updateBackgroundTaskIdentity: jest.fn(),
|
||||
|
||||
// Static Daily Reminder Methods
|
||||
scheduleDailyReminder: jest.fn(),
|
||||
cancelDailyReminder: jest.fn(),
|
||||
getScheduledReminders: jest.fn(),
|
||||
updateDailyReminder: jest.fn(),
|
||||
};
|
||||
plugin = new DailyNotification(mockPlugin);
|
||||
});
|
||||
|
||||
@@ -70,6 +70,12 @@ describe('DailyNotification Plugin', () => {
|
||||
refreshAuthenticationForNewIdentity: jest.fn(),
|
||||
clearCacheForNewIdentity: jest.fn(),
|
||||
updateBackgroundTaskIdentity: jest.fn(),
|
||||
|
||||
// Static Daily Reminder Methods
|
||||
scheduleDailyReminder: jest.fn(),
|
||||
cancelDailyReminder: jest.fn(),
|
||||
getScheduledReminders: jest.fn(),
|
||||
updateDailyReminder: jest.fn(),
|
||||
};
|
||||
|
||||
// Create plugin instance with mock
|
||||
|
||||
@@ -61,6 +61,12 @@ describe('DailyNotification Edge Cases', () => {
|
||||
refreshAuthenticationForNewIdentity: jest.fn(),
|
||||
clearCacheForNewIdentity: jest.fn(),
|
||||
updateBackgroundTaskIdentity: jest.fn(),
|
||||
|
||||
// Static Daily Reminder Methods
|
||||
scheduleDailyReminder: jest.fn(),
|
||||
cancelDailyReminder: jest.fn(),
|
||||
getScheduledReminders: jest.fn(),
|
||||
updateDailyReminder: jest.fn(),
|
||||
};
|
||||
plugin = new DailyNotification(mockPlugin);
|
||||
});
|
||||
|
||||
@@ -60,6 +60,12 @@ describe('DailyNotification Enterprise Scenarios', () => {
|
||||
refreshAuthenticationForNewIdentity: jest.fn(),
|
||||
clearCacheForNewIdentity: jest.fn(),
|
||||
updateBackgroundTaskIdentity: jest.fn(),
|
||||
|
||||
// Static Daily Reminder Methods
|
||||
scheduleDailyReminder: jest.fn(),
|
||||
cancelDailyReminder: jest.fn(),
|
||||
getScheduledReminders: jest.fn(),
|
||||
updateDailyReminder: jest.fn(),
|
||||
};
|
||||
plugin = new DailyNotification(mockPlugin);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user