@kineticdata/react 6.0.4 → 6.1.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.
Files changed (100) hide show
  1. package/CHANGELOG.md +116 -86
  2. package/lib/apis/core/attributeDefinitions.js +9 -6
  3. package/lib/apis/core/integrations.js +61 -0
  4. package/lib/apis/core/submissions.js +52 -15
  5. package/lib/apis/http.js +16 -2
  6. package/lib/apis/index.js +24 -0
  7. package/lib/apis/integrator/index.js +262 -0
  8. package/lib/apis/system/index.js +64 -12
  9. package/lib/apis/task/index.js +9 -2
  10. package/lib/components/agent/filestore/FilestoreForm.js +1 -1
  11. package/lib/components/common/AttributeSelect.js +10 -2
  12. package/lib/components/common/BridgeSelect.js +2 -1
  13. package/lib/components/common/ConnectionSelect.js +72 -0
  14. package/lib/components/common/FormSelect.js +2 -1
  15. package/lib/components/common/StaticSelect.js +15 -6
  16. package/lib/components/common/TableInput.js +4 -1
  17. package/lib/components/common/TeamSelect.js +2 -1
  18. package/lib/components/common/ToastContainer.js +34 -10
  19. package/lib/components/common/Typeahead.js +59 -23
  20. package/lib/components/common/UserSelect.js +2 -1
  21. package/lib/components/common/authentication/RequestInterceptor.js +1 -1
  22. package/lib/components/core/attribute_definition/AttributeDefinitionForm.js +3 -0
  23. package/lib/components/core/bridge_model/BridgeModelTable.js +19 -0
  24. package/lib/components/core/bridge_model_attribute/BridgeModelAttributeForm.js +6 -9
  25. package/lib/components/core/bridge_model_attribute/BridgeModelAttributeTable.js +0 -4
  26. package/lib/components/core/bridge_model_qualification/BridgeModelQualificationForm.js +7 -10
  27. package/lib/components/core/bridge_model_qualification/BridgeModelQualificationTable.js +2 -15
  28. package/lib/components/core/category/CategoryForm.js +4 -1
  29. package/lib/components/core/category/CategoryTable.js +2 -2
  30. package/lib/components/core/core_form/CoreForm.js +18 -10
  31. package/lib/components/core/file_resource/FileResourceForm.js +2 -1
  32. package/lib/components/core/file_resource/FileResourceTable.js +14 -7
  33. package/lib/components/core/form/FormForm.js +42 -19
  34. package/lib/components/core/form/FormTable.js +14 -14
  35. package/lib/components/core/form_type/FormTypeForm.js +3 -0
  36. package/lib/components/core/i18n/Moment.js +1 -0
  37. package/lib/components/core/integration/IntegrationForm.js +232 -0
  38. package/lib/components/core/integration/IntegrationTable.js +139 -0
  39. package/lib/components/core/kapp/KappForm.js +56 -67
  40. package/lib/components/core/kapp/KappTable.js +3 -3
  41. package/lib/components/core/log/LogTable.js +1 -1
  42. package/lib/components/core/security_definition/SecurityDefinitionForm.js +48 -10
  43. package/lib/components/core/space/SpaceForm.js +97 -111
  44. package/lib/components/core/submission/DatastoreSubmissionTable.js +4 -4
  45. package/lib/components/core/submission/FormSubmissionTable.js +12 -7
  46. package/lib/components/core/submission/KappSubmissionTable.js +4 -4
  47. package/lib/components/core/submission/SubmissionForm.js +3 -1
  48. package/lib/components/core/team/TeamTable.js +17 -7
  49. package/lib/components/core/user/UserTable.js +18 -18
  50. package/lib/components/core/webapi/WebApiForm.js +5 -2
  51. package/lib/components/core/webapi/WebApiTable.js +2 -2
  52. package/lib/components/core/webhook/WebhookForm.js +43 -33
  53. package/lib/components/core/webhook/WebhookTable.js +16 -16
  54. package/lib/components/core/webhook_job/WebhookJobTable.js +17 -6
  55. package/lib/components/form/Form.helpers.js +10 -4
  56. package/lib/components/form/Form.js +250 -168
  57. package/lib/components/form/Form.models.js +6 -1
  58. package/lib/components/form/FormState.js +9 -5
  59. package/lib/components/form/defaults/CodeField.js +44 -1
  60. package/lib/components/index.js +84 -3
  61. package/lib/components/integrator/connection/ConnectionForm.js +112 -0
  62. package/lib/components/integrator/connection/ConnectionTable.js +80 -0
  63. package/lib/components/integrator/connection/config_fields/http.js +570 -0
  64. package/lib/components/integrator/integrationTypes.js +98 -0
  65. package/lib/components/integrator/operation/OperationForm.js +128 -0
  66. package/lib/components/integrator/operation/OperationTable.js +64 -0
  67. package/lib/components/integrator/operation/config_fields/http.js +184 -0
  68. package/lib/components/system/SystemSecurityForm.js +1 -1
  69. package/lib/components/system/SystemTaskAdapterForm.js +9 -9
  70. package/lib/components/system/helpers.js +123 -100
  71. package/lib/components/system/spaces/SystemSpaceForm.js +9 -37
  72. package/lib/components/system/spaces/SystemTenantForm.js +276 -104
  73. package/lib/components/system/spaces/SystemTenantMigrateForm.js +449 -0
  74. package/lib/components/system/spaces/SystemTenantTable.js +20 -16
  75. package/lib/components/table/Table.redux.js +1 -1
  76. package/lib/components/task/builder/ConnectorForm.js +11 -7
  77. package/lib/components/task/builder/Node.js +11 -2
  78. package/lib/components/task/builder/NodeForm.js +93 -22
  79. package/lib/components/task/builder/NodeParametersForm.js +29 -17
  80. package/lib/components/task/builder/TaskDefinitionConfigForm.js +18 -50
  81. package/lib/components/task/builder/TreeBuilder.js +32 -5
  82. package/lib/components/task/builder/builder.redux.js +399 -205
  83. package/lib/components/task/builder/constants.js +10 -2
  84. package/lib/components/task/builder/helpers.js +199 -79
  85. package/lib/components/task/builder/models.js +11 -9
  86. package/lib/components/task/category/TaskCategoryTable.js +3 -3
  87. package/lib/components/task/common/UsageTable.js +1 -1
  88. package/lib/components/task/handlers/HandlerTable.js +35 -19
  89. package/lib/components/task/policy_rule/PolicyRuleTable.js +3 -3
  90. package/lib/components/task/runs/CreateManualTriggerForm.js +2 -0
  91. package/lib/components/task/runs/RunTable.js +4 -4
  92. package/lib/components/task/runs/RunTaskTable.js +1 -1
  93. package/lib/components/task/sources/SourceTable.js +2 -2
  94. package/lib/components/task/triggers/TriggerTable.js +2 -2
  95. package/lib/components/task/workflows/LinkedWorkflowTable.js +2 -2
  96. package/lib/components/task/workflows/WorkflowForm.js +29 -9
  97. package/lib/components/task/workflows/WorkflowTable.js +2 -2
  98. package/lib/helpers/index.js +289 -72
  99. package/package.json +5 -3
  100. package/proxyhelper.js +28 -3
@@ -0,0 +1,128 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.OperationForm = void 0;
8
+ var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
9
+ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/toConsumableArray"));
10
+ var _immutable = require("immutable");
11
+ var _Form = require("../../form/Form");
12
+ var _apis = require("../../../apis");
13
+ var _http = require("./config_fields/http");
14
+ var dataSources = function dataSources(_ref) {
15
+ var id = _ref.id,
16
+ connectionId = _ref.connectionId;
17
+ return {
18
+ connection: {
19
+ fn: _apis.fetchConnection,
20
+ params: connectionId && [{
21
+ id: connectionId
22
+ }],
23
+ transform: function transform(result) {
24
+ return result.connection;
25
+ }
26
+ },
27
+ operation: {
28
+ fn: _apis.fetchOperation,
29
+ params: id && connectionId && [{
30
+ id: id,
31
+ connectionId: connectionId
32
+ }],
33
+ transform: function transform(result) {
34
+ return result.operation;
35
+ }
36
+ }
37
+ };
38
+ };
39
+ var handleSubmit = function handleSubmit(_ref2) {
40
+ var id = _ref2.id,
41
+ connectionId = _ref2.connectionId,
42
+ clone = _ref2.clone;
43
+ return function (values) {
44
+ return (id && !clone ? _apis.updateOperation : _apis.createOperation)({
45
+ id: id,
46
+ connectionId: connectionId,
47
+ operation: values.toJS()
48
+ }).then(function (_ref3) {
49
+ var operation = _ref3.operation,
50
+ error = _ref3.error;
51
+ if (error) {
52
+ throw error.statusCode === 400 && error.message || 'There was an error saving the operation';
53
+ }
54
+ return operation;
55
+ });
56
+ };
57
+ };
58
+ var fields = function fields(_ref4) {
59
+ var id = _ref4.id,
60
+ clone = _ref4.clone;
61
+ return function (_ref5) {
62
+ var operation = _ref5.operation,
63
+ connection = _ref5.connection;
64
+ if (connection && (!id || operation)) {
65
+ // Set type from the operation if it exists, or from the connection
66
+ var typeValue = (0, _immutable.get)(connection, 'type');
67
+ var configFields = typeValue === 'http' ? (0, _http.generateHttpOperationConfigFields)((0, _immutable.get)(operation, 'config')) : [];
68
+ return [{
69
+ name: 'name',
70
+ label: 'Operation Name',
71
+ type: 'text',
72
+ initialValue: !clone ? (0, _immutable.get)(operation, 'name') : '',
73
+ required: true,
74
+ placeholder: !clone ? 'Enter a name to find your operation easily' : "Clone of ".concat((0, _immutable.get)(operation, 'name'))
75
+ }, {
76
+ name: 'documentationLink',
77
+ label: 'Operation Documentation Link',
78
+ type: 'text',
79
+ initialValue: (0, _immutable.get)(operation, 'documentationLink') || '',
80
+ placeholder: 'Optional (but recommended)'
81
+ }, {
82
+ name: 'notes',
83
+ label: 'Description',
84
+ type: 'text',
85
+ initialValue: (0, _immutable.get)(operation, 'notes') || '',
86
+ placeholder: 'Enter a short description for the operation'
87
+ }, {
88
+ name: 'outputs',
89
+ label: 'Outputs',
90
+ type: 'map',
91
+ initialValue: (0, _immutable.get)(operation, 'outputs') || {},
92
+ placeholder: 'Output Key',
93
+ serialize: function serialize(_ref6) {
94
+ var values = _ref6.values;
95
+ return values.get('outputs');
96
+ },
97
+ constraint: function constraint(_ref7) {
98
+ var values = _ref7.values;
99
+ return values.get('outputs').every(function (value, key) {
100
+ return key && key.match(/^[a-z\d_-]+[a-z\d\s_-]*$/i) && (!value.get('children') || value.get('children').every(function (_, childKey) {
101
+ return childKey && childKey.match(/^[a-z\d_-]+[a-z\d\s_-]*$/i);
102
+ }));
103
+ });
104
+ },
105
+ constraintMessage: ''
106
+ }, {
107
+ name: 'config',
108
+ label: 'Config',
109
+ type: null,
110
+ visible: false,
111
+ initialValue: (0, _immutable.get)(operation, 'config'),
112
+ // Serialize the transient config fields into a single config object
113
+ serialize: (0, _http.serializeHttpOperationConfigFields)(configFields)
114
+ }].concat((0, _toConsumableArray2["default"])(configFields.map(function (field) {
115
+ return (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, field), {}, {
116
+ "transient": true
117
+ });
118
+ })));
119
+ }
120
+ };
121
+ };
122
+ var OperationForm = exports.OperationForm = (0, _Form.generateForm)({
123
+ formOptions: ['id', 'connectionId', 'clone'],
124
+ dataSources: dataSources,
125
+ fields: fields,
126
+ handleSubmit: handleSubmit
127
+ });
128
+ OperationForm.displayName = 'OperationForm';
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.OperationTable = void 0;
8
+ var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
9
+ var _apis = require("../../../apis");
10
+ var _Table = require("../../table/Table");
11
+ var _helpers = require("../../../helpers");
12
+ var filters = function filters() {
13
+ return function () {
14
+ return [{
15
+ name: 'name',
16
+ label: 'Name',
17
+ type: 'text'
18
+ }];
19
+ };
20
+ };
21
+ var clientSide = (0, _helpers.defineFilter)(true).matches('name', 'name').end();
22
+ var dataSource = function dataSource(_ref) {
23
+ var connectionId = _ref.connectionId;
24
+ return {
25
+ fn: _apis.fetchOperations,
26
+ clientSide: clientSide,
27
+ params: function params(paramData) {
28
+ return connectionId && [(0, _objectSpread2["default"])({
29
+ connectionId: connectionId
30
+ }, paramData.filters.filter(Boolean).toJS())];
31
+ },
32
+ transform: function transform(result) {
33
+ return {
34
+ data: result.operations
35
+ };
36
+ }
37
+ };
38
+ };
39
+ var columns = [{
40
+ value: 'name',
41
+ title: 'Name',
42
+ sortable: true
43
+ }, {
44
+ value: 'id',
45
+ title: 'Id',
46
+ toggleable: true
47
+ }, {
48
+ value: 'insertedAt',
49
+ title: 'Created At',
50
+ sortable: true,
51
+ toggleable: true
52
+ }, {
53
+ value: 'updatedAt',
54
+ title: 'Updated At',
55
+ sortable: true,
56
+ toggleable: true
57
+ }];
58
+ var OperationTable = exports.OperationTable = (0, _Table.generateTable)({
59
+ tableOptions: ['connectionId'],
60
+ columns: columns,
61
+ filters: filters,
62
+ dataSource: dataSource
63
+ });
64
+ OperationTable.displayName = 'OperationTable';
@@ -0,0 +1,184 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.serializeHttpOperationConfigFields = exports.generateHttpOperationConfigFields = void 0;
8
+ var _immutable = require("immutable");
9
+ var _integrationTypes = _interopRequireDefault(require("../../integrationTypes"));
10
+ var serializeHttpOperationConfigFields = exports.serializeHttpOperationConfigFields = function serializeHttpOperationConfigFields(configFields) {
11
+ return function (_ref) {
12
+ var values = _ref.values;
13
+ return configFields.reduce(function (serialization, _ref2) {
14
+ var name = _ref2.name,
15
+ type = _ref2.type,
16
+ visible = _ref2.visible,
17
+ _transient = _ref2["transient"];
18
+ if (
19
+ // Field must not be transient
20
+ !_transient && (
21
+ // Field must be visible
22
+ typeof visible === 'function' ? visible({
23
+ values: values
24
+ }) : typeof visible === 'undefined' || !!visible)) {
25
+ // Set the value into the correct structure
26
+ return serialization.setIn(name.split('.'), values.get(name));
27
+ }
28
+ return serialization;
29
+ }, (0, _immutable.Map)());
30
+ };
31
+ };
32
+ var generateHttpOperationConfigFields = exports.generateHttpOperationConfigFields = function generateHttpOperationConfigFields(config) {
33
+ return [{
34
+ name: 'configType',
35
+ label: 'Type',
36
+ type: 'select',
37
+ options: _integrationTypes["default"],
38
+ initialValue: 'http',
39
+ required: true,
40
+ enabled: false
41
+ }, {
42
+ name: 'method',
43
+ label: 'Method',
44
+ type: 'select',
45
+ options: [{
46
+ label: 'GET',
47
+ value: 'GET'
48
+ }, {
49
+ label: 'POST',
50
+ value: 'POST'
51
+ }, {
52
+ label: 'PUT',
53
+ value: 'PUT'
54
+ }, {
55
+ label: 'PATCH',
56
+ value: 'PATCH'
57
+ }, {
58
+ label: 'DELETE',
59
+ value: 'DELETE'
60
+ }],
61
+ initialValue: (0, _immutable.get)(config, 'method'),
62
+ required: true
63
+ }, {
64
+ name: 'path',
65
+ label: 'Request Path',
66
+ type: 'text',
67
+ initialValue: (0, _immutable.get)(config, 'path'),
68
+ required: true,
69
+ helpText: /*#__PURE__*/React.createElement(React.Fragment, null, "Use the ", /*#__PURE__*/React.createElement("code", null, '{{parameter}}'), " format to create dynamic parameters.")
70
+ }, {
71
+ name: 'params',
72
+ label: 'URL Parameters',
73
+ type: 'map',
74
+ initialValue: (0, _immutable.get)(config, 'params'),
75
+ placeholder: 'Parameter Key',
76
+ helpText: /*#__PURE__*/React.createElement(React.Fragment, null, "Use the ", /*#__PURE__*/React.createElement("code", null, '{{parameter}}'), " format to create dynamic parameters.")
77
+ }, {
78
+ name: 'headers',
79
+ label: 'Headers',
80
+ type: 'map',
81
+ initialValue: (0, _immutable.get)(config, 'headers'),
82
+ placeholder: 'Header Key',
83
+ helpText: /*#__PURE__*/React.createElement(React.Fragment, null, "Use the ", /*#__PURE__*/React.createElement("code", null, '{{parameter}}'), " format to create dynamic parameters.")
84
+ }, {
85
+ name: 'followRedirect',
86
+ label: 'Follow Redirect',
87
+ type: 'checkbox',
88
+ initialValue: (0, _immutable.get)(config, 'followRedirect')
89
+ }, {
90
+ name: 'streamResponse',
91
+ label: 'Stream Response',
92
+ type: 'checkbox',
93
+ initialValue: (0, _immutable.get)(config, 'streamResponse')
94
+ }, {
95
+ name: 'includeEmptyParams',
96
+ label: 'Include Empty Parameters',
97
+ type: 'checkbox',
98
+ initialValue: (0, _immutable.get)(config, 'includeEmptyParams')
99
+ }, {
100
+ name: 'body.bodyType',
101
+ label: 'Body Type',
102
+ type: 'radio',
103
+ options: [{
104
+ label: 'Form URL Encoded',
105
+ value: 'www_form_urlencoded'
106
+ }, {
107
+ label: 'Raw',
108
+ value: 'raw'
109
+ }
110
+ // { label: 'Multipart', value: 'multipart_form' },
111
+ ],
112
+
113
+ initialValue: (0, _immutable.getIn)(config, ['body', 'bodyType']) || 'www_form_urlencoded'
114
+ }, {
115
+ name: 'body.form',
116
+ label: 'Form Body',
117
+ type: 'map',
118
+ initialValue: (0, _immutable.getIn)(config, ['body', 'form']),
119
+ visible: function visible(_ref3) {
120
+ var values = _ref3.values;
121
+ return values.get('body.bodyType') === 'www_form_urlencoded';
122
+ },
123
+ placeholder: 'Body Key',
124
+ helpText: /*#__PURE__*/React.createElement(React.Fragment, null, "Use the ", /*#__PURE__*/React.createElement("code", null, '{{parameter}}'), " format to create dynamic parameters.")
125
+ }, {
126
+ name: 'body.raw',
127
+ label: 'Raw Body',
128
+ type: 'code',
129
+ language: function language(_ref4) {
130
+ var values = _ref4.values;
131
+ return getLanguageFromContentType(values.get('headers').find(function (_, header) {
132
+ return (header === null || header === void 0 ? void 0 : header.toLowerCase()) === 'content-type';
133
+ }));
134
+ },
135
+ initialValue: (0, _immutable.getIn)(config, ['body', 'raw']),
136
+ visible: function visible(_ref5) {
137
+ var values = _ref5.values;
138
+ return values.get('body.bodyType') === 'raw';
139
+ },
140
+ helpText: /*#__PURE__*/React.createElement(React.Fragment, null, "Use the ", /*#__PURE__*/React.createElement("code", null, '{{parameter}}'), " format to create dynamic parameters.")
141
+ }, {
142
+ name: 'body.parts',
143
+ label: 'Multipart Body',
144
+ type: 'table',
145
+ options: [{
146
+ name: 'name',
147
+ label: 'Name',
148
+ type: 'text'
149
+ }, {
150
+ name: 'contentType',
151
+ label: 'Content Type',
152
+ type: 'text'
153
+ }, {
154
+ name: 'content',
155
+ label: 'Content',
156
+ type: 'code',
157
+ renderAttributes: {
158
+ simple: true,
159
+ max: 'sm'
160
+ }
161
+ }, {
162
+ name: 'fileName',
163
+ label: 'File Name',
164
+ type: 'text'
165
+ }],
166
+ initialValue: (0, _immutable.getIn)(config, ['body', 'parts'], (0, _immutable.List)()),
167
+ visible: function visible(_ref6) {
168
+ var values = _ref6.values;
169
+ return values.get('body.bodyType') === 'multipart_form';
170
+ },
171
+ helpText: /*#__PURE__*/React.createElement(React.Fragment, null, "Use the ", /*#__PURE__*/React.createElement("code", null, '{{parameter}}'), " format to create dynamic parameters.")
172
+ }];
173
+ };
174
+ function getLanguageFromContentType(contentType) {
175
+ switch (contentType) {
176
+ case 'application/json':
177
+ return 'json';
178
+ case 'application/xml':
179
+ case 'text/xml':
180
+ return 'xml';
181
+ default:
182
+ return 'none';
183
+ }
184
+ }
@@ -55,7 +55,7 @@ var fields = function fields() {
55
55
  }
56
56
  }, {
57
57
  name: 'allowedSystemIpsEnabled',
58
- label: 'Enabled Allowed IP Restrictions?',
58
+ label: 'Allowed IP Restrictions',
59
59
  type: 'checkbox',
60
60
  initialValue: (0, _immutable.get)(systemSecurity, 'allowedSystemIps', (0, _immutable.List)()).size > 0,
61
61
  "transient": true
@@ -14,8 +14,8 @@ var _immutable = require("immutable");
14
14
  var _Form2 = require("../form/Form.helpers");
15
15
  var dataSources = function dataSources() {
16
16
  return {
17
- defaultTaskDbAdapter: {
18
- fn: _system.fetchSystemDefaultTaskDbAdapter,
17
+ defaultSQLDatabaseAdapter: {
18
+ fn: _system.fetchSystemDefaultSQLDbAdapter,
19
19
  params: [],
20
20
  transform: function transform(result) {
21
21
  return result.adapter;
@@ -45,9 +45,9 @@ var handleSubmit = function handleSubmit() {
45
45
  };
46
46
  var adapter = {
47
47
  type: type,
48
- properties: (0, _helpers.adapterProperties)(values, type, filterFn)
48
+ properties: (0, _helpers.adapterProperties)(values, null, type, filterFn)
49
49
  };
50
- return (0, _system.updateSystemDefaultTaskDbAdapter)({
50
+ return (0, _system.updateSystemDefaultSQLDbAdapter)({
51
51
  adapter: adapter,
52
52
  multipart: Object.entries(adapter.properties).some(function (_ref2) {
53
53
  var _ref3 = (0, _slicedToArray2["default"])(_ref2, 2),
@@ -60,14 +60,14 @@ var handleSubmit = function handleSubmit() {
60
60
  };
61
61
  var fields = function fields() {
62
62
  return function (_ref4) {
63
- var defaultTaskDbAdapter = _ref4.defaultTaskDbAdapter;
64
- return (defaultTaskDbAdapter || defaultTaskDbAdapter === null) && [{
63
+ var defaultSQLDatabaseAdapter = _ref4.defaultSQLDatabaseAdapter;
64
+ return (defaultSQLDatabaseAdapter || defaultSQLDatabaseAdapter === null) && [{
65
65
  name: 'type',
66
- label: 'Task Adapter',
66
+ label: 'Database Adapter',
67
67
  type: 'select',
68
68
  options: _helpers.VALIDATE_DB_ADAPTERS,
69
- initialValue: (0, _immutable.getIn)(defaultTaskDbAdapter, ['type'], '')
70
- }].concat((0, _toConsumableArray2["default"])((0, _helpers.MSSQL_FIELDS)('type', defaultTaskDbAdapter, [], null)), (0, _toConsumableArray2["default"])((0, _helpers.ORACLE_FIELDS)('type', defaultTaskDbAdapter, [], null)), (0, _toConsumableArray2["default"])((0, _helpers.POSTGRES_FIELDS)('type', defaultTaskDbAdapter, [], null)));
69
+ initialValue: (0, _immutable.getIn)(defaultSQLDatabaseAdapter, ['type'], '')
70
+ }].concat((0, _toConsumableArray2["default"])((0, _helpers.MSSQL_FIELDS)('type', defaultSQLDatabaseAdapter, [], null)), (0, _toConsumableArray2["default"])((0, _helpers.ORACLE_FIELDS)('type', defaultSQLDatabaseAdapter, [], null)), (0, _toConsumableArray2["default"])((0, _helpers.POSTGRES_FIELDS)('type', defaultSQLDatabaseAdapter, [], null)));
71
71
  };
72
72
  };
73
73
  var SystemTaskAdapterForm = exports.SystemTaskAdapterForm = (0, _Form.generateForm)({