Skip to content

Commit 6f3e67c

Browse files
author
FalkWolsky
committed
Adaptions to get v2.4.5 working for Node Service
1 parent b23adc8 commit 6f3e67c

File tree

7 files changed

+3568
-4489
lines changed

7 files changed

+3568
-4489
lines changed

server/node-service/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
"@types/node-fetch": "^2.6.2",
4949
"axios": "^1.2.0",
5050
"base64-arraybuffer": "^1.0.2",
51-
"duckdb-async": "^0.10.0",
5251
"dynamodb-data-types": "^4.0.1",
5352
"express": "^4.18.2",
5453
"express-async-errors": "^3.1.1",

server/node-service/src/plugins/duckdb/dataSourceConfig.ts

Lines changed: 0 additions & 27 deletions
This file was deleted.

server/node-service/src/plugins/duckdb/index.ts

Lines changed: 0 additions & 42 deletions
This file was deleted.

server/node-service/src/plugins/duckdb/queryConfig.ts

Lines changed: 0 additions & 24 deletions
This file was deleted.

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import couchdbPlugin from "./couchdb";
88
import wooCommercePlugin from "./woocommerce";
99
import openAiPlugin from "./openAi";
1010
import athenaPlugin from "./athena";
11-
import duckdbPlugin from "./duckdb";
11+
// we have troubles with the Binaries and need to fix it asap
12+
// import duckdbPlugin from "./duckdb";
1213
import lambdaPlugin from "./lambda";
1314
import googleCloudStorage from "./googleCloudStorage";
1415
import stripePlugin from "./stripe";
@@ -43,7 +44,7 @@ let plugins: (DataSourcePlugin | DataSourcePluginFactory)[] = [
4344
// Databases
4445
dynamoDBPlugin,
4546
couchdbPlugin,
46-
duckdbPlugin,
47+
// duckdbPlugin,
4748
faunaPlugin,
4849
tursoPlugin,
4950

server/node-service/src/plugins/lambda/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const lambdaPlugin: DataSourcePlugin<ActionDataType, DataSourceDataType> = {
5555
const ret = await client.send(
5656
new InvokeCommand({
5757
FunctionName: actionData.functionName,
58-
InvocationType: actionData.invocationType,
58+
InvocationType: actionData.invocationType as InvocationType,
5959
Payload: Uint8Array.from(
6060
JSON.stringify(actionData.payload || {})
6161
.split("")

0 commit comments

Comments
 (0)