dbgate-plugin-clickhouse 5.0.0-alpha.1
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/README.md +6 -0
- package/dist/backend.js +2 -0
- package/dist/backend.js.LICENSE.txt +8 -0
- package/dist/frontend.js +2 -0
- package/dist/frontend.js.LICENSE.txt +8 -0
- package/icon.svg +35 -0
- package/package.json +38 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Lodash <https://lodash.com/>
|
|
4
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
5
|
+
* Released under MIT license <https://lodash.com/license>
|
|
6
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
7
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
8
|
+
*/
|
package/icon.svg
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
+
viewBox="0 0 384 384" style="enable-background:new 0 0 384 384;" xml:space="preserve">
|
|
5
|
+
<polygon style="fill:#EFEEEE;" points="64,0 64,384 288,384 384,288 384,0 "/>
|
|
6
|
+
<polygon style="fill:#ABABAB;" points="288,288 288,384 384,288 "/>
|
|
7
|
+
<polygon style="fill:#DEDEDD;" points="192,384 288,384 288,288 "/>
|
|
8
|
+
<path style="fill:#448E47;" d="M0,96v112h256V96L0,96L0,96z"/>
|
|
9
|
+
<g>
|
|
10
|
+
<path style="fill:#FFFFFF;" d="M64.32,130.112c-1.184-2.288-3.344-3.424-6.48-3.424c-1.728,0-3.152,0.464-4.272,1.408
|
|
11
|
+
c-1.12,0.928-2,2.416-2.64,4.496s-1.088,4.8-1.344,8.176c-0.272,3.36-0.384,7.472-0.384,12.336c0,5.184,0.176,9.376,0.528,12.576
|
|
12
|
+
c0.336,3.2,0.896,5.664,1.632,7.44s1.664,2.96,2.784,3.552c1.12,0.608,2.416,0.928,3.888,0.928c1.216,0,2.352-0.208,3.408-0.624
|
|
13
|
+
s1.968-1.248,2.736-2.496c0.784-1.248,1.392-3.008,1.824-5.28c0.448-2.272,0.672-5.264,0.672-8.976H80.48
|
|
14
|
+
c0,3.696-0.288,7.232-0.864,10.56s-1.664,6.24-3.216,8.736c-1.584,2.48-3.776,4.432-6.624,5.84
|
|
15
|
+
c-2.848,1.408-6.544,2.128-11.088,2.128c-5.168,0-9.312-0.848-12.368-2.496c-3.072-1.664-5.424-4.064-7.056-7.2
|
|
16
|
+
s-2.688-6.88-3.168-11.232c-0.464-4.336-0.72-9.152-0.72-14.384c0-5.184,0.256-9.968,0.72-14.352
|
|
17
|
+
c0.48-4.368,1.552-8.144,3.168-11.28c1.648-3.12,3.984-5.584,7.056-7.344c3.056-1.744,7.2-2.64,12.368-2.64
|
|
18
|
+
c4.944,0,8.816,0.8,11.664,2.4c2.848,1.6,4.976,3.632,6.368,6.096s2.304,5.12,2.64,7.968c0.352,2.848,0.528,5.52,0.528,8.016H66.08
|
|
19
|
+
C66.08,136,65.488,132.368,64.32,130.112z"/>
|
|
20
|
+
<path style="fill:#FFFFFF;" d="M109.072,167.008c0,1.6,0.144,3.056,0.384,4.352c0.272,1.312,0.736,2.416,1.44,3.312
|
|
21
|
+
c0.704,0.912,1.664,1.616,2.848,2.128c1.168,0.496,2.672,0.768,4.448,0.768c2.128,0,4.016-0.688,5.712-2.064
|
|
22
|
+
c1.68-1.376,2.544-3.52,2.544-6.384c0-1.536-0.224-2.864-0.624-3.984c-0.416-1.12-1.104-2.128-2.064-3.008
|
|
23
|
+
c-0.976-0.912-2.24-1.712-3.792-2.448s-3.504-1.488-5.808-2.256c-3.056-1.024-5.712-2.16-7.968-3.376
|
|
24
|
+
c-2.24-1.2-4.112-2.624-5.616-4.272c-1.504-1.632-2.608-3.52-3.312-5.664c-0.704-2.16-1.056-4.624-1.056-7.456
|
|
25
|
+
c0-6.784,1.888-11.824,5.664-15.152c3.76-3.328,8.96-4.992,15.552-4.992c3.072,0,5.904,0.336,8.496,1.008s4.832,1.744,6.72,3.264
|
|
26
|
+
c1.888,1.504,3.36,3.424,4.416,5.744c1.04,2.336,1.584,5.136,1.584,8.4v1.92h-13.232c0-3.264-0.576-5.776-1.712-7.552
|
|
27
|
+
c-1.152-1.744-3.072-2.64-5.76-2.64c-1.536,0-2.816,0.24-3.84,0.672c-1.008,0.448-1.84,1.04-2.448,1.776s-1.04,1.616-1.264,2.576
|
|
28
|
+
c-0.24,0.96-0.336,1.952-0.336,2.976c0,2.128,0.448,3.888,1.344,5.328c0.896,1.456,2.816,2.784,5.76,3.984l10.656,4.608
|
|
29
|
+
c2.624,1.152,4.768,2.352,6.416,3.616c1.664,1.248,3.008,2.592,3.984,4.032c0.992,1.44,1.68,3.008,2.064,4.752
|
|
30
|
+
c0.384,1.712,0.576,3.648,0.576,5.744c0,7.232-2.096,12.496-6.288,15.792c-4.192,3.296-10.032,4.96-17.52,4.96
|
|
31
|
+
c-7.808,0-13.392-1.696-16.768-5.088c-3.36-3.392-5.024-8.256-5.024-14.592v-2.784h13.824L109.072,167.008L109.072,167.008z"/>
|
|
32
|
+
<path style="fill:#FFFFFF;" d="M177.344,168.544h0.304l10.176-50.688h14.32L186.4,186.4h-17.76l-15.728-68.544h14.784
|
|
33
|
+
L177.344,168.544z"/>
|
|
34
|
+
</g>
|
|
35
|
+
</svg>
|
package/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dbgate-plugin-clickhouse",
|
|
3
|
+
"main": "dist/backend.js",
|
|
4
|
+
"version": "5.0.0-alpha.1",
|
|
5
|
+
"license": "GPL-3.0",
|
|
6
|
+
"author": "Jan Prochazka",
|
|
7
|
+
"description": "Clickhouse connector for DbGate",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"dbgate",
|
|
10
|
+
"dbgateplugin",
|
|
11
|
+
"clickhouse"
|
|
12
|
+
],
|
|
13
|
+
"files": [
|
|
14
|
+
"dist",
|
|
15
|
+
"icon.svg"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build:frontend": "webpack --config webpack-frontend.config",
|
|
19
|
+
"build:frontend:watch": "webpack --watch --config webpack-frontend.config",
|
|
20
|
+
"build:backend": "webpack --config webpack-backend.config.js",
|
|
21
|
+
"build": "yarn build:frontend && yarn build:backend",
|
|
22
|
+
"plugin": "yarn build && yarn pack && dbgate-plugin dbgate-plugin-clickhouse",
|
|
23
|
+
"plugout": "dbgate-plugout dbgate-plugin-clickhouse",
|
|
24
|
+
"copydist": "yarn build && yarn pack && dbgate-copydist ../dist/dbgate-plugin-clickhouse",
|
|
25
|
+
"prepublishOnly": "yarn build"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"byline": "^5.0.0",
|
|
29
|
+
"dbgate-plugin-tools": "^1.0.8",
|
|
30
|
+
"dbgate-tools": "^5.0.0-alpha.1",
|
|
31
|
+
"json-stable-stringify": "^1.0.1",
|
|
32
|
+
"webpack": "^5.91.0",
|
|
33
|
+
"webpack-cli": "^5.1.4"
|
|
34
|
+
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@clickhouse/client": "^1.5.0"
|
|
37
|
+
}
|
|
38
|
+
}
|