@contrail/entity-types 1.1.55-9 → 1.1.56-1

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
@@ -0,0 +1,3 @@
1
+ {
2
+ "prettier.singleQuote": true
3
+ }
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
@@ -51,7 +51,9 @@ export interface LoadResult {
51
51
  assortmentItemsLoadResult?: AssortmentItemsLoadResult;
52
52
  transformErrors: any[];
53
53
  transformWarnings?: any[];
54
- globalIssues?: GeneralIssueDetails[];
54
+ generalErrors?: GeneralIssueDetails[];
55
+ generalWarnings?: GeneralIssueDetails[];
56
+ systemErrors?: GeneralIssueDetails[];
55
57
  failureArea?: LoaderFailureArea;
56
58
  }
57
59
  export interface RowLoadError {
@@ -85,14 +87,8 @@ export interface ColumnIssueDetails {
85
87
  export interface GeneralIssueDetails {
86
88
  message: string;
87
89
  issueType: IssueType;
88
- issueKey?: string;
89
90
  }
90
- export interface GeneralLoadResult {
91
- errors?: ProcessingIssues[];
92
- warnings?: ProcessingIssues[];
93
- globalIssues?: GeneralIssueDetails[];
94
- }
95
- export interface ColorLoadResult extends GeneralLoadResult {
91
+ export interface ColorLoadResult {
96
92
  colorsCreated: any[];
97
93
  colorsUpdated: any[];
98
94
  colorsUnchanged: any[];
@@ -100,7 +96,7 @@ export interface ColorLoadResult extends GeneralLoadResult {
100
96
  colorsFailedUpdate: RowLoadError[];
101
97
  failed: boolean;
102
98
  }
103
- export interface ItemsLoadResult extends GeneralLoadResult {
99
+ export interface ItemsLoadResult {
104
100
  itemsCreated: any[];
105
101
  itemsUpdated: any[];
106
102
  itemsUnchanged: any[];
@@ -108,7 +104,7 @@ export interface ItemsLoadResult extends GeneralLoadResult {
108
104
  itemsFailedUpdate: RowLoadError[];
109
105
  failed: boolean;
110
106
  }
111
- export interface ProjectItemsLoadResult extends GeneralLoadResult {
107
+ export interface ProjectItemsLoadResult {
112
108
  projectItemsCreated: any[];
113
109
  projectItemsUpdated: any[];
114
110
  projectItemsUnchanged: any[];
@@ -116,7 +112,7 @@ export interface ProjectItemsLoadResult extends GeneralLoadResult {
116
112
  projectItemsFailedUpdate: RowLoadError[];
117
113
  failed: boolean;
118
114
  }
119
- export interface AssortmentItemsLoadResult extends GeneralLoadResult {
115
+ export interface AssortmentItemsLoadResult {
120
116
  assortmentItemsCreated: any[];
121
117
  assortmentItemsUpdated: any[];
122
118
  assortmentItemsUnchanged: any[];
@@ -184,5 +180,6 @@ export declare enum LoaderFailureArea {
184
180
  PARSING_CSV = "PARSING_CSV",
185
181
  TRANSFORMING_DATA = "TRANSFORMING_DATA",
186
182
  UPLOADING_DATA = "UPLOADING_DATA",
183
+ VALIDATING_DATA = "VALIDATING_DATA",
187
184
  NONE = "NONE"
188
185
  }
package/lib/loader.js CHANGED
@@ -98,5 +98,6 @@ var LoaderFailureArea;
98
98
  LoaderFailureArea["PARSING_CSV"] = "PARSING_CSV";
99
99
  LoaderFailureArea["TRANSFORMING_DATA"] = "TRANSFORMING_DATA";
100
100
  LoaderFailureArea["UPLOADING_DATA"] = "UPLOADING_DATA";
101
+ LoaderFailureArea["VALIDATING_DATA"] = "VALIDATING_DATA";
101
102
  LoaderFailureArea["NONE"] = "NONE";
102
103
  })(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-9",
3
+ "version": "1.1.56-1",
4
4
  "description": "A types library for Vibeiq entities.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",