mirror of
https://github.com/langgenius/dify.git
synced 2026-03-03 06:46:19 +08:00
17 lines
367 B
TypeScript
17 lines
367 B
TypeScript
import type { OrpcPlugin } from './types'
|
|
|
|
import { definePluginConfig } from '@hey-api/openapi-ts'
|
|
|
|
import { handler } from './plugin'
|
|
|
|
export const defaultConfig: OrpcPlugin['Config'] = {
|
|
config: {
|
|
output: 'orpc',
|
|
},
|
|
dependencies: ['@hey-api/typescript', 'zod'],
|
|
handler,
|
|
name: 'orpc',
|
|
}
|
|
|
|
export const defineConfig = definePluginConfig(defaultConfig)
|