mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-06 13:19:33 +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 OcrProviderBaseConfig = z.infer<typeof OcrProviderBaseConfigSchema>
|
||||||
|
|
||||||
export type OcrProviderConfig = OcrApiProviderConfig | OcrTesseractConfig | OcrSystemConfig | OcrPpocrConfig
|
export type OcrProviderConfig =
|
||||||
|
| OcrApiProviderConfig
|
||||||
|
| OcrTesseractConfig
|
||||||
|
| OcrSystemConfig
|
||||||
|
| OcrPpocrConfig
|
||||||
|
| OcrOvConfig
|
||||||
|
|
||||||
export type OcrProvider = {
|
export type OcrProvider = {
|
||||||
id: string
|
id: string
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user