@contrail/entity-types 1.1.55-11 → 1.1.55-13

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.
@@ -0,0 +1,3 @@
1
+ {
2
+ "prettier.singleQuote": true
3
+ }
package/lib/loader.d.ts CHANGED
@@ -53,7 +53,7 @@ export interface LoadResult {
53
53
  transformWarnings?: any[];
54
54
  generalErrors?: GeneralIssueDetails[];
55
55
  generalWarnings?: GeneralIssueDetails[];
56
- systemErrors: GeneralIssueDetails[];
56
+ systemErrors?: GeneralIssueDetails[];
57
57
  failureArea?: LoaderFailureArea;
58
58
  }
59
59
  export interface RowLoadError {
@@ -88,12 +88,7 @@ export interface GeneralIssueDetails {
88
88
  message: string;
89
89
  issueType: IssueType;
90
90
  }
91
- export interface GeneralLoadResult {
92
- errors?: ProcessingIssues[];
93
- warnings?: ProcessingIssues[];
94
- globalIssues?: GeneralIssueDetails[];
95
- }
96
- export interface ColorLoadResult extends GeneralLoadResult {
91
+ export interface ColorLoadResult {
97
92
  colorsCreated: any[];
98
93
  colorsUpdated: any[];
99
94
  colorsUnchanged: any[];
@@ -101,7 +96,7 @@ export interface ColorLoadResult extends GeneralLoadResult {
101
96
  colorsFailedUpdate: RowLoadError[];
102
97
  failed: boolean;
103
98
  }
104
- export interface ItemsLoadResult extends GeneralLoadResult {
99
+ export interface ItemsLoadResult {
105
100
  itemsCreated: any[];
106
101
  itemsUpdated: any[];
107
102
  itemsUnchanged: any[];
@@ -109,7 +104,7 @@ export interface ItemsLoadResult extends GeneralLoadResult {
109
104
  itemsFailedUpdate: RowLoadError[];
110
105
  failed: boolean;
111
106
  }
112
- export interface ProjectItemsLoadResult extends GeneralLoadResult {
107
+ export interface ProjectItemsLoadResult {
113
108
  projectItemsCreated: any[];
114
109
  projectItemsUpdated: any[];
115
110
  projectItemsUnchanged: any[];
@@ -117,7 +112,7 @@ export interface ProjectItemsLoadResult extends GeneralLoadResult {
117
112
  projectItemsFailedUpdate: RowLoadError[];
118
113
  failed: boolean;
119
114
  }
120
- export interface AssortmentItemsLoadResult extends GeneralLoadResult {
115
+ export interface AssortmentItemsLoadResult {
121
116
  assortmentItemsCreated: any[];
122
117
  assortmentItemsUpdated: any[];
123
118
  assortmentItemsUnchanged: any[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/entity-types",
3
- "version": "1.1.55-11",
3
+ "version": "1.1.55-13",
4
4
  "description": "A types library for Vibeiq entities.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",