mirror of
https://github.com/langgenius/dify.git
synced 2026-07-28 23:59:34 +08:00
Co-authored-by: JzoNg <jzongcode@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
14 lines
346 B
TypeScript
14 lines
346 B
TypeScript
import { useInspectVarsCrudCommon } from '../../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,
|
|
}
|
|
}
|