mirror of
https://github.com/langgenius/dify.git
synced 2026-08-28 20:21:58 +08:00
14 lines
357 B
TypeScript
14 lines
357 B
TypeScript
import { useInspectVarsCrudCommon } from '@/app/components/workflow/hooks/use-inspect-vars-crud-common'
|
|
import { useConfigsMap } from './use-configs-map'
|
|
|
|
export const useInspectVarsCrud = (snippetId: string) => {
|
|
const configsMap = useConfigsMap(snippetId)
|
|
const apis = useInspectVarsCrudCommon({
|
|
...configsMap,
|
|
})
|
|
|
|
return {
|
|
...apis,
|
|
}
|
|
}
|