Skip to content

Commit d3d2885

Browse files
committed
fix: ts
1 parent 3555c59 commit d3d2885

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/global/core/app/tool/type.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export type AppToolTemplateItemType = WorkflowTemplateType & {
5252
hasTokenFee?: boolean;
5353
pluginOrder?: number;
5454

55-
toolTags?: string[];
55+
toolTags?: string[] | null;
5656
defaultInstalled?: boolean;
5757
isOfficial?: boolean;
5858

packages/global/core/workflow/type/node.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export type FlowNodeTemplateType = FlowNodeCommonType & {
131131
diagram?: string; // diagram url
132132
courseUrl?: string; // course url
133133
userGuide?: string; // user guide
134-
toolTags?: string[];
134+
toolTags?: string[] | null;
135135

136136
// @deprecated
137137
sourceHandle?: HandleType;
@@ -144,7 +144,7 @@ export type NodeTemplateListItemType = {
144144
parentId?: ParentIdType;
145145
isFolder?: boolean;
146146
templateType?: string;
147-
toolTags?: string[];
147+
toolTags?: string[] | null;
148148
avatar?: string;
149149
name: string;
150150
intro?: string; // template list intro

packages/web/components/core/plugin/tool/ToolCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export type ToolCardItemType = {
1919
description?: string;
2020
icon?: string;
2121
author?: string;
22-
tags?: string[];
22+
tags?: string[] | null;
2323
downloadUrl?: string;
2424
status?: number;
2525
installed?: boolean;

0 commit comments

Comments
 (0)