feat: 文档库查询添加文档类型字段

- graphQL查询修改:添加type字段查询
- 视图模型字段更新:添加DocumentTypeView视图模型并为DocumentList类型添加type字段
- mapper更新: 添加DocumentType的转换方法
This commit is contained in:
2025-12-03 17:30:16 +08:00
parent 3fb721f278
commit c27337a145
4 changed files with 109 additions and 1 deletions

View File

@ -1,3 +1,14 @@
/**
* 文档类型视图模型
* 用于在文档库中提供类型筛选功能
*/
export interface DocumentTypeView {
/** 唯一标识符 **/
id: string;
/** 类型名 **/
name: string;
}
/**
* 文档关联产品类型模型
* 用于在文档库中提供产品筛选功能
@ -40,6 +51,9 @@ export interface DocumentListView {
/** 文档链接 **/
url: string;
/** 文档类型 **/
type: DocumentTypeView;
/** 相关产品 **/
products: DocumentListProduct[];
}