mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 12:02:24 -04:00
24 lines
400 B
TypeScript
24 lines
400 B
TypeScript
// This file is auto-generated by @hey-api/openapi-ts
|
|
|
|
import { oc } from '@orpc/contract'
|
|
|
|
import { zPostInfoResponse } from './zod.gen'
|
|
|
|
export const post = oc
|
|
.route({
|
|
inputStructure: 'detailed',
|
|
method: 'POST',
|
|
operationId: 'postInfo',
|
|
path: '/info',
|
|
tags: ['console'],
|
|
})
|
|
.output(zPostInfoResponse)
|
|
|
|
export const info = {
|
|
post,
|
|
}
|
|
|
|
export const contract = {
|
|
info,
|
|
}
|