From b2828dfe93f7d4260f528451ebd6092ac602d820 Mon Sep 17 00:00:00 2001 From: Satish Gandham Date: Mon, 20 Mar 2023 22:50:44 +0530 Subject: [PATCH] ci: Add lint check to the build step (#21442) Add a step to verify lint rules in client build workflow. --------- Co-authored-by: Satish Gandham --- .github/workflows/client-build.yml | 12 + app/client/.prettierignore | 2 + app/client/cypress/.eslintrc.json | 8 +- app/client/cypress/cypress-docker-compose.yml | 2 +- .../BugTests/AbortAction_Spec.ts | 5 +- .../ClientSideTests/BugTests/Bug14037_Spec.ts | 2 +- .../GenerateCRUD/MySQL1_Spec.ts | 2 +- .../GenerateCRUD/Postgres2_Spec.ts | 2 +- .../MySQL_Datatypes/Basic_Spec.ts | 2 +- .../ServerSideTests/QueryPane/Mongo_Spec.ts | 2 +- .../cypress/support/Pages/AggregateHelper.ts | 2 +- app/client/cypress/tsconfig.json | 5 +- app/client/package.json | 42 +- .../ApplicationsNewMockResponse.json | 765 ++- .../CreateWorkspaceMockResponse.json | 148 +- .../FetchReleasesMockResponse.json | 194 +- .../src/pages/Editor/GuidedTour/app.json | 3785 ++++++------ .../src/pages/Editor/JSEditor/readme.md | 3 +- .../SaaSEditor/__data__/InitialState.json | 5431 ++++++++--------- 19 files changed, 5151 insertions(+), 5263 deletions(-) diff --git a/.github/workflows/client-build.yml b/.github/workflows/client-build.yml index ea01f2c9ad..71ce4bab91 100644 --- a/.github/workflows/client-build.yml +++ b/.github/workflows/client-build.yml @@ -99,6 +99,18 @@ jobs: - name: Install dependencies if: steps.run_result.outputs.run_result != 'success' run: yarn install --frozen-lockfile + + - name: Run Eslint + if: steps.run_result.outputs.run_result != 'success' + run: yarn run lint:ci + + - name: Run Prettier + if: steps.run_result.outputs.run_result != 'success' + run: yarn run prettier:ci + + - name: Run type import check + if: steps.run_result.outputs.run_result != 'success' + run: yarn run check-types - name: Set the build environment based on the branch if: steps.run_result.outputs.run_result != 'success' diff --git a/app/client/.prettierignore b/app/client/.prettierignore index e4bd6af717..b2b592f4f4 100644 --- a/app/client/.prettierignore +++ b/app/client/.prettierignore @@ -4,3 +4,5 @@ package-lock.json yarn.lock package.json src/assets/lottie/ +cypress/fixtures +cypress/locators/ diff --git a/app/client/cypress/.eslintrc.json b/app/client/cypress/.eslintrc.json index 2772e19d62..7fbc8e862d 100644 --- a/app/client/cypress/.eslintrc.json +++ b/app/client/cypress/.eslintrc.json @@ -1,11 +1,9 @@ { + "extends": ["../.eslintrc.json"], "env": { "cypress/globals": true }, "rules": { "cypress/no-unnecessary-waiting": 0 - }, - "extends": [ - "plugin:cypress/recommended" - ] -} \ No newline at end of file + } +} diff --git a/app/client/cypress/cypress-docker-compose.yml b/app/client/cypress/cypress-docker-compose.yml index 9a566af92d..9831507374 100644 --- a/app/client/cypress/cypress-docker-compose.yml +++ b/app/client/cypress/cypress-docker-compose.yml @@ -30,4 +30,4 @@ services: networks: appsmith: - driver: bridge \ No newline at end of file + driver: bridge diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/AbortAction_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/AbortAction_Spec.ts index 001325ed20..64c498332b 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/AbortAction_Spec.ts +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/AbortAction_Spec.ts @@ -31,7 +31,10 @@ describe("Abort Action Execution", function () { "AbortQuery", ); _.dataSources.SetQueryTimeout(0); - _.dataSources.RunQuery({toValidateResponse: false, waitTimeInterval:0}); + _.dataSources.RunQuery({ + toValidateResponse: false, + waitTimeInterval: 0, + }); _.agHelper.GetNClick(_.locators._cancelActionExecution, 0, true); _.agHelper.AssertContains( createMessage(ACTION_EXECUTION_CANCELLED, "AbortQuery"), diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Bug14037_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Bug14037_Spec.ts index fd7a287442..4093ebf07d 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Bug14037_Spec.ts +++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Bug14037_Spec.ts @@ -6,7 +6,7 @@ describe("Error logged when adding a suggested table widget", function () { cy.fixture("datasources").then((datasourceFormData: any) => { _.apiPage.CreateAndFillApi(datasourceFormData["mockApiUrl"], "Api1"); _.apiPage.RunAPI(); - _.dataSources.AddSuggesstedWidget(Widgets.Table) + _.dataSources.AddSuggesstedWidget(Widgets.Table); _.debuggerHelper.AssertErrorCount(0); }); }); diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL1_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL1_Spec.ts index 9bb0a66ae0..5296564994 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL1_Spec.ts +++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL1_Spec.ts @@ -270,7 +270,7 @@ describe("Validate MySQL Generate CRUD with JSON Form", () => { it("10. Verify application does not break when user runs the query with wrong table name", function () { ee.SelectEntityByName("DropProductlines", "Queries/JS"); - dataSources.RunQuery({toValidateResponse:false}); + dataSources.RunQuery({ toValidateResponse: false }); cy.wait("@postExecute").then(({ response }) => { expect(response?.body.data.isExecutionSuccess).to.eq(false); expect( diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Postgres2_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Postgres2_Spec.ts index 698cd7ac88..49b71a1eb1 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Postgres2_Spec.ts +++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Postgres2_Spec.ts @@ -624,7 +624,7 @@ describe("Validate Postgres Generate CRUD with JSON Form", () => { it("18. Verify application does not break when user runs the query with wrong table name", function () { ee.SelectEntityByName("DropVessels", "Queries/JS"); - dataSources.RunQuery({toValidateResponse:false}); + dataSources.RunQuery({ toValidateResponse: false }); cy.wait("@postExecute").then(({ response }) => { expect(response?.body.data.isExecutionSuccess).to.eq(false); expect( diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/MySQL_Datatypes/Basic_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/MySQL_Datatypes/Basic_Spec.ts index caac419f54..03b3af8cdc 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/MySQL_Datatypes/Basic_Spec.ts +++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/MySQL_Datatypes/Basic_Spec.ts @@ -104,7 +104,7 @@ describe("MySQL Datatype tests", function () { _.deployMode.NavigateBacktoEditor(); _.entityExplorer.ExpandCollapseEntity("Queries/JS"); _.entityExplorer.SelectEntityByName("selectRecords"); - _.dataSources.RunQuery({toValidateResponse:false}); + _.dataSources.RunQuery({ toValidateResponse: false }); cy.wait("@postExecute").then((intercept) => { expect( typeof intercept.response?.body.data.body[5].varchar_column, diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/QueryPane/Mongo_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/QueryPane/Mongo_Spec.ts index 9adebe9469..38e0c3d1e3 100644 --- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/QueryPane/Mongo_Spec.ts +++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/QueryPane/Mongo_Spec.ts @@ -661,7 +661,7 @@ describe("Validate Mongo Query Pane Validations", () => { agHelper.FocusElement(locator._codeMirrorTextArea); //agHelper.VerifyEvaluatedValue(tableCreateQuery); - dataSources.RunQuery({expectedStatus: false}); + dataSources.RunQuery({ expectedStatus: false }); agHelper .GetText(dataSources._queryError) .then(($errorText) => expect($errorText).to.eq("ns not found.")); diff --git a/app/client/cypress/support/Pages/AggregateHelper.ts b/app/client/cypress/support/Pages/AggregateHelper.ts index affdf660ed..16aef5eeaa 100644 --- a/app/client/cypress/support/Pages/AggregateHelper.ts +++ b/app/client/cypress/support/Pages/AggregateHelper.ts @@ -821,7 +821,7 @@ export class AggregateHelper { input.setValue(value); this.Sleep(200); }); - this.Sleep(500);//for value set to settle + this.Sleep(500); //for value set to settle } public UpdateInput(selector: string, value: string) { diff --git a/app/client/cypress/tsconfig.json b/app/client/cypress/tsconfig.json index 1f987bb084..7782f79f59 100644 --- a/app/client/cypress/tsconfig.json +++ b/app/client/cypress/tsconfig.json @@ -26,10 +26,7 @@ "downlevelIteration": true, "experimentalDecorators": true, "importHelpers": true, - "typeRoots": [ - "./typings", - "./node_modules/@types" - ], + "typeRoots": ["./typings", "./node_modules/@types"], "sourceMap": true, "baseUrl": "./cypress", "noFallthroughCasesInSwitch": true, diff --git a/app/client/package.json b/app/client/package.json index 9576c7b804..7bf8fd2f43 100644 --- a/app/client/package.json +++ b/app/client/package.json @@ -10,6 +10,28 @@ "packages/*" ], "cracoConfig": "craco.dev.config.js", + "scripts": { + "analyze": "yarn cra-bundle-analyzer", + "start": "BROWSER=none EXTEND_ESLINT=true REACT_APP_ENVIRONMENT=DEVELOPMENT REACT_APP_CLIENT_LOG_LEVEL=debug HOST=dev.appsmith.com craco start", + "build": "./build.sh", + "build-local": "craco --max-old-space-size=4096 build --config craco.build.config.js", + "build-staging": "REACT_APP_ENVIRONMENT=STAGING craco --max-old-space-size=4096 build --config craco.build.config.js", + "test": "CYPRESS_BASE_URL=https://dev.appsmith.com cypress/test.sh", + "test:ci": "CYPRESS_BASE_URL=https://dev.appsmith.com cypress/test.sh --env=ci", + "eject": "react-scripts eject", + "start-prod": "REACT_APP_ENVIRONMENT=PRODUCTION craco start", + "cytest": "REACT_APP_TESTING=TESTING REACT_APP_ENVIRONMENT=DEVELOPMENT craco start & ./node_modules/.bin/cypress open", + "test:unit": "$(npm bin)/jest -b --colors --no-cache --silent --coverage --collectCoverage=true --coverageDirectory='../../' --coverageReporters='json-summary'", + "test:jest": "$(npm bin)/jest --watch", + "generate:widget": "plop --plopfile generators/index.js", + "postinstall": "patch-package && CURRENT_SCOPE=client node ../shared/install-dependencies.js", + "preinstall": "CURRENT_SCOPE=client node ../shared/build-shared-dep.js", + "install": "node cypress/apply-patches.js", + "storybook": "yarn workspace @design-system/storybook storybook", + "lint:ci": "eslint --ext .ts,.tsx ./src && eslint --ext .js ./cypress", + "prettier:ci": "prettier --check ./src && prettier --check ./cypress", + "check-types": "yarn tsc --noEmit" + }, "dependencies": { "@blueprintjs/core": "^3.36.0", "@blueprintjs/datetime": "^3.23.6", @@ -172,25 +194,7 @@ "yjs": "^13.5.12", "zipcelx": "^1.6.2" }, - "scripts": { - "analyze": "yarn cra-bundle-analyzer", - "start": "BROWSER=none EXTEND_ESLINT=true REACT_APP_ENVIRONMENT=DEVELOPMENT REACT_APP_CLIENT_LOG_LEVEL=debug HOST=dev.appsmith.com craco start", - "build": "./build.sh", - "build-local": "craco --max-old-space-size=4096 build --config craco.build.config.js", - "build-staging": "REACT_APP_ENVIRONMENT=STAGING craco --max-old-space-size=4096 build --config craco.build.config.js", - "test": "CYPRESS_BASE_URL=https://dev.appsmith.com cypress/test.sh", - "test:ci": "CYPRESS_BASE_URL=https://dev.appsmith.com cypress/test.sh --env=ci", - "eject": "react-scripts eject", - "start-prod": "REACT_APP_ENVIRONMENT=PRODUCTION craco start", - "cytest": "REACT_APP_TESTING=TESTING REACT_APP_ENVIRONMENT=DEVELOPMENT craco start & ./node_modules/.bin/cypress open", - "test:unit": "$(npm bin)/jest -b --colors --no-cache --silent --coverage --collectCoverage=true --coverageDirectory='../../' --coverageReporters='json-summary'", - "test:jest": "$(npm bin)/jest --watch", - "generate:widget": "plop --plopfile generators/index.js", - "postinstall": "patch-package && CURRENT_SCOPE=client node ../shared/install-dependencies.js", - "preinstall": "CURRENT_SCOPE=client node ../shared/build-shared-dep.js", - "install": "node cypress/apply-patches.js", - "storybook": "yarn workspace @design-system/storybook storybook" - }, + "browserslist": [ ">0.2%", "not dead", diff --git a/app/client/src/mockResponses/ApplicationsNewMockResponse.json b/app/client/src/mockResponses/ApplicationsNewMockResponse.json index f87f54a1d8..15fdd1f08c 100644 --- a/app/client/src/mockResponses/ApplicationsNewMockResponse.json +++ b/app/client/src/mockResponses/ApplicationsNewMockResponse.json @@ -1,424 +1,359 @@ { - "responseMeta":{ - "status":200, - "success":true + "responseMeta": { + "status": 200, + "success": true + }, + "data": { + "user": { + "id": "6065e4a8034ece74b1481817", + "userPermissions": [], + "email": "b1@appsmith.com", + "source": "FORM", + "isEnabled": true, + "currentWorkspaceId": "6065e4b7034ece74b1481819", + "workspaceIds": ["6065e4a8034ece74b1481818", "6065e4b7034ece74b1481819"], + "groupIds": [], + "permissions": [], + "isAnonymous": false, + "enabled": true, + "username": "b1@appsmith.com", + "accountNonExpired": true, + "accountNonLocked": true, + "credentialsNonExpired": true, + "claims": {}, + "address": {}, + "new": false }, - "data":{ - "user":{ - "id":"6065e4a8034ece74b1481817", - "userPermissions":[ - - ], - "email":"b1@appsmith.com", - "source":"FORM", - "isEnabled":true, - "currentWorkspaceId":"6065e4b7034ece74b1481819", - "workspaceIds":[ - "6065e4a8034ece74b1481818", - "6065e4b7034ece74b1481819" - ], - "groupIds":[ - - ], - "permissions":[ - - ], - "isAnonymous":false, - "enabled":true, - "username":"b1@appsmith.com", - "accountNonExpired":true, - "accountNonLocked":true, - "credentialsNonExpired":true, - "claims":{ - + "workspaceApplications": [ + { + "workspace": { + "id": "6065e4a8034ece74b1481818", + "userPermissions": [ + "read:workspaces", + "manage:workspaceApplications", + "manage:workspaces", + "inviteUsers:workspaces", + "publish:workspaceApplications", + "read:workspaceApplications" + ], + "name": "b1's apps", + "email": "b1@appsmith.com", + "plugins": [ + { + "userPermissions": [], + "pluginId": "5ca385dc81b37f0004b4db85", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "5e8dad9bf062d5125ddfd836", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "5ec3bccdd4b5eaa50ba6f583", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "5ec3bcf1d4b5eaa50ba6f593", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "5f192a44a2d05225d010db9d", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "5f92f9e9107018510ae540be", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "5f92f9ec107018510ae540c0", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "5f92f9ef107018510ae540c3", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "5f92f9f1107018510ae540c5", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "5fbcc1c758377818ddaec444", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "60081f50ffab735a9dae84e7", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "60374b7d074f9b49cd68a036", + "status": "FREE", + "new": true + } + ], + "slug": "b1-s-apps", + "logoUrl": "/api/v1/assets/null", + "new": false }, - "address":{ - - }, - "new":false + "applications": [], + "users": [ + { + "username": "b1@appsmith.com", + "permissionGroupId": "62e2291af980b36927705076", + "permissionGroupName": "Administrator" + } + ] }, - "workspaceApplications":[ - { - "workspace":{ - "id":"6065e4a8034ece74b1481818", - "userPermissions":[ - "read:workspaces", - "manage:workspaceApplications", - "manage:workspaces", - "inviteUsers:workspaces", - "publish:workspaceApplications", - "read:workspaceApplications" - ], - "name":"b1's apps", - "email":"b1@appsmith.com", - "plugins":[ - { - "userPermissions":[ - - ], - "pluginId":"5ca385dc81b37f0004b4db85", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"5e8dad9bf062d5125ddfd836", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"5ec3bccdd4b5eaa50ba6f583", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"5ec3bcf1d4b5eaa50ba6f593", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"5f192a44a2d05225d010db9d", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"5f92f9e9107018510ae540be", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"5f92f9ec107018510ae540c0", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"5f92f9ef107018510ae540c3", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"5f92f9f1107018510ae540c5", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"5fbcc1c758377818ddaec444", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"60081f50ffab735a9dae84e7", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"60374b7d074f9b49cd68a036", - "status":"FREE", - "new":true - } - ], - "slug":"b1-s-apps", - "logoUrl":"/api/v1/assets/null", - "new":false - }, - "applications":[ - + { + "workspace": { + "id": "6065e4b7034ece74b1481819", + "userPermissions": [ + "read:workspaces", + "manage:workspaceApplications", + "manage:workspaces", + "inviteUsers:workspaces", + "publish:workspaceApplications", + "read:workspaceApplications" ], - "users":[ + "name": "new workspace", + "email": "b1@appsmith.com", + "plugins": [ { - "username":"b1@appsmith.com", - "permissionGroupId": "62e2291af980b36927705076", - "permissionGroupName":"Administrator" + "userPermissions": [], + "pluginId": "5ca385dc81b37f0004b4db85", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "5e8dad9bf062d5125ddfd836", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "5ec3bccdd4b5eaa50ba6f583", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "5ec3bcf1d4b5eaa50ba6f593", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "5f192a44a2d05225d010db9d", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "5f92f9e9107018510ae540be", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "5f92f9ec107018510ae540c0", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "5f92f9ef107018510ae540c3", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "5f92f9f1107018510ae540c5", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "5fbcc1c758377818ddaec444", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "60081f50ffab735a9dae84e7", + "status": "FREE", + "new": true + }, + { + "userPermissions": [], + "pluginId": "60374b7d074f9b49cd68a036", + "status": "FREE", + "new": true } - ] - }, - { - "workspace":{ - "id":"6065e4b7034ece74b1481819", - "userPermissions":[ - "read:workspaces", - "manage:workspaceApplications", - "manage:workspaces", - "inviteUsers:workspaces", - "publish:workspaceApplications", - "read:workspaceApplications" - ], - "name":"new workspace", - "email":"b1@appsmith.com", - "plugins":[ - { - "userPermissions":[ - - ], - "pluginId":"5ca385dc81b37f0004b4db85", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"5e8dad9bf062d5125ddfd836", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"5ec3bccdd4b5eaa50ba6f583", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"5ec3bcf1d4b5eaa50ba6f593", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"5f192a44a2d05225d010db9d", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"5f92f9e9107018510ae540be", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"5f92f9ec107018510ae540c0", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"5f92f9ef107018510ae540c3", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"5f92f9f1107018510ae540c5", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"5fbcc1c758377818ddaec444", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"60081f50ffab735a9dae84e7", - "status":"FREE", - "new":true - }, - { - "userPermissions":[ - - ], - "pluginId":"60374b7d074f9b49cd68a036", - "status":"FREE", - "new":true - } - ], - "slug":"new-workspace5", - "logoUrl":"/api/v1/assets/null", - "new":false - }, - "applications":[ - ], - "users":[ - { - "username":"b1@appsmith.com", - "permissionGroupId": "62e2291af980b36927705076", - "permissionGroupName":"Administrator" - } - ] - } - ], - "newReleasesCount":"", - "releaseItems":[ - { - "tagName":"v1.4.6", - "name":"Release v1.4.6 \uD83D\uDC1E", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.6", - "descriptionHtml":"

Bug fix

\n

New validations in DatePicker widget allows only ISO 8601 format dates in the defaultDate property.
\nThis fix tries to automatically parse the given date string to generate a valid ISO string.

", - "publishedAt":"2021-03-30T10:00:15Z" + "slug": "new-workspace5", + "logoUrl": "/api/v1/assets/null", + "new": false }, - { - "tagName":"v1.4.5", - "name":"Release v1.4.5 \uD83C\uDFA2 ", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.5", - "descriptionHtml":"

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bugs

\n", - "publishedAt":"2021-03-29T14:23:12Z" - }, - { - "tagName":"v1.4.4", - "name":"Release v1.4.4 ✨", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.4", - "descriptionHtml":"

Whats new

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bugs

\n", - "publishedAt":"2021-03-22T10:39:05Z" - }, - { - "tagName":"v1.4.3", - "name":"Release v1.4.3 \uD83D\uDD0D", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.3", - "descriptionHtml":"

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", - "publishedAt":"2021-03-10T10:59:37Z" - }, - { - "tagName":"v1.4.2", - "name":"Release v1.4.2 \uD83E\uDE79", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.2", - "descriptionHtml":"

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", - "publishedAt":"2021-03-05T08:10:52Z" - }, - { - "tagName":"v1.4.1", - "name":"Release v1.4.1 \uD83C\uDF08", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.1", - "descriptionHtml":"

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", - "publishedAt":"2021-03-02T08:19:53Z" - }, - { - "tagName":"v1.4", - "name":"Release v1.4 \uD83D\uDD25", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4", - "descriptionHtml":"

What's new?

\n

Deprecation and updates

\n

A brand new DatePicker widget has replaced the old one in the widget list in the sidebar. Appsmith recommends replacing any existing DatePicker widgets in applications with a new one by dragging the DatePicker from the widget list in the sidebar.

\n

⚠️ The old DatePicker is being phased out and will not receive any bug fixes.

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n\n

Lots of bug fixes focusing on stability & consistency of applications built on Appsmith.

", - "publishedAt":"2021-02-25T16:54:53Z" - }, - { - "tagName":"v1.3.5.1", - "name":"Release v1.3.5.1", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.5.1", - "descriptionHtml":"", - "publishedAt":"2021-02-10T09:44:14Z" - }, - { - "tagName":"v1.3.5", - "name":"Release v1.3.5", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.5", - "descriptionHtml":"

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", - "publishedAt":"2021-02-10T09:29:04Z" - }, - { - "tagName":"v1.3.4", - "name":"Release v1.3.4", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.4", - "descriptionHtml":"

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", - "publishedAt":"2021-02-08T11:43:37Z" - }, - { - "tagName":"v1.3.3", - "name":"Release v1.3.3 \uD83C\uDF08", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.3", - "descriptionHtml":"

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", - "publishedAt":"2021-02-03T12:55:47Z" - }, - { - "tagName":"v1.3.2", - "name":"Release v1.3.2 \uD83C\uDF08", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.2", - "descriptionHtml":"

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", - "publishedAt":"2021-01-28T13:09:55Z" - }, - { - "tagName":"v1.3.1", - "name":"Release v1.3.1 \uD83C\uDF08", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.1", - "descriptionHtml":"

What's new?

\n

This is a patch release with bug fixes.

\n

\uD83D\uDC1B Bug Fixes

\n", - "publishedAt":"2021-01-22T09:41:11Z" - }, - { - "tagName":"v1.3", - "name":"Release v1.3 \uD83C\uDF08", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3", - "descriptionHtml":"

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", - "publishedAt":"2021-01-21T12:54:31Z" - }, - { - "tagName":"v1.2.25", - "name":"Release v1.2.25 \uD83C\uDF08", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.2.25", - "descriptionHtml":"

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", - "publishedAt":"2021-01-20T11:49:45Z" - }, - { - "tagName":"v1.2.15", - "name":"Release v1.2.15", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.2.15", - "descriptionHtml":"", - "publishedAt":"2020-11-11T08:48:03Z" - }, - { - "tagName":"v1.2.1", - "name":"Release v1.2.1", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.2.1", - "descriptionHtml":"", - "publishedAt":"2020-08-24T14:38:30Z" - }, - { - "tagName":"v1.0", - "name":"Release v1.0", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.0", - "descriptionHtml":"", - "publishedAt":"2020-08-17T12:13:55Z" - } - ] - } - } \ No newline at end of file + "applications": [], + "users": [ + { + "username": "b1@appsmith.com", + "permissionGroupId": "62e2291af980b36927705076", + "permissionGroupName": "Administrator" + } + ] + } + ], + "newReleasesCount": "", + "releaseItems": [ + { + "tagName": "v1.4.6", + "name": "Release v1.4.6 \uD83D\uDC1E", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.6", + "descriptionHtml": "

Bug fix

\n

New validations in DatePicker widget allows only ISO 8601 format dates in the defaultDate property.
\nThis fix tries to automatically parse the given date string to generate a valid ISO string.

", + "publishedAt": "2021-03-30T10:00:15Z" + }, + { + "tagName": "v1.4.5", + "name": "Release v1.4.5 \uD83C\uDFA2 ", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.5", + "descriptionHtml": "

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bugs

\n", + "publishedAt": "2021-03-29T14:23:12Z" + }, + { + "tagName": "v1.4.4", + "name": "Release v1.4.4 ✨", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.4", + "descriptionHtml": "

Whats new

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bugs

\n", + "publishedAt": "2021-03-22T10:39:05Z" + }, + { + "tagName": "v1.4.3", + "name": "Release v1.4.3 \uD83D\uDD0D", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.3", + "descriptionHtml": "

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", + "publishedAt": "2021-03-10T10:59:37Z" + }, + { + "tagName": "v1.4.2", + "name": "Release v1.4.2 \uD83E\uDE79", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.2", + "descriptionHtml": "

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", + "publishedAt": "2021-03-05T08:10:52Z" + }, + { + "tagName": "v1.4.1", + "name": "Release v1.4.1 \uD83C\uDF08", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.1", + "descriptionHtml": "

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", + "publishedAt": "2021-03-02T08:19:53Z" + }, + { + "tagName": "v1.4", + "name": "Release v1.4 \uD83D\uDD25", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4", + "descriptionHtml": "

What's new?

\n

Deprecation and updates

\n

A brand new DatePicker widget has replaced the old one in the widget list in the sidebar. Appsmith recommends replacing any existing DatePicker widgets in applications with a new one by dragging the DatePicker from the widget list in the sidebar.

\n

⚠️ The old DatePicker is being phased out and will not receive any bug fixes.

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n\n

Lots of bug fixes focusing on stability & consistency of applications built on Appsmith.

", + "publishedAt": "2021-02-25T16:54:53Z" + }, + { + "tagName": "v1.3.5.1", + "name": "Release v1.3.5.1", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.5.1", + "descriptionHtml": "", + "publishedAt": "2021-02-10T09:44:14Z" + }, + { + "tagName": "v1.3.5", + "name": "Release v1.3.5", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.5", + "descriptionHtml": "

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", + "publishedAt": "2021-02-10T09:29:04Z" + }, + { + "tagName": "v1.3.4", + "name": "Release v1.3.4", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.4", + "descriptionHtml": "

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", + "publishedAt": "2021-02-08T11:43:37Z" + }, + { + "tagName": "v1.3.3", + "name": "Release v1.3.3 \uD83C\uDF08", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.3", + "descriptionHtml": "

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", + "publishedAt": "2021-02-03T12:55:47Z" + }, + { + "tagName": "v1.3.2", + "name": "Release v1.3.2 \uD83C\uDF08", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.2", + "descriptionHtml": "

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", + "publishedAt": "2021-01-28T13:09:55Z" + }, + { + "tagName": "v1.3.1", + "name": "Release v1.3.1 \uD83C\uDF08", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.1", + "descriptionHtml": "

What's new?

\n

This is a patch release with bug fixes.

\n

\uD83D\uDC1B Bug Fixes

\n", + "publishedAt": "2021-01-22T09:41:11Z" + }, + { + "tagName": "v1.3", + "name": "Release v1.3 \uD83C\uDF08", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3", + "descriptionHtml": "

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", + "publishedAt": "2021-01-21T12:54:31Z" + }, + { + "tagName": "v1.2.25", + "name": "Release v1.2.25 \uD83C\uDF08", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.2.25", + "descriptionHtml": "

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", + "publishedAt": "2021-01-20T11:49:45Z" + }, + { + "tagName": "v1.2.15", + "name": "Release v1.2.15", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.2.15", + "descriptionHtml": "", + "publishedAt": "2020-11-11T08:48:03Z" + }, + { + "tagName": "v1.2.1", + "name": "Release v1.2.1", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.2.1", + "descriptionHtml": "", + "publishedAt": "2020-08-24T14:38:30Z" + }, + { + "tagName": "v1.0", + "name": "Release v1.0", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.0", + "descriptionHtml": "", + "publishedAt": "2020-08-17T12:13:55Z" + } + ] + } +} diff --git a/app/client/src/mockResponses/CreateWorkspaceMockResponse.json b/app/client/src/mockResponses/CreateWorkspaceMockResponse.json index 5389697ced..45323b22c4 100644 --- a/app/client/src/mockResponses/CreateWorkspaceMockResponse.json +++ b/app/client/src/mockResponses/CreateWorkspaceMockResponse.json @@ -1,115 +1,89 @@ { - "responseMeta":{ - "status":201, - "success":true + "responseMeta": { + "status": 201, + "success": true }, - "data":{ - "id":"6065e4b7034ece74b1481819", - "userPermissions":[ - - ], - "name":"new workspace", - "email":"b1@appsmith.com", - "plugins":[ + "data": { + "id": "6065e4b7034ece74b1481819", + "userPermissions": [], + "name": "new workspace", + "email": "b1@appsmith.com", + "plugins": [ { - "userPermissions":[ - - ], - "pluginId":"5ca385dc81b37f0004b4db85", - "status":"FREE", - "new":true + "userPermissions": [], + "pluginId": "5ca385dc81b37f0004b4db85", + "status": "FREE", + "new": true }, { - "userPermissions":[ - - ], - "pluginId":"5e8dad9bf062d5125ddfd836", - "status":"FREE", - "new":true + "userPermissions": [], + "pluginId": "5e8dad9bf062d5125ddfd836", + "status": "FREE", + "new": true }, { - "userPermissions":[ - - ], - "pluginId":"5ec3bccdd4b5eaa50ba6f583", - "status":"FREE", - "new":true + "userPermissions": [], + "pluginId": "5ec3bccdd4b5eaa50ba6f583", + "status": "FREE", + "new": true }, { - "userPermissions":[ - - ], - "pluginId":"5ec3bcf1d4b5eaa50ba6f593", - "status":"FREE", - "new":true + "userPermissions": [], + "pluginId": "5ec3bcf1d4b5eaa50ba6f593", + "status": "FREE", + "new": true }, { - "userPermissions":[ - - ], - "pluginId":"5f192a44a2d05225d010db9d", - "status":"FREE", - "new":true + "userPermissions": [], + "pluginId": "5f192a44a2d05225d010db9d", + "status": "FREE", + "new": true }, { - "userPermissions":[ - - ], - "pluginId":"5f92f9e9107018510ae540be", - "status":"FREE", - "new":true + "userPermissions": [], + "pluginId": "5f92f9e9107018510ae540be", + "status": "FREE", + "new": true }, { - "userPermissions":[ - - ], - "pluginId":"5f92f9ec107018510ae540c0", - "status":"FREE", - "new":true + "userPermissions": [], + "pluginId": "5f92f9ec107018510ae540c0", + "status": "FREE", + "new": true }, { - "userPermissions":[ - - ], - "pluginId":"5f92f9ef107018510ae540c3", - "status":"FREE", - "new":true + "userPermissions": [], + "pluginId": "5f92f9ef107018510ae540c3", + "status": "FREE", + "new": true }, { - "userPermissions":[ - - ], - "pluginId":"5f92f9f1107018510ae540c5", - "status":"FREE", - "new":true + "userPermissions": [], + "pluginId": "5f92f9f1107018510ae540c5", + "status": "FREE", + "new": true }, { - "userPermissions":[ - - ], - "pluginId":"5fbcc1c758377818ddaec444", - "status":"FREE", - "new":true + "userPermissions": [], + "pluginId": "5fbcc1c758377818ddaec444", + "status": "FREE", + "new": true }, { - "userPermissions":[ - - ], - "pluginId":"60081f50ffab735a9dae84e7", - "status":"FREE", - "new":true + "userPermissions": [], + "pluginId": "60081f50ffab735a9dae84e7", + "status": "FREE", + "new": true }, { - "userPermissions":[ - - ], - "pluginId":"60374b7d074f9b49cd68a036", - "status":"FREE", - "new":true + "userPermissions": [], + "pluginId": "60374b7d074f9b49cd68a036", + "status": "FREE", + "new": true } ], - "slug":"new-workspace5", - "logoUrl":"/api/v1/assets/null", - "new":false + "slug": "new-workspace5", + "logoUrl": "/api/v1/assets/null", + "new": false } -} \ No newline at end of file +} diff --git a/app/client/src/mockResponses/FetchReleasesMockResponse.json b/app/client/src/mockResponses/FetchReleasesMockResponse.json index 0778466753..ccd2c9ccab 100644 --- a/app/client/src/mockResponses/FetchReleasesMockResponse.json +++ b/app/client/src/mockResponses/FetchReleasesMockResponse.json @@ -1,137 +1,137 @@ { - "responseMeta":{ - "status":200, - "success":true + "responseMeta": { + "status": 200, + "success": true }, - "data":{ - "newReleasesCount":"", - "releaseItems":[ + "data": { + "newReleasesCount": "", + "releaseItems": [ { - "tagName":"v1.4.6", - "name":"Release v1.4.6 \uD83D\uDC1E", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.6", - "descriptionHtml":"

Bug fix

\n

New validations in DatePicker widget allows only ISO 8601 format dates in the defaultDate property.
\nThis fix tries to automatically parse the given date string to generate a valid ISO string.

", - "publishedAt":"2021-03-30T10:00:15Z" + "tagName": "v1.4.6", + "name": "Release v1.4.6 \uD83D\uDC1E", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.6", + "descriptionHtml": "

Bug fix

\n

New validations in DatePicker widget allows only ISO 8601 format dates in the defaultDate property.
\nThis fix tries to automatically parse the given date string to generate a valid ISO string.

", + "publishedAt": "2021-03-30T10:00:15Z" }, { - "tagName":"v1.4.5", - "name":"Release v1.4.5 \uD83C\uDFA2 ", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.5", - "descriptionHtml":"

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bugs

\n", - "publishedAt":"2021-03-29T14:23:12Z" + "tagName": "v1.4.5", + "name": "Release v1.4.5 \uD83C\uDFA2 ", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.5", + "descriptionHtml": "

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bugs

\n", + "publishedAt": "2021-03-29T14:23:12Z" }, { - "tagName":"v1.4.4", - "name":"Release v1.4.4 ✨", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.4", - "descriptionHtml":"

Whats new

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bugs

\n", - "publishedAt":"2021-03-22T10:39:05Z" + "tagName": "v1.4.4", + "name": "Release v1.4.4 ✨", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.4", + "descriptionHtml": "

Whats new

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bugs

\n", + "publishedAt": "2021-03-22T10:39:05Z" }, { - "tagName":"v1.4.3", - "name":"Release v1.4.3 \uD83D\uDD0D", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.3", - "descriptionHtml":"

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", - "publishedAt":"2021-03-10T10:59:37Z" + "tagName": "v1.4.3", + "name": "Release v1.4.3 \uD83D\uDD0D", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.3", + "descriptionHtml": "

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", + "publishedAt": "2021-03-10T10:59:37Z" }, { - "tagName":"v1.4.2", - "name":"Release v1.4.2 \uD83E\uDE79", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.2", - "descriptionHtml":"

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", - "publishedAt":"2021-03-05T08:10:52Z" + "tagName": "v1.4.2", + "name": "Release v1.4.2 \uD83E\uDE79", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.2", + "descriptionHtml": "

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", + "publishedAt": "2021-03-05T08:10:52Z" }, { - "tagName":"v1.4.1", - "name":"Release v1.4.1 \uD83C\uDF08", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.1", - "descriptionHtml":"

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", - "publishedAt":"2021-03-02T08:19:53Z" + "tagName": "v1.4.1", + "name": "Release v1.4.1 \uD83C\uDF08", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4.1", + "descriptionHtml": "

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", + "publishedAt": "2021-03-02T08:19:53Z" }, { - "tagName":"v1.4", - "name":"Release v1.4 \uD83D\uDD25", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4", - "descriptionHtml":"

What's new?

\n

Deprecation and updates

\n

A brand new DatePicker widget has replaced the old one in the widget list in the sidebar. Appsmith recommends replacing any existing DatePicker widgets in applications with a new one by dragging the DatePicker from the widget list in the sidebar.

\n

⚠️ The old DatePicker is being phased out and will not receive any bug fixes.

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n\n

Lots of bug fixes focusing on stability & consistency of applications built on Appsmith.

", - "publishedAt":"2021-02-25T16:54:53Z" + "tagName": "v1.4", + "name": "Release v1.4 \uD83D\uDD25", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.4", + "descriptionHtml": "

What's new?

\n

Deprecation and updates

\n

A brand new DatePicker widget has replaced the old one in the widget list in the sidebar. Appsmith recommends replacing any existing DatePicker widgets in applications with a new one by dragging the DatePicker from the widget list in the sidebar.

\n

⚠️ The old DatePicker is being phased out and will not receive any bug fixes.

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n\n

Lots of bug fixes focusing on stability & consistency of applications built on Appsmith.

", + "publishedAt": "2021-02-25T16:54:53Z" }, { - "tagName":"v1.3.5.1", - "name":"Release v1.3.5.1", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.5.1", - "descriptionHtml":"", - "publishedAt":"2021-02-10T09:44:14Z" + "tagName": "v1.3.5.1", + "name": "Release v1.3.5.1", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.5.1", + "descriptionHtml": "", + "publishedAt": "2021-02-10T09:44:14Z" }, { - "tagName":"v1.3.5", - "name":"Release v1.3.5", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.5", - "descriptionHtml":"

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", - "publishedAt":"2021-02-10T09:29:04Z" + "tagName": "v1.3.5", + "name": "Release v1.3.5", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.5", + "descriptionHtml": "

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", + "publishedAt": "2021-02-10T09:29:04Z" }, { - "tagName":"v1.3.4", - "name":"Release v1.3.4", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.4", - "descriptionHtml":"

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", - "publishedAt":"2021-02-08T11:43:37Z" + "tagName": "v1.3.4", + "name": "Release v1.3.4", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.4", + "descriptionHtml": "

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", + "publishedAt": "2021-02-08T11:43:37Z" }, { - "tagName":"v1.3.3", - "name":"Release v1.3.3 \uD83C\uDF08", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.3", - "descriptionHtml":"

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", - "publishedAt":"2021-02-03T12:55:47Z" + "tagName": "v1.3.3", + "name": "Release v1.3.3 \uD83C\uDF08", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.3", + "descriptionHtml": "

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", + "publishedAt": "2021-02-03T12:55:47Z" }, { - "tagName":"v1.3.2", - "name":"Release v1.3.2 \uD83C\uDF08", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.2", - "descriptionHtml":"

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", - "publishedAt":"2021-01-28T13:09:55Z" + "tagName": "v1.3.2", + "name": "Release v1.3.2 \uD83C\uDF08", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.2", + "descriptionHtml": "

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", + "publishedAt": "2021-01-28T13:09:55Z" }, { - "tagName":"v1.3.1", - "name":"Release v1.3.1 \uD83C\uDF08", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.1", - "descriptionHtml":"

What's new?

\n

This is a patch release with bug fixes.

\n

\uD83D\uDC1B Bug Fixes

\n", - "publishedAt":"2021-01-22T09:41:11Z" + "tagName": "v1.3.1", + "name": "Release v1.3.1 \uD83C\uDF08", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3.1", + "descriptionHtml": "

What's new?

\n

This is a patch release with bug fixes.

\n

\uD83D\uDC1B Bug Fixes

\n", + "publishedAt": "2021-01-22T09:41:11Z" }, { - "tagName":"v1.3", - "name":"Release v1.3 \uD83C\uDF08", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3", - "descriptionHtml":"

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", - "publishedAt":"2021-01-21T12:54:31Z" + "tagName": "v1.3", + "name": "Release v1.3 \uD83C\uDF08", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.3", + "descriptionHtml": "

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", + "publishedAt": "2021-01-21T12:54:31Z" }, { - "tagName":"v1.2.25", - "name":"Release v1.2.25 \uD83C\uDF08", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.2.25", - "descriptionHtml":"

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", - "publishedAt":"2021-01-20T11:49:45Z" + "tagName": "v1.2.25", + "name": "Release v1.2.25 \uD83C\uDF08", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.2.25", + "descriptionHtml": "

What's new?

\n

\uD83D\uDE80 Features

\n\n

\uD83D\uDC1B Bug Fixes

\n", + "publishedAt": "2021-01-20T11:49:45Z" }, { - "tagName":"v1.2.15", - "name":"Release v1.2.15", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.2.15", - "descriptionHtml":"", - "publishedAt":"2020-11-11T08:48:03Z" + "tagName": "v1.2.15", + "name": "Release v1.2.15", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.2.15", + "descriptionHtml": "", + "publishedAt": "2020-11-11T08:48:03Z" }, { - "tagName":"v1.2.1", - "name":"Release v1.2.1", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.2.1", - "descriptionHtml":"", - "publishedAt":"2020-08-24T14:38:30Z" + "tagName": "v1.2.1", + "name": "Release v1.2.1", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.2.1", + "descriptionHtml": "", + "publishedAt": "2020-08-24T14:38:30Z" }, { - "tagName":"v1.0", - "name":"Release v1.0", - "url":"https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.0", - "descriptionHtml":"", - "publishedAt":"2020-08-17T12:13:55Z" + "tagName": "v1.0", + "name": "Release v1.0", + "url": "https://github.com/appsmithorg/appsmith-ee/releases/tag/v1.0", + "descriptionHtml": "", + "publishedAt": "2020-08-17T12:13:55Z" } ] } -} \ No newline at end of file +} diff --git a/app/client/src/pages/Editor/GuidedTour/app.json b/app/client/src/pages/Editor/GuidedTour/app.json index 9ae605c207..215d8df9c3 100644 --- a/app/client/src/pages/Editor/GuidedTour/app.json +++ b/app/client/src/pages/Editor/GuidedTour/app.json @@ -1,1895 +1,1894 @@ { - "clientSchemaVersion": 1.0, - "serverSchemaVersion": 6.0, - "exportedApplication": { - "name": "Customer Support Dashboard", - "isPublic": false, - "pages": [{ "id": "Page1", "isDefault": true }], - "publishedPages": [{ "id": "Page1", "isDefault": true }], - "viewMode": false, - "appIsExample": false, - "unreadCommentThreads": 0.0, - "clonedFromApplicationId": "62b334e22ff7e42f71a2a124", - "color": "#F5D1D1", - "icon": "line-chart", - "slug": "customer-support-dashboard", - "unpublishedAppLayout": { "type": "DESKTOP" }, - "publishedAppLayout": { "type": "DESKTOP" }, - "applicationVersion": 2.0, - "isManualUpdate": false, - "deleted": false - }, - "datasourceList": [ - { - "name": "Users", - "pluginId": "postgres-plugin", - "datasourceConfiguration": { - "connection": { - "mode": "READ_WRITE", - "ssl": { "authType": "DEFAULT" } - }, - "endpoints": [{ "host": "mockdb.internal.appsmith.com" }], - "authentication": { - "username": "users", - "password": "new-users-db-pass", - "databaseName": "users" - } - }, - "messages": [], - "isAutoGenerated": false, - "deleted": false, - "gitSyncId": "62b3019260456831ead4d041_62b32d47c074aa6fdd7edb56" - } - ], - "pageList": [ - { - "unpublishedPage": { - "name": "Page1", - "slug": "page1", - "layouts": [ - { - "viewMode": false, - "dsl": { - "widgetName": "MainContainer", - "backgroundColor": "none", - "rightColumn": 1160.0, - "snapColumns": 64.0, - "detachFromLayout": true, - "widgetId": "0", - "topRow": 0.0, - "bottomRow": 760.0, - "containerStyle": "none", - "snapRows": 125.0, - "parentRowSpace": 1.0, - "type": "CANVAS_WIDGET", - "canExtend": true, - "version": 67.0, - "minHeight": 740.0, - "parentColumnSpace": 1.0, - "dynamicBindingPathList": [], - "leftColumn": 0.0, - "children": [ - { - "boxShadow": "none", - "widgetName": "Text1", - "dynamicPropertyPathList": [{ "key": "fontSize" }], - "topRow": 3.0, - "bottomRow": 7.0, - "parentRowSpace": 40.0, - "type": "TEXT_WIDGET", - "parentColumnSpace": 74.0, - "dynamicTriggerPathList": [], - "overflow": "NONE", - "fontFamily": "System Default", - "leftColumn": 0.0, - "dynamicBindingPathList": [], - "text": "\uD83D\uDC6B Customers", - "labelTextSize": "0.875rem", - "rightColumn": 12.0, - "textAlign": "LEFT", - "widgetId": "uhe8hpkvld", - "isVisible": true, - "fontStyle": "BOLD", - "version": 1.0, - "textColor": "#231F20", - "parentId": "0", - "isLoading": false, - "borderRadius": "0px", - "fontSize": "1.5rem" - }, - { - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "widgetName": "CustomersInfo", - "borderColor": "transparent", - "isCanvas": true, - "displayName": "Container", - "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": ["div", "parent", "group"], - "topRow": 7.0, - "bottomRow": 37.0, - "type": "CONTAINER_WIDGET", - "hideCard": false, - "animateLoading": true, - "leftColumn": 35.0, - "dynamicBindingPathList": [ - { "key": "borderRadius" }, - { "key": "boxShadow" } - ], - "children": [ - { - "boxShadow": "none", - "widgetName": "Canvas1", - "displayName": "Canvas", - "topRow": 0.0, - "bottomRow": 290.0, - "parentRowSpace": 1.0, - "type": "CANVAS_WIDGET", - "canExtend": false, - "hideCard": true, - "parentColumnSpace": 1.0, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { "key": "borderRadius" }, - { "key": "accentColor" } - ], - "children": [ - { - "widgetName": "Text2", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": ["typography", "paragraph"], - "topRow": 1.0, - "bottomRow": 5.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "leftColumn": 1.0, - "dynamicBindingPathList": [ - { "key": "fontFamily" }, - { "key": "borderRadius" } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "\uD83D\uDC68‍\uD83D\uDCBC Customer Update Form", - "key": "x7doiqjz3h", - "isDeprecated": false, - "rightColumn": 49.0, - "textAlign": "LEFT", - "widgetId": "4tb7ep0t5t", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "78koet28ym", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "fontSize": "HEADING2" - }, - { - "boxShadow": "none", - "widgetName": "DisplayImage", - "displayName": "Image", - "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg", - "topRow": 6.0, - "bottomRow": 18.0, - "type": "IMAGE_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [], - "imageShape": "RECTANGLE", - "leftColumn": 1.0, - "dynamicBindingPathList": [ - { "key": "borderRadius" }, - { "key": "image" } - ], - "defaultImage": "https://assets.appsmith.com/widgets/default.png", - "key": "bovvaz5au0", - "image": "{{CustomersTable.selectedRow.image}}", - "isDeprecated": false, - "rightColumn": 17.0, - "objectFit": "contain", - "widgetId": "wshrhb5wyi", - "isVisible": true, - "version": 1.0, - "parentId": "78koet28ym", - "renderMode": "CANVAS", - "isLoading": false, - "maxZoomLevel": 1.0, - "enableDownload": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "enableRotation": false - }, - { - "widgetName": "Text3", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": ["typography", "paragraph"], - "topRow": 6.0, - "bottomRow": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "leftColumn": 19.0, - "dynamicBindingPathList": [ - { "key": "fontFamily" }, - { "key": "borderRadius" } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "Name", - "key": "x7doiqjz3h", - "isDeprecated": false, - "rightColumn": 27.0, - "textAlign": "LEFT", - "widgetId": "ou8abxo13d", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "78koet28ym", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "fontSize": "PARAGRAPH" - }, - { - "boxShadow": "none", - "widgetName": "NameInput", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], - "topRow": 6.0, - "bottomRow": 10.0, - "labelWidth": 5.0, - "autoFocus": false, - "type": "INPUT_WIDGET_V2", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [], - "resetOnSubmit": true, - "leftColumn": 30.0, - "dynamicBindingPathList": [ - { "key": "accentColor" }, - { "key": "borderRadius" }, - { "key": "defaultText" } - ], - "labelPosition": "Left", - "labelStyle": "", - "inputType": "TEXT", - "isDisabled": false, - "key": "3u8om3xz0h", - "labelTextSize": "0.875rem", - "isRequired": false, - "isDeprecated": false, - "rightColumn": 62.0, - "widgetId": "rc40v2t8np", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisible": true, - "label": "", - "version": 2.0, - "parentId": "78koet28ym", - "labelAlignment": "left", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "iconAlign": "left", - "defaultText": "{{CustomersTable.selectedRow.name}}" - }, - { - "widgetName": "Text4", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": ["typography", "paragraph"], - "topRow": 10.0, - "bottomRow": 14.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "leftColumn": 19.0, - "dynamicBindingPathList": [ - { "key": "fontFamily" }, - { "key": "borderRadius" } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "Email", - "key": "x7doiqjz3h", - "isDeprecated": false, - "rightColumn": 27.0, - "textAlign": "LEFT", - "widgetId": "25017hjp96", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "78koet28ym", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "fontSize": "PARAGRAPH" - }, - { - "boxShadow": "none", - "widgetName": "EmailInput", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], - "topRow": 10.0, - "bottomRow": 14.0, - "labelWidth": 5.0, - "autoFocus": false, - "type": "INPUT_WIDGET_V2", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [], - "resetOnSubmit": true, - "leftColumn": 30.0, - "dynamicBindingPathList": [ - { "key": "accentColor" }, - { "key": "borderRadius" }, - { "key": "defaultText" } - ], - "labelPosition": "Left", - "labelStyle": "", - "inputType": "TEXT", - "isDisabled": false, - "key": "3u8om3xz0h", - "labelTextSize": "0.875rem", - "isRequired": false, - "isDeprecated": false, - "rightColumn": 62.0, - "widgetId": "v1hjfgrj07", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisible": true, - "label": "", - "version": 2.0, - "parentId": "78koet28ym", - "labelAlignment": "left", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "iconAlign": "left", - "defaultText": "{{CustomersTable.selectedRow.email}}" - }, - { - "widgetName": "Text5", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": ["typography", "paragraph"], - "topRow": 14.0, - "bottomRow": 18.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "leftColumn": 19.0, - "dynamicBindingPathList": [ - { "key": "fontFamily" }, - { "key": "borderRadius" } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "Country", - "key": "x7doiqjz3h", - "isDeprecated": false, - "rightColumn": 29.0, - "textAlign": "LEFT", - "widgetId": "hqatwp9gvw", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "78koet28ym", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "fontSize": "PARAGRAPH" - }, - { - "boxShadow": "none", - "widgetName": "CountryInput", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], - "topRow": 14.0, - "bottomRow": 18.0, - "labelWidth": 5.0, - "autoFocus": false, - "type": "INPUT_WIDGET_V2", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [], - "resetOnSubmit": true, - "leftColumn": 30.0, - "dynamicBindingPathList": [ - { "key": "accentColor" }, - { "key": "borderRadius" }, - { "key": "defaultText" } - ], - "labelPosition": "Left", - "labelStyle": "", - "inputType": "TEXT", - "isDisabled": false, - "key": "3u8om3xz0h", - "labelTextSize": "0.875rem", - "isRequired": false, - "isDeprecated": false, - "rightColumn": 62.0, - "widgetId": "moka7z9ch7", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisible": true, - "label": "", - "version": 2.0, - "parentId": "78koet28ym", - "labelAlignment": "left", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "iconAlign": "left", - "defaultText": "{{CustomersTable.selectedRow.country}}" - }, - { - "boxShadow": "none", - "widgetName": "UpdateButton", - "onClick": "{{updateCustomerInfo.run(() => getCustomers.run(), () => {})}}", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "displayName": "Button", - "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": ["click", "submit"], - "topRow": 22.0, - "bottomRow": 27.0, - "parentRowSpace": 10.0, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 17.9375, - "dynamicTriggerPathList": [{ "key": "onClick" }], - "leftColumn": 1.0, - "dynamicBindingPathList": [ - { "key": "buttonColor" }, - { "key": "borderRadius" } - ], - "text": "Click to Update", - "isDisabled": false, - "key": "9l48tn25u6", - "isDeprecated": false, - "rightColumn": 25.0, - "isDefaultClickDisabled": true, - "widgetId": "aa8y9tf0yu", - "isVisible": true, - "recaptchaType": "V3", - "version": 1.0, - "parentId": "78koet28ym", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "buttonVariant": "PRIMARY", - "placement": "CENTER" - } - ], - "key": "2htqwre5lx", - "isDeprecated": false, - "detachFromLayout": true, - "widgetId": "78koet28ym", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "containerStyle": "none", - "isVisible": true, - "version": 1.0, - "parentId": "ikwrazl0u8", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - } - ], - "borderWidth": "0", - "key": "bm3ntdcmxe", - "backgroundColor": "#FFFFFF", - "isDeprecated": false, - "rightColumn": 64.0, - "widgetId": "ikwrazl0u8", - "containerStyle": "card", - "isVisible": true, - "version": 1.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - }, - { - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "borderColor": "#E0DEDE", - "isVisibleDownload": true, - "iconSVG": "/static/media/icon.db8a9cbd2acd22a31ea91cc37ea2a46c.svg", - "topRow": 7.0, - "isSortable": true, - "type": "TABLE_WIDGET_V2", - "inlineEditingSaveOption": "ROW_LEVEL", - "animateLoading": true, - "dynamicBindingPathList": [ - { "key": "accentColor" }, - { "key": "borderRadius" }, - { "key": "boxShadow" }, - { "key": "childStylesheet.button.buttonColor" }, - { "key": "childStylesheet.button.borderRadius" }, - { "key": "childStylesheet.menuButton.menuColor" }, - { "key": "childStylesheet.menuButton.borderRadius" }, - { "key": "childStylesheet.iconButton.buttonColor" }, - { "key": "childStylesheet.iconButton.borderRadius" }, - { "key": "childStylesheet.editActions.saveButtonColor" }, - { "key": "childStylesheet.editActions.saveBorderRadius" }, - { "key": "childStylesheet.editActions.discardButtonColor" }, - { - "key": "childStylesheet.editActions.discardBorderRadius" - }, - { "key": "tableData" }, - { "key": "primaryColumns.id.computedValue" }, - { "key": "primaryColumns.gender.computedValue" }, - { "key": "primaryColumns.latitude.computedValue" }, - { "key": "primaryColumns.longitude.computedValue" }, - { "key": "primaryColumns.dob.computedValue" }, - { "key": "primaryColumns.phone.computedValue" }, - { "key": "primaryColumns.email.computedValue" }, - { "key": "primaryColumns.image.computedValue" }, - { "key": "primaryColumns.country.computedValue" }, - { "key": "primaryColumns.name.computedValue" } - ], - "leftColumn": 0.0, - "delimiter": ",", - "defaultSelectedRowIndex": 0.0, - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisibleFilters": true, - "isVisible": true, - "enableClientSideSearch": true, - "version": 1.0, - "totalRecordsCount": 0.0, - "isLoading": false, - "childStylesheet": { - "button": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "menuButton": { - "menuColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "iconButton": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "editActions": { - "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - } - }, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "defaultSelectedRowIndices": [0.0], - "widgetName": "CustomersTable", - "defaultPageSize": 0.0, - "columnOrder": [ - "id", - "name", - "email", - "country", - "gender", - "latitude", - "longitude", - "dob", - "phone", - "image" - ], - "dynamicPropertyPathList": [], - "displayName": "Table", - "bottomRow": 68.0, - "columnWidthMap": { - "task": 245.0, - "step": 62.0, - "status": 75.0, - "id": 60.0, - "email": 248.0 - }, - "parentRowSpace": 10.0, - "hideCard": false, - "parentColumnSpace": 17.9375, - "dynamicTriggerPathList": [], - "borderWidth": "1", - "primaryColumns": { - "id": { - "allowCellWrapping": false, - "index": 0.0, - "width": 150.0, - "originalId": "id", - "id": "id", - "alias": "id", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "number", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellEditable": false, - "isEditable": false, - "isCellVisible": true, - "isDerived": false, - "label": "id", - "isSaveVisible": true, - "isDiscardVisible": true, - "computedValue": "{{CustomersTable.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"id\"]))}}", - "validation": {} - }, - "gender": { - "allowCellWrapping": false, - "index": 1.0, - "width": 150.0, - "originalId": "gender", - "id": "gender", - "alias": "gender", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellEditable": false, - "isEditable": false, - "isCellVisible": true, - "isDerived": false, - "label": "gender", - "isSaveVisible": true, - "isDiscardVisible": true, - "computedValue": "{{CustomersTable.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"gender\"]))}}", - "validation": {} - }, - "latitude": { - "allowCellWrapping": false, - "index": 2.0, - "width": 150.0, - "originalId": "latitude", - "id": "latitude", - "alias": "latitude", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellEditable": false, - "isEditable": false, - "isCellVisible": true, - "isDerived": false, - "label": "latitude", - "isSaveVisible": true, - "isDiscardVisible": true, - "computedValue": "{{CustomersTable.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"latitude\"]))}}", - "validation": {} - }, - "longitude": { - "allowCellWrapping": false, - "index": 3.0, - "width": 150.0, - "originalId": "longitude", - "id": "longitude", - "alias": "longitude", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellEditable": false, - "isEditable": false, - "isCellVisible": true, - "isDerived": false, - "label": "longitude", - "isSaveVisible": true, - "isDiscardVisible": true, - "computedValue": "{{CustomersTable.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"longitude\"]))}}", - "validation": {} - }, - "dob": { - "allowCellWrapping": false, - "index": 4.0, - "width": 150.0, - "originalId": "dob", - "id": "dob", - "alias": "dob", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "date", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellEditable": false, - "isEditable": false, - "isCellVisible": true, - "isDerived": false, - "label": "dob", - "isSaveVisible": true, - "isDiscardVisible": true, - "computedValue": "{{CustomersTable.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"dob\"]))}}", - "validation": {} - }, - "phone": { - "allowCellWrapping": false, - "index": 5.0, - "width": 150.0, - "originalId": "phone", - "id": "phone", - "alias": "phone", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellEditable": false, - "isEditable": false, - "isCellVisible": true, - "isDerived": false, - "label": "phone", - "isSaveVisible": true, - "isDiscardVisible": true, - "computedValue": "{{CustomersTable.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"phone\"]))}}", - "validation": {} - }, - "email": { - "allowCellWrapping": false, - "index": 6.0, - "width": 150.0, - "originalId": "email", - "id": "email", - "alias": "email", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellEditable": false, - "isEditable": false, - "isCellVisible": true, - "isDerived": false, - "label": "email", - "isSaveVisible": true, - "isDiscardVisible": true, - "computedValue": "{{CustomersTable.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"email\"]))}}", - "validation": {} - }, - "image": { - "allowCellWrapping": false, - "index": 7.0, - "width": 150.0, - "originalId": "image", - "id": "image", - "alias": "image", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellEditable": false, - "isEditable": false, - "isCellVisible": true, - "isDerived": false, - "label": "image", - "isSaveVisible": true, - "isDiscardVisible": true, - "computedValue": "{{CustomersTable.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"image\"]))}}", - "validation": {} - }, - "country": { - "allowCellWrapping": false, - "index": 8.0, - "width": 150.0, - "originalId": "country", - "id": "country", - "alias": "country", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellEditable": false, - "isEditable": false, - "isCellVisible": true, - "isDerived": false, - "label": "country", - "isSaveVisible": true, - "isDiscardVisible": true, - "computedValue": "{{CustomersTable.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"country\"]))}}", - "validation": {} - }, - "name": { - "allowCellWrapping": false, - "index": 9.0, - "width": 150.0, - "originalId": "name", - "id": "name", - "alias": "name", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellEditable": false, - "isEditable": false, - "isCellVisible": true, - "isDerived": false, - "label": "name", - "isSaveVisible": true, - "isDiscardVisible": true, - "computedValue": "{{CustomersTable.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"name\"]))}}", - "validation": {} - } - }, - "key": "hlupn299rl", - "isDeprecated": false, - "rightColumn": 34.0, - "textSize": "0.875rem", - "widgetId": "aqpqbznlzl", - "tableData": "{{getCustomers.data}}", - "label": "Data", - "searchKey": "", - "parentId": "0", - "renderMode": "CANVAS", - "horizontalAlignment": "LEFT", - "isVisibleSearch": true, - "isVisiblePagination": true, - "verticalAlignment": "CENTER" - } - ] - }, - "layoutOnLoadActions": [ - [ - { - "id": "Page1_getCustomers", - "name": "getCustomers", - "confirmBeforeExecute": false, - "pluginType": "DB", - "jsonPathKeys": [], - "timeoutInMillisecond": 10000.0 - } - ] - ], - "layoutOnLoadActionErrors": [], - "validOnPageLoadActions": true, - "id": "Page1", - "deleted": false, - "policies": [], - "userPermissions": [] - } - ], - "userPermissions": [], - "policies": [] - }, - "publishedPage": { - "name": "Page1", - "slug": "page1", - "layouts": [ - { - "viewMode": false, - "dsl": { - "widgetName": "MainContainer", - "backgroundColor": "none", - "rightColumn": 1160.0, - "snapColumns": 64.0, - "detachFromLayout": true, - "widgetId": "0", - "topRow": 0.0, - "bottomRow": 760.0, - "containerStyle": "none", - "snapRows": 125.0, - "parentRowSpace": 1.0, - "type": "CANVAS_WIDGET", - "canExtend": true, - "version": 59.0, - "minHeight": 740.0, - "parentColumnSpace": 1.0, - "dynamicBindingPathList": [], - "leftColumn": 0.0, - "children": [ - { - "boxShadow": "none", - "widgetName": "Text1", - "dynamicPropertyPathList": [{ "key": "fontSize" }], - "topRow": 3.0, - "bottomRow": 7.0, - "parentRowSpace": 40.0, - "type": "TEXT_WIDGET", - "parentColumnSpace": 74.0, - "dynamicTriggerPathList": [], - "overflow": "NONE", - "fontFamily": "System Default", - "leftColumn": 0.0, - "dynamicBindingPathList": [], - "text": "\uD83D\uDC6B Customers", - "labelTextSize": "0.875rem", - "rightColumn": 12.0, - "textAlign": "LEFT", - "widgetId": "uhe8hpkvld", - "isVisible": true, - "fontStyle": "BOLD", - "version": 1.0, - "textColor": "#231F20", - "parentId": "0", - "isLoading": false, - "borderRadius": "0px", - "fontSize": "1.5rem" - }, - { - "boxShadow": "none", - "widgetName": "CustomersTable", - "defaultPageSize": 0.0, - "columnOrder": [ - "id", - "name", - "email", - "country", - "gender", - "latitude", - "longitude", - "dob", - "phone", - "image" - ], - "isVisibleDownload": true, - "dynamicPropertyPathList": [], - "displayName": "Table", - "iconSVG": "/static/media/icon.db8a9cbd.svg", - "topRow": 7.0, - "bottomRow": 67.0, - "parentRowSpace": 10.0, - "isSortable": true, - "type": "TABLE_WIDGET", - "animateLoading": true, - "defaultSelectedRow": "0", - "hideCard": false, - "parentColumnSpace": 17.28125, - "dynamicTriggerPathList": [ - { "key": "onRowSelected" }, - { "key": "onSearchTextChanged" } - ], - "dynamicBindingPathList": [ - { "key": "primaryColumns.id.computedValue" }, - { "key": "primaryColumns.name.computedValue" }, - { "key": "primaryColumns.gender.computedValue" }, - { "key": "primaryColumns.latitude.computedValue" }, - { "key": "primaryColumns.longitude.computedValue" }, - { "key": "primaryColumns.dob.computedValue" }, - { "key": "primaryColumns.phone.computedValue" }, - { "key": "primaryColumns.email.computedValue" }, - { "key": "primaryColumns.image.computedValue" }, - { "key": "primaryColumns.country.computedValue" }, - { "key": "accentColor" }, - { "key": "tableData" } - ], - "leftColumn": 0.0, - "primaryColumns": { - "id": { - "index": 0.0, - "width": 150.0, - "id": "id", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "id", - "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.id))}}", - "borderRadius": "0px", - "boxShadow": "none" - }, - "name": { - "index": 1.0, - "width": 150.0, - "id": "name", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "name", - "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.name))}}", - "borderRadius": "0px", - "boxShadow": "none" - }, - "gender": { - "index": 1.0, - "width": 150.0, - "id": "gender", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "gender", - "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.gender))}}", - "borderRadius": "0px", - "boxShadow": "none" - }, - "latitude": { - "index": 2.0, - "width": 150.0, - "id": "latitude", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "latitude", - "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.latitude))}}", - "borderRadius": "0px", - "boxShadow": "none" - }, - "longitude": { - "index": 3.0, - "width": 150.0, - "id": "longitude", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "longitude", - "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.longitude))}}", - "borderRadius": "0px", - "boxShadow": "none" - }, - "dob": { - "index": 4.0, - "width": 150.0, - "id": "dob", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "dob", - "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.dob))}}", - "borderRadius": "0px", - "boxShadow": "none" - }, - "phone": { - "index": 5.0, - "width": 150.0, - "id": "phone", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "phone", - "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.phone))}}", - "borderRadius": "0px", - "boxShadow": "none" - }, - "email": { - "index": 6.0, - "width": 150.0, - "id": "email", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "email", - "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.email))}}", - "borderRadius": "0px", - "boxShadow": "none" - }, - "image": { - "index": 7.0, - "width": 150.0, - "id": "image", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "image", - "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.image))}}", - "borderRadius": "0px", - "boxShadow": "none" - }, - "country": { - "index": 8.0, - "width": 150.0, - "id": "country", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellVisible": true, - "isDerived": false, - "label": "country", - "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.country))}}", - "borderRadius": "0px", - "boxShadow": "none" - } - }, - "delimiter": ",", - "onRowSelected": "", - "key": "gsiv88orej", - "derivedColumns": {}, - "labelTextSize": "0.875rem", - "rightColumn": 34.0, - "textSize": "0.875rem", - "widgetId": "rsrxzwk730", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisibleFilters": true, - "tableData": "{{getCustomers.data}}", - "isVisible": true, - "label": "Data", - "searchKey": "", - "version": 3.0, - "totalRecordsCount": 0.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "onSearchTextChanged": "", - "horizontalAlignment": "LEFT", - "isVisibleSearch": true, - "childStylesheet": { - "button": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "menuButton": { - "menuColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "iconButton": { - "menuColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - } - }, - "borderRadius": "0px", - "isVisiblePagination": true, - "verticalAlignment": "CENTER", - "columnSizeMap": { - "task": 245.0, - "step": 62.0, - "status": 75.0, - "id": 60.0, - "email": 247.0 - } - }, - { - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "widgetName": "CustomersInfo", - "borderColor": "transparent", - "isCanvas": true, - "displayName": "Container", - "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": ["div", "parent", "group"], - "topRow": 7.0, - "bottomRow": 37.0, - "type": "CONTAINER_WIDGET", - "hideCard": false, - "animateLoading": true, - "leftColumn": 35.0, - "dynamicBindingPathList": [ - { "key": "borderRadius" }, - { "key": "boxShadow" } - ], - "children": [ - { - "boxShadow": "none", - "widgetName": "Canvas1", - "displayName": "Canvas", - "topRow": 0.0, - "bottomRow": 290.0, - "parentRowSpace": 1.0, - "type": "CANVAS_WIDGET", - "canExtend": false, - "hideCard": true, - "parentColumnSpace": 1.0, - "leftColumn": 0.0, - "dynamicBindingPathList": [ - { "key": "borderRadius" }, - { "key": "accentColor" } - ], - "children": [ - { - "widgetName": "Text2", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": ["typography", "paragraph"], - "topRow": 1.0, - "bottomRow": 5.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "leftColumn": 1.0, - "dynamicBindingPathList": [ - { "key": "fontFamily" }, - { "key": "borderRadius" } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "\uD83D\uDC68‍\uD83D\uDCBC Customer Update Form", - "key": "x7doiqjz3h", - "isDeprecated": false, - "rightColumn": 49.0, - "textAlign": "LEFT", - "widgetId": "4tb7ep0t5t", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "78koet28ym", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "fontSize": "HEADING2" - }, - { - "boxShadow": "none", - "widgetName": "DisplayImage", - "displayName": "Image", - "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg", - "topRow": 6.0, - "bottomRow": 18.0, - "type": "IMAGE_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [], - "imageShape": "RECTANGLE", - "leftColumn": 1.0, - "dynamicBindingPathList": [ - { "key": "borderRadius" }, - { "key": "image" } - ], - "defaultImage": "https://assets.appsmith.com/widgets/default.png", - "key": "bovvaz5au0", - "image": "{{CustomersTable.selectedRow.image}}", - "isDeprecated": false, - "rightColumn": 17.0, - "objectFit": "contain", - "widgetId": "wshrhb5wyi", - "isVisible": true, - "version": 1.0, - "parentId": "78koet28ym", - "renderMode": "CANVAS", - "isLoading": false, - "maxZoomLevel": 1.0, - "enableDownload": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "enableRotation": false - }, - { - "widgetName": "Text3", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": ["typography", "paragraph"], - "topRow": 6.0, - "bottomRow": 10.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "leftColumn": 19.0, - "dynamicBindingPathList": [ - { "key": "fontFamily" }, - { "key": "borderRadius" } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "Name", - "key": "x7doiqjz3h", - "isDeprecated": false, - "rightColumn": 27.0, - "textAlign": "LEFT", - "widgetId": "ou8abxo13d", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "78koet28ym", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "fontSize": "PARAGRAPH" - }, - { - "boxShadow": "none", - "widgetName": "NameInput", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], - "topRow": 6.0, - "bottomRow": 10.0, - "labelWidth": 5.0, - "autoFocus": false, - "type": "INPUT_WIDGET_V2", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [], - "resetOnSubmit": true, - "leftColumn": 30.0, - "dynamicBindingPathList": [ - { "key": "accentColor" }, - { "key": "borderRadius" }, - { "key": "defaultText" } - ], - "labelPosition": "Left", - "labelStyle": "", - "inputType": "TEXT", - "isDisabled": false, - "key": "3u8om3xz0h", - "labelTextSize": "0.875rem", - "isRequired": false, - "isDeprecated": false, - "rightColumn": 62.0, - "widgetId": "rc40v2t8np", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisible": true, - "label": "", - "version": 2.0, - "parentId": "78koet28ym", - "labelAlignment": "left", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "iconAlign": "left", - "defaultText": "{{CustomersTable.selectedRow.name}}" - }, - { - "widgetName": "Text4", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": ["typography", "paragraph"], - "topRow": 10.0, - "bottomRow": 14.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "leftColumn": 19.0, - "dynamicBindingPathList": [ - { "key": "fontFamily" }, - { "key": "borderRadius" } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "Email", - "key": "x7doiqjz3h", - "isDeprecated": false, - "rightColumn": 27.0, - "textAlign": "LEFT", - "widgetId": "25017hjp96", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "78koet28ym", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "fontSize": "PARAGRAPH" - }, - { - "boxShadow": "none", - "widgetName": "EmailInput", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], - "topRow": 10.0, - "bottomRow": 14.0, - "labelWidth": 5.0, - "autoFocus": false, - "type": "INPUT_WIDGET_V2", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [], - "resetOnSubmit": true, - "leftColumn": 30.0, - "dynamicBindingPathList": [ - { "key": "accentColor" }, - { "key": "borderRadius" }, - { "key": "defaultText" } - ], - "labelPosition": "Left", - "labelStyle": "", - "inputType": "TEXT", - "isDisabled": false, - "key": "3u8om3xz0h", - "labelTextSize": "0.875rem", - "isRequired": false, - "isDeprecated": false, - "rightColumn": 62.0, - "widgetId": "v1hjfgrj07", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisible": true, - "label": "", - "version": 2.0, - "parentId": "78koet28ym", - "labelAlignment": "left", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "iconAlign": "left", - "defaultText": "{{CustomersTable.selectedRow.email}}" - }, - { - "widgetName": "Text5", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": ["typography", "paragraph"], - "topRow": 14.0, - "bottomRow": 18.0, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "leftColumn": 19.0, - "dynamicBindingPathList": [ - { "key": "fontFamily" }, - { "key": "borderRadius" } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "Country", - "key": "x7doiqjz3h", - "isDeprecated": false, - "rightColumn": 29.0, - "textAlign": "LEFT", - "widgetId": "hqatwp9gvw", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1.0, - "parentId": "78koet28ym", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "fontSize": "PARAGRAPH" - }, - { - "boxShadow": "none", - "widgetName": "CountryInput", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], - "topRow": 14.0, - "bottomRow": 18.0, - "labelWidth": 5.0, - "autoFocus": false, - "type": "INPUT_WIDGET_V2", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [], - "resetOnSubmit": true, - "leftColumn": 30.0, - "dynamicBindingPathList": [ - { "key": "accentColor" }, - { "key": "borderRadius" }, - { "key": "defaultText" } - ], - "labelPosition": "Left", - "labelStyle": "", - "inputType": "TEXT", - "isDisabled": false, - "key": "3u8om3xz0h", - "labelTextSize": "0.875rem", - "isRequired": false, - "isDeprecated": false, - "rightColumn": 62.0, - "widgetId": "moka7z9ch7", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisible": true, - "label": "", - "version": 2.0, - "parentId": "78koet28ym", - "labelAlignment": "left", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "iconAlign": "left", - "defaultText": "{{CustomersTable.selectedRow.country}}" - }, - { - "boxShadow": "none", - "widgetName": "UpdateButton", - "onClick": "{{updateCustomerInfo.run(() => getCustomers.run(), () => {})}}", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "displayName": "Button", - "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": ["click", "submit"], - "topRow": 22.0, - "bottomRow": 27.0, - "parentRowSpace": 10.0, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 17.9375, - "dynamicTriggerPathList": [{ "key": "onClick" }], - "leftColumn": 1.0, - "dynamicBindingPathList": [ - { "key": "buttonColor" }, - { "key": "borderRadius" } - ], - "text": "Click to Update", - "isDisabled": false, - "key": "9l48tn25u6", - "isDeprecated": false, - "rightColumn": 25.0, - "isDefaultClickDisabled": true, - "widgetId": "aa8y9tf0yu", - "isVisible": true, - "recaptchaType": "V3", - "version": 1.0, - "parentId": "78koet28ym", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "buttonVariant": "PRIMARY", - "placement": "CENTER" - } - ], - "key": "2htqwre5lx", - "isDeprecated": false, - "detachFromLayout": true, - "widgetId": "78koet28ym", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "containerStyle": "none", - "isVisible": true, - "version": 1.0, - "parentId": "ikwrazl0u8", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - } - ], - "borderWidth": "0", - "key": "bm3ntdcmxe", - "backgroundColor": "#FFFFFF", - "isDeprecated": false, - "rightColumn": 64.0, - "widgetId": "ikwrazl0u8", - "containerStyle": "card", - "isVisible": true, - "version": 1.0, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - } - ] - }, - "layoutOnLoadActions": [ - [ - { - "id": "Page1_getCustomers", - "name": "getCustomers", - "confirmBeforeExecute": false, - "pluginType": "DB", - "jsonPathKeys": [], - "timeoutInMillisecond": 10000.0 - } - ] - ], - "validOnPageLoadActions": true, - "id": "Page1", - "deleted": false, - "policies": [], - "userPermissions": [] - } - ], - "userPermissions": [], - "policies": [] - }, - "deleted": false, - "gitSyncId": "62b41f08b72ed502c3e66727_62b41f08b72ed502c3e66729" - } - ], - "actionList": [ - { - "pluginType": "DB", - "pluginId": "postgres-plugin", - "unpublishedAction": { - "name": "getCustomers", - "datasource": { - "name": "Users", - "pluginId": "postgres-plugin", - "messages": [], - "isAutoGenerated": false, - "id": "Users", - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Page1", - "actionConfiguration": { - "timeoutInMillisecond": 10000.0, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "SELECT * FROM users ORDER BY id LIMIT 20;", - "selfReferencingDataPaths": [], - "pluginSpecifiedTemplates": [{ "value": false }] - }, - "executeOnLoad": true, - "dynamicBindingPathList": [], - "isValid": true, - "invalids": [], - "messages": [], - "jsonPathKeys": [], - "userSetOnLoad": false, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [] - }, - "publishedAction": { - "name": "getCustomers", - "datasource": { - "name": "Users", - "pluginId": "postgres-plugin", - "messages": [], - "isAutoGenerated": false, - "id": "Users", - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Page1", - "actionConfiguration": { - "timeoutInMillisecond": 10000.0, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "SELECT * FROM users ORDER BY id LIMIT 20;", - "selfReferencingDataPaths": [], - "pluginSpecifiedTemplates": [{ "value": false }] - }, - "executeOnLoad": true, - "dynamicBindingPathList": [], - "isValid": true, - "invalids": [], - "messages": [], - "jsonPathKeys": [], - "userSetOnLoad": false, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [] - }, - "id": "Page1_getCustomers", - "deleted": false, - "gitSyncId": "62b41f08b72ed502c3e66727_62b41f08b72ed502c3e6672b" - }, - { - "pluginType": "DB", - "pluginId": "postgres-plugin", - "unpublishedAction": { - "name": "updateCustomerInfo", - "datasource": { - "name": "Users", - "pluginId": "postgres-plugin", - "messages": [], - "isAutoGenerated": false, - "id": "Users", - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Page1", - "actionConfiguration": { - "timeoutInMillisecond": 10000.0, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "UPDATE users SET name = '{{NameInput.text}}', email = '{{EmailInput.text}}', country = '{{CountryInput.text}}' WHERE id = {{CustomersTable.selectedRow.id}}", - "selfReferencingDataPaths": [], - "pluginSpecifiedTemplates": [{ "value": false }] - }, - "executeOnLoad": false, - "dynamicBindingPathList": [], - "isValid": true, - "invalids": [], - "messages": [], - "jsonPathKeys": [ - "NameInput.text", - "CountryInput.text", - "CustomersTable.selectedRow.id", - "EmailInput.text" - ], - "userSetOnLoad": false, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [] - }, - "publishedAction": { - "name": "updateCustomerInfo", - "datasource": { - "name": "Users", - "pluginId": "postgres-plugin", - "messages": [], - "isAutoGenerated": false, - "id": "Users", - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Page1", - "actionConfiguration": { - "timeoutInMillisecond": 10000.0, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "UPDATE users SET name = '{{NameInput.text}}', email = '{{EmailInput.text}}', country = '{{CountryInput.text}}' WHERE id = {{CustomersTable.selectedRow.id}}", - "selfReferencingDataPaths": [], - "pluginSpecifiedTemplates": [{ "value": false }] - }, - "executeOnLoad": false, - "dynamicBindingPathList": [], - "isValid": true, - "invalids": [], - "messages": [], - "jsonPathKeys": [ - "NameInput.text", - "CountryInput.text", - "CustomersTable.selectedRow.id", - "EmailInput.text" - ], - "userSetOnLoad": false, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [] - }, - "id": "Page1_updateCustomerInfo", - "deleted": false, - "gitSyncId": "62b41f08b72ed502c3e66727_62b41f08b72ed502c3e6672c" - } - ], - "actionCollectionList": [], - "updatedResources": { - "actionList": [ - "getCustomers##ENTITY_SEPARATOR##Page1", - "updateCustomerInfo##ENTITY_SEPARATOR##Page1" - ], - "pageList": ["Page1"], - "actionCollectionList": [] - }, - "decryptedFields": { - "Users": { - "password": "new-users-db-pass", - "authType": "com.appsmith.external.models.DBAuth", - "dbAuth": { - "username": "users", - "password": "new-users-db-pass", - "databaseName": "users" - } - } - }, - "editModeTheme": { - "name": "Classic", - "displayName": "Classic", - "isSystemTheme": true, - "deleted": false - }, - "publishedTheme": { - "name": "Classic", - "displayName": "Classic", - "isSystemTheme": true, - "deleted": false - } + "clientSchemaVersion": 1.0, + "serverSchemaVersion": 6.0, + "exportedApplication": { + "name": "Customer Support Dashboard", + "isPublic": false, + "pages": [{ "id": "Page1", "isDefault": true }], + "publishedPages": [{ "id": "Page1", "isDefault": true }], + "viewMode": false, + "appIsExample": false, + "unreadCommentThreads": 0.0, + "clonedFromApplicationId": "62b334e22ff7e42f71a2a124", + "color": "#F5D1D1", + "icon": "line-chart", + "slug": "customer-support-dashboard", + "unpublishedAppLayout": { "type": "DESKTOP" }, + "publishedAppLayout": { "type": "DESKTOP" }, + "applicationVersion": 2.0, + "isManualUpdate": false, + "deleted": false + }, + "datasourceList": [ + { + "name": "Users", + "pluginId": "postgres-plugin", + "datasourceConfiguration": { + "connection": { + "mode": "READ_WRITE", + "ssl": { "authType": "DEFAULT" } + }, + "endpoints": [{ "host": "mockdb.internal.appsmith.com" }], + "authentication": { + "username": "users", + "password": "new-users-db-pass", + "databaseName": "users" + } + }, + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "gitSyncId": "62b3019260456831ead4d041_62b32d47c074aa6fdd7edb56" + } + ], + "pageList": [ + { + "unpublishedPage": { + "name": "Page1", + "slug": "page1", + "layouts": [ + { + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1160.0, + "snapColumns": 64.0, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0.0, + "bottomRow": 760.0, + "containerStyle": "none", + "snapRows": 125.0, + "parentRowSpace": 1.0, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 67.0, + "minHeight": 740.0, + "parentColumnSpace": 1.0, + "dynamicBindingPathList": [], + "leftColumn": 0.0, + "children": [ + { + "boxShadow": "none", + "widgetName": "Text1", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 3.0, + "bottomRow": 7.0, + "parentRowSpace": 40.0, + "type": "TEXT_WIDGET", + "parentColumnSpace": 74.0, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "\uD83D\uDC6B Customers", + "labelTextSize": "0.875rem", + "rightColumn": 12.0, + "textAlign": "LEFT", + "widgetId": "uhe8hpkvld", + "isVisible": true, + "fontStyle": "BOLD", + "version": 1.0, + "textColor": "#231F20", + "parentId": "0", + "isLoading": false, + "borderRadius": "0px", + "fontSize": "1.5rem" + }, + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "CustomersInfo", + "borderColor": "transparent", + "isCanvas": true, + "displayName": "Container", + "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", + "searchTags": ["div", "parent", "group"], + "topRow": 7.0, + "bottomRow": 37.0, + "type": "CONTAINER_WIDGET", + "hideCard": false, + "animateLoading": true, + "leftColumn": 35.0, + "dynamicBindingPathList": [ + { "key": "borderRadius" }, + { "key": "boxShadow" } + ], + "children": [ + { + "boxShadow": "none", + "widgetName": "Canvas1", + "displayName": "Canvas", + "topRow": 0.0, + "bottomRow": 290.0, + "parentRowSpace": 1.0, + "type": "CANVAS_WIDGET", + "canExtend": false, + "hideCard": true, + "parentColumnSpace": 1.0, + "leftColumn": 0.0, + "dynamicBindingPathList": [ + { "key": "borderRadius" }, + { "key": "accentColor" } + ], + "children": [ + { + "widgetName": "Text2", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": ["typography", "paragraph"], + "topRow": 1.0, + "bottomRow": 5.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 1.0, + "dynamicBindingPathList": [ + { "key": "fontFamily" }, + { "key": "borderRadius" } + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "\uD83D\uDC68‍\uD83D\uDCBC Customer Update Form", + "key": "x7doiqjz3h", + "isDeprecated": false, + "rightColumn": 49.0, + "textAlign": "LEFT", + "widgetId": "4tb7ep0t5t", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "78koet28ym", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "fontSize": "HEADING2" + }, + { + "boxShadow": "none", + "widgetName": "DisplayImage", + "displayName": "Image", + "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg", + "topRow": 6.0, + "bottomRow": 18.0, + "type": "IMAGE_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "imageShape": "RECTANGLE", + "leftColumn": 1.0, + "dynamicBindingPathList": [ + { "key": "borderRadius" }, + { "key": "image" } + ], + "defaultImage": "https://assets.appsmith.com/widgets/default.png", + "key": "bovvaz5au0", + "image": "{{CustomersTable.selectedRow.image}}", + "isDeprecated": false, + "rightColumn": 17.0, + "objectFit": "contain", + "widgetId": "wshrhb5wyi", + "isVisible": true, + "version": 1.0, + "parentId": "78koet28ym", + "renderMode": "CANVAS", + "isLoading": false, + "maxZoomLevel": 1.0, + "enableDownload": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "enableRotation": false + }, + { + "widgetName": "Text3", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": ["typography", "paragraph"], + "topRow": 6.0, + "bottomRow": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 19.0, + "dynamicBindingPathList": [ + { "key": "fontFamily" }, + { "key": "borderRadius" } + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "Name", + "key": "x7doiqjz3h", + "isDeprecated": false, + "rightColumn": 27.0, + "textAlign": "LEFT", + "widgetId": "ou8abxo13d", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "78koet28ym", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "fontSize": "PARAGRAPH" + }, + { + "boxShadow": "none", + "widgetName": "NameInput", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "topRow": 6.0, + "bottomRow": 10.0, + "labelWidth": 5.0, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 30.0, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "defaultText" } + ], + "labelPosition": "Left", + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "3u8om3xz0h", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 62.0, + "widgetId": "rc40v2t8np", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2.0, + "parentId": "78koet28ym", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "iconAlign": "left", + "defaultText": "{{CustomersTable.selectedRow.name}}" + }, + { + "widgetName": "Text4", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": ["typography", "paragraph"], + "topRow": 10.0, + "bottomRow": 14.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 19.0, + "dynamicBindingPathList": [ + { "key": "fontFamily" }, + { "key": "borderRadius" } + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "Email", + "key": "x7doiqjz3h", + "isDeprecated": false, + "rightColumn": 27.0, + "textAlign": "LEFT", + "widgetId": "25017hjp96", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "78koet28ym", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "fontSize": "PARAGRAPH" + }, + { + "boxShadow": "none", + "widgetName": "EmailInput", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "topRow": 10.0, + "bottomRow": 14.0, + "labelWidth": 5.0, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 30.0, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "defaultText" } + ], + "labelPosition": "Left", + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "3u8om3xz0h", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 62.0, + "widgetId": "v1hjfgrj07", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2.0, + "parentId": "78koet28ym", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "iconAlign": "left", + "defaultText": "{{CustomersTable.selectedRow.email}}" + }, + { + "widgetName": "Text5", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": ["typography", "paragraph"], + "topRow": 14.0, + "bottomRow": 18.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 19.0, + "dynamicBindingPathList": [ + { "key": "fontFamily" }, + { "key": "borderRadius" } + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "Country", + "key": "x7doiqjz3h", + "isDeprecated": false, + "rightColumn": 29.0, + "textAlign": "LEFT", + "widgetId": "hqatwp9gvw", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "78koet28ym", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "fontSize": "PARAGRAPH" + }, + { + "boxShadow": "none", + "widgetName": "CountryInput", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "topRow": 14.0, + "bottomRow": 18.0, + "labelWidth": 5.0, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 30.0, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "defaultText" } + ], + "labelPosition": "Left", + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "3u8om3xz0h", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 62.0, + "widgetId": "moka7z9ch7", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2.0, + "parentId": "78koet28ym", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "iconAlign": "left", + "defaultText": "{{CustomersTable.selectedRow.country}}" + }, + { + "boxShadow": "none", + "widgetName": "UpdateButton", + "onClick": "{{updateCustomerInfo.run(() => getCustomers.run(), () => {})}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "Button", + "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", + "searchTags": ["click", "submit"], + "topRow": 22.0, + "bottomRow": 27.0, + "parentRowSpace": 10.0, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 17.9375, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 1.0, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "text": "Click to Update", + "isDisabled": false, + "key": "9l48tn25u6", + "isDeprecated": false, + "rightColumn": 25.0, + "isDefaultClickDisabled": true, + "widgetId": "aa8y9tf0yu", + "isVisible": true, + "recaptchaType": "V3", + "version": 1.0, + "parentId": "78koet28ym", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "placement": "CENTER" + } + ], + "key": "2htqwre5lx", + "isDeprecated": false, + "detachFromLayout": true, + "widgetId": "78koet28ym", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "containerStyle": "none", + "isVisible": true, + "version": 1.0, + "parentId": "ikwrazl0u8", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" + } + ], + "borderWidth": "0", + "key": "bm3ntdcmxe", + "backgroundColor": "#FFFFFF", + "isDeprecated": false, + "rightColumn": 64.0, + "widgetId": "ikwrazl0u8", + "containerStyle": "card", + "isVisible": true, + "version": 1.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" + }, + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "borderColor": "#E0DEDE", + "isVisibleDownload": true, + "iconSVG": "/static/media/icon.db8a9cbd2acd22a31ea91cc37ea2a46c.svg", + "topRow": 7.0, + "isSortable": true, + "type": "TABLE_WIDGET_V2", + "inlineEditingSaveOption": "ROW_LEVEL", + "animateLoading": true, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "boxShadow" }, + { "key": "childStylesheet.button.buttonColor" }, + { "key": "childStylesheet.button.borderRadius" }, + { "key": "childStylesheet.menuButton.menuColor" }, + { "key": "childStylesheet.menuButton.borderRadius" }, + { "key": "childStylesheet.iconButton.buttonColor" }, + { "key": "childStylesheet.iconButton.borderRadius" }, + { "key": "childStylesheet.editActions.saveButtonColor" }, + { "key": "childStylesheet.editActions.saveBorderRadius" }, + { "key": "childStylesheet.editActions.discardButtonColor" }, + { + "key": "childStylesheet.editActions.discardBorderRadius" + }, + { "key": "tableData" }, + { "key": "primaryColumns.id.computedValue" }, + { "key": "primaryColumns.gender.computedValue" }, + { "key": "primaryColumns.latitude.computedValue" }, + { "key": "primaryColumns.longitude.computedValue" }, + { "key": "primaryColumns.dob.computedValue" }, + { "key": "primaryColumns.phone.computedValue" }, + { "key": "primaryColumns.email.computedValue" }, + { "key": "primaryColumns.image.computedValue" }, + { "key": "primaryColumns.country.computedValue" }, + { "key": "primaryColumns.name.computedValue" } + ], + "leftColumn": 0.0, + "delimiter": ",", + "defaultSelectedRowIndex": 0.0, + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisibleFilters": true, + "isVisible": true, + "enableClientSideSearch": true, + "version": 1.0, + "totalRecordsCount": 0.0, + "isLoading": false, + "childStylesheet": { + "button": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "menuButton": { + "menuColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "iconButton": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "editActions": { + "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" + } + }, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "defaultSelectedRowIndices": [0.0], + "widgetName": "CustomersTable", + "defaultPageSize": 0.0, + "columnOrder": [ + "id", + "name", + "email", + "country", + "gender", + "latitude", + "longitude", + "dob", + "phone", + "image" + ], + "dynamicPropertyPathList": [], + "displayName": "Table", + "bottomRow": 68.0, + "columnWidthMap": { + "task": 245.0, + "step": 62.0, + "status": 75.0, + "id": 60.0, + "email": 248.0 + }, + "parentRowSpace": 10.0, + "hideCard": false, + "parentColumnSpace": 17.9375, + "dynamicTriggerPathList": [], + "borderWidth": "1", + "primaryColumns": { + "id": { + "allowCellWrapping": false, + "index": 0.0, + "width": 150.0, + "originalId": "id", + "id": "id", + "alias": "id", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "number", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "id", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{CustomersTable.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"id\"]))}}", + "validation": {} + }, + "gender": { + "allowCellWrapping": false, + "index": 1.0, + "width": 150.0, + "originalId": "gender", + "id": "gender", + "alias": "gender", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "gender", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{CustomersTable.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"gender\"]))}}", + "validation": {} + }, + "latitude": { + "allowCellWrapping": false, + "index": 2.0, + "width": 150.0, + "originalId": "latitude", + "id": "latitude", + "alias": "latitude", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "latitude", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{CustomersTable.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"latitude\"]))}}", + "validation": {} + }, + "longitude": { + "allowCellWrapping": false, + "index": 3.0, + "width": 150.0, + "originalId": "longitude", + "id": "longitude", + "alias": "longitude", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "longitude", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{CustomersTable.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"longitude\"]))}}", + "validation": {} + }, + "dob": { + "allowCellWrapping": false, + "index": 4.0, + "width": 150.0, + "originalId": "dob", + "id": "dob", + "alias": "dob", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "date", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "dob", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{CustomersTable.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"dob\"]))}}", + "validation": {} + }, + "phone": { + "allowCellWrapping": false, + "index": 5.0, + "width": 150.0, + "originalId": "phone", + "id": "phone", + "alias": "phone", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "phone", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{CustomersTable.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"phone\"]))}}", + "validation": {} + }, + "email": { + "allowCellWrapping": false, + "index": 6.0, + "width": 150.0, + "originalId": "email", + "id": "email", + "alias": "email", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "email", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{CustomersTable.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"email\"]))}}", + "validation": {} + }, + "image": { + "allowCellWrapping": false, + "index": 7.0, + "width": 150.0, + "originalId": "image", + "id": "image", + "alias": "image", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "image", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{CustomersTable.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"image\"]))}}", + "validation": {} + }, + "country": { + "allowCellWrapping": false, + "index": 8.0, + "width": 150.0, + "originalId": "country", + "id": "country", + "alias": "country", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "country", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{CustomersTable.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"country\"]))}}", + "validation": {} + }, + "name": { + "allowCellWrapping": false, + "index": 9.0, + "width": 150.0, + "originalId": "name", + "id": "name", + "alias": "name", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellEditable": false, + "isEditable": false, + "isCellVisible": true, + "isDerived": false, + "label": "name", + "isSaveVisible": true, + "isDiscardVisible": true, + "computedValue": "{{CustomersTable.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"name\"]))}}", + "validation": {} + } + }, + "key": "hlupn299rl", + "isDeprecated": false, + "rightColumn": 34.0, + "textSize": "0.875rem", + "widgetId": "aqpqbznlzl", + "tableData": "{{getCustomers.data}}", + "label": "Data", + "searchKey": "", + "parentId": "0", + "renderMode": "CANVAS", + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "isVisiblePagination": true, + "verticalAlignment": "CENTER" + } + ] + }, + "layoutOnLoadActions": [ + [ + { + "id": "Page1_getCustomers", + "name": "getCustomers", + "confirmBeforeExecute": false, + "pluginType": "DB", + "jsonPathKeys": [], + "timeoutInMillisecond": 10000.0 + } + ] + ], + "layoutOnLoadActionErrors": [], + "validOnPageLoadActions": true, + "id": "Page1", + "deleted": false, + "policies": [], + "userPermissions": [] + } + ], + "userPermissions": [], + "policies": [] + }, + "publishedPage": { + "name": "Page1", + "slug": "page1", + "layouts": [ + { + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1160.0, + "snapColumns": 64.0, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0.0, + "bottomRow": 760.0, + "containerStyle": "none", + "snapRows": 125.0, + "parentRowSpace": 1.0, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 59.0, + "minHeight": 740.0, + "parentColumnSpace": 1.0, + "dynamicBindingPathList": [], + "leftColumn": 0.0, + "children": [ + { + "boxShadow": "none", + "widgetName": "Text1", + "dynamicPropertyPathList": [{ "key": "fontSize" }], + "topRow": 3.0, + "bottomRow": 7.0, + "parentRowSpace": 40.0, + "type": "TEXT_WIDGET", + "parentColumnSpace": 74.0, + "dynamicTriggerPathList": [], + "overflow": "NONE", + "fontFamily": "System Default", + "leftColumn": 0.0, + "dynamicBindingPathList": [], + "text": "\uD83D\uDC6B Customers", + "labelTextSize": "0.875rem", + "rightColumn": 12.0, + "textAlign": "LEFT", + "widgetId": "uhe8hpkvld", + "isVisible": true, + "fontStyle": "BOLD", + "version": 1.0, + "textColor": "#231F20", + "parentId": "0", + "isLoading": false, + "borderRadius": "0px", + "fontSize": "1.5rem" + }, + { + "boxShadow": "none", + "widgetName": "CustomersTable", + "defaultPageSize": 0.0, + "columnOrder": [ + "id", + "name", + "email", + "country", + "gender", + "latitude", + "longitude", + "dob", + "phone", + "image" + ], + "isVisibleDownload": true, + "dynamicPropertyPathList": [], + "displayName": "Table", + "iconSVG": "/static/media/icon.db8a9cbd.svg", + "topRow": 7.0, + "bottomRow": 67.0, + "parentRowSpace": 10.0, + "isSortable": true, + "type": "TABLE_WIDGET", + "animateLoading": true, + "defaultSelectedRow": "0", + "hideCard": false, + "parentColumnSpace": 17.28125, + "dynamicTriggerPathList": [ + { "key": "onRowSelected" }, + { "key": "onSearchTextChanged" } + ], + "dynamicBindingPathList": [ + { "key": "primaryColumns.id.computedValue" }, + { "key": "primaryColumns.name.computedValue" }, + { "key": "primaryColumns.gender.computedValue" }, + { "key": "primaryColumns.latitude.computedValue" }, + { "key": "primaryColumns.longitude.computedValue" }, + { "key": "primaryColumns.dob.computedValue" }, + { "key": "primaryColumns.phone.computedValue" }, + { "key": "primaryColumns.email.computedValue" }, + { "key": "primaryColumns.image.computedValue" }, + { "key": "primaryColumns.country.computedValue" }, + { "key": "accentColor" }, + { "key": "tableData" } + ], + "leftColumn": 0.0, + "primaryColumns": { + "id": { + "index": 0.0, + "width": 150.0, + "id": "id", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "id", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.id))}}", + "borderRadius": "0px", + "boxShadow": "none" + }, + "name": { + "index": 1.0, + "width": 150.0, + "id": "name", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "name", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.name))}}", + "borderRadius": "0px", + "boxShadow": "none" + }, + "gender": { + "index": 1.0, + "width": 150.0, + "id": "gender", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "gender", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.gender))}}", + "borderRadius": "0px", + "boxShadow": "none" + }, + "latitude": { + "index": 2.0, + "width": 150.0, + "id": "latitude", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "latitude", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.latitude))}}", + "borderRadius": "0px", + "boxShadow": "none" + }, + "longitude": { + "index": 3.0, + "width": 150.0, + "id": "longitude", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "longitude", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.longitude))}}", + "borderRadius": "0px", + "boxShadow": "none" + }, + "dob": { + "index": 4.0, + "width": 150.0, + "id": "dob", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "dob", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.dob))}}", + "borderRadius": "0px", + "boxShadow": "none" + }, + "phone": { + "index": 5.0, + "width": 150.0, + "id": "phone", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "phone", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.phone))}}", + "borderRadius": "0px", + "boxShadow": "none" + }, + "email": { + "index": 6.0, + "width": 150.0, + "id": "email", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "email", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.email))}}", + "borderRadius": "0px", + "boxShadow": "none" + }, + "image": { + "index": 7.0, + "width": 150.0, + "id": "image", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": false, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "image", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.image))}}", + "borderRadius": "0px", + "boxShadow": "none" + }, + "country": { + "index": 8.0, + "width": 150.0, + "id": "country", + "horizontalAlignment": "LEFT", + "verticalAlignment": "CENTER", + "columnType": "text", + "textSize": "0.875rem", + "enableFilter": true, + "enableSort": true, + "isVisible": true, + "isDisabled": false, + "isCellVisible": true, + "isDerived": false, + "label": "country", + "computedValue": "{{CustomersTable.sanitizedTableData.map((currentRow) => ( currentRow.country))}}", + "borderRadius": "0px", + "boxShadow": "none" + } + }, + "delimiter": ",", + "onRowSelected": "", + "key": "gsiv88orej", + "derivedColumns": {}, + "labelTextSize": "0.875rem", + "rightColumn": 34.0, + "textSize": "0.875rem", + "widgetId": "rsrxzwk730", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisibleFilters": true, + "tableData": "{{getCustomers.data}}", + "isVisible": true, + "label": "Data", + "searchKey": "", + "version": 3.0, + "totalRecordsCount": 0.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "onSearchTextChanged": "", + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "childStylesheet": { + "button": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "menuButton": { + "menuColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, + "iconButton": { + "menuColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + } + }, + "borderRadius": "0px", + "isVisiblePagination": true, + "verticalAlignment": "CENTER", + "columnSizeMap": { + "task": 245.0, + "step": 62.0, + "status": 75.0, + "id": 60.0, + "email": 247.0 + } + }, + { + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "CustomersInfo", + "borderColor": "transparent", + "isCanvas": true, + "displayName": "Container", + "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", + "searchTags": ["div", "parent", "group"], + "topRow": 7.0, + "bottomRow": 37.0, + "type": "CONTAINER_WIDGET", + "hideCard": false, + "animateLoading": true, + "leftColumn": 35.0, + "dynamicBindingPathList": [ + { "key": "borderRadius" }, + { "key": "boxShadow" } + ], + "children": [ + { + "boxShadow": "none", + "widgetName": "Canvas1", + "displayName": "Canvas", + "topRow": 0.0, + "bottomRow": 290.0, + "parentRowSpace": 1.0, + "type": "CANVAS_WIDGET", + "canExtend": false, + "hideCard": true, + "parentColumnSpace": 1.0, + "leftColumn": 0.0, + "dynamicBindingPathList": [ + { "key": "borderRadius" }, + { "key": "accentColor" } + ], + "children": [ + { + "widgetName": "Text2", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": ["typography", "paragraph"], + "topRow": 1.0, + "bottomRow": 5.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 1.0, + "dynamicBindingPathList": [ + { "key": "fontFamily" }, + { "key": "borderRadius" } + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "\uD83D\uDC68‍\uD83D\uDCBC Customer Update Form", + "key": "x7doiqjz3h", + "isDeprecated": false, + "rightColumn": 49.0, + "textAlign": "LEFT", + "widgetId": "4tb7ep0t5t", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "78koet28ym", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "fontSize": "HEADING2" + }, + { + "boxShadow": "none", + "widgetName": "DisplayImage", + "displayName": "Image", + "iconSVG": "/static/media/icon.52d8fb963abcb95c79b10f1553389f22.svg", + "topRow": 6.0, + "bottomRow": 18.0, + "type": "IMAGE_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "imageShape": "RECTANGLE", + "leftColumn": 1.0, + "dynamicBindingPathList": [ + { "key": "borderRadius" }, + { "key": "image" } + ], + "defaultImage": "https://assets.appsmith.com/widgets/default.png", + "key": "bovvaz5au0", + "image": "{{CustomersTable.selectedRow.image}}", + "isDeprecated": false, + "rightColumn": 17.0, + "objectFit": "contain", + "widgetId": "wshrhb5wyi", + "isVisible": true, + "version": 1.0, + "parentId": "78koet28ym", + "renderMode": "CANVAS", + "isLoading": false, + "maxZoomLevel": 1.0, + "enableDownload": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "enableRotation": false + }, + { + "widgetName": "Text3", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": ["typography", "paragraph"], + "topRow": 6.0, + "bottomRow": 10.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 19.0, + "dynamicBindingPathList": [ + { "key": "fontFamily" }, + { "key": "borderRadius" } + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "Name", + "key": "x7doiqjz3h", + "isDeprecated": false, + "rightColumn": 27.0, + "textAlign": "LEFT", + "widgetId": "ou8abxo13d", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "78koet28ym", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "fontSize": "PARAGRAPH" + }, + { + "boxShadow": "none", + "widgetName": "NameInput", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "topRow": 6.0, + "bottomRow": 10.0, + "labelWidth": 5.0, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 30.0, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "defaultText" } + ], + "labelPosition": "Left", + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "3u8om3xz0h", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 62.0, + "widgetId": "rc40v2t8np", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2.0, + "parentId": "78koet28ym", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "iconAlign": "left", + "defaultText": "{{CustomersTable.selectedRow.name}}" + }, + { + "widgetName": "Text4", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": ["typography", "paragraph"], + "topRow": 10.0, + "bottomRow": 14.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 19.0, + "dynamicBindingPathList": [ + { "key": "fontFamily" }, + { "key": "borderRadius" } + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "Email", + "key": "x7doiqjz3h", + "isDeprecated": false, + "rightColumn": 27.0, + "textAlign": "LEFT", + "widgetId": "25017hjp96", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "78koet28ym", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "fontSize": "PARAGRAPH" + }, + { + "boxShadow": "none", + "widgetName": "EmailInput", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "topRow": 10.0, + "bottomRow": 14.0, + "labelWidth": 5.0, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 30.0, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "defaultText" } + ], + "labelPosition": "Left", + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "3u8om3xz0h", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 62.0, + "widgetId": "v1hjfgrj07", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2.0, + "parentId": "78koet28ym", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "iconAlign": "left", + "defaultText": "{{CustomersTable.selectedRow.email}}" + }, + { + "widgetName": "Text5", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": ["typography", "paragraph"], + "topRow": 14.0, + "bottomRow": 18.0, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 19.0, + "dynamicBindingPathList": [ + { "key": "fontFamily" }, + { "key": "borderRadius" } + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "Country", + "key": "x7doiqjz3h", + "isDeprecated": false, + "rightColumn": 29.0, + "textAlign": "LEFT", + "widgetId": "hqatwp9gvw", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1.0, + "parentId": "78koet28ym", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "fontSize": "PARAGRAPH" + }, + { + "boxShadow": "none", + "widgetName": "CountryInput", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "topRow": 14.0, + "bottomRow": 18.0, + "labelWidth": 5.0, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 30.0, + "dynamicBindingPathList": [ + { "key": "accentColor" }, + { "key": "borderRadius" }, + { "key": "defaultText" } + ], + "labelPosition": "Left", + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "3u8om3xz0h", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 62.0, + "widgetId": "moka7z9ch7", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "", + "version": 2.0, + "parentId": "78koet28ym", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "iconAlign": "left", + "defaultText": "{{CustomersTable.selectedRow.country}}" + }, + { + "boxShadow": "none", + "widgetName": "UpdateButton", + "onClick": "{{updateCustomerInfo.run(() => getCustomers.run(), () => {})}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "Button", + "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", + "searchTags": ["click", "submit"], + "topRow": 22.0, + "bottomRow": 27.0, + "parentRowSpace": 10.0, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 17.9375, + "dynamicTriggerPathList": [{ "key": "onClick" }], + "leftColumn": 1.0, + "dynamicBindingPathList": [ + { "key": "buttonColor" }, + { "key": "borderRadius" } + ], + "text": "Click to Update", + "isDisabled": false, + "key": "9l48tn25u6", + "isDeprecated": false, + "rightColumn": 25.0, + "isDefaultClickDisabled": true, + "widgetId": "aa8y9tf0yu", + "isVisible": true, + "recaptchaType": "V3", + "version": 1.0, + "parentId": "78koet28ym", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "placement": "CENTER" + } + ], + "key": "2htqwre5lx", + "isDeprecated": false, + "detachFromLayout": true, + "widgetId": "78koet28ym", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "containerStyle": "none", + "isVisible": true, + "version": 1.0, + "parentId": "ikwrazl0u8", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" + } + ], + "borderWidth": "0", + "key": "bm3ntdcmxe", + "backgroundColor": "#FFFFFF", + "isDeprecated": false, + "rightColumn": 64.0, + "widgetId": "ikwrazl0u8", + "containerStyle": "card", + "isVisible": true, + "version": 1.0, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" + } + ] + }, + "layoutOnLoadActions": [ + [ + { + "id": "Page1_getCustomers", + "name": "getCustomers", + "confirmBeforeExecute": false, + "pluginType": "DB", + "jsonPathKeys": [], + "timeoutInMillisecond": 10000.0 + } + ] + ], + "validOnPageLoadActions": true, + "id": "Page1", + "deleted": false, + "policies": [], + "userPermissions": [] + } + ], + "userPermissions": [], + "policies": [] + }, + "deleted": false, + "gitSyncId": "62b41f08b72ed502c3e66727_62b41f08b72ed502c3e66729" + } + ], + "actionList": [ + { + "pluginType": "DB", + "pluginId": "postgres-plugin", + "unpublishedAction": { + "name": "getCustomers", + "datasource": { + "name": "Users", + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "Users", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "SELECT * FROM users ORDER BY id LIMIT 20;", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [{ "value": false }] + }, + "executeOnLoad": true, + "dynamicBindingPathList": [], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "getCustomers", + "datasource": { + "name": "Users", + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "Users", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "SELECT * FROM users ORDER BY id LIMIT 20;", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [{ "value": false }] + }, + "executeOnLoad": true, + "dynamicBindingPathList": [], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Page1_getCustomers", + "deleted": false, + "gitSyncId": "62b41f08b72ed502c3e66727_62b41f08b72ed502c3e6672b" + }, + { + "pluginType": "DB", + "pluginId": "postgres-plugin", + "unpublishedAction": { + "name": "updateCustomerInfo", + "datasource": { + "name": "Users", + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "Users", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "UPDATE users SET name = '{{NameInput.text}}', email = '{{EmailInput.text}}', country = '{{CountryInput.text}}' WHERE id = {{CustomersTable.selectedRow.id}}", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [{ "value": false }] + }, + "executeOnLoad": false, + "dynamicBindingPathList": [], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "NameInput.text", + "CountryInput.text", + "CustomersTable.selectedRow.id", + "EmailInput.text" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "publishedAction": { + "name": "updateCustomerInfo", + "datasource": { + "name": "Users", + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "Users", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Page1", + "actionConfiguration": { + "timeoutInMillisecond": 10000.0, + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "UPDATE users SET name = '{{NameInput.text}}', email = '{{EmailInput.text}}', country = '{{CountryInput.text}}' WHERE id = {{CustomersTable.selectedRow.id}}", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [{ "value": false }] + }, + "executeOnLoad": false, + "dynamicBindingPathList": [], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "NameInput.text", + "CountryInput.text", + "CustomersTable.selectedRow.id", + "EmailInput.text" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Page1_updateCustomerInfo", + "deleted": false, + "gitSyncId": "62b41f08b72ed502c3e66727_62b41f08b72ed502c3e6672c" + } + ], + "actionCollectionList": [], + "updatedResources": { + "actionList": [ + "getCustomers##ENTITY_SEPARATOR##Page1", + "updateCustomerInfo##ENTITY_SEPARATOR##Page1" + ], + "pageList": ["Page1"], + "actionCollectionList": [] + }, + "decryptedFields": { + "Users": { + "password": "new-users-db-pass", + "authType": "com.appsmith.external.models.DBAuth", + "dbAuth": { + "username": "users", + "password": "new-users-db-pass", + "databaseName": "users" + } + } + }, + "editModeTheme": { + "name": "Classic", + "displayName": "Classic", + "isSystemTheme": true, + "deleted": false + }, + "publishedTheme": { + "name": "Classic", + "displayName": "Classic", + "isSystemTheme": true, + "deleted": false } - \ No newline at end of file +} diff --git a/app/client/src/pages/Editor/JSEditor/readme.md b/app/client/src/pages/Editor/JSEditor/readme.md index 4844c1e3f1..f1c8d4a5ee 100644 --- a/app/client/src/pages/Editor/JSEditor/readme.md +++ b/app/client/src/pages/Editor/JSEditor/readme.md @@ -3,7 +3,6 @@ - jsCollection : refers to individual JS Object configs - jsAction : refers to actions derived from functions within a jsCollection - ## To do -- Optimize number of Ast calls \ No newline at end of file +- Optimize number of Ast calls diff --git a/app/client/src/pages/Editor/SaaSEditor/__data__/InitialState.json b/app/client/src/pages/Editor/SaaSEditor/__data__/InitialState.json index 7454d406a5..64cfc616a3 100644 --- a/app/client/src/pages/Editor/SaaSEditor/__data__/InitialState.json +++ b/app/client/src/pages/Editor/SaaSEditor/__data__/InitialState.json @@ -1,2813 +1,2778 @@ { - "entities": { - "actions": [ - { - "isLoading": false, - "config": { - "id": "6194d8e1abb49e2fd00812b2", - "workspaceId": "5e1c5b2014edee5e49efc06c", - "pluginType": "SAAS", + "entities": { + "actions": [ + { + "isLoading": false, + "config": { + "id": "6194d8e1abb49e2fd00812b2", + "workspaceId": "5e1c5b2014edee5e49efc06c", + "pluginType": "SAAS", + "pluginId": "6080f9266b8cfd602957ba72", + "name": "Api1", + "datasource": { + "id": "6143187b6371c22cc093fdcf", + "userPermissions": [], "pluginId": "6080f9266b8cfd602957ba72", - "name": "Api1", - "datasource": { - "id": "6143187b6371c22cc093fdcf", - "userPermissions": [], - "pluginId": "6080f9266b8cfd602957ba72", - "messages": [], - "isValid": true, - "new": false - }, - "pageId": "6194d8cdabb49e2fd00812b1", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "pluginSpecifiedTemplates": [ - { - "key": "method", - "value": "GET" - }, - { - "key": "sheetUrl", - "value": "https://docs.google.com/spreadsheets/d/1HYjlH7T4ii_NZzCg6LvGG0hnqfNOu35XSl-OTo_4K7Y/edit#gid=1562690580" - }, - { - "key": "range", - "value": "" - }, - { - "key": "spreadsheetName", - "value": "" - }, - { - "key": "tableHeaderIndex", - "value": "1" - }, - { - "key": "queryFormat", - "value": "ROWS" - }, - { - "key": "rowLimit", - "value": "10" - }, - { - "key": "sheetName", - "value": "Sheet1" - }, - { - "key": "rowOffset", - "value": "0" - }, - { - "key": "rowObject" - }, - { - "key": "rowObjects" - }, - { - "key": "rowIndex", - "value": "0" - }, - { - "key": "deleteFormat", - "value": "SHEET" - }, - { - "key": "smartSubstitution", - "value": true - }, - { - "value": [ - {} - ] - } - ] - }, - "executeOnLoad": false, - "dynamicBindingPathList": [], - "isValid": true, - "invalids": [], "messages": [], - "jsonPathKeys": [], - "confirmBeforeExecute": false, - "userPermissions": [ - "read:actions", - "execute:actions", - "manage:actions" - ], - "validName": "Api1" - } + "isValid": true, + "new": false + }, + "pageId": "6194d8cdabb49e2fd00812b1", + "actionConfiguration": { + "timeoutInMillisecond": 10000, + "paginationType": "NONE", + "encodeParamsToggle": true, + "pluginSpecifiedTemplates": [ + { + "key": "method", + "value": "GET" + }, + { + "key": "sheetUrl", + "value": "https://docs.google.com/spreadsheets/d/1HYjlH7T4ii_NZzCg6LvGG0hnqfNOu35XSl-OTo_4K7Y/edit#gid=1562690580" + }, + { + "key": "range", + "value": "" + }, + { + "key": "spreadsheetName", + "value": "" + }, + { + "key": "tableHeaderIndex", + "value": "1" + }, + { + "key": "queryFormat", + "value": "ROWS" + }, + { + "key": "rowLimit", + "value": "10" + }, + { + "key": "sheetName", + "value": "Sheet1" + }, + { + "key": "rowOffset", + "value": "0" + }, + { + "key": "rowObject" + }, + { + "key": "rowObjects" + }, + { + "key": "rowIndex", + "value": "0" + }, + { + "key": "deleteFormat", + "value": "SHEET" + }, + { + "key": "smartSubstitution", + "value": true + }, + { + "value": [{}] + } + ] + }, + "executeOnLoad": false, + "dynamicBindingPathList": [], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [], + "confirmBeforeExecute": false, + "userPermissions": [ + "read:actions", + "execute:actions", + "manage:actions" + ], + "validName": "Api1" } - ], - "datasources": "undefined", - "pageList": "undefined", - "jsExecutions": {}, - "plugins": { - "list": [], - "loading": false, - "formConfigs": { - "5e687c18fb01e64e6a3f873f": [ - { - "sectionName": "Connection", - "children": [ - { - "label": "Use Mongo Connection String URI Key", - "configProperty": "datasourceConfiguration.properties[0].key", - "controlType": "INPUT_TEXT", - "initialValue": "Use Mongo Connection String URI", - "hidden": true - }, - { - "label": "Use Mongo Connection String URI", - "configProperty": "datasourceConfiguration.properties[0].value", - "controlType": "DROP_DOWN", - "initialValue": "No", - "options": [ - { - "label": "Yes", + } + ], + "datasources": "undefined", + "pageList": "undefined", + "jsExecutions": {}, + "plugins": { + "list": [], + "loading": false, + "formConfigs": { + "5e687c18fb01e64e6a3f873f": [ + { + "sectionName": "Connection", + "children": [ + { + "label": "Use Mongo Connection String URI Key", + "configProperty": "datasourceConfiguration.properties[0].key", + "controlType": "INPUT_TEXT", + "initialValue": "Use Mongo Connection String URI", + "hidden": true + }, + { + "label": "Use Mongo Connection String URI", + "configProperty": "datasourceConfiguration.properties[0].value", + "controlType": "DROP_DOWN", + "initialValue": "No", + "options": [ + { + "label": "Yes", + "value": "Yes" + }, + { + "label": "No", + "value": "No" + } + ] + }, + { + "label": "Connection String URI Key", + "configProperty": "datasourceConfiguration.properties[1].key", + "controlType": "INPUT_TEXT", + "initialValue": "Connection String URI", + "hidden": true + }, + { + "label": "Connection String URI", + "placeholderText": "mongodb+srv://:@test-db.swrsq.mongodb.net/myDatabase", + "configProperty": "datasourceConfiguration.properties[1].value", + "controlType": "INPUT_TEXT", + "hidden": { + "path": "datasourceConfiguration.properties[0].value", + "comparison": "NOT_EQUALS", + "value": "Yes" + } + }, + { + "label": "Connection Mode", + "configProperty": "datasourceConfiguration.connection.mode", + "controlType": "DROP_DOWN", + "initialValue": "READ_WRITE", + "options": [ + { + "label": "Read Only", + "value": "READ_ONLY" + }, + { + "label": "Read / Write", + "value": "READ_WRITE" + } + ], + "hidden": { + "path": "datasourceConfiguration.properties[0].value", + "comparison": "EQUALS", + "value": "Yes" + } + }, + { + "label": "Connection Type", + "configProperty": "datasourceConfiguration.connection.type", + "initialValue": "DIRECT", + "controlType": "DROP_DOWN", + "options": [ + { + "label": "Direct Connection", + "value": "DIRECT" + }, + { + "label": "Replica set", + "value": "REPLICA_SET" + } + ], + "hidden": { + "path": "datasourceConfiguration.properties[0].value", + "comparison": "EQUALS", + "value": "Yes" + } + }, + { + "children": [ + { + "label": "Host Address", + "configProperty": "datasourceConfiguration.endpoints[*].host", + "controlType": "KEYVALUE_ARRAY", + "validationMessage": "Please enter a valid host", + "validationRegex": "^((?![/:]).)*$", + "placeholderText": "myapp.abcde.mongodb.net", + "hidden": { + "path": "datasourceConfiguration.properties[0].value", + "comparison": "EQUALS", "value": "Yes" - }, - { - "label": "No", - "value": "No" } - ] - }, - { - "label": "Connection String URI Key", - "configProperty": "datasourceConfiguration.properties[1].key", - "controlType": "INPUT_TEXT", - "initialValue": "Connection String URI", - "hidden": true - }, - { - "label": "Connection String URI", - "placeholderText": "mongodb+srv://:@test-db.swrsq.mongodb.net/myDatabase", - "configProperty": "datasourceConfiguration.properties[1].value", - "controlType": "INPUT_TEXT", - "hidden": { - "path": "datasourceConfiguration.properties[0].value", - "comparison": "NOT_EQUALS", - "value": "Yes" - } - }, - { - "label": "Connection Mode", - "configProperty": "datasourceConfiguration.connection.mode", - "controlType": "DROP_DOWN", - "initialValue": "READ_WRITE", - "options": [ - { - "label": "Read Only", - "value": "READ_ONLY" - }, - { - "label": "Read / Write", - "value": "READ_WRITE" + }, + { + "label": "Port", + "configProperty": "datasourceConfiguration.endpoints[*].port", + "dataType": "NUMBER", + "controlType": "KEYVALUE_ARRAY", + "hidden": { + "path": "datasourceConfiguration.properties[0].value", + "comparison": "EQUALS", + "value": "Yes" } - ], - "hidden": { - "path": "datasourceConfiguration.properties[0].value", - "comparison": "EQUALS", - "value": "Yes" } - }, - { - "label": "Connection Type", - "configProperty": "datasourceConfiguration.connection.type", - "initialValue": "DIRECT", - "controlType": "DROP_DOWN", - "options": [ - { - "label": "Direct Connection", - "value": "DIRECT" - }, - { - "label": "Replica set", - "value": "REPLICA_SET" - } - ], - "hidden": { - "path": "datasourceConfiguration.properties[0].value", - "comparison": "EQUALS", - "value": "Yes" - } - }, - { - "children": [ - { - "label": "Host Address", - "configProperty": "datasourceConfiguration.endpoints[*].host", - "controlType": "KEYVALUE_ARRAY", - "validationMessage": "Please enter a valid host", - "validationRegex": "^((?![/:]).)*$", - "placeholderText": "myapp.abcde.mongodb.net", - "hidden": { - "path": "datasourceConfiguration.properties[0].value", - "comparison": "EQUALS", - "value": "Yes" - } - }, - { - "label": "Port", - "configProperty": "datasourceConfiguration.endpoints[*].port", - "dataType": "NUMBER", - "controlType": "KEYVALUE_ARRAY", - "hidden": { - "path": "datasourceConfiguration.properties[0].value", - "comparison": "EQUALS", - "value": "Yes" - } - } - ] - }, - { - "label": "Default Database Name", - "placeholderText": "(Optional)", - "configProperty": "datasourceConfiguration.connection.defaultDatabaseName", - "controlType": "INPUT_TEXT", - "hidden": { - "path": "datasourceConfiguration.properties[0].value", - "comparison": "EQUALS", - "value": "Yes" - } - } - ] - }, - { - "sectionName": "Authentication", - "hidden": { - "path": "datasourceConfiguration.properties[0].value", - "comparison": "EQUALS", - "value": "Yes" + ] }, - "children": [ - { - "label": "Database Name", - "configProperty": "datasourceConfiguration.authentication.databaseName", - "controlType": "INPUT_TEXT", - "placeholderText": "Database name", - "initialValue": "admin" - }, - { - "label": "Authentication Type", - "configProperty": "datasourceConfiguration.authentication.authType", - "controlType": "DROP_DOWN", - "initialValue": "SCRAM_SHA_1", - "options": [ - { - "label": "SCRAM-SHA-1", - "value": "SCRAM_SHA_1" - }, - { - "label": "SCRAM-SHA-256", - "value": "SCRAM_SHA_256" - }, - { - "label": "MONGODB-CR", - "value": "MONGODB_CR" - } - ] - }, - { - "children": [ - { - "label": "Username", - "configProperty": "datasourceConfiguration.authentication.username", - "controlType": "INPUT_TEXT", - "placeholderText": "Username" - }, - { - "label": "Password", - "configProperty": "datasourceConfiguration.authentication.password", - "dataType": "PASSWORD", - "controlType": "INPUT_TEXT", - "placeholderText": "Password", - "encrypted": true - } - ] + { + "label": "Default Database Name", + "placeholderText": "(Optional)", + "configProperty": "datasourceConfiguration.connection.defaultDatabaseName", + "controlType": "INPUT_TEXT", + "hidden": { + "path": "datasourceConfiguration.properties[0].value", + "comparison": "EQUALS", + "value": "Yes" } - ] + } + ] + }, + { + "sectionName": "Authentication", + "hidden": { + "path": "datasourceConfiguration.properties[0].value", + "comparison": "EQUALS", + "value": "Yes" }, - { - "sectionName": "SSL (optional)", - "hidden": { - "path": "datasourceConfiguration.properties[0].value", - "comparison": "EQUALS", - "value": "Yes" + "children": [ + { + "label": "Database Name", + "configProperty": "datasourceConfiguration.authentication.databaseName", + "controlType": "INPUT_TEXT", + "placeholderText": "Database name", + "initialValue": "admin" }, - "children": [ - { - "label": "SSL Mode", - "configProperty": "datasourceConfiguration.connection.ssl.authType", - "controlType": "DROP_DOWN", - "initialValue": "DEFAULT", - "options": [ - { - "label": "Default", - "value": "DEFAULT" - }, - { - "label": "Enabled", - "value": "ENABLED" - }, - { - "label": "Disabled", - "value": "DISABLED" - } - ] - } - ] - } - ], - "5c9f512f96c1a50004819786": [ - { - "sectionName": "Connection", - "id": 1, - "children": [ - { - "label": "Connection Mode", - "configProperty": "datasourceConfiguration.connection.mode", - "controlType": "DROP_DOWN", - "isRequired": true, - "initialValue": "READ_WRITE", - "options": [ - { - "label": "Read Only", - "value": "READ_ONLY" - }, - { - "label": "Read / Write", - "value": "READ_WRITE" - } - ] - }, - { - "children": [ - { - "label": "Host Address", - "configProperty": "datasourceConfiguration.endpoints[*].host", - "controlType": "KEYVALUE_ARRAY", - "validationMessage": "Please enter a valid host", - "validationRegex": "^((?![/:]).)*$" - }, - { - "label": "Port", - "configProperty": "datasourceConfiguration.endpoints[*].port", - "dataType": "NUMBER", - "controlType": "KEYVALUE_ARRAY" - } - ] - }, - { - "label": "Database Name", - "configProperty": "datasourceConfiguration.authentication.databaseName", - "controlType": "INPUT_TEXT", - "placeholderText": "Database name", - "initialValue": "admin" - } - ] + { + "label": "Authentication Type", + "configProperty": "datasourceConfiguration.authentication.authType", + "controlType": "DROP_DOWN", + "initialValue": "SCRAM_SHA_1", + "options": [ + { + "label": "SCRAM-SHA-1", + "value": "SCRAM_SHA_1" + }, + { + "label": "SCRAM-SHA-256", + "value": "SCRAM_SHA_256" + }, + { + "label": "MONGODB-CR", + "value": "MONGODB_CR" + } + ] + }, + { + "children": [ + { + "label": "Username", + "configProperty": "datasourceConfiguration.authentication.username", + "controlType": "INPUT_TEXT", + "placeholderText": "Username" + }, + { + "label": "Password", + "configProperty": "datasourceConfiguration.authentication.password", + "dataType": "PASSWORD", + "controlType": "INPUT_TEXT", + "placeholderText": "Password", + "encrypted": true + } + ] + } + ] + }, + { + "sectionName": "SSL (optional)", + "hidden": { + "path": "datasourceConfiguration.properties[0].value", + "comparison": "EQUALS", + "value": "Yes" }, - { - "sectionName": "Authentication", - "id": 2, - "children": [ - { - "children": [ - { - "label": "Username", - "configProperty": "datasourceConfiguration.authentication.username", - "controlType": "INPUT_TEXT", - "placeholderText": "Username" - }, - { - "label": "Password", - "configProperty": "datasourceConfiguration.authentication.password", - "dataType": "PASSWORD", - "controlType": "INPUT_TEXT", - "placeholderText": "Password", - "encrypted": true - } - ] - } - ] - }, - { - "id": 3, - "sectionName": "SSL (optional)", - "children": [ - { - "label": "SSL Mode", - "configProperty": "datasourceConfiguration.connection.ssl.authType", - "controlType": "DROP_DOWN", - "initialValue": "DEFAULT", - "options": [ - { - "label": "Default", - "value": "DEFAULT" - }, - { - "label": "Allow", - "value": "ALLOW" - }, - { - "label": "Prefer", - "value": "PREFER" - }, - { - "label": "Require", - "value": "REQUIRE" - }, - { - "label": "Disable", - "value": "DISABLE" - } - ] - } - ] - } - ], - "5ca385dc81b37f0004b4db85": [ - { - "sectionName": "General", - "children": [ - { - "label": "URL", - "configProperty": "datasourceConfiguration.url", - "controlType": "INPUT_TEXT", - "isRequired": true, - "placeholderText": "https://example.com" - }, - { - "label": "Headers", - "configProperty": "datasourceConfiguration.headers", - "controlType": "KEYVALUE_ARRAY" - }, - { - "label": "Send Authentication Information Key (Do not edit)", - "configProperty": "datasourceConfiguration.properties[0].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "isSendSessionEnabled" - }, - { - "label": "Send Appsmith signature header (X-APPSMITH-SIGNATURE)", - "configProperty": "datasourceConfiguration.properties[0].value", - "controlType": "DROP_DOWN", - "isRequired": true, - "initialValue": "N", - "options": [ - { - "label": "Yes", - "value": "Y" - }, - { - "label": "No", - "value": "N" - } - ] - }, - { - "label": "Session Details Signature Key Key (Do not edit)", - "configProperty": "datasourceConfiguration.properties[1].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "sessionSignatureKey" - }, - { - "label": "Session Details Signature Key", - "configProperty": "datasourceConfiguration.properties[1].value", - "controlType": "INPUT_TEXT", - "hidden": { - "path": "datasourceConfiguration.properties[0].value", - "comparison": "EQUALS", + "children": [ + { + "label": "SSL Mode", + "configProperty": "datasourceConfiguration.connection.ssl.authType", + "controlType": "DROP_DOWN", + "initialValue": "DEFAULT", + "options": [ + { + "label": "Default", + "value": "DEFAULT" + }, + { + "label": "Enabled", + "value": "ENABLED" + }, + { + "label": "Disabled", + "value": "DISABLED" + } + ] + } + ] + } + ], + "5c9f512f96c1a50004819786": [ + { + "sectionName": "Connection", + "id": 1, + "children": [ + { + "label": "Connection Mode", + "configProperty": "datasourceConfiguration.connection.mode", + "controlType": "DROP_DOWN", + "isRequired": true, + "initialValue": "READ_WRITE", + "options": [ + { + "label": "Read Only", + "value": "READ_ONLY" + }, + { + "label": "Read / Write", + "value": "READ_WRITE" + } + ] + }, + { + "children": [ + { + "label": "Host Address", + "configProperty": "datasourceConfiguration.endpoints[*].host", + "controlType": "KEYVALUE_ARRAY", + "validationMessage": "Please enter a valid host", + "validationRegex": "^((?![/:]).)*$" + }, + { + "label": "Port", + "configProperty": "datasourceConfiguration.endpoints[*].port", + "dataType": "NUMBER", + "controlType": "KEYVALUE_ARRAY" + } + ] + }, + { + "label": "Database Name", + "configProperty": "datasourceConfiguration.authentication.databaseName", + "controlType": "INPUT_TEXT", + "placeholderText": "Database name", + "initialValue": "admin" + } + ] + }, + { + "sectionName": "Authentication", + "id": 2, + "children": [ + { + "children": [ + { + "label": "Username", + "configProperty": "datasourceConfiguration.authentication.username", + "controlType": "INPUT_TEXT", + "placeholderText": "Username" + }, + { + "label": "Password", + "configProperty": "datasourceConfiguration.authentication.password", + "dataType": "PASSWORD", + "controlType": "INPUT_TEXT", + "placeholderText": "Password", + "encrypted": true + } + ] + } + ] + }, + { + "id": 3, + "sectionName": "SSL (optional)", + "children": [ + { + "label": "SSL Mode", + "configProperty": "datasourceConfiguration.connection.ssl.authType", + "controlType": "DROP_DOWN", + "initialValue": "DEFAULT", + "options": [ + { + "label": "Default", + "value": "DEFAULT" + }, + { + "label": "Allow", + "value": "ALLOW" + }, + { + "label": "Prefer", + "value": "PREFER" + }, + { + "label": "Require", + "value": "REQUIRE" + }, + { + "label": "Disable", + "value": "DISABLE" + } + ] + } + ] + } + ], + "5ca385dc81b37f0004b4db85": [ + { + "sectionName": "General", + "children": [ + { + "label": "URL", + "configProperty": "datasourceConfiguration.url", + "controlType": "INPUT_TEXT", + "isRequired": true, + "placeholderText": "https://example.com" + }, + { + "label": "Headers", + "configProperty": "datasourceConfiguration.headers", + "controlType": "KEYVALUE_ARRAY" + }, + { + "label": "Send Authentication Information Key (Do not edit)", + "configProperty": "datasourceConfiguration.properties[0].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "isSendSessionEnabled" + }, + { + "label": "Send Appsmith signature header (X-APPSMITH-SIGNATURE)", + "configProperty": "datasourceConfiguration.properties[0].value", + "controlType": "DROP_DOWN", + "isRequired": true, + "initialValue": "N", + "options": [ + { + "label": "Yes", + "value": "Y" + }, + { + "label": "No", "value": "N" } + ] + }, + { + "label": "Session Details Signature Key Key (Do not edit)", + "configProperty": "datasourceConfiguration.properties[1].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "sessionSignatureKey" + }, + { + "label": "Session Details Signature Key", + "configProperty": "datasourceConfiguration.properties[1].value", + "controlType": "INPUT_TEXT", + "hidden": { + "path": "datasourceConfiguration.properties[0].value", + "comparison": "EQUALS", + "value": "N" + } + }, + { + "label": "Authentication Type", + "configProperty": "datasourceConfiguration.authentication.authenticationType", + "controlType": "DROP_DOWN", + "options": [ + { + "label": "None", + "value": "dbAuth" + }, + { + "label": "Basic", + "value": "basic" + }, + { + "label": "OAuth 2.0", + "value": "oAuth2" + }, + { + "label": "API Key", + "value": "apiKey" + }, + { + "label": "Bearer Token", + "value": "bearerToken" + } + ] + }, + { + "label": "Grant Type", + "configProperty": "datasourceConfiguration.authentication.grantType", + "controlType": "INPUT_TEXT", + "isRequired": false, + "hidden": true + }, + { + "label": "Access Token URL", + "configProperty": "datasourceConfiguration.authentication.accessTokenUrl", + "controlType": "INPUT_TEXT", + "isRequired": false, + "hidden": { + "path": "datasourceConfiguration.authentication.authenticationType", + "comparison": "NOT_EQUALS", + "value": "oAuth2" + } + }, + { + "label": "Client Id", + "configProperty": "datasourceConfiguration.authentication.clientId", + "controlType": "INPUT_TEXT", + "isRequired": false, + "hidden": { + "path": "datasourceConfiguration.authentication.authenticationType", + "comparison": "NOT_EQUALS", + "value": "oAuth2" + } + }, + { + "label": "Client Secret", + "configProperty": "datasourceConfiguration.authentication.clientSecret", + "dataType": "PASSWORD", + "controlType": "INPUT_TEXT", + "isRequired": false, + "hidden": { + "path": "datasourceConfiguration.authentication.authenticationType", + "comparison": "NOT_EQUALS", + "value": "oAuth2" + } + }, + { + "label": "Scope(s)", + "configProperty": "datasourceConfiguration.authentication.scopeString", + "controlType": "INPUT_TEXT", + "isRequired": false, + "hidden": { + "path": "datasourceConfiguration.authentication.authenticationType", + "comparison": "NOT_EQUALS", + "value": "oAuth2" + } + }, + { + "label": "Header Prefix", + "configProperty": "datasourceConfiguration.authentication.headerPrefix", + "controlType": "INPUT_TEXT", + "placeholderText": "Bearer (default)", + "isRequired": false, + "hidden": { + "path": "datasourceConfiguration.authentication.authenticationType", + "comparison": "NOT_EQUALS", + "value": "oAuth2" + } + }, + { + "label": "Add token to", + "configProperty": "datasourceConfiguration.authentication.isTokenHeader", + "controlType": "DROP_DOWN", + "isRequired": false, + "hidden": { + "path": "datasourceConfiguration.authentication.authenticationType", + "comparison": "NOT_EQUALS", + "value": "oAuth2" }, - { - "label": "Authentication Type", - "configProperty": "datasourceConfiguration.authentication.authenticationType", - "controlType": "DROP_DOWN", - "options": [ + "options": [ + { + "label": "Header", + "value": true + }, + { + "label": "Query parameters", + "value": false + } + ] + }, + { + "label": "Audience(s)", + "configProperty": "datasourceConfiguration.authentication.audience", + "controlType": "INPUT_TEXT", + "isRequired": false, + "hidden": { + "path": "datasourceConfiguration.authentication.authenticationType", + "comparison": "NOT_EQUALS", + "value": "oAuth2" + } + }, + { + "label": "Resource(s)", + "configProperty": "datasourceConfiguration.authentication.resource", + "controlType": "INPUT_TEXT", + "isRequired": false, + "hidden": { + "path": "datasourceConfiguration.authentication.authenticationType", + "comparison": "NOT_EQUALS", + "value": "oAuth2" + } + } + ] + } + ], + "5fbbc39ad1f71d6666c32e4b": [ + { + "sectionName": "Details", + "id": 1, + "children": [ + { + "label": "Database URL", + "configProperty": "datasourceConfiguration.url", + "controlType": "INPUT_TEXT", + "isRequired": true, + "placeholderText": "https://your-project-id.firebaseio.com" + }, + { + "label": "Project Id", + "configProperty": "datasourceConfiguration.authentication.username", + "controlType": "INPUT_TEXT", + "isRequired": true, + "initialValue": "" + }, + { + "label": "Service Account Credentials", + "configProperty": "datasourceConfiguration.authentication.password", + "controlType": "INPUT_TEXT", + "dataType": "PASSWORD", + "isRequired": true, + "initialValue": "" + } + ] + } + ], + "6080f9266b8cfd602957ba72": [ + { + "sectionName": "General", + "children": [ + { + "label": "Authentication Type", + "configProperty": "datasourceConfiguration.authentication.authenticationType", + "controlType": "INPUT_TEXT", + "isRequired": false, + "hidden": true, + "initialValue": "oAuth2" + }, + { + "label": "Grant Type", + "configProperty": "datasourceConfiguration.authentication.grantType", + "controlType": "INPUT_TEXT", + "isRequired": false, + "hidden": true, + "initialValue": "authorization_code" + }, + { + "label": "Scope", + "configProperty": "datasourceConfiguration.authentication.scopeString", + "controlType": "DROP_DOWN", + "isRequired": true, + "options": [ + { + "label": "Read Only", + "value": "https://www.googleapis.com/auth/spreadsheets.readonly,https://www.googleapis.com/auth/drive.readonly" + }, + { + "label": "Read and Write", + "value": "https://www.googleapis.com/auth/spreadsheets,https://www.googleapis.com/auth/drive" + } + ], + "initialValue": "https://www.googleapis.com/auth/spreadsheets,https://www.googleapis.com/auth/drive" + } + ] + } + ], + "6023b4a070eb652de19476d3": [ + { + "sectionName": "Details", + "id": 1, + "children": [ + { + "label": "S3 Service Provider Key", + "configProperty": "datasourceConfiguration.properties[1].key", + "controlType": "INPUT_TEXT", + "initialValue": "s3Provider", + "hidden": true + }, + { + "label": "S3 Service Provider", + "configProperty": "datasourceConfiguration.properties[1].value", + "controlType": "DROP_DOWN", + "isRequired": true, + "initialValue": "amazon-s3", + "options": [ + { + "label": "Amazon S3", + "value": "amazon-s3" + }, + { + "label": "Upcloud", + "value": "upcloud" + }, + { + "label": "Digital Ocean Spaces", + "value": "digital-ocean-spaces" + }, + { + "label": "Wasabi", + "value": "wasabi" + }, + { + "label": "DreamObjects", + "value": "dream-objects" + }, + { + "label": "Other", + "value": "other" + } + ] + }, + { + "label": "Access Key", + "configProperty": "datasourceConfiguration.authentication.username", + "controlType": "INPUT_TEXT", + "initialValue": "" + }, + { + "label": "Secret Key", + "configProperty": "datasourceConfiguration.authentication.password", + "controlType": "INPUT_TEXT", + "dataType": "PASSWORD", + "initialValue": "", + "encrypted": true + }, + { + "label": "Endpoint URL", + "configProperty": "datasourceConfiguration.endpoints[0].host", + "controlType": "INPUT_TEXT", + "initialValue": "", + "placeholderText": "user-storage.de-fra1.upcloudobjects.com", + "hidden": { + "path": "datasourceConfiguration.properties[1].value", + "comparison": "EQUALS", + "value": "amazon-s3" + } + }, + { + "label": "Custom Endpoint URL Key", + "configProperty": "datasourceConfiguration.properties[2].key", + "controlType": "INPUT_TEXT", + "initialValue": "customRegion", + "hidden": true + }, + { + "label": "Region", + "configProperty": "datasourceConfiguration.properties[2].value", + "controlType": "INPUT_TEXT", + "initialValue": "", + "placeholderText": "de-fra1", + "hidden": { + "path": "datasourceConfiguration.properties[1].value", + "comparison": "NOT_EQUALS", + "value": "other" + } + } + ] + } + ], + "5f9169920c6d936f469f4c8a": [ + { + "sectionName": "Connection", + "id": 1, + "children": [ + { + "children": [ + { + "label": "Host Address", + "configProperty": "datasourceConfiguration.endpoints[*].host", + "controlType": "KEYVALUE_ARRAY", + "validationMessage": "Please enter a valid host", + "validationRegex": "^((?![/:]).)*$" + }, + { + "label": "Port", + "configProperty": "datasourceConfiguration.endpoints[*].port", + "dataType": "NUMBER", + "controlType": "KEYVALUE_ARRAY" + } + ] + }, + { + "label": "Database Number", + "configProperty": "datasourceConfiguration.authentication.databaseName", + "controlType": "INPUT_TEXT", + "dataType": "NUMBER", + "placeholderText": "0" + } + ] + }, + { + "sectionName": "Authentication", + "id": 2, + "children": [ + { + "children": [ + { + "label": "Username", + "configProperty": "datasourceConfiguration.authentication.username", + "controlType": "INPUT_TEXT", + "placeholderText": "Username" + }, + { + "label": "Password", + "configProperty": "datasourceConfiguration.authentication.password", + "dataType": "PASSWORD", + "controlType": "INPUT_TEXT", + "placeholderText": "Password", + "encrypted": true + } + ] + } + ] + } + ], + "6138c786168857325f78ef3e": [] + }, + "editorConfigs": { + "5e687c18fb01e64e6a3f873f": [ + { + "options": [ + { + "label": "Find Document(s)", + "value": "FIND" + }, + { + "label": "Insert Document(s)", + "value": "INSERT" + }, + { + "label": "Update Document(s)", + "value": "UPDATE" + }, + { + "label": "Delete Document(s)", + "value": "DELETE" + }, + { + "label": "Count", + "value": "COUNT" + }, + { + "label": "Distinct", + "value": "DISTINCT" + }, + { + "label": "Aggregate", + "value": "AGGREGATE" + }, + { + "label": "Raw", + "value": "RAW" + } + ], + "label": "Commands", + "description": "Choose method you would like to use to query the database", + "configProperty": "actionConfiguration.formData.command", + "controlType": "DROP_DOWN", + "initialValue": "FIND" + }, + { + "controlType": "SECTION", + "label": "", + "_comment": "This section holds all the templates", + "children": [ + { + "identifier": "FIND", + "controlType": "SECTION", + "conditionals": { + "show": "{{actionConfiguration.formData.command === 'FIND'}}" + }, + "children": [ + { + "controlType": "SECTION", + "label": "Select Collection to Query", + "children": [ + { + "label": "Collection", + "configProperty": "actionConfiguration.formData.collection", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "evaluationSubstitutionType": "TEMPLATE" + } + ] + }, + { + "controlType": "SECTION", + "label": "Query", + "description": "Optional", + "children": [ + { + "label": "Query", + "configProperty": "actionConfiguration.formData.find.query", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "inputType": "JSON", + "evaluationSubstitutionType": "TEMPLATE", + "placeholderText": "{rating : {$gte : 9}}" + }, + { + "label": "Sort", + "configProperty": "actionConfiguration.formData.find.sort", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "inputType": "JSON", + "evaluationSubstitutionType": "TEMPLATE", + "placeholderText": "{name : 1}" + }, + { + "label": "Projection", + "configProperty": "actionConfiguration.formData.find.projection", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "inputType": "JSON", + "evaluationSubstitutionType": "TEMPLATE", + "placeholderText": "{name : 1}" + }, + { + "label": "Limit", + "configProperty": "actionConfiguration.formData.find.limit", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "evaluationSubstitutionType": "TEMPLATE", + "placeholderText": "10" + }, + { + "label": "Skip", + "configProperty": "actionConfiguration.formData.find.skip", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "evaluationSubstitutionType": "TEMPLATE", + "placeholderText": "0" + } + ] + } + ] + }, + { + "identifier": "INSERT", + "controlType": "SECTION", + "conditionals": { + "show": "{{actionConfiguration.formData.command === 'INSERT'}}" + }, + "children": [ + { + "controlType": "SECTION", + "label": "Select Collection to Query", + "children": [ + { + "label": "Collection", + "configProperty": "actionConfiguration.formData.collection", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "evaluationSubstitutionType": "TEMPLATE" + } + ] + }, + { + "controlType": "SECTION", + "label": "Query", + "description": "Optional", + "children": [ + { + "label": "Documents", + "configProperty": "actionConfiguration.formData.insert.documents", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "inputType": "JSON", + "evaluationSubstitutionType": "TEMPLATE", + "placeholderText": "[ { _id: 1, user: \"abc123\", status: \"A\" } ]" + } + ] + } + ] + }, + { + "identifier": "UPDATE", + "controlType": "SECTION", + "conditionals": { + "show": "{{actionConfiguration.formData.command === 'UPDATE'}}" + }, + "children": [ + { + "controlType": "SECTION", + "label": "Select Collection to Query", + "children": [ + { + "label": "Collection", + "configProperty": "actionConfiguration.formData.collection", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "evaluationSubstitutionType": "TEMPLATE" + } + ] + }, + { + "controlType": "SECTION", + "label": "Query", + "description": "Optional", + "children": [ + { + "label": "Query", + "configProperty": "actionConfiguration.formData.updateMany.query", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "inputType": "JSON", + "evaluationSubstitutionType": "TEMPLATE", + "placeholderText": "{rating : {$gte : 9}}" + }, + { + "label": "Update", + "configProperty": "actionConfiguration.formData.updateMany.update", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "inputType": "JSON", + "evaluationSubstitutionType": "TEMPLATE", + "placeholderText": "{ $inc: { score: 1 } }" + }, + { + "label": "Limit", + "configProperty": "actionConfiguration.formData.updateMany.limit", + "controlType": "DROP_DOWN", + "initialValue": "SINGLE", + "options": [ + { + "label": "Single Document", + "value": "SINGLE" + }, + { + "label": "All Matching Documents", + "value": "ALL" + } + ] + } + ] + } + ] + }, + { + "identifier": "DELETE", + "controlType": "SECTION", + "conditionals": { + "show": "{{actionConfiguration.formData.command === 'DELETE'}}" + }, + "children": [ + { + "controlType": "SECTION", + "label": "Select Collection to Query", + "children": [ + { + "label": "Collection", + "configProperty": "actionConfiguration.formData.collection", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "evaluationSubstitutionType": "TEMPLATE" + } + ] + }, + { + "controlType": "SECTION", + "label": "Query", + "description": "Optional", + "children": [ + { + "label": "Query", + "configProperty": "actionConfiguration.formData.delete.query", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "inputType": "JSON", + "evaluationSubstitutionType": "TEMPLATE", + "placeholderText": "{rating : {$gte : 9}}" + }, + { + "label": "Limit", + "configProperty": "actionConfiguration.formData.delete.limit", + "controlType": "DROP_DOWN", + "initialValue": "SINGLE", + "options": [ + { + "label": "Single Document", + "value": "SINGLE" + }, + { + "label": "All Matching Documents", + "value": "ALL" + } + ] + } + ] + } + ] + }, + { + "identifier": "COUNT", + "controlType": "SECTION", + "conditionals": { + "show": "{{actionConfiguration.formData.command === 'COUNT'}}" + }, + "children": [ + { + "controlType": "SECTION", + "label": "Select Collection to Query", + "children": [ + { + "label": "Collection", + "configProperty": "actionConfiguration.formData.collection", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "evaluationSubstitutionType": "TEMPLATE" + } + ] + }, + { + "controlType": "SECTION", + "label": "Query", + "description": "Optional", + "children": [ + { + "label": "Query", + "configProperty": "actionConfiguration.formData.count.query", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "inputType": "JSON", + "evaluationSubstitutionType": "TEMPLATE", + "placeholderText": "{rating : {$gte : 9}}" + } + ] + } + ] + }, + { + "identifier": "DISTINCT", + "controlType": "SECTION", + "conditionals": { + "show": "{{actionConfiguration.formData.command === 'DISTINCT'}}" + }, + "children": [ + { + "controlType": "SECTION", + "label": "Select Collection to Query", + "children": [ + { + "label": "Collection", + "configProperty": "actionConfiguration.formData.collection", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "evaluationSubstitutionType": "TEMPLATE" + } + ] + }, + { + "controlType": "SECTION", + "label": "Query", + "description": "Optional", + "children": [ + { + "label": "Query", + "configProperty": "actionConfiguration.formData.distinct.query", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "inputType": "JSON", + "evaluationSubstitutionType": "TEMPLATE", + "placeholderText": "{rating : {$gte : 9}}" + }, + { + "label": "Key", + "configProperty": "actionConfiguration.formData.distinct.key", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "evaluationSubstitutionType": "TEMPLATE", + "placeholderText": "name" + } + ] + } + ] + }, + { + "identifier": "AGGREGATE", + "controlType": "SECTION", + "conditionals": { + "show": "{{actionConfiguration.formData.command === 'AGGREGATE'}}" + }, + "children": [ + { + "controlType": "SECTION", + "label": "Select Collection to Query", + "children": [ + { + "label": "Collection", + "configProperty": "actionConfiguration.formData.collection", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "evaluationSubstitutionType": "TEMPLATE" + } + ] + }, + { + "controlType": "SECTION", + "label": "Query", + "description": "Optional", + "children": [ + { + "label": "Array of Pipelines", + "configProperty": "actionConfiguration.formData.aggregate.arrayPipelines", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "inputType": "JSON", + "evaluationSubstitutionType": "TEMPLATE", + "placeholderText": "[{ $project: { tags: 1 } }, { $unwind: \"$tags\" }, { $group: { _id: \"$tags\", count: { $sum : 1 } } } ]" + } + ] + } + ] + }, + { + "identifier": "RAW", + "controlType": "SECTION", + "conditionals": { + "show": "{{actionConfiguration.formData.command === 'RAW'}}" + }, + "children": [ + { + "controlType": "SECTION", + "label": "Query", + "description": "Optional", + "children": [ + { + "label": "", + "propertyName": "rawWithSmartSubstitute", + "configProperty": "actionConfiguration.body", + "controlType": "QUERY_DYNAMIC_TEXT", + "evaluationSubstitutionType": "SMART_SUBSTITUTE", + "conditionals": { + "show": "{{actionConfiguration.formData.command === 'RAW' && actionConfiguration.formData.smartSubstitution === true}}" + } + }, + { + "label": "", + "configProperty": "actionConfiguration.body", + "propertyName": "rawWithTemplateSubstitute", + "controlType": "QUERY_DYNAMIC_TEXT", + "evaluationSubstitutionType": "TEMPLATE", + "conditionals": { + "show": "{{actionConfiguration.formData.command === 'RAW' && actionConfiguration.formData.smartSubstitution === false}}" + } + } + ] + } + ] + } + ] + } + ], + "5c9f512f96c1a50004819786": [ + { + "sectionName": "", + "id": 1, + "children": [ + { + "label": "", + "internalLabel": "Query", + "configProperty": "actionConfiguration.body", + "controlType": "QUERY_DYNAMIC_TEXT", + "evaluationSubstitutionType": "PARAMETER", + "hidden": { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "EQUALS", + "value": false + } + }, + { + "label": "", + "internalLabel": "Query", + "configProperty": "actionConfiguration.body", + "controlType": "QUERY_DYNAMIC_TEXT", + "evaluationSubstitutionType": "TEMPLATE", + "hidden": { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "EQUALS", + "value": true + } + }, + { + "label": "Use Prepared Statement", + "info": "Turning on Prepared Statement makes your queries resilient against bad things like SQL injections. However, it cannot be used if your dynamic binding contains any SQL keywords like 'SELECT', 'WHERE', 'AND', etc.", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "controlType": "SWITCH", + "initialValue": true + } + ] + } + ], + "5ca385dc81b37f0004b4db85": [ + { + "sectionName": "", + "id": 1, + "children": [ + { + "label": "Path", + "configProperty": "actionConfiguration.path", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT" + }, + { + "label": "Body", + "configProperty": "actionConfiguration.body", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "evaluationSubstitutionType": "SMART_SUBSTITUTE", + "hidden": { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "EQUALS", + "value": false + } + }, + { + "label": "Body", + "configProperty": "actionConfiguration.body", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "evaluationSubstitutionType": "TEMPLATE", + "hidden": { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "EQUALS", + "value": true + } + }, + { + "label": "Query Parameters", + "configProperty": "actionConfiguration.queryParameters", + "controlType": "ARRAY_FIELD", + "schema": [ + { + "label": "Key", + "key": "key", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "placeholderText": "Key" + }, + { + "label": "Value", + "key": "value", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "placeholderText": "Value" + } + ] + }, + { + "label": "Headers", + "configProperty": "actionConfiguration.headers", + "controlType": "ARRAY_FIELD", + "schema": [ + { + "label": "Key", + "key": "key", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "placeholderText": "Key" + }, + { + "label": "Value", + "key": "value", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "placeholderText": "Value" + } + ] + }, + { + "label": "Form data", + "configProperty": "actionConfiguration.bodyFormData", + "controlType": "ARRAY_FIELD", + "schema": [ + { + "label": "Key", + "key": "key", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "placeholderText": "Key" + }, + { + "label": "Value", + "key": "value", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "placeholderText": "Value" + } + ] + } + ] + } + ], + "5fbbc39ad1f71d6666c32e4b": [ + { + "sectionName": "", + "id": 1, + "children": [ + { + "label": "Method Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[0].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "method" + }, + { + "label": "Method", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "controlType": "DROP_DOWN", + "isRequired": true, + "initialValue": "GET_DOCUMENT", + "options": [ + { + "label": "Get Single Document", + "value": "GET_DOCUMENT" + }, + { + "label": "Get Documents in Collection", + "value": "GET_COLLECTION" + }, + { + "label": "Set Document", + "value": "SET_DOCUMENT" + }, + { + "label": "Create Document", + "value": "CREATE_DOCUMENT" + }, + { + "label": "Add Document to Collection", + "value": "ADD_TO_COLLECTION" + }, + { + "label": "Update Document", + "value": "UPDATE_DOCUMENT" + }, + { + "label": "Delete Document", + "value": "DELETE_DOCUMENT" + } + ] + }, + { + "label": "Collection/Document Path", + "configProperty": "actionConfiguration.path", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "isRequired": true, + "initialValue": "" + }, + { + "label": "Timestamp Value Path Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[8].key", + "controlType": "INPUT_TEXT", + "initialValue": "timestampValuePath", + "hidden": true + }, + { + "label": "Timestamp Value Path (use dot(.) notation to reference nested key e.g. [\"key1.key2\"])", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[8].value", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "initialValue": "", + "placeholderText": "[\"checkinLog.timestampKey\", \"auditLog.timestampKey\"]", + "hidden": { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "IN", + "value": ["GET_DOCUMENT", "GET_COLLECTION", "DELETE_DOCUMENT"] + } + }, + { + "label": "Delete Key Value Pair Path Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[9].key", + "controlType": "INPUT_TEXT", + "initialValue": "deleteKeyValuePairPath", + "hidden": true + }, + { + "label": "Delete Key Value Pair Path (use dot(.) notation to reference nested key e.g. [\"key1.key2\"])", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[9].value", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "initialValue": "", + "placeholderText": "[\"userKey.nestedNamekey\", \"cityKey.nestedPincodeKey\"]", + "hidden": { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "IN", + "value": [ + "GET_DOCUMENT", + "GET_COLLECTION", + "DELETE_DOCUMENT", + "CREATE_DOCUMENT", + "ADD_TO_COLLECTION", + "SET_DOCUMENT" + ] + } + }, + { + "label": "Order By Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[1].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "orderBy" + }, + { + "label": "Order By (JSON array of field names to order by)", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[1].value", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "hidden": { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "NOT_EQUALS", + "value": "GET_COLLECTION" + }, + "placeholderText": "[\"ascendingField\", \"-descendingField\", \"nestedObj.field\"]", + "initialValue": "" + }, + { + "label": "Start After Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[6].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "limit" + }, + { + "label": "Start After", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[6].value", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "hidden": { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "NOT_EQUALS", + "value": "GET_COLLECTION" + }, + "initialValue": "" + }, + { + "label": "End Before Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[7].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "limit" + }, + { + "label": "End Before", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[7].value", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "hidden": { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "NOT_EQUALS", + "value": "GET_COLLECTION" + }, + "initialValue": "" + }, + { + "label": "Limit Documents Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[2].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "limit" + }, + { + "label": "Limit Documents", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[2].value", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "hidden": { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "NOT_EQUALS", + "value": "GET_COLLECTION" + }, + "initialValue": "10" + }, + { + "label": "Where Conditions Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[3].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "whereConditionTuples" + }, + { + "label": "Where Conditions", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[3].value", + "controlType": "ARRAY_FIELD", + "hidden": { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "NOT_EQUALS", + "value": "GET_COLLECTION" + }, + "schema": [ + { + "label": "Path", + "key": "path", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "placeholderText": "key1/nestedKey2" + }, + { + "label": "Operator", + "key": "operator", + "controlType": "DROP_DOWN", + "initialValue": "EQ", + "options": [ + { + "label": "<", + "value": "LT" + }, + { + "label": "<=", + "value": "LTE" + }, + { + "label": "==", + "value": "EQ" + }, + { + "label": ">=", + "value": "GTE" + }, + { + "label": ">", + "value": "GT" + }, + { + "label": "array-contains", + "value": "ARRAY_CONTAINS" + }, + { + "label": "in", + "value": "IN" + }, + { + "label": "array-contains-any", + "value": "ARRAY_CONTAINS_ANY" + } + ] + }, + { + "label": "Value", + "key": "value", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "placeholderText": "value" + } + ] + }, + { + "label": "Body", + "configProperty": "actionConfiguration.body", + "controlType": "QUERY_DYNAMIC_TEXT", + "hidden": { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "IN", + "value": ["GET_DOCUMENT", "GET_COLLECTION", "DELETE_DOCUMENT"] + } + } + ] + } + ], + "6080f9266b8cfd602957ba72": [ + { + "sectionName": "", + "id": 1, + "children": [ + { + "label": "Method Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[0].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "method" + }, + { + "label": "Method", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "controlType": "DROP_DOWN", + "isRequired": true, + "initialValue": "GET", + "options": [ + { + "label": "Fetch sheet rows", + "value": "GET" + }, + { + "label": "Insert sheet row", + "value": "APPEND" + }, + { + "label": "Update sheet row", + "value": "UPDATE" + }, + { + "label": "Delete row", + "value": "DELETE_ROW" + }, + { + "label": "List sheets", + "value": "LIST" + }, + { + "label": "Fetch sheet", + "value": "INFO" + }, + { + "label": "Create new spreadsheet", + "value": "CREATE" + }, + { + "label": "Delete sheet", + "value": "DELETE" + }, + { + "label": "Bulk insert rows", + "value": "BULK_APPEND" + }, + { + "label": "Bulk update rows", + "value": "BULK_UPDATE" + } + ] + }, + { + "label": "Spreadsheet URL Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[1].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "sheetUrl" + }, + { + "label": "Spreadsheet URL", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[1].value", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "hidden": { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "IN", + "value": ["CREATE", "LIST"] + }, + "placeholderText": "https://docs.google.com/spreadsheets/d/xyz/edit#gid=0", + "initialValue": "" + }, + { + "label": "Spreadsheet Name Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[3].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "spreadsheetName" + }, + { + "label": "Spreadsheet Name", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[3].value", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "hidden": { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "NOT_IN", + "value": ["CREATE"] + }, + "initialValue": "" + }, + { + "label": "Delete Format Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[12].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "deleteFormat" + }, + { + "label": "Select Entity", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[12].value", + "controlType": "DROP_DOWN", + "hidden": { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "NOT_EQUALS", + "value": "DELETE" + }, + "initialValue": "SHEET", + "options": [ + { + "label": "Single Sheet", + "value": "SHEET" + }, + { + "label": "Entire Spreadsheet", + "value": "SPREADSHEET" + } + ] + }, + { + "label": "Sheet Name Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[7].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "sheetName" + }, + { + "label": "Sheet Name", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[7].value", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "hidden": { + "conditionType": "OR", + "conditions": [ { - "label": "None", - "value": "dbAuth" + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "NOT_IN", + "value": [ + "GET", + "UPDATE", + "BULK_UPDATE", + "DELETE_ROW", + "DELETE", + "APPEND", + "BULK_APPEND" + ] }, { - "label": "Basic", - "value": "basic" - }, - { - "label": "OAuth 2.0", - "value": "oAuth2" - }, - { - "label": "API Key", - "value": "apiKey" - }, - { - "label": "Bearer Token", - "value": "bearerToken" + "conditionType": "AND", + "conditions": [ + { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "EQUALS", + "value": "DELETE" + }, + { + "path": "actionConfiguration.pluginSpecifiedTemplates[12].value", + "comparison": "EQUALS", + "value": "SPREADSHEET" + } + ] } ] }, - { - "label": "Grant Type", - "configProperty": "datasourceConfiguration.authentication.grantType", - "controlType": "INPUT_TEXT", - "isRequired": false, - "hidden": true + "initialValue": "Sheet1" + }, + { + "label": "Table Header Index Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[4].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "tableHeaderIndex" + }, + { + "label": "Table Heading Row Index", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[4].value", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "hidden": { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "NOT_IN", + "value": [ + "GET", + "UPDATE", + "BULK_UPDATE", + "DELETE_ROW", + "APPEND", + "BULK_APPEND" + ] }, - { - "label": "Access Token URL", - "configProperty": "datasourceConfiguration.authentication.accessTokenUrl", - "controlType": "INPUT_TEXT", - "isRequired": false, - "hidden": { - "path": "datasourceConfiguration.authentication.authenticationType", - "comparison": "NOT_EQUALS", - "value": "oAuth2" - } + "initialValue": "1" + }, + { + "label": "Query Format Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[5].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "queryFormat" + }, + { + "label": "Query Format", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[5].value", + "controlType": "DROP_DOWN", + "hidden": { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "NOT_IN", + "value": ["GET"] }, - { - "label": "Client Id", - "configProperty": "datasourceConfiguration.authentication.clientId", - "controlType": "INPUT_TEXT", - "isRequired": false, - "hidden": { - "path": "datasourceConfiguration.authentication.authenticationType", - "comparison": "NOT_EQUALS", - "value": "oAuth2" - } - }, - { - "label": "Client Secret", - "configProperty": "datasourceConfiguration.authentication.clientSecret", - "dataType": "PASSWORD", - "controlType": "INPUT_TEXT", - "isRequired": false, - "hidden": { - "path": "datasourceConfiguration.authentication.authenticationType", - "comparison": "NOT_EQUALS", - "value": "oAuth2" - } - }, - { - "label": "Scope(s)", - "configProperty": "datasourceConfiguration.authentication.scopeString", - "controlType": "INPUT_TEXT", - "isRequired": false, - "hidden": { - "path": "datasourceConfiguration.authentication.authenticationType", - "comparison": "NOT_EQUALS", - "value": "oAuth2" - } - }, - { - "label": "Header Prefix", - "configProperty": "datasourceConfiguration.authentication.headerPrefix", - "controlType": "INPUT_TEXT", - "placeholderText": "Bearer (default)", - "isRequired": false, - "hidden": { - "path": "datasourceConfiguration.authentication.authenticationType", - "comparison": "NOT_EQUALS", - "value": "oAuth2" - } - }, - { - "label": "Add token to", - "configProperty": "datasourceConfiguration.authentication.isTokenHeader", - "controlType": "DROP_DOWN", - "isRequired": false, - "hidden": { - "path": "datasourceConfiguration.authentication.authenticationType", - "comparison": "NOT_EQUALS", - "value": "oAuth2" + "initialValue": "ROWS", + "options": [ + { + "label": "Query rows", + "value": "ROWS" }, - "options": [ + { + "label": "Query range", + "value": "RANGE" + } + ] + }, + { + "label": "Range Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[2].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "range" + }, + { + "label": "Cell Range", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[2].value", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "hidden": { + "conditionType": "OR", + "conditions": [ { - "label": "Header", - "value": true + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "NOT_EQUALS", + "value": "GET" }, { - "label": "Query parameters", + "conditionType": "AND", + "conditions": [ + { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "EQUALS", + "value": "GET" + }, + { + "path": "actionConfiguration.pluginSpecifiedTemplates[5].value", + "comparison": "EQUALS", + "value": "ROWS" + } + ] + } + ] + }, + "initialValue": "", + "placeholderText": "A2:B" + }, + { + "label": "Row Offset Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[8].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "rowOffset" + }, + { + "label": "Row Offset", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[8].value", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "hidden": { + "conditionType": "OR", + "conditions": [ + { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "NOT_IN", + "value": ["GET"] + }, + { + "conditionType": "AND", + "conditions": [ + { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "EQUALS", + "value": "GET" + }, + { + "path": "actionConfiguration.pluginSpecifiedTemplates[5].value", + "comparison": "EQUALS", + "value": "RANGE" + } + ] + } + ] + }, + "initialValue": "0", + "placeholderText": "0" + }, + { + "label": "Row Index Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[11].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "rowIndex" + }, + { + "label": "Row Index", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[11].value", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "hidden": { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "NOT_IN", + "value": ["DELETE_ROW"] + }, + "initialValue": "0", + "placeholderText": "0" + }, + { + "label": "Row Limit Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[6].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "rowLimit" + }, + { + "label": "Row Limit", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[6].value", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "hidden": { + "conditionType": "OR", + "conditions": [ + { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "NOT_EQUALS", + "value": "GET" + }, + { + "conditionType": "AND", + "conditions": [ + { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "EQUALS", + "value": "GET" + }, + { + "path": "actionConfiguration.pluginSpecifiedTemplates[5].value", + "comparison": "EQUALS", + "value": "RANGE" + } + ] + } + ] + }, + "initialValue": "10", + "placeholderText": "10" + }, + { + "label": "Where Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[14].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "where" + }, + { + "label": "Where Conditions", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[14].value", + "controlType": "ARRAY_FIELD", + "hidden": { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "NOT_EQUALS", + "value": "GET" + }, + "initialValue": [], + "schema": [ + { + "label": "Column Name", + "key": "path", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "placeholderText": "name" + }, + { + "label": "Operator", + "key": "operator", + "controlType": "DROP_DOWN", + "initialValue": "EQ", + "options": [ + { + "label": "<", + "value": "LT" + }, + { + "label": "<=", + "value": "LTE" + }, + { + "label": "==", + "value": "EQ" + }, + { + "label": ">=", + "value": "GTE" + }, + { + "label": ">", + "value": "GT" + }, + { + "label": "in", + "value": "IN" + }, + { + "label": "not in", + "value": "NOT_IN" + } + ] + }, + { + "label": "Value", + "key": "value", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "placeholderText": "Tobias" + } + ] + }, + { + "label": "Row Object Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[9].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "rowObject" + }, + { + "label": "Row Object", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[9].value", + "controlType": "QUERY_DYNAMIC_TEXT", + "evaluationSubstitutionType": "SMART_SUBSTITUTE", + "hidden": { + "conditionType": "OR", + "conditions": [ + { + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "NOT_IN", + "value": ["APPEND", "UPDATE"] + }, + { + "path": "actionConfiguration.pluginSpecifiedTemplates[13].value", + "comparison": "EQUALS", "value": false } ] }, - { - "label": "Audience(s)", - "configProperty": "datasourceConfiguration.authentication.audience", - "controlType": "INPUT_TEXT", - "isRequired": false, - "hidden": { - "path": "datasourceConfiguration.authentication.authenticationType", - "comparison": "NOT_EQUALS", - "value": "oAuth2" - } - }, - { - "label": "Resource(s)", - "configProperty": "datasourceConfiguration.authentication.resource", - "controlType": "INPUT_TEXT", - "isRequired": false, - "hidden": { - "path": "datasourceConfiguration.authentication.authenticationType", - "comparison": "NOT_EQUALS", - "value": "oAuth2" - } - } - ] - } - ], - "5fbbc39ad1f71d6666c32e4b": [ - { - "sectionName": "Details", - "id": 1, - "children": [ - { - "label": "Database URL", - "configProperty": "datasourceConfiguration.url", - "controlType": "INPUT_TEXT", - "isRequired": true, - "placeholderText": "https://your-project-id.firebaseio.com" - }, - { - "label": "Project Id", - "configProperty": "datasourceConfiguration.authentication.username", - "controlType": "INPUT_TEXT", - "isRequired": true, - "initialValue": "" - }, - { - "label": "Service Account Credentials", - "configProperty": "datasourceConfiguration.authentication.password", - "controlType": "INPUT_TEXT", - "dataType": "PASSWORD", - "isRequired": true, - "initialValue": "" - } - ] - } - ], - "6080f9266b8cfd602957ba72": [ - { - "sectionName": "General", - "children": [ - { - "label": "Authentication Type", - "configProperty": "datasourceConfiguration.authentication.authenticationType", - "controlType": "INPUT_TEXT", - "isRequired": false, - "hidden": true, - "initialValue": "oAuth2" - }, - { - "label": "Grant Type", - "configProperty": "datasourceConfiguration.authentication.grantType", - "controlType": "INPUT_TEXT", - "isRequired": false, - "hidden": true, - "initialValue": "authorization_code" - }, - { - "label": "Scope", - "configProperty": "datasourceConfiguration.authentication.scopeString", - "controlType": "DROP_DOWN", - "isRequired": true, - "options": [ + "placeholderText": "{{\n {\n ...Table1.selectedRow, \n columnName: Input1.text\n }\n}}" + }, + { + "label": "Row Object", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[9].value", + "controlType": "QUERY_DYNAMIC_TEXT", + "evaluationSubstitutionType": "SMART_SUBSTITUTE", + "hidden": { + "conditionType": "OR", + "conditions": [ { - "label": "Read Only", - "value": "https://www.googleapis.com/auth/spreadsheets.readonly,https://www.googleapis.com/auth/drive.readonly" + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "NOT_IN", + "value": ["APPEND", "UPDATE"] }, { - "label": "Read and Write", - "value": "https://www.googleapis.com/auth/spreadsheets,https://www.googleapis.com/auth/drive" - } - ], - "initialValue": "https://www.googleapis.com/auth/spreadsheets,https://www.googleapis.com/auth/drive" - } - ] - } - ], - "6023b4a070eb652de19476d3": [ - { - "sectionName": "Details", - "id": 1, - "children": [ - { - "label": "S3 Service Provider Key", - "configProperty": "datasourceConfiguration.properties[1].key", - "controlType": "INPUT_TEXT", - "initialValue": "s3Provider", - "hidden": true - }, - { - "label": "S3 Service Provider", - "configProperty": "datasourceConfiguration.properties[1].value", - "controlType": "DROP_DOWN", - "isRequired": true, - "initialValue": "amazon-s3", - "options": [ - { - "label": "Amazon S3", - "value": "amazon-s3" - }, - { - "label": "Upcloud", - "value": "upcloud" - }, - { - "label": "Digital Ocean Spaces", - "value": "digital-ocean-spaces" - }, - { - "label": "Wasabi", - "value": "wasabi" - }, - { - "label": "DreamObjects", - "value": "dream-objects" - }, - { - "label": "Other", - "value": "other" + "path": "actionConfiguration.pluginSpecifiedTemplates[13].value", + "comparison": "EQUALS", + "value": true } ] }, - { - "label": "Access Key", - "configProperty": "datasourceConfiguration.authentication.username", - "controlType": "INPUT_TEXT", - "initialValue": "" - }, - { - "label": "Secret Key", - "configProperty": "datasourceConfiguration.authentication.password", - "controlType": "INPUT_TEXT", - "dataType": "PASSWORD", - "initialValue": "", - "encrypted": true - }, - { - "label": "Endpoint URL", - "configProperty": "datasourceConfiguration.endpoints[0].host", - "controlType": "INPUT_TEXT", - "initialValue": "", - "placeholderText": "user-storage.de-fra1.upcloudobjects.com", - "hidden": { - "path": "datasourceConfiguration.properties[1].value", - "comparison": "EQUALS", - "value": "amazon-s3" - } - }, - { - "label": "Custom Endpoint URL Key", - "configProperty": "datasourceConfiguration.properties[2].key", - "controlType": "INPUT_TEXT", - "initialValue": "customRegion", - "hidden": true - }, - { - "label": "Region", - "configProperty": "datasourceConfiguration.properties[2].value", - "controlType": "INPUT_TEXT", - "initialValue": "", - "placeholderText": "de-fra1", - "hidden": { - "path": "datasourceConfiguration.properties[1].value", - "comparison": "NOT_EQUALS", - "value": "other" - } - } - ] - } - ], - "5f9169920c6d936f469f4c8a": [ - { - "sectionName": "Connection", - "id": 1, - "children": [ - { - "children": [ + "placeholderText": "{{\n {\n ...Table1.selectedRow, \n columnName: Input1.text\n }\n}}" + }, + { + "label": "Row Objects Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[10].key", + "controlType": "INPUT_TEXT", + "hidden": true, + "initialValue": "rowObjects" + }, + { + "label": "Row Objects", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[10].value", + "controlType": "QUERY_DYNAMIC_TEXT", + "evaluationSubstitutionType": "SMART_SUBSTITUTE", + "hidden": { + "conditionType": "OR", + "conditions": [ { - "label": "Host Address", - "configProperty": "datasourceConfiguration.endpoints[*].host", - "controlType": "KEYVALUE_ARRAY", - "validationMessage": "Please enter a valid host", - "validationRegex": "^((?![/:]).)*$" + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "NOT_IN", + "value": ["CREATE", "BULK_APPEND", "BULK_UPDATE"] }, { - "label": "Port", - "configProperty": "datasourceConfiguration.endpoints[*].port", - "dataType": "NUMBER", - "controlType": "KEYVALUE_ARRAY" + "path": "actionConfiguration.pluginSpecifiedTemplates[13].value", + "comparison": "EQUALS", + "value": false } ] }, - { - "label": "Database Number", - "configProperty": "datasourceConfiguration.authentication.databaseName", - "controlType": "INPUT_TEXT", - "dataType": "NUMBER", - "placeholderText": "0" - } - ] - }, - { - "sectionName": "Authentication", - "id": 2, - "children": [ - { - "children": [ + "placeholderText": "{{\n Table1.selectedRows.map((row) => {\n return { ...row, columnName: Input1.text }\n })\n}}" + }, + { + "label": "Row Objects", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[10].value", + "controlType": "QUERY_DYNAMIC_TEXT", + "evaluationSubstitutionType": "SMART_SUBSTITUTE", + "hidden": { + "conditionType": "OR", + "conditions": [ { - "label": "Username", - "configProperty": "datasourceConfiguration.authentication.username", - "controlType": "INPUT_TEXT", - "placeholderText": "Username" + "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "comparison": "NOT_IN", + "value": ["CREATE", "BULK_APPEND", "BULK_UPDATE"] }, { - "label": "Password", - "configProperty": "datasourceConfiguration.authentication.password", - "dataType": "PASSWORD", - "controlType": "INPUT_TEXT", - "placeholderText": "Password", - "encrypted": true - } - ] - } - ] - } - ], - "6138c786168857325f78ef3e": [] - }, - "editorConfigs": { - "5e687c18fb01e64e6a3f873f": [ - { - "options": [ - { - "label": "Find Document(s)", - "value": "FIND" - }, - { - "label": "Insert Document(s)", - "value": "INSERT" - }, - { - "label": "Update Document(s)", - "value": "UPDATE" - }, - { - "label": "Delete Document(s)", - "value": "DELETE" - }, - { - "label": "Count", - "value": "COUNT" - }, - { - "label": "Distinct", - "value": "DISTINCT" - }, - { - "label": "Aggregate", - "value": "AGGREGATE" - }, - { - "label": "Raw", - "value": "RAW" - } - ], - "label": "Commands", - "description": "Choose method you would like to use to query the database", - "configProperty": "actionConfiguration.formData.command", - "controlType": "DROP_DOWN", - "initialValue": "FIND" - }, - { - "controlType": "SECTION", - "label": "", - "_comment": "This section holds all the templates", - "children": [ - { - "identifier": "FIND", - "controlType": "SECTION", - "conditionals": { - "show": "{{actionConfiguration.formData.command === 'FIND'}}" - }, - "children": [ - { - "controlType": "SECTION", - "label": "Select Collection to Query", - "children": [ - { - "label": "Collection", - "configProperty": "actionConfiguration.formData.collection", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "evaluationSubstitutionType": "TEMPLATE" - } - ] - }, - { - "controlType": "SECTION", - "label": "Query", - "description": "Optional", - "children": [ - { - "label": "Query", - "configProperty": "actionConfiguration.formData.find.query", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "inputType": "JSON", - "evaluationSubstitutionType": "TEMPLATE", - "placeholderText": "{rating : {$gte : 9}}" - }, - { - "label": "Sort", - "configProperty": "actionConfiguration.formData.find.sort", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "inputType": "JSON", - "evaluationSubstitutionType": "TEMPLATE", - "placeholderText": "{name : 1}" - }, - { - "label": "Projection", - "configProperty": "actionConfiguration.formData.find.projection", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "inputType": "JSON", - "evaluationSubstitutionType": "TEMPLATE", - "placeholderText": "{name : 1}" - }, - { - "label": "Limit", - "configProperty": "actionConfiguration.formData.find.limit", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "evaluationSubstitutionType": "TEMPLATE", - "placeholderText": "10" - }, - { - "label": "Skip", - "configProperty": "actionConfiguration.formData.find.skip", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "evaluationSubstitutionType": "TEMPLATE", - "placeholderText": "0" - } - ] + "path": "actionConfiguration.pluginSpecifiedTemplates[13].value", + "comparison": "EQUALS", + "value": true } ] }, - { - "identifier": "INSERT", - "controlType": "SECTION", - "conditionals": { - "show": "{{actionConfiguration.formData.command === 'INSERT'}}" - }, - "children": [ - { - "controlType": "SECTION", - "label": "Select Collection to Query", - "children": [ - { - "label": "Collection", - "configProperty": "actionConfiguration.formData.collection", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "evaluationSubstitutionType": "TEMPLATE" - } - ] - }, - { - "controlType": "SECTION", - "label": "Query", - "description": "Optional", - "children": [ - { - "label": "Documents", - "configProperty": "actionConfiguration.formData.insert.documents", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "inputType": "JSON", - "evaluationSubstitutionType": "TEMPLATE", - "placeholderText": "[ { _id: 1, user: \"abc123\", status: \"A\" } ]" - } - ] - } - ] + "placeholderText": "{{\n Table1.selectedRows.map((row) => {\n return { ...row, columnName: Input1.text }\n })\n}}" + }, + { + "label": "Smart JSON Substitution Key", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[13].key", + "hidden": true, + "controlType": "INPUT_TEXT", + "initialValue": "smartSubstitution" + } + ] + } + ], + "6023b4a070eb652de19476d3": [ + { + "options": [ + { + "label": "List files in bucket", + "value": "LIST" + }, + { + "label": "Create a new file", + "value": "UPLOAD_FILE_FROM_BODY" + }, + { + "label": "Read file", + "value": "READ_FILE" + }, + { + "label": "Delete file", + "value": "DELETE_FILE" + } + ], + "label": "Commands", + "description": "Choose method you would like to use", + "configProperty": "actionConfiguration.formData.command", + "controlType": "DROP_DOWN", + "initialValue": "LIST" + }, + { + "controlType": "SECTION", + "label": "", + "_comment": "This section holds all the templates", + "children": [ + { + "identifier": "LIST", + "controlType": "SECTION", + "conditionals": { + "show": "{{actionConfiguration.formData.command === 'LIST'}}" }, - { - "identifier": "UPDATE", - "controlType": "SECTION", - "conditionals": { - "show": "{{actionConfiguration.formData.command === 'UPDATE'}}" - }, - "children": [ - { - "controlType": "SECTION", - "label": "Select Collection to Query", - "children": [ - { - "label": "Collection", - "configProperty": "actionConfiguration.formData.collection", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "evaluationSubstitutionType": "TEMPLATE" - } - ] - }, - { - "controlType": "SECTION", - "label": "Query", - "description": "Optional", - "children": [ - { - "label": "Query", - "configProperty": "actionConfiguration.formData.updateMany.query", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "inputType": "JSON", - "evaluationSubstitutionType": "TEMPLATE", - "placeholderText": "{rating : {$gte : 9}}" - }, - { - "label": "Update", - "configProperty": "actionConfiguration.formData.updateMany.update", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "inputType": "JSON", - "evaluationSubstitutionType": "TEMPLATE", - "placeholderText": "{ $inc: { score: 1 } }" - }, - { - "label": "Limit", - "configProperty": "actionConfiguration.formData.updateMany.limit", - "controlType": "DROP_DOWN", - "initialValue": "SINGLE", - "options": [ - { - "label": "Single Document", - "value": "SINGLE" - }, - { - "label": "All Matching Documents", - "value": "ALL" - } - ] - } - ] - } - ] - }, - { - "identifier": "DELETE", - "controlType": "SECTION", - "conditionals": { - "show": "{{actionConfiguration.formData.command === 'DELETE'}}" - }, - "children": [ - { - "controlType": "SECTION", - "label": "Select Collection to Query", - "children": [ - { - "label": "Collection", - "configProperty": "actionConfiguration.formData.collection", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "evaluationSubstitutionType": "TEMPLATE" - } - ] - }, - { - "controlType": "SECTION", - "label": "Query", - "description": "Optional", - "children": [ - { - "label": "Query", - "configProperty": "actionConfiguration.formData.delete.query", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "inputType": "JSON", - "evaluationSubstitutionType": "TEMPLATE", - "placeholderText": "{rating : {$gte : 9}}" - }, - { - "label": "Limit", - "configProperty": "actionConfiguration.formData.delete.limit", - "controlType": "DROP_DOWN", - "initialValue": "SINGLE", - "options": [ - { - "label": "Single Document", - "value": "SINGLE" - }, - { - "label": "All Matching Documents", - "value": "ALL" - } - ] - } - ] - } - ] - }, - { - "identifier": "COUNT", - "controlType": "SECTION", - "conditionals": { - "show": "{{actionConfiguration.formData.command === 'COUNT'}}" - }, - "children": [ - { - "controlType": "SECTION", - "label": "Select Collection to Query", - "children": [ - { - "label": "Collection", - "configProperty": "actionConfiguration.formData.collection", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "evaluationSubstitutionType": "TEMPLATE" - } - ] - }, - { - "controlType": "SECTION", - "label": "Query", - "description": "Optional", - "children": [ - { - "label": "Query", - "configProperty": "actionConfiguration.formData.count.query", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "inputType": "JSON", - "evaluationSubstitutionType": "TEMPLATE", - "placeholderText": "{rating : {$gte : 9}}" - } - ] - } - ] - }, - { - "identifier": "DISTINCT", - "controlType": "SECTION", - "conditionals": { - "show": "{{actionConfiguration.formData.command === 'DISTINCT'}}" - }, - "children": [ - { - "controlType": "SECTION", - "label": "Select Collection to Query", - "children": [ - { - "label": "Collection", - "configProperty": "actionConfiguration.formData.collection", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "evaluationSubstitutionType": "TEMPLATE" - } - ] - }, - { - "controlType": "SECTION", - "label": "Query", - "description": "Optional", - "children": [ - { - "label": "Query", - "configProperty": "actionConfiguration.formData.distinct.query", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "inputType": "JSON", - "evaluationSubstitutionType": "TEMPLATE", - "placeholderText": "{rating : {$gte : 9}}" - }, - { - "label": "Key", - "configProperty": "actionConfiguration.formData.distinct.key", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "evaluationSubstitutionType": "TEMPLATE", - "placeholderText": "name" - } - ] - } - ] - }, - { - "identifier": "AGGREGATE", - "controlType": "SECTION", - "conditionals": { - "show": "{{actionConfiguration.formData.command === 'AGGREGATE'}}" - }, - "children": [ - { - "controlType": "SECTION", - "label": "Select Collection to Query", - "children": [ - { - "label": "Collection", - "configProperty": "actionConfiguration.formData.collection", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "evaluationSubstitutionType": "TEMPLATE" - } - ] - }, - { - "controlType": "SECTION", - "label": "Query", - "description": "Optional", - "children": [ - { - "label": "Array of Pipelines", - "configProperty": "actionConfiguration.formData.aggregate.arrayPipelines", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "inputType": "JSON", - "evaluationSubstitutionType": "TEMPLATE", - "placeholderText": "[{ $project: { tags: 1 } }, { $unwind: \"$tags\" }, { $group: { _id: \"$tags\", count: { $sum : 1 } } } ]" - } - ] - } - ] - }, - { - "identifier": "RAW", - "controlType": "SECTION", - "conditionals": { - "show": "{{actionConfiguration.formData.command === 'RAW'}}" - }, - "children": [ - { - "controlType": "SECTION", - "label": "Query", - "description": "Optional", - "children": [ - { - "label": "", - "propertyName": "rawWithSmartSubstitute", - "configProperty": "actionConfiguration.body", - "controlType": "QUERY_DYNAMIC_TEXT", - "evaluationSubstitutionType": "SMART_SUBSTITUTE", - "conditionals": { - "show": "{{actionConfiguration.formData.command === 'RAW' && actionConfiguration.formData.smartSubstitution === true}}" - } - }, - { - "label": "", - "configProperty": "actionConfiguration.body", - "propertyName": "rawWithTemplateSubstitute", - "controlType": "QUERY_DYNAMIC_TEXT", - "evaluationSubstitutionType": "TEMPLATE", - "conditionals": { - "show": "{{actionConfiguration.formData.command === 'RAW' && actionConfiguration.formData.smartSubstitution === false}}" - } - } - ] - } - ] - } - ] - } - ], - "5c9f512f96c1a50004819786": [ - { - "sectionName": "", - "id": 1, - "children": [ - { - "label": "", - "internalLabel": "Query", - "configProperty": "actionConfiguration.body", - "controlType": "QUERY_DYNAMIC_TEXT", - "evaluationSubstitutionType": "PARAMETER", - "hidden": { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "EQUALS", - "value": false - } - }, - { - "label": "", - "internalLabel": "Query", - "configProperty": "actionConfiguration.body", - "controlType": "QUERY_DYNAMIC_TEXT", - "evaluationSubstitutionType": "TEMPLATE", - "hidden": { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "EQUALS", - "value": true - } - }, - { - "label": "Use Prepared Statement", - "info": "Turning on Prepared Statement makes your queries resilient against bad things like SQL injections. However, it cannot be used if your dynamic binding contains any SQL keywords like 'SELECT', 'WHERE', 'AND', etc.", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "controlType": "SWITCH", - "initialValue": true - } - ] - } - ], - "5ca385dc81b37f0004b4db85": [ - { - "sectionName": "", - "id": 1, - "children": [ - { - "label": "Path", - "configProperty": "actionConfiguration.path", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT" - }, - { - "label": "Body", - "configProperty": "actionConfiguration.body", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "evaluationSubstitutionType": "SMART_SUBSTITUTE", - "hidden": { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "EQUALS", - "value": false - } - }, - { - "label": "Body", - "configProperty": "actionConfiguration.body", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "evaluationSubstitutionType": "TEMPLATE", - "hidden": { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "EQUALS", - "value": true - } - }, - { - "label": "Query Parameters", - "configProperty": "actionConfiguration.queryParameters", - "controlType": "ARRAY_FIELD", - "schema": [ - { - "label": "Key", - "key": "key", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "placeholderText": "Key" - }, - { - "label": "Value", - "key": "value", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "placeholderText": "Value" - } - ] - }, - { - "label": "Headers", - "configProperty": "actionConfiguration.headers", - "controlType": "ARRAY_FIELD", - "schema": [ - { - "label": "Key", - "key": "key", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "placeholderText": "Key" - }, - { - "label": "Value", - "key": "value", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "placeholderText": "Value" - } - ] - }, - { - "label": "Form data", - "configProperty": "actionConfiguration.bodyFormData", - "controlType": "ARRAY_FIELD", - "schema": [ - { - "label": "Key", - "key": "key", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "placeholderText": "Key" - }, - { - "label": "Value", - "key": "value", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "placeholderText": "Value" - } - ] - } - ] - } - ], - "5fbbc39ad1f71d6666c32e4b": [ - { - "sectionName": "", - "id": 1, - "children": [ - { - "label": "Method Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[0].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "method" - }, - { - "label": "Method", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "controlType": "DROP_DOWN", - "isRequired": true, - "initialValue": "GET_DOCUMENT", - "options": [ - { - "label": "Get Single Document", - "value": "GET_DOCUMENT" - }, - { - "label": "Get Documents in Collection", - "value": "GET_COLLECTION" - }, - { - "label": "Set Document", - "value": "SET_DOCUMENT" - }, - { - "label": "Create Document", - "value": "CREATE_DOCUMENT" - }, - { - "label": "Add Document to Collection", - "value": "ADD_TO_COLLECTION" - }, - { - "label": "Update Document", - "value": "UPDATE_DOCUMENT" - }, - { - "label": "Delete Document", - "value": "DELETE_DOCUMENT" - } - ] - }, - { - "label": "Collection/Document Path", - "configProperty": "actionConfiguration.path", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "isRequired": true, - "initialValue": "" - }, - { - "label": "Timestamp Value Path Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[8].key", - "controlType": "INPUT_TEXT", - "initialValue": "timestampValuePath", - "hidden": true - }, - { - "label": "Timestamp Value Path (use dot(.) notation to reference nested key e.g. [\"key1.key2\"])", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[8].value", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "initialValue": "", - "placeholderText": "[\"checkinLog.timestampKey\", \"auditLog.timestampKey\"]", - "hidden": { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "IN", - "value": [ - "GET_DOCUMENT", - "GET_COLLECTION", - "DELETE_DOCUMENT" - ] - } - }, - { - "label": "Delete Key Value Pair Path Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[9].key", - "controlType": "INPUT_TEXT", - "initialValue": "deleteKeyValuePairPath", - "hidden": true - }, - { - "label": "Delete Key Value Pair Path (use dot(.) notation to reference nested key e.g. [\"key1.key2\"])", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[9].value", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "initialValue": "", - "placeholderText": "[\"userKey.nestedNamekey\", \"cityKey.nestedPincodeKey\"]", - "hidden": { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "IN", - "value": [ - "GET_DOCUMENT", - "GET_COLLECTION", - "DELETE_DOCUMENT", - "CREATE_DOCUMENT", - "ADD_TO_COLLECTION", - "SET_DOCUMENT" - ] - } - }, - { - "label": "Order By Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[1].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "orderBy" - }, - { - "label": "Order By (JSON array of field names to order by)", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[1].value", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "hidden": { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "NOT_EQUALS", - "value": "GET_COLLECTION" - }, - "placeholderText": "[\"ascendingField\", \"-descendingField\", \"nestedObj.field\"]", - "initialValue": "" - }, - { - "label": "Start After Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[6].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "limit" - }, - { - "label": "Start After", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[6].value", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "hidden": { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "NOT_EQUALS", - "value": "GET_COLLECTION" - }, - "initialValue": "" - }, - { - "label": "End Before Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[7].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "limit" - }, - { - "label": "End Before", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[7].value", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "hidden": { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "NOT_EQUALS", - "value": "GET_COLLECTION" - }, - "initialValue": "" - }, - { - "label": "Limit Documents Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[2].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "limit" - }, - { - "label": "Limit Documents", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[2].value", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "hidden": { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "NOT_EQUALS", - "value": "GET_COLLECTION" - }, - "initialValue": "10" - }, - { - "label": "Where Conditions Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[3].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "whereConditionTuples" - }, - { - "label": "Where Conditions", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[3].value", - "controlType": "ARRAY_FIELD", - "hidden": { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "NOT_EQUALS", - "value": "GET_COLLECTION" - }, - "schema": [ - { - "label": "Path", - "key": "path", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "placeholderText": "key1/nestedKey2" - }, - { - "label": "Operator", - "key": "operator", - "controlType": "DROP_DOWN", - "initialValue": "EQ", - "options": [ - { - "label": "<", - "value": "LT" - }, - { - "label": "<=", - "value": "LTE" - }, - { - "label": "==", - "value": "EQ" - }, - { - "label": ">=", - "value": "GTE" - }, - { - "label": ">", - "value": "GT" - }, - { - "label": "array-contains", - "value": "ARRAY_CONTAINS" - }, - { - "label": "in", - "value": "IN" - }, - { - "label": "array-contains-any", - "value": "ARRAY_CONTAINS_ANY" - } - ] - }, - { - "label": "Value", - "key": "value", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "placeholderText": "value" - } - ] - }, - { - "label": "Body", - "configProperty": "actionConfiguration.body", - "controlType": "QUERY_DYNAMIC_TEXT", - "hidden": { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "IN", - "value": [ - "GET_DOCUMENT", - "GET_COLLECTION", - "DELETE_DOCUMENT" - ] - } - } - ] - } - ], - "6080f9266b8cfd602957ba72": [ - { - "sectionName": "", - "id": 1, - "children": [ - { - "label": "Method Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[0].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "method" - }, - { - "label": "Method", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "controlType": "DROP_DOWN", - "isRequired": true, - "initialValue": "GET", - "options": [ - { - "label": "Fetch sheet rows", - "value": "GET" - }, - { - "label": "Insert sheet row", - "value": "APPEND" - }, - { - "label": "Update sheet row", - "value": "UPDATE" - }, - { - "label": "Delete row", - "value": "DELETE_ROW" - }, - { - "label": "List sheets", - "value": "LIST" - }, - { - "label": "Fetch sheet", - "value": "INFO" - }, - { - "label": "Create new spreadsheet", - "value": "CREATE" - }, - { - "label": "Delete sheet", - "value": "DELETE" - }, - { - "label": "Bulk insert rows", - "value": "BULK_APPEND" - }, - { - "label": "Bulk update rows", - "value": "BULK_UPDATE" - } - ] - }, - { - "label": "Spreadsheet URL Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[1].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "sheetUrl" - }, - { - "label": "Spreadsheet URL", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[1].value", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "hidden": { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "IN", - "value": [ - "CREATE", - "LIST" - ] - }, - "placeholderText": "https://docs.google.com/spreadsheets/d/xyz/edit#gid=0", - "initialValue": "" - }, - { - "label": "Spreadsheet Name Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[3].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "spreadsheetName" - }, - { - "label": "Spreadsheet Name", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[3].value", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "hidden": { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "NOT_IN", - "value": [ - "CREATE" - ] - }, - "initialValue": "" - }, - { - "label": "Delete Format Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[12].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "deleteFormat" - }, - { - "label": "Select Entity", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[12].value", - "controlType": "DROP_DOWN", - "hidden": { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "NOT_EQUALS", - "value": "DELETE" - }, - "initialValue": "SHEET", - "options": [ - { - "label": "Single Sheet", - "value": "SHEET" - }, - { - "label": "Entire Spreadsheet", - "value": "SPREADSHEET" - } - ] - }, - { - "label": "Sheet Name Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[7].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "sheetName" - }, - { - "label": "Sheet Name", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[7].value", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "hidden": { - "conditionType": "OR", - "conditions": [ + "children": [ + { + "controlType": "SECTION", + "label": "Select Bucket to Query", + "children": [ { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "NOT_IN", - "value": [ - "GET", - "UPDATE", - "BULK_UPDATE", - "DELETE_ROW", - "DELETE", - "APPEND", - "BULK_APPEND" - ] + "label": "Bucket Name", + "configProperty": "actionConfiguration.formData.bucket", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "evaluationSubstitutionType": "TEMPLATE", + "isRequired": true, + "initialValue": "" + } + ] + }, + { + "controlType": "SECTION", + "label": "Query", + "description": "Optional", + "children": [ + { + "label": "Prefix", + "configProperty": "actionConfiguration.formData.list.prefix", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "initialValue": "" }, { - "conditionType": "AND", - "conditions": [ + "label": "Where", + "configProperty": "actionConfiguration.formData.list.where", + "nestedLevels": 3, + "controlType": "WHERE_CLAUSE", + "logicalTypes": [ { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "EQUALS", - "value": "DELETE" + "label": "AND", + "value": "AND" }, { - "path": "actionConfiguration.pluginSpecifiedTemplates[12].value", - "comparison": "EQUALS", - "value": "SPREADSHEET" + "label": "OR", + "value": "OR" } - ] - } - ] - }, - "initialValue": "Sheet1" - }, - { - "label": "Table Header Index Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[4].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "tableHeaderIndex" - }, - { - "label": "Table Heading Row Index", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[4].value", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "hidden": { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "NOT_IN", - "value": [ - "GET", - "UPDATE", - "BULK_UPDATE", - "DELETE_ROW", - "APPEND", - "BULK_APPEND" - ] - }, - "initialValue": "1" - }, - { - "label": "Query Format Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[5].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "queryFormat" - }, - { - "label": "Query Format", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[5].value", - "controlType": "DROP_DOWN", - "hidden": { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "NOT_IN", - "value": [ - "GET" - ] - }, - "initialValue": "ROWS", - "options": [ - { - "label": "Query rows", - "value": "ROWS" - }, - { - "label": "Query range", - "value": "RANGE" - } - ] - }, - { - "label": "Range Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[2].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "range" - }, - { - "label": "Cell Range", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[2].value", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "hidden": { - "conditionType": "OR", - "conditions": [ - { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "NOT_EQUALS", - "value": "GET" - }, - { - "conditionType": "AND", - "conditions": [ + ], + "comparisonTypes": [ { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "EQUALS", - "value": "GET" + "label": "==", + "value": "EQ" }, { - "path": "actionConfiguration.pluginSpecifiedTemplates[5].value", - "comparison": "EQUALS", - "value": "ROWS" - } - ] - } - ] - }, - "initialValue": "", - "placeholderText": "A2:B" - }, - { - "label": "Row Offset Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[8].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "rowOffset" - }, - { - "label": "Row Offset", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[8].value", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "hidden": { - "conditionType": "OR", - "conditions": [ - { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "NOT_IN", - "value": [ - "GET" - ] - }, - { - "conditionType": "AND", - "conditions": [ - { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "EQUALS", - "value": "GET" + "label": "!=", + "value": "NOT_EQ" }, { - "path": "actionConfiguration.pluginSpecifiedTemplates[5].value", - "comparison": "EQUALS", - "value": "RANGE" - } - ] - } - ] - }, - "initialValue": "0", - "placeholderText": "0" - }, - { - "label": "Row Index Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[11].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "rowIndex" - }, - { - "label": "Row Index", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[11].value", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "hidden": { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "NOT_IN", - "value": [ - "DELETE_ROW" - ] - }, - "initialValue": "0", - "placeholderText": "0" - }, - { - "label": "Row Limit Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[6].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "rowLimit" - }, - { - "label": "Row Limit", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[6].value", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "hidden": { - "conditionType": "OR", - "conditions": [ - { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "NOT_EQUALS", - "value": "GET" - }, - { - "conditionType": "AND", - "conditions": [ - { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "EQUALS", - "value": "GET" + "label": "in", + "value": "IN" }, { - "path": "actionConfiguration.pluginSpecifiedTemplates[5].value", - "comparison": "EQUALS", - "value": "RANGE" + "label": "not in", + "value": "NOT_IN" } ] } ] }, - "initialValue": "10", - "placeholderText": "10" - }, - { - "label": "Where Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[14].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "where" - }, - { - "label": "Where Conditions", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[14].value", - "controlType": "ARRAY_FIELD", - "hidden": { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "NOT_EQUALS", - "value": "GET" - }, - "initialValue": [], - "schema": [ - { - "label": "Column Name", - "key": "path", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "placeholderText": "name" - }, - { - "label": "Operator", - "key": "operator", - "controlType": "DROP_DOWN", - "initialValue": "EQ", - "options": [ - { - "label": "<", - "value": "LT" - }, - { - "label": "<=", - "value": "LTE" - }, - { - "label": "==", - "value": "EQ" - }, - { - "label": ">=", - "value": "GTE" - }, - { - "label": ">", - "value": "GT" - }, - { - "label": "in", - "value": "IN" - }, - { - "label": "not in", - "value": "NOT_IN" - } - ] - }, - { - "label": "Value", - "key": "value", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "placeholderText": "Tobias" - } - ] - }, - { - "label": "Row Object Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[9].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "rowObject" - }, - { - "label": "Row Object", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[9].value", - "controlType": "QUERY_DYNAMIC_TEXT", - "evaluationSubstitutionType": "SMART_SUBSTITUTE", - "hidden": { - "conditionType": "OR", - "conditions": [ + { + "controlType": "SECTION", + "label": "Options", + "children": [ { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "NOT_IN", - "value": [ - "APPEND", - "UPDATE" - ] - }, - { - "path": "actionConfiguration.pluginSpecifiedTemplates[13].value", - "comparison": "EQUALS", - "value": false - } - ] - }, - "placeholderText": "{{\n {\n ...Table1.selectedRow, \n columnName: Input1.text\n }\n}}" - }, - { - "label": "Row Object", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[9].value", - "controlType": "QUERY_DYNAMIC_TEXT", - "evaluationSubstitutionType": "SMART_SUBSTITUTE", - "hidden": { - "conditionType": "OR", - "conditions": [ - { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "NOT_IN", - "value": [ - "APPEND", - "UPDATE" - ] - }, - { - "path": "actionConfiguration.pluginSpecifiedTemplates[13].value", - "comparison": "EQUALS", - "value": true - } - ] - }, - "placeholderText": "{{\n {\n ...Table1.selectedRow, \n columnName: Input1.text\n }\n}}" - }, - { - "label": "Row Objects Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[10].key", - "controlType": "INPUT_TEXT", - "hidden": true, - "initialValue": "rowObjects" - }, - { - "label": "Row Objects", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[10].value", - "controlType": "QUERY_DYNAMIC_TEXT", - "evaluationSubstitutionType": "SMART_SUBSTITUTE", - "hidden": { - "conditionType": "OR", - "conditions": [ - { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "NOT_IN", - "value": [ - "CREATE", - "BULK_APPEND", - "BULK_UPDATE" - ] - }, - { - "path": "actionConfiguration.pluginSpecifiedTemplates[13].value", - "comparison": "EQUALS", - "value": false - } - ] - }, - "placeholderText": "{{\n Table1.selectedRows.map((row) => {\n return { ...row, columnName: Input1.text }\n })\n}}" - }, - { - "label": "Row Objects", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[10].value", - "controlType": "QUERY_DYNAMIC_TEXT", - "evaluationSubstitutionType": "SMART_SUBSTITUTE", - "hidden": { - "conditionType": "OR", - "conditions": [ - { - "path": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "comparison": "NOT_IN", - "value": [ - "CREATE", - "BULK_APPEND", - "BULK_UPDATE" - ] - }, - { - "path": "actionConfiguration.pluginSpecifiedTemplates[13].value", - "comparison": "EQUALS", - "value": true - } - ] - }, - "placeholderText": "{{\n Table1.selectedRows.map((row) => {\n return { ...row, columnName: Input1.text }\n })\n}}" - }, - { - "label": "Smart JSON Substitution Key", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[13].key", - "hidden": true, - "controlType": "INPUT_TEXT", - "initialValue": "smartSubstitution" - } - ] - } - ], - "6023b4a070eb652de19476d3": [ - { - "options": [ - { - "label": "List files in bucket", - "value": "LIST" - }, - { - "label": "Create a new file", - "value": "UPLOAD_FILE_FROM_BODY" - }, - { - "label": "Read file", - "value": "READ_FILE" - }, - { - "label": "Delete file", - "value": "DELETE_FILE" - } - ], - "label": "Commands", - "description": "Choose method you would like to use", - "configProperty": "actionConfiguration.formData.command", - "controlType": "DROP_DOWN", - "initialValue": "LIST" - }, - { - "controlType": "SECTION", - "label": "", - "_comment": "This section holds all the templates", - "children": [ - { - "identifier": "LIST", - "controlType": "SECTION", - "conditionals": { - "show": "{{actionConfiguration.formData.command === 'LIST'}}" - }, - "children": [ - { - "controlType": "SECTION", - "label": "Select Bucket to Query", - "children": [ - { - "label": "Bucket Name", - "configProperty": "actionConfiguration.formData.bucket", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "evaluationSubstitutionType": "TEMPLATE", - "isRequired": true, - "initialValue": "" - } - ] - }, - { - "controlType": "SECTION", - "label": "Query", - "description": "Optional", - "children": [ - { - "label": "Prefix", - "configProperty": "actionConfiguration.formData.list.prefix", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "initialValue": "" - }, - { - "label": "Where", - "configProperty": "actionConfiguration.formData.list.where", - "nestedLevels": 3, - "controlType": "WHERE_CLAUSE", - "logicalTypes": [ - { - "label": "AND", - "value": "AND" - }, - { - "label": "OR", - "value": "OR" - } - ], - "comparisonTypes": [ - { - "label": "==", - "value": "EQ" - }, - { - "label": "!=", - "value": "NOT_EQ" - }, - { - "label": "in", - "value": "IN" - }, - { - "label": "not in", - "value": "NOT_IN" - } - ] - } - ] - }, - { - "controlType": "SECTION", - "label": "Options", - "children": [ - { - "label": "Generate Signed URL", - "configProperty": "actionConfiguration.formData.list.signedUrl", - "controlType": "DROP_DOWN", - "initialValue": "NO", - "options": [ - { - "label": "Yes", - "value": "YES" - }, - { - "label": "No", - "value": "NO" - } - ] - }, - { - "label": "Expiry Duration of Signed URL (Minutes)", - "configProperty": "actionConfiguration.formData.list.expiry", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "initialValue": "5", - "conditionals": { - "show": "{{actionConfiguration.formData.list.signedUrl === 'YES'}}" + "label": "Generate Signed URL", + "configProperty": "actionConfiguration.formData.list.signedUrl", + "controlType": "DROP_DOWN", + "initialValue": "NO", + "options": [ + { + "label": "Yes", + "value": "YES" + }, + { + "label": "No", + "value": "NO" } - }, - { - "label": "Generate Un-signed URL", - "configProperty": "actionConfiguration.formData.list.unSignedUrl", - "controlType": "DROP_DOWN", - "initialValue": "YES", - "options": [ - { - "label": "Yes", - "value": "YES" - }, - { - "label": "No", - "value": "NO" - } - ] + ] + }, + { + "label": "Expiry Duration of Signed URL (Minutes)", + "configProperty": "actionConfiguration.formData.list.expiry", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "initialValue": "5", + "conditionals": { + "show": "{{actionConfiguration.formData.list.signedUrl === 'YES'}}" } - ] - } - ] + }, + { + "label": "Generate Un-signed URL", + "configProperty": "actionConfiguration.formData.list.unSignedUrl", + "controlType": "DROP_DOWN", + "initialValue": "YES", + "options": [ + { + "label": "Yes", + "value": "YES" + }, + { + "label": "No", + "value": "NO" + } + ] + } + ] + } + ] + }, + { + "identifier": "UPLOAD_FILE_FROM_BODY", + "controlType": "SECTION", + "conditionals": { + "show": "{{actionConfiguration.formData.command === 'UPLOAD_FILE_FROM_BODY'}}" }, - { - "identifier": "UPLOAD_FILE_FROM_BODY", - "controlType": "SECTION", - "conditionals": { - "show": "{{actionConfiguration.formData.command === 'UPLOAD_FILE_FROM_BODY'}}" + "children": [ + { + "controlType": "SECTION", + "label": "Select Bucket to Query", + "children": [ + { + "label": "Bucket Name", + "configProperty": "actionConfiguration.formData.bucket", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "evaluationSubstitutionType": "TEMPLATE", + "isRequired": true, + "initialValue": "" + } + ] }, - "children": [ - { - "controlType": "SECTION", - "label": "Select Bucket to Query", - "children": [ - { - "label": "Bucket Name", - "configProperty": "actionConfiguration.formData.bucket", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "evaluationSubstitutionType": "TEMPLATE", - "isRequired": true, - "initialValue": "" - } - ] - }, - { - "controlType": "SECTION", - "label": "Query", - "description": "Optional", - "children": [ - { - "label": "File Path", - "configProperty": "actionConfiguration.path", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "initialValue": "" - }, - { - "label": "File Data Type", - "configProperty": "actionConfiguration.formData.create.dataType", - "controlType": "DROP_DOWN", - "initialValue": "YES", - "options": [ - { - "label": "Base64", - "value": "YES" - }, - { - "label": "Text / Binary", - "value": "NO" - } - ] - }, - { - "label": "Expiry Duration of Signed URL (Minutes)", - "configProperty": "actionConfiguration.formData.create.expiry", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "initialValue": "5" - }, - { - "label": "Content", - "configProperty": "actionConfiguration.body", - "controlType": "QUERY_DYNAMIC_TEXT", - "initialValue": "", - "placeHolderText": "{{ FilePicker1.files[0] }}" - } - ] - } - ] + { + "controlType": "SECTION", + "label": "Query", + "description": "Optional", + "children": [ + { + "label": "File Path", + "configProperty": "actionConfiguration.path", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "initialValue": "" + }, + { + "label": "File Data Type", + "configProperty": "actionConfiguration.formData.create.dataType", + "controlType": "DROP_DOWN", + "initialValue": "YES", + "options": [ + { + "label": "Base64", + "value": "YES" + }, + { + "label": "Text / Binary", + "value": "NO" + } + ] + }, + { + "label": "Expiry Duration of Signed URL (Minutes)", + "configProperty": "actionConfiguration.formData.create.expiry", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "initialValue": "5" + }, + { + "label": "Content", + "configProperty": "actionConfiguration.body", + "controlType": "QUERY_DYNAMIC_TEXT", + "initialValue": "", + "placeHolderText": "{{ FilePicker1.files[0] }}" + } + ] + } + ] + }, + { + "identifier": "READ_FILE", + "controlType": "SECTION", + "conditionals": { + "show": "{{actionConfiguration.formData.command === 'READ_FILE'}}" }, - { - "identifier": "READ_FILE", - "controlType": "SECTION", - "conditionals": { - "show": "{{actionConfiguration.formData.command === 'READ_FILE'}}" + "children": [ + { + "controlType": "SECTION", + "label": "Select Bucket to Query", + "children": [ + { + "label": "Bucket Name", + "configProperty": "actionConfiguration.formData.bucket", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "evaluationSubstitutionType": "TEMPLATE", + "isRequired": true, + "initialValue": "" + } + ] }, - "children": [ - { - "controlType": "SECTION", - "label": "Select Bucket to Query", - "children": [ - { - "label": "Bucket Name", - "configProperty": "actionConfiguration.formData.bucket", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "evaluationSubstitutionType": "TEMPLATE", - "isRequired": true, - "initialValue": "" - } - ] - }, - { - "controlType": "SECTION", - "label": "Query", - "description": "Optional", - "children": [ - { - "label": "File Path", - "configProperty": "actionConfiguration.path", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "initialValue": "" - }, - { - "label": "File Data Type", - "configProperty": "actionConfiguration.formData.read.dataType", - "controlType": "DROP_DOWN", - "initialValue": "YES", - "options": [ - { - "label": "Base64", - "value": "YES" - }, - { - "label": "Text / Binary", - "value": "NO" - } - ] - }, - { - "label": "Expiry Duration of Signed URL (Minutes)", - "configProperty": "actionConfiguration.formData.read.expiry", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "initialValue": "5" - }, - { - "label": "Base64 Encode File - Yes/No", - "configProperty": "actionConfiguration.formData.read.usingBase64Encoding", - "controlType": "DROP_DOWN", - "initialValue": "YES", - "options": [ - { - "label": "Yes", - "value": "YES" - }, - { - "label": "No", - "value": "NO" - } - ] - } - ] - } - ] + { + "controlType": "SECTION", + "label": "Query", + "description": "Optional", + "children": [ + { + "label": "File Path", + "configProperty": "actionConfiguration.path", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "initialValue": "" + }, + { + "label": "File Data Type", + "configProperty": "actionConfiguration.formData.read.dataType", + "controlType": "DROP_DOWN", + "initialValue": "YES", + "options": [ + { + "label": "Base64", + "value": "YES" + }, + { + "label": "Text / Binary", + "value": "NO" + } + ] + }, + { + "label": "Expiry Duration of Signed URL (Minutes)", + "configProperty": "actionConfiguration.formData.read.expiry", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "initialValue": "5" + }, + { + "label": "Base64 Encode File - Yes/No", + "configProperty": "actionConfiguration.formData.read.usingBase64Encoding", + "controlType": "DROP_DOWN", + "initialValue": "YES", + "options": [ + { + "label": "Yes", + "value": "YES" + }, + { + "label": "No", + "value": "NO" + } + ] + } + ] + } + ] + }, + { + "identifier": "DELETE_FILE", + "controlType": "SECTION", + "conditionals": { + "show": "{{actionConfiguration.formData.command === 'DELETE_FILE'}}" }, - { - "identifier": "DELETE_FILE", - "controlType": "SECTION", - "conditionals": { - "show": "{{actionConfiguration.formData.command === 'DELETE_FILE'}}" + "children": [ + { + "controlType": "SECTION", + "label": "Select Bucket to Query", + "children": [ + { + "label": "Bucket Name", + "configProperty": "actionConfiguration.formData.bucket", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "evaluationSubstitutionType": "TEMPLATE", + "isRequired": true, + "initialValue": "" + } + ] }, - "children": [ - { - "controlType": "SECTION", - "label": "Select Bucket to Query", - "children": [ - { - "label": "Bucket Name", - "configProperty": "actionConfiguration.formData.bucket", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "evaluationSubstitutionType": "TEMPLATE", - "isRequired": true, - "initialValue": "" - } - ] - }, - { - "controlType": "SECTION", - "label": "Query", - "description": "Optional", - "children": [ - { - "label": "File Path", - "configProperty": "actionConfiguration.path", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "initialValue": "" - }, - { - "label": "Expiry Duration of Signed URL (Minutes)", - "configProperty": "actionConfiguration.formData.delete.expiry", - "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "initialValue": "5" - } - ] - } - ] - } - ] - } - ], - "5f9169920c6d936f469f4c8a": [ - { - "sectionName": "", - "id": 1, - "children": [ - { - "label": "", - "internalLabel": "Query", - "configProperty": "actionConfiguration.body", - "controlType": "QUERY_DYNAMIC_TEXT" - } - ] - } - ], - "6138c786168857325f78ef3e": [] - }, - "settingConfigs": { - "5e687c18fb01e64e6a3f873f": [ - { - "sectionName": "", - "id": 1, - "children": [ - { - "label": "Run query on page load", - "configProperty": "executeOnLoad", - "controlType": "SWITCH", - "info": "Will refresh data each time the page is loaded" - }, - { - "label": "Request confirmation before running query", - "configProperty": "confirmBeforeExecute", - "controlType": "SWITCH", - "info": "Ask confirmation from the user each time before refreshing data" - }, - { - "label": "Smart BSON Substitution", - "info": "Turning on this property fixes the BSON substitution of bindings in the Mongo BSON document by adding/removing quotes intelligently and reduces developer errors", - "configProperty": "actionConfiguration.formData.smartSubstitution", - "controlType": "SWITCH", - "initialValue": true - }, - { - "label": "Query timeout (in milliseconds)", - "info": "Maximum time after which the query will return", - "configProperty": "actionConfiguration.timeoutInMillisecond", - "controlType": "INPUT_TEXT", - "dataType": "NUMBER" - } - ] - } - ], - "5c9f512f96c1a50004819786": [ - { - "sectionName": "", - "id": 1, - "children": [ - { - "label": "Run query on page load", - "configProperty": "executeOnLoad", - "controlType": "SWITCH", - "info": "Will refresh data each time the page is loaded" - }, - { - "label": "Request confirmation before running query", - "configProperty": "confirmBeforeExecute", - "controlType": "SWITCH", - "info": "Ask confirmation from the user each time before refreshing data" - }, - { - "label": "Use Prepared Statement", - "info": "Turning on Prepared Statement makes your queries resilient against bad things like SQL injections. However, it cannot be used if your dynamic binding contains any SQL keywords like 'SELECT', 'WHERE', 'AND', etc.", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "controlType": "SWITCH", - "initialValue": true - }, - { - "label": "Query timeout (in milliseconds)", - "info": "Maximum time after which the query will return", - "configProperty": "actionConfiguration.timeoutInMillisecond", - "controlType": "INPUT_TEXT", - "dataType": "NUMBER" - } - ] - } - ], - "5ca385dc81b37f0004b4db85": [ - { - "sectionName": "", - "id": 1, - "children": [ - { - "label": "Run API on Page load", - "configProperty": "executeOnLoad", - "controlType": "CHECKBOX", - "info": "Will refresh data each time the page is loaded" - }, - { - "label": "Request confirmation before running API", - "configProperty": "confirmBeforeExecute", - "controlType": "CHECKBOX", - "info": "Ask confirmation from the user each time before refreshing data" - }, - { - "label": "Encode query params", - "configProperty": "actionConfiguration.encodeParamsToggle", - "controlType": "CHECKBOX", - "info": "Encode query params for all APIs. Also encode form body when Content-Type header is set to x-www-form-encoded" - }, - { - "label": "Smart JSON Substitution", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[0].value", - "controlType": "CHECKBOX", - "info": "Turning on this property fixes the JSON substitution of bindings in API body by adding/removing quotes intelligently and reduces developer errors", - "initialValue": true - }, - { - "label": "API timeout (in milliseconds)", - "info": "Maximum time after which the API will return", - "configProperty": "actionConfiguration.timeoutInMillisecond", - "controlType": "NUMBER_INPUT", - "dataType": "number" - } - ] - } - ], - "5fbbc39ad1f71d6666c32e4b": [ - { - "sectionName": "", - "id": 1, - "children": [ - { - "label": "Run query on page load", - "configProperty": "executeOnLoad", - "controlType": "SWITCH", - "info": "Will refresh data each time the page is loaded" - }, - { - "label": "Request confirmation before running query", - "configProperty": "confirmBeforeExecute", - "controlType": "SWITCH", - "info": "Ask confirmation from the user each time before refreshing data" - }, - { - "label": "Query timeout (in milliseconds)", - "info": "Maximum time after which the query will return", - "configProperty": "actionConfiguration.timeoutInMillisecond", - "controlType": "INPUT_TEXT", - "dataType": "NUMBER" - } - ] - } - ], - "6080f9266b8cfd602957ba72": [ - { - "sectionName": "", - "id": 1, - "children": [ - { - "label": "Run query on page load", - "configProperty": "executeOnLoad", - "controlType": "SWITCH", - "info": "Will refresh data each time the page is loaded" - }, - { - "label": "Request confirmation before running query", - "configProperty": "confirmBeforeExecute", - "controlType": "SWITCH", - "info": "Ask confirmation from the user each time before refreshing data" - }, - { - "label": "Smart JSON Substitution", - "info": "Turning on this property fixes the JSON substitution of bindings in the Row objects by adding/removing quotes intelligently and reduces developer errors", - "configProperty": "actionConfiguration.pluginSpecifiedTemplates[13].value", - "controlType": "SWITCH", - "initialValue": true - }, - { - "label": "Query timeout (in milliseconds)", - "info": "Maximum time after which the query will return", - "configProperty": "actionConfiguration.timeoutInMillisecond", - "controlType": "INPUT_TEXT", - "dataType": "NUMBER" - } - ] - } - ], - "6023b4a070eb652de19476d3": [ - { - "sectionName": "", - "id": 1, - "children": [ - { - "label": "Run query on page load", - "configProperty": "executeOnLoad", - "controlType": "SWITCH", - "info": "Will refresh data each time the page is loaded" - }, - { - "label": "Request confirmation before running query", - "configProperty": "confirmBeforeExecute", - "controlType": "SWITCH", - "info": "Ask confirmation from the user each time before refreshing data" - }, - { - "label": "Smart JSON Substitution", - "info": "Turning on this property fixes the JSON substitution of bindings in the Content field by adding/removing quotes intelligently and reduces developer errors", - "configProperty": "actionConfiguration.formData.smartSubstitution", - "controlType": "SWITCH", - "initialValue": true - }, - { - "label": "Query timeout (in milliseconds)", - "info": "Maximum time after which the query will return", - "configProperty": "actionConfiguration.timeoutInMillisecond", - "controlType": "INPUT_TEXT", - "dataType": "NUMBER" - } - ] - } - ], - "5f9169920c6d936f469f4c8a": [ - { - "sectionName": "", - "id": 1, - "children": [ - { - "label": "Run query on page load", - "configProperty": "executeOnLoad", - "controlType": "SWITCH", - "info": "Will refresh data each time the page is loaded" - }, - { - "label": "Request confirmation before running query", - "configProperty": "confirmBeforeExecute", - "controlType": "SWITCH", - "info": "Ask confirmation from the user each time before refreshing data" - }, - { - "label": "Query timeout (in milliseconds)", - "info": "Maximum time after which the query will return", - "configProperty": "actionConfiguration.timeoutInMillisecond", - "controlType": "INPUT_TEXT", - "dataType": "NUMBER" - } - ] - } - ], - "6138c786168857325f78ef3e": [] - }, - "dependencies": "undefined", - "fetchingSinglePluginForm": {} + { + "controlType": "SECTION", + "label": "Query", + "description": "Optional", + "children": [ + { + "label": "File Path", + "configProperty": "actionConfiguration.path", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "initialValue": "" + }, + { + "label": "Expiry Duration of Signed URL (Minutes)", + "configProperty": "actionConfiguration.formData.delete.expiry", + "controlType": "QUERY_DYNAMIC_INPUT_TEXT", + "initialValue": "5" + } + ] + } + ] + } + ] + } + ], + "5f9169920c6d936f469f4c8a": [ + { + "sectionName": "", + "id": 1, + "children": [ + { + "label": "", + "internalLabel": "Query", + "configProperty": "actionConfiguration.body", + "controlType": "QUERY_DYNAMIC_TEXT" + } + ] + } + ], + "6138c786168857325f78ef3e": [] }, - "meta": {}, - "app": "undefined", - "jsActions": [] - } - } \ No newline at end of file + "settingConfigs": { + "5e687c18fb01e64e6a3f873f": [ + { + "sectionName": "", + "id": 1, + "children": [ + { + "label": "Run query on page load", + "configProperty": "executeOnLoad", + "controlType": "SWITCH", + "info": "Will refresh data each time the page is loaded" + }, + { + "label": "Request confirmation before running query", + "configProperty": "confirmBeforeExecute", + "controlType": "SWITCH", + "info": "Ask confirmation from the user each time before refreshing data" + }, + { + "label": "Smart BSON Substitution", + "info": "Turning on this property fixes the BSON substitution of bindings in the Mongo BSON document by adding/removing quotes intelligently and reduces developer errors", + "configProperty": "actionConfiguration.formData.smartSubstitution", + "controlType": "SWITCH", + "initialValue": true + }, + { + "label": "Query timeout (in milliseconds)", + "info": "Maximum time after which the query will return", + "configProperty": "actionConfiguration.timeoutInMillisecond", + "controlType": "INPUT_TEXT", + "dataType": "NUMBER" + } + ] + } + ], + "5c9f512f96c1a50004819786": [ + { + "sectionName": "", + "id": 1, + "children": [ + { + "label": "Run query on page load", + "configProperty": "executeOnLoad", + "controlType": "SWITCH", + "info": "Will refresh data each time the page is loaded" + }, + { + "label": "Request confirmation before running query", + "configProperty": "confirmBeforeExecute", + "controlType": "SWITCH", + "info": "Ask confirmation from the user each time before refreshing data" + }, + { + "label": "Use Prepared Statement", + "info": "Turning on Prepared Statement makes your queries resilient against bad things like SQL injections. However, it cannot be used if your dynamic binding contains any SQL keywords like 'SELECT', 'WHERE', 'AND', etc.", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "controlType": "SWITCH", + "initialValue": true + }, + { + "label": "Query timeout (in milliseconds)", + "info": "Maximum time after which the query will return", + "configProperty": "actionConfiguration.timeoutInMillisecond", + "controlType": "INPUT_TEXT", + "dataType": "NUMBER" + } + ] + } + ], + "5ca385dc81b37f0004b4db85": [ + { + "sectionName": "", + "id": 1, + "children": [ + { + "label": "Run API on Page load", + "configProperty": "executeOnLoad", + "controlType": "CHECKBOX", + "info": "Will refresh data each time the page is loaded" + }, + { + "label": "Request confirmation before running API", + "configProperty": "confirmBeforeExecute", + "controlType": "CHECKBOX", + "info": "Ask confirmation from the user each time before refreshing data" + }, + { + "label": "Encode query params", + "configProperty": "actionConfiguration.encodeParamsToggle", + "controlType": "CHECKBOX", + "info": "Encode query params for all APIs. Also encode form body when Content-Type header is set to x-www-form-encoded" + }, + { + "label": "Smart JSON Substitution", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[0].value", + "controlType": "CHECKBOX", + "info": "Turning on this property fixes the JSON substitution of bindings in API body by adding/removing quotes intelligently and reduces developer errors", + "initialValue": true + }, + { + "label": "API timeout (in milliseconds)", + "info": "Maximum time after which the API will return", + "configProperty": "actionConfiguration.timeoutInMillisecond", + "controlType": "NUMBER_INPUT", + "dataType": "number" + } + ] + } + ], + "5fbbc39ad1f71d6666c32e4b": [ + { + "sectionName": "", + "id": 1, + "children": [ + { + "label": "Run query on page load", + "configProperty": "executeOnLoad", + "controlType": "SWITCH", + "info": "Will refresh data each time the page is loaded" + }, + { + "label": "Request confirmation before running query", + "configProperty": "confirmBeforeExecute", + "controlType": "SWITCH", + "info": "Ask confirmation from the user each time before refreshing data" + }, + { + "label": "Query timeout (in milliseconds)", + "info": "Maximum time after which the query will return", + "configProperty": "actionConfiguration.timeoutInMillisecond", + "controlType": "INPUT_TEXT", + "dataType": "NUMBER" + } + ] + } + ], + "6080f9266b8cfd602957ba72": [ + { + "sectionName": "", + "id": 1, + "children": [ + { + "label": "Run query on page load", + "configProperty": "executeOnLoad", + "controlType": "SWITCH", + "info": "Will refresh data each time the page is loaded" + }, + { + "label": "Request confirmation before running query", + "configProperty": "confirmBeforeExecute", + "controlType": "SWITCH", + "info": "Ask confirmation from the user each time before refreshing data" + }, + { + "label": "Smart JSON Substitution", + "info": "Turning on this property fixes the JSON substitution of bindings in the Row objects by adding/removing quotes intelligently and reduces developer errors", + "configProperty": "actionConfiguration.pluginSpecifiedTemplates[13].value", + "controlType": "SWITCH", + "initialValue": true + }, + { + "label": "Query timeout (in milliseconds)", + "info": "Maximum time after which the query will return", + "configProperty": "actionConfiguration.timeoutInMillisecond", + "controlType": "INPUT_TEXT", + "dataType": "NUMBER" + } + ] + } + ], + "6023b4a070eb652de19476d3": [ + { + "sectionName": "", + "id": 1, + "children": [ + { + "label": "Run query on page load", + "configProperty": "executeOnLoad", + "controlType": "SWITCH", + "info": "Will refresh data each time the page is loaded" + }, + { + "label": "Request confirmation before running query", + "configProperty": "confirmBeforeExecute", + "controlType": "SWITCH", + "info": "Ask confirmation from the user each time before refreshing data" + }, + { + "label": "Smart JSON Substitution", + "info": "Turning on this property fixes the JSON substitution of bindings in the Content field by adding/removing quotes intelligently and reduces developer errors", + "configProperty": "actionConfiguration.formData.smartSubstitution", + "controlType": "SWITCH", + "initialValue": true + }, + { + "label": "Query timeout (in milliseconds)", + "info": "Maximum time after which the query will return", + "configProperty": "actionConfiguration.timeoutInMillisecond", + "controlType": "INPUT_TEXT", + "dataType": "NUMBER" + } + ] + } + ], + "5f9169920c6d936f469f4c8a": [ + { + "sectionName": "", + "id": 1, + "children": [ + { + "label": "Run query on page load", + "configProperty": "executeOnLoad", + "controlType": "SWITCH", + "info": "Will refresh data each time the page is loaded" + }, + { + "label": "Request confirmation before running query", + "configProperty": "confirmBeforeExecute", + "controlType": "SWITCH", + "info": "Ask confirmation from the user each time before refreshing data" + }, + { + "label": "Query timeout (in milliseconds)", + "info": "Maximum time after which the query will return", + "configProperty": "actionConfiguration.timeoutInMillisecond", + "controlType": "INPUT_TEXT", + "dataType": "NUMBER" + } + ] + } + ], + "6138c786168857325f78ef3e": [] + }, + "dependencies": "undefined", + "fetchingSinglePluginForm": {} + }, + "meta": {}, + "app": "undefined", + "jsActions": [] + } +}