Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

403 B
Raw Blame
import { useTriggerSubscriptions } from '@/service/use-triggers'
import { usePluginStore } from '../store'

export const useSubscriptionList = () => {
  const detail = usePluginStore((state) => state.detail)

  const {
    data: subscriptions,
    isLoading,
    refetch,
  } = useTriggerSubscriptions(detail?.provider || '')

  return {
    detail,
    subscriptions,
    isLoading,
    refetch,
  }
}