@epilot/entity-client 4.29.0 → 4.29.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,4 +1,3 @@
1
- import { Components } from './openapi';
2
1
  export declare enum RelationAffinityMode {
3
2
  /**
4
3
  * For strong affinity mode on a relation attribute, deleting or creating the parent or the relation linkage will trigger a CASCADE delete or create to the relation entity itself.
@@ -7,5 +6,3 @@ export declare enum RelationAffinityMode {
7
6
  WEAK = "weak",
8
7
  STRONG = "strong"
9
8
  }
10
- export type Attribute = Components.Schemas.Attribute;
11
- export type AttributeType = Attribute['type'];
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/entity-client",
3
- "version": "4.29.0",
3
+ "version": "4.29.1",
4
4
  "description": "JavaScript client library for the epilot Core Entity API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -26,7 +26,8 @@
26
26
  "bundle-definition": "webpack",
27
27
  "openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/entity.yaml",
28
28
  "typegen": "openapi typegen src/openapi.json --client -b '/* eslint-disable */' > src/openapi.d.ts",
29
- "build": "tsc && npm run bundle-definition",
29
+ "build": "tsc && npm run build:patch && npm run bundle-definition",
30
+ "build:patch": "sed -i '/^__exportStar.*openapi.*$/d' dist/index.js",
30
31
  "build:watch": "npm run build && tsc -w",
31
32
  "release-alpha": "npm version prerelease --preid alpha",
32
33
  "lint": "../../node_modules/eslint/bin/eslint.js src"
@@ -70,5 +71,5 @@
70
71
  "webpack": "^5.18.0",
71
72
  "webpack-cli": "^4.4.0"
72
73
  },
73
- "gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
74
+ "gitHead": "cb7e6acc938eb178e531c19834ea8bd0d6445e6f"
74
75
  }
package/tsconfig.json CHANGED
@@ -16,7 +16,8 @@
16
16
  "rootDir": "src",
17
17
  "outDir": "dist",
18
18
  "sourceMap": true,
19
- "declaration": true
19
+ "declaration": true,
20
+ "skipLibCheck": true
20
21
  },
21
22
  "include": ["src/**/*"],
22
23
  "exclude": ["**/*.test.ts"]