{ "app": [ { "definition": { "appV2": { "type": "front-end", "id": "4415bf47-64bf-451b-8b07-ab85b35f59f3", "name": "Advanced data visualization", "slug": "4415bf47-64bf-451b-8b07-ab85b35f59f3", "isPublic": false, "isMaintenanceOn": false, "icon": "draghandle", "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", "currentVersionId": null, "userId": "ccf51822-9d82-4d82-81dd-22df9f3cfcfc", "workflowApiToken": null, "workflowEnabled": false, "createdAt": "2024-06-07T19:46:57.752Z", "creationMode": "DEFAULT", "updatedAt": "2024-06-07T19:46:58.399Z", "editingVersion": { "id": "2727e142-9c8f-498b-b7c7-90cc5f405869", "name": "v1", "definition": null, "globalSettings": { "hideHeader": true, "appInMaintenance": false, "canvasMaxWidth": 100, "canvasMaxWidthType": "%", "canvasMaxHeight": 2400, "canvasBackgroundColor": "#edeff5", "backgroundFxQuery": "", "appMode": "auto" }, "pageSettings": { "properties": { "disableMenu": { "value": "{{true}}", "fxActive": false } } }, "showViewerNavigation": false, "homePageId": "a43de4eb-81fc-421d-b354-d1f526547de3", "appId": "4415bf47-64bf-451b-8b07-ab85b35f59f3", "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", "promotedFrom": null, "createdAt": "2024-06-07T19:46:57.774Z", "updatedAt": "2024-06-07T20:51:52.534Z" }, "components": [ { "id": "e4c2d892-34d9-4b18-b92f-faa6f06a5990", "name": "text8", "type": "Text", "pageId": "a43de4eb-81fc-421d-b354-d1f526547de3", "parent": null, "properties": { "text": { "value": "This app uses weather data from Open-Meteo and is intended for non-commercial purposes only. For commercial use, please visit their pricing page." } }, "general": {}, "styles": { "textAlign": { "value": "center" } }, "generalStyles": {}, "displayPreferences": { "showOnDesktop": { "value": "{{true}}" }, "showOnMobile": { "value": "{{false}}" } }, "validation": {}, "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-06-07T19:46:57.782Z", "layouts": [ { "id": "cf6fb7d4-d573-4673-9b2a-5ca62d00c166", "type": "desktop", "top": 1510, "left": 1, "width": 41, "height": 40, "componentId": "e4c2d892-34d9-4b18-b92f-faa6f06a5990", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" }, { "id": "72bbcd13-4b33-4b55-adc1-d0803973066e", "type": "mobile", "top": 1510, "left": 1, "width": 6, "height": 40, "componentId": "e4c2d892-34d9-4b18-b92f-faa6f06a5990", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" } ] }, { "id": "58f3dce2-58c8-43a6-98cf-bca3c236342b", "name": "text4", "type": "Text", "pageId": "a43de4eb-81fc-421d-b354-d1f526547de3", "parent": null, "properties": { "text": { "value": "Location 2" } }, "general": {}, "styles": { "textSize": { "value": "24" }, "fontWeight": { "value": "bold" }, "isScrollRequired": { "value": "disabled" }, "textAlign": { "value": "left" }, "textIndent": { "value": "10" } }, "generalStyles": {}, "displayPreferences": { "showOnDesktop": { "value": "{{true}}" }, "showOnMobile": { "value": "{{false}}" } }, "validation": {}, "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-06-07T20:50:01.192Z", "layouts": [ { "id": "21f54b2a-f4de-4a19-a9ee-954de112fcfc", "type": "mobile", "top": 130, "left": 1, "width": 6, "height": 40, "componentId": "58f3dce2-58c8-43a6-98cf-bca3c236342b", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" }, { "id": "fc0e5f87-a91f-42fd-8f48-41cd9825623d", "type": "desktop", "top": 90, "left": 23, "width": 19, "height": 50, "componentId": "58f3dce2-58c8-43a6-98cf-bca3c236342b", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" } ] }, { "id": "13ab9806-2209-47d3-b6d8-a4e55940e8db", "name": "text3", "type": "Text", "pageId": "a43de4eb-81fc-421d-b354-d1f526547de3", "parent": null, "properties": { "text": { "value": "Location 1" } }, "general": {}, "styles": { "textSize": { "value": "24" }, "fontWeight": { "value": "bold" }, "isScrollRequired": { "value": "disabled" }, "verticalAlignment": { "value": "center" }, "textAlign": { "value": "left" }, "textIndent": { "value": "10" } }, "generalStyles": {}, "displayPreferences": { "showOnDesktop": { "value": "{{true}}" }, "showOnMobile": { "value": "{{false}}" } }, "validation": {}, "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-06-07T20:50:12.377Z", "layouts": [ { "id": "c855b30c-2f39-40c4-8843-604579c5ac25", "type": "desktop", "top": 90, "left": 2, "width": 19, "height": 50, "componentId": "13ab9806-2209-47d3-b6d8-a4e55940e8db", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" }, { "id": "b791fb69-f0bf-4d0d-aaf7-d9faf7e3356d", "type": "mobile", "top": 90, "left": 1, "width": 6, "height": 40, "componentId": "13ab9806-2209-47d3-b6d8-a4e55940e8db", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" } ] }, { "id": "a73e8ccb-83df-4b74-a8b5-420ddda7adcf", "name": "chart1", "type": "Chart", "pageId": "a43de4eb-81fc-421d-b354-d1f526547de3", "parent": null, "properties": { "title": { "value": "" }, "plotFromJson": { "value": "{{true}}" }, "loadingState": { "value": "{{queries.getWeather1.isLoading}}", "fxActive": true }, "jsonDescription": { "value": "{{JSON.stringify(queries.getWeather1.data.heatmapData)}}" } }, "general": {}, "styles": { "padding": { "value": "10" }, "borderRadius": { "value": "{{0}}", "fxActive": false } }, "generalStyles": {}, "displayPreferences": { "showOnDesktop": { "value": "{{true}}" }, "showOnMobile": { "value": "{{false}}" } }, "validation": {}, "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-06-07T19:46:57.782Z", "layouts": [ { "id": "fef4215f-7722-4686-a9fb-c70782a2082a", "type": "desktop", "top": 480, "left": 1, "width": 20, "height": 280, "componentId": "a73e8ccb-83df-4b74-a8b5-420ddda7adcf", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" }, { "id": "d7988c85-3f6b-4355-b8f2-2351a0e2a906", "type": "mobile", "top": 750, "left": 0, "width": 20, "height": 400, "componentId": "a73e8ccb-83df-4b74-a8b5-420ddda7adcf", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" } ] }, { "id": "472d29d1-d28e-4463-bb9d-00147e5dff10", "name": "chart3", "type": "Chart", "pageId": "a43de4eb-81fc-421d-b354-d1f526547de3", "parent": null, "properties": { "title": { "value": "" }, "plotFromJson": { "value": "{{true}}" }, "loadingState": { "value": "{{queries.getWeather2.isLoading}}", "fxActive": true }, "jsonDescription": { "value": "{{JSON.stringify(queries.getWeather2.data.heatmapData)}}" } }, "general": {}, "styles": { "padding": { "value": "10" }, "borderRadius": { "value": "{{0}}" } }, "generalStyles": {}, "displayPreferences": { "showOnDesktop": { "value": "{{true}}" }, "showOnMobile": { "value": "{{false}}" } }, "validation": {}, "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-06-07T19:46:57.782Z", "layouts": [ { "id": "d7f241ce-6a9f-4850-93f8-6817cf0e3ec7", "type": "mobile", "top": 750, "left": 0, "width": 20, "height": 400, "componentId": "472d29d1-d28e-4463-bb9d-00147e5dff10", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" }, { "id": "0f4ee36f-87b7-4309-891d-a068537ff6d9", "type": "desktop", "top": 480, "left": 22, "width": 20, "height": 280, "componentId": "472d29d1-d28e-4463-bb9d-00147e5dff10", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" } ] }, { "id": "c24beffc-2911-45b0-9e9f-6f5c887f82ab", "name": "chart4", "type": "Chart", "pageId": "a43de4eb-81fc-421d-b354-d1f526547de3", "parent": null, "properties": { "title": { "value": "" }, "plotFromJson": { "value": "{{true}}" }, "loadingState": { "value": "{{queries.getWeather2.isLoading}}", "fxActive": true }, "jsonDescription": { "value": "{{JSON.stringify(queries.getWeather2.data.contourData)}}" } }, "general": {}, "styles": { "padding": { "value": "10" }, "borderRadius": { "value": "{{0}}" } }, "generalStyles": {}, "displayPreferences": { "showOnDesktop": { "value": "{{true}}" }, "showOnMobile": { "value": "{{false}}" } }, "validation": {}, "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-06-07T19:46:57.782Z", "layouts": [ { "id": "9e8c8b60-a666-4db1-a5e8-6664acad0872", "type": "mobile", "top": 560, "left": 0, "width": 20, "height": 400, "componentId": "c24beffc-2911-45b0-9e9f-6f5c887f82ab", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" }, { "id": "7ed3e348-187c-45f0-9c5f-a5e0a0834b01", "type": "desktop", "top": 760, "left": 22, "width": 20, "height": 280, "componentId": "c24beffc-2911-45b0-9e9f-6f5c887f82ab", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" } ] }, { "id": "7128840e-5234-4547-91db-621a285e8070", "name": "chart5", "type": "Chart", "pageId": "a43de4eb-81fc-421d-b354-d1f526547de3", "parent": null, "properties": { "data": { "value": "{{queries.runjs1.data}}" }, "plotFromJson": { "value": "{{true}}" }, "jsonDescription": { "value": "{{JSON.stringify({\n data: [\n queries.getWeather1.data.lineChartData,\n queries.getWeather2.data.lineChartData,\n ],\n})}}" }, "barmode": { "value": "relative" }, "title": { "value": "" }, "loadingState": { "fxActive": true, "value": "{{queries.getWeather1.isLoading || queries.getWeather2.isLoading}}" } }, "general": {}, "styles": { "padding": { "value": "30" } }, "generalStyles": {}, "displayPreferences": { "showOnDesktop": { "value": "{{true}}" }, "showOnMobile": { "value": "{{false}}" } }, "validation": {}, "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-06-07T20:04:35.182Z", "layouts": [ { "id": "4614026d-ce2d-4364-a177-76888782c1f2", "type": "mobile", "top": 930, "left": 7, "width": 20, "height": 400, "componentId": "7128840e-5234-4547-91db-621a285e8070", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" }, { "id": "da1bc852-bcdd-43cf-83fd-83a39e201d79", "type": "desktop", "top": 1110, "left": 1, "width": 41, "height": 400, "componentId": "7128840e-5234-4547-91db-621a285e8070", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" } ] }, { "id": "d1be5020-b419-4b8a-8f5e-340d17566121", "name": "text1", "type": "Text", "pageId": "a43de4eb-81fc-421d-b354-d1f526547de3", "parent": "8c70d43e-986f-4e2b-a59c-8769d62d4185", "properties": { "text": { "value": "
Advanced data visualization
" } }, "general": {}, "styles": { "textColor": { "value": "#000", "fxActive": false }, "textSize": { "value": "{{20}}" }, "textAlign": { "value": "right" }, "boxShadow": { "value": "0px 0px 0px 0px #00000040" }, "isScrollRequired": { "value": "disabled" } }, "generalStyles": {}, "displayPreferences": { "showOnDesktop": { "value": "{{true}}" }, "showOnMobile": { "value": "{{false}}" } }, "validation": {}, "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-06-07T19:46:57.782Z", "layouts": [ { "id": "3ff50250-6335-4275-b60d-93b05ba84444", "type": "desktop", "top": 10, "left": 23, "width": 19, "height": 40, "componentId": "d1be5020-b419-4b8a-8f5e-340d17566121", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" } ] }, { "id": "511902c7-2d34-4f80-be30-e10b50cf7e4b", "name": "text2", "type": "Text", "pageId": "a43de4eb-81fc-421d-b354-d1f526547de3", "parent": "8c70d43e-986f-4e2b-a59c-8769d62d4185", "properties": { "text": { "value": "B R A N D" } }, "general": {}, "styles": { "textColor": { "value": "#000", "fxActive": false }, "textSize": { "value": "{{24}}" }, "fontWeight": { "value": "bold" }, "letterSpacing": { "value": "{{0}}" }, "boxShadow": { "value": "0px 0px 0px 0px #00000040" }, "isScrollRequired": { "value": "disabled" } }, "generalStyles": {}, "displayPreferences": { "showOnDesktop": { "value": "{{true}}" }, "showOnMobile": { "value": "{{false}}" } }, "validation": {}, "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-06-07T19:46:57.782Z", "layouts": [ { "id": "72ac631b-d68b-4610-a284-662f410b1dc9", "type": "desktop", "top": 10, "left": 1, "width": 6, "height": 40, "componentId": "511902c7-2d34-4f80-be30-e10b50cf7e4b", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" } ] }, { "id": "8c70d43e-986f-4e2b-a59c-8769d62d4185", "name": "container1", "type": "Container", "pageId": "a43de4eb-81fc-421d-b354-d1f526547de3", "parent": null, "properties": {}, "general": {}, "styles": { "backgroundColor": { "value": "#ffffffff" }, "borderRadius": { "value": "0" }, "borderColor": { "value": "#ffffff00", "fxActive": false } }, "generalStyles": {}, "displayPreferences": { "showOnDesktop": { "value": "{{true}}" }, "showOnMobile": { "value": "{{false}}" } }, "validation": {}, "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-06-07T19:46:57.782Z", "layouts": [ { "id": "f821bba5-4bb4-4b31-bd50-82ca53eb1c1b", "type": "desktop", "top": 0, "left": 0, "width": 43, "height": 70, "componentId": "8c70d43e-986f-4e2b-a59c-8769d62d4185", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" } ] }, { "id": "c48f477b-2493-4603-82b1-d8434f5e803f", "name": "map2", "type": "Map", "pageId": "a43de4eb-81fc-421d-b354-d1f526547de3", "parent": null, "properties": { "initialLocation": { "value": "{{({\n lat: 48.8575475,\n lng: 2.3513765,\n})}}" }, "defaultMarkers": { "value": "{{ [] }}" }, "polygonPoints": { "value": "{{ [] }}" }, "addNewMarkers": { "value": "{{false}}" } }, "general": {}, "styles": {}, "generalStyles": {}, "displayPreferences": { "showOnDesktop": { "value": "{{true}}" }, "showOnMobile": { "value": "{{false}}" } }, "validation": {}, "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-06-07T19:46:57.782Z", "layouts": [ { "id": "bcfb3bbb-b747-4abf-941f-3896eb5155cb", "type": "mobile", "top": 0, "left": 0, "width": 16, "height": 420, "componentId": "c48f477b-2493-4603-82b1-d8434f5e803f", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" }, { "id": "6333c277-2cb3-4c41-aa47-a25bb5dcbaa0", "type": "desktop", "top": 140, "left": 22, "width": 20, "height": 270, "componentId": "c48f477b-2493-4603-82b1-d8434f5e803f", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" } ] }, { "id": "bc118f0f-dae5-4504-9608-5666401c97a2", "name": "map1", "type": "Map", "pageId": "a43de4eb-81fc-421d-b354-d1f526547de3", "parent": null, "properties": { "initialLocation": { "value": "{{({\n lat: 51.5072178,\n lng: -0.1275862,\n})}}" }, "defaultMarkers": { "value": "{{ [] }}" }, "polygonPoints": { "value": "{{ [] }}" }, "addNewMarkers": { "value": "{{false}}" } }, "general": {}, "styles": {}, "generalStyles": {}, "displayPreferences": { "showOnDesktop": { "value": "{{true}}" }, "showOnMobile": { "value": "{{false}}" } }, "validation": {}, "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-06-07T19:46:57.782Z", "layouts": [ { "id": "0dabc22d-984e-41d8-b8fd-71d74193e5dc", "type": "desktop", "top": 140, "left": 1, "width": 20, "height": 270, "componentId": "bc118f0f-dae5-4504-9608-5666401c97a2", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" }, { "id": "8ba4c246-9281-4500-a782-508887f9b1ed", "type": "mobile", "top": 0, "left": 0, "width": 16, "height": 420, "componentId": "bc118f0f-dae5-4504-9608-5666401c97a2", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" } ] }, { "id": "a0a3bd25-55ff-4078-9040-741fadffc29c", "name": "chart2", "type": "Chart", "pageId": "a43de4eb-81fc-421d-b354-d1f526547de3", "parent": null, "properties": { "title": { "value": "" }, "plotFromJson": { "value": "{{true}}" }, "loadingState": { "value": "{{queries.getWeather1.isLoading}}" }, "jsonDescription": { "value": "{{JSON.stringify(queries.getWeather1.data.contourData)}}" } }, "general": {}, "styles": { "padding": { "value": "10" }, "borderRadius": { "value": "{{0}}" } }, "generalStyles": {}, "displayPreferences": { "showOnDesktop": { "value": "{{true}}" }, "showOnMobile": { "value": "{{false}}" } }, "validation": {}, "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-06-07T19:46:57.782Z", "layouts": [ { "id": "e1cd983e-b1bb-473e-84c7-9815f8e179b3", "type": "desktop", "top": 760, "left": 1, "width": 20, "height": 280, "componentId": "a0a3bd25-55ff-4078-9040-741fadffc29c", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" }, { "id": "72dfdd97-d45b-45ce-82e8-9e1d8cb211f0", "type": "mobile", "top": 560, "left": 0, "width": 20, "height": 400, "componentId": "a0a3bd25-55ff-4078-9040-741fadffc29c", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" } ] }, { "id": "857d041a-6b67-4748-bffb-0f362f9aa959", "name": "text7", "type": "Text", "pageId": "a43de4eb-81fc-421d-b354-d1f526547de3", "parent": null, "properties": { "text": { "value": "7-day GMT forecast comparison between Location 1 & Location 2" } }, "general": {}, "styles": { "textSize": { "value": "20" }, "fontWeight": { "value": "bold" }, "isScrollRequired": { "value": "disabled" } }, "generalStyles": {}, "displayPreferences": { "showOnDesktop": { "value": "{{true}}" }, "showOnMobile": { "value": "{{false}}" } }, "validation": {}, "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-06-07T19:53:26.817Z", "layouts": [ { "id": "63f89e70-b93e-4f10-87d1-a8e9154b2ad7", "type": "mobile", "top": 170, "left": 1, "width": 6, "height": 40, "componentId": "857d041a-6b67-4748-bffb-0f362f9aa959", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" }, { "id": "632a7830-4695-4390-8c25-0680f28edd3e", "type": "desktop", "top": 1070, "left": 1, "width": 41, "height": 40, "componentId": "857d041a-6b67-4748-bffb-0f362f9aa959", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" } ] }, { "id": "57f40783-ca5e-40be-b670-4e7fe7e8f606", "name": "text5", "type": "Text", "pageId": "a43de4eb-81fc-421d-b354-d1f526547de3", "parent": null, "properties": { "text": { "value": "7-day GMT forecast for Location 1" } }, "general": {}, "styles": { "textSize": { "value": "20" }, "fontWeight": { "value": "bold" }, "isScrollRequired": { "value": "disabled" }, "textAlign": { "value": "left" } }, "generalStyles": {}, "displayPreferences": { "showOnDesktop": { "value": "{{true}}" }, "showOnMobile": { "value": "{{false}}" } }, "validation": {}, "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-06-07T19:53:11.685Z", "layouts": [ { "id": "1ee478a7-ff6d-4432-82dd-9b73a1f808c2", "type": "desktop", "top": 440, "left": 1, "width": 20, "height": 40, "componentId": "57f40783-ca5e-40be-b670-4e7fe7e8f606", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" }, { "id": "007fb09a-2d31-4a79-b48e-7b55a53ad133", "type": "mobile", "top": 130, "left": 1, "width": 6, "height": 40, "componentId": "57f40783-ca5e-40be-b670-4e7fe7e8f606", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" } ] }, { "id": "34b4bdce-dd4f-40c1-8541-eb4630f9fa98", "name": "text6", "type": "Text", "pageId": "a43de4eb-81fc-421d-b354-d1f526547de3", "parent": null, "properties": { "text": { "value": "7-day GMT forecast for Location 2" } }, "general": {}, "styles": { "textSize": { "value": "20" }, "fontWeight": { "value": "bold" }, "isScrollRequired": { "value": "disabled" }, "textAlign": { "value": "left" } }, "generalStyles": {}, "displayPreferences": { "showOnDesktop": { "value": "{{true}}" }, "showOnMobile": { "value": "{{false}}" } }, "validation": {}, "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-06-07T19:53:18.904Z", "layouts": [ { "id": "445358ba-5872-4ea1-9e4b-dbb34a253752", "type": "mobile", "top": 170, "left": 1, "width": 6, "height": 40, "componentId": "34b4bdce-dd4f-40c1-8541-eb4630f9fa98", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" }, { "id": "d62b5a7d-b48b-410a-98e7-9cafaf5c1924", "type": "desktop", "top": 440, "left": 22, "width": 20, "height": 40, "componentId": "34b4bdce-dd4f-40c1-8541-eb4630f9fa98", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" } ] }, { "id": "3627dd62-631c-4361-aec3-1697ffaa53fc", "name": "icon1", "type": "Icon", "pageId": "a43de4eb-81fc-421d-b354-d1f526547de3", "parent": null, "properties": { "icon": { "value": "IconExternalLink" } }, "general": { "tooltip": { "value": "" } }, "styles": { "iconColor": { "value": "#1471dbff" } }, "generalStyles": null, "displayPreferences": { "showOnDesktop": { "value": "{{true}}" }, "showOnMobile": { "value": "{{false}}" } }, "validation": {}, "createdAt": "2024-06-07T20:45:35.559Z", "updatedAt": "2024-06-07T20:51:52.527Z", "layouts": [ { "id": "6d018bbb-07de-4cd8-bb5f-5e000b13e7cf", "type": "mobile", "top": 90, "left": 19, "width": 5, "height": 48, "componentId": "3627dd62-631c-4361-aec3-1697ffaa53fc", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" }, { "id": "975f6d9f-a0b4-4c62-94b6-bf167921c602", "type": "desktop", "top": 100, "left": 1, "width": 1, "height": 30, "componentId": "3627dd62-631c-4361-aec3-1697ffaa53fc", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" } ] }, { "id": "e2de2566-014d-4d7c-bfae-6f5997659620", "name": "icon2", "type": "Icon", "pageId": "a43de4eb-81fc-421d-b354-d1f526547de3", "parent": null, "properties": { "icon": { "value": "IconExternalLink" } }, "general": { "tooltip": { "value": "" } }, "styles": { "iconColor": { "value": "#1471dbff" } }, "generalStyles": null, "displayPreferences": { "showOnDesktop": { "value": "{{true}}" }, "showOnMobile": { "value": "{{false}}" } }, "validation": {}, "createdAt": "2024-06-07T20:49:23.606Z", "updatedAt": "2024-06-07T20:51:44.301Z", "layouts": [ { "id": "c7655c73-60ae-4439-a33d-f498d4d85084", "type": "desktop", "top": 100, "left": 22, "width": 1, "height": 30, "componentId": "e2de2566-014d-4d7c-bfae-6f5997659620", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" }, { "id": "1e1d2e4b-e92a-4878-a20a-3621c82a843b", "type": "mobile", "top": 138, "left": 19, "width": 5, "height": 48, "componentId": "e2de2566-014d-4d7c-bfae-6f5997659620", "dimensionUnit": "count", "updatedAt": "2024-07-02T12:17:19.077Z" } ] } ], "pages": [ { "id": "a43de4eb-81fc-421d-b354-d1f526547de3", "name": "Home", "handle": "home", "index": 1, "disabled": false, "hidden": false, "icon": null, "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-12-03T01:10:32.855Z", "autoComputeLayout": false, "appVersionId": "2727e142-9c8f-498b-b7c7-90cc5f405869", "pageGroupIndex": 1, "pageGroupId": null, "isPageGroup": false } ], "events": [ { "id": "b15eeb6c-4247-4064-ba89-02f0e16b7262", "name": "onBoundsChange", "index": 0, "event": { "eventId": "onBoundsChange", "message": "Hello world!", "queryId": "3201faff-cf4a-4377-918c-599deb49cadb", "actionId": "run-query", "alertType": "info", "queryName": "getWeather2", "parameters": {} }, "sourceId": "c48f477b-2493-4603-82b1-d8434f5e803f", "target": "component", "appVersionId": "2727e142-9c8f-498b-b7c7-90cc5f405869", "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-06-07T19:46:58.247Z" }, { "id": "1f262626-aa63-4601-8e45-d2776c37903c", "name": "onBoundsChange", "index": 0, "event": { "eventId": "onBoundsChange", "message": "Hello world!", "queryId": "3f9428df-4a38-4fa6-9fa8-fb1442ac2d7b", "actionId": "run-query", "alertType": "info", "queryName": "getWeather1", "parameters": {} }, "sourceId": "bc118f0f-dae5-4504-9608-5666401c97a2", "target": "component", "appVersionId": "2727e142-9c8f-498b-b7c7-90cc5f405869", "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-06-07T19:46:58.202Z" }, { "id": "8b65dc7c-8fbc-422e-b305-3883b35e0d87", "name": "onClick", "index": 0, "event": { "url": "{{components.map1.center.googleMapUrl}}", "eventId": "onClick", "message": "Hello world!", "actionId": "open-webpage", "alertType": "info" }, "sourceId": "3627dd62-631c-4361-aec3-1697ffaa53fc", "target": "component", "appVersionId": "2727e142-9c8f-498b-b7c7-90cc5f405869", "createdAt": "2024-06-07T20:48:39.782Z", "updatedAt": "2024-06-07T20:49:00.188Z" }, { "id": "e62bffda-a1c4-45e4-b7fe-2353b97ceeb8", "name": "onClick", "index": 0, "event": { "url": "{{components.map2.center.googleMapUrl}}", "eventId": "onClick", "message": "Hello world!", "actionId": "open-webpage", "alertType": "info" }, "sourceId": "e2de2566-014d-4d7c-bfae-6f5997659620", "target": "component", "appVersionId": "2727e142-9c8f-498b-b7c7-90cc5f405869", "createdAt": "2024-06-07T20:49:25.575Z", "updatedAt": "2024-06-07T20:49:42.804Z" } ], "dataQueries": [ { "id": "3201faff-cf4a-4377-918c-599deb49cadb", "name": "getWeather2", "options": { "method": "get", "url": "{{`https://api.open-meteo.com/v1/forecast?latitude=${components.map2.center.lat || 48.8575475}&longitude=${components.map2.center.lng || 2.3513765}&hourly=temperature_2m&forecast_days=7`}}", "url_params": [ [ "", "" ] ], "headers": [ [ "", "" ] ], "body": [ [ "", "" ] ], "json_body": null, "body_toggle": false, "transformationLanguage": "javascript", "enableTransformation": true, "transformation": "const chartData = {\n z: [],\n x: [],\n y: [],\n name: \"Location 2\",\n hovertemplate: \"%{y}, %{x} (%{z} ℃)\",\n type: \"heatmap\",\n};\n\nconst dates = [];\nconst times = [];\nconst temperatures = data.hourly.temperature_2m;\n\ndata.hourly.time.forEach((timestamp) => {\n const momentObj = moment(timestamp);\n const date = momentObj.format(\"DD MMM\");\n const time = momentObj.format(\"HH:00\");\n\n if (!dates.includes(date)) {\n dates.push(date);\n }\n if (!times.includes(time)) {\n times.push(time);\n }\n});\n\nconst chunkSize = 24;\nfor (let i = 0; i < temperatures.length; i += chunkSize) {\n const chunk = temperatures.slice(i, i + chunkSize);\n chartData.z.push(chunk);\n}\n\nchartData.y = dates;\nchartData.x = times;\n\nconst heatmapData = { data: [{ ...chartData, type: \"heatmap\" }] };\nconst contourData = { data: [{ ...chartData, type: \"contour\" }] };\nconst lineChartData = {\n x: data.hourly.time,\n y: data.hourly.temperature_2m,\n type: \"scatter\",\n hovertemplate: \"%{x} (%{y} ℃)\",\n name: \"Location 2\",\n};\n\nreturn { heatmapData, contourData, lineChartData };", "runOnPageLoad": true }, "dataSourceId": "972accba-a33c-4860-848a-8ecf72d8fa70", "appVersionId": "2727e142-9c8f-498b-b7c7-90cc5f405869", "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-12-03T01:12:10.010Z" }, { "id": "d475a38f-0dd2-40c2-a9b2-ecc6923c1288", "name": "Readme", "options": { "code": "/****************\n\n####\tAttribution and Usage Notice\n\nThis app utilizes weather data provided by Open-Meteo (https://open-meteo.com/). Please note that the usage of Open-Meteo's API for commercial purposes is not free.\n\n####\tNon-Commercial Use Only\n\nThis app is intended for non-commercial use only. If you intend to use this app for commercial purposes, please visit their pricing page (https://open-meteo.com/en/pricing) to select a plan and obtain your own API key.\n\nThank you for your understanding and compliance.\n\n****************/", "parameters": [] }, "dataSourceId": "8deac0c7-d616-411c-a06c-73a0fb14fe49", "appVersionId": "2727e142-9c8f-498b-b7c7-90cc5f405869", "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-06-07T19:46:57.782Z" }, { "id": "3f9428df-4a38-4fa6-9fa8-fb1442ac2d7b", "name": "getWeather1", "options": { "method": "get", "url": "{{`https://api.open-meteo.com/v1/forecast?latitude=${components.map1.center.lat || 51.5072178}&longitude=${components.map1.center.lng || -0.1275862}&hourly=temperature_2m&forecast_days=7`}}", "url_params": [ [ "", "" ] ], "headers": [ [ "", "" ] ], "body": [ [ "", "" ] ], "json_body": null, "body_toggle": false, "transformationLanguage": "javascript", "enableTransformation": true, "transformation": "const chartData = {\n z: [],\n x: [],\n y: [],\n name: \"Location 1\",\n hovertemplate: \"%{y}, %{x} (%{z} ℃)\",\n type: \"heatmap\",\n};\n\nconst dates = [];\nconst times = [];\nconst temperatures = data.hourly.temperature_2m;\n\ndata.hourly.time.forEach((timestamp) => {\n const momentObj = moment(timestamp);\n const date = momentObj.format(\"DD MMM\");\n const time = momentObj.format(\"HH:00\");\n\n if (!dates.includes(date)) {\n dates.push(date);\n }\n if (!times.includes(time)) {\n times.push(time);\n }\n});\n\nconst chunkSize = 24;\nfor (let i = 0; i < temperatures.length; i += chunkSize) {\n const chunk = temperatures.slice(i, i + chunkSize);\n chartData.z.push(chunk);\n}\n\nchartData.y = dates;\nchartData.x = times;\n\nconst heatmapData = { data: [{ ...chartData, type: \"heatmap\" }] };\nconst contourData = { data: [{ ...chartData, type: \"contour\" }] };\nconst lineChartData = {\n x: data.hourly.time,\n y: data.hourly.temperature_2m,\n type: \"scatter\",\n hovertemplate: \"%{x} (%{y} ℃)\",\n name: \"Location 1\",\n};\n\nreturn { heatmapData, contourData, lineChartData };", "runOnPageLoad": true }, "dataSourceId": "972accba-a33c-4860-848a-8ecf72d8fa70", "appVersionId": "2727e142-9c8f-498b-b7c7-90cc5f405869", "createdAt": "2024-06-07T19:46:57.782Z", "updatedAt": "2024-12-03T01:12:07.952Z" } ], "dataSources": [ { "id": "972accba-a33c-4860-848a-8ecf72d8fa70", "name": "restapidefault", "kind": "restapi", "type": "static", "pluginId": null, "appVersionId": "2727e142-9c8f-498b-b7c7-90cc5f405869", "organizationId": null, "scope": "local", "createdAt": "2024-06-07T19:46:57.789Z", "updatedAt": "2024-06-07T19:46:57.789Z" }, { "id": "8deac0c7-d616-411c-a06c-73a0fb14fe49", "name": "runjsdefault", "kind": "runjs", "type": "static", "pluginId": null, "appVersionId": "2727e142-9c8f-498b-b7c7-90cc5f405869", "organizationId": null, "scope": "local", "createdAt": "2024-06-07T19:46:57.802Z", "updatedAt": "2024-06-07T19:46:57.802Z" }, { "id": "49282908-e2d7-4e21-b92b-a01fc3ae58be", "name": "runpydefault", "kind": "runpy", "type": "static", "pluginId": null, "appVersionId": "2727e142-9c8f-498b-b7c7-90cc5f405869", "organizationId": null, "scope": "local", "createdAt": "2024-06-07T19:46:57.811Z", "updatedAt": "2024-06-07T19:46:57.811Z" }, { "id": "3ea878ea-1f26-4bc1-99fd-b6a02c2ec262", "name": "tooljetdbdefault", "kind": "tooljetdb", "type": "static", "pluginId": null, "appVersionId": "2727e142-9c8f-498b-b7c7-90cc5f405869", "organizationId": null, "scope": "local", "createdAt": "2024-06-07T19:46:57.822Z", "updatedAt": "2024-06-07T19:46:57.822Z" }, { "id": "1629f8bb-2508-45a2-9784-364c4e508053", "name": "workflowsdefault", "kind": "workflows", "type": "static", "pluginId": null, "appVersionId": "2727e142-9c8f-498b-b7c7-90cc5f405869", "organizationId": null, "scope": "local", "createdAt": "2024-06-07T19:46:57.838Z", "updatedAt": "2024-06-07T19:46:57.838Z" } ], "appVersions": [ { "id": "2727e142-9c8f-498b-b7c7-90cc5f405869", "name": "v1", "definition": null, "globalSettings": { "hideHeader": true, "appInMaintenance": false, "canvasMaxWidth": 100, "canvasMaxWidthType": "%", "canvasMaxHeight": 2400, "canvasBackgroundColor": "#edeff5", "backgroundFxQuery": "", "appMode": "auto" }, "pageSettings": { "properties": { "disableMenu": { "value": "{{true}}", "fxActive": false } } }, "showViewerNavigation": false, "homePageId": "a43de4eb-81fc-421d-b354-d1f526547de3", "appId": "4415bf47-64bf-451b-8b07-ab85b35f59f3", "currentEnvironmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", "promotedFrom": null, "createdAt": "2024-06-07T19:46:57.774Z", "updatedAt": "2024-06-07T20:51:52.534Z" } ], "appEnvironments": [ { "id": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", "name": "development", "isDefault": false, "priority": 1, "enabled": true, "createdAt": "2023-04-26T19:44:06.852Z", "updatedAt": "2023-04-26T19:44:06.852Z" }, { "id": "1071e258-9bd6-496c-a11c-9fe8670eedcc", "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", "name": "staging", "isDefault": false, "priority": 2, "enabled": true, "createdAt": "2023-04-26T19:44:06.852Z", "updatedAt": "2023-04-26T19:44:06.852Z" }, { "id": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", "organizationId": "f2a832bb-fc39-49c5-be7f-7037ebb79b84", "name": "production", "isDefault": true, "priority": 3, "enabled": true, "createdAt": "2023-04-26T19:44:06.852Z", "updatedAt": "2023-04-26T19:44:06.852Z" } ], "dataSourceOptions": [ { "id": "3e8688b8-fa35-439d-9546-51083bdc84c0", "dataSourceId": "972accba-a33c-4860-848a-8ecf72d8fa70", "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", "options": null, "createdAt": "2024-06-07T19:46:57.798Z", "updatedAt": "2024-06-07T19:46:57.798Z" }, { "id": "be97450a-884a-4385-a864-f41ee6910088", "dataSourceId": "972accba-a33c-4860-848a-8ecf72d8fa70", "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", "options": null, "createdAt": "2024-06-07T19:46:57.798Z", "updatedAt": "2024-06-07T19:46:57.798Z" }, { "id": "12060985-193c-4f1b-be09-e0a57c97f774", "dataSourceId": "972accba-a33c-4860-848a-8ecf72d8fa70", "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", "options": null, "createdAt": "2024-06-07T19:46:57.798Z", "updatedAt": "2024-06-07T19:46:57.798Z" }, { "id": "f556806a-f534-495f-aec0-c5b0fb187855", "dataSourceId": "8deac0c7-d616-411c-a06c-73a0fb14fe49", "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", "options": null, "createdAt": "2024-06-07T19:46:57.809Z", "updatedAt": "2024-06-07T19:46:57.809Z" }, { "id": "f1352111-80b5-4e4b-a654-bf3433fdc2b6", "dataSourceId": "8deac0c7-d616-411c-a06c-73a0fb14fe49", "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", "options": null, "createdAt": "2024-06-07T19:46:57.809Z", "updatedAt": "2024-06-07T19:46:57.809Z" }, { "id": "a7447edd-0649-4e73-942b-7d5d3b22346f", "dataSourceId": "8deac0c7-d616-411c-a06c-73a0fb14fe49", "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", "options": null, "createdAt": "2024-06-07T19:46:57.809Z", "updatedAt": "2024-06-07T19:46:57.809Z" }, { "id": "2a99840c-19a0-4692-9c6f-26f0c7d22a66", "dataSourceId": "49282908-e2d7-4e21-b92b-a01fc3ae58be", "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", "options": null, "createdAt": "2024-06-07T19:46:57.819Z", "updatedAt": "2024-06-07T19:46:57.819Z" }, { "id": "24d4c503-e14f-4542-9b63-b1fcb39290a1", "dataSourceId": "49282908-e2d7-4e21-b92b-a01fc3ae58be", "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", "options": null, "createdAt": "2024-06-07T19:46:57.819Z", "updatedAt": "2024-06-07T19:46:57.819Z" }, { "id": "9087717b-b727-4681-8f55-d400efe68d66", "dataSourceId": "49282908-e2d7-4e21-b92b-a01fc3ae58be", "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", "options": null, "createdAt": "2024-06-07T19:46:57.819Z", "updatedAt": "2024-06-07T19:46:57.819Z" }, { "id": "247096cd-710b-4efd-8df7-797d78f79976", "dataSourceId": "3ea878ea-1f26-4bc1-99fd-b6a02c2ec262", "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", "options": null, "createdAt": "2024-06-07T19:46:57.834Z", "updatedAt": "2024-06-07T19:46:57.834Z" }, { "id": "ae9a5c33-5244-40bc-9db7-827bb2891c17", "dataSourceId": "3ea878ea-1f26-4bc1-99fd-b6a02c2ec262", "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", "options": null, "createdAt": "2024-06-07T19:46:57.834Z", "updatedAt": "2024-06-07T19:46:57.834Z" }, { "id": "76aac1bb-5900-4dcb-ac72-47ee8f6495b6", "dataSourceId": "3ea878ea-1f26-4bc1-99fd-b6a02c2ec262", "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", "options": null, "createdAt": "2024-06-07T19:46:57.834Z", "updatedAt": "2024-06-07T19:46:57.834Z" }, { "id": "20200234-1db5-41eb-9fed-9c2ec36f4297", "dataSourceId": "1629f8bb-2508-45a2-9784-364c4e508053", "environmentId": "1071e258-9bd6-496c-a11c-9fe8670eedcc", "options": null, "createdAt": "2024-06-07T19:46:57.846Z", "updatedAt": "2024-06-07T19:46:57.846Z" }, { "id": "22043f9f-03d2-4b90-bf08-dfef81b83498", "dataSourceId": "1629f8bb-2508-45a2-9784-364c4e508053", "environmentId": "5b7f33b3-b9a9-43b0-a9b2-82bb37fca4d4", "options": null, "createdAt": "2024-06-07T19:46:57.846Z", "updatedAt": "2024-06-07T19:46:57.846Z" }, { "id": "fa2dd6e6-f148-445d-b8a0-8597dc2f3bac", "dataSourceId": "1629f8bb-2508-45a2-9784-364c4e508053", "environmentId": "1841fd5c-f11a-4a1a-97b2-f2312316cb8d", "options": null, "createdAt": "2024-06-07T19:46:57.846Z", "updatedAt": "2024-06-07T19:46:57.846Z" } ], "schemaDetails": { "multiPages": true, "multiEnv": true, "globalDataSources": true } } } } ], "tooljet_version": "3.0.15-cloud-lts" }