@superblocksteam/shared 0.9407.0 → 0.9408.0
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/dist/plugins/templates/adls.d.ts.map +1 -1
- package/dist/plugins/templates/adls.js +3 -2
- package/dist/plugins/templates/adls.js.map +1 -1
- package/dist/plugins/templates/athena.js +2 -2
- package/dist/plugins/templates/athena.js.map +1 -1
- package/dist/plugins/templates/bigquery.d.ts.map +1 -1
- package/dist/plugins/templates/bigquery.js +2 -2
- package/dist/plugins/templates/bigquery.js.map +1 -1
- package/dist/plugins/templates/box.d.ts.map +1 -1
- package/dist/plugins/templates/box.js +2 -1
- package/dist/plugins/templates/box.js.map +1 -1
- package/dist/plugins/templates/cockroachdb.js +2 -2
- package/dist/plugins/templates/cockroachdb.js.map +1 -1
- package/dist/plugins/templates/constants.d.ts +3 -0
- package/dist/plugins/templates/constants.d.ts.map +1 -1
- package/dist/plugins/templates/constants.js +6 -1
- package/dist/plugins/templates/constants.js.map +1 -1
- package/dist/plugins/templates/cosmosdb.d.ts.map +1 -1
- package/dist/plugins/templates/cosmosdb.js +4 -3
- package/dist/plugins/templates/cosmosdb.js.map +1 -1
- package/dist/plugins/templates/couchbase.d.ts.map +1 -1
- package/dist/plugins/templates/couchbase.js +3 -2
- package/dist/plugins/templates/couchbase.js.map +1 -1
- package/dist/plugins/templates/databricks.js +2 -2
- package/dist/plugins/templates/databricks.js.map +1 -1
- package/dist/plugins/templates/dropbox.d.ts.map +1 -1
- package/dist/plugins/templates/dropbox.js +2 -1
- package/dist/plugins/templates/dropbox.js.map +1 -1
- package/dist/plugins/templates/dynamodb.d.ts.map +1 -1
- package/dist/plugins/templates/dynamodb.js +3 -2
- package/dist/plugins/templates/dynamodb.js.map +1 -1
- package/dist/plugins/templates/elasticsearch.d.ts.map +1 -1
- package/dist/plugins/templates/elasticsearch.js +3 -2
- package/dist/plugins/templates/elasticsearch.js.map +1 -1
- package/dist/plugins/templates/email.d.ts.map +1 -1
- package/dist/plugins/templates/email.js +2 -1
- package/dist/plugins/templates/email.js.map +1 -1
- package/dist/plugins/templates/gcs.js +2 -2
- package/dist/plugins/templates/gcs.js.map +1 -1
- package/dist/plugins/templates/graphql.d.ts.map +1 -1
- package/dist/plugins/templates/graphql.js +3 -2
- package/dist/plugins/templates/graphql.js.map +1 -1
- package/dist/plugins/templates/graphqlintegration.d.ts.map +1 -1
- package/dist/plugins/templates/graphqlintegration.js +2 -1
- package/dist/plugins/templates/graphqlintegration.js.map +1 -1
- package/dist/plugins/templates/gsheets.d.ts.map +1 -1
- package/dist/plugins/templates/gsheets.js +3 -3
- package/dist/plugins/templates/gsheets.js.map +1 -1
- package/dist/plugins/templates/javascript.d.ts.map +1 -1
- package/dist/plugins/templates/javascript.js +2 -1
- package/dist/plugins/templates/javascript.js.map +1 -1
- package/dist/plugins/templates/kafka.d.ts.map +1 -1
- package/dist/plugins/templates/kafka.js +6 -5
- package/dist/plugins/templates/kafka.js.map +1 -1
- package/dist/plugins/templates/kinesis.d.ts.map +1 -1
- package/dist/plugins/templates/kinesis.js +3 -2
- package/dist/plugins/templates/kinesis.js.map +1 -1
- package/dist/plugins/templates/mariadb.js +2 -2
- package/dist/plugins/templates/mariadb.js.map +1 -1
- package/dist/plugins/templates/mongodb.d.ts.map +1 -1
- package/dist/plugins/templates/mongodb.js +3 -2
- package/dist/plugins/templates/mongodb.js.map +1 -1
- package/dist/plugins/templates/mssql.js +3 -3
- package/dist/plugins/templates/mssql.js.map +1 -1
- package/dist/plugins/templates/mysql.js +2 -2
- package/dist/plugins/templates/mysql.js.map +1 -1
- package/dist/plugins/templates/openai.d.ts.map +1 -1
- package/dist/plugins/templates/openai.js +3 -3
- package/dist/plugins/templates/openai.js.map +1 -1
- package/dist/plugins/templates/oracledb.js +3 -3
- package/dist/plugins/templates/oracledb.js.map +1 -1
- package/dist/plugins/templates/postgres.js +2 -2
- package/dist/plugins/templates/postgres.js.map +1 -1
- package/dist/plugins/templates/python.d.ts.map +1 -1
- package/dist/plugins/templates/python.js +2 -1
- package/dist/plugins/templates/python.js.map +1 -1
- package/dist/plugins/templates/redis.d.ts.map +1 -1
- package/dist/plugins/templates/redis.js +5 -4
- package/dist/plugins/templates/redis.js.map +1 -1
- package/dist/plugins/templates/redshift.js +3 -3
- package/dist/plugins/templates/redshift.js.map +1 -1
- package/dist/plugins/templates/restApi.d.ts.map +1 -1
- package/dist/plugins/templates/restApi.js +3 -2
- package/dist/plugins/templates/restApi.js.map +1 -1
- package/dist/plugins/templates/restApiIntegration.d.ts.map +1 -1
- package/dist/plugins/templates/restApiIntegration.js +3 -2
- package/dist/plugins/templates/restApiIntegration.js.map +1 -1
- package/dist/plugins/templates/rockset.d.ts.map +1 -1
- package/dist/plugins/templates/rockset.js +3 -2
- package/dist/plugins/templates/rockset.js.map +1 -1
- package/dist/plugins/templates/s3.d.ts.map +1 -1
- package/dist/plugins/templates/s3.js +3 -2
- package/dist/plugins/templates/s3.js.map +1 -1
- package/dist/plugins/templates/salesforce.d.ts.map +1 -1
- package/dist/plugins/templates/salesforce.js +3 -2
- package/dist/plugins/templates/salesforce.js.map +1 -1
- package/dist/plugins/templates/secrets/akeylessSecretsManager.d.ts.map +1 -1
- package/dist/plugins/templates/secrets/akeylessSecretsManager.js +2 -2
- package/dist/plugins/templates/secrets/akeylessSecretsManager.js.map +1 -1
- package/dist/plugins/templates/secrets/awsSecretsManager.d.ts.map +1 -1
- package/dist/plugins/templates/secrets/awsSecretsManager.js +2 -1
- package/dist/plugins/templates/secrets/awsSecretsManager.js.map +1 -1
- package/dist/plugins/templates/secrets/gcpSecretsManager.js +1 -1
- package/dist/plugins/templates/secrets/gcpSecretsManager.js.map +1 -1
- package/dist/plugins/templates/secrets/hashicorpVault.d.ts.map +1 -1
- package/dist/plugins/templates/secrets/hashicorpVault.js +2 -1
- package/dist/plugins/templates/secrets/hashicorpVault.js.map +1 -1
- package/dist/plugins/templates/shared/openapi.d.ts +0 -1
- package/dist/plugins/templates/shared/openapi.d.ts.map +1 -1
- package/dist/plugins/templates/shared/openapi.js +5 -5
- package/dist/plugins/templates/shared/openapi.js.map +1 -1
- package/dist/plugins/templates/smtp.d.ts.map +1 -1
- package/dist/plugins/templates/smtp.js +3 -1
- package/dist/plugins/templates/smtp.js.map +1 -1
- package/dist/plugins/templates/snowflake.js +2 -2
- package/dist/plugins/templates/snowflake.js.map +1 -1
- package/dist/plugins/templates/superblocks-ocr.d.ts.map +1 -1
- package/dist/plugins/templates/superblocks-ocr.js +3 -2
- package/dist/plugins/templates/superblocks-ocr.js.map +1 -1
- package/dist/plugins/templates/workflow.d.ts.map +1 -1
- package/dist/plugins/templates/workflow.js +2 -1
- package/dist/plugins/templates/workflow.js.map +1 -1
- package/dist/plugins/templates/zoom.d.ts.map +1 -1
- package/dist/plugins/templates/zoom.js +2 -1
- package/dist/plugins/templates/zoom.js.map +1 -1
- package/dist-esm/plugins/templates/adls.d.ts.map +1 -1
- package/dist-esm/plugins/templates/adls.js +3 -2
- package/dist-esm/plugins/templates/adls.js.map +1 -1
- package/dist-esm/plugins/templates/athena.js +3 -3
- package/dist-esm/plugins/templates/athena.js.map +1 -1
- package/dist-esm/plugins/templates/bigquery.d.ts.map +1 -1
- package/dist-esm/plugins/templates/bigquery.js +3 -3
- package/dist-esm/plugins/templates/bigquery.js.map +1 -1
- package/dist-esm/plugins/templates/box.d.ts.map +1 -1
- package/dist-esm/plugins/templates/box.js +3 -2
- package/dist-esm/plugins/templates/box.js.map +1 -1
- package/dist-esm/plugins/templates/cockroachdb.js +3 -3
- package/dist-esm/plugins/templates/cockroachdb.js.map +1 -1
- package/dist-esm/plugins/templates/constants.d.ts +3 -0
- package/dist-esm/plugins/templates/constants.d.ts.map +1 -1
- package/dist-esm/plugins/templates/constants.js +5 -0
- package/dist-esm/plugins/templates/constants.js.map +1 -1
- package/dist-esm/plugins/templates/cosmosdb.d.ts.map +1 -1
- package/dist-esm/plugins/templates/cosmosdb.js +4 -3
- package/dist-esm/plugins/templates/cosmosdb.js.map +1 -1
- package/dist-esm/plugins/templates/couchbase.d.ts.map +1 -1
- package/dist-esm/plugins/templates/couchbase.js +3 -2
- package/dist-esm/plugins/templates/couchbase.js.map +1 -1
- package/dist-esm/plugins/templates/databricks.js +3 -3
- package/dist-esm/plugins/templates/databricks.js.map +1 -1
- package/dist-esm/plugins/templates/dropbox.d.ts.map +1 -1
- package/dist-esm/plugins/templates/dropbox.js +3 -2
- package/dist-esm/plugins/templates/dropbox.js.map +1 -1
- package/dist-esm/plugins/templates/dynamodb.d.ts.map +1 -1
- package/dist-esm/plugins/templates/dynamodb.js +3 -2
- package/dist-esm/plugins/templates/dynamodb.js.map +1 -1
- package/dist-esm/plugins/templates/elasticsearch.d.ts.map +1 -1
- package/dist-esm/plugins/templates/elasticsearch.js +3 -2
- package/dist-esm/plugins/templates/elasticsearch.js.map +1 -1
- package/dist-esm/plugins/templates/email.d.ts.map +1 -1
- package/dist-esm/plugins/templates/email.js +2 -1
- package/dist-esm/plugins/templates/email.js.map +1 -1
- package/dist-esm/plugins/templates/gcs.js +3 -3
- package/dist-esm/plugins/templates/gcs.js.map +1 -1
- package/dist-esm/plugins/templates/graphql.d.ts.map +1 -1
- package/dist-esm/plugins/templates/graphql.js +3 -2
- package/dist-esm/plugins/templates/graphql.js.map +1 -1
- package/dist-esm/plugins/templates/graphqlintegration.d.ts.map +1 -1
- package/dist-esm/plugins/templates/graphqlintegration.js +2 -1
- package/dist-esm/plugins/templates/graphqlintegration.js.map +1 -1
- package/dist-esm/plugins/templates/gsheets.d.ts.map +1 -1
- package/dist-esm/plugins/templates/gsheets.js +4 -4
- package/dist-esm/plugins/templates/gsheets.js.map +1 -1
- package/dist-esm/plugins/templates/javascript.d.ts.map +1 -1
- package/dist-esm/plugins/templates/javascript.js +2 -1
- package/dist-esm/plugins/templates/javascript.js.map +1 -1
- package/dist-esm/plugins/templates/kafka.d.ts.map +1 -1
- package/dist-esm/plugins/templates/kafka.js +6 -5
- package/dist-esm/plugins/templates/kafka.js.map +1 -1
- package/dist-esm/plugins/templates/kinesis.d.ts.map +1 -1
- package/dist-esm/plugins/templates/kinesis.js +3 -2
- package/dist-esm/plugins/templates/kinesis.js.map +1 -1
- package/dist-esm/plugins/templates/mariadb.js +3 -3
- package/dist-esm/plugins/templates/mariadb.js.map +1 -1
- package/dist-esm/plugins/templates/mongodb.d.ts.map +1 -1
- package/dist-esm/plugins/templates/mongodb.js +3 -2
- package/dist-esm/plugins/templates/mongodb.js.map +1 -1
- package/dist-esm/plugins/templates/mssql.js +4 -4
- package/dist-esm/plugins/templates/mssql.js.map +1 -1
- package/dist-esm/plugins/templates/mysql.js +3 -3
- package/dist-esm/plugins/templates/mysql.js.map +1 -1
- package/dist-esm/plugins/templates/openai.d.ts.map +1 -1
- package/dist-esm/plugins/templates/openai.js +4 -4
- package/dist-esm/plugins/templates/openai.js.map +1 -1
- package/dist-esm/plugins/templates/oracledb.js +4 -4
- package/dist-esm/plugins/templates/oracledb.js.map +1 -1
- package/dist-esm/plugins/templates/postgres.js +3 -3
- package/dist-esm/plugins/templates/postgres.js.map +1 -1
- package/dist-esm/plugins/templates/python.d.ts.map +1 -1
- package/dist-esm/plugins/templates/python.js +2 -1
- package/dist-esm/plugins/templates/python.js.map +1 -1
- package/dist-esm/plugins/templates/redis.d.ts.map +1 -1
- package/dist-esm/plugins/templates/redis.js +5 -4
- package/dist-esm/plugins/templates/redis.js.map +1 -1
- package/dist-esm/plugins/templates/redshift.js +4 -4
- package/dist-esm/plugins/templates/redshift.js.map +1 -1
- package/dist-esm/plugins/templates/restApi.d.ts.map +1 -1
- package/dist-esm/plugins/templates/restApi.js +3 -2
- package/dist-esm/plugins/templates/restApi.js.map +1 -1
- package/dist-esm/plugins/templates/restApiIntegration.d.ts.map +1 -1
- package/dist-esm/plugins/templates/restApiIntegration.js +3 -2
- package/dist-esm/plugins/templates/restApiIntegration.js.map +1 -1
- package/dist-esm/plugins/templates/rockset.d.ts.map +1 -1
- package/dist-esm/plugins/templates/rockset.js +3 -2
- package/dist-esm/plugins/templates/rockset.js.map +1 -1
- package/dist-esm/plugins/templates/s3.d.ts.map +1 -1
- package/dist-esm/plugins/templates/s3.js +3 -2
- package/dist-esm/plugins/templates/s3.js.map +1 -1
- package/dist-esm/plugins/templates/salesforce.d.ts.map +1 -1
- package/dist-esm/plugins/templates/salesforce.js +3 -2
- package/dist-esm/plugins/templates/salesforce.js.map +1 -1
- package/dist-esm/plugins/templates/secrets/akeylessSecretsManager.d.ts.map +1 -1
- package/dist-esm/plugins/templates/secrets/akeylessSecretsManager.js +2 -2
- package/dist-esm/plugins/templates/secrets/akeylessSecretsManager.js.map +1 -1
- package/dist-esm/plugins/templates/secrets/awsSecretsManager.d.ts.map +1 -1
- package/dist-esm/plugins/templates/secrets/awsSecretsManager.js +2 -1
- package/dist-esm/plugins/templates/secrets/awsSecretsManager.js.map +1 -1
- package/dist-esm/plugins/templates/secrets/gcpSecretsManager.js +2 -2
- package/dist-esm/plugins/templates/secrets/gcpSecretsManager.js.map +1 -1
- package/dist-esm/plugins/templates/secrets/hashicorpVault.d.ts.map +1 -1
- package/dist-esm/plugins/templates/secrets/hashicorpVault.js +2 -1
- package/dist-esm/plugins/templates/secrets/hashicorpVault.js.map +1 -1
- package/dist-esm/plugins/templates/shared/openapi.d.ts +0 -1
- package/dist-esm/plugins/templates/shared/openapi.d.ts.map +1 -1
- package/dist-esm/plugins/templates/shared/openapi.js +3 -3
- package/dist-esm/plugins/templates/shared/openapi.js.map +1 -1
- package/dist-esm/plugins/templates/smtp.d.ts.map +1 -1
- package/dist-esm/plugins/templates/smtp.js +3 -1
- package/dist-esm/plugins/templates/smtp.js.map +1 -1
- package/dist-esm/plugins/templates/snowflake.js +3 -3
- package/dist-esm/plugins/templates/snowflake.js.map +1 -1
- package/dist-esm/plugins/templates/superblocks-ocr.d.ts.map +1 -1
- package/dist-esm/plugins/templates/superblocks-ocr.js +3 -2
- package/dist-esm/plugins/templates/superblocks-ocr.js.map +1 -1
- package/dist-esm/plugins/templates/workflow.d.ts.map +1 -1
- package/dist-esm/plugins/templates/workflow.js +2 -1
- package/dist-esm/plugins/templates/workflow.js.map +1 -1
- package/dist-esm/plugins/templates/zoom.d.ts.map +1 -1
- package/dist-esm/plugins/templates/zoom.js +3 -2
- package/dist-esm/plugins/templates/zoom.js.map +1 -1
- package/package.json +1 -1
- package/src/plugins/templates/adls.ts +3 -2
- package/src/plugins/templates/athena.ts +3 -3
- package/src/plugins/templates/bigquery.ts +9 -3
- package/src/plugins/templates/box.ts +3 -2
- package/src/plugins/templates/cockroachdb.ts +3 -3
- package/src/plugins/templates/constants.ts +6 -0
- package/src/plugins/templates/cosmosdb.ts +4 -3
- package/src/plugins/templates/couchbase.ts +3 -2
- package/src/plugins/templates/databricks.ts +3 -3
- package/src/plugins/templates/dropbox.ts +3 -2
- package/src/plugins/templates/dynamodb.ts +3 -2
- package/src/plugins/templates/elasticsearch.ts +3 -2
- package/src/plugins/templates/email.ts +2 -1
- package/src/plugins/templates/gcs.ts +3 -3
- package/src/plugins/templates/graphql.ts +3 -2
- package/src/plugins/templates/graphqlintegration.ts +2 -1
- package/src/plugins/templates/gsheets.ts +4 -5
- package/src/plugins/templates/javascript.ts +2 -1
- package/src/plugins/templates/kafka.ts +11 -10
- package/src/plugins/templates/kinesis.ts +3 -2
- package/src/plugins/templates/mariadb.ts +3 -3
- package/src/plugins/templates/mongodb.ts +3 -2
- package/src/plugins/templates/mssql.ts +4 -4
- package/src/plugins/templates/mysql.ts +3 -3
- package/src/plugins/templates/openai.ts +6 -4
- package/src/plugins/templates/oracledb.ts +4 -4
- package/src/plugins/templates/postgres.ts +3 -3
- package/src/plugins/templates/python.ts +2 -1
- package/src/plugins/templates/redis.ts +9 -12
- package/src/plugins/templates/redshift.ts +4 -4
- package/src/plugins/templates/restApi.ts +3 -2
- package/src/plugins/templates/restApiIntegration.ts +3 -2
- package/src/plugins/templates/rockset.ts +3 -2
- package/src/plugins/templates/s3.ts +3 -2
- package/src/plugins/templates/salesforce.ts +3 -2
- package/src/plugins/templates/secrets/akeylessSecretsManager.ts +2 -2
- package/src/plugins/templates/secrets/awsSecretsManager.ts +2 -1
- package/src/plugins/templates/secrets/gcpSecretsManager.ts +2 -2
- package/src/plugins/templates/secrets/hashicorpVault.ts +2 -1
- package/src/plugins/templates/shared/openapi.ts +3 -4
- package/src/plugins/templates/smtp.ts +3 -1
- package/src/plugins/templates/snowflake.ts +3 -3
- package/src/plugins/templates/superblocks-ocr.ts +3 -2
- package/src/plugins/templates/workflow.ts +2 -1
- package/src/plugins/templates/zoom.ts +3 -2
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
PluginType
|
|
10
10
|
} from '../../types';
|
|
11
11
|
|
|
12
|
-
import { SERVICE_ACCOUNT_GHOST_TEXT } from './constants';
|
|
12
|
+
import { SERVICE_ACCOUNT_GHOST_TEXT, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants';
|
|
13
13
|
import { authSections } from './shared/auth';
|
|
14
14
|
import { markAsDeprecated, sortByDisplayName } from './utils';
|
|
15
15
|
|
|
@@ -107,8 +107,8 @@ export const GoogleSheetsPlugin = (googleSheetsClientId: string): Plugin => {
|
|
|
107
107
|
name: 'Google Sheets',
|
|
108
108
|
moduleName: 'GoogleSheetsPlugin',
|
|
109
109
|
modulePath: 'plugins/gsheets/GoogleSheetsPlugin',
|
|
110
|
-
iconLocation:
|
|
111
|
-
docsUrl:
|
|
110
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/gsheets.png`,
|
|
111
|
+
docsUrl: `${DOCS_BASE_URL}/google-sheets`,
|
|
112
112
|
type: PluginType.API,
|
|
113
113
|
responseType: PluginResponseType.TABLE,
|
|
114
114
|
responseTypeOverride: {
|
|
@@ -499,8 +499,7 @@ export const GoogleSheetsPlugin = (googleSheetsClientId: string): Plugin => {
|
|
|
499
499
|
}
|
|
500
500
|
},
|
|
501
501
|
tooltip: {
|
|
502
|
-
markdownText:
|
|
503
|
-
'Write rows either at the end of the spreadsheet or at the specified row number. [See an example in docs](https://docs.superblocks.com/integrations/integrations-library/google-sheets)'
|
|
502
|
+
markdownText: `Write rows either at the end of the spreadsheet or at the specified row number. [See an example in docs](${DOCS_BASE_URL}/google-sheets)`
|
|
504
503
|
},
|
|
505
504
|
rules: [{ required: true, message: 'An array of one or more row objects is required' }]
|
|
506
505
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EditorLanguage, FormComponentType, LanguagePluginID, Plugin, PluginResponseType, PluginType } from '../../types';
|
|
2
|
+
import { PUBLIC_INTEGRATIONS_LOGO_URL } from './constants';
|
|
2
3
|
|
|
3
4
|
export const JavascriptPluginVersions = {
|
|
4
5
|
V1: '0.0.1'
|
|
@@ -9,7 +10,7 @@ export const JavascriptPlugin: Plugin = {
|
|
|
9
10
|
name: 'JavaScript',
|
|
10
11
|
moduleName: 'JavascriptPlugin',
|
|
11
12
|
modulePath: 'plugins/javascript/JavascriptPlugin',
|
|
12
|
-
iconLocation:
|
|
13
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/javascript.png`,
|
|
13
14
|
type: PluginType.CODE,
|
|
14
15
|
responseType: PluginResponseType.JSON,
|
|
15
16
|
hasRawRequest: true,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { KafkaV1 as Kafka } from '@superblocksteam/types';
|
|
2
2
|
import { EditorLanguage, FormComponentType, InputDataType, Plugin, PluginResponseType, PluginType } from '../../types';
|
|
3
|
+
import { PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants';
|
|
3
4
|
export const KafkaPluginVersions = {
|
|
4
5
|
V1: '0.0.1'
|
|
5
6
|
};
|
|
@@ -71,40 +72,40 @@ const makeDropdownItem = (value: string, displayName?: string, subText?: string)
|
|
|
71
72
|
export const ConfluentPlugin = generateKafkaPlugin(
|
|
72
73
|
'confluent',
|
|
73
74
|
'Confluent',
|
|
74
|
-
|
|
75
|
-
|
|
75
|
+
`${PUBLIC_INTEGRATIONS_LOGO_URL}/confluent.png`,
|
|
76
|
+
`${DOCS_BASE_URL}/confluent`,
|
|
76
77
|
EXCLUDE_AWS_SASL_MECHANISMS_AND_DISPLAY_NAMES
|
|
77
78
|
);
|
|
78
79
|
|
|
79
80
|
export const KafkaPlugin = generateKafkaPlugin(
|
|
80
81
|
'kafka',
|
|
81
82
|
'Kafka',
|
|
82
|
-
|
|
83
|
-
|
|
83
|
+
`${PUBLIC_INTEGRATIONS_LOGO_URL}/kafka.png`,
|
|
84
|
+
`${DOCS_BASE_URL}/kafka`,
|
|
84
85
|
ALL_SASL_MECHANISMS_AND_DISPLAY_NAMES
|
|
85
86
|
);
|
|
86
87
|
|
|
87
88
|
export const AivenPlugin = generateKafkaPlugin(
|
|
88
89
|
'aivenkafka',
|
|
89
90
|
'Aiven for Apache Kafka',
|
|
90
|
-
|
|
91
|
-
|
|
91
|
+
`${PUBLIC_INTEGRATIONS_LOGO_URL}/aiven_kafka.png`,
|
|
92
|
+
`${DOCS_BASE_URL}/aivenkafka`,
|
|
92
93
|
EXCLUDE_AWS_SASL_MECHANISMS_AND_DISPLAY_NAMES
|
|
93
94
|
);
|
|
94
95
|
|
|
95
96
|
export const MskPlugin = generateKafkaPlugin(
|
|
96
97
|
'msk',
|
|
97
98
|
'MSK',
|
|
98
|
-
|
|
99
|
-
|
|
99
|
+
`${PUBLIC_INTEGRATIONS_LOGO_URL}/msk.png`,
|
|
100
|
+
`${DOCS_BASE_URL}/msk`,
|
|
100
101
|
ALL_SASL_MECHANISMS_AND_DISPLAY_NAMES
|
|
101
102
|
);
|
|
102
103
|
|
|
103
104
|
export const RedpandaPlugin = generateKafkaPlugin(
|
|
104
105
|
'redpanda',
|
|
105
106
|
'Redpanda',
|
|
106
|
-
|
|
107
|
-
|
|
107
|
+
`${PUBLIC_INTEGRATIONS_LOGO_URL}/redpanda.png`,
|
|
108
|
+
`${DOCS_BASE_URL}/redpanda`,
|
|
108
109
|
EXCLUDE_AWS_SASL_MECHANISMS_AND_DISPLAY_NAMES
|
|
109
110
|
);
|
|
110
111
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FormItem, EditorLanguage, FormComponentType, InputDataType, Plugin, PluginResponseType, PluginType } from '../../types';
|
|
2
|
+
import { PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants';
|
|
2
3
|
export const KinesisPluginVersions = {
|
|
3
4
|
V1: '0.0.1'
|
|
4
5
|
};
|
|
@@ -105,8 +106,8 @@ export const KinesisPlugin: Plugin = {
|
|
|
105
106
|
name: 'Amazon Kinesis',
|
|
106
107
|
moduleName: KINESIS_MODULE_NAME,
|
|
107
108
|
modulePath: 'plugins/kinesis/KinesisPlugin',
|
|
108
|
-
iconLocation:
|
|
109
|
-
docsUrl:
|
|
109
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/kinesis.png`,
|
|
110
|
+
docsUrl: `${DOCS_BASE_URL}/kinesis`,
|
|
110
111
|
type: PluginType.API,
|
|
111
112
|
responseType: PluginResponseType.JSON,
|
|
112
113
|
hasRawRequest: false,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
PluginResponseType,
|
|
9
9
|
PluginType
|
|
10
10
|
} from '../../types';
|
|
11
|
-
import { PARAMETERIZED_SQL_DESCRIPTION } from './constants';
|
|
11
|
+
import { PARAMETERIZED_SQL_DESCRIPTION, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants';
|
|
12
12
|
import { SqlOperations } from './shared';
|
|
13
13
|
import { CONNECTION_METHODS_AND_DISPLAY_NAMES, makeDropdownItem } from './shared/db';
|
|
14
14
|
|
|
@@ -115,8 +115,8 @@ export const MariaDBPlugin: Plugin = {
|
|
|
115
115
|
name: 'MariaDB',
|
|
116
116
|
moduleName: 'MariaDBPlugin',
|
|
117
117
|
modulePath: 'plugins/mariadb/MariaDBPlugin',
|
|
118
|
-
iconLocation:
|
|
119
|
-
docsUrl:
|
|
118
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/mariadb.png`,
|
|
119
|
+
docsUrl: `${DOCS_BASE_URL}/mariadb`,
|
|
120
120
|
type: PluginType.DB,
|
|
121
121
|
responseType: PluginResponseType.TABLE,
|
|
122
122
|
hasRawRequest: true,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EditorLanguage, FormComponentType, Plugin, PluginResponseType, PluginType } from '../../types';
|
|
2
|
+
import { PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants';
|
|
2
3
|
|
|
3
4
|
export const MongoDBPluginVersions = {
|
|
4
5
|
V1: '0.0.1',
|
|
@@ -26,8 +27,8 @@ export const MongoDBPlugin: Plugin = {
|
|
|
26
27
|
name: 'MongoDB',
|
|
27
28
|
moduleName: 'MongoDBPlugin',
|
|
28
29
|
modulePath: 'plugins/mongodb/MongoDBPlugin',
|
|
29
|
-
iconLocation:
|
|
30
|
-
docsUrl:
|
|
30
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/mongodb.png`,
|
|
31
|
+
docsUrl: `${DOCS_BASE_URL}/mongodb`,
|
|
31
32
|
type: PluginType.DB,
|
|
32
33
|
responseType: PluginResponseType.JSON,
|
|
33
34
|
hasRawRequest: true,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
PluginResponseType,
|
|
9
9
|
PluginType
|
|
10
10
|
} from '../../types';
|
|
11
|
-
import { PARAMETERIZED_SQL_DESCRIPTION } from './constants';
|
|
11
|
+
import { PARAMETERIZED_SQL_DESCRIPTION, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants';
|
|
12
12
|
import { SqlOperations } from './shared';
|
|
13
13
|
import { CONNECTION_METHODS_AND_DISPLAY_NAMES, makeDropdownItem } from './shared/db';
|
|
14
14
|
|
|
@@ -66,11 +66,11 @@ const BASE_ENABLE_SSL = {
|
|
|
66
66
|
|
|
67
67
|
export const MicrosoftSQLPlugin: Plugin = {
|
|
68
68
|
id: 'mssql',
|
|
69
|
-
name: 'Microsoft SQL',
|
|
69
|
+
name: 'Microsoft SQL Server',
|
|
70
70
|
moduleName: 'MicrosoftSQLPlugin',
|
|
71
71
|
modulePath: 'plugins/mssql/MicrosoftSQLPlugin',
|
|
72
|
-
iconLocation:
|
|
73
|
-
docsUrl:
|
|
72
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/mssql.png`,
|
|
73
|
+
docsUrl: `${DOCS_BASE_URL}/mssql`,
|
|
74
74
|
type: PluginType.DB,
|
|
75
75
|
responseType: PluginResponseType.TABLE,
|
|
76
76
|
hasRawRequest: true,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
PluginResponseType,
|
|
9
9
|
PluginType
|
|
10
10
|
} from '../../types';
|
|
11
|
-
import { PARAMETERIZED_SQL_DESCRIPTION } from './constants';
|
|
11
|
+
import { PARAMETERIZED_SQL_DESCRIPTION, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants';
|
|
12
12
|
import { SqlOperations, sshTunnelSections } from './shared';
|
|
13
13
|
import { CONNECTION_METHODS_AND_DISPLAY_NAMES, makeDropdownItem } from './shared/db';
|
|
14
14
|
|
|
@@ -121,8 +121,8 @@ export const MySQLPlugin: Plugin = {
|
|
|
121
121
|
name: 'MySQL',
|
|
122
122
|
moduleName: 'MySQLPlugin',
|
|
123
123
|
modulePath: 'plugins/mysql/MySQLPlugin',
|
|
124
|
-
iconLocation:
|
|
125
|
-
docsUrl:
|
|
124
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/mysql.png`,
|
|
125
|
+
docsUrl: `${DOCS_BASE_URL}/mysql`,
|
|
126
126
|
type: PluginType.DB,
|
|
127
127
|
responseType: PluginResponseType.TABLE,
|
|
128
128
|
hasRawRequest: true,
|
|
@@ -20,7 +20,9 @@ import {
|
|
|
20
20
|
OPEN_AI_MODEL,
|
|
21
21
|
OPEN_AI_SUPPORTED_IMAGE_SIZES,
|
|
22
22
|
OPEN_AI_TRANSCRIBE_LANGUAGES_AND_ISO_639_1_CODES,
|
|
23
|
-
TEXT_COMPLETION_AI_MODELS_AND_DESCRIPTIONS
|
|
23
|
+
TEXT_COMPLETION_AI_MODELS_AND_DESCRIPTIONS,
|
|
24
|
+
PUBLIC_INTEGRATIONS_LOGO_URL,
|
|
25
|
+
DOCS_BASE_URL
|
|
24
26
|
} from './constants';
|
|
25
27
|
|
|
26
28
|
export const OpenAiPluginVersions = {
|
|
@@ -53,13 +55,13 @@ export const OpenAiPlugin: Plugin = {
|
|
|
53
55
|
name: 'OpenAI',
|
|
54
56
|
moduleName: 'OpenAiPlugin',
|
|
55
57
|
modulePath: 'plugins/openai/OpenAiPlugin',
|
|
56
|
-
iconLocation:
|
|
57
|
-
docsUrl:
|
|
58
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/openai_logo.png`,
|
|
59
|
+
docsUrl: `${DOCS_BASE_URL}/openai`,
|
|
58
60
|
isStreamable: true,
|
|
59
61
|
actionFormDocLinks: [
|
|
60
62
|
{
|
|
61
63
|
name: 'View Superblocks Docs',
|
|
62
|
-
url:
|
|
64
|
+
url: `${DOCS_BASE_URL}/openai`
|
|
63
65
|
},
|
|
64
66
|
// Chat GPT
|
|
65
67
|
{
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
PluginResponseType,
|
|
9
9
|
PluginType
|
|
10
10
|
} from '../../types';
|
|
11
|
-
import { PARAMETERIZED_SQL_DESCRIPTION } from './constants';
|
|
11
|
+
import { PARAMETERIZED_SQL_DESCRIPTION, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants';
|
|
12
12
|
import { CONNECTION_METHODS_AND_DISPLAY_NAMES, makeDropdownItem } from './shared/db';
|
|
13
13
|
|
|
14
14
|
export const OracleDbPluginVersions = {
|
|
@@ -49,11 +49,11 @@ const BASE_ENABLE_TCPS = {
|
|
|
49
49
|
|
|
50
50
|
export const OracleDbPlugin: Plugin = {
|
|
51
51
|
id: 'oracledb',
|
|
52
|
-
name: 'Oracle
|
|
52
|
+
name: 'Oracle Database',
|
|
53
53
|
moduleName: 'OracleDbPlugin',
|
|
54
54
|
modulePath: 'plugins/oracledb/OracleDbPlugin',
|
|
55
|
-
iconLocation:
|
|
56
|
-
docsUrl:
|
|
55
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/oracledb.png`,
|
|
56
|
+
docsUrl: `${DOCS_BASE_URL}/oracledb`,
|
|
57
57
|
type: PluginType.DB,
|
|
58
58
|
responseType: PluginResponseType.TABLE,
|
|
59
59
|
hasRawRequest: true,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
PluginResponseType,
|
|
9
9
|
PluginType
|
|
10
10
|
} from '../../types';
|
|
11
|
-
import { PARAMETERIZED_SQL_DESCRIPTION } from './constants';
|
|
11
|
+
import { PARAMETERIZED_SQL_DESCRIPTION, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants';
|
|
12
12
|
import { SqlOperations, sshTunnelSections } from './shared';
|
|
13
13
|
import { CONNECTION_METHODS_AND_DISPLAY_NAMES, makeDropdownItem } from './shared/db';
|
|
14
14
|
|
|
@@ -115,8 +115,8 @@ export const PostgresPlugin: Plugin = {
|
|
|
115
115
|
name: 'PostgreSQL',
|
|
116
116
|
moduleName: 'PostgresPlugin',
|
|
117
117
|
modulePath: 'plugins/postgres/PostgresPlugin',
|
|
118
|
-
iconLocation:
|
|
119
|
-
docsUrl:
|
|
118
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/postgres.png`,
|
|
119
|
+
docsUrl: `${DOCS_BASE_URL}/postgres`,
|
|
120
120
|
type: PluginType.DB,
|
|
121
121
|
responseType: PluginResponseType.TABLE,
|
|
122
122
|
hasRawRequest: true,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EditorLanguage, FormComponentType, LanguagePluginID, Plugin, PluginResponseType, PluginType } from '../../types';
|
|
2
|
+
import { PUBLIC_INTEGRATIONS_LOGO_URL } from './constants';
|
|
2
3
|
|
|
3
4
|
export const PythonPluginVersions = {
|
|
4
5
|
V1: '0.0.1'
|
|
@@ -9,7 +10,7 @@ export const PythonPlugin: Plugin = {
|
|
|
9
10
|
name: 'Python',
|
|
10
11
|
moduleName: 'PythonPlugin',
|
|
11
12
|
modulePath: 'plugins/python/PythonPlugin',
|
|
12
|
-
iconLocation:
|
|
13
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/python.png`,
|
|
13
14
|
type: PluginType.CODE,
|
|
14
15
|
responseType: PluginResponseType.JSON,
|
|
15
16
|
hasRawRequest: true,
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { FormComponentType, InputDataType, Plugin, PluginResponseType, PluginType } from '../../types';
|
|
2
|
+
import { PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants';
|
|
3
|
+
|
|
2
4
|
export const RedisPluginVersions = {
|
|
3
5
|
V1: '0.0.1'
|
|
4
6
|
};
|
|
@@ -75,33 +77,28 @@ const makeDropdownItem = (value: string, displayName?: string, subText?: string)
|
|
|
75
77
|
|
|
76
78
|
// NOTE: (joey) make sure these docs are done pre-release
|
|
77
79
|
|
|
78
|
-
export const RedisPlugin = generateRedisPlugin(
|
|
79
|
-
'redis',
|
|
80
|
-
'Redis',
|
|
81
|
-
'https://superblocks.s3.us-west-2.amazonaws.com/img/integrations/redis.png',
|
|
82
|
-
'https://docs.superblocks.com/integrations/integrations-library/redis'
|
|
83
|
-
);
|
|
80
|
+
export const RedisPlugin = generateRedisPlugin('redis', 'Redis', `${PUBLIC_INTEGRATIONS_LOGO_URL}/redis.png`, `${DOCS_BASE_URL}/redis`);
|
|
84
81
|
|
|
85
82
|
// NOTE (joey) this has the same logo as redis
|
|
86
83
|
export const RedisCloudPlugin = generateRedisPlugin(
|
|
87
84
|
'rediscloud',
|
|
88
85
|
'Redis Cloud',
|
|
89
|
-
|
|
90
|
-
|
|
86
|
+
`${PUBLIC_INTEGRATIONS_LOGO_URL}/redis.png`,
|
|
87
|
+
`${DOCS_BASE_URL}/rediscloud`
|
|
91
88
|
);
|
|
92
89
|
|
|
93
90
|
export const AwsElasticachePlugin = generateRedisPlugin(
|
|
94
91
|
'awselasticache',
|
|
95
92
|
'Amazon Elasticache for Redis',
|
|
96
|
-
|
|
97
|
-
|
|
93
|
+
`${PUBLIC_INTEGRATIONS_LOGO_URL}/awselasticache.png`,
|
|
94
|
+
`${DOCS_BASE_URL}/awselasticache`
|
|
98
95
|
);
|
|
99
96
|
|
|
100
97
|
export const AivenRedisPlugin = generateRedisPlugin(
|
|
101
98
|
'aivenredis',
|
|
102
99
|
'Aiven for Redis',
|
|
103
|
-
|
|
104
|
-
|
|
100
|
+
`${PUBLIC_INTEGRATIONS_LOGO_URL}/aivenredis.png`,
|
|
101
|
+
`${DOCS_BASE_URL}/aivenredis`
|
|
105
102
|
);
|
|
106
103
|
|
|
107
104
|
function generateRedisPlugin(id: string, name: string, iconLocation: string, docsUrl: string): Plugin {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EditorLanguage, FormComponentType, FormItem, InputDataType, Plugin, PluginResponseType, PluginType } from '../../types';
|
|
2
|
-
import { PARAMETERIZED_SQL_DESCRIPTION, SQL_INITIAL_TEXT } from './constants';
|
|
2
|
+
import { PARAMETERIZED_SQL_DESCRIPTION, SQL_INITIAL_TEXT, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants';
|
|
3
3
|
import { CONNECTION_METHODS_AND_DISPLAY_NAMES, makeDropdownItem } from './shared/db';
|
|
4
4
|
|
|
5
5
|
export const RedshiftPluginVersions = {
|
|
@@ -60,11 +60,11 @@ const BASE_ENABLE_SSL = {
|
|
|
60
60
|
|
|
61
61
|
export const RedshiftPlugin: Plugin = {
|
|
62
62
|
id: 'redshift',
|
|
63
|
-
name: 'Amazon
|
|
63
|
+
name: 'Amazon Redshift',
|
|
64
64
|
moduleName: 'RedshiftPlugin',
|
|
65
65
|
modulePath: 'plugins/redshift/RedshiftPlugin',
|
|
66
|
-
iconLocation:
|
|
67
|
-
docsUrl:
|
|
66
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/redshift.png`,
|
|
67
|
+
docsUrl: `${DOCS_BASE_URL}/aws-redshift`,
|
|
68
68
|
type: PluginType.DB,
|
|
69
69
|
responseType: PluginResponseType.TABLE,
|
|
70
70
|
hasRawRequest: true,
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
getRestApiDataTypeDisplayName,
|
|
16
16
|
getRestApiFieldDisplayName
|
|
17
17
|
} from '../../types';
|
|
18
|
+
import { PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants';
|
|
18
19
|
|
|
19
20
|
export const RestApiPluginVersions = {
|
|
20
21
|
V1: '0.0.1',
|
|
@@ -28,8 +29,8 @@ export const RestApiPlugin: Plugin = {
|
|
|
28
29
|
name: 'REST API',
|
|
29
30
|
moduleName: 'RestApiPlugin',
|
|
30
31
|
modulePath: 'plugins/restApi/RestApiPlugin',
|
|
31
|
-
iconLocation:
|
|
32
|
-
docsUrl:
|
|
32
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/restapi.png`,
|
|
33
|
+
docsUrl: `${DOCS_BASE_URL}/rest-apis`,
|
|
33
34
|
isStreamable: true,
|
|
34
35
|
type: PluginType.API,
|
|
35
36
|
responseType: PluginResponseType.JSON,
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
getRestApiDataTypeDisplayName,
|
|
19
19
|
getRestApiFieldDisplayName
|
|
20
20
|
} from '../../types';
|
|
21
|
+
import { PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants';
|
|
21
22
|
import { RestApiIntegrationPluginMergedFieldNames, RestApiIntegrationPluginVersions, authSections } from './shared';
|
|
22
23
|
|
|
23
24
|
export const RestApiIntegrationPlugin: Plugin = {
|
|
@@ -25,8 +26,8 @@ export const RestApiIntegrationPlugin: Plugin = {
|
|
|
25
26
|
name: 'REST API',
|
|
26
27
|
moduleName: 'RestApiIntegrationPlugin',
|
|
27
28
|
modulePath: 'plugins/restApiIntegration/RestApiIntegrationPlugin',
|
|
28
|
-
iconLocation:
|
|
29
|
-
docsUrl:
|
|
29
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/restapi.png`,
|
|
30
|
+
docsUrl: `${DOCS_BASE_URL}/rest-apis`,
|
|
30
31
|
isStreamable: true,
|
|
31
32
|
type: PluginType.API,
|
|
32
33
|
responseType: PluginResponseType.JSON,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DB_SQL_INITIAL_TEXT, EditorLanguage, FormComponentType, Plugin, PluginResponseType, PluginType } from '../../types';
|
|
2
|
+
import { PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants';
|
|
2
3
|
|
|
3
4
|
export const RocksetPluginVersions = {
|
|
4
5
|
V1: '0.0.1',
|
|
@@ -40,8 +41,8 @@ export const RocksetPlugin: Plugin = {
|
|
|
40
41
|
name: 'Rockset',
|
|
41
42
|
moduleName: 'RocksetPlugin',
|
|
42
43
|
modulePath: 'plugins/rockset/RocksetPlugin',
|
|
43
|
-
iconLocation:
|
|
44
|
-
docsUrl:
|
|
44
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/rockset.png`,
|
|
45
|
+
docsUrl: `${DOCS_BASE_URL}/rockset`,
|
|
45
46
|
type: PluginType.DB,
|
|
46
47
|
responseType: PluginResponseType.TABLE,
|
|
47
48
|
hasRawRequest: true,
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
PluginResponseType,
|
|
9
9
|
PluginType
|
|
10
10
|
} from '../../types';
|
|
11
|
+
import { PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants';
|
|
11
12
|
import { getAWSAuthSection } from './shared';
|
|
12
13
|
import { markAsDeprecated, sortByDisplayName } from './utils';
|
|
13
14
|
|
|
@@ -134,8 +135,8 @@ export const S3Plugin: Plugin = {
|
|
|
134
135
|
name: 'Amazon S3',
|
|
135
136
|
moduleName: 'S3Plugin',
|
|
136
137
|
modulePath: 'plugins/s3/S3Plugin',
|
|
137
|
-
iconLocation:
|
|
138
|
-
docsUrl:
|
|
138
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/s3.png`,
|
|
139
|
+
docsUrl: `${DOCS_BASE_URL}/aws-s3`,
|
|
139
140
|
type: PluginType.API,
|
|
140
141
|
responseType: PluginResponseType.JSON,
|
|
141
142
|
hasRawRequest: true,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EditorLanguage, ExtendedIntegrationPluginId, FormComponentType, Plugin, PluginResponseType, PluginType } from '../../types';
|
|
2
|
+
import { PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants';
|
|
2
3
|
import { authSections } from './shared';
|
|
3
4
|
export const SalesforcePluginVersions = {
|
|
4
5
|
V1: '0.0.1'
|
|
@@ -37,8 +38,8 @@ export const SalesforcePlugin: Plugin = {
|
|
|
37
38
|
name: 'Salesforce',
|
|
38
39
|
moduleName: 'SalesforcePlugin',
|
|
39
40
|
modulePath: 'plugins/salesforce/SalesforcePlugin',
|
|
40
|
-
iconLocation:
|
|
41
|
-
docsUrl:
|
|
41
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/salesforce.png`,
|
|
42
|
+
docsUrl: `${DOCS_BASE_URL}/salesforce`,
|
|
42
43
|
type: PluginType.API,
|
|
43
44
|
responseType: PluginResponseType.JSON,
|
|
44
45
|
hasRawRequest: true,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FormComponentType, InputDataType, IntegrationKind, Plugin, PluginResponseType, PluginType } from '../../../types';
|
|
2
|
+
import { PUBLIC_INTEGRATIONS_LOGO_URL } from '../constants';
|
|
2
3
|
|
|
3
4
|
export const AkeylessSecretsManagerVersions = {
|
|
4
5
|
V1: '0.0.1'
|
|
@@ -9,8 +10,7 @@ export const AkeylessSecretsManagerPlugin: Plugin = {
|
|
|
9
10
|
name: 'Akeyless Secrets Manager',
|
|
10
11
|
moduleName: 'AkeylessSecretsManagerPlugin',
|
|
11
12
|
modulePath: '',
|
|
12
|
-
|
|
13
|
-
iconLocation: 'https://superblocks.s3.us-west-2.amazonaws.com/img/integrations/akeyless.png',
|
|
13
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/akeyless.png`,
|
|
14
14
|
docsUrl: 'https://docs.superblocks.com/development-lifecycle/secrets/akeyless-secrets-manager',
|
|
15
15
|
type: PluginType.DB,
|
|
16
16
|
responseType: PluginResponseType.JSON,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FormComponentType, InputDataType, IntegrationKind, Plugin, PluginResponseType, PluginType, TooltipIconType } from '../../../types';
|
|
2
|
+
import { PUBLIC_INTEGRATIONS_LOGO_URL } from '../constants';
|
|
2
3
|
|
|
3
4
|
export const AWSSecretsManagerVersions = {
|
|
4
5
|
V1: '0.0.1'
|
|
@@ -9,7 +10,7 @@ export const AWSSecretsManagerPlugin: Plugin = {
|
|
|
9
10
|
name: 'AWS Secrets Manager',
|
|
10
11
|
moduleName: 'AWSSecretsManagerPlugin',
|
|
11
12
|
modulePath: '',
|
|
12
|
-
iconLocation:
|
|
13
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/aws_secrets_manager.psd.png`,
|
|
13
14
|
docsUrl: 'https://docs.superblocks.com/development-lifecycle/secrets/aws-secrets-manager',
|
|
14
15
|
type: PluginType.DB,
|
|
15
16
|
responseType: PluginResponseType.JSON,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
PluginResponseType,
|
|
9
9
|
PluginType
|
|
10
10
|
} from '../../../types';
|
|
11
|
-
import { SERVICE_ACCOUNT_GHOST_TEXT } from '../constants';
|
|
11
|
+
import { SERVICE_ACCOUNT_GHOST_TEXT, PUBLIC_INTEGRATIONS_LOGO_URL } from '../constants';
|
|
12
12
|
|
|
13
13
|
export const GCPSecretsManagerVersions = {
|
|
14
14
|
V1: '0.0.1'
|
|
@@ -19,7 +19,7 @@ export const GCPSecretsManagerPlugin: Plugin = {
|
|
|
19
19
|
name: 'GCP Secrets Manager',
|
|
20
20
|
moduleName: 'GCPSecretsManagerPlugin',
|
|
21
21
|
modulePath: '',
|
|
22
|
-
iconLocation:
|
|
22
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/secret_manager_1.png`,
|
|
23
23
|
docsUrl: 'https://docs.superblocks.com/development-lifecycle/secrets/google-secrets-manager',
|
|
24
24
|
type: PluginType.DB,
|
|
25
25
|
responseType: PluginResponseType.JSON,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FormComponentType, InputDataType, IntegrationKind, Plugin, PluginResponseType, PluginType } from '../../../types';
|
|
2
|
+
import { PUBLIC_INTEGRATIONS_LOGO_URL } from '../constants';
|
|
2
3
|
|
|
3
4
|
export const HashicorpVaultVersions = {
|
|
4
5
|
V1: '0.0.1'
|
|
@@ -9,7 +10,7 @@ export const HashicorpVaultPlugin: Plugin = {
|
|
|
9
10
|
name: 'HashiCorp Vault',
|
|
10
11
|
moduleName: 'HashicorpVaultPlugin',
|
|
11
12
|
modulePath: '',
|
|
12
|
-
iconLocation:
|
|
13
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/hashicorpvault.png`,
|
|
13
14
|
docsUrl: 'https://docs.superblocks.com/development-lifecycle/secrets/hashicorp-vault',
|
|
14
15
|
type: PluginType.DB,
|
|
15
16
|
responseType: PluginResponseType.JSON,
|
|
@@ -21,11 +21,10 @@ import {
|
|
|
21
21
|
SUPERBLOCKS_OPENAPI_TENANT_KEYWORD,
|
|
22
22
|
TenantInput
|
|
23
23
|
} from '../../../types';
|
|
24
|
+
import { PUBLIC_INTEGRATIONS_CDN_URL, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from '../constants';
|
|
24
25
|
import { AuthMethods, authSections } from './auth';
|
|
25
26
|
import { RestApiIntegrationPluginMergedFieldNames, RestApiIntegrationPluginVersions } from './restapiintegration';
|
|
26
27
|
|
|
27
|
-
export const PUBLIC_INTEGRATIONS_CDN_URL = process.env.SUPERBLOCKS_PUBLIC_INTEGRATIONS_CDN_URL ?? 'https://integrations.superblocks.com';
|
|
28
|
-
|
|
29
28
|
export const getNativeOpenApiPlugin = ({
|
|
30
29
|
id,
|
|
31
30
|
name,
|
|
@@ -101,9 +100,9 @@ export const getNativeOpenApiPlugin = ({
|
|
|
101
100
|
name,
|
|
102
101
|
moduleName: 'RestApiIntegrationPlugin',
|
|
103
102
|
modulePath: 'plugins/restApiIntegration/RestApiIntegrationPlugin',
|
|
104
|
-
iconLocation: logoURL ?? `${
|
|
103
|
+
iconLocation: logoURL ?? `${PUBLIC_INTEGRATIONS_LOGO_URL}/${id}.png`,
|
|
105
104
|
openApiSpecRef: openApiSpecURL ?? `${PUBLIC_INTEGRATIONS_CDN_URL}/openapi/${id}.yaml`,
|
|
106
|
-
docsUrl: docsURL ??
|
|
105
|
+
docsUrl: docsURL ?? `${DOCS_BASE_URL}/${id}`,
|
|
107
106
|
type: PluginType.API,
|
|
108
107
|
responseType: PluginResponseType.JSON,
|
|
109
108
|
isStreamable,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FormComponentType, FormItem, InputDataType, Plugin, PluginResponseType, PluginType } from '../../types';
|
|
2
|
+
import { PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants';
|
|
2
3
|
|
|
3
4
|
// TODO (jason) change these constant values as these are pulled from Sendgrid
|
|
4
5
|
// superblocksmail is set up as a verified domain in Sendgrid under a different account than superblockshq.com.
|
|
@@ -115,7 +116,8 @@ export const SmtpPlugin: Plugin = {
|
|
|
115
116
|
name: 'SMTP',
|
|
116
117
|
moduleName: 'SmtpPlugin',
|
|
117
118
|
modulePath: 'plugins/smtp/SmtpPlugin',
|
|
118
|
-
iconLocation:
|
|
119
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/smtp.png`,
|
|
120
|
+
docsUrl: `${DOCS_BASE_URL}/smtp`,
|
|
119
121
|
type: PluginType.API,
|
|
120
122
|
responseType: PluginResponseType.JSON,
|
|
121
123
|
hasRawRequest: true,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
FormItem,
|
|
9
9
|
IntegrationAuthType
|
|
10
10
|
} from '../../types';
|
|
11
|
-
import { PARAMETERIZED_SQL_DESCRIPTION, SQL_INITIAL_TEXT } from './constants';
|
|
11
|
+
import { PARAMETERIZED_SQL_DESCRIPTION, SQL_INITIAL_TEXT, PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants';
|
|
12
12
|
import {
|
|
13
13
|
BASE_SUBJECT_TOKEN_SOURCE,
|
|
14
14
|
BASE_TOKEN_URL,
|
|
@@ -122,8 +122,8 @@ export const SnowflakePlugin: Plugin = {
|
|
|
122
122
|
name: 'Snowflake',
|
|
123
123
|
moduleName: 'SnowflakePlugin',
|
|
124
124
|
modulePath: 'plugins/snowflake/SnowflakePlugin',
|
|
125
|
-
iconLocation:
|
|
126
|
-
docsUrl:
|
|
125
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/snowflake.png`,
|
|
126
|
+
docsUrl: `${DOCS_BASE_URL}/snowflake`,
|
|
127
127
|
type: PluginType.DB,
|
|
128
128
|
responseType: PluginResponseType.TABLE,
|
|
129
129
|
hasRawRequest: true,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FormComponentType, Plugin, PluginResponseType, PluginType } from '../../types';
|
|
2
|
+
import { PUBLIC_INTEGRATIONS_LOGO_URL, DOCS_BASE_URL } from './constants';
|
|
2
3
|
|
|
3
4
|
export const SuperblocksOcrPluginVersions = {
|
|
4
5
|
V1: '0.0.1'
|
|
@@ -25,8 +26,8 @@ export const SuperblocksOcrPlugin: Plugin = {
|
|
|
25
26
|
name: 'Superblocks OCR',
|
|
26
27
|
moduleName: 'SuperblocksOcrPlugin',
|
|
27
28
|
modulePath: 'plugins/superblocks-ocr/SuperblocksOcrPlugin',
|
|
28
|
-
iconLocation:
|
|
29
|
-
docsUrl:
|
|
29
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/ocr_logo.png`,
|
|
30
|
+
docsUrl: `${DOCS_BASE_URL}/superblocks-ocr`,
|
|
30
31
|
type: PluginType.API,
|
|
31
32
|
responseType: PluginResponseType.JSON,
|
|
32
33
|
hasRawRequest: true,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Plugin, PluginResponseType, PluginType } from '../../types';
|
|
2
|
+
import { PUBLIC_INTEGRATIONS_LOGO_URL } from './constants';
|
|
2
3
|
|
|
3
4
|
export const WorkflowPluginVersions = {
|
|
4
5
|
V1: '0.0.1'
|
|
@@ -9,7 +10,7 @@ export const WorkflowPlugin: Plugin = {
|
|
|
9
10
|
name: 'Workflow',
|
|
10
11
|
moduleName: 'WorkflowPlugin',
|
|
11
12
|
modulePath: 'plugins/superblocks/workflow/WorkflowPlugin',
|
|
12
|
-
iconLocation:
|
|
13
|
+
iconLocation: `${PUBLIC_INTEGRATIONS_LOGO_URL}/logo.png`,
|
|
13
14
|
type: PluginType.API,
|
|
14
15
|
responseType: PluginResponseType.JSON,
|
|
15
16
|
hasRawRequest: false,
|