dromo-uploader-js 1.2.29 → 1.2.30

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.
@@ -1,7 +1,8 @@
1
+ export declare type IDeveloperFieldType = "string" | "checkbox" | "select" | "number" | "date" | "datetime" | "time" | "email";
1
2
  export interface IDeveloperField {
2
3
  label: string;
3
4
  key: string;
4
- type?: "string" | "checkbox" | "select";
5
+ type?: IDeveloperFieldType | [IDeveloperFieldType, any];
5
6
  description?: string;
6
7
  alternateMatches?: string[];
7
8
  validators?: IValidatorField[];
@@ -45,6 +46,7 @@ export interface IDeveloperSettings {
45
46
  allowInvalidSubmit?: boolean;
46
47
  invalidDataBehavior?: keyof typeof EInvalidDataBehavior;
47
48
  backendSync?: boolean;
49
+ backendSyncMode?: keyof typeof EBackendSyncMode;
48
50
  manualInputDisabled?: boolean;
49
51
  manualInputOnly?: boolean;
50
52
  allowCustomFields?: boolean;
@@ -169,7 +171,7 @@ export interface IRowHookInput {
169
171
  row: {
170
172
  [key: string]: {
171
173
  value: any;
172
- resultValue: string | null;
174
+ resultValue: any;
173
175
  info?: ITableMessage[];
174
176
  };
175
177
  };
@@ -232,4 +234,9 @@ export declare enum EInvalidDataBehavior {
232
234
  REMOVE_INVALID_ROWS = "REMOVE_INVALID_ROWS",
233
235
  INCLUDE_INVALID_ROWS = "INCLUDE_INVALID_ROWS"
234
236
  }
237
+ export declare enum EBackendSyncMode {
238
+ DISABLED = "DISABLED",
239
+ COLUMNS_ONLY = "COLUMNS_ONLY",
240
+ FULL_DATA = "FULL_DATA"
241
+ }
235
242
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dromo-uploader-js",
3
- "version": "1.2.29",
3
+ "version": "1.2.30",
4
4
  "description": "Easy to use data (CSV, TSV, Excel) importer",
5
5
  "author": "ankitgoyal100",
6
6
  "license": "MIT",