@joystick.js/node-canary 0.0.0-canary.307 → 0.0.0-canary.309
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.
- package/dist/app/index.js +6 -2
- package/dist/index.js +4 -0
- package/package.json +1 -1
package/dist/app/index.js
CHANGED
|
@@ -137,12 +137,16 @@ class App {
|
|
|
137
137
|
...process.databases || {},
|
|
138
138
|
postgresql: !hasMultipleOfProvider ? {
|
|
139
139
|
...postgresql?.pool,
|
|
140
|
-
query: postgresql?.query
|
|
140
|
+
query: postgresql?.query,
|
|
141
|
+
insert: postgresql?.insert,
|
|
142
|
+
update: postgresql?.update
|
|
141
143
|
} : {
|
|
142
144
|
...process?.databases?.postgresql || {},
|
|
143
145
|
[database?.settings?.name || `postgresql_${databasePort}`]: {
|
|
144
146
|
...postgresql?.pool,
|
|
145
|
-
query: postgresql?.query
|
|
147
|
+
query: postgresql?.query,
|
|
148
|
+
insert: postgresql?.insert,
|
|
149
|
+
update: postgresql?.update
|
|
146
150
|
}
|
|
147
151
|
}
|
|
148
152
|
};
|
package/dist/index.js
CHANGED
|
@@ -10,6 +10,7 @@ import _websockets from "./websockets";
|
|
|
10
10
|
import api from "./api/index.js";
|
|
11
11
|
import app from "./app/index.js";
|
|
12
12
|
import generateId from "./lib/generateId.js";
|
|
13
|
+
import _generate_sql_from_object from "./app/databases/generate_sql_from_object";
|
|
13
14
|
import getOrigin from "./api/getOrigin";
|
|
14
15
|
import loadSettings from "./settings/load";
|
|
15
16
|
import pushLogs from "./push/logs/index.js";
|
|
@@ -19,6 +20,7 @@ const { readFile } = fs.promises;
|
|
|
19
20
|
if (process.env.NODE_ENV !== "development" && process.env.IS_PUSH_DEPLOYED) {
|
|
20
21
|
pushLogs();
|
|
21
22
|
}
|
|
23
|
+
const generate_sql_from_object = _generate_sql_from_object;
|
|
22
24
|
const accounts = _accounts;
|
|
23
25
|
const action = _action;
|
|
24
26
|
const fixture = _fixture;
|
|
@@ -62,6 +64,7 @@ var src_default = {
|
|
|
62
64
|
app,
|
|
63
65
|
email,
|
|
64
66
|
fixture,
|
|
67
|
+
generate_sql_from_object,
|
|
65
68
|
get,
|
|
66
69
|
id,
|
|
67
70
|
origin,
|
|
@@ -80,6 +83,7 @@ export {
|
|
|
80
83
|
src_default as default,
|
|
81
84
|
email,
|
|
82
85
|
fixture,
|
|
86
|
+
generate_sql_from_object,
|
|
83
87
|
get,
|
|
84
88
|
id,
|
|
85
89
|
origin,
|