UNPKG

@therealchristhomas/gitlab-mcp-server

Version:
5 lines (4 loc) 573 B
import type { GitLabContent, GitLabCreateUpdateFileResponse, GitLabCommit, FileOperation } from "../types/index.js"; export declare function getFileContents(projectId: string, filePath: string, ref?: string): Promise<GitLabContent>; export declare function createOrUpdateFile(projectId: string, filePath: string, content: string, commitMessage: string, branch: string, previousPath?: string): Promise<GitLabCreateUpdateFileResponse>; export declare function createCommit(projectId: string, message: string, branch: string, actions: FileOperation[]): Promise<GitLabCommit>;