UNPKG

@lcap/cli

Version:

utils for lcap

63 lines 1.38 kB
/** * 仓库接口 */ export declare const Repositories: { Tree: (projectId: string) => { url: string; method: string; timeout: number; }; File: (projectId: string) => (file: string) => { url: string; method: string; timeout: number; }; FileMeta: (projectId: string) => (file: string) => { url: string; method: string; timeout: number; }; }; /** * Branch 分支接口 */ export declare const Branch: { /** * 从文件创建 commit * * @link https://docs.gitlab.com/ee/api/commits.html#create-a-commit-with-multiple-files-and-actions */ Create: (projectId: string) => { url: string; method: string; }; }; /** * Commit 提交接口 */ export declare const Commit: { /** * 从文件创建 commit * * @link https://docs.gitlab.com/ee/api/commits.html#create-a-commit-with-multiple-files-and-actions */ CreateWithAction: (projectId: string) => { url: string; method: string; }; }; /** * MR 提交接口 */ export declare const MR: { /** * 创建 MR * * @link https://docs.gitlab.com/ee/api/merge_requests.html#create-mr */ CreateWithBranch: (projectId: string) => { url: string; method: string; }; }; //# sourceMappingURL=constant.d.ts.map