mirror of
https://github.com/langgenius/dify.git
synced 2025-07-30 13:00:14 +00:00
17 lines
437 B
TypeScript
17 lines
437 B
TypeScript
import { useStore } from '@/app/components/workflow/store'
|
|
import { useInspectVarsCrudCommon } from '../../workflow/hooks/use-inspect-vars-crud-common'
|
|
import { useConfigsMap } from './use-configs-map'
|
|
|
|
export const useInspectVarsCrud = () => {
|
|
const appId = useStore(s => s.appId)
|
|
const configsMap = useConfigsMap()
|
|
const apis = useInspectVarsCrudCommon({
|
|
flowId: appId,
|
|
...configsMap,
|
|
})
|
|
|
|
return {
|
|
...apis,
|
|
}
|
|
}
|