PromucFlow_constructor/app/client/src/mockResponses/RestTemplateConfigResponse.tsx
Hetu Nandu 13c59ee80f Datasource bug fixes
- Prefill datasource title
- Decrease field width
- Save button should have loading state
- Back button in form screen
- Right align save button
- Add new plugin images
and other fixes
2020-04-28 06:52:53 +00:00

27 lines
656 B
TypeScript

const RestTemplateConfigResponse = [
{
sectionName: "General",
children: [
{
label: "URL",
configProperty: "datasourceConfiguration.url",
controlType: "INPUT_TEXT",
isRequired: true,
placeholderText: "https://example.com",
},
{
label: "Headers",
configProperty: "datasourceConfiguration.headers",
controlType: "KEY_VAL_INPUT",
},
// {
// label: "Environment Variables",
// configProperty: "datasourceConfiguration.envVars",
// controlType: "KEY_VAL_INPUT",
// },
],
},
];
export default RestTemplateConfigResponse;