@tuzki/cli
Version:
🐇 lowcode-cli is an efficient cli tool for Rabbitpre plugin component secondary development. ❤️
62 lines (61 loc) • 1.49 kB
TypeScript
import { CheckVersionOnline, DownloadModuleCode, FindDevVersionList, GetModuleImplement, GetModuleList, GetModuleModel, GetModuleTypes } from '@tuzki/scaffold-types';
/**
* 获取模块类型列表
*
* @export
* @return {*} {Promise<ProjectType[]>}
*/
export declare const getModuleTypes: GetModuleTypes;
/**
* 获取模块列表
*
* @export
* @param {ProjectType} type 模块类型
* @return {*} {Promise<Module[]>} 模块列表
*/
export declare const getModuleList: GetModuleList;
/**
* 下载模块源码
*
* @export
* @param {string} id 模块 id
* @param {ProjectType} type 模块类型
* @return {*}
*/
export declare const downloadModuleCode: DownloadModuleCode;
/**
* 获取模块模型
*
* @export
* @param {string} id 模块 id
* @param {ProjectType} type 模块类型
* @return {*}
*/
export declare const getModuleModel: GetModuleModel;
/**
* 获取模块实现
*
* @export
* @param {string} id 模块 id
* @param {ProjectType} type 模块类型
* @return {*}
*/
export declare const getModuleImplement: GetModuleImplement;
/**
* 获取所有开发版本列表
*
* @export
* @param {string} id 模块 id
* @param {ProjectType} type 模块类型
* @return {*}
*/
export declare const findDevVersionList: FindDevVersionList;
/**
* 检查当前版本是否已上线
*
* @export
* @param {string} versionId 当前版本id
* @param {ProjectType} type 类型
* @return {*}
*/
export declare const checkVersionOnline: CheckVersionOnline;