external knowledge api (#8913)

Co-authored-by: Yi <yxiaoisme@gmail.com>
This commit is contained in:
Jyong 2024-09-30 15:38:43 +08:00 • committed by GitHub
commit 9d221a5e19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
90 changed files with 4623 additions and 1171 deletions

View file

@ -0,0 +1,11 @@
import { create } from 'zustand'
type DatasetStore = {
showExternalApiPanel: boolean
setShowExternalApiPanel: (show: boolean) => void
}
export const useDatasetStore = create<DatasetStore>(set => ({
showExternalApiPanel: false,
setShowExternalApiPanel: show => set({ showExternalApiPanel: show }),
}))