mirror of
https://github.com/langgenius/dify.git
synced 2026-04-27 05:58:14 +08:00
20 lines
443 B
TypeScript
20 lines
443 B
TypeScript
import type { OrpcPlugin } from './types'
|
|
|
|
import { definePluginConfig } from '@hey-api/openapi-ts'
|
|
|
|
import { handler } from './plugin'
|
|
|
|
export const defaultConfig: OrpcPlugin['Config'] = {
|
|
config: {
|
|
baseName: 'base',
|
|
exportFromIndex: false,
|
|
generateRouter: true,
|
|
output: 'orpc',
|
|
},
|
|
dependencies: ['@hey-api/typescript', 'zod'],
|
|
handler,
|
|
name: 'orpc',
|
|
}
|
|
|
|
export const defineConfig = definePluginConfig(defaultConfig)
|