feat: 文档库查询添加文档类型字段
- graphQL查询修改:添加type字段查询 - 视图模型字段更新:添加DocumentTypeView视图模型并为DocumentList类型添加type字段 - mapper更新: 添加DocumentType的转换方法
This commit is contained in:
@ -10,6 +10,13 @@ query GetDocumentList($locale: String!) {
|
||||
id
|
||||
title
|
||||
}
|
||||
type {
|
||||
id
|
||||
translations(filter: { languages_code: { code: { _eq: $locale } } }) {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
products {
|
||||
id
|
||||
products_id {
|
||||
|
||||
Reference in New Issue
Block a user