mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
feat(web): bots page
This commit is contained in:
@@ -28,6 +28,14 @@ export function useProviderList(clientType: Ref<string>) {
|
||||
})
|
||||
}
|
||||
|
||||
/** 获取所有 Provider(无过滤) */
|
||||
export function useAllProviders() {
|
||||
return useQuery({
|
||||
key: ['all-providers'],
|
||||
query: () => fetchApi<ProviderWithId[]>('/providers'),
|
||||
})
|
||||
}
|
||||
|
||||
// ---- Mutations ----
|
||||
|
||||
export function useCreateProvider() {
|
||||
|
||||
Reference in New Issue
Block a user