mirror of
https://github.com/langgenius/dify.git
synced 2026-09-03 23:47:16 +08:00
10 lines
338 B
TypeScript
10 lines
338 B
TypeScript
import { cache } from 'react'
|
|
import { getQueryClient } from '@/app/get-query-client'
|
|
import { serverConsoleQuery } from '@/service/server'
|
|
import 'server-only'
|
|
|
|
export const getSystemFeaturesQueryClient = cache(getQueryClient)
|
|
|
|
export const systemFeaturesServerQueryOptions = () =>
|
|
serverConsoleQuery.systemFeatures.get.queryOptions()
|