@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/userInputToJson.d.ts
CHANGED
package/lib/ywfe-tools.cjs
CHANGED
@@ -8757,22 +8757,16 @@ function request(_a) {
|
|
8757
8757
|
|
8758
8758
|
function userInputToJson(_a) {
|
8759
8759
|
return __awaiter(this, arguments, void 0, function (_b) {
|
8760
|
-
var res;
|
8761
8760
|
var input = _b.input;
|
8762
8761
|
return __generator(this, function (_c) {
|
8763
|
-
|
8764
|
-
|
8765
|
-
|
8766
|
-
|
8767
|
-
|
8768
|
-
|
8769
|
-
|
8770
|
-
|
8771
|
-
})];
|
8772
|
-
case 1:
|
8773
|
-
res = _c.sent();
|
8774
|
-
return [2 /*return*/, res];
|
8775
|
-
}
|
8762
|
+
input.userInput, input.rules;
|
8763
|
+
//const res = await fetools.request({
|
8764
|
+
//input:{
|
8765
|
+
//url:"https://fc-typechat.ywwl.com/userInputToJson",
|
8766
|
+
//method:"GET"
|
8767
|
+
//}
|
8768
|
+
//})
|
8769
|
+
return [2 /*return*/, "2"];
|
8776
8770
|
});
|
8777
8771
|
});
|
8778
8772
|
}
|