@contrail/entity-types 1.1.58-4 → 1.1.59-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/lib/loader.d.ts
CHANGED
|
@@ -45,8 +45,8 @@ export declare enum LoadType {
|
|
|
45
45
|
PROJECT = "PROJECT"
|
|
46
46
|
}
|
|
47
47
|
export interface LoadResult {
|
|
48
|
-
colorsLoadResult?:
|
|
49
|
-
customEntitiesLoadResult?:
|
|
48
|
+
colorsLoadResult?: EntityLoadResult;
|
|
49
|
+
customEntitiesLoadResult?: EntityLoadResult;
|
|
50
50
|
itemsLoadResult?: ItemsLoadResult;
|
|
51
51
|
projectItemsLoadResult?: ProjectItemsLoadResult;
|
|
52
52
|
assortmentItemsLoadResult?: AssortmentItemsLoadResult;
|
|
@@ -89,20 +89,12 @@ export interface GeneralIssueDetails {
|
|
|
89
89
|
message: string;
|
|
90
90
|
issueType: IssueType;
|
|
91
91
|
}
|
|
92
|
-
export interface
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
failed: boolean;
|
|
99
|
-
}
|
|
100
|
-
export interface CustomEntitiesLoadResult {
|
|
101
|
-
customEntitiesCreated: any[];
|
|
102
|
-
customEntitiesUpdated: any[];
|
|
103
|
-
customEntitiesUnchanged: any[];
|
|
104
|
-
customEntitiesFailedCreate: RowLoadError[];
|
|
105
|
-
customEntitiesFailedUpdate: RowLoadError[];
|
|
92
|
+
export interface EntityLoadResult {
|
|
93
|
+
created: any[];
|
|
94
|
+
updated: any[];
|
|
95
|
+
unchanged: any[];
|
|
96
|
+
failedCreate: RowLoadError[];
|
|
97
|
+
failedUpdate: RowLoadError[];
|
|
106
98
|
failed: boolean;
|
|
107
99
|
}
|
|
108
100
|
export interface ItemsLoadResult {
|