fix: last run not export var and ts problem (#21424)

This commit is contained in:
Joel
2025-06-24 16:48:33 +08:00
committed by GitHub
parent d60287621a
commit f668d89621
2 changed files with 3 additions and 1 deletions

View File

@@ -301,7 +301,7 @@ export type Block = {
export type NodeDefault<T> = {
defaultValue: Partial<T>
defaultRunInputData: Record<string, any>
defaultRunInputData?: Record<string, any>
getAvailablePrevNodes: (isChatMode: boolean) => BlockEnum[]
getAvailableNextNodes: (isChatMode: boolean) => BlockEnum[]
checkValid: (payload: T, t: any, moreDataForCheckValid?: any) => { isValid: boolean; errorMessage?: string }