@contrail/entity-types 1.1.55-4 → 1.1.55-7
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/lib/loader.d.ts +9 -1
- package/lib/loader.js +9 -1
- package/package.json +1 -1
package/lib/loader.d.ts
CHANGED
|
@@ -53,6 +53,13 @@ export interface LoadResult {
|
|
|
53
53
|
transformWarnings?: any[];
|
|
54
54
|
globalIssues?: GeneralIssueDetails[];
|
|
55
55
|
failureArea?: LoaderFailureArea;
|
|
56
|
+
preprocessingStepResults: PreProcessingStep[];
|
|
57
|
+
}
|
|
58
|
+
export declare class PreProcessingStep {
|
|
59
|
+
preprocessingStepName: string;
|
|
60
|
+
numberOfWarnings: Number;
|
|
61
|
+
fileId: string;
|
|
62
|
+
numberOfErrors: Number;
|
|
56
63
|
}
|
|
57
64
|
export interface RowLoadError {
|
|
58
65
|
data: any;
|
|
@@ -182,5 +189,6 @@ export declare enum IssueType {
|
|
|
182
189
|
export declare enum LoaderFailureArea {
|
|
183
190
|
PARSING_CSV = "PARSING_CSV",
|
|
184
191
|
TRANSFORMING_DATA = "TRANSFORMING_DATA",
|
|
185
|
-
UPLOADING_DATA = "UPLOADING_DATA"
|
|
192
|
+
UPLOADING_DATA = "UPLOADING_DATA",
|
|
193
|
+
NONE = "NONE"
|
|
186
194
|
}
|
package/lib/loader.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LoaderFailureArea = exports.IssueType = exports.LoaderProcess = exports.LoadType = exports.LoadStatus = exports.ValueToAssortment = exports.AssortmentSplit = exports.ConditionalValues = exports.ColumnDefinition = void 0;
|
|
3
|
+
exports.LoaderFailureArea = exports.IssueType = exports.LoaderProcess = exports.PreProcessingStep = exports.LoadType = exports.LoadStatus = exports.ValueToAssortment = exports.AssortmentSplit = exports.ConditionalValues = exports.ColumnDefinition = void 0;
|
|
4
4
|
class ColumnDefinition {
|
|
5
5
|
fromProperty;
|
|
6
6
|
toProperty;
|
|
@@ -43,6 +43,13 @@ var LoadType;
|
|
|
43
43
|
LoadType["SIZE_RANGE_TEMPLATE"] = "SIZE_RANGE_TEMPLATE";
|
|
44
44
|
LoadType["PROJECT"] = "PROJECT";
|
|
45
45
|
})(LoadType = exports.LoadType || (exports.LoadType = {}));
|
|
46
|
+
class PreProcessingStep {
|
|
47
|
+
preprocessingStepName;
|
|
48
|
+
numberOfWarnings;
|
|
49
|
+
fileId;
|
|
50
|
+
numberOfErrors;
|
|
51
|
+
}
|
|
52
|
+
exports.PreProcessingStep = PreProcessingStep;
|
|
46
53
|
class LoaderProcess {
|
|
47
54
|
id;
|
|
48
55
|
createdOn;
|
|
@@ -97,4 +104,5 @@ var LoaderFailureArea;
|
|
|
97
104
|
LoaderFailureArea["PARSING_CSV"] = "PARSING_CSV";
|
|
98
105
|
LoaderFailureArea["TRANSFORMING_DATA"] = "TRANSFORMING_DATA";
|
|
99
106
|
LoaderFailureArea["UPLOADING_DATA"] = "UPLOADING_DATA";
|
|
107
|
+
LoaderFailureArea["NONE"] = "NONE";
|
|
100
108
|
})(LoaderFailureArea = exports.LoaderFailureArea || (exports.LoaderFailureArea = {}));
|