( path: string, property: keyof TaskInfo, value: unknown, context?: TaskNotesMutationContext )
| 2094 | } |
| 2095 | |
| 2096 | private async setTaskProperty( |
| 2097 | path: string, |
| 2098 | property: keyof TaskInfo, |
| 2099 | value: unknown, |
| 2100 | context?: TaskNotesMutationContext |
| 2101 | ): Promise<TaskInfo> { |
| 2102 | const task = await this.requireTask(path); |
| 2103 | const updatedTask = await this.withMutationContext([task.path], context, () => |
| 2104 | this.plugin.taskService.updateProperty(task, property, value) |
| 2105 | ); |
| 2106 | return copyTaskInfo(updatedTask); |
| 2107 | } |
| 2108 | |
| 2109 | private async updateStringList( |
| 2110 | path: string, |
no test coverage detected