ToolJet/cypress-tests/cypress/fixtures/templates/three-versions.json
2025-08-03 12:39:18 +05:30

1939 lines
No EOL
63 KiB
JSON

{
"tooljet_database": [
{
"id": "8f7b2a2d-9ef3-4662-b261-6eae07be5805",
"table_name": "student",
"schema": {
"columns": [
{
"column_name": "id",
"data_type": "integer",
"column_default": "nextval(\"workspace_d1bf739a-2028-4a98-b038-706220641361\".\"8f7b2a2d-9ef3-4662-b261-6eae07be5805_id_seq\"",
"character_maximum_length": null,
"numeric_precision": 32,
"constraints_type": {
"is_not_null": true,
"is_primary_key": true,
"is_unique": false
},
"keytype": "PRIMARY KEY",
"configurations": {}
},
{
"column_name": "name",
"data_type": "character varying",
"column_default": null,
"character_maximum_length": null,
"numeric_precision": null,
"constraints_type": {
"is_not_null": true,
"is_primary_key": false,
"is_unique": false
},
"keytype": "",
"configurations": {}
},
{
"column_name": "country",
"data_type": "character varying",
"column_default": null,
"character_maximum_length": null,
"numeric_precision": null,
"constraints_type": {
"is_not_null": true,
"is_primary_key": false,
"is_unique": false
},
"keytype": "",
"configurations": {}
},
{
"column_name": "state",
"data_type": "character varying",
"column_default": null,
"character_maximum_length": null,
"numeric_precision": null,
"constraints_type": {
"is_not_null": true,
"is_primary_key": false,
"is_unique": false
},
"keytype": "",
"configurations": {}
}
],
"foreign_keys": []
}
}
],
"app": [
{
"definition": {
"appV2": {
"type": "front-end",
"id": "96253406-88ac-464b-be7e-f5705effe571",
"name": "import Export App",
"slug": "96253406-88ac-464b-be7e-f5705effe571",
"isPublic": null,
"isMaintenanceOn": false,
"icon": null,
"organizationId": "d1bf739a-2028-4a98-b038-706220641361",
"currentVersionId": null,
"userId": "556a76b8-29f9-4ab3-ae45-8a334fb92f63",
"createdAt": "2025-01-16T07:09:21.569Z",
"updatedAt": "2025-01-16T08:02:01.781Z",
"editingVersion": {
"id": "b74fcff1-8cf1-40f8-a13d-c2d2a0b1ebf1",
"name": "v3",
"definition": null,
"globalSettings": {
"hideHeader": false,
"appInMaintenance": false,
"canvasMaxWidth": 100,
"canvasMaxWidthType": "%",
"canvasMaxHeight": 2400,
"canvasBackgroundColor": "#edeff5",
"backgroundFxQuery": "",
"appMode": "auto"
},
"pageSettings": null,
"showViewerNavigation": true,
"homePageId": "1657fccd-fc9e-4da2-9d54-628cd2b76fd8",
"appId": "96253406-88ac-464b-be7e-f5705effe571",
"currentEnvironmentId": "7a0137c5-a460-4eff-92b2-e9dbc9319597",
"createdAt": "2025-01-16T08:08:16.372Z",
"updatedAt": "2025-01-16T08:08:16.361Z"
},
"components": [
{
"id": "2ee3060c-917e-489f-8c83-55ce10817e13",
"name": "text2",
"type": "Text",
"pageId": "d37b73a1-cb92-4698-9178-ad413e12e915",
"parent": null,
"properties": {
"textFormat": {
"value": "html"
},
"text": {
"value": "{{constants.pageHeader}}"
},
"loadingState": {
"value": "{{false}}"
},
"disabledState": {
"value": "{{false}}"
},
"visibility": {
"value": "{{true}}"
}
},
"general": {},
"styles": {
"backgroundColor": {
"value": "#fff00000"
},
"textColor": {
"value": "#dd2020ff"
},
"textSize": {
"value": "{{14}}"
},
"textAlign": {
"value": "center"
},
"fontWeight": {
"value": "normal"
},
"decoration": {
"value": "none"
},
"transformation": {
"value": "none"
},
"fontStyle": {
"value": "normal"
},
"lineHeight": {
"value": "{{1.5}}"
},
"textIndent": {
"value": "{{0}}"
},
"letterSpacing": {
"value": "{{0}}"
},
"wordSpacing": {
"value": "{{0}}"
},
"fontVariant": {
"value": "normal"
},
"verticalAlignment": {
"value": "center"
},
"padding": {
"value": "default"
},
"boxShadow": {
"value": "0px 0px 0px 0px #00000090"
},
"borderColor": {
"value": ""
},
"borderRadius": {
"value": "{{6}}"
},
"isScrollRequired": {
"value": "enabled"
}
},
"generalStyles": {
"boxShadow": {
"value": "0px 0px 0px 0px #00000040"
}
},
"displayPreferences": {
"showOnDesktop": {
"value": "{{true}}"
},
"showOnMobile": {
"value": "{{false}}"
}
},
"validation": {},
"createdAt": "2025-01-16T08:03:50.010Z",
"updatedAt": "2025-01-16T08:04:14.375Z",
"layouts": [
{
"id": "ebd04554-c13f-4531-953b-82775be3dfdc",
"type": "mobile",
"top": 50,
"left": 13,
"width": 6,
"height": 40,
"componentId": "2ee3060c-917e-489f-8c83-55ce10817e13",
"dimensionUnit": "count",
"updatedAt": "2025-01-16T08:03:50.010Z"
},
{
"id": "82f22b14-e57a-4cd9-9954-650b22ed8d61",
"type": "desktop",
"top": 50,
"left": 13,
"width": 11,
"height": 50,
"componentId": "2ee3060c-917e-489f-8c83-55ce10817e13",
"dimensionUnit": "count",
"updatedAt": "2025-01-16T08:04:03.742Z"
}
]
},
{
"id": "7d9a3d18-730d-484b-a2ea-16c8cf6f2ef9",
"name": "textinput1",
"type": "TextInput",
"pageId": "d37b73a1-cb92-4698-9178-ad413e12e915",
"parent": null,
"properties": {
"value": {
"value": "{{queries.46b60de5-bc58-4038-9288-b211257f3412.data[0].first_name}}"
},
"label": {
"value": "Postgres"
},
"placeholder": {
"value": "Enter your input"
},
"visibility": {
"value": "{{true}}"
},
"disabledState": {
"value": "{{false}}"
},
"loadingState": {
"value": "{{false}}"
},
"tooltip": {
"value": ""
}
},
"general": {},
"styles": {
"textColor": {
"value": "#1B1F24"
},
"borderColor": {
"value": "#CCD1D5"
},
"accentColor": {
"value": "#4368E3"
},
"errTextColor": {
"value": "#D72D39"
},
"borderRadius": {
"value": "{{6}}"
},
"backgroundColor": {
"value": "#fff"
},
"iconColor": {
"value": "#CFD3D859"
},
"direction": {
"value": "left"
},
"width": {
"value": "{{33}}"
},
"alignment": {
"value": "side"
},
"color": {
"value": "#1B1F24"
},
"auto": {
"value": "{{true}}"
},
"padding": {
"value": "default"
},
"boxShadow": {
"value": "0px 0px 0px 0px #00000040"
},
"icon": {
"value": "IconHome2"
},
"iconVisibility": {
"value": false
}
},
"generalStyles": {
"boxShadow": {
"value": "0px 0px 0px 0px #00000040"
}
},
"displayPreferences": {
"showOnDesktop": {
"value": "{{true}}"
},
"showOnMobile": {
"value": "{{false}}"
}
},
"validation": {
"mandatory": {
"value": "{{false}}"
},
"regex": {
"value": ""
},
"minLength": {
"value": ""
},
"maxLength": {
"value": ""
},
"customRule": {
"value": ""
}
},
"createdAt": "2025-01-16T08:04:33.822Z",
"updatedAt": "2025-01-16T08:04:54.541Z",
"layouts": [
{
"id": "c9434c0c-8749-47a5-8b96-759ce86e3c94",
"type": "mobile",
"top": 180,
"left": 3,
"width": 10,
"height": 40,
"componentId": "7d9a3d18-730d-484b-a2ea-16c8cf6f2ef9",
"dimensionUnit": "count",
"updatedAt": "2025-01-16T08:04:33.822Z"
},
{
"id": "ba98774d-5089-4614-a404-d512426f5ddb",
"type": "desktop",
"top": 180,
"left": 3,
"width": 14,
"height": 50,
"componentId": "7d9a3d18-730d-484b-a2ea-16c8cf6f2ef9",
"dimensionUnit": "count",
"updatedAt": "2025-01-16T08:04:57.980Z"
}
]
},
{
"id": "7f76c0b5-4653-432f-93c9-df77ee37e177",
"name": "textinput2",
"type": "TextInput",
"pageId": "d37b73a1-cb92-4698-9178-ad413e12e915",
"parent": null,
"properties": {
"value": {
"value": "{{queries.22e1df4d-d395-4b7f-a9f8-501659616fd1.data.name}}"
},
"label": {
"value": "restapi"
},
"placeholder": {
"value": "Enter your input"
},
"visibility": {
"value": "{{true}}"
},
"disabledState": {
"value": "{{false}}"
},
"loadingState": {
"value": "{{false}}"
},
"tooltip": {
"value": ""
}
},
"general": {},
"styles": {
"textColor": {
"value": "#1B1F24"
},
"borderColor": {
"value": "#CCD1D5"
},
"accentColor": {
"value": "#4368E3"
},
"errTextColor": {
"value": "#D72D39"
},
"borderRadius": {
"value": "{{6}}"
},
"backgroundColor": {
"value": "#fff"
},
"iconColor": {
"value": "#CFD3D859"
},
"direction": {
"value": "left"
},
"width": {
"value": "{{33}}"
},
"alignment": {
"value": "side"
},
"color": {
"value": "#1B1F24"
},
"auto": {
"value": "{{true}}"
},
"padding": {
"value": "default"
},
"boxShadow": {
"value": "0px 0px 0px 0px #00000040"
},
"icon": {
"value": "IconHome2"
},
"iconVisibility": {
"value": false
}
},
"generalStyles": {
"boxShadow": {
"value": "0px 0px 0px 0px #00000040"
}
},
"displayPreferences": {
"showOnDesktop": {
"value": "{{true}}"
},
"showOnMobile": {
"value": "{{false}}"
}
},
"validation": {
"mandatory": {
"value": "{{false}}"
},
"regex": {
"value": ""
},
"minLength": {
"value": ""
},
"maxLength": {
"value": ""
},
"customRule": {
"value": ""
}
},
"createdAt": "2025-01-16T08:06:50.848Z",
"updatedAt": "2025-01-16T08:07:44.138Z",
"layouts": [
{
"id": "b20bd221-4bc6-456b-af51-8e131c6f7b57",
"type": "mobile",
"top": 190,
"left": 25,
"width": 10,
"height": 40,
"componentId": "7f76c0b5-4653-432f-93c9-df77ee37e177",
"dimensionUnit": "count",
"updatedAt": "2025-01-16T08:06:50.848Z"
},
{
"id": "117b50bb-156c-476f-8f15-28229077bcc2",
"type": "desktop",
"top": 180,
"left": 25,
"width": 10,
"height": 40,
"componentId": "7f76c0b5-4653-432f-93c9-df77ee37e177",
"dimensionUnit": "count",
"updatedAt": "2025-01-16T08:07:54.712Z"
}
]
},
{
"id": "d557b75a-1053-4fc0-8d04-956c309ec5f5",
"name": "text2",
"type": "Text",
"pageId": "37b22715-bddb-41d0-a64d-78eef55c108d",
"parent": null,
"properties": {
"textFormat": {
"value": "html"
},
"text": {
"value": "{{constants.pageHeader}}"
},
"loadingState": {
"value": "{{false}}"
},
"disabledState": {
"value": "{{false}}"
},
"visibility": {
"value": "{{true}}"
}
},
"general": {},
"styles": {
"backgroundColor": {
"value": "#fff00000"
},
"textColor": {
"value": "#dd2020ff"
},
"textSize": {
"value": "{{14}}"
},
"textAlign": {
"value": "center"
},
"fontWeight": {
"value": "normal"
},
"decoration": {
"value": "none"
},
"transformation": {
"value": "none"
},
"fontStyle": {
"value": "normal"
},
"lineHeight": {
"value": "{{1.5}}"
},
"textIndent": {
"value": "{{0}}"
},
"letterSpacing": {
"value": "{{0}}"
},
"wordSpacing": {
"value": "{{0}}"
},
"fontVariant": {
"value": "normal"
},
"verticalAlignment": {
"value": "center"
},
"padding": {
"value": "default"
},
"boxShadow": {
"value": "0px 0px 0px 0px #00000090"
},
"borderColor": {
"value": ""
},
"borderRadius": {
"value": "{{6}}"
},
"isScrollRequired": {
"value": "enabled"
}
},
"generalStyles": {
"boxShadow": {
"value": "0px 0px 0px 0px #00000040"
}
},
"displayPreferences": {
"showOnDesktop": {
"value": "{{true}}"
},
"showOnMobile": {
"value": "{{false}}"
}
},
"validation": {},
"createdAt": "2025-01-16T08:08:06.658Z",
"updatedAt": "2025-01-16T08:08:06.658Z",
"layouts": [
{
"id": "e86c95be-713b-4c4f-a7f4-0a66e17b0cca",
"type": "mobile",
"top": 50,
"left": 13,
"width": 6,
"height": 40,
"componentId": "d557b75a-1053-4fc0-8d04-956c309ec5f5",
"dimensionUnit": "count",
"updatedAt": "2025-01-16T08:08:06.658Z"
},
{
"id": "80dc5829-72d3-4c14-a45a-015e8bc6fa51",
"type": "desktop",
"top": 50,
"left": 13,
"width": 11,
"height": 50,
"componentId": "d557b75a-1053-4fc0-8d04-956c309ec5f5",
"dimensionUnit": "count",
"updatedAt": "2025-01-16T08:08:06.658Z"
}
]
},
{
"id": "303ae798-0ccc-437a-8521-cabd59a408a3",
"name": "textinput1",
"type": "TextInput",
"pageId": "37b22715-bddb-41d0-a64d-78eef55c108d",
"parent": null,
"properties": {
"value": {
"value": "{{queries.00426a21-fb6d-49cf-bf81-f63ea310a6f2.data[0].first_name}}"
},
"label": {
"value": "Postgres"
},
"placeholder": {
"value": "Enter your input"
},
"visibility": {
"value": "{{true}}"
},
"disabledState": {
"value": "{{false}}"
},
"loadingState": {
"value": "{{false}}"
},
"tooltip": {
"value": ""
}
},
"general": {},
"styles": {
"textColor": {
"value": "#1B1F24"
},
"borderColor": {
"value": "#CCD1D5"
},
"accentColor": {
"value": "#4368E3"
},
"errTextColor": {
"value": "#D72D39"
},
"borderRadius": {
"value": "{{6}}"
},
"backgroundColor": {
"value": "#fff"
},
"iconColor": {
"value": "#CFD3D859"
},
"direction": {
"value": "left"
},
"width": {
"value": "{{33}}"
},
"alignment": {
"value": "side"
},
"color": {
"value": "#1B1F24"
},
"auto": {
"value": "{{true}}"
},
"padding": {
"value": "default"
},
"boxShadow": {
"value": "0px 0px 0px 0px #00000040"
},
"icon": {
"value": "IconHome2"
},
"iconVisibility": {
"value": false
}
},
"generalStyles": {
"boxShadow": {
"value": "0px 0px 0px 0px #00000040"
}
},
"displayPreferences": {
"showOnDesktop": {
"value": "{{true}}"
},
"showOnMobile": {
"value": "{{false}}"
}
},
"validation": {
"mandatory": {
"value": "{{false}}"
},
"regex": {
"value": ""
},
"minLength": {
"value": ""
},
"maxLength": {
"value": ""
},
"customRule": {
"value": ""
}
},
"createdAt": "2025-01-16T08:08:06.658Z",
"updatedAt": "2025-01-16T08:08:06.658Z",
"layouts": [
{
"id": "2e616d86-c23f-4c0d-a367-5b03e7a866d5",
"type": "mobile",
"top": 180,
"left": 3,
"width": 10,
"height": 40,
"componentId": "303ae798-0ccc-437a-8521-cabd59a408a3",
"dimensionUnit": "count",
"updatedAt": "2025-01-16T08:08:06.658Z"
},
{
"id": "a571d152-60e1-4bc8-ba81-bec7f2cc4b39",
"type": "desktop",
"top": 180,
"left": 3,
"width": 14,
"height": 50,
"componentId": "303ae798-0ccc-437a-8521-cabd59a408a3",
"dimensionUnit": "count",
"updatedAt": "2025-01-16T08:08:06.658Z"
}
]
},
{
"id": "a0fc4bc5-5bcb-4e31-a482-42bd34bfff5a",
"name": "textinput2",
"type": "TextInput",
"pageId": "37b22715-bddb-41d0-a64d-78eef55c108d",
"parent": null,
"properties": {
"value": {
"value": "{{queries.f6df9103-e7bf-45ce-9542-5f9f4140cc0a.data.name}}"
},
"label": {
"value": "restapi"
},
"placeholder": {
"value": "Enter your input"
},
"visibility": {
"value": "{{true}}"
},
"disabledState": {
"value": "{{false}}"
},
"loadingState": {
"value": "{{false}}"
},
"tooltip": {
"value": ""
}
},
"general": {},
"styles": {
"textColor": {
"value": "#1B1F24"
},
"borderColor": {
"value": "#CCD1D5"
},
"accentColor": {
"value": "#4368E3"
},
"errTextColor": {
"value": "#D72D39"
},
"borderRadius": {
"value": "{{6}}"
},
"backgroundColor": {
"value": "#fff"
},
"iconColor": {
"value": "#CFD3D859"
},
"direction": {
"value": "left"
},
"width": {
"value": "{{33}}"
},
"alignment": {
"value": "side"
},
"color": {
"value": "#1B1F24"
},
"auto": {
"value": "{{true}}"
},
"padding": {
"value": "default"
},
"boxShadow": {
"value": "0px 0px 0px 0px #00000040"
},
"icon": {
"value": "IconHome2"
},
"iconVisibility": {
"value": false
}
},
"generalStyles": {
"boxShadow": {
"value": "0px 0px 0px 0px #00000040"
}
},
"displayPreferences": {
"showOnDesktop": {
"value": "{{true}}"
},
"showOnMobile": {
"value": "{{false}}"
}
},
"validation": {
"mandatory": {
"value": "{{false}}"
},
"regex": {
"value": ""
},
"minLength": {
"value": ""
},
"maxLength": {
"value": ""
},
"customRule": {
"value": ""
}
},
"createdAt": "2025-01-16T08:08:06.658Z",
"updatedAt": "2025-01-16T08:08:06.658Z",
"layouts": [
{
"id": "2f7c6aeb-2887-42d0-849c-cddc32975747",
"type": "mobile",
"top": 190,
"left": 25,
"width": 10,
"height": 40,
"componentId": "a0fc4bc5-5bcb-4e31-a482-42bd34bfff5a",
"dimensionUnit": "count",
"updatedAt": "2025-01-16T08:08:06.658Z"
},
{
"id": "db9fb925-435a-4ba5-bb48-394a7e14e419",
"type": "desktop",
"top": 180,
"left": 25,
"width": 10,
"height": 40,
"componentId": "a0fc4bc5-5bcb-4e31-a482-42bd34bfff5a",
"dimensionUnit": "count",
"updatedAt": "2025-01-16T08:08:06.658Z"
}
]
},
{
"id": "4bc8e82b-b60f-4c58-8beb-863cdead13b0",
"name": "text2",
"type": "Text",
"pageId": "1657fccd-fc9e-4da2-9d54-628cd2b76fd8",
"parent": null,
"properties": {
"textFormat": {
"value": "html"
},
"text": {
"value": "{{constants.pageHeader}}"
},
"loadingState": {
"value": "{{false}}"
},
"disabledState": {
"value": "{{false}}"
},
"visibility": {
"value": "{{true}}"
}
},
"general": {},
"styles": {
"backgroundColor": {
"value": "#fff00000"
},
"textColor": {
"value": "#dd2020ff"
},
"textSize": {
"value": "{{14}}"
},
"textAlign": {
"value": "center"
},
"fontWeight": {
"value": "normal"
},
"decoration": {
"value": "none"
},
"transformation": {
"value": "none"
},
"fontStyle": {
"value": "normal"
},
"lineHeight": {
"value": "{{1.5}}"
},
"textIndent": {
"value": "{{0}}"
},
"letterSpacing": {
"value": "{{0}}"
},
"wordSpacing": {
"value": "{{0}}"
},
"fontVariant": {
"value": "normal"
},
"verticalAlignment": {
"value": "center"
},
"padding": {
"value": "default"
},
"boxShadow": {
"value": "0px 0px 0px 0px #00000090"
},
"borderColor": {
"value": ""
},
"borderRadius": {
"value": "{{6}}"
},
"isScrollRequired": {
"value": "enabled"
}
},
"generalStyles": {
"boxShadow": {
"value": "0px 0px 0px 0px #00000040"
}
},
"displayPreferences": {
"showOnDesktop": {
"value": "{{true}}"
},
"showOnMobile": {
"value": "{{false}}"
}
},
"validation": {},
"createdAt": "2025-01-16T08:08:16.361Z",
"updatedAt": "2025-01-16T08:08:16.361Z",
"layouts": [
{
"id": "96e453db-d7b2-473a-b73e-b1d3a90bf3ae",
"type": "mobile",
"top": 50,
"left": 13,
"width": 6,
"height": 40,
"componentId": "4bc8e82b-b60f-4c58-8beb-863cdead13b0",
"dimensionUnit": "count",
"updatedAt": "2025-01-16T08:08:16.361Z"
},
{
"id": "86148029-b8bb-4a9f-9eb4-63c8d0853959",
"type": "desktop",
"top": 50,
"left": 13,
"width": 11,
"height": 50,
"componentId": "4bc8e82b-b60f-4c58-8beb-863cdead13b0",
"dimensionUnit": "count",
"updatedAt": "2025-01-16T08:08:16.361Z"
}
]
},
{
"id": "08f315c1-008d-4024-a195-dbc329fbaabd",
"name": "textinput1",
"type": "TextInput",
"pageId": "1657fccd-fc9e-4da2-9d54-628cd2b76fd8",
"parent": null,
"properties": {
"value": {
"value": "{{queries.2099e84c-60e9-4143-bd63-0f5256f8f2fe.data[0].first_name}}"
},
"label": {
"value": "Postgres"
},
"placeholder": {
"value": "Enter your input"
},
"visibility": {
"value": "{{true}}"
},
"disabledState": {
"value": "{{false}}"
},
"loadingState": {
"value": "{{false}}"
},
"tooltip": {
"value": ""
}
},
"general": {},
"styles": {
"textColor": {
"value": "#1B1F24"
},
"borderColor": {
"value": "#CCD1D5"
},
"accentColor": {
"value": "#4368E3"
},
"errTextColor": {
"value": "#D72D39"
},
"borderRadius": {
"value": "{{6}}"
},
"backgroundColor": {
"value": "#fff"
},
"iconColor": {
"value": "#CFD3D859"
},
"direction": {
"value": "left"
},
"width": {
"value": "{{33}}"
},
"alignment": {
"value": "side"
},
"color": {
"value": "#1B1F24"
},
"auto": {
"value": "{{true}}"
},
"padding": {
"value": "default"
},
"boxShadow": {
"value": "0px 0px 0px 0px #00000040"
},
"icon": {
"value": "IconHome2"
},
"iconVisibility": {
"value": false
}
},
"generalStyles": {
"boxShadow": {
"value": "0px 0px 0px 0px #00000040"
}
},
"displayPreferences": {
"showOnDesktop": {
"value": "{{true}}"
},
"showOnMobile": {
"value": "{{false}}"
}
},
"validation": {
"mandatory": {
"value": "{{false}}"
},
"regex": {
"value": ""
},
"minLength": {
"value": ""
},
"maxLength": {
"value": ""
},
"customRule": {
"value": ""
}
},
"createdAt": "2025-01-16T08:08:16.361Z",
"updatedAt": "2025-01-16T08:08:16.361Z",
"layouts": [
{
"id": "9ead9469-a0b8-4f3c-98d7-25701ae9c69c",
"type": "mobile",
"top": 180,
"left": 3,
"width": 10,
"height": 40,
"componentId": "08f315c1-008d-4024-a195-dbc329fbaabd",
"dimensionUnit": "count",
"updatedAt": "2025-01-16T08:08:16.361Z"
},
{
"id": "fa01cfcd-c3ac-4539-9743-ca34b05afa35",
"type": "desktop",
"top": 180,
"left": 3,
"width": 14,
"height": 50,
"componentId": "08f315c1-008d-4024-a195-dbc329fbaabd",
"dimensionUnit": "count",
"updatedAt": "2025-01-16T08:08:16.361Z"
}
]
},
{
"id": "19058096-92dd-4e1e-aa9c-2034446c2dfd",
"name": "textinput2",
"type": "TextInput",
"pageId": "1657fccd-fc9e-4da2-9d54-628cd2b76fd8",
"parent": null,
"properties": {
"value": {
"value": "{{queries.29acc3a4-300d-4bfe-a14f-59d15a5b8f80.data.name}}"
},
"label": {
"value": "restapi"
},
"placeholder": {
"value": "Enter your input"
},
"visibility": {
"value": "{{true}}"
},
"disabledState": {
"value": "{{false}}"
},
"loadingState": {
"value": "{{false}}"
},
"tooltip": {
"value": ""
}
},
"general": {},
"styles": {
"textColor": {
"value": "#1B1F24"
},
"borderColor": {
"value": "#CCD1D5"
},
"accentColor": {
"value": "#4368E3"
},
"errTextColor": {
"value": "#D72D39"
},
"borderRadius": {
"value": "{{6}}"
},
"backgroundColor": {
"value": "#fff"
},
"iconColor": {
"value": "#CFD3D859"
},
"direction": {
"value": "left"
},
"width": {
"value": "{{33}}"
},
"alignment": {
"value": "side"
},
"color": {
"value": "#1B1F24"
},
"auto": {
"value": "{{true}}"
},
"padding": {
"value": "default"
},
"boxShadow": {
"value": "0px 0px 0px 0px #00000040"
},
"icon": {
"value": "IconHome2"
},
"iconVisibility": {
"value": false
}
},
"generalStyles": {
"boxShadow": {
"value": "0px 0px 0px 0px #00000040"
}
},
"displayPreferences": {
"showOnDesktop": {
"value": "{{true}}"
},
"showOnMobile": {
"value": "{{false}}"
}
},
"validation": {
"mandatory": {
"value": "{{false}}"
},
"regex": {
"value": ""
},
"minLength": {
"value": ""
},
"maxLength": {
"value": ""
},
"customRule": {
"value": ""
}
},
"createdAt": "2025-01-16T08:08:16.361Z",
"updatedAt": "2025-01-16T08:08:16.361Z",
"layouts": [
{
"id": "4c635196-074d-4e24-8575-951de1729a79",
"type": "mobile",
"top": 190,
"left": 25,
"width": 10,
"height": 40,
"componentId": "19058096-92dd-4e1e-aa9c-2034446c2dfd",
"dimensionUnit": "count",
"updatedAt": "2025-01-16T08:08:16.361Z"
},
{
"id": "5352b65f-5b79-4831-b73e-f2fcd174d603",
"type": "desktop",
"top": 180,
"left": 25,
"width": 10,
"height": 40,
"componentId": "19058096-92dd-4e1e-aa9c-2034446c2dfd",
"dimensionUnit": "count",
"updatedAt": "2025-01-16T08:08:16.361Z"
}
]
},
{
"id": "6151ab07-4c72-4fb7-a006-0e5129bef85d",
"name": "textinput3",
"type": "TextInput",
"pageId": "1657fccd-fc9e-4da2-9d54-628cd2b76fd8",
"parent": null,
"properties": {
"value": {
"value": "{{queries.b1398475-72fd-4e4b-ba76-074628bc428f.data[0].country}}"
},
"label": {
"value": "TJDB"
},
"placeholder": {
"value": "Enter your input"
},
"visibility": {
"value": "{{true}}"
},
"disabledState": {
"value": "{{false}}"
},
"loadingState": {
"value": "{{false}}"
},
"tooltip": {
"value": ""
}
},
"general": {},
"styles": {
"textColor": {
"value": "#1B1F24"
},
"borderColor": {
"value": "#CCD1D5"
},
"accentColor": {
"value": "#4368E3"
},
"errTextColor": {
"value": "#D72D39"
},
"borderRadius": {
"value": "{{6}}"
},
"backgroundColor": {
"value": "#fff"
},
"iconColor": {
"value": "#CFD3D859"
},
"direction": {
"value": "left"
},
"width": {
"value": "{{33}}"
},
"alignment": {
"value": "side"
},
"color": {
"value": "#1B1F24"
},
"auto": {
"value": "{{true}}"
},
"padding": {
"value": "default"
},
"boxShadow": {
"value": "0px 0px 0px 0px #00000040"
},
"icon": {
"value": "IconHome2"
},
"iconVisibility": {
"value": false
}
},
"generalStyles": {
"boxShadow": {
"value": "0px 0px 0px 0px #00000040"
}
},
"displayPreferences": {
"showOnDesktop": {
"value": "{{true}}"
},
"showOnMobile": {
"value": "{{false}}"
}
},
"validation": {
"mandatory": {
"value": "{{false}}"
},
"regex": {
"value": ""
},
"minLength": {
"value": ""
},
"maxLength": {
"value": ""
},
"customRule": {
"value": ""
}
},
"createdAt": "2025-01-16T08:13:24.076Z",
"updatedAt": "2025-01-16T09:19:26.798Z",
"layouts": [
{
"id": "f83ce91a-8408-4f78-b65b-3d4dfaad4853",
"type": "desktop",
"top": 370,
"left": 15,
"width": 10,
"height": 40,
"componentId": "6151ab07-4c72-4fb7-a006-0e5129bef85d",
"dimensionUnit": "count",
"updatedAt": "2025-01-16T08:13:24.076Z"
},
{
"id": "c177be86-ea5c-4c6f-9620-cfa2d37d19c8",
"type": "mobile",
"top": 370,
"left": 15,
"width": 10,
"height": 40,
"componentId": "6151ab07-4c72-4fb7-a006-0e5129bef85d",
"dimensionUnit": "count",
"updatedAt": "2025-01-16T08:13:24.076Z"
}
]
}
],
"pages": [
{
"id": "d37b73a1-cb92-4698-9178-ad413e12e915",
"name": "Home",
"handle": "home",
"index": 1,
"disabled": null,
"hidden": null,
"icon": null,
"createdAt": "2025-01-16T07:09:21.569Z",
"updatedAt": "2025-01-16T07:09:21.569Z",
"autoComputeLayout": true,
"appVersionId": "9398b215-4e04-409e-b7ef-5935e068df1e"
},
{
"id": "37b22715-bddb-41d0-a64d-78eef55c108d",
"name": "Home",
"handle": "home",
"index": 1,
"disabled": null,
"hidden": null,
"icon": null,
"createdAt": "2025-01-16T08:08:06.658Z",
"updatedAt": "2025-01-16T08:08:06.658Z",
"autoComputeLayout": false,
"appVersionId": "9e784a57-9dd2-4303-9796-334eb2615f15"
},
{
"id": "1657fccd-fc9e-4da2-9d54-628cd2b76fd8",
"name": "Home",
"handle": "home",
"index": 1,
"disabled": null,
"hidden": null,
"icon": null,
"createdAt": "2025-01-16T08:08:16.361Z",
"updatedAt": "2025-01-16T08:08:16.361Z",
"autoComputeLayout": false,
"appVersionId": "b74fcff1-8cf1-40f8-a13d-c2d2a0b1ebf1"
}
],
"events": [],
"dataQueries": [
{
"id": "46b60de5-bc58-4038-9288-b211257f3412",
"name": "postgresql1",
"options": {
"mode": "sql",
"transformationLanguage": "javascript",
"enableTransformation": false,
"query": "Select * from {{secrets.db_name}}",
"runOnPageLoad": true
},
"dataSourceId": "f890271c-d9a7-4e53-bde1-9cb43c841cb9",
"appVersionId": "9398b215-4e04-409e-b7ef-5935e068df1e",
"createdAt": "2025-01-16T08:02:09.855Z",
"updatedAt": "2025-01-16T08:05:35.681Z"
},
{
"id": "22e1df4d-d395-4b7f-a9f8-501659616fd1",
"name": "restapi1",
"options": {
"method": "get",
"url": "https://jsonplaceholder.typicode.com/users/1",
"url_params": [
[
"",
""
]
],
"headers": [
[
"",
""
]
],
"cookies": [
[
"",
""
]
],
"body": [
[
"",
""
]
],
"json_body": null,
"body_toggle": false,
"retry_network_errors": true,
"transformationLanguage": "javascript",
"enableTransformation": false,
"runOnPageLoad": true
},
"dataSourceId": "f123a956-7bbd-4b62-bacc-151ca7a99e1d",
"appVersionId": "9398b215-4e04-409e-b7ef-5935e068df1e",
"createdAt": "2025-01-16T08:06:22.045Z",
"updatedAt": "2025-01-16T08:06:40.541Z"
},
{
"id": "00426a21-fb6d-49cf-bf81-f63ea310a6f2",
"name": "postgresql1",
"options": {
"mode": "sql",
"transformationLanguage": "javascript",
"enableTransformation": false,
"query": "Select * from {{secrets.db_name}}",
"runOnPageLoad": true
},
"dataSourceId": "f890271c-d9a7-4e53-bde1-9cb43c841cb9",
"appVersionId": "9e784a57-9dd2-4303-9796-334eb2615f15",
"createdAt": "2025-01-16T08:08:06.658Z",
"updatedAt": "2025-01-16T08:08:06.957Z"
},
{
"id": "f6df9103-e7bf-45ce-9542-5f9f4140cc0a",
"name": "restapi1",
"options": {
"method": "get",
"url": "https://jsonplaceholder.typicode.com/users/1",
"url_params": [
[
"",
""
]
],
"headers": [
[
"",
""
]
],
"cookies": [
[
"",
""
]
],
"body": [
[
"",
""
]
],
"json_body": null,
"body_toggle": false,
"retry_network_errors": true,
"transformationLanguage": "javascript",
"enableTransformation": false,
"runOnPageLoad": true
},
"dataSourceId": "d1961e6e-55ce-496e-9f3b-64d5bd577091",
"appVersionId": "9e784a57-9dd2-4303-9796-334eb2615f15",
"createdAt": "2025-01-16T08:08:06.658Z",
"updatedAt": "2025-01-16T08:08:08.431Z"
},
{
"id": "2099e84c-60e9-4143-bd63-0f5256f8f2fe",
"name": "postgresql1",
"options": {
"mode": "sql",
"transformationLanguage": "javascript",
"enableTransformation": false,
"query": "Select * from {{secrets.db_name}}",
"runOnPageLoad": true
},
"dataSourceId": "f890271c-d9a7-4e53-bde1-9cb43c841cb9",
"appVersionId": "b74fcff1-8cf1-40f8-a13d-c2d2a0b1ebf1",
"createdAt": "2025-01-16T08:08:16.361Z",
"updatedAt": "2025-01-16T08:12:18.449Z"
},
{
"id": "29acc3a4-300d-4bfe-a14f-59d15a5b8f80",
"name": "restapi1",
"options": {
"method": "get",
"url": "https://jsonplaceholder.typicode.com/users/1",
"url_params": [
[
"",
""
]
],
"headers": [
[
"",
""
]
],
"cookies": [
[
"",
""
]
],
"body": [
[
"",
""
]
],
"json_body": null,
"body_toggle": false,
"retry_network_errors": true,
"transformationLanguage": "javascript",
"enableTransformation": false,
"runOnPageLoad": true
},
"dataSourceId": "7323eab6-690b-4d5a-8444-776acd0df81d",
"appVersionId": "b74fcff1-8cf1-40f8-a13d-c2d2a0b1ebf1",
"createdAt": "2025-01-16T08:08:16.361Z",
"updatedAt": "2025-01-16T08:12:17.945Z"
},
{
"id": "b1398475-72fd-4e4b-ba76-074628bc428f",
"name": "tooljetdb1",
"options": {
"operation": "list_rows",
"transformationLanguage": "javascript",
"enableTransformation": false,
"table_id": "8f7b2a2d-9ef3-4662-b261-6eae07be5805",
"join_table": {
"joins": [
{
"id": 1737015230688,
"conditions": {
"operator": "AND",
"conditionsList": [
{
"operator": "=",
"leftField": {
"table": "8f7b2a2d-9ef3-4662-b261-6eae07be5805"
}
}
]
},
"joinType": "INNER"
}
],
"from": {
"name": "8f7b2a2d-9ef3-4662-b261-6eae07be5805",
"type": "Table"
},
"fields": [
{
"name": "id",
"table": "8f7b2a2d-9ef3-4662-b261-6eae07be5805"
},
{
"name": "name",
"table": "8f7b2a2d-9ef3-4662-b261-6eae07be5805"
},
{
"name": "country",
"table": "8f7b2a2d-9ef3-4662-b261-6eae07be5805"
},
{
"name": "state",
"table": "8f7b2a2d-9ef3-4662-b261-6eae07be5805"
}
]
},
"list_rows": {},
"runOnPageLoad": false
},
"dataSourceId": "f4cf0089-aec2-4713-800e-3560e678220b",
"appVersionId": "b74fcff1-8cf1-40f8-a13d-c2d2a0b1ebf1",
"createdAt": "2025-01-16T08:13:39.683Z",
"updatedAt": "2025-01-16T09:18:38.769Z"
}
],
"dataSources": [
{
"id": "f123a956-7bbd-4b62-bacc-151ca7a99e1d",
"name": "restapidefault",
"kind": "restapi",
"type": "static",
"pluginId": null,
"appVersionId": "9398b215-4e04-409e-b7ef-5935e068df1e",
"organizationId": null,
"scope": "local",
"createdAt": "2025-01-16T08:06:21.998Z",
"updatedAt": "2025-01-16T08:06:21.998Z"
},
{
"id": "d1961e6e-55ce-496e-9f3b-64d5bd577091",
"name": "restapidefault",
"kind": "restapi",
"type": "static",
"pluginId": null,
"appVersionId": "9e784a57-9dd2-4303-9796-334eb2615f15",
"organizationId": null,
"scope": "local",
"createdAt": "2025-01-16T08:08:06.658Z",
"updatedAt": "2025-01-16T08:08:06.658Z"
},
{
"id": "7323eab6-690b-4d5a-8444-776acd0df81d",
"name": "restapidefault",
"kind": "restapi",
"type": "static",
"pluginId": null,
"appVersionId": "b74fcff1-8cf1-40f8-a13d-c2d2a0b1ebf1",
"organizationId": null,
"scope": "local",
"createdAt": "2025-01-16T08:08:16.361Z",
"updatedAt": "2025-01-16T08:08:16.361Z"
},
{
"id": "f4cf0089-aec2-4713-800e-3560e678220b",
"name": "tooljetdbdefault",
"kind": "tooljetdb",
"type": "static",
"pluginId": null,
"appVersionId": "b74fcff1-8cf1-40f8-a13d-c2d2a0b1ebf1",
"organizationId": null,
"scope": "local",
"createdAt": "2025-01-16T08:13:39.658Z",
"updatedAt": "2025-01-16T08:13:39.658Z"
},
{
"id": "f890271c-d9a7-4e53-bde1-9cb43c841cb9",
"name": "postgresql",
"kind": "postgresql",
"type": "default",
"pluginId": null,
"appVersionId": null,
"organizationId": "d1bf739a-2028-4a98-b038-706220641361",
"scope": "global",
"createdAt": "2025-01-16T07:55:58.768Z",
"updatedAt": "2025-01-16T08:00:15.960Z"
}
],
"appVersions": [
{
"id": "9398b215-4e04-409e-b7ef-5935e068df1e",
"name": "v1",
"definition": null,
"globalSettings": {
"hideHeader": false,
"appInMaintenance": false,
"canvasMaxWidth": 100,
"canvasMaxWidthType": "%",
"canvasMaxHeight": 2400,
"canvasBackgroundColor": "#edeff5",
"backgroundFxQuery": "",
"appMode": "auto"
},
"pageSettings": null,
"showViewerNavigation": true,
"homePageId": "d37b73a1-cb92-4698-9178-ad413e12e915",
"appId": "96253406-88ac-464b-be7e-f5705effe571",
"currentEnvironmentId": "7a0137c5-a460-4eff-92b2-e9dbc9319597",
"createdAt": "2025-01-16T07:09:21.619Z",
"updatedAt": "2025-01-16T07:09:21.569Z"
},
{
"id": "9e784a57-9dd2-4303-9796-334eb2615f15",
"name": "v2",
"definition": null,
"globalSettings": {
"hideHeader": false,
"appInMaintenance": false,
"canvasMaxWidth": 100,
"canvasMaxWidthType": "%",
"canvasMaxHeight": 2400,
"canvasBackgroundColor": "#edeff5",
"backgroundFxQuery": "",
"appMode": "auto"
},
"pageSettings": null,
"showViewerNavigation": true,
"homePageId": "37b22715-bddb-41d0-a64d-78eef55c108d",
"appId": "96253406-88ac-464b-be7e-f5705effe571",
"currentEnvironmentId": "7a0137c5-a460-4eff-92b2-e9dbc9319597",
"createdAt": "2025-01-16T08:08:06.669Z",
"updatedAt": "2025-01-16T08:08:06.658Z"
},
{
"id": "b74fcff1-8cf1-40f8-a13d-c2d2a0b1ebf1",
"name": "v3",
"definition": null,
"globalSettings": {
"hideHeader": false,
"appInMaintenance": false,
"canvasMaxWidth": 100,
"canvasMaxWidthType": "%",
"canvasMaxHeight": 2400,
"canvasBackgroundColor": "#edeff5",
"backgroundFxQuery": "",
"appMode": "auto"
},
"pageSettings": null,
"showViewerNavigation": true,
"homePageId": "1657fccd-fc9e-4da2-9d54-628cd2b76fd8",
"appId": "96253406-88ac-464b-be7e-f5705effe571",
"currentEnvironmentId": "7a0137c5-a460-4eff-92b2-e9dbc9319597",
"createdAt": "2025-01-16T08:08:16.372Z",
"updatedAt": "2025-01-16T08:08:16.361Z"
}
],
"appEnvironments": [
{
"id": "7a0137c5-a460-4eff-92b2-e9dbc9319597",
"organizationId": "d1bf739a-2028-4a98-b038-706220641361",
"name": "production",
"isDefault": true,
"priority": 3,
"enabled": true,
"createdAt": "2025-01-16T07:09:21.370Z",
"updatedAt": "2025-01-16T07:09:21.370Z"
}
],
"dataSourceOptions": [
{
"id": "2c6c59a4-4c29-466d-b986-35e91a7ff7b5",
"dataSourceId": "f890271c-d9a7-4e53-bde1-9cb43c841cb9",
"environmentId": "7a0137c5-a460-4eff-92b2-e9dbc9319597",
"options": {
"connection_type": {
"value": "manual",
"encrypted": false
},
"host": {
"value": "9.234.17.31",
"encrypted": false
},
"port": {
"value": 5432,
"encrypted": false
},
"database": {
"value": "student",
"encrypted": false
},
"username": {
"value": "postgres",
"encrypted": false
},
"password": {
"credential_id": "ea6538e9-b768-46ba-b1b9-6e2b5fb8cfda",
"encrypted": true
},
"ssl_enabled": {
"value": false,
"encrypted": false
},
"ssl_certificate": {
"value": "none",
"encrypted": false
}
},
"createdAt": "2025-01-16T07:55:58.775Z",
"updatedAt": "2025-01-16T08:00:15.959Z"
},
{
"id": "bf6881f8-d304-40c4-9c9e-c22d787db159",
"dataSourceId": "f123a956-7bbd-4b62-bacc-151ca7a99e1d",
"environmentId": "7a0137c5-a460-4eff-92b2-e9dbc9319597",
"options": null,
"createdAt": "2025-01-16T08:06:22.002Z",
"updatedAt": "2025-01-16T08:06:22.002Z"
},
{
"id": "18407b10-f3f3-4c89-84c4-8bb17200d245",
"dataSourceId": "d1961e6e-55ce-496e-9f3b-64d5bd577091",
"environmentId": "7a0137c5-a460-4eff-92b2-e9dbc9319597",
"options": {},
"createdAt": "2025-01-16T08:08:06.658Z",
"updatedAt": "2025-01-16T08:08:06.658Z"
},
{
"id": "d1e06679-2315-4442-8346-07ec5d766a51",
"dataSourceId": "7323eab6-690b-4d5a-8444-776acd0df81d",
"environmentId": "7a0137c5-a460-4eff-92b2-e9dbc9319597",
"options": {},
"createdAt": "2025-01-16T08:08:16.361Z",
"updatedAt": "2025-01-16T08:08:16.361Z"
},
{
"id": "14d8dc74-bdec-4fe3-8906-3e3196aa848f",
"dataSourceId": "f4cf0089-aec2-4713-800e-3560e678220b",
"environmentId": "7a0137c5-a460-4eff-92b2-e9dbc9319597",
"options": null,
"createdAt": "2025-01-16T08:13:39.662Z",
"updatedAt": "2025-01-16T08:13:39.662Z"
}
],
"schemaDetails": {
"multiPages": true,
"multiEnv": true,
"globalDataSources": true
}
}
}
}
],
"tooljet_version": "3.2.2-ce"
}