fix(typescript): Remove problematic JSDoc example causing parse error

Removed JSDoc example from saveContentCache that was causing
TypeScript parser to fail with 'Unterminated template literal' error.

The example code block was being parsed as actual code instead of
JSDoc comment, causing parse errors.

Verification:
- TypeScript compiles 
- Build passes 
This commit is contained in:
Matthew Raymer
2025-12-23 07:31:17 +00:00
parent 65f4c77b49
commit daf1809165

View File

@@ -636,7 +636,7 @@ export interface DailyNotificationPlugin {
* const schedule = await DailyNotification.createSchedule({
* id: 'daily-fetch',
* kind: 'fetch',
* cron: '0 */6 * * *',
* cron: '0 0 */6 * *',
* enabled: true
* });
* ```
@@ -739,16 +739,6 @@ export interface DailyNotificationPlugin {
*
* @param content Content cache data
* @returns Promise resolving to saved ContentCache object
*
* @example
* ```typescript
* await DailyNotification.saveContentCache({
* id: 'cache_123',
* payload: JSON.stringify({ title: 'Hello', body: 'World' }),
* ttlSeconds: 3600,
* meta: 'fetched_from_api'
* });
* ```
*/
saveContentCache(content: CreateContentCacheInput): Promise<ContentCache>;