@szzbmy/lowcode-cli
Version:
🐇 lowcode-cli is an efficient cli tool for Rabbitpre plugin component secondary development. ❤️
57 lines (56 loc) • 1.38 kB
TypeScript
export interface ComponentInfo {
id: string;
name: string;
title: string;
imgUrl: string;
description: string;
componentStatus: string;
pluginName: string;
pluginTitle: string;
createTime: string;
updateTime: string;
creator: string;
currentVersion: number;
/** 作品 appid */
appid?: string;
/** H5 端短链 */
shortUrl?: string;
}
export interface ItemComponentInfo extends ComponentInfo {
value: string;
label: string;
}
export interface TemplateInfo {
/** 模板项目名 eg. component-answer-page */
name: string;
/** 模板项目的相对路径 eg. templates/component-answer-page */
path: string;
}
export interface ItemTemplateInfo extends TemplateInfo {
value: string;
label: string;
}
export interface ComponentlibInfo {
componentLibId: number;
description?: string;
libName: string;
libTitle: string;
status?: string;
createTime?: string;
updateTime?: string;
libSecondName?: string;
bindPluginFlag?: boolean;
pluginName?: string;
}
export interface LibTemplateInfo {
objectName: string;
objectTitle: string;
}
export interface ItemComponentlibInfo extends ComponentlibInfo {
value: string;
label: string;
}
export interface ItemLibTemplateInfo extends LibTemplateInfo {
value: string;
label: string;
}