feat(ocr): add filtering by registration status to provider list

Add optional query parameter to filter OCR providers by registration status
Prevent modification and deletion of built-in OCR providers
This commit is contained in:
icarus
2025-10-20 07:54:50 +08:00
parent 7ea7e7134d
commit 389dfc08f6
3 changed files with 16 additions and 12 deletions
+1
View File
@@ -360,6 +360,7 @@ export interface ApiSchemas {
'/ocr/providers': {
GET: {
query: { registered?: boolean }
response: ListOcrProvidersResponse
}
POST: {