@kortexya/reasoninglayer 0.2.7 → 0.2.9
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/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +584 -318
- package/dist/index.d.ts +584 -318
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
// src/config.ts
|
|
4
|
-
var SDK_VERSION = "0.2.
|
|
4
|
+
var SDK_VERSION = "0.2.9";
|
|
5
5
|
function resolveConfig(config) {
|
|
6
6
|
if (!config.baseUrl) {
|
|
7
7
|
throw new Error("ClientConfig.baseUrl is required");
|
|
@@ -13749,7 +13749,7 @@ var FeatureInput = {
|
|
|
13749
13749
|
* @example
|
|
13750
13750
|
* ```typescript
|
|
13751
13751
|
* FeatureInput.constrainedVar("?Salary", guard("gt", 100))
|
|
13752
|
-
* // {name: "?Salary", constraint: {sort_name: "
|
|
13752
|
+
* // {name: "?Salary", constraint: {sort_name: "guard_constraint", features: {op: "gt", right: 100}}}
|
|
13753
13753
|
* ```
|
|
13754
13754
|
*/
|
|
13755
13755
|
constrainedVar(name, constraint) {
|
|
@@ -13889,7 +13889,7 @@ var TermInput = {
|
|
|
13889
13889
|
// src/builders/guard.ts
|
|
13890
13890
|
function guard(op, right) {
|
|
13891
13891
|
return {
|
|
13892
|
-
sort_name: "
|
|
13892
|
+
sort_name: "guard_constraint",
|
|
13893
13893
|
features: { op, right }
|
|
13894
13894
|
};
|
|
13895
13895
|
}
|