@ywfe/fe-tools 1.2.1-beta.20 → 1.2.1-beta.21

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.
@@ -4,5 +4,5 @@ interface userInput {
4
4
  }
5
5
  declare function userInputToJson({ input }: {
6
6
  input: userInput;
7
- }): Promise<any>;
7
+ }): Promise<string>;
8
8
  export default userInputToJson;
@@ -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
- switch (_c.label) {
8764
- case 0:
8765
- input.userInput, input.rules;
8766
- return [4 /*yield*/, request({
8767
- input: {
8768
- url: "https://fc-typechat.ywwl.com/userInputToJson",
8769
- method: "GET"
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
  }