2020-08-27 15:39:16 +00:00
|
|
|
export const queryActionSettingsConfig = [
|
|
|
|
|
{
|
|
|
|
|
sectionName: "",
|
|
|
|
|
id: 1,
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
label: "Run query on Page load",
|
|
|
|
|
configProperty: "executeOnLoad",
|
|
|
|
|
controlType: "SWITCH",
|
|
|
|
|
info: "Will refresh data everytime page is reloaded",
|
|
|
|
|
},
|
2020-09-08 04:57:13 +00:00
|
|
|
{
|
|
|
|
|
label: "Request confirmation before running query",
|
|
|
|
|
configProperty: "confirmBeforeExecute",
|
|
|
|
|
controlType: "SWITCH",
|
|
|
|
|
info: "Ask confirmation from the user everytime before refreshing data",
|
|
|
|
|
},
|
2020-09-10 05:35:45 +00:00
|
|
|
// {
|
|
|
|
|
// label: "Cache response",
|
|
|
|
|
// configProperty: "shouldCacheResponse",
|
|
|
|
|
// controlType: "SWITCH",
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// label: "Cache timeout (in milliseconds)",
|
|
|
|
|
// configProperty: "cacheTimeout",
|
|
|
|
|
// controlType: "INPUT_TEXT",
|
|
|
|
|
// dataType: "NUMBER",
|
|
|
|
|
// },
|
2020-09-08 04:57:13 +00:00
|
|
|
{
|
|
|
|
|
label: "Query Timeout (in milliseconds)",
|
2020-09-09 05:56:08 +00:00
|
|
|
configProperty: "actionConfiguration.timeoutInMillisecond",
|
2020-09-08 04:57:13 +00:00
|
|
|
controlType: "INPUT_TEXT",
|
|
|
|
|
dataType: "NUMBER",
|
|
|
|
|
},
|
2020-08-27 15:39:16 +00:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
export const apiActionSettingsConfig = [
|
|
|
|
|
{
|
|
|
|
|
sectionName: "",
|
|
|
|
|
id: 1,
|
|
|
|
|
children: [
|
2020-09-10 10:17:30 +00:00
|
|
|
{
|
|
|
|
|
label: "Run api on Page load",
|
|
|
|
|
configProperty: "executeOnLoad",
|
|
|
|
|
controlType: "SWITCH",
|
|
|
|
|
info: "Will refresh data everytime page is reloaded",
|
|
|
|
|
},
|
2020-09-08 04:57:13 +00:00
|
|
|
{
|
|
|
|
|
label: "Request confirmation before running api",
|
|
|
|
|
configProperty: "confirmBeforeExecute",
|
|
|
|
|
controlType: "SWITCH",
|
|
|
|
|
info: "Ask confirmation from the user everytime before refreshing data",
|
|
|
|
|
},
|
2020-09-10 05:35:45 +00:00
|
|
|
// {
|
|
|
|
|
// label: "Cache response",
|
|
|
|
|
// configProperty: "shouldCacheResponse",
|
|
|
|
|
// controlType: "SWITCH",
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// label: "Cache timeout (in milliseconds)",
|
|
|
|
|
// configProperty: "cacheTimeout",
|
|
|
|
|
// controlType: "INPUT_TEXT",
|
|
|
|
|
// dataType: "NUMBER",
|
|
|
|
|
// },
|
2020-09-08 04:57:13 +00:00
|
|
|
{
|
|
|
|
|
label: "Api Timeout (in milliseconds)",
|
|
|
|
|
configProperty: "actionConfiguration.timeoutInMillisecond",
|
|
|
|
|
controlType: "INPUT_TEXT",
|
|
|
|
|
dataType: "NUMBER",
|
|
|
|
|
},
|
2020-08-27 15:39:16 +00:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
];
|