@ingestro/importer-react 4.0.4 → 4.1.0
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/README.md +1 -1
- package/chunk-6KU4IPD7.js +1 -0
- package/{chunk-OOKRCW2A.js → chunk-CFY6K4PV.js} +23 -23
- package/index.d.ts +17 -2
- package/index.js +390 -386
- package/package.json +4 -3
- package/workers/javascript/index.js +1 -1
- package/workers/parseData/index.js +1 -1
- package/chunk-QNASKSN5.js +0 -1
package/index.d.ts
CHANGED
|
@@ -55,7 +55,14 @@ export type DataHandlerReviewStep = (
|
|
|
55
55
|
metadata?: DataHandlerMetaData[]
|
|
56
56
|
) => Promise<ReviewStepHandlerData | void> | ReviewStepHandlerData | void;
|
|
57
57
|
|
|
58
|
-
type SpreadSheetType =
|
|
58
|
+
type SpreadSheetType =
|
|
59
|
+
| 'csv'
|
|
60
|
+
| 'tsv'
|
|
61
|
+
| 'psv'
|
|
62
|
+
| 'xlsx'
|
|
63
|
+
| 'json'
|
|
64
|
+
| 'xml'
|
|
65
|
+
| 'dynamic-import';
|
|
59
66
|
|
|
60
67
|
export type DataHandlerMetaData = {
|
|
61
68
|
fileName: string;
|
|
@@ -352,7 +359,15 @@ export type ButtonModeType = 'import' | 'edit' | 'both';
|
|
|
352
359
|
|
|
353
360
|
export type ProcessorType = 'default' | 'node';
|
|
354
361
|
|
|
355
|
-
export type InputType =
|
|
362
|
+
export type InputType =
|
|
363
|
+
| 'pdf'
|
|
364
|
+
| 'json'
|
|
365
|
+
| 'xml'
|
|
366
|
+
| 'csv'
|
|
367
|
+
| 'tsv'
|
|
368
|
+
| 'xlsx'
|
|
369
|
+
| 'xls'
|
|
370
|
+
| 'psv';
|
|
356
371
|
|
|
357
372
|
export type DropdownOptionAPI = DropdownOptionAPIBase &
|
|
358
373
|
(DropdownOptionAPIString | DropdownOptionAPINumber);
|