@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 +1 -1
- package/package.json +7 -7
- package/rules.d.ts +4 -4
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/fuzzy",
|
|
3
|
-
"version": "2.1.
|
|
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.
|
|
38
|
-
"@thi.ng/math": "^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.
|
|
42
|
+
"@thi.ng/testament": "^0.3.23",
|
|
43
43
|
"rimraf": "^5.0.1",
|
|
44
44
|
"tools": "^0.0.1",
|
|
45
|
-
"typedoc": "^0.
|
|
46
|
-
"typescript": "^5.
|
|
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": "
|
|
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
|
|
38
|
-
export declare const and: <I extends LVarSet<string>, O extends LVarSet<string>>($if: Partial<{ [k in
|
|
39
|
-
export declare const strongAnd: <I extends LVarSet<string>, O extends LVarSet<string>>($if: Partial<{ [k in
|
|
40
|
-
export declare const or: <I extends LVarSet<string>, O extends LVarSet<string>>($if: Partial<{ [k in
|
|
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
|