mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat: 对接工作流分类模块
This commit is contained in:
44
src/typings/api/workflow.api.d.ts
vendored
Normal file
44
src/typings/api/workflow.api.d.ts
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
/**
|
||||
* Namespace Api
|
||||
*
|
||||
* All backend api type
|
||||
*/
|
||||
declare namespace Api {
|
||||
/**
|
||||
* namespace Workflow
|
||||
*
|
||||
* backend api module: "Workflow"
|
||||
*/
|
||||
namespace Workflow {
|
||||
/** 工作流分类 */
|
||||
type WorkflowCategory = Common.CommonRecord<{
|
||||
/** 主键 */
|
||||
categoryId: CommonType.IdType;
|
||||
/** 租户编号 */
|
||||
tenantId: CommonType.IdType;
|
||||
/** 分类名称 */
|
||||
categoryName: string;
|
||||
/** 父级ID */
|
||||
parentId: CommonType.IdType;
|
||||
/** 祖级列表 */
|
||||
ancestors: string;
|
||||
/** 排序号 */
|
||||
orderNum: number;
|
||||
/** 删除标志 */
|
||||
delFlag: number;
|
||||
}>;
|
||||
|
||||
/** 工作流分类搜索参数 */
|
||||
type WorkflowCategorySearchParams = CommonType.RecordNullable<
|
||||
Pick<WorkflowCategory, 'categoryName'> & Api.Common.CommonSearchParams
|
||||
>;
|
||||
|
||||
/** 工作流分类操作参数 */
|
||||
type WorkflowCategoryOperateParams = CommonType.RecordNullable<
|
||||
Pick<WorkflowCategory, 'categoryId' | 'categoryName' | 'parentId' | 'orderNum'>
|
||||
>;
|
||||
|
||||
/** 工作流分类列表 */
|
||||
type WorkflowCategoryList = WorkflowCategory[];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user