@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.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/config.ts
|
|
2
|
-
var SDK_VERSION = "0.2.
|
|
2
|
+
var SDK_VERSION = "0.2.9";
|
|
3
3
|
function resolveConfig(config) {
|
|
4
4
|
if (!config.baseUrl) {
|
|
5
5
|
throw new Error("ClientConfig.baseUrl is required");
|
|
@@ -13747,7 +13747,7 @@ var FeatureInput = {
|
|
|
13747
13747
|
* @example
|
|
13748
13748
|
* ```typescript
|
|
13749
13749
|
* FeatureInput.constrainedVar("?Salary", guard("gt", 100))
|
|
13750
|
-
* // {name: "?Salary", constraint: {sort_name: "
|
|
13750
|
+
* // {name: "?Salary", constraint: {sort_name: "guard_constraint", features: {op: "gt", right: 100}}}
|
|
13751
13751
|
* ```
|
|
13752
13752
|
*/
|
|
13753
13753
|
constrainedVar(name, constraint) {
|
|
@@ -13887,7 +13887,7 @@ var TermInput = {
|
|
|
13887
13887
|
// src/builders/guard.ts
|
|
13888
13888
|
function guard(op, right) {
|
|
13889
13889
|
return {
|
|
13890
|
-
sort_name: "
|
|
13890
|
+
sort_name: "guard_constraint",
|
|
13891
13891
|
features: { op, right }
|
|
13892
13892
|
};
|
|
13893
13893
|
}
|