to RefObject (#25192)
This commit is contained in:
parent
64e338133c
commit
f0561c0c3b
389 changed files with 405 additions and 405 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import type { MutableRefObject } from 'react'
|
||||
import type { RefObject } from 'react'
|
||||
import type { InputVar, Variable } from '@/app/components/workflow/types'
|
||||
import { useCallback, useMemo } from 'react'
|
||||
import useNodeCrud from '../_base/hooks/use-node-crud'
|
||||
|
|
@ -8,7 +8,7 @@ type Params = {
|
|||
id: string,
|
||||
payload: CodeNodeType,
|
||||
runInputData: Record<string, any>
|
||||
runInputDataRef: MutableRefObject<Record<string, any>>
|
||||
runInputDataRef: RefObject<Record<string, any>>
|
||||
getInputVars: (textList: string[]) => InputVar[]
|
||||
setRunInputData: (data: Record<string, any>) => void
|
||||
toVarInputs: (variables: Variable[]) => InputVar[]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue