ToolJet/plugins/packages/postgresql/lib/operations.json

508 lines
18 KiB
JSON
Raw Normal View History

{
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/operations.schema.json",
"title": "Postgresql datasource",
"description": "A schema defining Postgresql datasource",
Move plugins to root (#1728) * feat: move plugins to root * modify tsconfig * add .gitignore * delete old plugins file * add parcel * docker compose volume mount * add gcs * add typescript to plugins folder * gcs to ts * add dynamodb * add elastic search * add firestore * add gsheets * add graphql * add mongodb * mssql * add mysql * add postgresql * add redis * add s3 * add slack * add stripe * remove plugin related packages from pkgjson * add lib folder * add gitignore * remove typescript generated files * remove generated file * remove generated files * add twilio * add dist to docker compose cache binding * add dist prefix * cleanup - 1 * delete dist * rename to index.ts + add jest config * add it.todo in tests * test fixes * test file changes * fix type checks * add @tooljet/plugins to server package json * esm vs commonjs bug, reduce got to 11.8.2 from 12.0.0 * docker file npm package version fix * add typesense * cleaup - 2 * add sendgrid * add lerna build and clean script for all packages + tsconfig * cleanup -3 * add plugins build step * add missing plugins build step in npm run build * add mssql, mysql & postgres as singleton classes * add db connection to cache only if datasourceId is available * client: add data source schema/manifest files * add query operations files * logic for wrapping form with schema * add script to create index file * add @tooljet/plugins to frontend folder * cleanup 1 -frontend * cleanup - 2 // frontend // data queries * add client and index to gitignore * update gitignore * fix lint & test * update ci * fix unit, e2e * cleanup -3 * fix test * fix tests * fix indent * try npm ci * fix tests * fix typo * fix * rename file for server entry * heroku fix * add main and types entry points in pkg json * move common to root * cleanup - 4: remove redundant $ sign prefix * cleanup - 4: remove redundant $ sign prefix * update options in-sync before DOM is painted * change type cloud to cloud storage * update readme * update ci.yml * update ci yml * add pkg-lock.json * rename index.ts to server.ts * update lock files * add server package.lock * remove unused import * revert commit: add minio * add root dep * import server.ts * remove plugins build step * add npm shrinkwrap * update version - plugins * add new version - 0.0.8 * upgrade version * move to symlinked package * add lock file * feat: add icon inside package * add plugin creation docs * Remove seed * move icons to plugins folder * install pg dep * add react to packages * add seed cmd * revert change * add plugins build in lint, e2e, unit * e2e, lint use npm ci * update dockerfile for plugins * try combining release with web * limit memory on release * try executing seed script post transpile * try executing seed from server directory * update seed execution * add minio * add correct type * add minio to pkg json * remove old file * fix provider key * add python installable + npm ^7.2.0 (#1752) * add python installable + npm ^7.2.0 * add py to prod file * pin npm version to 7.20.0 * pin npm version to 7.20.0 * split into multi stage build and remove python for buildx * copy plugins from buider stage * update dependencies * add freetds dependency * update server dockerfile * update client dockerfile * update dev dockerfile and compose file * fix entrypoint * fix server dev dockerfile * update docker-compose * remove npm install on root dir on docker build * fix heroku script * make lerna prod dependency to enable prod builds * remove redundant env setup Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com> Co-authored-by: navaneeth <navaneethpk@outlook.com>
2022-01-17 07:08:17 +00:00
"type": "database",
"defaults": {
"mode": "sql"
},
"properties": {
"mode": {
Move plugins to root (#1728) * feat: move plugins to root * modify tsconfig * add .gitignore * delete old plugins file * add parcel * docker compose volume mount * add gcs * add typescript to plugins folder * gcs to ts * add dynamodb * add elastic search * add firestore * add gsheets * add graphql * add mongodb * mssql * add mysql * add postgresql * add redis * add s3 * add slack * add stripe * remove plugin related packages from pkgjson * add lib folder * add gitignore * remove typescript generated files * remove generated file * remove generated files * add twilio * add dist to docker compose cache binding * add dist prefix * cleanup - 1 * delete dist * rename to index.ts + add jest config * add it.todo in tests * test fixes * test file changes * fix type checks * add @tooljet/plugins to server package json * esm vs commonjs bug, reduce got to 11.8.2 from 12.0.0 * docker file npm package version fix * add typesense * cleaup - 2 * add sendgrid * add lerna build and clean script for all packages + tsconfig * cleanup -3 * add plugins build step * add missing plugins build step in npm run build * add mssql, mysql & postgres as singleton classes * add db connection to cache only if datasourceId is available * client: add data source schema/manifest files * add query operations files * logic for wrapping form with schema * add script to create index file * add @tooljet/plugins to frontend folder * cleanup 1 -frontend * cleanup - 2 // frontend // data queries * add client and index to gitignore * update gitignore * fix lint & test * update ci * fix unit, e2e * cleanup -3 * fix test * fix tests * fix indent * try npm ci * fix tests * fix typo * fix * rename file for server entry * heroku fix * add main and types entry points in pkg json * move common to root * cleanup - 4: remove redundant $ sign prefix * cleanup - 4: remove redundant $ sign prefix * update options in-sync before DOM is painted * change type cloud to cloud storage * update readme * update ci.yml * update ci yml * add pkg-lock.json * rename index.ts to server.ts * update lock files * add server package.lock * remove unused import * revert commit: add minio * add root dep * import server.ts * remove plugins build step * add npm shrinkwrap * update version - plugins * add new version - 0.0.8 * upgrade version * move to symlinked package * add lock file * feat: add icon inside package * add plugin creation docs * Remove seed * move icons to plugins folder * install pg dep * add react to packages * add seed cmd * revert change * add plugins build in lint, e2e, unit * e2e, lint use npm ci * update dockerfile for plugins * try combining release with web * limit memory on release * try executing seed script post transpile * try executing seed from server directory * update seed execution * add minio * add correct type * add minio to pkg json * remove old file * fix provider key * add python installable + npm ^7.2.0 (#1752) * add python installable + npm ^7.2.0 * add py to prod file * pin npm version to 7.20.0 * pin npm version to 7.20.0 * split into multi stage build and remove python for buildx * copy plugins from buider stage * update dependencies * add freetds dependency * update server dockerfile * update client dockerfile * update dev dockerfile and compose file * fix entrypoint * fix server dev dockerfile * update docker-compose * remove npm install on root dir on docker build * fix heroku script * make lerna prod dependency to enable prod builds * remove redundant env setup Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com> Co-authored-by: navaneeth <navaneethpk@outlook.com>
2022-01-17 07:08:17 +00:00
"label": "",
"key": "mode",
"type": "dropdown-component-flip",
"description": "Single select dropdown for mode",
Move plugins to root (#1728) * feat: move plugins to root * modify tsconfig * add .gitignore * delete old plugins file * add parcel * docker compose volume mount * add gcs * add typescript to plugins folder * gcs to ts * add dynamodb * add elastic search * add firestore * add gsheets * add graphql * add mongodb * mssql * add mysql * add postgresql * add redis * add s3 * add slack * add stripe * remove plugin related packages from pkgjson * add lib folder * add gitignore * remove typescript generated files * remove generated file * remove generated files * add twilio * add dist to docker compose cache binding * add dist prefix * cleanup - 1 * delete dist * rename to index.ts + add jest config * add it.todo in tests * test fixes * test file changes * fix type checks * add @tooljet/plugins to server package json * esm vs commonjs bug, reduce got to 11.8.2 from 12.0.0 * docker file npm package version fix * add typesense * cleaup - 2 * add sendgrid * add lerna build and clean script for all packages + tsconfig * cleanup -3 * add plugins build step * add missing plugins build step in npm run build * add mssql, mysql & postgres as singleton classes * add db connection to cache only if datasourceId is available * client: add data source schema/manifest files * add query operations files * logic for wrapping form with schema * add script to create index file * add @tooljet/plugins to frontend folder * cleanup 1 -frontend * cleanup - 2 // frontend // data queries * add client and index to gitignore * update gitignore * fix lint & test * update ci * fix unit, e2e * cleanup -3 * fix test * fix tests * fix indent * try npm ci * fix tests * fix typo * fix * rename file for server entry * heroku fix * add main and types entry points in pkg json * move common to root * cleanup - 4: remove redundant $ sign prefix * cleanup - 4: remove redundant $ sign prefix * update options in-sync before DOM is painted * change type cloud to cloud storage * update readme * update ci.yml * update ci yml * add pkg-lock.json * rename index.ts to server.ts * update lock files * add server package.lock * remove unused import * revert commit: add minio * add root dep * import server.ts * remove plugins build step * add npm shrinkwrap * update version - plugins * add new version - 0.0.8 * upgrade version * move to symlinked package * add lock file * feat: add icon inside package * add plugin creation docs * Remove seed * move icons to plugins folder * install pg dep * add react to packages * add seed cmd * revert change * add plugins build in lint, e2e, unit * e2e, lint use npm ci * update dockerfile for plugins * try combining release with web * limit memory on release * try executing seed script post transpile * try executing seed from server directory * update seed execution * add minio * add correct type * add minio to pkg json * remove old file * fix provider key * add python installable + npm ^7.2.0 (#1752) * add python installable + npm ^7.2.0 * add py to prod file * pin npm version to 7.20.0 * pin npm version to 7.20.0 * split into multi stage build and remove python for buildx * copy plugins from buider stage * update dependencies * add freetds dependency * update server dockerfile * update client dockerfile * update dev dockerfile and compose file * fix entrypoint * fix server dev dockerfile * update docker-compose * remove npm install on root dir on docker build * fix heroku script * make lerna prod dependency to enable prod builds * remove redundant env setup Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com> Co-authored-by: navaneeth <navaneethpk@outlook.com>
2022-01-17 07:08:17 +00:00
"list": [
{ "name": "SQL mode", "value": "sql" },
{ "name": "GUI mode", "value": "gui" }
],
"commonFields": {
"host": {
"label": "Host",
"placeholder": "Leave empty to use default",
"key": "host",
"type": "codehinter",
"description": "Enter host",
"height": "150px",
"shouldRenderTheProperty": "allow_dynamic_connection_parameters"
},
"database": {
"label": "Database",
"placeholder": "Leave empty to use default",
"key": "database",
"type": "codehinter",
"description": "Enter database name",
"height": "150px",
"shouldRenderTheProperty": "allow_dynamic_connection_parameters"
}
}
},
"sql": {
"query": {
Move plugins to root (#1728) * feat: move plugins to root * modify tsconfig * add .gitignore * delete old plugins file * add parcel * docker compose volume mount * add gcs * add typescript to plugins folder * gcs to ts * add dynamodb * add elastic search * add firestore * add gsheets * add graphql * add mongodb * mssql * add mysql * add postgresql * add redis * add s3 * add slack * add stripe * remove plugin related packages from pkgjson * add lib folder * add gitignore * remove typescript generated files * remove generated file * remove generated files * add twilio * add dist to docker compose cache binding * add dist prefix * cleanup - 1 * delete dist * rename to index.ts + add jest config * add it.todo in tests * test fixes * test file changes * fix type checks * add @tooljet/plugins to server package json * esm vs commonjs bug, reduce got to 11.8.2 from 12.0.0 * docker file npm package version fix * add typesense * cleaup - 2 * add sendgrid * add lerna build and clean script for all packages + tsconfig * cleanup -3 * add plugins build step * add missing plugins build step in npm run build * add mssql, mysql & postgres as singleton classes * add db connection to cache only if datasourceId is available * client: add data source schema/manifest files * add query operations files * logic for wrapping form with schema * add script to create index file * add @tooljet/plugins to frontend folder * cleanup 1 -frontend * cleanup - 2 // frontend // data queries * add client and index to gitignore * update gitignore * fix lint & test * update ci * fix unit, e2e * cleanup -3 * fix test * fix tests * fix indent * try npm ci * fix tests * fix typo * fix * rename file for server entry * heroku fix * add main and types entry points in pkg json * move common to root * cleanup - 4: remove redundant $ sign prefix * cleanup - 4: remove redundant $ sign prefix * update options in-sync before DOM is painted * change type cloud to cloud storage * update readme * update ci.yml * update ci yml * add pkg-lock.json * rename index.ts to server.ts * update lock files * add server package.lock * remove unused import * revert commit: add minio * add root dep * import server.ts * remove plugins build step * add npm shrinkwrap * update version - plugins * add new version - 0.0.8 * upgrade version * move to symlinked package * add lock file * feat: add icon inside package * add plugin creation docs * Remove seed * move icons to plugins folder * install pg dep * add react to packages * add seed cmd * revert change * add plugins build in lint, e2e, unit * e2e, lint use npm ci * update dockerfile for plugins * try combining release with web * limit memory on release * try executing seed script post transpile * try executing seed from server directory * update seed execution * add minio * add correct type * add minio to pkg json * remove old file * fix provider key * add python installable + npm ^7.2.0 (#1752) * add python installable + npm ^7.2.0 * add py to prod file * pin npm version to 7.20.0 * pin npm version to 7.20.0 * split into multi stage build and remove python for buildx * copy plugins from buider stage * update dependencies * add freetds dependency * update server dockerfile * update client dockerfile * update dev dockerfile and compose file * fix entrypoint * fix server dev dockerfile * update docker-compose * remove npm install on root dir on docker build * fix heroku script * make lerna prod dependency to enable prod builds * remove redundant env setup Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com> Co-authored-by: navaneeth <navaneethpk@outlook.com>
2022-01-17 07:08:17 +00:00
"key": "query",
"type": "codehinter",
"description": "Enter query",
"height": "150px",
"editorType": "multiline",
"placeholder": "SELECT * FROM users"
},
"query_params": {
"key": "query_params",
"label": "SQL Parameters",
"type": "react-component-headers",
"description": "Parameters for the SQL query",
"buttonText": "Add SQL parameter",
"tooltip": "Use these parameters in the SQL query using name notation < :parameter_name >"
}
},
"gui": {
"operation": {
Move plugins to root (#1728) * feat: move plugins to root * modify tsconfig * add .gitignore * delete old plugins file * add parcel * docker compose volume mount * add gcs * add typescript to plugins folder * gcs to ts * add dynamodb * add elastic search * add firestore * add gsheets * add graphql * add mongodb * mssql * add mysql * add postgresql * add redis * add s3 * add slack * add stripe * remove plugin related packages from pkgjson * add lib folder * add gitignore * remove typescript generated files * remove generated file * remove generated files * add twilio * add dist to docker compose cache binding * add dist prefix * cleanup - 1 * delete dist * rename to index.ts + add jest config * add it.todo in tests * test fixes * test file changes * fix type checks * add @tooljet/plugins to server package json * esm vs commonjs bug, reduce got to 11.8.2 from 12.0.0 * docker file npm package version fix * add typesense * cleaup - 2 * add sendgrid * add lerna build and clean script for all packages + tsconfig * cleanup -3 * add plugins build step * add missing plugins build step in npm run build * add mssql, mysql & postgres as singleton classes * add db connection to cache only if datasourceId is available * client: add data source schema/manifest files * add query operations files * logic for wrapping form with schema * add script to create index file * add @tooljet/plugins to frontend folder * cleanup 1 -frontend * cleanup - 2 // frontend // data queries * add client and index to gitignore * update gitignore * fix lint & test * update ci * fix unit, e2e * cleanup -3 * fix test * fix tests * fix indent * try npm ci * fix tests * fix typo * fix * rename file for server entry * heroku fix * add main and types entry points in pkg json * move common to root * cleanup - 4: remove redundant $ sign prefix * cleanup - 4: remove redundant $ sign prefix * update options in-sync before DOM is painted * change type cloud to cloud storage * update readme * update ci.yml * update ci yml * add pkg-lock.json * rename index.ts to server.ts * update lock files * add server package.lock * remove unused import * revert commit: add minio * add root dep * import server.ts * remove plugins build step * add npm shrinkwrap * update version - plugins * add new version - 0.0.8 * upgrade version * move to symlinked package * add lock file * feat: add icon inside package * add plugin creation docs * Remove seed * move icons to plugins folder * install pg dep * add react to packages * add seed cmd * revert change * add plugins build in lint, e2e, unit * e2e, lint use npm ci * update dockerfile for plugins * try combining release with web * limit memory on release * try executing seed script post transpile * try executing seed from server directory * update seed execution * add minio * add correct type * add minio to pkg json * remove old file * fix provider key * add python installable + npm ^7.2.0 (#1752) * add python installable + npm ^7.2.0 * add py to prod file * pin npm version to 7.20.0 * pin npm version to 7.20.0 * split into multi stage build and remove python for buildx * copy plugins from buider stage * update dependencies * add freetds dependency * update server dockerfile * update client dockerfile * update dev dockerfile and compose file * fix entrypoint * fix server dev dockerfile * update docker-compose * remove npm install on root dir on docker build * fix heroku script * make lerna prod dependency to enable prod builds * remove redundant env setup Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com> Co-authored-by: navaneeth <navaneethpk@outlook.com>
2022-01-17 07:08:17 +00:00
"label": "Operation",
"key": "operation",
"type": "dropdown-component-flip",
"description": "Single select dropdown for mode",
Move plugins to root (#1728) * feat: move plugins to root * modify tsconfig * add .gitignore * delete old plugins file * add parcel * docker compose volume mount * add gcs * add typescript to plugins folder * gcs to ts * add dynamodb * add elastic search * add firestore * add gsheets * add graphql * add mongodb * mssql * add mysql * add postgresql * add redis * add s3 * add slack * add stripe * remove plugin related packages from pkgjson * add lib folder * add gitignore * remove typescript generated files * remove generated file * remove generated files * add twilio * add dist to docker compose cache binding * add dist prefix * cleanup - 1 * delete dist * rename to index.ts + add jest config * add it.todo in tests * test fixes * test file changes * fix type checks * add @tooljet/plugins to server package json * esm vs commonjs bug, reduce got to 11.8.2 from 12.0.0 * docker file npm package version fix * add typesense * cleaup - 2 * add sendgrid * add lerna build and clean script for all packages + tsconfig * cleanup -3 * add plugins build step * add missing plugins build step in npm run build * add mssql, mysql & postgres as singleton classes * add db connection to cache only if datasourceId is available * client: add data source schema/manifest files * add query operations files * logic for wrapping form with schema * add script to create index file * add @tooljet/plugins to frontend folder * cleanup 1 -frontend * cleanup - 2 // frontend // data queries * add client and index to gitignore * update gitignore * fix lint & test * update ci * fix unit, e2e * cleanup -3 * fix test * fix tests * fix indent * try npm ci * fix tests * fix typo * fix * rename file for server entry * heroku fix * add main and types entry points in pkg json * move common to root * cleanup - 4: remove redundant $ sign prefix * cleanup - 4: remove redundant $ sign prefix * update options in-sync before DOM is painted * change type cloud to cloud storage * update readme * update ci.yml * update ci yml * add pkg-lock.json * rename index.ts to server.ts * update lock files * add server package.lock * remove unused import * revert commit: add minio * add root dep * import server.ts * remove plugins build step * add npm shrinkwrap * update version - plugins * add new version - 0.0.8 * upgrade version * move to symlinked package * add lock file * feat: add icon inside package * add plugin creation docs * Remove seed * move icons to plugins folder * install pg dep * add react to packages * add seed cmd * revert change * add plugins build in lint, e2e, unit * e2e, lint use npm ci * update dockerfile for plugins * try combining release with web * limit memory on release * try executing seed script post transpile * try executing seed from server directory * update seed execution * add minio * add correct type * add minio to pkg json * remove old file * fix provider key * add python installable + npm ^7.2.0 (#1752) * add python installable + npm ^7.2.0 * add py to prod file * pin npm version to 7.20.0 * pin npm version to 7.20.0 * split into multi stage build and remove python for buildx * copy plugins from buider stage * update dependencies * add freetds dependency * update server dockerfile * update client dockerfile * update dev dockerfile and compose file * fix entrypoint * fix server dev dockerfile * update docker-compose * remove npm install on root dir on docker build * fix heroku script * make lerna prod dependency to enable prod builds * remove redundant env setup Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com> Co-authored-by: navaneeth <navaneethpk@outlook.com>
2022-01-17 07:08:17 +00:00
"list": [
{ "name": "List rows", "value": "list_rows" },
{ "name": "Create row", "value": "create_row" },
{ "name": "Update rows", "value": "update_rows" },
{ "name": "Delete rows", "value": "delete_rows" },
{ "name": "Upsert row", "value": "upsert_rows" },
{ "name": "Bulk insert", "value": "bulk_insert" },
{ "name": "Bulk update using primary key", "value": "bulk_update_pkey" },
{ "name": "Bulk upsert using primary key", "value": "bulk_upsert_pkey" }
]
},
"list_rows": {
"schema": {
"label": "Schema",
"key": "schema",
"type": "dynamic-selector",
"fxEnabled": true,
"operation": {
"invokeMethod": "listSchemas",
"label": "Fetch Schemas"
},
"description": "Select the database schema",
"placeholder": "Select schema"
},
"table": {
Move plugins to root (#1728) * feat: move plugins to root * modify tsconfig * add .gitignore * delete old plugins file * add parcel * docker compose volume mount * add gcs * add typescript to plugins folder * gcs to ts * add dynamodb * add elastic search * add firestore * add gsheets * add graphql * add mongodb * mssql * add mysql * add postgresql * add redis * add s3 * add slack * add stripe * remove plugin related packages from pkgjson * add lib folder * add gitignore * remove typescript generated files * remove generated file * remove generated files * add twilio * add dist to docker compose cache binding * add dist prefix * cleanup - 1 * delete dist * rename to index.ts + add jest config * add it.todo in tests * test fixes * test file changes * fix type checks * add @tooljet/plugins to server package json * esm vs commonjs bug, reduce got to 11.8.2 from 12.0.0 * docker file npm package version fix * add typesense * cleaup - 2 * add sendgrid * add lerna build and clean script for all packages + tsconfig * cleanup -3 * add plugins build step * add missing plugins build step in npm run build * add mssql, mysql & postgres as singleton classes * add db connection to cache only if datasourceId is available * client: add data source schema/manifest files * add query operations files * logic for wrapping form with schema * add script to create index file * add @tooljet/plugins to frontend folder * cleanup 1 -frontend * cleanup - 2 // frontend // data queries * add client and index to gitignore * update gitignore * fix lint & test * update ci * fix unit, e2e * cleanup -3 * fix test * fix tests * fix indent * try npm ci * fix tests * fix typo * fix * rename file for server entry * heroku fix * add main and types entry points in pkg json * move common to root * cleanup - 4: remove redundant $ sign prefix * cleanup - 4: remove redundant $ sign prefix * update options in-sync before DOM is painted * change type cloud to cloud storage * update readme * update ci.yml * update ci yml * add pkg-lock.json * rename index.ts to server.ts * update lock files * add server package.lock * remove unused import * revert commit: add minio * add root dep * import server.ts * remove plugins build step * add npm shrinkwrap * update version - plugins * add new version - 0.0.8 * upgrade version * move to symlinked package * add lock file * feat: add icon inside package * add plugin creation docs * Remove seed * move icons to plugins folder * install pg dep * add react to packages * add seed cmd * revert change * add plugins build in lint, e2e, unit * e2e, lint use npm ci * update dockerfile for plugins * try combining release with web * limit memory on release * try executing seed script post transpile * try executing seed from server directory * update seed execution * add minio * add correct type * add minio to pkg json * remove old file * fix provider key * add python installable + npm ^7.2.0 (#1752) * add python installable + npm ^7.2.0 * add py to prod file * pin npm version to 7.20.0 * pin npm version to 7.20.0 * split into multi stage build and remove python for buildx * copy plugins from buider stage * update dependencies * add freetds dependency * update server dockerfile * update client dockerfile * update dev dockerfile and compose file * fix entrypoint * fix server dev dockerfile * update docker-compose * remove npm install on root dir on docker build * fix heroku script * make lerna prod dependency to enable prod builds * remove redundant env setup Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com> Co-authored-by: navaneeth <navaneethpk@outlook.com>
2022-01-17 07:08:17 +00:00
"label": "Table",
"key": "table",
"type": "dynamic-selector",
"fxEnabled": true,
"dependsOn": ["schema"],
"operation": {
"invokeMethod": "listTables",
"label": "Fetch Tables"
},
"pagination": true,
"pageSize": 6,
"description": "Select the table to query",
"placeholder": "Select table"
},
"where_filters": {
"label": "Filter",
"key": "where_filters",
"type": "react-component-sql-filters",
"parse_key": "list_rows.where_filters",
"description": "Filter conditions for the query",
"columnSelectorOperation": { "invokeMethod": "listColumns", "label": "Fetch Columns" },
"columnSelectorDependsOn": ["schema", "table"]
},
"order_filters": {
"label": "Sort",
"key": "order_filters",
"type": "react-component-sql-sort",
"parse_key": "list_rows.order_filters",
"description": "Sort conditions for the query",
"columnSelectorOperation": { "invokeMethod": "listColumns", "label": "Fetch Columns" },
"columnSelectorDependsOn": ["schema", "table"]
},
"aggregates": {
"label": "Aggregate",
"key": "aggregates",
"type": "react-component-sql-aggregate",
"parse_key": "list_rows.aggregates",
"description": "Aggregate functions for the query",
"columnSelectorOperation": { "invokeMethod": "listColumns", "label": "Fetch Columns" },
"columnSelectorDependsOn": ["schema", "table"]
},
"group_by": {
"label": "Group by",
"key": "group_by",
"type": "react-component-sql-groupby",
"parse_key": "list_rows.group_by",
"description": "Group by columns for the query",
"columnSelectorOperation": { "invokeMethod": "listColumns", "label": "Fetch Columns" },
"columnSelectorDependsOn": ["schema", "table"]
},
"limit": {
"label": "Limit",
"key": "limit",
"type": "codehinter",
"lineNumbers": false,
"description": "Maximum number of rows to return",
[improvement] Query panel redesign (#1947) * query panel headers styles * create query button style update * create query button style update * create query button style update: mixins * querypanel header nav-links updated * querypanel header buttons * restapi: url hinter styles * fixes querypane header width, undo prev styles applied * querypanel header icons margin fix * restapi: header tab * restapi: params tab * restapi: body tab * base url style fixed * added alert component to @/_ui * adds margin top to query-panel tabs * bumped font weight of preview * on hover query style updated * selected query style update and along with dark themed * adds new searchbox component, added search queries * fixes query panel query lists icons margin * query selected hover bg * back icon should not be render if callback is a function * airtable: queries redesigned * stripe: queries redesigned * fixed query-pane header responsiveness * fixes tab title typo * undp/redo select datasource only when mode='create' * removes comments * refactor restapi url codehinter styles * fixes white spaces in query pane and query pane header * minor updates for restapi query options styles * removes tool-tip for lens svg icon for search: query-pane header * adds button loading spinner with primary color * fixes hover bg color for queries * update: query hover bg color to lighter tint * update query list icons: trash and play svgs * adds icons to the selection component * fixes tabs alignments restapi * fixes codehonter text margin: restapi url * fixes advanced-options-container margintop * new UI query: dynamodb * new UI query: elasticsearch * new UI query: firestore * new UI query: mongodb * new UI query: mysql * new UI query: psql * new UI query: typesenseapi * new UI query: gsheet * new UI query: sendgrid * new UI query: twillio * new UI query: gcs * new UI query: minio * new UI query: aws * update query bg color and hover bg color * fixes run query icon for dark theme * fixes input query title text alignment * update query header title * adds search queries placeholder and add icon when search box is displayed * updated No results query text * undo/redo rest-api tabs: fixes whote spaces * undo/redo: rest-api tabs conde hinter placeholder paddinleft * adding new queries when search box component is mounted:fix * fixes creating a new query after filtering queries * fixes dark theme for select search components * reverts query pane header search box with add icon * fixes input left margin * fixes bottom padding rest api tabs * fixes toggle button:not selected in dark theme * fixes typos * fixes preview button spinner size * undo/redo: query-trash-icon.svg for queries and trash.svg for components * query icons badge bg update[options] * icon badge fix * move static styles to theme.scss * restapi: url field height increment * fixes query name when adding a new query with filtered querylist * fixes alignment issues of the query header icon * revert back to 32px code hinter height * adds apdding to code mirror line * updates to react-select * remove component unmounts and mounts side effect
2022-02-02 16:59:57 +00:00
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "Enter limit"
},
"offset": {
"label": "Offset",
"key": "offset",
"type": "codehinter",
"lineNumbers": false,
"description": "Number of rows to skip",
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "Enter offset"
}
},
"create_row": {
"schema": {
"label": "Schema",
"key": "schema",
"type": "dynamic-selector",
"fxEnabled": true,
"operation": {
"invokeMethod": "listSchemas",
"label": "Fetch Schemas"
},
"description": "Select the database schema",
"placeholder": "Select schema"
},
"table": {
"label": "Table",
"key": "table",
"type": "dynamic-selector",
"fxEnabled": true,
"dependsOn": ["schema"],
"operation": {
"invokeMethod": "listTables",
"label": "Fetch Tables"
},
"pagination": true,
"pageSize": 6,
"description": "Select the table to insert into",
"placeholder": "Select table"
},
"columns": {
"label": "Columns",
"key": "columns",
"type": "react-component-sql-columns",
"parse_key": "create_row.columns",
"description": "Column name and value pairs to insert",
"columnSelectorOperation": { "invokeMethod": "listColumns", "label": "Fetch Columns" },
"columnSelectorDependsOn": ["schema", "table"]
}
},
"update_rows": {
"schema": {
"label": "Schema",
"key": "schema",
"type": "dynamic-selector",
"fxEnabled": true,
"operation": {
"invokeMethod": "listSchemas",
"label": "Fetch Schemas"
},
"description": "Select the database schema",
"placeholder": "Select schema"
},
"table": {
"label": "Table",
"key": "table",
"type": "dynamic-selector",
"fxEnabled": true,
"dependsOn": ["schema"],
"operation": {
"invokeMethod": "listTables",
"label": "Fetch Tables"
},
"pagination": true,
"pageSize": 6,
"description": "Select the table to update",
"placeholder": "Select table"
},
"where_filters": {
"label": "Filter",
"key": "where_filters",
"type": "react-component-sql-filters",
"parse_key": "update_rows.where_filters",
"description": "Filter conditions to target rows for update",
"columnSelectorOperation": { "invokeMethod": "listColumns", "label": "Fetch Columns" },
"columnSelectorDependsOn": ["schema", "table"]
},
"columns": {
"label": "Columns",
"key": "columns",
"type": "react-component-sql-columns",
"parse_key": "update_rows.columns",
"description": "Column name and value pairs to update",
"columnSelectorOperation": { "invokeMethod": "listColumns", "label": "Fetch Columns" },
"columnSelectorDependsOn": ["schema", "table"]
},
"allow_multiple_updates": {
"label": "Allow this query to update multiple rows",
"key": "allow_multiple_updates",
"type": "toggle",
"description": "When enabled, the query can modify multiple rows at once"
},
"zero_records_as_success": {
"label": "Consider query that updates zero records as success",
"key": "zero_records_as_success",
"type": "toggle",
"description": "When enabled, a query that matches no rows is still treated as successful"
}
},
"upsert_rows": {
"schema": {
"label": "Schema",
"key": "schema",
"type": "dynamic-selector",
"fxEnabled": true,
"operation": {
"invokeMethod": "listSchemas",
"label": "Fetch Schemas"
},
"description": "Select the database schema",
"placeholder": "Select schema"
},
"table": {
"label": "Table",
"key": "table",
"type": "dynamic-selector",
"fxEnabled": true,
"dependsOn": ["schema"],
"operation": {
"invokeMethod": "listTables",
"label": "Fetch Tables"
},
"pagination": true,
"pageSize": 6,
"description": "Select the table to upsert into",
"placeholder": "Select table"
},
"primary_key_columns": {
"label": "Primary key column(s)",
"key": "primary_key_columns",
"type": "codehinter",
"lineNumbers": false,
"description": "One or more primary key columns used to detect conflicts. Enter a single column name or an array for composite keys.",
[improvement] Query panel redesign (#1947) * query panel headers styles * create query button style update * create query button style update * create query button style update: mixins * querypanel header nav-links updated * querypanel header buttons * restapi: url hinter styles * fixes querypane header width, undo prev styles applied * querypanel header icons margin fix * restapi: header tab * restapi: params tab * restapi: body tab * base url style fixed * added alert component to @/_ui * adds margin top to query-panel tabs * bumped font weight of preview * on hover query style updated * selected query style update and along with dark themed * adds new searchbox component, added search queries * fixes query panel query lists icons margin * query selected hover bg * back icon should not be render if callback is a function * airtable: queries redesigned * stripe: queries redesigned * fixed query-pane header responsiveness * fixes tab title typo * undp/redo select datasource only when mode='create' * removes comments * refactor restapi url codehinter styles * fixes white spaces in query pane and query pane header * minor updates for restapi query options styles * removes tool-tip for lens svg icon for search: query-pane header * adds button loading spinner with primary color * fixes hover bg color for queries * update: query hover bg color to lighter tint * update query list icons: trash and play svgs * adds icons to the selection component * fixes tabs alignments restapi * fixes codehonter text margin: restapi url * fixes advanced-options-container margintop * new UI query: dynamodb * new UI query: elasticsearch * new UI query: firestore * new UI query: mongodb * new UI query: mysql * new UI query: psql * new UI query: typesenseapi * new UI query: gsheet * new UI query: sendgrid * new UI query: twillio * new UI query: gcs * new UI query: minio * new UI query: aws * update query bg color and hover bg color * fixes run query icon for dark theme * fixes input query title text alignment * update query header title * adds search queries placeholder and add icon when search box is displayed * updated No results query text * undo/redo rest-api tabs: fixes whote spaces * undo/redo: rest-api tabs conde hinter placeholder paddinleft * adding new queries when search box component is mounted:fix * fixes creating a new query after filtering queries * fixes dark theme for select search components * reverts query pane header search box with add icon * fixes input left margin * fixes bottom padding rest api tabs * fixes toggle button:not selected in dark theme * fixes typos * fixes preview button spinner size * undo/redo: query-trash-icon.svg for queries and trash.svg for components * query icons badge bg update[options] * icon badge fix * move static styles to theme.scss * restapi: url field height increment * fixes query name when adding a new query with filtered querylist * fixes alignment issues of the query header icon * revert back to 32px code hinter height * adds apdding to code mirror line * updates to react-select * remove component unmounts and mounts side effect
2022-02-02 16:59:57 +00:00
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "e.g. id or {{ [\"id\", \"tenant_id\"] }}"
},
"columns": {
"label": "Columns",
"key": "columns",
"type": "react-component-sql-columns",
"parse_key": "upsert_rows.columns",
"description": "Column name and value pairs to insert or update",
"columnSelectorOperation": { "invokeMethod": "listColumns", "label": "Fetch Columns" },
"columnSelectorDependsOn": ["schema", "table"]
},
"allow_multiple_updates": {
"label": "Allow this query to update multiple rows",
"key": "allow_multiple_updates",
"type": "toggle",
"description": "When enabled, the query can modify multiple rows at once"
},
"zero_records_as_success": {
"label": "Consider query that updates zero records as success",
"key": "zero_records_as_success",
"type": "toggle",
"description": "When enabled, a query that matches no rows is still treated as successful"
}
},
"delete_rows": {
"schema": {
"label": "Schema",
"key": "schema",
"type": "dynamic-selector",
"fxEnabled": true,
"operation": {
"invokeMethod": "listSchemas",
"label": "Fetch Schemas"
},
"description": "Select the database schema",
"placeholder": "Select schema"
},
"table": {
"label": "Table",
"key": "table",
"type": "dynamic-selector",
"fxEnabled": true,
"dependsOn": ["schema"],
"operation": {
"invokeMethod": "listTables",
"label": "Fetch Tables"
},
"pagination": true,
"pageSize": 6,
"description": "Select the table to delete from",
"placeholder": "Select table"
},
"where_filters": {
"label": "Filter",
"key": "where_filters",
"type": "react-component-sql-filters",
"parse_key": "delete_rows.where_filters",
"description": "Filter conditions to target rows for deletion",
"columnSelectorOperation": { "invokeMethod": "listColumns", "label": "Fetch Columns" },
"columnSelectorDependsOn": ["schema", "table"]
},
"limit": {
"label": "Limit",
"key": "limit",
"type": "codehinter",
"lineNumbers": false,
"description": "Maximum number of rows to delete",
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "Enter limit"
},
"zero_records_as_success": {
"label": "Consider query that deletes zero records as success",
"key": "zero_records_as_success",
"type": "toggle",
"description": "When enabled, a query that matches no rows is still treated as successful"
}
},
"bulk_insert": {
"schema": {
"label": "Schema",
"key": "schema",
"type": "dynamic-selector",
"fxEnabled": true,
"operation": {
"invokeMethod": "listSchemas",
"label": "Fetch Schemas"
},
"description": "Select the database schema",
"placeholder": "Select schema"
},
"table": {
"label": "Table",
"key": "table",
"type": "dynamic-selector",
"fxEnabled": true,
"dependsOn": ["schema"],
"operation": {
"invokeMethod": "listTables",
"label": "Fetch Tables"
},
"pagination": true,
"pageSize": 6,
"description": "Select the table to insert into",
"placeholder": "Select table"
},
"records": {
"label": "Records to insert",
"key": "records",
"type": "codehinter",
"description": "Array of row objects to insert",
"height": "150px",
"editorType": "extendedSingleLine",
"placeholder": "{{ [ { id: 1, name: 'Alice' } ] }}"
}
},
"bulk_update_pkey": {
"schema": {
"label": "Schema",
"key": "schema",
"type": "dynamic-selector",
"fxEnabled": true,
"operation": {
"invokeMethod": "listSchemas",
"label": "Fetch Schemas"
},
"description": "Select the database schema",
"placeholder": "Select schema"
},
"table": {
"label": "Table",
"key": "table",
"type": "dynamic-selector",
"fxEnabled": true,
"dependsOn": ["schema"],
"operation": {
"invokeMethod": "listTables",
"label": "Fetch Tables"
},
"pagination": true,
"pageSize": 6,
"description": "Select the table to update",
"placeholder": "Select table"
},
"primary_key_columns": {
"label": "Primary key column(s)",
"key": "primary_key_columns",
"type": "codehinter",
"lineNumbers": false,
"description": "One or more primary key columns. Enter a single column name or an array for composite keys.",
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "e.g. id or {{ [\"id\", \"tenant_id\"] }}"
},
"records": {
Move plugins to root (#1728) * feat: move plugins to root * modify tsconfig * add .gitignore * delete old plugins file * add parcel * docker compose volume mount * add gcs * add typescript to plugins folder * gcs to ts * add dynamodb * add elastic search * add firestore * add gsheets * add graphql * add mongodb * mssql * add mysql * add postgresql * add redis * add s3 * add slack * add stripe * remove plugin related packages from pkgjson * add lib folder * add gitignore * remove typescript generated files * remove generated file * remove generated files * add twilio * add dist to docker compose cache binding * add dist prefix * cleanup - 1 * delete dist * rename to index.ts + add jest config * add it.todo in tests * test fixes * test file changes * fix type checks * add @tooljet/plugins to server package json * esm vs commonjs bug, reduce got to 11.8.2 from 12.0.0 * docker file npm package version fix * add typesense * cleaup - 2 * add sendgrid * add lerna build and clean script for all packages + tsconfig * cleanup -3 * add plugins build step * add missing plugins build step in npm run build * add mssql, mysql & postgres as singleton classes * add db connection to cache only if datasourceId is available * client: add data source schema/manifest files * add query operations files * logic for wrapping form with schema * add script to create index file * add @tooljet/plugins to frontend folder * cleanup 1 -frontend * cleanup - 2 // frontend // data queries * add client and index to gitignore * update gitignore * fix lint & test * update ci * fix unit, e2e * cleanup -3 * fix test * fix tests * fix indent * try npm ci * fix tests * fix typo * fix * rename file for server entry * heroku fix * add main and types entry points in pkg json * move common to root * cleanup - 4: remove redundant $ sign prefix * cleanup - 4: remove redundant $ sign prefix * update options in-sync before DOM is painted * change type cloud to cloud storage * update readme * update ci.yml * update ci yml * add pkg-lock.json * rename index.ts to server.ts * update lock files * add server package.lock * remove unused import * revert commit: add minio * add root dep * import server.ts * remove plugins build step * add npm shrinkwrap * update version - plugins * add new version - 0.0.8 * upgrade version * move to symlinked package * add lock file * feat: add icon inside package * add plugin creation docs * Remove seed * move icons to plugins folder * install pg dep * add react to packages * add seed cmd * revert change * add plugins build in lint, e2e, unit * e2e, lint use npm ci * update dockerfile for plugins * try combining release with web * limit memory on release * try executing seed script post transpile * try executing seed from server directory * update seed execution * add minio * add correct type * add minio to pkg json * remove old file * fix provider key * add python installable + npm ^7.2.0 (#1752) * add python installable + npm ^7.2.0 * add py to prod file * pin npm version to 7.20.0 * pin npm version to 7.20.0 * split into multi stage build and remove python for buildx * copy plugins from buider stage * update dependencies * add freetds dependency * update server dockerfile * update client dockerfile * update dev dockerfile and compose file * fix entrypoint * fix server dev dockerfile * update docker-compose * remove npm install on root dir on docker build * fix heroku script * make lerna prod dependency to enable prod builds * remove redundant env setup Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com> Co-authored-by: navaneeth <navaneethpk@outlook.com>
2022-01-17 07:08:17 +00:00
"label": "Records to update",
"key": "records",
"type": "codehinter",
"description": "Array of row objects to update. Each row must include all primary key column values.",
"height": "150px",
"editorType": "extendedSingleLine",
"placeholder": "{{ [ { id: 1, name: 'Alice' } ] }}"
}
},
"bulk_upsert_pkey": {
"schema": {
"label": "Schema",
"key": "schema",
"type": "dynamic-selector",
"fxEnabled": true,
"operation": {
"invokeMethod": "listSchemas",
"label": "Fetch Schemas"
},
"description": "Select the database schema",
"placeholder": "Select schema"
},
"table": {
"label": "Table",
"key": "table",
"type": "dynamic-selector",
"fxEnabled": true,
"dependsOn": ["schema"],
"operation": {
"invokeMethod": "listTables",
"label": "Fetch Tables"
},
"pagination": true,
"pageSize": 6,
"description": "Select the table to upsert into",
"placeholder": "Select table"
},
"primary_key_columns": {
"label": "Primary key column(s)",
"key": "primary_key_columns",
"type": "codehinter",
"lineNumbers": false,
"description": "One or more primary key columns used to detect conflicts. Enter a single column name or an array for composite keys.",
"height": "36px",
"className": "codehinter-plugins",
"placeholder": "e.g. id or {{ [\"id\", \"tenant_id\"] }}"
},
"records": {
"label": "Records to upsert",
"key": "records",
"type": "codehinter",
"description": "Array of row objects to insert or update. Each row must include all primary key column values.",
"height": "150px",
"editorType": "extendedSingleLine",
"placeholder": "{{ [ { id: 1, name: 'Alice' } ] }}"
}
}
}
}
}