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.

478 B
Raw Blame
import { createLocalStorageState } from 'foxact/create-local-storage-state'

export type EducationExpireNoticePhase = 'expiring' | 'expired'

export type DismissedEducationExpireNotice = {
  accountId: string
  expireAt: number
  phase: EducationExpireNoticePhase
}

const [useDismissedEducationExpireNotice] =
  createLocalStorageState<DismissedEducationExpireNotice | null>(
    'dismissed-education-expire-notice',
    null,
  )

export { useDismissedEducationExpireNotice }