dromo-uploader-js 2.3.0 → 2.4.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/dist/interfaces.d.ts +21 -2
- package/package.json +1 -1
package/dist/interfaces.d.ts
CHANGED
|
@@ -369,7 +369,26 @@ export type IUUIDField = {
|
|
|
369
369
|
}
|
|
370
370
|
];
|
|
371
371
|
};
|
|
372
|
-
export type IDeveloperField = IStringField | ICheckboxField | IEmailField | ISelectField |
|
|
372
|
+
export type IDeveloperField = IStringField | ICheckboxField | IEmailField | ISelectField | {
|
|
373
|
+
label: string;
|
|
374
|
+
key: string;
|
|
375
|
+
description?: string | undefined;
|
|
376
|
+
alternateMatches?: string[] | undefined;
|
|
377
|
+
validators?: IValidatorField[];
|
|
378
|
+
invalidValueMessage?: string | undefined;
|
|
379
|
+
readOnly?: boolean;
|
|
380
|
+
hidden?: boolean;
|
|
381
|
+
requireMapping?: boolean | undefined;
|
|
382
|
+
manyToOne?: boolean;
|
|
383
|
+
type: "multi-select" | [
|
|
384
|
+
"multi-select",
|
|
385
|
+
{
|
|
386
|
+
delimiter?: string | undefined;
|
|
387
|
+
trimValues?: boolean | undefined;
|
|
388
|
+
}
|
|
389
|
+
];
|
|
390
|
+
selectOptions: IDeveloperSelectOption[];
|
|
391
|
+
} | INumberField | IDateTimeField | IDomainField | IPhoneNumberField | IUrlField | ISSNField | IUUIDField | IUSZipCodeField | {
|
|
373
392
|
label: string;
|
|
374
393
|
key: string;
|
|
375
394
|
description?: string | undefined;
|
|
@@ -625,7 +644,7 @@ export type WrapAsync<T> = {
|
|
|
625
644
|
[P in keyof T]: T[P] extends (...args: infer Args) => infer Return ? (...args: Args) => Promise<Return> : T[P];
|
|
626
645
|
};
|
|
627
646
|
export type IPublicConnectionMethods = WrapAsync<Pick<IConnectionMethods, "addField" | "updateInfoMessages" | "setHeaderRowOverride" | "setUser" | "removeField" | "setDevelopmentMode" | "addRows" | "removeRows" | "setConfirmationMessage">>;
|
|
628
|
-
export type IDeveloperFieldType = "string" | "checkbox" | "select" | "number" | "domain" | "date" | "ssn" | "datetime" | "phone-number" | "time" | "url" | "us-zip-code" | "country" | "uuid" | "us-state-territory" | "email";
|
|
647
|
+
export type IDeveloperFieldType = "string" | "checkbox" | "select" | "multi-select" | "number" | "domain" | "date" | "ssn" | "datetime" | "phone-number" | "time" | "url" | "us-zip-code" | "country" | "uuid" | "us-state-territory" | "email";
|
|
629
648
|
export interface ICellRef {
|
|
630
649
|
rowIndex: number;
|
|
631
650
|
fieldKey: string;
|