mirror of
https://github.com/langgenius/dify.git
synced 2026-06-07 16:32:01 +08:00
31 lines
689 B
TypeScript
31 lines
689 B
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import { oc } from '@orpc/contract'
|
|
|
|
import { zGetAppDslVersionResponse } from './zod.gen'
|
|
|
|
/**
|
|
* Get current app DSL version for workflow clipboard compatibility
|
|
*
|
|
* Get current app DSL version
|
|
*/
|
|
export const get = oc
|
|
.route({
|
|
description: 'Get current app DSL version',
|
|
inputStructure: 'detailed',
|
|
method: 'GET',
|
|
operationId: 'getAppDslVersion',
|
|
path: '/app-dsl-version',
|
|
summary: 'Get current app DSL version for workflow clipboard compatibility',
|
|
tags: ['console'],
|
|
})
|
|
.output(zGetAppDslVersionResponse)
|
|
|
|
export const appDslVersion = {
|
|
get,
|
|
}
|
|
|
|
export const contract = {
|
|
appDslVersion,
|
|
}
|