Skip to content

Commit 8f5f8c1

Browse files
Openblocks-docsgitbook-bot
Openblocks-docs
authored andcommitted
GITBOOK-121: fix
1 parent 8b90ceb commit 8f5f8c1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/build-plugins/develop-data-source-plugins.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ A data source plugin is described by a **JavaScript Object** which mainly consis
1212
* Definition of the **Action list** for data source queries and the configuration form for each Action.
1313
* Definition of the **execution logic** for Actions.
1414

15-
Currently, all data source plugins are maintained in the `src/plugins` directory of the `node-service` project. Click to view [the project](https://github.com/openblocks-dev/openblocks/tree/develop/server/node-service), and you might take a quick look at the [S3 plugin](https://github.com/openblocks-dev/openblocks/tree/develop/server/node-service/src/plugins/s3) here:
16-
17-
<figure><img src="../.gitbook/assets/datasource-plugins-1.png" alt=""><figcaption></figcaption></figure>
15+
Currently, all data source plugins are maintained in the `src/plugins` directory of the `node-service` project. Click to view [the project](https://github.com/openblocks-dev/openblocks/tree/develop/server/node-service), and you might take a quick look at the [S3 plugin](https://github.com/openblocks-dev/openblocks/tree/develop/server/node-service/src/plugins/s3).
1816

1917
## Overall definition of a plugin
2018

@@ -110,7 +108,7 @@ interface DataSourceConfig {
110108
interface DataSourceExtraConfig {
111109
data?: any;
112110
extraParams?: DataSourceParamConfig[];
113-
}ty
111+
}
114112
```
115113

116114
* `data`: additional data source data that will be saved in the backend together with data source configurations that users fill out. Can be obtained when executing a query using the `extra` field of the data source data.

0 commit comments

Comments
 (0)