@ywfe/fe-tools 1.2.1-beta.20 → 1.2.1-beta.21
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/userInputToJson.d.ts +1 -1
- package/lib/ywfe-tools.cjs +8 -14
- package/lib/ywfe-tools.cjs.map +1 -1
- package/lib/ywfe-tools.esm.js +8 -14
- package/lib/ywfe-tools.esm.js.map +1 -1
- package/package.json +1 -1
- package/userInputToJson.ts +7 -8
package/lib/ywfe-tools.esm.js
CHANGED
@@ -8755,22 +8755,16 @@ function request(_a) {
|
|
8755
8755
|
|
8756
8756
|
function userInputToJson(_a) {
|
8757
8757
|
return __awaiter(this, arguments, void 0, function (_b) {
|
8758
|
-
var res;
|
8759
8758
|
var input = _b.input;
|
8760
8759
|
return __generator(this, function (_c) {
|
8761
|
-
|
8762
|
-
|
8763
|
-
|
8764
|
-
|
8765
|
-
|
8766
|
-
|
8767
|
-
|
8768
|
-
|
8769
|
-
})];
|
8770
|
-
case 1:
|
8771
|
-
res = _c.sent();
|
8772
|
-
return [2 /*return*/, res];
|
8773
|
-
}
|
8760
|
+
input.userInput, input.rules;
|
8761
|
+
//const res = await fetools.request({
|
8762
|
+
//input:{
|
8763
|
+
//url:"https://fc-typechat.ywwl.com/userInputToJson",
|
8764
|
+
//method:"GET"
|
8765
|
+
//}
|
8766
|
+
//})
|
8767
|
+
return [2 /*return*/, "2"];
|
8774
8768
|
});
|
8775
8769
|
});
|
8776
8770
|
}
|