@contrail/entity-types
Advanced tools
Comparing version 1.1.54 to 1.1.55-0
@@ -72,3 +72,22 @@ import { LogLevel } from './log-level'; | ||
} | ||
export interface ColorLoadResult { | ||
export interface ProcessingIssues { | ||
rowNumber: number; | ||
columnIssues: ColumnIssueDetails[]; | ||
} | ||
export interface ColumnIssueDetails { | ||
columnName: string; | ||
message: string; | ||
issueType: IssueType; | ||
} | ||
export interface GeneralIssueDetails { | ||
message: string; | ||
issueType: IssueType; | ||
issueKey?: string; | ||
} | ||
export interface GeneralLoadResult { | ||
errors?: ProcessingIssues[]; | ||
warnings?: ProcessingIssues[]; | ||
globalIssues?: GeneralIssueDetails[]; | ||
} | ||
export interface ColorLoadResult extends GeneralLoadResult { | ||
colorsCreated: any[]; | ||
@@ -81,3 +100,3 @@ colorsUpdated: any[]; | ||
} | ||
export interface ItemsLoadResult { | ||
export interface ItemsLoadResult extends GeneralLoadResult { | ||
itemsCreated: any[]; | ||
@@ -90,3 +109,3 @@ itemsUpdated: any[]; | ||
} | ||
export interface ProjectItemsLoadResult { | ||
export interface ProjectItemsLoadResult extends GeneralLoadResult { | ||
projectItemsCreated: any[]; | ||
@@ -99,3 +118,3 @@ projectItemsUpdated: any[]; | ||
} | ||
export interface AssortmentItemsLoadResult { | ||
export interface AssortmentItemsLoadResult extends GeneralLoadResult { | ||
assortmentItemsCreated: any[]; | ||
@@ -110,3 +129,3 @@ assortmentItemsUpdated: any[]; | ||
} | ||
export interface PreprocessingStepStoredResultSummary { | ||
export interface PreprocessingStepStoredResultSummary extends GeneralLoadResult { | ||
preprocessingStepName: string; | ||
@@ -156,1 +175,9 @@ fileId: string; | ||
} | ||
export declare enum IssueType { | ||
INVALID_DATA = "INVALID_DATA", | ||
MISSING_DATA = "MISSING_DATA", | ||
DUPLICATE_FEDERATED_ID = "DUPLICATE_FEDERATED_ID", | ||
SYSTEM_ERROR = "SYSTEM_ERROR", | ||
HEADER_MISMATCH = "HEADER_MISMATCH", | ||
VALIDATION_ERROR = "VALIDATION_ERROR" | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.LoaderProcess = exports.LoadType = exports.LoadStatus = exports.ValueToAssortment = exports.AssortmentSplit = exports.ConditionalValues = exports.ColumnDefinition = void 0; | ||
exports.IssueType = exports.LoaderProcess = exports.LoadType = exports.LoadStatus = exports.ValueToAssortment = exports.AssortmentSplit = exports.ConditionalValues = exports.ColumnDefinition = void 0; | ||
class ColumnDefinition { | ||
@@ -86,1 +86,10 @@ fromProperty; | ||
exports.LoaderProcess = LoaderProcess; | ||
var IssueType; | ||
(function (IssueType) { | ||
IssueType["INVALID_DATA"] = "INVALID_DATA"; | ||
IssueType["MISSING_DATA"] = "MISSING_DATA"; | ||
IssueType["DUPLICATE_FEDERATED_ID"] = "DUPLICATE_FEDERATED_ID"; | ||
IssueType["SYSTEM_ERROR"] = "SYSTEM_ERROR"; | ||
IssueType["HEADER_MISMATCH"] = "HEADER_MISMATCH"; | ||
IssueType["VALIDATION_ERROR"] = "VALIDATION_ERROR"; | ||
})(IssueType = exports.IssueType || (exports.IssueType = {})); |
{ | ||
"name": "@contrail/entity-types", | ||
"version": "1.1.54", | ||
"version": "1.1.55-0", | ||
"description": "A types library for Vibeiq entities.", | ||
@@ -26,2 +26,2 @@ "main": "lib/index.js", | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44571
1325
2