MCPcopy
hub / github.com/callumalpass/tasknotes / toggleRecurringSkipped

Method toggleRecurringSkipped

src/api/TaskNotesAPI.ts:2538–2549  ·  view source on GitHub ↗
(
		path: string,
		date?: string,
		context?: TaskNotesMutationContext
	)

Source from the content-addressed store, hash-verified

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,

Callers 1

TaskNotesAPIClass · 0.95

Calls 4

requireTaskMethod · 0.95
withMutationContextMethod · 0.95
copyTaskInfoFunction · 0.85

Tested by

no test coverage detected