mirror of
https://github.com/langgenius/dify.git
synced 2025-07-17 06:12:10 +00:00
12 lines
277 B
TypeScript
12 lines
277 B
TypeScript
import { useHooksStore } from '@/app/components/workflow/hooks-store'
|
|
|
|
export const useDSL = () => {
|
|
const exportCheck = useHooksStore(s => s.exportCheck)
|
|
const handleExportDSL = useHooksStore(s => s.handleExportDSL)
|
|
|
|
return {
|
|
exportCheck,
|
|
handleExportDSL,
|
|
}
|
|
}
|