@lark-project/cli
Version:
飞书项目插件开发工具
82 lines (81 loc) • 3.35 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.EFeatureScene = exports.EFeaturePlatform = exports.EFeatureWorkItemTypeScope = exports.ECompType = exports.EFeatureType = exports.EPluginFrameworkVersion = exports.ECommandName = void 0;
var ECommandName;
(function (ECommandName) {
ECommandName["init"] = "init";
ECommandName["start"] = "start";
ECommandName["build"] = "build";
ECommandName["release"] = "release";
ECommandName["config"] = "config";
ECommandName["update"] = "update";
})(ECommandName || (exports.ECommandName = ECommandName = {}));
/**
* 插件框架版本
*/
var EPluginFrameworkVersion;
(function (EPluginFrameworkVersion) {
EPluginFrameworkVersion["v1"] = "1.0.0";
EPluginFrameworkVersion["v2"] = "2.0.0";
})(EPluginFrameworkVersion || (exports.EPluginFrameworkVersion = EPluginFrameworkVersion = {}));
/**
* 插件构成后端类型枚举
*/
var EFeatureType;
(function (EFeatureType) {
EFeatureType["page"] = "board";
EFeatureType["button"] = "button";
EFeatureType["tab"] = "dashboard";
EFeatureType["control"] = "control";
EFeatureType["view"] = "view";
EFeatureType["config"] = "config";
EFeatureType["intercept"] = "intercept";
EFeatureType["component"] = "component";
EFeatureType["field_template"] = "field_template";
})(EFeatureType || (exports.EFeatureType = EFeatureType = {}));
/**
* component 组件类型
*/
var ECompType;
(function (ECompType) {
ECompType["schedule"] = "component_schedule";
})(ECompType || (exports.ECompType = ECompType = {}));
/**
* 插件构成适用工作项类型范围枚举
*/
var EFeatureWorkItemTypeScope;
(function (EFeatureWorkItemTypeScope) {
EFeatureWorkItemTypeScope["all"] = "_all";
EFeatureWorkItemTypeScope["issue"] = "issue";
EFeatureWorkItemTypeScope["sprint"] = "sprint";
EFeatureWorkItemTypeScope["story"] = "story";
EFeatureWorkItemTypeScope["version"] = "version";
EFeatureWorkItemTypeScope["others"] = "work_object";
})(EFeatureWorkItemTypeScope || (exports.EFeatureWorkItemTypeScope = EFeatureWorkItemTypeScope = {}));
/**
* 插件构成适配端类型枚举
*/
var EFeaturePlatform;
(function (EFeaturePlatform) {
// 网页端
EFeaturePlatform["web"] = "web";
// 移动端
EFeaturePlatform["mobile"] = "mobile";
})(EFeaturePlatform || (exports.EFeaturePlatform = EFeaturePlatform = {}));
/**
* 插件构成适用位置
*/
var EFeatureScene;
(function (EFeatureScene) {
// for control
EFeatureScene[EFeatureScene["controlTable"] = 1] = "controlTable";
EFeatureScene[EFeatureScene["controlDetailForm"] = 2] = "controlDetailForm";
EFeatureScene[EFeatureScene["controlNodeForm"] = 6] = "controlNodeForm";
// for button
EFeatureScene[EFeatureScene["buttonWorkItemMore"] = 3] = "buttonWorkItemMore";
EFeatureScene[EFeatureScene["buttonWorkItemNodeMore"] = 4] = "buttonWorkItemNodeMore";
EFeatureScene[EFeatureScene["buttonWorkItemCreate"] = 5] = "buttonWorkItemCreate";
EFeatureScene[EFeatureScene["buttonWorkItemNodeComplete"] = 7] = "buttonWorkItemNodeComplete";
EFeatureScene[EFeatureScene["buttonScheduleUnit"] = 8] = "buttonScheduleUnit";
EFeatureScene[EFeatureScene["buttonBatch"] = 9] = "buttonBatch";
})(EFeatureScene || (exports.EFeatureScene = EFeatureScene = {}));