2021-11-17 17:59:00 +00:00
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
|
|
import DynamicForm from '@/_components/DynamicForm';
|
|
|
|
|
|
2021-05-08 11:25:54 +00:00
|
|
|
import { Restapi } from './Restapi';
|
2021-12-08 07:33:08 +00:00
|
|
|
import { Runjs } from './Runjs';
|
2021-04-30 16:15:42 +00:00
|
|
|
import { Stripe } from './Stripe';
|
2021-11-17 17:59:00 +00:00
|
|
|
|
|
|
|
|
import MysqlSchema from './Mysql.schema.json';
|
|
|
|
|
import MssqlSchema from './Mssql.schema.json';
|
|
|
|
|
import GraphqlSchema from './Graphql.schema.json';
|
|
|
|
|
import RedisSchema from './Redis.schema.json';
|
|
|
|
|
import AirtableSchema from './Airtable.schema.json';
|
|
|
|
|
import DynamodbSchema from './Dynamodb.schema.json';
|
|
|
|
|
import FirestoreSchema from './Firestore.schema.json';
|
|
|
|
|
import ElasticsearchSchema from './Elasticsearch.schema.json';
|
|
|
|
|
import MongodbSchema from './Mongodb.schema.json';
|
|
|
|
|
import PostgresqlSchema from './Postgresql.schema.json';
|
|
|
|
|
import SlackSchema from './Slack.schema.json';
|
|
|
|
|
import S3Schema from './S3.schema.json';
|
|
|
|
|
import GooglesheetsSchema from './Googlesheets.schema.json';
|
|
|
|
|
import GcsSchema from './Gcs.schema.json';
|
2021-12-20 06:19:00 +00:00
|
|
|
import TwilioSchema from './Twilio.schema.json';
|
2021-11-17 17:59:00 +00:00
|
|
|
|
|
|
|
|
const Mysql = ({ ...rest }) => <DynamicForm schema={MysqlSchema} {...rest} />;
|
|
|
|
|
const Mssql = ({ ...rest }) => <DynamicForm schema={MssqlSchema} {...rest} />;
|
|
|
|
|
const Graphql = ({ ...rest }) => <DynamicForm schema={GraphqlSchema} {...rest} />;
|
|
|
|
|
const Redis = ({ ...rest }) => <DynamicForm schema={RedisSchema} {...rest} />;
|
|
|
|
|
const Airtable = ({ ...rest }) => <DynamicForm schema={AirtableSchema} {...rest} />;
|
|
|
|
|
const Dynamodb = ({ ...rest }) => <DynamicForm schema={DynamodbSchema} {...rest} />;
|
|
|
|
|
const Firestore = ({ ...rest }) => <DynamicForm schema={FirestoreSchema} {...rest} />;
|
|
|
|
|
const Elasticsearch = ({ ...rest }) => <DynamicForm schema={ElasticsearchSchema} {...rest} />;
|
|
|
|
|
const Mongodb = ({ ...rest }) => <DynamicForm schema={MongodbSchema} {...rest} />;
|
|
|
|
|
const Postgresql = ({ ...rest }) => <DynamicForm schema={PostgresqlSchema} {...rest} />;
|
|
|
|
|
const Slack = ({ ...rest }) => <DynamicForm schema={SlackSchema} {...rest} />;
|
|
|
|
|
const S3 = ({ ...rest }) => <DynamicForm schema={S3Schema} {...rest} />;
|
|
|
|
|
const Googlesheets = ({ ...rest }) => <DynamicForm schema={GooglesheetsSchema} {...rest} />;
|
|
|
|
|
const Gcs = ({ ...rest }) => <DynamicForm schema={GcsSchema} {...rest} />;
|
2021-12-20 06:19:00 +00:00
|
|
|
const Twilio = ({ ...rest }) => <DynamicForm schema={TwilioSchema} {...rest} />;
|
2021-04-30 16:15:42 +00:00
|
|
|
|
|
|
|
|
export const allSources = {
|
2021-05-08 11:25:54 +00:00
|
|
|
Restapi,
|
2021-12-08 07:33:08 +00:00
|
|
|
Runjs,
|
2021-11-17 17:59:00 +00:00
|
|
|
Stripe,
|
2021-04-30 16:15:42 +00:00
|
|
|
Mysql,
|
|
|
|
|
Postgresql,
|
|
|
|
|
Firestore,
|
|
|
|
|
Redis,
|
|
|
|
|
Googlesheets,
|
2021-05-04 06:45:04 +00:00
|
|
|
Elasticsearch,
|
2021-05-04 12:40:44 +00:00
|
|
|
Slack,
|
2021-05-13 13:31:55 +00:00
|
|
|
Mongodb,
|
2021-06-02 09:14:52 +00:00
|
|
|
Dynamodb,
|
2021-06-14 02:03:13 +00:00
|
|
|
Airtable,
|
2021-06-22 14:17:00 +00:00
|
|
|
Graphql,
|
2021-09-21 13:48:28 +00:00
|
|
|
Mssql,
|
2021-11-02 06:12:46 +00:00
|
|
|
S3,
|
2021-11-04 09:00:09 +00:00
|
|
|
Gcs,
|
2021-12-20 06:19:00 +00:00
|
|
|
Twilio,
|
2021-04-30 16:15:42 +00:00
|
|
|
};
|