dromo-uploader-js 2.0.14 → 2.0.16

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.
@@ -40,13 +40,14 @@ export type IRequireWithValuesValidator = {
40
40
  [x: string]: any;
41
41
  };
42
42
  };
43
- export type IValidatorField = IRequiredValidator | IUniqueValidator | IUniqueWithValidator | IRegexValidator | IRequireWithValidator | IRequireWithValuesValidator | {
43
+ export type ILengthValidator = {
44
44
  errorMessage?: string | undefined;
45
45
  level?: ("info" | "warning" | "error") | undefined;
46
46
  validate: "length";
47
47
  min?: number | undefined;
48
48
  max?: number | undefined;
49
49
  };
50
+ export type IValidatorField = IRequiredValidator | IUniqueValidator | IUniqueWithValidator | IRegexValidator | IRequireWithValidator | IRequireWithValuesValidator | ILengthValidator;
50
51
  export type IStringField = {
51
52
  label: string;
52
53
  key: string;
@@ -120,7 +121,7 @@ export type ISelectField = {
120
121
  type: "select" | [
121
122
  "select",
122
123
  {
123
- [x: string]: never;
124
+ allowCustom?: boolean | undefined;
124
125
  }
125
126
  ];
126
127
  selectOptions: IDeveloperSelectOption[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dromo-uploader-js",
3
- "version": "2.0.14",
3
+ "version": "2.0.16",
4
4
  "description": "Easy to use data (CSV, TSV, Excel) importer",
5
5
  "author": "ankitgoyal100",
6
6
  "license": "MIT",