@retab/react 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +37 -30
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +37 -30
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +179 -14
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1183,7 +1183,7 @@ interface OCRContextType {
|
|
|
1183
1183
|
setCounterFieldLocationUpdated: React.Dispatch<React.SetStateAction<number>>;
|
|
1184
1184
|
isInitializingFieldLocations: (documentId: string, currentIterationId: string) => boolean;
|
|
1185
1185
|
autoPerformOCR: (documentId: string) => Promise<void>;
|
|
1186
|
-
autoComputeFieldLocations: (documentId: string, data: Record<string, any>, file_id: string, currentIterationId: string) => Promise<void>;
|
|
1186
|
+
autoComputeFieldLocations: (documentId: string, data: Record<string, any>, file_id: string, currentIterationId: string, extraction_id?: string | null) => Promise<void>;
|
|
1187
1187
|
refreshOCRUrl: (fileId: string) => Promise<void>;
|
|
1188
1188
|
}
|
|
1189
1189
|
declare function useOCR(): OCRContextType;
|
package/dist/index.d.ts
CHANGED
|
@@ -1183,7 +1183,7 @@ interface OCRContextType {
|
|
|
1183
1183
|
setCounterFieldLocationUpdated: React.Dispatch<React.SetStateAction<number>>;
|
|
1184
1184
|
isInitializingFieldLocations: (documentId: string, currentIterationId: string) => boolean;
|
|
1185
1185
|
autoPerformOCR: (documentId: string) => Promise<void>;
|
|
1186
|
-
autoComputeFieldLocations: (documentId: string, data: Record<string, any>, file_id: string, currentIterationId: string) => Promise<void>;
|
|
1186
|
+
autoComputeFieldLocations: (documentId: string, data: Record<string, any>, file_id: string, currentIterationId: string, extraction_id?: string | null) => Promise<void>;
|
|
1187
1187
|
refreshOCRUrl: (fileId: string) => Promise<void>;
|
|
1188
1188
|
}
|
|
1189
1189
|
declare function useOCR(): OCRContextType;
|