feat(types): add OcrOvConfig to OcrProviderConfig union type

This commit is contained in:
icarus 2025-10-20 00:36:04 +08:00
parent 2e400d3f1c
commit a3bc279c74

View File

@ -82,7 +82,12 @@ export const OcrProviderBaseConfigSchema = z.object({
export type OcrProviderBaseConfig = z.infer<typeof OcrProviderBaseConfigSchema>
export type OcrProviderConfig = OcrApiProviderConfig | OcrTesseractConfig | OcrSystemConfig | OcrPpocrConfig
export type OcrProviderConfig =
| OcrApiProviderConfig
| OcrTesseractConfig
| OcrSystemConfig
| OcrPpocrConfig
| OcrOvConfig
export type OcrProvider = {
id: string