@nexus2520/bitbucket-mcp-server
Version:
MCP server for Bitbucket API integration - supports both Cloud and Server
140 lines • 3.88 kB
TypeScript
export declare const isGetPullRequestArgs: (args: any) => args is {
workspace: string;
repository: string;
pull_request_id: number;
};
export declare const isListPullRequestsArgs: (args: any) => args is {
workspace: string;
repository: string;
state?: string;
author?: string;
limit?: number;
start?: number;
};
export declare const isCreatePullRequestArgs: (args: any) => args is {
workspace: string;
repository: string;
title: string;
source_branch: string;
destination_branch: string;
description?: string;
reviewers?: string[];
close_source_branch?: boolean;
};
export declare const isUpdatePullRequestArgs: (args: any) => args is {
workspace: string;
repository: string;
pull_request_id: number;
title?: string;
description?: string;
destination_branch?: string;
reviewers?: string[];
};
export declare const isAddCommentArgs: (args: any) => args is {
workspace: string;
repository: string;
pull_request_id: number;
comment_text: string;
parent_comment_id?: number;
file_path?: string;
line_number?: number;
line_type?: "ADDED" | "REMOVED" | "CONTEXT";
suggestion?: string;
suggestion_end_line?: number;
code_snippet?: string;
search_context?: {
before?: string[];
after?: string[];
};
match_strategy?: "strict" | "best";
};
export declare const isMergePullRequestArgs: (args: any) => args is {
workspace: string;
repository: string;
pull_request_id: number;
merge_strategy?: string;
close_source_branch?: boolean;
commit_message?: string;
};
export declare const isDeleteBranchArgs: (args: any) => args is {
workspace: string;
repository: string;
branch_name: string;
force?: boolean;
};
export declare const isListBranchesArgs: (args: any) => args is {
workspace: string;
repository: string;
filter?: string;
limit?: number;
start?: number;
};
export declare const isGetPullRequestDiffArgs: (args: any) => args is {
workspace: string;
repository: string;
pull_request_id: number;
context_lines?: number;
include_patterns?: string[];
exclude_patterns?: string[];
file_path?: string;
};
export declare const isApprovePullRequestArgs: (args: any) => args is {
workspace: string;
repository: string;
pull_request_id: number;
};
export declare const isRequestChangesArgs: (args: any) => args is {
workspace: string;
repository: string;
pull_request_id: number;
comment?: string;
};
export declare const isGetBranchArgs: (args: any) => args is {
workspace: string;
repository: string;
branch_name: string;
include_merged_prs?: boolean;
};
export declare const isListDirectoryContentArgs: (args: any) => args is {
workspace: string;
repository: string;
path?: string;
branch?: string;
};
export declare const isGetFileContentArgs: (args: any) => args is {
workspace: string;
repository: string;
file_path: string;
branch?: string;
start_line?: number;
line_count?: number;
full_content?: boolean;
};
export declare const isListBranchCommitsArgs: (args: any) => args is {
workspace: string;
repository: string;
branch_name: string;
limit?: number;
start?: number;
since?: string;
until?: string;
author?: string;
include_merge_commits?: boolean;
search?: string;
};
export declare const isListPrCommitsArgs: (args: any) => args is {
workspace: string;
repository: string;
pull_request_id: number;
limit?: number;
start?: number;
};
export declare const isSearchCodeArgs: (args: any) => args is {
workspace: string;
repository?: string;
search_query: string;
file_pattern?: string;
limit?: number;
start?: number;
};
//# sourceMappingURL=guards.d.ts.map