(path: string)
| 1912 | } |
| 1913 | |
| 1914 | async getTaskRelationships(path: string): Promise<TaskNotesTaskRelationships> { |
| 1915 | const task = await this.requireTask(path); |
| 1916 | const [parents, subtasks, dependencies, blocking] = await Promise.all([ |
| 1917 | this.getParentTasks(task.path), |
| 1918 | this.getSubtasks(task.path), |
| 1919 | this.getTaskDependencies(task.path), |
| 1920 | this.getBlockingTasks(task.path), |
| 1921 | ]); |
| 1922 | |
| 1923 | return { |
| 1924 | task: copyTaskInfo(task), |
| 1925 | parents, |
| 1926 | subtasks, |
| 1927 | dependencies, |
| 1928 | blocking, |
| 1929 | }; |
| 1930 | } |
| 1931 | |
| 1932 | async createTask( |
| 1933 | taskData: TaskCreationData, |
no test coverage detected