@contrail/entity-types 1.1.10 → 1.1.12

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,4 +1,4 @@
1
- import { OrgManagedEntity } from "@contrail/core-types";
1
+ import { OrgManagedEntity } from "./org-managed-entity";
2
2
  import { AppOrg } from "./app-org";
3
3
  export interface AppApiKey extends OrgManagedEntity {
4
4
  id: string;
@@ -1,5 +1,5 @@
1
1
  import { App } from './app';
2
- import { BaseManagedEntity } from '@contrail/core-types';
2
+ import { BaseManagedEntity } from './base-managed-entity';
3
3
  export interface AppCodePackage extends BaseManagedEntity {
4
4
  id: string;
5
5
  createdOn?: Date;
package/lib/app-org.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { OrgManagedEntity } from "@contrail/core-types";
1
+ import { OrgManagedEntity } from "./org-managed-entity";
2
2
  import { App } from "./app";
3
3
  import { AppVersion } from "./app-version";
4
4
  import { AppApiKey } from './app-api-key';
@@ -1,4 +1,4 @@
1
- import { BaseManagedEntity } from "@contrail/core-types";
1
+ import { BaseManagedEntity } from "./base-managed-entity";
2
2
  import { App } from "./app";
3
3
  import { AppCodePackage } from "./app-code-package";
4
4
  import { PropertyType } from "./property-type";
package/lib/app.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { BaseManagedEntity } from "@contrail/core-types";
1
+ import { BaseManagedEntity } from "./base-managed-entity";
2
2
  import { AppCodePackage } from "./app-code-package";
3
3
  import { AppOrg } from "./app-org";
4
4
  import { AppVersion, ConfigProperty, TriggerKeyDefinition, AppRuntime } from "./app-version";
package/lib/asset.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { TypeManagedEntity } from "@contrail/core-types";
1
+ import { TypeManagedEntity } from "./type-managed-entity";
2
2
  import { Content } from './content';
3
3
  export interface Asset extends TypeManagedEntity {
4
4
  workspaceId?: string;
@@ -0,0 +1,10 @@
1
+ export interface BaseManagedEntity {
2
+ id?: string;
3
+ createdOn?: Date;
4
+ updatedOn?: Date;
5
+ persistent?: boolean;
6
+ createdById?: string;
7
+ updatedById?: string;
8
+ isArchived?: boolean;
9
+ specifiedId?: string;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- import { OrgManagedEntity } from '@contrail/core-types';
1
+ import { OrgManagedEntity } from "./org-managed-entity";
2
2
  export interface ContentCustomSize extends OrgManagedEntity {
3
3
  id?: string;
4
4
  createdOn?: Date;
package/lib/content.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { BaseManagedEntity } from '@contrail/core-types';
1
+ import { BaseManagedEntity } from './base-managed-entity';
2
2
  import { ContentHolderContent } from './contentholder-content';
3
3
  export interface Content extends BaseManagedEntity {
4
4
  assetId?: string;
@@ -1,4 +1,4 @@
1
- import { OrgManagedEntity } from "@contrail/core-types";
1
+ import { OrgManagedEntity } from "./org-managed-entity";
2
2
  export interface ContentHolderContent extends OrgManagedEntity {
3
3
  contentHolderReference?: string;
4
4
  contentId?: string;
package/lib/file.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { OrgManagedEntity } from '@contrail/core-types';
1
+ import { OrgManagedEntity } from './org-managed-entity';
2
2
  export interface File extends OrgManagedEntity {
3
3
  ownedByReference?: string;
4
4
  fileKey: string;
package/lib/index.d.ts CHANGED
@@ -11,3 +11,6 @@ export * from './item';
11
11
  export * from './project-item';
12
12
  export * from './project';
13
13
  export * from './property-type';
14
+ export * from './org-managed-entity';
15
+ export * from './base-managed-entity';
16
+ export * from './type-managed-entity';
package/lib/index.js CHANGED
@@ -27,3 +27,6 @@ __exportStar(require("./item"), exports);
27
27
  __exportStar(require("./project-item"), exports);
28
28
  __exportStar(require("./project"), exports);
29
29
  __exportStar(require("./property-type"), exports);
30
+ __exportStar(require("./org-managed-entity"), exports);
31
+ __exportStar(require("./base-managed-entity"), exports);
32
+ __exportStar(require("./type-managed-entity"), exports);
package/lib/item.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { TypeManagedEntity } from '@contrail/core-types';
1
+ import { TypeManagedEntity } from './type-managed-entity';
2
2
  export interface Item extends TypeManagedEntity {
3
3
  itemFamilyId?: string;
4
4
  itemFamily?: Item;
@@ -0,0 +1,5 @@
1
+ import { BaseManagedEntity } from "./base-managed-entity";
2
+ export interface OrgManagedEntity extends BaseManagedEntity {
3
+ orgId?: string;
4
+ orgSlug?: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- import { TypeManagedEntity } from '@contrail/core-types';
1
+ import { TypeManagedEntity } from './type-managed-entity';
2
2
  import { Project } from './project';
3
3
  export interface ProjectItem extends TypeManagedEntity {
4
4
  projectId?: string;
package/lib/project.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { OrgManagedEntity } from "@contrail/core-types";
1
+ import { OrgManagedEntity } from "./org-managed-entity";
2
2
  export interface Project extends OrgManagedEntity {
3
3
  name: string;
4
4
  }
@@ -0,0 +1,8 @@
1
+ import { OrgManagedEntity } from "./org-managed-entity";
2
+ export interface TypeManagedEntity extends OrgManagedEntity {
3
+ typeId?: string;
4
+ atts?: {
5
+ [key: string]: any;
6
+ };
7
+ typePath?: string;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/entity-types",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
4
4
  "description": "A types library for Vibeiq entities.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -16,9 +16,6 @@
16
16
  ],
17
17
  "author": "",
18
18
  "license": "ISC",
19
- "dependencies": {
20
- "@contrail/core-types": "^1.0.6"
21
- },
22
19
  "devDependencies": {
23
20
  "@types/node": "^18.15.11",
24
21
  "jest": "^23.6.0",