@@ -314,7 +314,11 @@ export async function getChildAppPreviewNode({
314
314
} ) )
315
315
}
316
316
}
317
- : { systemTool : { toolId : app . id } } )
317
+ : {
318
+ systemTool : {
319
+ toolId : app . id
320
+ }
321
+ } )
318
322
} ,
319
323
showSourceHandle : app . isFolder ? false : true ,
320
324
showTargetHandle : app . isFolder ? false : true
@@ -368,6 +372,7 @@ export async function getChildAppPreviewNode({
368
372
avatar : app . avatar ,
369
373
name : parseI18nString ( app . name , lang ) ,
370
374
intro : parseI18nString ( app . intro , lang ) ,
375
+ toolDescription : app . toolDescription ,
371
376
courseUrl : app . courseUrl ,
372
377
userGuide : app . userGuide ,
373
378
showStatus : true ,
@@ -462,8 +467,17 @@ export async function getChildAppRuntimeById({
462
467
}
463
468
464
469
const dbPluginFormat = ( item : SystemPluginConfigSchemaType ) : SystemPluginTemplateItemType => {
465
- const { name, avatar, intro, version, weight, templateType, associatedPluginId, userGuide } =
466
- item . customConfig ! ;
470
+ const {
471
+ name,
472
+ avatar,
473
+ intro,
474
+ toolDescription,
475
+ version,
476
+ weight,
477
+ templateType,
478
+ associatedPluginId,
479
+ userGuide
480
+ } = item . customConfig ! ;
467
481
468
482
return {
469
483
id : item . pluginId ,
@@ -475,6 +489,7 @@ const dbPluginFormat = (item: SystemPluginConfigSchemaType): SystemPluginTemplat
475
489
name,
476
490
avatar,
477
491
intro,
492
+ toolDescription,
478
493
weight,
479
494
templateType,
480
495
originCost : item . originCost ,
@@ -556,6 +571,7 @@ export const getSystemTools = async (): Promise<SystemPluginTemplateItemType[]>
556
571
name : item . name ,
557
572
avatar : item . avatar ,
558
573
intro : item . description ,
574
+ toolDescription : item . toolDescription ,
559
575
author : item . author ,
560
576
courseUrl : item . courseUrl ,
561
577
instructions : dbPluginConfig ?. customConfig ?. userGuide ,
0 commit comments