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
commit f668d89621
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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 }