MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / addReminder

Method addReminder

src/api/TaskNotesAPI.ts:2135–2143  ·  view source on GitHub ↗
(
		path: string,
		reminder: Reminder,
		context?: TaskNotesMutationContext
	)

Source from the content-addressed store, hash-verified

2133 }
2134
2135 private async addReminder(
2136 path: string,
2137 reminder: Reminder,
2138 context?: TaskNotesMutationContext
2139 ): Promise<TaskInfo> {
2140 const task = await this.requireTask(path);
2141 const reminders = [...(task.reminders ?? []), { ...reminder }];
2142 return this.updateTask(task.path, { reminders }, context);
2143 }
2144
2145 private async removeReminder(
2146 path: string,

Callers 1

TaskNotesAPIClass · 0.95

Calls 2

requireTaskMethod · 0.95
updateTaskMethod · 0.95

Tested by

no test coverage detected