Skip to content

Commit 010d2b8

Browse files
committed
initial
0 parents  commit 010d2b8

21 files changed

+2134
-0
lines changed

.babelrc.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module.exports = {
2+
presets: [
3+
[
4+
require.resolve('@babel/preset-env'),
5+
{
6+
targets: {
7+
node: '8',
8+
},
9+
},
10+
],
11+
],
12+
};

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
out

.vscode/launch.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Run driver extension",
6+
"type": "extensionHost",
7+
"request": "launch",
8+
"args": [
9+
"--extensionDevelopmentPath=${workspaceFolder}"
10+
],
11+
"outFiles": [
12+
"${workspaceFolder}/out/**/*.js"
13+
],
14+
"preLaunchTask": "${defaultBuildTask}"
15+
}
16+
]
17+
}

.vscode/settings.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Place your settings in this file to overwrite default and user settings.
2+
{
3+
"files.exclude": {
4+
"out": false // set this to true to hide the "out" folder with the compiled JS files
5+
},
6+
"search.exclude": {
7+
"out": true // set this to false to include "out" folder in search results
8+
},
9+
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
10+
"typescript.tsc.autoDetect": "off"
11+
}

.vscode/tasks.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// See https://go.microsoft.com/fwlink/?LinkId=733558
2+
// for the documentation about the tasks.json format
3+
{
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "npm",
8+
"script": "watch",
9+
"problemMatcher": "$tsc-watch",
10+
"isBackground": true,
11+
"presentation": {
12+
"reveal": "never"
13+
},
14+
"group": {
15+
"kind": "build",
16+
"isDefault": true
17+
}
18+
}
19+
]
20+
}

.vscodeignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.vscode/**
2+
.vscode-test/**
3+
out/test/**
4+
src/**
5+
.gitignore
6+
**/tsconfig.json
7+
**/.eslintrc.json
8+
**/*.map
9+
**/*.ts

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Change Log

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# SQLTools intersystems-iris-driver Driver
2+
3+
## Creating icon
4+
5+
PNG Images
6+
Size: 64x64px
7+
Default Icon: Opacity 100%, no margins and paddings
8+
Active icon: Opacity 100%, no margins and paddings, green (#00FF00) circle 24x24 bottom right
9+
Inactive icon: Opacity 50%, no margins and paddings
10+
11+
## Creating connectino schema for the assistant
12+
13+
We are using `@rjsf/core` to render the forms, so in order to add you driver to the connection assistant,
14+
edit `connection.schema.json` and `ui.schema.json`.
15+
16+
See https://react-jsonschema-form.readthedocs.io/en/latest/ for more instructions.
17+
18+
## Publish the driver
19+
20+
See https://code.visualstudio.com/api/working-with-extensions/publishing-extension

connection.schema.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"type": "object",
4+
"properties": {
5+
"database": {
6+
"title": "Database file",
7+
"type": "string",
8+
"minLength": 1
9+
}
10+
},
11+
"required": [
12+
"database"
13+
]
14+
}

icons/active.png

3.81 KB
Loading

0 commit comments

Comments
 (0)