dbgate-api 5.5.7-alpha.51 → 5.5.7-alpha.53

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dbgate-api",
3
3
  "main": "src/index.js",
4
- "version": "5.5.7-alpha.51",
4
+ "version": "5.5.7-alpha.53",
5
5
  "homepage": "https://dbgate.org/",
6
6
  "repository": {
7
7
  "type": "git",
@@ -16,6 +16,9 @@
16
16
  "export",
17
17
  "dbgate"
18
18
  ],
19
+ "files": [
20
+ "src"
21
+ ],
19
22
  "dependencies": {
20
23
  "@aws-sdk/rds-signer": "^3.665.0",
21
24
  "activedirectory2": "^2.1.0",
@@ -27,10 +30,10 @@
27
30
  "compare-versions": "^3.6.0",
28
31
  "cors": "^2.8.5",
29
32
  "cross-env": "^6.0.3",
30
- "dbgate-datalib": "^5.5.7-alpha.51",
33
+ "dbgate-datalib": "^5.5.7-alpha.53",
31
34
  "dbgate-query-splitter": "^4.11.2",
32
- "dbgate-sqltree": "^5.5.7-alpha.51",
33
- "dbgate-tools": "^5.5.7-alpha.51",
35
+ "dbgate-sqltree": "^5.5.7-alpha.53",
36
+ "dbgate-tools": "^5.5.7-alpha.53",
34
37
  "debug": "^4.3.4",
35
38
  "diff": "^5.0.0",
36
39
  "diff2html": "^3.4.13",
@@ -78,7 +81,7 @@
78
81
  "devDependencies": {
79
82
  "@types/fs-extra": "^9.0.11",
80
83
  "@types/lodash": "^4.14.149",
81
- "dbgate-types": "^5.5.7-alpha.51",
84
+ "dbgate-types": "^5.5.7-alpha.53",
82
85
  "env-cmd": "^10.1.0",
83
86
  "node-loader": "^1.0.2",
84
87
  "nodemon": "^2.0.2",
@@ -1,5 +1,5 @@
1
1
 
2
2
  module.exports = {
3
- version: '5.5.7-alpha.51',
4
- buildTime: '2024-11-14T13:40:18.658Z'
3
+ version: '5.5.7-alpha.53',
4
+ buildTime: '2024-11-15T11:03:32.250Z'
5
5
  };
@@ -0,0 +1,9 @@
1
+
2
+ // this file is generated automatically by script fillNativeModules.js, do not edit it manually
3
+ const content = {};
4
+
5
+ content['better-sqlite3'] = () => require('better-sqlite3');
6
+ content['oracledb'] = () => require('oracledb');
7
+
8
+
9
+ module.exports = content;
package/.env DELETED
@@ -1,19 +0,0 @@
1
- DEVMODE=1
2
- SHELL_SCRIPTING=1
3
-
4
- CLOUD_UPGRADE_FILE=c:\test\upg\upgrade.zip
5
-
6
- # PERMISSIONS=~widgets/app,~widgets/plugins
7
- # DISABLE_SHELL=1
8
- # HIDE_APP_EDITOR=1
9
-
10
-
11
- # DEVWEB=1
12
- # LOGINS=admin,test
13
-
14
- # LOGIN_PASSWORD_admin=admin
15
- # LOGIN_PERMISSIONS_admin=*
16
-
17
- # LOGIN_PASSWORD_test=test
18
- # LOGIN_PERMISSIONS_test=~*, widgets/database
19
- # WORKSPACE_DIR=/home/jena/dbgate-data-2
package/.yarnrc DELETED
@@ -1,2 +0,0 @@
1
- version-tag-prefix packages-api-v
2
- version-git-message "packages-api v%s"
package/env/dblogin/.env DELETED
@@ -1,14 +0,0 @@
1
- DEVMODE=1
2
-
3
- CONNECTIONS=mysql
4
- SINGLE_CONNECTION=mysql
5
- # SINGLE_DATABASE=Chinook
6
-
7
- LABEL_mysql=MySql localhost
8
- SERVER_mysql=localhost
9
- # USER_mysql=root
10
- PORT_mysql=3306
11
- # PASSWORD_mysql=Pwd2020Db
12
- ENGINE_mysql=mysql@dbgate-plugin-mysql
13
- # PASSWORD_MODE_mysql=askPassword
14
- PASSWORD_MODE_mysql=askUser
package/env/portal/.env DELETED
@@ -1,70 +0,0 @@
1
- DEVMODE=1
2
-
3
- CONNECTIONS=mysql,postgres,postgres1,mongo,mongo2,mysqlssh,sqlite,relational
4
-
5
- LABEL_mysql=MySql localhost
6
- SERVER_mysql=localhost
7
- USER_mysql=root
8
- PASSWORD_mysql=test
9
- PORT_mysql=3307
10
- ENGINE_mysql=mysql@dbgate-plugin-mysql
11
-
12
- LABEL_postgres=Postgres localhost
13
- SERVER_postgres=localhost
14
- USER_postgres=postgres
15
- PASSWORD_postgres=Pwd2020Db
16
- PORT_postgres=5432
17
- ENGINE_postgres=postgres@dbgate-plugin-postgres
18
-
19
- LABEL_postgres1=Postgres localhost test DB
20
- SERVER_postgres1=localhost
21
- USER_postgres1=postgres
22
- PASSWORD_postgres1=Pwd2020Db
23
- PORT_postgres1=5432
24
- ENGINE_postgres1=postgres@dbgate-plugin-postgres
25
- DATABASE_postgres1=test
26
-
27
- LABEL_mongo=Mongo URL
28
- URL_mongo=mongodb://localhost:27017
29
- ENGINE_mongo=mongo@dbgate-plugin-mongo
30
-
31
- LABEL_mongo2=Mongo Server
32
- SERVER_mongo2=localhost
33
- ENGINE_mongo2=mongo@dbgate-plugin-mongo
34
-
35
- LABEL_mysqlssh=MySql SSH
36
- SERVER_mysqlssh=localhost
37
- USER_mysqlssh=root
38
- PASSWORD_mysqlssh=xxx
39
- PORT_mysqlssh=3316
40
- ENGINE_mysqlssh=mysql@dbgate-plugin-mysql
41
- USE_SSH_mysqlssh=1
42
- SSH_HOST_mysqlssh=demo.dbgate.org
43
- SSH_PORT_mysqlssh=22
44
- SSH_MODE_mysqlssh=userPassword
45
- SSH_LOGIN_mysqlssh=root
46
- SSH_PASSWORD_mysqlssh=xxx
47
-
48
- LABEL_sqlite=sqlite
49
- FILE_sqlite=/home/jena/.dbgate/files/sqlite/feeds.sqlite
50
- ENGINE_sqlite=sqlite@dbgate-plugin-sqlite
51
-
52
- LABEL_relational=Relational dataset repo
53
- SERVER_relational=relational.fit.cvut.cz
54
- USER_relational=guest
55
- PASSWORD_relational=relational
56
- ENGINE_relational=mariadb@dbgate-plugin-mysql
57
- READONLY_relational=1
58
-
59
- # SETTINGS_dataGrid.showHintColumns=1
60
-
61
- # docker run -p 3000:3000 -e CONNECTIONS=mongo -e URL_mongo=mongodb://localhost:27017 -e ENGINE_mongo=mongo@dbgate-plugin-mongo -e LABEL_mongo=mongo dbgate/dbgate:beta
62
-
63
- # LOGINS=x,y
64
- # LOGIN_PASSWORD_x=x
65
- # LOGIN_PASSWORD_y=LOGIN_PASSWORD_y
66
- # LOGIN_PERMISSIONS_x=~*
67
- # LOGIN_PERMISSIONS_y=~*
68
-
69
- # PERMISSIONS=~*,connections/relational
70
- # PERMISSIONS=~*
package/env/singledb/.env DELETED
@@ -1,17 +0,0 @@
1
- DEVMODE=1
2
-
3
- CONNECTIONS=mysql
4
-
5
- LABEL_mysql=MySql localhost
6
- SERVER_mysql=localhost
7
- USER_mysql=root
8
- PASSWORD_mysql=Pwd2020Db
9
- PORT_mysql=3306
10
- ENGINE_mysql=mysql@dbgate-plugin-mysql
11
- DBCONFIG_mysql=[{"name":"Chinook","connectionColor":"cyan"}]
12
-
13
-
14
- SINGLE_CONNECTION=mysql
15
- SINGLE_DATABASE=Chinook
16
-
17
- PERMISSIONS=files/charts/read
package/tsconfig.json DELETED
@@ -1,13 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "module": "commonjs",
4
- "allowJs": true,
5
- "checkJs": true,
6
- "noEmit": true,
7
- "moduleResolution": "node",
8
- "skipLibCheck": true,
9
- },
10
- "include": [
11
- "src"
12
- ]
13
- }
package/webpack.config.js DELETED
@@ -1,55 +0,0 @@
1
- var webpack = require('webpack');
2
- var path = require('path');
3
-
4
- var config = {
5
- context: __dirname + '/src',
6
-
7
- entry: {
8
- app: './index.js',
9
- },
10
- target: 'node',
11
- node: {
12
- __dirname: false,
13
- },
14
- output: {
15
- path: path.resolve(__dirname, 'dist'),
16
- filename: 'bundle.js',
17
- libraryTarget: 'commonjs2',
18
- },
19
-
20
- // optimization: {
21
- // minimize: false,
22
- // },
23
-
24
- module: {
25
- rules: [
26
- {
27
- test: /\.node$/,
28
- use: 'node-loader',
29
- },
30
- ],
31
- },
32
- plugins: [
33
- new webpack.IgnorePlugin({
34
- checkResource(resource) {
35
- const lazyImports = ['uws'];
36
- if (!lazyImports.includes(resource)) {
37
- return false;
38
- }
39
- try {
40
- require.resolve(resource);
41
- } catch (err) {
42
- return true;
43
- }
44
- return false;
45
- },
46
- }),
47
- ],
48
- externals: {
49
- 'better-sqlite3': 'commonjs better-sqlite3',
50
- 'oracledb': 'commonjs oracledb',
51
- 'msnodesqlv8': 'commonjs msnodesqlv8',
52
- },
53
- };
54
-
55
- module.exports = config;