@epilot/entity-client 6.4.1 → 6.5.0
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.
- package/dist/client.d.ts +3 -0
- package/dist/client.js +37 -0
- package/dist/definition.d.ts +3 -0
- package/dist/definition.js +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +19 -0
- package/dist/openapi-runtime.json +1554 -0
- package/dist/openapi.d.ts +14616 -0
- package/dist/openapi.json +9561 -0
- package/dist/schema-model.d.ts +8 -0
- package/dist/schema-model.js +13 -0
- package/package.json +2 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare enum RelationAffinityMode {
|
|
2
|
+
/**
|
|
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.
|
|
4
|
+
* For weak affinity mode on a relation attribute, deleting or creating the parent or the relation linkage will NOT trigger a CASCADE delete or create to the relation entity itself.
|
|
5
|
+
*/
|
|
6
|
+
WEAK = "weak",
|
|
7
|
+
STRONG = "strong"
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RelationAffinityMode = void 0;
|
|
4
|
+
var RelationAffinityMode;
|
|
5
|
+
(function (RelationAffinityMode) {
|
|
6
|
+
/**
|
|
7
|
+
* 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.
|
|
8
|
+
* For weak affinity mode on a relation attribute, deleting or creating the parent or the relation linkage will NOT trigger a CASCADE delete or create to the relation entity itself.
|
|
9
|
+
*/
|
|
10
|
+
RelationAffinityMode["WEAK"] = "weak";
|
|
11
|
+
RelationAffinityMode["STRONG"] = "strong";
|
|
12
|
+
})(RelationAffinityMode = exports.RelationAffinityMode || (exports.RelationAffinityMode = {}));
|
|
13
|
+
//# sourceMappingURL=schema-model.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/entity-client",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.5.0",
|
|
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",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"test": "jest",
|
|
26
26
|
"typescript": "tsc",
|
|
27
27
|
"bundle-definition": "webpack",
|
|
28
|
+
"prepublishOnly": "npm run typegen && npm run build",
|
|
28
29
|
"openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/entity.yaml",
|
|
29
30
|
"typegen": "openapi typegen src/openapi.json --client -b '/* eslint-disable */' > src/openapi.d.ts",
|
|
30
31
|
"build": "tsc && npm run build:patch && npm run bundle-definition",
|