@contrail/entity-types 1.1.55-8 → 1.1.55

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.
@@ -1,9 +1,11 @@
1
1
  ## What
2
+
2
3
  - [ ] Bugfix
3
4
  - [ ] Feature
4
5
  - [ ] Enhancement
5
6
 
6
- Description:
7
+ Description:
8
+
7
9
  <!--
8
10
  Describe the functional changes of the PR.
9
11
 
@@ -15,16 +17,15 @@ is sufficient.
15
17
  -->
16
18
 
17
19
  ## Why
18
- <!--
20
+
21
+ <!--
19
22
  why is this change needed? Same rules as with #What
20
23
  -->
21
24
 
22
-
23
25
  ## Testing added
24
- <!--
26
+
27
+ <!--
25
28
  Describe the testing you added to this PR
26
29
  -->
27
30
 
28
-
29
31
  ## Link to Jira ticket(s)
30
-
@@ -1,6 +1,5 @@
1
1
  name: empty-passing-test
2
- on:
3
- pull_request
2
+ on: pull_request
4
3
  jobs:
5
4
  test:
6
5
  runs-on: ubuntu-20.04
@@ -4,7 +4,7 @@ on:
4
4
  branches:
5
5
  - master
6
6
  paths:
7
- - "**"
7
+ - '**'
8
8
  workflow_dispatch: # allow running in github actions manually
9
9
  jobs:
10
10
  deploy-docs:
@@ -0,0 +1,2 @@
1
+ singleQuote: true
2
+ printWidth: 120
package/README.md CHANGED
@@ -3,10 +3,11 @@
3
3
  This module includes type definitions for VibeIQ's core types.
4
4
 
5
5
  ### Usage
6
+
6
7
  ```js
7
8
  import Item from '@contrail/entity-types';
8
9
 
9
10
  interface MyItem extends Item {
10
11
  myCustomProp: string;
11
12
  }
12
- ```
13
+ ```
@@ -1,5 +1,5 @@
1
- import { OrgManagedEntity } from "./org-managed-entity";
2
- import { AppOrg } from "./app-org";
1
+ import { OrgManagedEntity } from './org-managed-entity';
2
+ import { AppOrg } from './app-org';
3
3
  export interface AppApiKey extends OrgManagedEntity {
4
4
  id: string;
5
5
  createdOn?: Date;
@@ -1,6 +1,6 @@
1
- import { App } from "./app";
2
- import { AppVersion } from "./app-version";
3
- import { BaseManagedEntity } from "./base-managed-entity";
1
+ import { App } from './app';
2
+ import { AppVersion } from './app-version';
3
+ import { BaseManagedEntity } from './base-managed-entity';
4
4
  export declare enum AppExtensionType {
5
5
  DOCUMENT_AUTOMATION = "DOCUMENT_AUTOMATION",
6
6
  CONTEXTUAL_ACTION = "CONTEXTUAL_ACTION",
@@ -1,7 +1,7 @@
1
- import { App } from "./app";
2
- import { AppExtensionType, AppExtensionUserApps } from "./app-extension-definition";
3
- import { AppVersion } from "./app-version";
4
- import { OrgManagedEntity } from "./org-managed-entity";
1
+ import { App } from './app';
2
+ import { AppExtensionType, AppExtensionUserApps } from './app-extension-definition';
3
+ import { AppVersion } from './app-version';
4
+ import { OrgManagedEntity } from './org-managed-entity';
5
5
  export interface AppExtension extends OrgManagedEntity {
6
6
  id?: string;
7
7
  createdOn?: Date;
package/lib/app-org.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { OrgManagedEntity } from "./org-managed-entity";
2
- import { App } from "./app";
3
- import { AppVersion } from "./app-version";
1
+ import { OrgManagedEntity } from './org-managed-entity';
2
+ import { App } from './app';
3
+ import { AppVersion } from './app-version';
4
4
  import { AppApiKey } from './app-api-key';
5
5
  export declare enum AppOrgStatus {
6
6
  INSTALLING = "INSTALLING",
@@ -1,8 +1,8 @@
1
- import { BaseManagedEntity } from "./base-managed-entity";
2
- import { App } from "./app";
3
- import { AppCodePackage } from "./app-code-package";
4
- import { PropertyType } from "./property-type";
5
- import { AppOrg } from "./app-org";
1
+ import { BaseManagedEntity } from './base-managed-entity';
2
+ import { App } from './app';
3
+ import { AppCodePackage } from './app-code-package';
4
+ import { PropertyType } from './property-type';
5
+ import { AppOrg } from './app-org';
6
6
  export declare enum AppVersionStatus {
7
7
  PUBLISHING = "PUBLISHING",
8
8
  FAILED_PUBLISHING = "FAILED_PUBLISHING",
package/lib/asset.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { TypeManagedEntity } from "./type-managed-entity";
1
+ import { TypeManagedEntity } from './type-managed-entity';
2
2
  import { Content } from './content';
3
3
  export interface Asset extends TypeManagedEntity {
4
4
  workspaceId?: string;
package/lib/client.d.ts CHANGED
@@ -46,6 +46,7 @@ export declare abstract class EntitiesClientGetOptions {
46
46
  nextPageKey?: string;
47
47
  apiVersion?: API_VERSION;
48
48
  suffix?: string;
49
+ skipHydrateRelationships?: boolean;
49
50
  }
50
51
  export declare abstract class EntitiesClientCreateOptions {
51
52
  entityName: string;
package/lib/client.js CHANGED
@@ -53,6 +53,7 @@ class EntitiesClientGetOptions {
53
53
  nextPageKey;
54
54
  apiVersion;
55
55
  suffix;
56
+ skipHydrateRelationships;
56
57
  }
57
58
  exports.EntitiesClientGetOptions = EntitiesClientGetOptions;
58
59
  class EntitiesClientCreateOptions {
@@ -1,4 +1,4 @@
1
- import { OrgManagedEntity } from "./org-managed-entity";
1
+ import { OrgManagedEntity } from './org-managed-entity';
2
2
  export interface ContentCustomSize extends OrgManagedEntity {
3
3
  id?: string;
4
4
  createdOn?: Date;
@@ -1,4 +1,4 @@
1
- import { OrgManagedEntity } from "./org-managed-entity";
1
+ import { OrgManagedEntity } from './org-managed-entity';
2
2
  export interface ContentHolderContent extends OrgManagedEntity {
3
3
  contentHolderReference?: string;
4
4
  contentId?: string;
package/lib/index.d.ts CHANGED
@@ -1,27 +1,27 @@
1
- export * from "./app-access-grant";
2
- export * from "./app-api-key";
3
- export * from "./app-code-package";
4
- export * from "./app-org";
5
- export * from "./app-version";
6
- export * from "./app-extension-definition";
7
- export * from "./app-extension";
8
- export * from "./app";
9
- export * from "./asset";
10
- export * from "./base-managed-entity";
11
- export * from "./client";
12
- export * from "./content";
13
- export * from "./contentholder-content";
14
- export * from "./file";
15
- export * from "./item";
16
- export * from "./loader";
17
- export * from "./log-level";
18
- export * from "./org";
19
- export * from "./project-item";
20
- export * from "./project";
21
- export * from "./property-type";
22
- export * from "./org-managed-entity";
23
- export * from "./subscription";
24
- export * from "./shared-links";
25
- export * from "./type-managed-entity";
26
- export * from "./user";
27
- export * from "./workspace-managed-entity";
1
+ export * from './app-access-grant';
2
+ export * from './app-api-key';
3
+ export * from './app-code-package';
4
+ export * from './app-org';
5
+ export * from './app-version';
6
+ export * from './app-extension-definition';
7
+ export * from './app-extension';
8
+ export * from './app';
9
+ export * from './asset';
10
+ export * from './base-managed-entity';
11
+ export * from './client';
12
+ export * from './content';
13
+ export * from './contentholder-content';
14
+ export * from './file';
15
+ export * from './item';
16
+ export * from './loader';
17
+ export * from './log-level';
18
+ export * from './org';
19
+ export * from './project-item';
20
+ export * from './project';
21
+ export * from './property-type';
22
+ export * from './org-managed-entity';
23
+ export * from './subscription';
24
+ export * from './shared-links';
25
+ export * from './type-managed-entity';
26
+ export * from './user';
27
+ export * from './workspace-managed-entity';
package/lib/loader.d.ts CHANGED
@@ -50,9 +50,6 @@ export interface LoadResult {
50
50
  projectItemsLoadResult?: ProjectItemsLoadResult;
51
51
  assortmentItemsLoadResult?: AssortmentItemsLoadResult;
52
52
  transformErrors: any[];
53
- transformWarnings?: any[];
54
- globalIssues?: GeneralIssueDetails[];
55
- failureArea?: LoaderFailureArea;
56
53
  }
57
54
  export interface RowLoadError {
58
55
  data: any;
@@ -72,27 +69,7 @@ export interface LoaderNumbersSummary {
72
69
  numberColorsFailed: number;
73
70
  numberImagesFailed: number;
74
71
  }
75
- export interface ProcessingIssues {
76
- rowNumber: number;
77
- columnIssues: ColumnIssueDetails[];
78
- }
79
- export interface ColumnIssueDetails {
80
- columnName: string;
81
- message: string;
82
- issueType: IssueType;
83
- data: string;
84
- }
85
- export interface GeneralIssueDetails {
86
- message: string;
87
- issueType: IssueType;
88
- issueKey?: string;
89
- }
90
- export interface GeneralLoadResult {
91
- errors?: ProcessingIssues[];
92
- warnings?: ProcessingIssues[];
93
- globalIssues?: GeneralIssueDetails[];
94
- }
95
- export interface ColorLoadResult extends GeneralLoadResult {
72
+ export interface ColorLoadResult {
96
73
  colorsCreated: any[];
97
74
  colorsUpdated: any[];
98
75
  colorsUnchanged: any[];
@@ -100,7 +77,7 @@ export interface ColorLoadResult extends GeneralLoadResult {
100
77
  colorsFailedUpdate: RowLoadError[];
101
78
  failed: boolean;
102
79
  }
103
- export interface ItemsLoadResult extends GeneralLoadResult {
80
+ export interface ItemsLoadResult {
104
81
  itemsCreated: any[];
105
82
  itemsUpdated: any[];
106
83
  itemsUnchanged: any[];
@@ -108,7 +85,7 @@ export interface ItemsLoadResult extends GeneralLoadResult {
108
85
  itemsFailedUpdate: RowLoadError[];
109
86
  failed: boolean;
110
87
  }
111
- export interface ProjectItemsLoadResult extends GeneralLoadResult {
88
+ export interface ProjectItemsLoadResult {
112
89
  projectItemsCreated: any[];
113
90
  projectItemsUpdated: any[];
114
91
  projectItemsUnchanged: any[];
@@ -116,7 +93,7 @@ export interface ProjectItemsLoadResult extends GeneralLoadResult {
116
93
  projectItemsFailedUpdate: RowLoadError[];
117
94
  failed: boolean;
118
95
  }
119
- export interface AssortmentItemsLoadResult extends GeneralLoadResult {
96
+ export interface AssortmentItemsLoadResult {
120
97
  assortmentItemsCreated: any[];
121
98
  assortmentItemsUpdated: any[];
122
99
  assortmentItemsUnchanged: any[];
@@ -171,17 +148,3 @@ export declare class LoaderProcess implements OrgManagedEntity {
171
148
  parallelWorkerCount?: number;
172
149
  messageGroupId?: string;
173
150
  }
174
- export declare enum IssueType {
175
- INVALID_DATA = "INVALID_DATA",
176
- MISSING_DATA = "MISSING_DATA",
177
- DUPLICATE_FEDERATED_ID = "DUPLICATE_FEDERATED_ID",
178
- SYSTEM_ERROR = "SYSTEM_ERROR",
179
- HEADER_MISMATCH = "HEADER_MISMATCH",
180
- VALIDATION_ERROR = "VALIDATION_ERROR"
181
- }
182
- export declare enum LoaderFailureArea {
183
- PARSING_CSV = "PARSING_CSV",
184
- TRANSFORMING_DATA = "TRANSFORMING_DATA",
185
- UPLOADING_DATA = "UPLOADING_DATA",
186
- NONE = "NONE"
187
- }
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.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;
@@ -83,19 +83,3 @@ class LoaderProcess {
83
83
  messageGroupId;
84
84
  }
85
85
  exports.LoaderProcess = LoaderProcess;
86
- var IssueType;
87
- (function (IssueType) {
88
- IssueType["INVALID_DATA"] = "INVALID_DATA";
89
- IssueType["MISSING_DATA"] = "MISSING_DATA";
90
- IssueType["DUPLICATE_FEDERATED_ID"] = "DUPLICATE_FEDERATED_ID";
91
- IssueType["SYSTEM_ERROR"] = "SYSTEM_ERROR";
92
- IssueType["HEADER_MISMATCH"] = "HEADER_MISMATCH";
93
- IssueType["VALIDATION_ERROR"] = "VALIDATION_ERROR";
94
- })(IssueType = exports.IssueType || (exports.IssueType = {}));
95
- var LoaderFailureArea;
96
- (function (LoaderFailureArea) {
97
- LoaderFailureArea["PARSING_CSV"] = "PARSING_CSV";
98
- LoaderFailureArea["TRANSFORMING_DATA"] = "TRANSFORMING_DATA";
99
- LoaderFailureArea["UPLOADING_DATA"] = "UPLOADING_DATA";
100
- LoaderFailureArea["NONE"] = "NONE";
101
- })(LoaderFailureArea = exports.LoaderFailureArea || (exports.LoaderFailureArea = {}));
@@ -1,4 +1,4 @@
1
- import { BaseManagedEntity } from "./base-managed-entity";
1
+ import { BaseManagedEntity } from './base-managed-entity';
2
2
  export interface OrgManagedEntity extends BaseManagedEntity {
3
3
  orgId?: string;
4
4
  orgSlug?: string;
package/lib/org.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { BaseManagedEntity } from "./base-managed-entity";
1
+ import { BaseManagedEntity } from './base-managed-entity';
2
2
  export interface Org extends BaseManagedEntity {
3
3
  id?: string;
4
4
  name: string;
@@ -1,4 +1,4 @@
1
- import { OrgManagedEntity } from "./org-managed-entity";
1
+ import { OrgManagedEntity } from './org-managed-entity';
2
2
  export interface ProjectConfiguration extends OrgManagedEntity {
3
3
  projectName: string;
4
4
  identifier: string;
package/lib/project.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { OrgManagedEntity } from "./org-managed-entity";
1
+ import { OrgManagedEntity } from './org-managed-entity';
2
2
  export interface Project extends OrgManagedEntity {
3
3
  name: string;
4
4
  }
@@ -1,5 +1,5 @@
1
- import { OrgManagedEntity } from "./org-managed-entity";
2
- import { Group, User } from "./user";
1
+ import { OrgManagedEntity } from './org-managed-entity';
2
+ import { Group, User } from './user';
3
3
  export declare enum SharedLinkAccessLevel {
4
4
  RESTRICTED = "RESTRICTED",
5
5
  VIEW = "VIEW",
@@ -1,5 +1,5 @@
1
- import { OrgManagedEntity } from "./org-managed-entity";
2
- import { Group, User } from "./user";
1
+ import { OrgManagedEntity } from './org-managed-entity';
2
+ import { Group, User } from './user';
3
3
  export declare enum SubscriptionType {
4
4
  COMMENT_ON_OWNED = "COMMENT_ON_OWNED",
5
5
  COMMENT = "COMMENT",
@@ -1,4 +1,4 @@
1
- import { OrgManagedEntity } from "./org-managed-entity";
1
+ import { OrgManagedEntity } from './org-managed-entity';
2
2
  export interface TypeManagedEntity extends OrgManagedEntity {
3
3
  typeId?: string;
4
4
  atts?: {
package/lib/user.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { BaseManagedEntity } from "./base-managed-entity";
2
- import { Org } from "./org";
3
- import { OrgManagedEntity } from "./org-managed-entity";
1
+ import { BaseManagedEntity } from './base-managed-entity';
2
+ import { Org } from './org';
3
+ import { OrgManagedEntity } from './org-managed-entity';
4
4
  export declare enum UserOrgRole {
5
5
  admin = "ADMIN",
6
6
  member = "MEMBER",
@@ -1,4 +1,4 @@
1
- import { TypeManagedEntity } from "./type-managed-entity";
1
+ import { TypeManagedEntity } from './type-managed-entity';
2
2
  export interface WorkspaceManagedEntity extends TypeManagedEntity {
3
3
  workspaceId?: string;
4
4
  isTrashed?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/entity-types",
3
- "version": "1.1.55-8",
3
+ "version": "1.1.55",
4
4
  "description": "A types library for Vibeiq entities.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",