t-comm
Version:
专业、稳定、纯粹的工具库
23 lines (22 loc) • 590 B
TypeScript
/**
* 获取commit详情
* @param {object} options 输入配置
* @param {string} options.projectName 项目名称
* @param {string} options.commitId 提交hash
* @param {string} options.privateToken 密钥
* @returns {Promise<object>} 请求Promise
* @example
*
* getOneCommitDetail({
* projectName: 't-comm',
* commitId: 'aaaa',
* privateToken: 'xxxxx',
* }).then((resp) => {
*
* })
*/
export declare function getOneCommitDetail({ projectName, commitId, privateToken }: {
projectName: string;
commitId: string;
privateToken: string;
}): Promise<object>;