dromo-uploader-js 1.2.13 → 1.2.14
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 +6 -3
- package/package.json +1 -1
package/dist/interfaces.d.ts
CHANGED
|
@@ -38,7 +38,9 @@ export interface IDeveloperSettings {
|
|
|
38
38
|
displayEncoding?: boolean;
|
|
39
39
|
styleOverrides?: IDeveloperStyleOverrides;
|
|
40
40
|
webhookUrl?: string;
|
|
41
|
-
initialData?:
|
|
41
|
+
initialData?: {
|
|
42
|
+
[key: string]: string;
|
|
43
|
+
}[] | any[][] | null;
|
|
42
44
|
matchingStep?: {
|
|
43
45
|
headerRowOverride?: number | null;
|
|
44
46
|
};
|
|
@@ -111,7 +113,7 @@ export interface IUser {
|
|
|
111
113
|
}
|
|
112
114
|
export interface ICellRef {
|
|
113
115
|
rowIndex: number;
|
|
114
|
-
|
|
116
|
+
fieldKey: string;
|
|
115
117
|
}
|
|
116
118
|
export interface ITableMessage {
|
|
117
119
|
message: string;
|
|
@@ -160,13 +162,14 @@ export interface IResultMetadata {
|
|
|
160
162
|
user: IUser;
|
|
161
163
|
rowsWithError: number[];
|
|
162
164
|
}
|
|
163
|
-
export declare type TLocaleShorthand = "en";
|
|
165
|
+
export declare type TLocaleShorthand = "en" | "de";
|
|
164
166
|
export declare enum EStepHook {
|
|
165
167
|
UPLOAD_STEP = "UPLOAD_STEP",
|
|
166
168
|
REVIEW_STEP = "REVIEW_STEP",
|
|
167
169
|
REVIEW_STEP_POST_HOOKS = "REVIEW_STEP_POST_HOOKS"
|
|
168
170
|
}
|
|
169
171
|
export interface IUploadStepData {
|
|
172
|
+
filename: string | undefined;
|
|
170
173
|
dataPreview: any[][];
|
|
171
174
|
}
|
|
172
175
|
export interface IReviewStepData {
|