(path: string)
| 2676 | } |
| 2677 | |
| 2678 | private normalizeTaskPath(path: string): string { |
| 2679 | if (typeof path !== "string" || path.trim().length === 0) { |
| 2680 | throw new TaskNotesApiError( |
| 2681 | "invalid_task_path", |
| 2682 | "TaskNotes API expects a non-empty task path", |
| 2683 | { status: 400 } |
| 2684 | ); |
| 2685 | } |
| 2686 | return normalizePath(path); |
| 2687 | } |
| 2688 | |
| 2689 | private async withMutationContext<T>( |
| 2690 | paths: string[], |
no test coverage detected