@contrail/entity-types 1.1.58-4 → 1.1.58
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 -19
- package/lib/loader.js +0 -2
- package/lib/property-type.d.ts +1 -2
- package/lib/property-type.js +0 -1
- package/package.json +2 -2
- package/.vscode/settings.json +0 -3
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 {
|
|
@@ -184,7 +176,6 @@ export declare class LoaderProcess implements OrgManagedEntity {
|
|
|
184
176
|
hasErrors?: boolean;
|
|
185
177
|
parallelWorkerCount?: number;
|
|
186
178
|
messageGroupId?: string;
|
|
187
|
-
isPartialFailure?: boolean;
|
|
188
179
|
}
|
|
189
180
|
export declare enum IssueType {
|
|
190
181
|
CONFIG = "CONFIG",
|
|
@@ -204,6 +195,5 @@ export declare enum LoaderFailureArea {
|
|
|
204
195
|
}
|
|
205
196
|
export declare enum EntityType {
|
|
206
197
|
COLOR = "color",
|
|
207
|
-
CUSTOM_ENTITY = "custom-entity"
|
|
208
|
-
ITEM = "item"
|
|
198
|
+
CUSTOM_ENTITY = "custom-entity"
|
|
209
199
|
}
|
package/lib/loader.js
CHANGED
|
@@ -81,7 +81,6 @@ class LoaderProcess {
|
|
|
81
81
|
hasErrors;
|
|
82
82
|
parallelWorkerCount;
|
|
83
83
|
messageGroupId;
|
|
84
|
-
isPartialFailure;
|
|
85
84
|
}
|
|
86
85
|
exports.LoaderProcess = LoaderProcess;
|
|
87
86
|
var IssueType;
|
|
@@ -106,5 +105,4 @@ var EntityType;
|
|
|
106
105
|
(function (EntityType) {
|
|
107
106
|
EntityType["COLOR"] = "color";
|
|
108
107
|
EntityType["CUSTOM_ENTITY"] = "custom-entity";
|
|
109
|
-
EntityType["ITEM"] = "item";
|
|
110
108
|
})(EntityType = exports.EntityType || (exports.EntityType = {}));
|
package/lib/property-type.d.ts
CHANGED
package/lib/property-type.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contrail/entity-types",
|
|
3
|
-
"version": "1.1.58
|
|
3
|
+
"version": "1.1.58",
|
|
4
4
|
"description": "A types library for Vibeiq entities.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -23,4 +23,4 @@
|
|
|
23
23
|
"typedoc-plugin-extras": "^3.0.0",
|
|
24
24
|
"typescript": "^4.2"
|
|
25
25
|
}
|
|
26
|
-
}
|
|
26
|
+
}
|
package/.vscode/settings.json
DELETED