( path: string, date?: string, context?: TaskNotesMutationContext )
| 2536 | } |
| 2537 | |
| 2538 | private async toggleRecurringSkipped( |
| 2539 | path: string, |
| 2540 | date?: string, |
| 2541 | context?: TaskNotesMutationContext |
| 2542 | ): Promise<TaskInfo> { |
| 2543 | const task = await this.requireTask(path); |
| 2544 | const targetDate = date ? new Date(date) : undefined; |
| 2545 | const updatedTask = await this.withMutationContext([task.path], context, () => |
| 2546 | this.plugin.taskService.toggleRecurringTaskSkipped(task, targetDate) |
| 2547 | ); |
| 2548 | return copyTaskInfo(updatedTask); |
| 2549 | } |
| 2550 | |
| 2551 | on<EventName extends TaskNotesRuntimeEventName>( |
| 2552 | event: EventName, |
no test coverage detected