@thi.ng/fuzzy 2.1.41 → 2.1.43

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2023-08-22T14:39:27Z
3
+ - **Last updated**: 2023-08-27T11:20:59Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/fuzzy",
3
- "version": "2.1.41",
3
+ "version": "2.1.43",
4
4
  "description": "Fuzzy logic operators & configurable rule inferencing engine",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,16 +34,16 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.9.4",
38
- "@thi.ng/math": "^5.5.5"
37
+ "@thi.ng/api": "^8.9.5",
38
+ "@thi.ng/math": "^5.6.1"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@microsoft/api-extractor": "^7.36.4",
42
- "@thi.ng/testament": "^0.3.22",
42
+ "@thi.ng/testament": "^0.3.23",
43
43
  "rimraf": "^5.0.1",
44
44
  "tools": "^0.0.1",
45
- "typedoc": "^0.24.8",
46
- "typescript": "^5.1.6"
45
+ "typedoc": "^0.25.0",
46
+ "typescript": "^5.2.2"
47
47
  },
48
48
  "keywords": [
49
49
  "agent",
@@ -105,5 +105,5 @@
105
105
  "thi.ng": {
106
106
  "year": 2020
107
107
  },
108
- "gitHead": "74cfe3fb8de5bfcbfc1109e67604541cbd7b77aa\n"
108
+ "gitHead": "5929dd20497668496af13415cdf784a4d6f69aa3\n"
109
109
  }
package/rules.d.ts CHANGED
@@ -34,8 +34,8 @@ import type { LVarKeySet, LVarSet, Rule } from "./api.js";
34
34
  * @param then -
35
35
  * @param weight -
36
36
  */
37
- export declare const rule: <I extends LVarSet<string>, O extends LVarSet<string>>(op: FnN2, $if: Partial<{ [k in keyof I]: keyof I[k]["terms"]; }>, then: Partial<{ [k_1 in keyof O]: keyof O[k_1]["terms"]; }>, weight?: number) => Rule<I, O>;
38
- export declare const and: <I extends LVarSet<string>, O extends LVarSet<string>>($if: Partial<{ [k in keyof I]: keyof I[k]["terms"]; }>, then: Partial<{ [k_1 in keyof O]: keyof O[k_1]["terms"]; }>, weight?: number) => Rule<I, O>;
39
- export declare const strongAnd: <I extends LVarSet<string>, O extends LVarSet<string>>($if: Partial<{ [k in keyof I]: keyof I[k]["terms"]; }>, then: Partial<{ [k_1 in keyof O]: keyof O[k_1]["terms"]; }>, weight?: number) => Rule<I, O>;
40
- export declare const or: <I extends LVarSet<string>, O extends LVarSet<string>>($if: Partial<{ [k in keyof I]: keyof I[k]["terms"]; }>, then: Partial<{ [k_1 in keyof O]: keyof O[k_1]["terms"]; }>, weight?: number) => Rule<I, O>;
37
+ export declare const rule: <I extends LVarSet<string>, O extends LVarSet<string>>(op: FnN2, $if: Partial<keyof I extends infer T extends keyof I ? { [k in T]: keyof I[k]["terms"]; } : never>, then: Partial<keyof O extends infer T_1 extends keyof O ? { [k_1 in T_1]: keyof O[k_1]["terms"]; } : never>, weight?: number) => Rule<I, O>;
38
+ export declare const and: <I extends LVarSet<string>, O extends LVarSet<string>>($if: Partial<keyof I extends infer T extends keyof I ? { [k in T]: keyof I[k]["terms"]; } : never>, then: Partial<keyof O extends infer T_1 extends keyof O ? { [k_1 in T_1]: keyof O[k_1]["terms"]; } : never>, weight?: number) => Rule<I, O>;
39
+ export declare const strongAnd: <I extends LVarSet<string>, O extends LVarSet<string>>($if: Partial<keyof I extends infer T extends keyof I ? { [k in T]: keyof I[k]["terms"]; } : never>, then: Partial<keyof O extends infer T_1 extends keyof O ? { [k_1 in T_1]: keyof O[k_1]["terms"]; } : never>, weight?: number) => Rule<I, O>;
40
+ export declare const or: <I extends LVarSet<string>, O extends LVarSet<string>>($if: Partial<keyof I extends infer T extends keyof I ? { [k in T]: keyof I[k]["terms"]; } : never>, then: Partial<keyof O extends infer T_1 extends keyof O ? { [k_1 in T_1]: keyof O[k_1]["terms"]; } : never>, weight?: number) => Rule<I, O>;
41
41
  //# sourceMappingURL=rules.d.ts.map