Chore/workflow last run (#21823)

Co-authored-by: Joel <iamjoel007@gmail.com>
This commit is contained in:
zxhlyh 2025-07-02 17:48:07 +08:00 • committed by GitHub
commit 3bfa9767c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 422 additions and 235 deletions

View file

@ -0,0 +1,12 @@
import { useMemo } from 'react'
import { useStore } from '@/app/components/workflow/store'
export const useConfigsMap = () => {
const appId = useStore(s => s.appId)
return useMemo(() => {
return {
conversationVarsUrl: `apps/${appId}/workflows/draft/conversation-variables`,
systemVarsUrl: `apps/${appId}/workflows/draft/system-variables`,
}
}, [appId])
}