dromo-uploader-js 2.1.9 → 2.1.11

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.
@@ -235,6 +235,7 @@ export type IDateTimeField = {
235
235
  outputFormat?: string | undefined;
236
236
  locale?: string | undefined;
237
237
  withSeconds?: boolean | undefined;
238
+ autofix?: boolean | undefined;
238
239
  }
239
240
  ];
240
241
  };
@@ -461,7 +462,7 @@ export type IDeveloperSettings = {
461
462
  importIdentifier: string;
462
463
  title?: string | undefined;
463
464
  allowInvalidSubmit?: boolean | undefined;
464
- invalidDataBehavior?: ("BLOCK_SUBMIT" | "INCLUDE_INVALID_ROWS" | "REMOVE_INVALID_ROWS") | undefined;
465
+ invalidDataBehavior?: ("BLOCK_SUBMIT" | "INCLUDE_INVALID_ROWS" | "REMOVE_INVALID_ROWS" | "INCLUDE_INVALID_ROWS_AND_VALUES") | undefined;
465
466
  allowEmptySubmit?: boolean;
466
467
  backendSync?: boolean | undefined;
467
468
  backendSyncMode?: ("DISABLED" | "FULL_DATA" | "MAPPINGS_ONLY") | undefined;
@@ -473,6 +474,11 @@ export type IDeveloperSettings = {
473
474
  developmentMode?: boolean | undefined;
474
475
  displayEncoding?: boolean;
475
476
  styleOverrides?: IDeveloperStyleOverrides;
477
+ textOverrides?: {
478
+ errors?: {
479
+ [x: string]: string;
480
+ };
481
+ };
476
482
  maxFileSize?: number;
477
483
  webhookUrl?: string | null;
478
484
  needsReviewWebhookUrl?: string | null;
@@ -503,6 +509,7 @@ export type IDeveloperSettings = {
503
509
  allowAddingRows?: boolean;
504
510
  allowRemovingRows?: boolean;
505
511
  highlightAutoFixes?: boolean;
512
+ autoCreateUnmappedColumns?: boolean;
506
513
  };
507
514
  autoMapHeaders?: boolean;
508
515
  delimiter?: string | undefined;
@@ -731,7 +738,8 @@ export interface IAllHooks {
731
738
  export declare enum EInvalidDataBehavior {
732
739
  BLOCK_SUBMIT = "BLOCK_SUBMIT",
733
740
  REMOVE_INVALID_ROWS = "REMOVE_INVALID_ROWS",
734
- INCLUDE_INVALID_ROWS = "INCLUDE_INVALID_ROWS"
741
+ INCLUDE_INVALID_ROWS = "INCLUDE_INVALID_ROWS",
742
+ INCLUDE_INVALID_ROWS_AND_VALUES = "INCLUDE_INVALID_ROWS_AND_VALUES"
735
743
  }
736
744
  export declare enum EBackendSyncMode {
737
745
  DISABLED = "DISABLED",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dromo-uploader-js",
3
- "version": "2.1.9",
3
+ "version": "2.1.11",
4
4
  "description": "Easy to use data (CSV, TSV, Excel) importer",
5
5
  "author": "ankitgoyal100",
6
6
  "license": "MIT",