Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6d2f42c

Browse files
author
FalkWolsky
committed
Updating n8n DataSource
1 parent102a1a4 commit6d2f42c

File tree

5 files changed

+14455
-8828
lines changed

5 files changed

+14455
-8828
lines changed

‎client/packages/lowcoder/src/util/context/SimpleSubscriptionContext.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export const SimpleSubscriptionContextProvider = (props: {
9696
};
9797

9898
if(!productsLoaded&&!subscriptionProductsLoading&&!user.isAnonymous){
99-
console.log("Outer context: Fetching products...");
99+
//console.log("Outer context: Fetching products...");
100100
setSubscriptionProductsLoading(true);
101101
fetchProducts();
102102
}

‎server/node-service/src/plugins/n8n/index.ts‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
import{badRequest}from"common/error";
2+
importpathfrom"path";
23
import{OpenAPIV3,OpenAPI}from"openapi-types";
34
import{ConfigToType,DataSourcePlugin}from"lowcoder-sdk/dataSource";
45
import{runOpenApi}from"../openApi";
56
import{defaultParseOpenApiOptions,parseOpenApi,ParseOpenApiOptions}from"../openApi/parse";
6-
importspecfrom"./spec.json";
7-
import{specsToOptions,version2spec}from"../../common/util";
7+
import{readYaml,specsToOptions,version2spec}from"../../common/util";
8+
9+
constspec_1_1_0=readYaml(path.join(__dirname,"./openapi_1_1_0.yml"));
10+
constspec_1_1_1=readYaml(path.join(__dirname,"./openapi_1_1_1.yml"));
11+
812
constspecs={
9-
"v1.0":spec,
13+
"v1.1.0":spec_1_1_0,
14+
"v1.1.1":spec_1_1_1
1015
}
1116

1217
exportfunctionprepareServerUrl(url:string){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp