refactor: unify interrupt handling in various tools

Refactored the context types for create, delete, and update functionalities across multiple tools including Confluence, Dropbox, Gmail, Google Calendar, Jira, Linear, Notion, and OneDrive to utilize a consistent type definition. This change enhances code clarity and maintains uniformity in handling user approvals by integrating the useHitlDecision hook for decision dispatching.
This commit is contained in:
Anish Sarkar 2026-04-13 20:25:49 +05:30
parent 041af34820
commit 71f4f77f26
25 changed files with 25 additions and 25 deletions

View file

@ -66,7 +66,7 @@ interface LinearWorkspace {
auth_expired?: boolean;
}
interface LinearCreateIssueContext {
type LinearCreateIssueContext = {
workspaces?: LinearWorkspace[];
error?: string;
}