chore: 纳入本地 Dify 1.19.0 源码及品牌与免登改动
演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
60158935f4
commit
6519682885
15831 files changed
+3063428
No files matched your search
@@ -0,0 +1,26 @@
|
||||
// This file is auto-generated by @hey-api/openapi-ts
|
||||
|
||||
import { oc } from '@orpc/contract'
|
||||
import { zGetPingResponse } from './zod.gen.ts'
|
||||
|
||||
/**
|
||||
* Health check endpoint for connection testing.
|
||||
*/
|
||||
export const get = oc
|
||||
.route({
|
||||
inputStructure: 'detailed',
|
||||
method: 'GET',
|
||||
operationId: 'getPing',
|
||||
path: '/ping',
|
||||
summary: 'Health check endpoint for connection testing.',
|
||||
tags: ['console'],
|
||||
})
|
||||
.output(zGetPingResponse)
|
||||
|
||||
export const ping = {
|
||||
get,
|
||||
}
|
||||
|
||||
export const contract = {
|
||||
ping,
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
// This file is auto-generated by @hey-api/openapi-ts
|
||||
|
||||
export type ClientOptions = {
|
||||
baseUrl: `${string}://${string}/console/api` | (string & {})
|
||||
}
|
||||
|
||||
export type PingResponse = {
|
||||
result: string
|
||||
}
|
||||
|
||||
export type GetPingData = {
|
||||
body?: never
|
||||
path?: never
|
||||
query?: never
|
||||
url: '/ping'
|
||||
}
|
||||
|
||||
export type GetPingResponses = {
|
||||
200: PingResponse
|
||||
}
|
||||
|
||||
export type GetPingResponse = GetPingResponses[keyof GetPingResponses]
|
||||
@@ -0,0 +1,15 @@
|
||||
// This file is auto-generated by @hey-api/openapi-ts
|
||||
|
||||
import * as z from 'zod'
|
||||
|
||||
/**
|
||||
* PingResponse
|
||||
*/
|
||||
export const zPingResponse = z.object({
|
||||
result: z.string(),
|
||||
})
|
||||
|
||||
/**
|
||||
* OK
|
||||
*/
|
||||
export const zGetPingResponse = zPingResponse
|
||||
Reference in new issue
Block a user