@contrail/entity-types 1.1.57-2 → 1.1.57

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
@@ -137,6 +137,15 @@ export interface PreprocessingStepStoredResultSummary {
137
137
  numberOfWarnings: number;
138
138
  numberOfErrors: number;
139
139
  }
140
+ export interface ProcessedData {
141
+ csvRows: any[];
142
+ transformationErrors: ProcessingIssues[];
143
+ transformationWarnings: ProcessingIssues[];
144
+ generalErrors: GeneralIssueDetails[];
145
+ generalWarnings: GeneralIssueDetails[];
146
+ systemErrors: GeneralIssueDetails[];
147
+ failureArea: LoaderFailureArea;
148
+ }
140
149
  export declare class LoaderProcess implements OrgManagedEntity {
141
150
  id: string;
142
151
  createdOn?: Date;
@@ -192,3 +201,7 @@ export declare enum LoaderFailureArea {
192
201
  VALIDATING_DATA = "VALIDATING_DATA",
193
202
  NONE = "NONE"
194
203
  }
204
+ export declare enum EntityType {
205
+ COLOR = "color",
206
+ CUSTOM_ENTITY = "custom-entity"
207
+ }
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.EntityType = 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;
@@ -101,3 +101,8 @@ var LoaderFailureArea;
101
101
  LoaderFailureArea["VALIDATING_DATA"] = "VALIDATING_DATA";
102
102
  LoaderFailureArea["NONE"] = "NONE";
103
103
  })(LoaderFailureArea = exports.LoaderFailureArea || (exports.LoaderFailureArea = {}));
104
+ var EntityType;
105
+ (function (EntityType) {
106
+ EntityType["COLOR"] = "color";
107
+ EntityType["CUSTOM_ENTITY"] = "custom-entity";
108
+ })(EntityType = exports.EntityType || (exports.EntityType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/entity-types",
3
- "version": "1.1.57-2",
3
+ "version": "1.1.57",
4
4
  "description": "A types library for Vibeiq entities.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",