mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 03:10:08 +08:00
feat(types): add OcrOvConfig to OcrProviderConfig union type
This commit is contained in:
parent
2e400d3f1c
commit
a3bc279c74
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user