@dentira/dentira-bulk-upload-widget 0.0.602 → 0.0.603
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/esm/types/types.d.ts +8 -12
- package/dist/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +13 -11
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -2
|
@@ -43,17 +43,8 @@ export type BulkUploadConfig = {
|
|
|
43
43
|
fileType?: "CSV" | "EXCEL";
|
|
44
44
|
rules?: string[];
|
|
45
45
|
columns?: string[];
|
|
46
|
-
downloadTemplateConfig?:
|
|
47
|
-
|
|
48
|
-
downloadRequestPayload?: Record<any, any>;
|
|
49
|
-
showDownloadButton?: boolean;
|
|
50
|
-
downloadButtonLabel?: string;
|
|
51
|
-
};
|
|
52
|
-
uploadConfig?: {
|
|
53
|
-
showUploadButton?: boolean;
|
|
54
|
-
uploadButtonLabel?: string;
|
|
55
|
-
uploadRequestPayload?: Record<any, any>;
|
|
56
|
-
};
|
|
46
|
+
downloadTemplateConfig?: DownloadTemplateConfigType;
|
|
47
|
+
uploadConfig?: UploadConfigType;
|
|
57
48
|
session: string;
|
|
58
49
|
apiKey: string;
|
|
59
50
|
};
|
|
@@ -125,10 +116,15 @@ export type sessionType = {
|
|
|
125
116
|
};
|
|
126
117
|
export type DownloadTemplateConfigType = {
|
|
127
118
|
hasDynamicTemplate?: boolean;
|
|
128
|
-
|
|
119
|
+
downloadRequestPayload?: Record<any, any>;
|
|
129
120
|
showDownloadButton?: boolean;
|
|
130
121
|
downloadButtonLabel?: string;
|
|
131
122
|
};
|
|
123
|
+
export type UploadConfigType = {
|
|
124
|
+
showUploadButton?: boolean;
|
|
125
|
+
uploadButtonLabel?: string;
|
|
126
|
+
uploadRequestPayload?: Record<any, any>;
|
|
127
|
+
};
|
|
132
128
|
export type ScreenProps = {
|
|
133
129
|
selectedJob: JobType | null;
|
|
134
130
|
downloadingTemplate: boolean;
|