@contrail/entity-types 1.1.55-7 → 1.1.55-9
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 +3 -9
- package/lib/loader.js +2 -8
- package/package.json +1 -1
package/lib/loader.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LogLevel } from
|
|
2
|
-
import { OrgManagedEntity } from
|
|
1
|
+
import { LogLevel } from './log-level';
|
|
2
|
+
import { OrgManagedEntity } from './org-managed-entity';
|
|
3
3
|
export declare class ColumnDefinition {
|
|
4
4
|
fromProperty?: string;
|
|
5
5
|
toProperty: string;
|
|
@@ -53,13 +53,6 @@ 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;
|
|
63
56
|
}
|
|
64
57
|
export interface RowLoadError {
|
|
65
58
|
data: any;
|
|
@@ -179,6 +172,7 @@ export declare class LoaderProcess implements OrgManagedEntity {
|
|
|
179
172
|
messageGroupId?: string;
|
|
180
173
|
}
|
|
181
174
|
export declare enum IssueType {
|
|
175
|
+
CONFIG = "CONFIG",
|
|
182
176
|
INVALID_DATA = "INVALID_DATA",
|
|
183
177
|
MISSING_DATA = "MISSING_DATA",
|
|
184
178
|
DUPLICATE_FEDERATED_ID = "DUPLICATE_FEDERATED_ID",
|
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.
|
|
3
|
+
exports.LoaderFailureArea = exports.IssueType = exports.LoaderProcess = 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,13 +43,6 @@ 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;
|
|
53
46
|
class LoaderProcess {
|
|
54
47
|
id;
|
|
55
48
|
createdOn;
|
|
@@ -92,6 +85,7 @@ class LoaderProcess {
|
|
|
92
85
|
exports.LoaderProcess = LoaderProcess;
|
|
93
86
|
var IssueType;
|
|
94
87
|
(function (IssueType) {
|
|
88
|
+
IssueType["CONFIG"] = "CONFIG";
|
|
95
89
|
IssueType["INVALID_DATA"] = "INVALID_DATA";
|
|
96
90
|
IssueType["MISSING_DATA"] = "MISSING_DATA";
|
|
97
91
|
IssueType["DUPLICATE_FEDERATED_ID"] = "DUPLICATE_FEDERATED_ID";
|