mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 18:00:59 -04:00
31 lines
651 B
TypeScript
31 lines
651 B
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import { oc } from '@orpc/contract'
|
|
|
|
import { zGetFeaturesResponse } from './zod.gen'
|
|
|
|
/**
|
|
* Get feature configuration for current tenant
|
|
*
|
|
* Get feature configuration for current tenant
|
|
*/
|
|
export const get = oc
|
|
.route({
|
|
description: 'Get feature configuration for current tenant',
|
|
inputStructure: 'detailed',
|
|
method: 'GET',
|
|
operationId: 'getFeatures',
|
|
path: '/features',
|
|
summary: 'Get feature configuration for current tenant',
|
|
tags: ['console'],
|
|
})
|
|
.output(zGetFeaturesResponse)
|
|
|
|
export const features = {
|
|
get,
|
|
}
|
|
|
|
export const contract = {
|
|
features,
|
|
}
|