Skip to content

Instantly share code, notes, and snippets.

@kwhinnery
Created February 16, 2023 01:40
Show Gist options
  • Save kwhinnery/3e5bc9c96a0b9418c703f726626406b7 to your computer and use it in GitHub Desktop.
Save kwhinnery/3e5bc9c96a0b9418c703f726626406b7 to your computer and use it in GitHub Desktop.
Example Retool Apps for Kevin's TTRPG talk at DeveloperWeek 2023
{"uuid":"87701b90-92b2-11ed-b072-13fe1ea2c3e2","page":{"id":128353720,"data":{"appState":"[\"~#iR\",[\"^ \",\"n\",\"appTemplate\",\"v\",[\"^ \",\"isFetching\",false,\"plugins\",[\"~#iOM\",[\"selectedCharacter\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"selectedCharacter\",\"type\",\"state\",\"subtype\",\"State\",\"namespace\",null,\"resourceName\",null,\"resourceDisplayName\",null,\"template\",[\"^3\",[\"_persistedValueGetter\",null,\"_persistedValueSetter\",null,\"persistValue\",false,\"persistedValueKey\",\"\",\"value\",\"null\"]],\"style\",null,\"position2\",null,\"mobilePosition2\",null,\"mobileAppPosition\",null,\"tabIndex\",null,\"container\",\"\",\"createdAt\",\"~m1673893610009\",\"updatedAt\",\"~m1673896563518\",\"folder\",\"state\",\"screen\",null]]],\"listCharacters\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"listCharacters\",\"^4\",\"datasource\",\"^5\",\"SqlQueryUnified\",\"^6\",null,\"^7\",\"579e96f7-980f-44e8-b2f4-688cd2da3660\",\"^8\",\"retool_db\",\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"records\",\"\",\"lastReceivedFromResourceAt\",null,\"databasePasswordOverride\",\"\",\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",true,\"showFailureToaster\",true,\"query\",\"select * from ttrpg_characters order by full_name ASC limit 100;\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"~#iL\",[]],\"runWhenPageLoadsDelay\",\"\",\"warningCodes\",[\"^D\",[]],\"data\",null,\"recordId\",\"\",\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"dataArray\",[\"^D\",[]],\"cacheKeyTtl\",\"\",\"filterBy\",\"\",\"requestSentTimestamp\",null,\"databaseHostOverride\",\"\",\"metadata\",null,\"editorMode\",\"sql\",\"queryRunTime\",null,\"actionType\",\"\",\"changesetObject\",\"\",\"shouldUseLegacySql\",false,\"errorTransformer\",\"// The variable 'data' allows you to reference the request's data in the transformer. \\n// example: return data.find(element => element.isError)\\nreturn data.error\",\"finished\",null,\"databaseNameOverride\",\"\",\"confirmationMessage\",null,\"isFetching\",false,\"changeset\",\"\",\"rawData\",null,\"queryTriggerDelay\",\"0\",\"resourceTypeOverride\",null,\"watchedParams\",[\"^D\",[]],\"enableErrorTransformer\",false,\"enableBulkUpdates\",false,\"showLatestVersionUpdatedWarning\",false,\"timestamp\",0,\"importedQueryDefaults\",[\"^3\",[]],\"enableTransformer\",false,\"showUpdateSetValueDynamicallyToggle\",true,\"bulkUpdatePrimaryKey\",\"\",\"runWhenPageLoads\",false,\"transformer\",\"// type your code here\\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\\nreturn data\",\"events\",[\"^D\",[]],\"tableName\",\"\",\"queryTimeout\",\"10000\",\"requireConfirmation\",false,\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^D\",[]],\"databaseUsernameOverride\",\"\",\"shouldEnableBatchQuerying\",false,\"doNotThrowOnNoOp\",false,\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^:\",null,\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673889085807\",\"^A\",\"~m1673895991962\",\"^B\",\"sql\",\"^C\",null]]],\"createCharacter\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"createCharacter\",\"^4\",\"datasource\",\"^5\",\"SqlQueryUnified\",\"^6\",null,\"^7\",\"579e96f7-980f-44e8-b2f4-688cd2da3660\",\"^8\",\"retool_db\",\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"records\",\"\",\"lastReceivedFromResourceAt\",null,\"databasePasswordOverride\",\"\",\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",false,\"showFailureToaster\",true,\"query\",\"insert into ttrpg_characters(\\\"ap\\\", \\\"hp\\\", \\\"full_name\\\", \\\"short_name\\\", \\\"description\\\", \\\"image_url\\\")\\nvalues (\\n 10, 10, \\n {{ newCharacterFullName.value }},\\n {{ newCharacterShortName.value }},\\n {{ newCharacterDescription.value || '' }},\\n {{ newCharacterImage.value || 'http://placekitten.com/200/300' }}\\n) returning *;\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^D\",[]],\"runWhenPageLoadsDelay\",\"\",\"warningCodes\",[\"^D\",[]],\"data\",null,\"recordId\",\"\",\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"dataArray\",[\"^D\",[]],\"cacheKeyTtl\",\"\",\"filterBy\",\"\",\"requestSentTimestamp\",null,\"databaseHostOverride\",\"\",\"metadata\",null,\"editorMode\",\"sql\",\"queryRunTime\",null,\"actionType\",\"INSERT\",\"changesetObject\",\"\",\"shouldUseLegacySql\",false,\"errorTransformer\",\"// The variable 'data' allows you to reference the request's data in the transformer. \\n// example: return data.find(element => element.isError)\\nreturn data.error\",\"finished\",null,\"databaseNameOverride\",\"\",\"confirmationMessage\",null,\"isFetching\",false,\"changeset\",\"[{\\\"key\\\":\\\"ap\\\",\\\"value\\\":\\\"10\\\"},{\\\"key\\\":\\\"hp\\\",\\\"value\\\":\\\"10\\\"},{\\\"key\\\":\\\"full_name\\\",\\\"value\\\":\\\"{{ newCharacterFullName.value }}\\\"},{\\\"key\\\":\\\"short_name\\\",\\\"value\\\":\\\"{{ newCharacterShortName.value }}\\\"},{\\\"key\\\":\\\"\\\",\\\"value\\\":\\\"{{ newCharacterDescription.value }}\\\"},{\\\"key\\\":\\\"image_url\\\",\\\"value\\\":\\\"{{ newCharacterImage.value || \\\\\\\"http://placekitten.com/g/200/300\\\\\\\" }}\\\"},{\\\"key\\\":\\\"\\\",\\\"value\\\":\\\"\\\"}]\",\"rawData\",null,\"queryTriggerDelay\",\"0\",\"resourceTypeOverride\",\"\",\"watchedParams\",[\"^D\",[]],\"enableErrorTransformer\",false,\"enableBulkUpdates\",false,\"showLatestVersionUpdatedWarning\",false,\"timestamp\",0,\"importedQueryDefaults\",[\"^3\",[]],\"enableTransformer\",false,\"showUpdateSetValueDynamicallyToggle\",true,\"bulkUpdatePrimaryKey\",\"\",\"runWhenPageLoads\",false,\"transformer\",\"// type your code here\\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\\nreturn data\",\"events\",[\"^D\",[[\"^3\",[\"event\",\"success\",\"type\",\"widget\",\"method\",\"close\",\"pluginId\",\"newCharacterModal\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]],[\"^3\",[\"event\",\"success\",\"type\",\"script\",\"method\",\"run\",\"pluginId\",\"\",\"targetId\",null,\"params\",[\"^3\",[\"src\",\"newCharacterFullName.resetValue();\\nnewCharacterShortName.resetValue();\\nnewCharacterDescription.resetValue();\\nnewCharacterImage.resetValue();\"]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]],[\"^3\",[\"event\",\"success\",\"type\",\"datasource\",\"method\",\"trigger\",\"pluginId\",\"listCharacters\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"tableName\",\"quest_characters\",\"queryTimeout\",\"10000\",\"requireConfirmation\",false,\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^D\",[]],\"databaseUsernameOverride\",\"\",\"shouldEnableBatchQuerying\",false,\"doNotThrowOnNoOp\",false,\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^:\",null,\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673624855503\",\"^A\",\"~m1673893506524\",\"^B\",\"sql\",\"^C\",null]]],\"createCharacterValidator\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"createCharacterValidator\",\"^4\",\"function\",\"^5\",\"Function\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"funcBody\",\"const fullName = {{ newCharacterFullName.value }};\\nconst shortName = {{ newCharacterShortName.value }};\\n\\nreturn fullName && shortName;\",\"value\",\"\"]],\"^:\",null,\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673892785174\",\"^A\",\"~m1673892958716\",\"^B\",\"js\",\"^C\",null]]],\"sidebarFrame1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"sidebarFrame1\",\"^4\",\"frame\",\"^5\",\"SidebarFrameWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"loading\",false,\"showFooter\",false,\"showHeader\",false,\"hidden\",false,\"isInEditMode\",false,\"isHiddenOnDesktop\",false,\"isHiddenOnMobile\",true,\"width\",\"small\"]],\"^:\",[\"^3\",[]],\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673553102880\",\"^A\",\"~m1673553112426\",\"^B\",\"\",\"^C\",null]]],\"image1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"image1\",\"^4\",\"widget\",\"^5\",\"ImageWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"fixed\",\"horizontalAlign\",\"left\",\"srcWidth\",null,\"clickable\",false,\"flipVertical\",false,\"src\",\"https://retool-edge.com/83d4d9a1f1ecd17d111e6b4a014043cd.svg\",\"hidden\",false,\"srcHeight\",null,\"showInEditor\",false,\"tooltipText\",\"\",\"fit\",\"contain\",\"flipHorizontal\",false,\"aspectRatio\",null,\"storageBlobId\",\"\",\"altText\",\"\",\"dbBlobId\",\"\",\"events\",[\"^3\",[]],\"srcType\",\"src\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"\",\"rowGroup\",\"header\",\"subcontainer\",\"sidebarFrame1\",\"row\",0,\"col\",0,\"height\",1,\"width\",1,\"tabNum\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673553103172\",\"^A\",\"~m1673553103172\",\"^B\",\"\",\"^C\",null]]],\"avatar1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"avatar1\",\"^4\",\"widget\",\"^5\",\"AvatarWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"fallback\",\"{{ current_user.fullName }}\",\"src\",\"{{ current_user.profilePhotoUrl }}\",\"hidden\",false,\"showInEditor\",false,\"tooltipText\",\"\",\"labelAlign\",\"left\",\"style\",[\"^3\",[\"background\",\"automatic\"]],\"labelCaption\",\"{{ current_user.email }}\",\"label\",\"{{ current_user.fullName }}\",\"icon\",\"\",\"imageSize\",32,\"labelPosition\",\"right\",\"labelWrap\",false,\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"\",\"^E\",\"footer\",\"^F\",\"sidebarFrame1\",\"row\",0,\"col\",0,\"^G\",0.2,\"^H\",1,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673553103202\",\"^A\",\"~m1673553103202\",\"^B\",\"\",\"^C\",null]]],\"globalSidebar1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"globalSidebar1\",\"^4\",\"widget\",\"^5\",\"GlobalWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"showFetchingIndicator\",\"boolean\",\"heightType\",\"auto\",\"name\",\"Global Sidebar\",\"pageUuid\",\"b98e229c-92a9-11ed-810b-6fbf2b147eea\",\"childNamespace\",\"globalSidebar1\"]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"\",\"^E\",\"body\",\"^F\",\"sidebarFrame1\",\"row\",0,\"col\",0,\"^G\",2.4,\"^H\",1,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673553125496\",\"^A\",\"~m1673553125496\",\"^B\",\"\",\"^C\",null]]],\"text1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text1\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"left\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"## Characters\",\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"\",\"^E\",\"body\",\"^F\",\"\",\"row\",0,\"col\",0,\"^G\",0.6,\"^H\",4,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673554618520\",\"^A\",\"~m1673554626770\",\"^B\",\"\",\"^C\",null]]],\"$main\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"$main\",\"^4\",\"frame\",\"^5\",\"Frame\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"type\",\"main\",\"sticky\",false,\"isHiddenOnDesktop\",false,\"isHiddenOnMobile\",false]],\"^:\",[\"^3\",[]],\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673554618555\",\"^A\",\"~m1673554618555\",\"^B\",\"\",\"^C\",null]]],\"newCharacterModal\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"newCharacterModal\",\"^4\",\"widget\",\"^5\",\"ModalWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"opened\",false,\"modalOverflowType\",\"scroll\",\"onModalClose\",\"\",\"modalHeightType\",\"auto\",\"tooltipText\",\"\",\"modalHeight\",\"800px\",\"onModalOpen\",\"\",\"modalWidth\",\"70%\",\"closeOnOutsideClick\",true,\"loading\",\"\",\"disabled\",\"\",\"buttonText\",\"New Character\"]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"\",\"^E\",\"body\",\"^F\",\"\",\"row\",0,\"col\",4,\"^G\",1,\"^H\",2,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673555169248\",\"^A\",\"~m1673557418956\",\"^B\",\"\",\"^C\",null]]],\"listView1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"listView1\",\"^4\",\"widget\",\"^5\",\"ListViewWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"showBorder\",true,\"data\",\"\",\"showDropShadow\",true,\"formDataKey\",\"{{ self.id }}\",\"dynamicHeightsEnabled\",true,\"itemHeight\",\"3\",\"overflowType\",\"scroll\",\"instances\",\"{{ listCharacters.data.id.length }}\"]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"\",\"^E\",\"body\",\"^F\",\"\",\"row\",1.0000000000000002,\"col\",0,\"^G\",5,\"^H\",6,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673890014887\",\"^A\",\"~m1673890088966\",\"^B\",\"\",\"^C\",null]]],\"image2\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"image2\",\"^4\",\"widget\",\"^5\",\"ImageWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"fixed\",\"horizontalAlign\",\"center\",\"srcWidth\",null,\"clickable\",false,\"flipVertical\",false,\"src\",\"{{ listCharacters.data.image_url[i] }}\",\"hidden\",false,\"srcHeight\",null,\"showInEditor\",false,\"tooltipText\",\"\",\"fit\",\"contain\",\"flipHorizontal\",false,\"aspectRatio\",null,\"storageBlobId\",\"\",\"altText\",\"\",\"dbBlobId\",\"\",\"events\",[\"^3\",[]],\"srcType\",\"src\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"listView1\",\"^E\",\"body\",\"^F\",\"\",\"row\",0,\"col\",0,\"^G\",1.8,\"^H\",2,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673890068853\",\"^A\",\"~m1673892292597\",\"^B\",\"\",\"^C\",null]]],\"text3\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text3\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"fixed\",\"horizontalAlign\",\"left\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"##### {{ listCharacters.data.full_name[i] }}\\n\\n**HP:** {{ listCharacters.data.hp[i] }} // **AP:** {{ listCharacters.data.ap[i] }}\",\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"listView1\",\"^E\",\"body\",\"^F\",\"\",\"row\",0,\"col\",2,\"^G\",1.7999999999999998,\"^H\",7,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673890117251\",\"^A\",\"~m1673892279909\",\"^B\",\"\",\"^C\",null]]],\"button4\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"button4\",\"^4\",\"widget\",\"^5\",\"ButtonWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"horizontalAlign\",\"stretch\",\"clickable\",false,\"iconAfter\",\"bold/interface-arrows-right-circle-2\",\"submitTargetId\",null,\"hidden\",false,\"text\",\"Manage\",\"showInEditor\",false,\"tooltipText\",\"\",\"styleVariant\",\"solid\",\"submit\",false,\"iconBefore\",\"\",\"events\",[\"^D\",[[\"^3\",[\"event\",\"click\",\"type\",\"script\",\"method\",\"run\",\"pluginId\",\"\",\"targetId\",null,\"params\",[\"^3\",[\"src\",\"selectedCharacter.setValue({\\n id: listCharacters.data.id[i],\\n full_name: listCharacters.data.full_name[i],\\n short_name: listCharacters.data.short_name[i],\\n description: listCharacters.data.description[i],\\n image_url: listCharacters.data.image_url[i],\\n ap: listCharacters.data.ap[i],\\n hp: listCharacters.data.hp[i],\\n});\"]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]],[\"^3\",[\"event\",\"click\",\"type\",\"script\",\"method\",\"run\",\"pluginId\",\"\",\"targetId\",null,\"params\",[\"^3\",[\"src\",\"window.scrollTo(0, 0);\"]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]],[\"^3\",[\"event\",\"click\",\"type\",\"widget\",\"method\",\"setCurrentViewIndex\",\"pluginId\",\"tabbedContainer1\",\"targetId\",null,\"params\",[\"^3\",[\"viewIndex\",\"0\"]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"loading\",false,\"loaderPosition\",\"auto\",\"disabled\",false,\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"listView1\",\"^E\",\"body\",\"^F\",\"\",\"row\",0.4,\"col\",9,\"^G\",1,\"^H\",3,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673890161251\",\"^A\",\"~m1676509471819\",\"^B\",\"\",\"^C\",null]]],\"tabbedContainer1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"tabbedContainer1\",\"^4\",\"widget\",\"^5\",\"ContainerWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"_disabledByIndex\",[\"^D\",[\"\",\"\"]],\"heightType\",\"auto\",\"currentViewKey\",\"{{ self.viewKeys[0] }}\",\"iconByIndex\",[],\"clickable\",false,\"_iconByIndex\",[\"^D\",[\"\",\"\"]],\"hidden\",\"{{ selectedCharacter.value === null }}\",\"showHeader\",true,\"hoistFetching\",true,\"views\",[],\"showInEditor\",false,\"tooltipText\",\"\",\"hiddenByIndex\",[],\"_hiddenByIndex\",[\"^D\",[\"\",\"\"]],\"currentViewIndex\",null,\"_hasMigratedNestedItems\",true,\"transition\",\"none\",\"itemMode\",\"static\",\"_tooltipByIndex\",[\"^D\",[\"\",\"\"]],\"tooltipByIndex\",[],\"showFooter\",false,\"_viewKeys\",[\"^D\",[\"Details\",\"Inventory\"]],\"events\",[\"^3\",[]],\"_ids\",[\"^D\",[\"1f91b\",\"f0170\"]],\"viewKeys\",[],\"iconPositionByIndex\",[],\"_iconPositionByIndex\",[\"^D\",[\"\",\"\"]],\"hovered\",false,\"loading\",false,\"overflowType\",\"scroll\",\"disabled\",false,\"_labels\",[\"^D\",[\"\",\"\"]],\"disabledByIndex\",[],\"maintainSpaceWhenHidden\",false,\"showBody\",true,\"labels\",[]]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"\",\"^E\",\"body\",\"^F\",\"\",\"row\",1,\"col\",6,\"^G\",0.2,\"^H\",6,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673891365967\",\"^A\",\"~m1676226825271\",\"^B\",\"\",\"^C\",null]]],\"tabs1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"tabs1\",\"^4\",\"widget\",\"^5\",\"TabsWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"_disabledByIndex\",[\"^D\",[\"\",\"\",\"\"]],\"_values\",[\"^D\",[\"Tab 1\",\"Tab 2\",\"Tab 3\"]],\"iconByIndex\",[],\"values\",[],\"alignment\",\"left\",\"_iconByIndex\",[\"^D\",[\"\",\"\",\"\"]],\"hidden\",false,\"data\",[],\"targetContainerId\",\"tabbedContainer1\",\"selectedItem\",null,\"showInEditor\",false,\"navigateContainer\",true,\"value\",\"{{ self.values[0] }}\",\"hiddenByIndex\",[],\"_hiddenByIndex\",[\"^D\",[\"\",\"\",\"\"]],\"_hasMigratedNestedItems\",true,\"itemMode\",\"static\",\"selectedIndex\",null,\"_tooltipByIndex\",[\"^D\",[\"\",\"\",\"\"]],\"tooltipByIndex\",[],\"selectedLabel\",\"\",\"events\",[\"^3\",[]],\"_ids\",[\"^D\",[\"09b90\",\"1719d\",\"a0d9d\"]],\"iconPositionByIndex\",[],\"_iconPositionByIndex\",[\"^D\",[\"\",\"\",\"\"]],\"disabled\",false,\"linePosition\",\"bottom\",\"_labels\",[\"^D\",[\"\",\"\",\"\"]],\"disabledByIndex\",[],\"maintainSpaceWhenHidden\",false,\"labels\",[]]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"tabbedContainer1\",\"^E\",\"header\",\"^F\",\"\",\"row\",0,\"col\",0,\"^G\",0.8,\"^H\",12,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673891366240\",\"^A\",\"~m1673891366240\",\"^B\",\"\",\"^C\",null]]],\"text7\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text7\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"left\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"## Create Character\",\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"newCharacterModal\",\"^E\",\"body\",\"^F\",\"\",\"row\",0,\"col\",0,\"^G\",0.6,\"^H\",12,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673891759432\",\"^A\",\"~m1673891769403\",\"^B\",\"\",\"^C\",null]]],\"divider1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"divider1\",\"^4\",\"widget\",\"^5\",\"DividerWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"hidden\",false,\"maintainSpaceWhenHidden\",false,\"showInEditor\",false,\"tooltipText\",\"\",\"horizontalAlign\",\"center\",\"text\",\"\",\"textSize\",\"default\"]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"newCharacterModal\",\"^E\",\"body\",\"^F\",\"\",\"row\",0.6,\"col\",0,\"^G\",0.2,\"^H\",12,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673891778978\",\"^A\",\"~m1673891778978\",\"^B\",\"\",\"^C\",null]]],\"newCharacterFullName\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"newCharacterFullName\",\"^4\",\"widget\",\"^5\",\"TextInputWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"spellCheck\",false,\"readOnly\",false,\"iconAfter\",\"\",\"showCharacterCount\",false,\"autoComplete\",false,\"maxLength\",null,\"hidden\",false,\"customValidation\",\"\",\"patternType\",\"\",\"hideValidationMessage\",false,\"textBefore\",\"\",\"validationMessage\",\"\",\"textAfter\",\"\",\"showInEditor\",false,\"showClear\",false,\"pattern\",\"\",\"tooltipText\",\"\",\"labelAlign\",\"left\",\"formDataKey\",\"{{ self.id }}\",\"value\",\"\",\"labelCaption\",\"\",\"labelWidth\",\"33\",\"autoFill\",\"\",\"placeholder\",\"Daisy Shortman\",\"label\",\"Full Name\",\"_validate\",false,\"labelWidthUnit\",\"%\",\"invalid\",false,\"iconBefore\",\"\",\"minLength\",null,\"inputTooltip\",\"\",\"events\",[\"^3\",[]],\"autoCapitalize\",\"none\",\"loading\",false,\"disabled\",false,\"labelPosition\",\"left\",\"labelWrap\",false,\"maintainSpaceWhenHidden\",false,\"required\",true]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"newCharacterModal\",\"^E\",\"body\",\"^F\",\"\",\"row\",0.7999999999999999,\"col\",0,\"^G\",1,\"^H\",5,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673891863856\",\"^A\",\"~m1673892890045\",\"^B\",\"\",\"^C\",null]]],\"newCharacterShortName\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"newCharacterShortName\",\"^4\",\"widget\",\"^5\",\"TextInputWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"spellCheck\",false,\"readOnly\",false,\"iconAfter\",\"\",\"showCharacterCount\",false,\"autoComplete\",false,\"maxLength\",null,\"hidden\",false,\"customValidation\",\"\",\"patternType\",\"\",\"hideValidationMessage\",false,\"textBefore\",\"\",\"validationMessage\",\"\",\"textAfter\",\"\",\"showInEditor\",false,\"showClear\",false,\"pattern\",\"\",\"tooltipText\",\"\",\"labelAlign\",\"left\",\"formDataKey\",\"{{ self.id }}\",\"value\",\"\",\"labelCaption\",\"\",\"labelWidth\",\"33\",\"autoFill\",\"\",\"placeholder\",\"Shorty\",\"label\",\"Short Name\",\"_validate\",false,\"labelWidthUnit\",\"%\",\"invalid\",false,\"iconBefore\",\"\",\"minLength\",null,\"inputTooltip\",\"\",\"events\",[\"^3\",[]],\"autoCapitalize\",\"none\",\"loading\",false,\"disabled\",false,\"labelPosition\",\"left\",\"labelWrap\",false,\"maintainSpaceWhenHidden\",false,\"required\",true]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"newCharacterModal\",\"^E\",\"body\",\"^F\",\"\",\"row\",1.8000000000000003,\"col\",0,\"^G\",1,\"^H\",5,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673891874412\",\"^A\",\"~m1673892897184\",\"^B\",\"\",\"^C\",null]]],\"newCharacterImage\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"newCharacterImage\",\"^4\",\"widget\",\"^5\",\"TextInputWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"spellCheck\",false,\"readOnly\",false,\"iconAfter\",\"\",\"showCharacterCount\",false,\"autoComplete\",false,\"maxLength\",null,\"hidden\",false,\"customValidation\",\"\",\"patternType\",\"\",\"hideValidationMessage\",false,\"textBefore\",\"\",\"validationMessage\",\"\",\"textAfter\",\"\",\"showInEditor\",false,\"showClear\",false,\"pattern\",\"\",\"tooltipText\",\"\",\"labelAlign\",\"left\",\"formDataKey\",\"{{ self.id }}\",\"value\",\"http://placekitten.com/200/300\",\"labelCaption\",\"\",\"labelWidth\",\"33\",\"autoFill\",\"\",\"placeholder\",\"Enter value\",\"label\",\"Character Image\",\"_validate\",false,\"labelWidthUnit\",\"%\",\"invalid\",false,\"iconBefore\",\"\",\"minLength\",null,\"inputTooltip\",\"\",\"events\",[\"^3\",[]],\"autoCapitalize\",\"none\",\"loading\",false,\"disabled\",false,\"labelPosition\",\"left\",\"labelWrap\",false,\"maintainSpaceWhenHidden\",false,\"required\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"newCharacterModal\",\"^E\",\"body\",\"^F\",\"\",\"row\",0.7999999999999999,\"col\",5,\"^G\",1,\"^H\",7,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673891892220\",\"^A\",\"~m1673891934007\",\"^B\",\"\",\"^C\",null]]],\"newCharacterDescription\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"newCharacterDescription\",\"^4\",\"widget\",\"^5\",\"TextAreaWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"spellCheck\",false,\"readOnly\",false,\"autoResize\",true,\"showCharacterCount\",false,\"autoComplete\",false,\"maxLength\",null,\"hidden\",false,\"customValidation\",\"\",\"hideValidationMessage\",false,\"minLines\",\"4\",\"validationMessage\",\"\",\"showInEditor\",false,\"pattern\",\"\",\"tooltipText\",\"\",\"labelAlign\",\"left\",\"formDataKey\",\"{{ self.id }}\",\"value\",\"\",\"labelCaption\",\"\",\"labelWidth\",\"33\",\"autoFill\",\"\",\"placeholder\",\"A beverage coordinator of staggering brilliance, the likes of which only comes about once in a generation.\",\"label\",\"Character Description\",\"_validate\",false,\"labelWidthUnit\",\"%\",\"invalid\",false,\"minLength\",null,\"inputTooltip\",\"\",\"events\",[\"^3\",[]],\"autoCapitalize\",\"none\",\"maxLines\",null,\"loading\",false,\"disabled\",false,\"labelPosition\",\"left\",\"labelWrap\",true,\"maintainSpaceWhenHidden\",false,\"required\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"newCharacterModal\",\"^E\",\"body\",\"^F\",\"\",\"row\",2.8000000000000003,\"col\",0,\"^G\",1,\"^H\",5,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673891948580\",\"^A\",\"~m1673892126831\",\"^B\",\"\",\"^C\",null]]],\"image3\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"image3\",\"^4\",\"widget\",\"^5\",\"ImageWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"fixed\",\"horizontalAlign\",\"center\",\"srcWidth\",null,\"clickable\",false,\"flipVertical\",false,\"src\",\"{{ newCharacterImage.value }}\",\"hidden\",false,\"srcHeight\",null,\"showInEditor\",false,\"tooltipText\",\"\",\"fit\",\"contain\",\"flipHorizontal\",false,\"aspectRatio\",null,\"storageBlobId\",\"\",\"altText\",\"\",\"dbBlobId\",\"\",\"events\",[\"^3\",[]],\"srcType\",\"src\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"newCharacterModal\",\"^E\",\"body\",\"^F\",\"\",\"row\",1.8000000000000003,\"col\",5,\"^G\",3.1999999999999993,\"^H\",7,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673891989110\",\"^A\",\"~m1673892033707\",\"^B\",\"\",\"^C\",null]]],\"button5\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"button5\",\"^4\",\"widget\",\"^5\",\"ButtonWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"horizontalAlign\",\"stretch\",\"clickable\",false,\"iconAfter\",\"\",\"submitTargetId\",null,\"hidden\",false,\"text\",\"Create Character!\",\"showInEditor\",false,\"tooltipText\",\"\",\"styleVariant\",\"solid\",\"submit\",false,\"iconBefore\",\"bold/interface-add-square\",\"events\",[\"^D\",[[\"^3\",[\"event\",\"click\",\"type\",\"datasource\",\"method\",\"trigger\",\"pluginId\",\"createCharacter\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"loading\",false,\"loaderPosition\",\"auto\",\"disabled\",\"{{ !createCharacterValidator.value }}\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"newCharacterModal\",\"^E\",\"body\",\"^F\",\"\",\"row\",5.8,\"col\",4,\"^G\",1,\"^H\",4,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673892145730\",\"^A\",\"~m1673892996517\",\"^B\",\"\",\"^C\",null]]],\"editCharacterShortName\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"editCharacterShortName\",\"^4\",\"widget\",\"^5\",\"EditableTextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"spellCheck\",false,\"readOnly\",false,\"iconAfter\",\"\",\"editIcon\",\"bold/interface-edit-write-1\",\"inputValue\",\"\",\"autoComplete\",false,\"maxLength\",null,\"hidden\",false,\"customValidation\",\"\",\"patternType\",\"\",\"hideValidationMessage\",false,\"textBefore\",\"\",\"validationMessage\",\"\",\"textSize\",\"default\",\"textAfter\",\"\",\"showInEditor\",false,\"showClear\",false,\"pattern\",\"\",\"tooltipText\",\"\",\"labelAlign\",\"left\",\"formDataKey\",\"{{ self.id }}\",\"value\",\"{{ selectedCharacter.value.short_name }}\",\"labelCaption\",\"\",\"labelWidth\",\"33\",\"autoFill\",\"\",\"placeholder\",\"Enter value\",\"label\",\"Short Name\",\"_validate\",false,\"labelWidthUnit\",\"%\",\"invalid\",false,\"iconBefore\",\"\",\"minLength\",null,\"inputTooltip\",\"~`Enter` to save, `Esc` to cancel\",\"events\",[\"^D\",[[\"^3\",[\"event\",\"change\",\"type\",\"datasource\",\"method\",\"trigger\",\"pluginId\",\"updateCharacter\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"autoCapitalize\",\"none\",\"loading\",false,\"labelPosition\",\"left\",\"labelWrap\",false,\"maintainSpaceWhenHidden\",false,\"required\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"tabbedContainer1\",\"^E\",\"body\",\"^F\",\"1f91b\",\"row\",1.7999999999999998,\"col\",0,\"^G\",0.6,\"^H\",12,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673894374067\",\"^A\",\"~m1673896635968\",\"^B\",\"\",\"^C\",null]]],\"editCharacterDescription\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"editCharacterDescription\",\"^4\",\"widget\",\"^5\",\"EditableTextAreaWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"spellCheck\",false,\"readOnly\",false,\"editIcon\",\"bold/interface-edit-write-1\",\"showCharacterCount\",false,\"inputValue\",\"\",\"autoComplete\",false,\"maxLength\",null,\"hidden\",false,\"customValidation\",\"\",\"hideValidationMessage\",false,\"validationMessage\",\"\",\"showInEditor\",false,\"pattern\",\"\",\"tooltipText\",\"\",\"labelAlign\",\"left\",\"formDataKey\",\"{{ self.id }}\",\"value\",\"{{ selectedCharacter.value.description }}\",\"labelCaption\",\"\",\"labelWidth\",\"33\",\"autoFill\",\"\",\"placeholder\",\"Enter character description...\",\"label\",\"Description\",\"_validate\",false,\"labelWidthUnit\",\"%\",\"invalid\",false,\"minLength\",null,\"inputTooltip\",\"~`Shift+Enter` to save, `Esc` to cancel\",\"events\",[\"^D\",[[\"^3\",[\"event\",\"change\",\"type\",\"datasource\",\"method\",\"trigger\",\"pluginId\",\"updateCharacter\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"autoCapitalize\",\"none\",\"loading\",false,\"disabled\",false,\"labelPosition\",\"left\",\"labelWrap\",false,\"maintainSpaceWhenHidden\",false,\"required\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"tabbedContainer1\",\"^E\",\"body\",\"^F\",\"1f91b\",\"row\",2.4000000000000004,\"col\",0,\"^G\",0.8,\"^H\",12,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673894419120\",\"^A\",\"~m1673896645059\",\"^B\",\"\",\"^C\",null]]],\"editCharacterImage\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"editCharacterImage\",\"^4\",\"widget\",\"^5\",\"EditableTextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"spellCheck\",false,\"readOnly\",false,\"iconAfter\",\"\",\"editIcon\",\"bold/interface-edit-write-1\",\"inputValue\",\"\",\"autoComplete\",false,\"maxLength\",null,\"hidden\",false,\"customValidation\",\"\",\"patternType\",\"\",\"hideValidationMessage\",false,\"textBefore\",\"\",\"validationMessage\",\"\",\"textSize\",\"default\",\"textAfter\",\"\",\"showInEditor\",false,\"showClear\",false,\"pattern\",\"\",\"tooltipText\",\"\",\"labelAlign\",\"left\",\"formDataKey\",\"{{ self.id }}\",\"value\",\"{{ selectedCharacter.value.image_url }}\",\"labelCaption\",\"\",\"labelWidth\",\"33\",\"autoFill\",\"\",\"placeholder\",\"Enter value\",\"label\",\"Image URL\",\"_validate\",false,\"labelWidthUnit\",\"%\",\"invalid\",false,\"iconBefore\",\"\",\"minLength\",null,\"inputTooltip\",\"~`Enter` to save, `Esc` to cancel\",\"events\",[\"^D\",[[\"^3\",[\"event\",\"change\",\"type\",\"datasource\",\"method\",\"trigger\",\"pluginId\",\"updateCharacter\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"autoCapitalize\",\"none\",\"loading\",false,\"labelPosition\",\"left\",\"labelWrap\",false,\"maintainSpaceWhenHidden\",false,\"required\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"tabbedContainer1\",\"^E\",\"body\",\"^F\",\"1f91b\",\"row\",3.2000000000000006,\"col\",0,\"^G\",0.6,\"^H\",12,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673894481136\",\"^A\",\"~m1673896653400\",\"^B\",\"\",\"^C\",null]]],\"image4\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"image4\",\"^4\",\"widget\",\"^5\",\"ImageWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"fixed\",\"horizontalAlign\",\"center\",\"srcWidth\",null,\"clickable\",false,\"flipVertical\",false,\"src\",\"{{ editCharacterImage.value }}\",\"hidden\",false,\"srcHeight\",null,\"showInEditor\",false,\"tooltipText\",\"\",\"fit\",\"contain\",\"flipHorizontal\",false,\"aspectRatio\",null,\"storageBlobId\",\"\",\"altText\",\"\",\"dbBlobId\",\"\",\"events\",[\"^3\",[]],\"srcType\",\"src\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"tabbedContainer1\",\"^E\",\"body\",\"^F\",\"1f91b\",\"row\",3.8000000000000003,\"col\",0,\"^G\",3.1999999999999993,\"^H\",12,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673894608907\",\"^A\",\"~m1673894691369\",\"^B\",\"\",\"^C\",null]]],\"button6\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"button6\",\"^4\",\"widget\",\"^5\",\"ButtonWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"horizontalAlign\",\"stretch\",\"clickable\",false,\"iconAfter\",\"\",\"submitTargetId\",null,\"hidden\",false,\"text\",\"Delete Character\",\"showInEditor\",false,\"tooltipText\",\"\",\"style\",[\"^3\",[\"background\",\"danger\"]],\"styleVariant\",\"solid\",\"submit\",false,\"iconBefore\",\"\",\"events\",[\"^D\",[[\"^3\",[\"event\",\"click\",\"type\",\"datasource\",\"method\",\"trigger\",\"pluginId\",\"deleteCharacter\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"loading\",false,\"loaderPosition\",\"auto\",\"disabled\",false,\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"tabbedContainer1\",\"^E\",\"body\",\"^F\",\"1f91b\",\"row\",7.799999999999999,\"col\",3,\"^G\",1,\"^H\",6,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673894746446\",\"^A\",\"~m1676226418067\",\"^B\",\"\",\"^C\",null]]],\"editCharacterFullName\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"editCharacterFullName\",\"^4\",\"widget\",\"^5\",\"EditableTextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"spellCheck\",false,\"readOnly\",false,\"iconAfter\",\"\",\"editIcon\",\"bold/interface-edit-write-1\",\"inputValue\",\"\",\"autoComplete\",false,\"maxLength\",null,\"hidden\",false,\"customValidation\",\"\",\"patternType\",\"\",\"hideValidationMessage\",false,\"textBefore\",\"\",\"validationMessage\",\"\",\"textSize\",\"default\",\"textAfter\",\"\",\"showInEditor\",false,\"showClear\",false,\"pattern\",\"\",\"tooltipText\",\"\",\"labelAlign\",\"left\",\"formDataKey\",\"{{ self.id }}\",\"value\",\"{{ selectedCharacter.value.full_name }}\",\"labelCaption\",\"\",\"labelWidth\",\"33\",\"autoFill\",\"\",\"placeholder\",\"Enter value\",\"label\",\"Full Name\",\"_validate\",false,\"labelWidthUnit\",\"%\",\"invalid\",false,\"iconBefore\",\"\",\"minLength\",null,\"inputTooltip\",\"~`Enter` to save, `Esc` to cancel\",\"events\",[\"^D\",[[\"^3\",[\"event\",\"change\",\"type\",\"datasource\",\"method\",\"trigger\",\"pluginId\",\"updateCharacter\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"autoCapitalize\",\"none\",\"loading\",false,\"labelPosition\",\"left\",\"labelWrap\",false,\"maintainSpaceWhenHidden\",false,\"required\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"tabbedContainer1\",\"^E\",\"body\",\"^F\",\"1f91b\",\"row\",1.2000000000000002,\"col\",0,\"^G\",0.6,\"^H\",12,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673894831441\",\"^A\",\"~m1673896624614\",\"^B\",\"\",\"^C\",null]]],\"editCharacterHP\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"editCharacterHP\",\"^4\",\"widget\",\"^5\",\"NumberInputWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"readOnly\",false,\"iconAfter\",\"\",\"max\",null,\"preventScroll\",false,\"inputValue\",0,\"hidden\",false,\"customValidation\",\"\",\"showSeparators\",true,\"hideValidationMessage\",false,\"textBefore\",\"\",\"validationMessage\",\"\",\"textAfter\",\"\",\"showInEditor\",false,\"allowNull\",false,\"showClear\",false,\"tooltipText\",\"\",\"currency\",\"USD\",\"labelAlign\",\"left\",\"formDataKey\",\"{{ self.id }}\",\"value\",\"{{ selectedCharacter.value.hp }}\",\"labelCaption\",\"\",\"min\",null,\"labelWidth\",\"33\",\"placeholder\",\"Enter value\",\"showStepper\",true,\"label\",\"HP\",\"_validate\",false,\"labelWidthUnit\",\"%\",\"invalid\",false,\"format\",\"decimal\",\"iconBefore\",\"\",\"textAlign\",\"left\",\"inputTooltip\",\"\",\"events\",[\"^D\",[[\"^3\",[\"event\",\"change\",\"type\",\"datasource\",\"method\",\"trigger\",\"pluginId\",\"updateCharacter\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"loading\",false,\"disabled\",false,\"labelPosition\",\"left\",\"decimalPlaces\",null,\"labelWrap\",false,\"padDecimal\",false,\"maintainSpaceWhenHidden\",false,\"required\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"tabbedContainer1\",\"^E\",\"body\",\"^F\",\"1f91b\",\"row\",0,\"col\",0,\"^G\",1,\"^H\",6,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673894944480\",\"^A\",\"~m1673896598689\",\"^B\",\"\",\"^C\",null]]],\"editCharacterAP\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"editCharacterAP\",\"^4\",\"widget\",\"^5\",\"NumberInputWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"readOnly\",false,\"iconAfter\",\"\",\"max\",null,\"preventScroll\",false,\"inputValue\",0,\"hidden\",false,\"customValidation\",\"\",\"showSeparators\",true,\"hideValidationMessage\",false,\"textBefore\",\"\",\"validationMessage\",\"\",\"textAfter\",\"\",\"showInEditor\",false,\"allowNull\",false,\"showClear\",false,\"tooltipText\",\"\",\"currency\",\"USD\",\"labelAlign\",\"left\",\"formDataKey\",\"{{ self.id }}\",\"value\",\"{{ selectedCharacter.value.ap }}\",\"labelCaption\",\"\",\"min\",null,\"labelWidth\",\"33\",\"placeholder\",\"Enter value\",\"showStepper\",true,\"label\",\"AP\",\"_validate\",false,\"labelWidthUnit\",\"%\",\"invalid\",false,\"format\",\"decimal\",\"iconBefore\",\"\",\"textAlign\",\"left\",\"inputTooltip\",\"\",\"events\",[\"^D\",[[\"^3\",[\"event\",\"change\",\"type\",\"datasource\",\"method\",\"trigger\",\"pluginId\",\"updateCharacter\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"loading\",false,\"disabled\",false,\"labelPosition\",\"left\",\"decimalPlaces\",null,\"labelWrap\",false,\"padDecimal\",false,\"maintainSpaceWhenHidden\",false,\"required\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"tabbedContainer1\",\"^E\",\"body\",\"^F\",\"1f91b\",\"row\",0,\"col\",6,\"^G\",1,\"^H\",6,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673894967491\",\"^A\",\"~m1673896611834\",\"^B\",\"\",\"^C\",null]]],\"divider2\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"divider2\",\"^4\",\"widget\",\"^5\",\"DividerWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"hidden\",false,\"maintainSpaceWhenHidden\",false,\"showInEditor\",false,\"tooltipText\",\"\",\"horizontalAlign\",\"center\",\"text\",\"\",\"textSize\",\"default\"]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"tabbedContainer1\",\"^E\",\"body\",\"^F\",\"1f91b\",\"row\",1,\"col\",0,\"^G\",0.2,\"^H\",12,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673895011712\",\"^A\",\"~m1673895011712\",\"^B\",\"\",\"^C\",null]]],\"updateCharacter\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"updateCharacter\",\"^4\",\"datasource\",\"^5\",\"SqlQueryUnified\",\"^6\",null,\"^7\",\"579e96f7-980f-44e8-b2f4-688cd2da3660\",\"^8\",\"retool_db\",\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"records\",\"\",\"lastReceivedFromResourceAt\",null,\"databasePasswordOverride\",\"\",\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"successMessage\",\"Character updated successfully!\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",false,\"showFailureToaster\",true,\"query\",\"update ttrpg_characters\\nset\\n ap = {{ editCharacterAP.value }},\\n hp = {{ editCharacterHP.value }},\\n full_name = {{ editCharacterFullName.value }},\\n short_name = {{ editCharacterShortName.value }},\\n description = {{ editCharacterDescription.value }},\\n image_url = {{ editCharacterImage.value }}\\nwhere id = {{ selectedCharacter.value.id }};\\n\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^D\",[]],\"runWhenPageLoadsDelay\",\"\",\"warningCodes\",[\"^D\",[]],\"data\",null,\"recordId\",\"\",\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",false,\"dataArray\",[\"^D\",[]],\"cacheKeyTtl\",\"\",\"filterBy\",\"\",\"requestSentTimestamp\",null,\"databaseHostOverride\",\"\",\"metadata\",null,\"editorMode\",\"sql\",\"queryRunTime\",null,\"actionType\",\"INSERT\",\"changesetObject\",\"\",\"shouldUseLegacySql\",false,\"errorTransformer\",\"// The variable 'data' allows you to reference the request's data in the transformer. \\n// example: return data.find(element => element.isError)\\nreturn data.error\",\"finished\",null,\"databaseNameOverride\",\"\",\"confirmationMessage\",null,\"isFetching\",false,\"changeset\",\"[{\\\"key\\\":\\\"ap\\\",\\\"value\\\":\\\"10\\\"},{\\\"key\\\":\\\"hp\\\",\\\"value\\\":\\\"10\\\"},{\\\"key\\\":\\\"full_name\\\",\\\"value\\\":\\\"{{ newCharacterFullName.value }}\\\"},{\\\"key\\\":\\\"short_name\\\",\\\"value\\\":\\\"{{ newCharacterShortName.value }}\\\"},{\\\"key\\\":\\\"\\\",\\\"value\\\":\\\"{{ newCharacterDescription.value }}\\\"},{\\\"key\\\":\\\"image_url\\\",\\\"value\\\":\\\"{{ newCharacterImage.value || \\\\\\\"http://placekitten.com/g/200/300\\\\\\\" }}\\\"},{\\\"key\\\":\\\"\\\",\\\"value\\\":\\\"\\\"}]\",\"rawData\",null,\"queryTriggerDelay\",\"0\",\"resourceTypeOverride\",\"\",\"watchedParams\",[\"^D\",[]],\"enableErrorTransformer\",false,\"enableBulkUpdates\",false,\"showLatestVersionUpdatedWarning\",false,\"timestamp\",0,\"importedQueryDefaults\",[\"^3\",[]],\"enableTransformer\",false,\"showUpdateSetValueDynamicallyToggle\",true,\"bulkUpdatePrimaryKey\",\"\",\"runWhenPageLoads\",false,\"transformer\",\"// type your code here\\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\\nreturn data\",\"events\",[\"^D\",[[\"^3\",[\"event\",\"success\",\"type\",\"datasource\",\"method\",\"trigger\",\"pluginId\",\"listCharacters\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"tableName\",\"quest_characters\",\"queryTimeout\",\"10000\",\"requireConfirmation\",false,\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^D\",[]],\"databaseUsernameOverride\",\"\",\"shouldEnableBatchQuerying\",false,\"doNotThrowOnNoOp\",false,\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^:\",null,\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1673895503918\",\"^A\",\"~m1676509536191\",\"^B\",\"sql\",\"^C\",null]]],\"deleteCharacter\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"deleteCharacter\",\"^4\",\"datasource\",\"^5\",\"SqlQueryUnified\",\"^6\",null,\"^7\",\"579e96f7-980f-44e8-b2f4-688cd2da3660\",\"^8\",\"retool_db\",\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"records\",\"\",\"lastReceivedFromResourceAt\",null,\"databasePasswordOverride\",\"\",\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",false,\"showFailureToaster\",true,\"query\",\"delete from ttrpg_characters where id = {{ selectedCharacter.value.id }};\\n\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^D\",[]],\"runWhenPageLoadsDelay\",\"\",\"warningCodes\",[\"^D\",[]],\"data\",null,\"recordId\",\"\",\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"dataArray\",[\"^D\",[]],\"cacheKeyTtl\",\"\",\"filterBy\",\"\",\"requestSentTimestamp\",null,\"databaseHostOverride\",\"\",\"metadata\",null,\"editorMode\",\"sql\",\"queryRunTime\",null,\"actionType\",\"INSERT\",\"changesetObject\",\"\",\"shouldUseLegacySql\",false,\"errorTransformer\",\"// The variable 'data' allows you to reference the request's data in the transformer. \\n// example: return data.find(element => element.isError)\\nreturn data.error\",\"finished\",null,\"databaseNameOverride\",\"\",\"confirmationMessage\",\"Are you sure you want to delete this character?\",\"isFetching\",false,\"changeset\",\"[{\\\"key\\\":\\\"ap\\\",\\\"value\\\":\\\"10\\\"},{\\\"key\\\":\\\"hp\\\",\\\"value\\\":\\\"10\\\"},{\\\"key\\\":\\\"full_name\\\",\\\"value\\\":\\\"{{ newCharacterFullName.value }}\\\"},{\\\"key\\\":\\\"short_name\\\",\\\"value\\\":\\\"{{ newCharacterShortName.value }}\\\"},{\\\"key\\\":\\\"\\\",\\\"value\\\":\\\"{{ newCharacterDescription.value }}\\\"},{\\\"key\\\":\\\"image_url\\\",\\\"value\\\":\\\"{{ newCharacterImage.value || \\\\\\\"http://placekitten.com/g/200/300\\\\\\\" }}\\\"},{\\\"key\\\":\\\"\\\",\\\"value\\\":\\\"\\\"}]\",\"rawData\",null,\"queryTriggerDelay\",\"0\",\"resourceTypeOverride\",\"\",\"watchedParams\",[\"^D\",[]],\"enableErrorTransformer\",false,\"enableBulkUpdates\",false,\"showLatestVersionUpdatedWarning\",false,\"timestamp\",0,\"importedQueryDefaults\",[\"^3\",[]],\"enableTransformer\",false,\"showUpdateSetValueDynamicallyToggle\",true,\"bulkUpdatePrimaryKey\",\"\",\"runWhenPageLoads\",false,\"transformer\",\"// type your code here\\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\\nreturn data\",\"events\",[\"^D\",[[\"^3\",[\"event\",\"success\",\"type\",\"datasource\",\"method\",\"trigger\",\"pluginId\",\"listCharacters\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]],[\"^3\",[\"event\",\"success\",\"type\",\"state\",\"method\",\"setValue\",\"pluginId\",\"selectedCharacter\",\"targetId\",null,\"params\",[\"^3\",[\"value\",\"null\"]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"tableName\",\"quest_characters\",\"queryTimeout\",\"10000\",\"requireConfirmation\",true,\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^D\",[]],\"databaseUsernameOverride\",\"\",\"shouldEnableBatchQuerying\",false,\"doNotThrowOnNoOp\",false,\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^:\",null,\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1676226324331\",\"^A\",\"~m1676226601058\",\"^B\",\"sql\",\"^C\",null]]],\"select1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"select1\",\"^4\",\"widget\",\"^5\",\"SelectWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"imageByIndex\",[],\"_disabledByIndex\",[\"^D\",[]],\"showSelectionIndicator\",true,\"_values\",[\"^D\",[]],\"iconByIndex\",[],\"values\",\"{{ item.id }}\",\"readOnly\",false,\"iconAfter\",\"\",\"_iconByIndex\",[\"^D\",[]],\"overlayMinWidth\",null,\"allowDeselect\",false,\"inputValue\",\"\",\"hidden\",false,\"customValidation\",\"\",\"data\",\"{{ listItems.data }}\",\"searchMode\",\"fuzzy\",\"hideValidationMessage\",false,\"fallbackTextByIndex\",[],\"textBefore\",\"\",\"_fallbackTextByIndex\",[\"^D\",[]],\"selectedItem\",null,\"validationMessage\",\"\",\"automaticItemColors\",false,\"itemAdornmentShape\",\"circle\",\"textAfter\",\"\",\"showInEditor\",false,\"showClear\",false,\"tooltipText\",\"\",\"labelAlign\",\"left\",\"formDataKey\",\"{{ self.id }}\",\"value\",null,\"hiddenByIndex\",[],\"labelCaption\",\"\",\"labelWidth\",\"33\",\"deprecatedLabels\",[],\"_hiddenByIndex\",[\"^D\",[]],\"placeholder\",\"Select an option\",\"_captionByIndex\",[\"^D\",[]],\"itemAdornmentSize\",\"auto\",\"label\",\"Give Item...\",\"_hasMigratedNestedItems\",true,\"captionByIndex\",[],\"_validate\",false,\"itemMode\",\"dynamic\",\"labelWidthUnit\",\"%\",\"allowCustomValue\",false,\"invalid\",false,\"selectedIndex\",null,\"_tooltipByIndex\",[\"^D\",[]],\"_colorByIndex\",[\"^D\",[]],\"tooltipByIndex\",[],\"iconBefore\",\"\",\"colorByIndex\",[],\"selectedLabel\",\"\",\"events\",[\"^3\",[]],\"_ids\",[\"^D\",[]],\"emptyMessage\",\"No options\",\"overlayMaxHeight\",375,\"loading\",false,\"disabled\",false,\"labelPosition\",\"left\",\"_labels\",[\"^D\",[]],\"labelWrap\",false,\"disabledValues\",[],\"disabledByIndex\",[],\"maintainSpaceWhenHidden\",false,\"_imageByIndex\",[\"^D\",[]],\"required\",false,\"labels\",\"{{ item.name }}\"]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"tabbedContainer1\",\"^E\",\"body\",\"^F\",\"f0170\",\"row\",0,\"col\",0,\"^G\",1,\"^H\",10,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1676509303945\",\"^A\",\"~m1676509417016\",\"^B\",\"\",\"^C\",null]]],\"button7\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"button7\",\"^4\",\"widget\",\"^5\",\"ButtonWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"horizontalAlign\",\"center\",\"clickable\",false,\"iconAfter\",\"\",\"submitTargetId\",null,\"hidden\",false,\"text\",\"\",\"showInEditor\",false,\"tooltipText\",\"\",\"styleVariant\",\"solid\",\"submit\",false,\"iconBefore\",\"bold/interface-add-square\",\"events\",[\"^3\",[]],\"loading\",false,\"loaderPosition\",\"auto\",\"disabled\",false,\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^?\",\"tabbedContainer1\",\"^E\",\"body\",\"^F\",\"f0170\",\"row\",0,\"col\",10,\"^G\",1,\"^H\",2,\"^I\",0]]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1676509322339\",\"^A\",\"~m1676509334852\",\"^B\",\"\",\"^C\",null]]],\"listItems\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"listItems\",\"^4\",\"datasource\",\"^5\",\"SqlQueryUnified\",\"^6\",null,\"^7\",\"579e96f7-980f-44e8-b2f4-688cd2da3660\",\"^8\",\"retool_db\",\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"records\",\"\",\"lastReceivedFromResourceAt\",null,\"databasePasswordOverride\",\"\",\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",true,\"showFailureToaster\",true,\"query\",\"select * from ttrpg_items;\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^D\",[]],\"runWhenPageLoadsDelay\",\"\",\"warningCodes\",[\"^D\",[]],\"data\",null,\"recordId\",\"\",\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"dataArray\",[\"^D\",[]],\"cacheKeyTtl\",\"\",\"filterBy\",\"\",\"requestSentTimestamp\",null,\"databaseHostOverride\",\"\",\"metadata\",null,\"editorMode\",\"sql\",\"queryRunTime\",null,\"actionType\",\"\",\"changesetObject\",\"\",\"shouldUseLegacySql\",false,\"errorTransformer\",\"// The variable 'data' allows you to reference the request's data in the transformer. \\n// example: return data.find(element => element.isError)\\nreturn data.error\",\"finished\",null,\"databaseNameOverride\",\"\",\"confirmationMessage\",null,\"isFetching\",false,\"changeset\",\"\",\"rawData\",null,\"queryTriggerDelay\",\"0\",\"resourceTypeOverride\",null,\"watchedParams\",[\"^D\",[]],\"enableErrorTransformer\",false,\"enableBulkUpdates\",false,\"showLatestVersionUpdatedWarning\",false,\"timestamp\",0,\"importedQueryDefaults\",[\"^3\",[]],\"enableTransformer\",false,\"showUpdateSetValueDynamicallyToggle\",true,\"bulkUpdatePrimaryKey\",\"\",\"runWhenPageLoads\",false,\"transformer\",\"// type your code here\\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\\nreturn data\",\"events\",[\"^D\",[]],\"tableName\",\"\",\"queryTimeout\",\"10000\",\"requireConfirmation\",false,\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^D\",[]],\"databaseUsernameOverride\",\"\",\"shouldEnableBatchQuerying\",false,\"doNotThrowOnNoOp\",false,\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^:\",null,\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",\"\",\"^@\",\"~m1676509352942\",\"^A\",\"~m1676509377546\",\"^B\",\"sql\",\"^C\",null]]]]],\"^@\",null,\"version\",\"2.111.0\",\"appThemeId\",-1,\"appMaxWidth\",\"1560px\",\"preloadedAppJavaScript\",null,\"preloadedAppJSLinks\",[],\"testEntities\",[],\"tests\",[],\"appStyles\",\"\",\"responsiveLayoutDisabled\",false,\"loadingIndicatorsDisabled\",false,\"urlFragmentDefinitions\",[\"^D\",[]],\"pageLoadValueOverrides\",[\"^D\",[]],\"customDocumentTitle\",\"\",\"customDocumentTitleEnabled\",false,\"customShortcuts\",[],\"isGlobalWidget\",false,\"isMobileApp\",false,\"multiScreenMobileApp\",false,\"mobileAppSettings\",[\"^ \",\"mobileOfflineModeEnabled\",false],\"folders\",[\"^D\",[\"js\",\"sql\",\"state\"]],\"queryStatusVisibility\",false,\"markdownLinkBehavior\",\"auto\",\"inAppRetoolPillAppearance\",\"HIDE_MENU\",\"rootScreen\",null,\"instrumentationEnabled\",false,\"experimentalPerfFeatures\",[\"^ \",\"serverDepGraphEnabled\",false,\"useRuntimeV2\",false],\"experimentalStabilityFeatures\",[\"^ \",\"lockModelForUpdates\",false],\"experimentalDataTabEnabled\",true]]]"},"changesRecord":[{"type":"DATASOURCE_TYPE_CHANGE","payload":{"newType":"SqlQueryUnified","pluginId":"updateCharacter","resourceName":"579e96f7-980f-44e8-b2f4-688cd2da3660"}},{"type":"WIDGET_TEMPLATE_UPDATE","payload":{"plugin":{"id":"updateCharacter","type":"datasource","style":null,"folder":"sql","screen":null,"subtype":"SqlQueryUnified","tabIndex":null,"template":{"data":null,"error":null,"query":"","events":[],"rawData":null,"records":"","filterBy":"","finished":null,"metadata":null,"recordId":"","changeset":"","dataArray":[],"tableName":"","timestamp":0,"actionType":"","editorMode":"sql","isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","servedFromCache":false,"doNotThrowOnNoOp":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableBulkUpdates":false,"enableTransformer":false,"queryThrottleTime":"750","queryTriggerDelay":"0","shouldUseLegacySql":false,"showFailureToaster":true,"showSuccessToaster":true,"importedQueryInputs":{},"playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":true,"bulkUpdatePrimaryKey":"","databaseHostOverride":"","databaseNameOverride":"","notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"queryFailureConditions":"","databasePasswordOverride":"","databaseUsernameOverride":"","shouldEnableBatchQuerying":false,"updateSetValueDynamically":false,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-01-16T18:58:23.918Z","namespace":null,"position2":null,"updatedAt":"2023-02-12T18:31:49.281Z","resourceName":"579e96f7-980f-44e8-b2f4-688cd2da3660","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"update":{"data":null,"error":null,"query":"update ttrpg_characters\nset\n ap = {{ editCharacterAP.value }},\n hp = {{ editCharacterHP.value }},\n full_name = {{ editCharacterFullName.value }},\n short_name = {{ editCharacterShortName.value }},\n description = {{ editCharacterDescription.value }},\n image_url = {{ editCharacterImage.value }}\nwhere id = {{ selectedCharacter.value.id }};\n","events":[{"type":"datasource","event":"success","method":"trigger","params":{},"waitMs":"0","pluginId":"listCharacters","targetId":null,"waitType":"debounce"}],"rawData":null,"records":"","filterBy":"","finished":null,"metadata":null,"recordId":"","changeset":"[{\"key\":\"ap\",\"value\":\"10\"},{\"key\":\"hp\",\"value\":\"10\"},{\"key\":\"full_name\",\"value\":\"{{ newCharacterFullName.value }}\"},{\"key\":\"short_name\",\"value\":\"{{ newCharacterShortName.value }}\"},{\"key\":\"\",\"value\":\"{{ newCharacterDescription.value }}\"},{\"key\":\"image_url\",\"value\":\"{{ newCharacterImage.value || \\\"http://placekitten.com/g/200/300\\\" }}\"},{\"key\":\"\",\"value\":\"\"}]","dataArray":[],"tableName":"quest_characters","timestamp":0,"actionType":"INSERT","editorMode":"sql","isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10000","warningCodes":[],"allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"Character updated successfully!","changesetObject":"","servedFromCache":false,"doNotThrowOnNoOp":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableBulkUpdates":false,"enableTransformer":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","shouldUseLegacySql":false,"showFailureToaster":true,"showSuccessToaster":false,"confirmationMessage":null,"importedQueryInputs":{},"playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"bulkUpdatePrimaryKey":"","databaseHostOverride":"","databaseNameOverride":"","notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":"","importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"queryFailureConditions":"","databasePasswordOverride":"","databaseUsernameOverride":"","shouldEnableBatchQuerying":false,"updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"widgetId":"updateCharacter","shouldRecalculateTemplate":true},"isUserTriggered":true}],"gitSha":null,"checksum":null,"createdAt":"2023-02-16T01:05:36.301Z","updatedAt":"2023-02-16T01:05:36.301Z","pageId":1738079,"userId":485065,"branchId":null},"modules":{"Global Sidebar":{"moduleSaveId":120337955,"moduleName":"Global Sidebar","moduleUuid":"b98e229c-92a9-11ed-810b-6fbf2b147eea","releasedTagId":null,"data":{"appState":"[\"~#iR\",[\"^ \",\"n\",\"appTemplate\",\"v\",[\"^ \",\"isFetching\",false,\"plugins\",[\"~#iOM\",[\"moduleContainer\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"moduleContainer\",\"type\",\"widget\",\"subtype\",\"ModuleContainerWidget\",\"namespace\",null,\"resourceName\",null,\"resourceDisplayName\",null,\"template\",[\"^3\",[\"heightType\",\"fixed\",\"spinWhenChildrenAreFetching\",true,\"showBorder\",true,\"showDropShadow\",true,\"isGlobalWidgetContainer\",true,\"backgroundColor\",\"white\",\"title\",\"\",\"overflowType\",\"hidden\",\"disabled\",\"\"]],\"style\",null,\"position2\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"container\",\"\",\"rowGroup\",\"body\",\"subcontainer\",\"\",\"row\",0,\"col\",0,\"height\",12,\"width\",12,\"tabNum\",0]]],\"mobilePosition2\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"\",\"^=\",\"body\",\"^>\",\"\",\"row\",0,\"col\",0,\"^?\",12,\"^@\",12,\"^A\",0]]],\"mobileAppPosition\",null,\"tabIndex\",null,\"^<\",\"\",\"createdAt\",\"~m1673549317850\",\"updatedAt\",\"~m1673549317850\",\"folder\",\"\",\"screen\",null]]],\"text1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text1\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"center\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"### Retool RPG\",\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"moduleContainer\",\"^=\",\"body\",\"^>\",\"\",\"row\",3,\"col\",0,\"^?\",0.6,\"^@\",12,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673549324490\",\"^F\",\"~m1673891198875\",\"^G\",\"\",\"^H\",null]]],\"$main\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"$main\",\"^4\",\"frame\",\"^5\",\"Frame\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"type\",\"main\",\"sticky\",false,\"isHiddenOnDesktop\",false,\"isHiddenOnMobile\",false]],\"^:\",[\"^3\",[]],\"^;\",null,\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673549324564\",\"^F\",\"~m1673549324564\",\"^G\",\"\",\"^H\",null]]],\"navigation1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"navigation1\",\"^4\",\"widget\",\"^5\",\"NavigationWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"_disabledByIndex\",[\"~#iL\",[\"\",\"\"]],\"heightType\",\"auto\",\"iconByIndex\",[],\"srcWidth\",null,\"_iconByIndex\",[\"^I\",[\"\",\"\"]],\"src\",\"\",\"overflowMode\",\"scroll\",\"_parentKeyByIndex\",[\"^I\",[\"\",\"\"]],\"_highlightByIndex\",[\"^I\",[\"\",\"\"]],\"parentKeyByIndex\",[],\"highlightByIndex\",[],\"_appTargetByIndex\",[\"^I\",[\"87701b90-92b2-11ed-b072-13fe1ea2c3e2\",\"300a883a-92a9-11ed-a0c2-577033edaee5\"]],\"appTargetByIndex\",[],\"hidden\",false,\"data\",[],\"srcHeight\",null,\"itemTypeByIndex\",[],\"showInEditor\",false,\"_itemTypeByIndex\",[\"^I\",[\"app\",\"app\"]],\"orientation\",\"vertical\",\"tooltipText\",\"\",\"hiddenByIndex\",[],\"_hiddenByIndex\",[\"^I\",[\"\",\"\"]],\"storageBlobId\",\"\",\"_captionByIndex\",[\"^I\",[\"\",\"\"]],\"_hasMigratedNestedItems\",true,\"captionByIndex\",[],\"altText\",\"\",\"itemMode\",\"static\",\"dbBlobId\",\"\",\"_tooltipByIndex\",[\"^I\",[\"\",\"\"]],\"_automaticallyHighlightedIndices\",[],\"tooltipByIndex\",[],\"events\",[\"^3\",[]],\"_ids\",[\"^I\",[\"a5345\",\"be408\"]],\"iconPositionByIndex\",[],\"_iconPositionByIndex\",[\"^I\",[\"\",\"\"]],\"_keyByIndex\",[\"^I\",[\"\",\"\"]],\"disabled\",false,\"keyByIndex\",[],\"_labels\",[\"^I\",[\"\",\"\"]],\"srcType\",\"src\",\"disabledByIndex\",[],\"horizontalAlignment\",\"left\",\"maintainSpaceWhenHidden\",false,\"labels\",[]]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"moduleContainer\",\"^=\",\"body\",\"^>\",\"\",\"row\",3.600000000000001,\"col\",0,\"^?\",0.8,\"^@\",12,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673549353193\",\"^F\",\"~m1673554747068\",\"^G\",\"\",\"^H\",null]]],\"image1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"image1\",\"^4\",\"widget\",\"^5\",\"ImageWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"fixed\",\"horizontalAlign\",\"center\",\"srcWidth\",1024,\"clickable\",false,\"flipVertical\",false,\"src\",\"https://placekitten.com/400/300\",\"hidden\",false,\"srcHeight\",741,\"showInEditor\",false,\"tooltipText\",\"\",\"fit\",\"cover\",\"flipHorizontal\",false,\"aspectRatio\",null,\"storageBlobId\",\"fe787d58-b13c-484d-b8bd-c4a181dd2726\",\"altText\",\"\",\"dbBlobId\",\"\",\"events\",[\"^3\",[]],\"srcType\",\"storageBlobId\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"moduleContainer\",\"^=\",\"body\",\"^>\",\"\",\"row\",0,\"col\",0,\"^?\",3,\"^@\",12,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673549398140\",\"^F\",\"~m1673558343593\",\"^G\",\"\",\"^H\",null]]],\"button1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"button1\",\"^4\",\"widget\",\"^5\",\"ButtonWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"horizontalAlign\",\"stretch\",\"clickable\",false,\"iconAfter\",\"\",\"submitTargetId\",null,\"hidden\",false,\"text\",\"Roll a Dice\",\"showInEditor\",false,\"tooltipText\",\"\",\"styleVariant\",\"solid\",\"submit\",false,\"iconBefore\",\"bold/entertainment-leisure-chess-piece-dice\",\"events\",[\"^I\",[[\"^3\",[\"event\",\"click\",\"type\",\"script\",\"method\",\"run\",\"pluginId\",\"\",\"targetId\",null,\"params\",[\"^3\",[\"src\",\"function rng(min, max) {\\n return Math.floor(\\n Math.random() * (max - min + 1) + min\\n );\\n}\\n\\nconst rollValue = rng(1, 20);\\nlet rollText = `${rollValue} : `;\\n\\nif (rollValue === 20) {\\n rollText += `<span style=\\\"color:green;font-style:italic;\\\">Triumph!</span>`;\\n} else if (rollValue < 20 && rollValue >= 11) {\\n rollText += `<span style=\\\"color:green;\\\">Success</span>`;\\n} else if (rollValue < 11 && rollValue >= 6) {\\n rollText += `<span style=\\\"color:gray;\\\">Tough Choice</span>`;\\n} else if (rollValue < 6 && rollValue > 1) {\\n rollText += `<span style=\\\"color:red;\\\">Failure</span>`;\\n} else {\\n rollText += `<span style=\\\"color:red;font-style:italic;\\\">Catastrophe!</span>`;\\n}\\n\\ndiceResult.setValue(rollText);\"]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"loading\",false,\"loaderPosition\",\"auto\",\"disabled\",false,\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"moduleContainer\",\"^=\",\"body\",\"^>\",\"\",\"row\",5.199999999999999,\"col\",0,\"^?\",1,\"^@\",12,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673553225353\",\"^F\",\"~m1673554118753\",\"^G\",\"\",\"^H\",null]]],\"text2\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text2\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"center\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"#### {{ diceResult.value }}\",\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"moduleContainer\",\"^=\",\"body\",\"^>\",\"\",\"row\",4.6,\"col\",0,\"^?\",0.6,\"^@\",12,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673553261777\",\"^F\",\"~m1673554199899\",\"^G\",\"\",\"^H\",null]]],\"diceResult\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"diceResult\",\"^4\",\"state\",\"^5\",\"State\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"_persistedValueGetter\",null,\"_persistedValueSetter\",null,\"persistValue\",false,\"persistedValueKey\",\"\",\"value\",\"--\"]],\"^:\",null,\"^;\",null,\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673553278828\",\"^F\",\"~m1673553311817\",\"^G\",\"\",\"^H\",null]]],\"divider2\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"divider2\",\"^4\",\"widget\",\"^5\",\"DividerWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"hidden\",false,\"maintainSpaceWhenHidden\",false,\"showInEditor\",false,\"tooltipText\",\"\",\"horizontalAlign\",\"center\",\"text\",\"\",\"textSize\",\"default\"]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"moduleContainer\",\"^=\",\"body\",\"^>\",\"\",\"row\",4.4,\"col\",0,\"^?\",0.2,\"^@\",12,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673557928786\",\"^F\",\"~m1673557928786\",\"^G\",\"\",\"^H\",null]]]]],\"^E\",null,\"version\",\"2.107.1\",\"appThemeId\",null,\"appMaxWidth\",\"1560px\",\"preloadedAppJavaScript\",null,\"preloadedAppJSLinks\",[],\"testEntities\",[],\"tests\",[],\"appStyles\",\"\",\"responsiveLayoutDisabled\",false,\"loadingIndicatorsDisabled\",false,\"urlFragmentDefinitions\",[\"^I\",[]],\"pageLoadValueOverrides\",[\"^I\",[]],\"customDocumentTitle\",\"\",\"customDocumentTitleEnabled\",false,\"customShortcuts\",[],\"isGlobalWidget\",true,\"isMobileApp\",false,\"multiScreenMobileApp\",false,\"mobileAppSettings\",[\"^ \",\"mobileOfflineModeEnabled\",false],\"folders\",[\"^I\",[]],\"queryStatusVisibility\",false,\"markdownLinkBehavior\",\"auto\",\"inAppRetoolPillAppearance\",\"NO_OVERRIDE\",\"rootScreen\",null,\"instrumentationEnabled\",false,\"experimentalPerfFeatures\",[\"^ \",\"serverDepGraphEnabled\",false,\"useRuntimeV2\",false],\"experimentalStabilityFeatures\",[\"^ \",\"lockModelForUpdates\",false],\"experimentalDataTabEnabled\",true]]]"}}}}
{"uuid":"b98e229c-92a9-11ed-810b-6fbf2b147eea","page":{"id":128358488,"data":{"appState":"[\"~#iR\",[\"^ \",\"n\",\"appTemplate\",\"v\",[\"^ \",\"isFetching\",false,\"plugins\",[\"~#iOM\",[\"moduleContainer\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"moduleContainer\",\"type\",\"widget\",\"subtype\",\"ModuleContainerWidget\",\"namespace\",null,\"resourceName\",null,\"resourceDisplayName\",null,\"template\",[\"^3\",[\"heightType\",\"fixed\",\"spinWhenChildrenAreFetching\",true,\"showBorder\",true,\"showDropShadow\",true,\"isGlobalWidgetContainer\",true,\"backgroundColor\",\"white\",\"title\",\"\",\"overflowType\",\"hidden\",\"disabled\",\"\"]],\"style\",null,\"position2\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"container\",\"\",\"rowGroup\",\"body\",\"subcontainer\",\"\",\"row\",0,\"col\",0,\"height\",12,\"width\",12,\"tabNum\",0]]],\"mobilePosition2\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"\",\"^=\",\"body\",\"^>\",\"\",\"row\",0,\"col\",0,\"^?\",12,\"^@\",12,\"^A\",0]]],\"mobileAppPosition\",null,\"tabIndex\",null,\"^<\",\"\",\"createdAt\",\"~m1673549317850\",\"updatedAt\",\"~m1673549317850\",\"folder\",\"\",\"screen\",null]]],\"text1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text1\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"center\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"### Retool RPG\",\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"moduleContainer\",\"^=\",\"body\",\"^>\",\"\",\"row\",3,\"col\",0,\"^?\",0.6,\"^@\",12,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673549324490\",\"^F\",\"~m1673891198875\",\"^G\",\"\",\"^H\",null]]],\"$main\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"$main\",\"^4\",\"frame\",\"^5\",\"Frame\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"type\",\"main\",\"sticky\",false,\"isHiddenOnDesktop\",false,\"isHiddenOnMobile\",false]],\"^:\",[\"^3\",[]],\"^;\",null,\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673549324564\",\"^F\",\"~m1673549324564\",\"^G\",\"\",\"^H\",null]]],\"navigation1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"navigation1\",\"^4\",\"widget\",\"^5\",\"NavigationWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"_disabledByIndex\",[\"~#iL\",[\"\",\"\"]],\"heightType\",\"auto\",\"iconByIndex\",[],\"srcWidth\",null,\"_iconByIndex\",[\"^I\",[\"\",\"\"]],\"src\",\"\",\"overflowMode\",\"scroll\",\"_parentKeyByIndex\",[\"^I\",[\"\",\"\"]],\"_highlightByIndex\",[\"^I\",[\"\",\"\"]],\"parentKeyByIndex\",[],\"highlightByIndex\",[],\"_appTargetByIndex\",[\"^I\",[\"87701b90-92b2-11ed-b072-13fe1ea2c3e2\",\"300a883a-92a9-11ed-a0c2-577033edaee5\"]],\"appTargetByIndex\",[],\"hidden\",false,\"data\",[],\"srcHeight\",null,\"itemTypeByIndex\",[],\"showInEditor\",false,\"_itemTypeByIndex\",[\"^I\",[\"app\",\"app\"]],\"orientation\",\"vertical\",\"tooltipText\",\"\",\"hiddenByIndex\",[],\"_hiddenByIndex\",[\"^I\",[\"\",\"\"]],\"storageBlobId\",\"\",\"_captionByIndex\",[\"^I\",[\"\",\"\"]],\"_hasMigratedNestedItems\",true,\"captionByIndex\",[],\"altText\",\"\",\"itemMode\",\"static\",\"dbBlobId\",\"\",\"_tooltipByIndex\",[\"^I\",[\"\",\"\"]],\"_automaticallyHighlightedIndices\",[],\"tooltipByIndex\",[],\"events\",[\"^3\",[]],\"_ids\",[\"^I\",[\"a5345\",\"be408\"]],\"iconPositionByIndex\",[],\"_iconPositionByIndex\",[\"^I\",[\"\",\"\"]],\"_keyByIndex\",[\"^I\",[\"\",\"\"]],\"disabled\",false,\"keyByIndex\",[],\"_labels\",[\"^I\",[\"\",\"\"]],\"srcType\",\"src\",\"disabledByIndex\",[],\"horizontalAlignment\",\"left\",\"maintainSpaceWhenHidden\",false,\"labels\",[]]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"moduleContainer\",\"^=\",\"body\",\"^>\",\"\",\"row\",3.600000000000001,\"col\",0,\"^?\",0.8,\"^@\",12,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673549353193\",\"^F\",\"~m1673554747068\",\"^G\",\"\",\"^H\",null]]],\"image1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"image1\",\"^4\",\"widget\",\"^5\",\"ImageWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"fixed\",\"horizontalAlign\",\"center\",\"srcWidth\",1024,\"clickable\",false,\"flipVertical\",false,\"src\",\"https://placekitten.com/400/300\",\"hidden\",false,\"srcHeight\",741,\"showInEditor\",false,\"tooltipText\",\"\",\"fit\",\"cover\",\"flipHorizontal\",false,\"aspectRatio\",null,\"storageBlobId\",\"fe787d58-b13c-484d-b8bd-c4a181dd2726\",\"altText\",\"\",\"dbBlobId\",\"\",\"events\",[\"^3\",[]],\"srcType\",\"storageBlobId\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"moduleContainer\",\"^=\",\"body\",\"^>\",\"\",\"row\",0,\"col\",0,\"^?\",3,\"^@\",12,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673549398140\",\"^F\",\"~m1673558343593\",\"^G\",\"\",\"^H\",null]]],\"button1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"button1\",\"^4\",\"widget\",\"^5\",\"ButtonWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"horizontalAlign\",\"stretch\",\"clickable\",false,\"iconAfter\",\"\",\"submitTargetId\",null,\"hidden\",false,\"text\",\"Roll a Dice\",\"showInEditor\",false,\"tooltipText\",\"\",\"styleVariant\",\"solid\",\"submit\",false,\"iconBefore\",\"bold/entertainment-leisure-chess-piece-dice\",\"events\",[\"^I\",[[\"^3\",[\"event\",\"click\",\"type\",\"script\",\"method\",\"run\",\"pluginId\",\"\",\"targetId\",null,\"params\",[\"^3\",[\"src\",\"function rng(min, max) {\\n return Math.floor(\\n Math.random() * (max - min + 1) + min\\n );\\n}\\n\\nconst rollValue = rng(1, 20);\\nlet rollText = `${rollValue} : `;\\n\\nif (rollValue === 20) {\\n rollText += `<span style=\\\"color:green;font-style:italic;\\\">Triumph!</span>`;\\n} else if (rollValue < 20 && rollValue >= 11) {\\n rollText += `<span style=\\\"color:green;\\\">Success</span>`;\\n} else if (rollValue < 11 && rollValue >= 6) {\\n rollText += `<span style=\\\"color:gray;\\\">Tough Choice</span>`;\\n} else if (rollValue < 6 && rollValue > 1) {\\n rollText += `<span style=\\\"color:red;\\\">Failure</span>`;\\n} else {\\n rollText += `<span style=\\\"color:red;font-style:italic;\\\">Catastrophe!</span>`;\\n}\\n\\ndiceResult.setValue(rollText);\"]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"loading\",false,\"loaderPosition\",\"auto\",\"disabled\",false,\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"moduleContainer\",\"^=\",\"body\",\"^>\",\"\",\"row\",5.199999999999999,\"col\",0,\"^?\",1,\"^@\",12,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673553225353\",\"^F\",\"~m1673554118753\",\"^G\",\"\",\"^H\",null]]],\"text2\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text2\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"center\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"#### {{ diceResult.value }}\",\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"moduleContainer\",\"^=\",\"body\",\"^>\",\"\",\"row\",4.6,\"col\",0,\"^?\",0.6,\"^@\",12,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673553261777\",\"^F\",\"~m1673554199899\",\"^G\",\"\",\"^H\",null]]],\"diceResult\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"diceResult\",\"^4\",\"state\",\"^5\",\"State\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"_persistedValueGetter\",null,\"_persistedValueSetter\",null,\"persistValue\",false,\"persistedValueKey\",\"\",\"value\",\"--\"]],\"^:\",null,\"^;\",null,\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673553278828\",\"^F\",\"~m1673553311817\",\"^G\",\"\",\"^H\",null]]],\"divider2\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"divider2\",\"^4\",\"widget\",\"^5\",\"DividerWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"hidden\",false,\"maintainSpaceWhenHidden\",false,\"showInEditor\",false,\"tooltipText\",\"\",\"horizontalAlign\",\"center\",\"text\",\"\",\"textSize\",\"default\"]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"moduleContainer\",\"^=\",\"body\",\"^>\",\"\",\"row\",4.4,\"col\",0,\"^?\",0.2,\"^@\",12,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673557928786\",\"^F\",\"~m1673557928786\",\"^G\",\"\",\"^H\",null]]]]],\"^E\",null,\"version\",\"2.111.0\",\"appThemeId\",null,\"appMaxWidth\",\"1560px\",\"preloadedAppJavaScript\",null,\"preloadedAppJSLinks\",[],\"testEntities\",[],\"tests\",[],\"appStyles\",\"\",\"responsiveLayoutDisabled\",false,\"loadingIndicatorsDisabled\",false,\"urlFragmentDefinitions\",[\"^I\",[]],\"pageLoadValueOverrides\",[\"^I\",[]],\"customDocumentTitle\",\"\",\"customDocumentTitleEnabled\",false,\"customShortcuts\",[],\"isGlobalWidget\",true,\"isMobileApp\",false,\"multiScreenMobileApp\",false,\"mobileAppSettings\",[\"^ \",\"mobileOfflineModeEnabled\",false],\"folders\",[\"^I\",[]],\"queryStatusVisibility\",false,\"markdownLinkBehavior\",\"auto\",\"inAppRetoolPillAppearance\",\"NO_OVERRIDE\",\"rootScreen\",null,\"instrumentationEnabled\",false,\"experimentalPerfFeatures\",[\"^ \",\"serverDepGraphEnabled\",false,\"useRuntimeV2\",false],\"experimentalStabilityFeatures\",[\"^ \",\"lockModelForUpdates\",false],\"experimentalDataTabEnabled\",true]]]"},"changesRecord":[{"type":"MIGRATIONS_SUCCESS","payload":{"migratedAppTemplate":{"tests":[],"folders":[],"plugins":{"$main":{"id":"$main","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"main","sticky":false,"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-01-12T18:48:44.564Z","namespace":null,"position2":null,"updatedAt":"2023-01-12T18:48:44.564Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text1":{"id":"text1","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### Retool RPG","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-01-12T18:48:44.490Z","namespace":null,"position2":{"col":0,"row":3,"width":12,"height":0.6,"tabNum":0,"rowGroup":"body","container":"moduleContainer","subcontainer":""},"updatedAt":"2023-01-16T17:46:38.875Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text2":{"id":"text2","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"#### {{ diceResult.value }}","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-01-12T19:54:21.777Z","namespace":null,"position2":{"col":0,"row":4.6,"width":12,"height":0.6,"tabNum":0,"rowGroup":"body","container":"moduleContainer","subcontainer":""},"updatedAt":"2023-01-12T20:09:59.899Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"image1":{"id":"image1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"cover","src":"https://placekitten.com/400/300","events":{},"hidden":false,"altText":"","srcType":"storageBlobId","dbBlobId":"","srcWidth":1024,"clickable":false,"srcHeight":741,"heightType":"fixed","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"fe787d58-b13c-484d-b8bd-c4a181dd2726","flipHorizontal":false,"horizontalAlign":"center","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-01-12T18:49:58.140Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":3,"tabNum":0,"rowGroup":"body","container":"moduleContainer","subcontainer":""},"updatedAt":"2023-01-12T21:19:03.593Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"button1":{"id":"button1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Roll a Dice","events":[{"type":"script","event":"click","method":"run","params":{"src":"function rng(min, max) {\n return Math.floor(\n Math.random() * (max - min + 1) + min\n );\n}\n\nconst rollValue = rng(1, 20);\nlet rollText = `${rollValue} : `;\n\nif (rollValue === 20) {\n rollText += `<span style=\"color:green;font-style:italic;\">Triumph!</span>`;\n} else if (rollValue < 20 && rollValue >= 11) {\n rollText += `<span style=\"color:green;\">Success</span>`;\n} else if (rollValue < 11 && rollValue >= 6) {\n rollText += `<span style=\"color:gray;\">Tough Choice</span>`;\n} else if (rollValue < 6 && rollValue > 1) {\n rollText += `<span style=\"color:red;\">Failure</span>`;\n} else {\n rollText += `<span style=\"color:red;font-style:italic;\">Catastrophe!</span>`;\n}\n\ndiceResult.setValue(rollText);"},"waitMs":"0","pluginId":"","targetId":null,"waitType":"debounce"}],"hidden":false,"submit":false,"loading":false,"disabled":false,"clickable":false,"iconAfter":"","iconBefore":"bold/entertainment-leisure-chess-piece-dice","tooltipText":"","showInEditor":false,"styleVariant":"solid","loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-01-12T19:53:45.353Z","namespace":null,"position2":{"col":0,"row":5.199999999999999,"width":12,"height":1,"tabNum":0,"rowGroup":"body","container":"moduleContainer","subcontainer":""},"updatedAt":"2023-01-12T20:08:38.753Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"divider2":{"id":"divider2","type":"widget","style":{},"folder":"","screen":null,"subtype":"DividerWidget","tabIndex":null,"template":{"text":"","hidden":false,"textSize":"default","tooltipText":"","showInEditor":false,"horizontalAlign":"center","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-01-12T21:12:08.786Z","namespace":null,"position2":{"col":0,"row":4.4,"width":12,"height":0.2,"tabNum":0,"rowGroup":"body","container":"moduleContainer","subcontainer":""},"updatedAt":"2023-01-12T21:12:08.786Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"diceResult":{"id":"diceResult","type":"state","style":null,"folder":"","screen":null,"subtype":"State","tabIndex":null,"template":{"value":"--","persistValue":false,"persistedValueKey":"","_persistedValueGetter":null,"_persistedValueSetter":null},"container":"","createdAt":"2023-01-12T19:54:38.828Z","namespace":null,"position2":null,"updatedAt":"2023-01-12T19:55:11.817Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"navigation1":{"id":"navigation1","type":"widget","style":{},"folder":"","screen":null,"subtype":"NavigationWidget2","tabIndex":null,"template":{"src":"","_ids":["a5345","be408"],"data":[],"events":{},"hidden":false,"labels":[],"_labels":["",""],"altText":"","srcType":"src","dbBlobId":"","disabled":false,"itemMode":"static","srcWidth":null,"srcHeight":null,"heightType":"auto","keyByIndex":[],"_keyByIndex":["",""],"iconByIndex":[],"orientation":"vertical","tooltipText":"","_iconByIndex":["",""],"overflowMode":"scroll","showInEditor":false,"hiddenByIndex":[],"storageBlobId":"","_hiddenByIndex":["",""],"captionByIndex":[],"tooltipByIndex":[],"_captionByIndex":["",""],"_tooltipByIndex":["",""],"disabledByIndex":[],"itemTypeByIndex":[],"_disabledByIndex":["",""],"_itemTypeByIndex":["app","app"],"appTargetByIndex":[],"highlightByIndex":[],"parentKeyByIndex":[],"_appTargetByIndex":["87701b90-92b2-11ed-b072-13fe1ea2c3e2","300a883a-92a9-11ed-a0c2-577033edaee5"],"_highlightByIndex":["",""],"_parentKeyByIndex":["",""],"horizontalAlignment":"left","iconPositionByIndex":[],"_iconPositionByIndex":["",""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false,"_automaticallyHighlightedIndices":[]},"container":"","createdAt":"2023-01-12T18:49:13.193Z","namespace":null,"position2":{"col":0,"row":3.600000000000001,"width":12,"height":0.8,"tabNum":0,"rowGroup":"body","container":"moduleContainer","subcontainer":""},"updatedAt":"2023-01-12T20:19:07.068Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"moduleContainer":{"id":"moduleContainer","type":"widget","style":null,"folder":"","screen":null,"subtype":"ModuleContainerWidget","tabIndex":null,"template":{"title":"","disabled":"","heightType":"fixed","showBorder":true,"overflowType":"hidden","showDropShadow":true,"backgroundColor":"white","isGlobalWidgetContainer":true,"spinWhenChildrenAreFetching":true},"container":"","createdAt":"2023-01-12T18:48:37.850Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":12,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-01-12T18:48:37.850Z","resourceName":null,"mobilePosition2":{"col":0,"row":0,"width":12,"height":12,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"mobileAppPosition":null,"resourceDisplayName":null}},"version":"2.111.0","appStyles":"","createdAt":null,"appThemeId":null,"isFetching":false,"rootScreen":null,"appMaxWidth":"1560px","isMobileApp":false,"testEntities":[],"isGlobalWidget":true,"customShortcuts":[],"mobileAppSettings":{"mobileOfflineModeEnabled":false},"customDocumentTitle":"","preloadedAppJSLinks":[],"markdownLinkBehavior":"auto","multiScreenMobileApp":false,"queryStatusVisibility":false,"instrumentationEnabled":false,"pageLoadValueOverrides":[],"preloadedAppJavaScript":null,"urlFragmentDefinitions":[],"experimentalPerfFeatures":{"useRuntimeV2":false,"serverDepGraphEnabled":false},"responsiveLayoutDisabled":false,"inAppRetoolPillAppearance":"NO_OVERRIDE","loadingIndicatorsDisabled":false,"customDocumentTitleEnabled":false,"experimentalDataTabEnabled":true,"experimentalStabilityFeatures":{"lockModelForUpdates":false}}}},{"type":"MIGRATIONS_SUCCESS","payload":{"migratedAppTemplate":{"tests":[],"folders":[],"plugins":{"$main":{"id":"$main","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"main","sticky":false,"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-01-12T18:48:44.564Z","namespace":null,"position2":null,"updatedAt":"2023-01-12T18:48:44.564Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text1":{"id":"text1","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### Retool RPG","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-01-12T18:48:44.490Z","namespace":null,"position2":{"col":0,"row":3,"width":12,"height":0.6,"tabNum":0,"rowGroup":"body","container":"moduleContainer","subcontainer":""},"updatedAt":"2023-01-16T17:46:38.875Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text2":{"id":"text2","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"#### {{ diceResult.value }}","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-01-12T19:54:21.777Z","namespace":null,"position2":{"col":0,"row":4.6,"width":12,"height":0.6,"tabNum":0,"rowGroup":"body","container":"moduleContainer","subcontainer":""},"updatedAt":"2023-01-12T20:09:59.899Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"image1":{"id":"image1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"cover","src":"https://placekitten.com/400/300","events":{},"hidden":false,"altText":"","srcType":"storageBlobId","dbBlobId":"","srcWidth":1024,"clickable":false,"srcHeight":741,"heightType":"fixed","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"fe787d58-b13c-484d-b8bd-c4a181dd2726","flipHorizontal":false,"horizontalAlign":"center","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-01-12T18:49:58.140Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":3,"tabNum":0,"rowGroup":"body","container":"moduleContainer","subcontainer":""},"updatedAt":"2023-01-12T21:19:03.593Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"button1":{"id":"button1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Roll a Dice","events":[{"type":"script","event":"click","method":"run","params":{"src":"function rng(min, max) {\n return Math.floor(\n Math.random() * (max - min + 1) + min\n );\n}\n\nconst rollValue = rng(1, 20);\nlet rollText = `${rollValue} : `;\n\nif (rollValue === 20) {\n rollText += `<span style=\"color:green;font-style:italic;\">Triumph!</span>`;\n} else if (rollValue < 20 && rollValue >= 11) {\n rollText += `<span style=\"color:green;\">Success</span>`;\n} else if (rollValue < 11 && rollValue >= 6) {\n rollText += `<span style=\"color:gray;\">Tough Choice</span>`;\n} else if (rollValue < 6 && rollValue > 1) {\n rollText += `<span style=\"color:red;\">Failure</span>`;\n} else {\n rollText += `<span style=\"color:red;font-style:italic;\">Catastrophe!</span>`;\n}\n\ndiceResult.setValue(rollText);"},"waitMs":"0","pluginId":"","targetId":null,"waitType":"debounce"}],"hidden":false,"submit":false,"loading":false,"disabled":false,"clickable":false,"iconAfter":"","iconBefore":"bold/entertainment-leisure-chess-piece-dice","tooltipText":"","showInEditor":false,"styleVariant":"solid","loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-01-12T19:53:45.353Z","namespace":null,"position2":{"col":0,"row":5.199999999999999,"width":12,"height":1,"tabNum":0,"rowGroup":"body","container":"moduleContainer","subcontainer":""},"updatedAt":"2023-01-12T20:08:38.753Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"divider2":{"id":"divider2","type":"widget","style":{},"folder":"","screen":null,"subtype":"DividerWidget","tabIndex":null,"template":{"text":"","hidden":false,"textSize":"default","tooltipText":"","showInEditor":false,"horizontalAlign":"center","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-01-12T21:12:08.786Z","namespace":null,"position2":{"col":0,"row":4.4,"width":12,"height":0.2,"tabNum":0,"rowGroup":"body","container":"moduleContainer","subcontainer":""},"updatedAt":"2023-01-12T21:12:08.786Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"diceResult":{"id":"diceResult","type":"state","style":null,"folder":"","screen":null,"subtype":"State","tabIndex":null,"template":{"value":"--","persistValue":false,"persistedValueKey":"","_persistedValueGetter":null,"_persistedValueSetter":null},"container":"","createdAt":"2023-01-12T19:54:38.828Z","namespace":null,"position2":null,"updatedAt":"2023-01-12T19:55:11.817Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"navigation1":{"id":"navigation1","type":"widget","style":{},"folder":"","screen":null,"subtype":"NavigationWidget2","tabIndex":null,"template":{"src":"","_ids":["a5345","be408"],"data":[],"events":{},"hidden":false,"labels":[],"_labels":["",""],"altText":"","srcType":"src","dbBlobId":"","disabled":false,"itemMode":"static","srcWidth":null,"srcHeight":null,"heightType":"auto","keyByIndex":[],"_keyByIndex":["",""],"iconByIndex":[],"orientation":"vertical","tooltipText":"","_iconByIndex":["",""],"overflowMode":"scroll","showInEditor":false,"hiddenByIndex":[],"storageBlobId":"","_hiddenByIndex":["",""],"captionByIndex":[],"tooltipByIndex":[],"_captionByIndex":["",""],"_tooltipByIndex":["",""],"disabledByIndex":[],"itemTypeByIndex":[],"_disabledByIndex":["",""],"_itemTypeByIndex":["app","app"],"appTargetByIndex":[],"highlightByIndex":[],"parentKeyByIndex":[],"_appTargetByIndex":["87701b90-92b2-11ed-b072-13fe1ea2c3e2","300a883a-92a9-11ed-a0c2-577033edaee5"],"_highlightByIndex":["",""],"_parentKeyByIndex":["",""],"horizontalAlignment":"left","iconPositionByIndex":[],"_iconPositionByIndex":["",""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false,"_automaticallyHighlightedIndices":[]},"container":"","createdAt":"2023-01-12T18:49:13.193Z","namespace":null,"position2":{"col":0,"row":3.600000000000001,"width":12,"height":0.8,"tabNum":0,"rowGroup":"body","container":"moduleContainer","subcontainer":""},"updatedAt":"2023-01-12T20:19:07.068Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"moduleContainer":{"id":"moduleContainer","type":"widget","style":null,"folder":"","screen":null,"subtype":"ModuleContainerWidget","tabIndex":null,"template":{"title":"","disabled":"","heightType":"fixed","showBorder":true,"overflowType":"hidden","showDropShadow":true,"backgroundColor":"white","isGlobalWidgetContainer":true,"spinWhenChildrenAreFetching":true},"container":"","createdAt":"2023-01-12T18:48:37.850Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":12,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-01-12T18:48:37.850Z","resourceName":null,"mobilePosition2":{"col":0,"row":0,"width":12,"height":12,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"mobileAppPosition":null,"resourceDisplayName":null}},"version":"2.111.0","appStyles":"","createdAt":null,"appThemeId":null,"isFetching":false,"rootScreen":null,"appMaxWidth":"1560px","isMobileApp":false,"testEntities":[],"isGlobalWidget":true,"customShortcuts":[],"mobileAppSettings":{"mobileOfflineModeEnabled":false},"customDocumentTitle":"","preloadedAppJSLinks":[],"markdownLinkBehavior":"auto","multiScreenMobileApp":false,"queryStatusVisibility":false,"instrumentationEnabled":false,"pageLoadValueOverrides":[],"preloadedAppJavaScript":null,"urlFragmentDefinitions":[],"experimentalPerfFeatures":{"useRuntimeV2":false,"serverDepGraphEnabled":false},"responsiveLayoutDisabled":false,"inAppRetoolPillAppearance":"NO_OVERRIDE","loadingIndicatorsDisabled":false,"customDocumentTitleEnabled":false,"experimentalDataTabEnabled":true,"experimentalStabilityFeatures":{"lockModelForUpdates":false}}}}],"gitSha":null,"checksum":null,"createdAt":"2023-02-16T01:38:45.996Z","updatedAt":"2023-02-16T01:38:45.996Z","pageId":1737875,"userId":485065,"branchId":null},"modules":{}}
{"uuid":"300a883a-92a9-11ed-a0c2-577033edaee5","page":{"id":128358449,"data":{"appState":"[\"~#iR\",[\"^ \",\"n\",\"appTemplate\",\"v\",[\"^ \",\"isFetching\",false,\"plugins\",[\"~#iOM\",[\"createItem\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"createItem\",\"type\",\"datasource\",\"subtype\",\"SqlQueryUnified\",\"namespace\",null,\"resourceName\",\"579e96f7-980f-44e8-b2f4-688cd2da3660\",\"resourceDisplayName\",\"retool_db\",\"template\",[\"^3\",[\"queryRefreshTime\",\"\",\"records\",\"\",\"lastReceivedFromResourceAt\",null,\"databasePasswordOverride\",\"\",\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",false,\"showFailureToaster\",true,\"query\",\"\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"~#iL\",[]],\"runWhenPageLoadsDelay\",\"\",\"data\",null,\"recordId\",\"\",\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"dataArray\",[\"^:\",[]],\"cacheKeyTtl\",\"\",\"filterBy\",\"\",\"requestSentTimestamp\",null,\"databaseHostOverride\",\"\",\"metadata\",null,\"editorMode\",\"gui\",\"queryRunTime\",null,\"actionType\",\"INSERT\",\"changesetObject\",\"\",\"shouldUseLegacySql\",false,\"errorTransformer\",\"// The variable 'data' allows you to reference the request's data in the transformer. \\n// example: return data.find(element => element.isError)\\nreturn data.error\",\"finished\",null,\"databaseNameOverride\",\"\",\"confirmationMessage\",null,\"isFetching\",false,\"changeset\",\"[{\\\"key\\\":\\\"rarity\\\",\\\"value\\\":\\\"{{ newItemRarity.value }}\\\"},{\\\"key\\\":\\\"name\\\",\\\"value\\\":\\\"{{ newItemName.value }}\\\"},{\\\"key\\\":\\\"description\\\",\\\"value\\\":\\\"{{ newItemDescription.value }}\\\"}]\",\"rawData\",null,\"queryTriggerDelay\",\"0\",\"resourceTypeOverride\",\"\",\"watchedParams\",[\"^:\",[]],\"enableErrorTransformer\",false,\"enableBulkUpdates\",false,\"showLatestVersionUpdatedWarning\",false,\"timestamp\",0,\"importedQueryDefaults\",[\"^3\",[]],\"enableTransformer\",false,\"showUpdateSetValueDynamicallyToggle\",true,\"bulkUpdatePrimaryKey\",\"\",\"runWhenPageLoads\",false,\"transformer\",\"// type your code here\\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\\nreturn data\",\"events\",[\"^:\",[[\"^3\",[\"event\",\"success\",\"type\",\"widget\",\"method\",\"close\",\"pluginId\",\"newItemModal\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]],[\"^3\",[\"event\",\"success\",\"type\",\"datasource\",\"method\",\"trigger\",\"pluginId\",\"listItems\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"tableName\",\"ttrpg_items\",\"queryTimeout\",\"10000\",\"requireConfirmation\",false,\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^:\",[]],\"databaseUsernameOverride\",\"\",\"shouldEnableBatchQuerying\",false,\"doNotThrowOnNoOp\",false,\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"style\",null,\"position2\",null,\"mobilePosition2\",null,\"mobileAppPosition\",null,\"tabIndex\",null,\"container\",\"\",\"createdAt\",\"~m1676229121618\",\"updatedAt\",\"~m1676509005709\",\"folder\",\"sql\",\"screen\",null]]],\"sidebarFrame1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"sidebarFrame1\",\"^4\",\"frame\",\"^5\",\"SidebarFrameWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"loading\",false,\"showFooter\",false,\"showHeader\",false,\"hidden\",false,\"isInEditMode\",false,\"isHiddenOnDesktop\",false,\"isHiddenOnMobile\",true,\"width\",\"small\"]],\"^;\",[\"^3\",[]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1673549202543\",\"^B\",\"~m1673549210969\",\"^C\",\"\",\"^D\",null]]],\"image1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"image1\",\"^4\",\"widget\",\"^5\",\"ImageWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"fixed\",\"horizontalAlign\",\"left\",\"srcWidth\",null,\"clickable\",false,\"flipVertical\",false,\"src\",\"https://retool-edge.com/83d4d9a1f1ecd17d111e6b4a014043cd.svg\",\"hidden\",false,\"srcHeight\",null,\"showInEditor\",false,\"tooltipText\",\"\",\"fit\",\"contain\",\"flipHorizontal\",false,\"aspectRatio\",null,\"storageBlobId\",\"\",\"altText\",\"\",\"dbBlobId\",\"\",\"events\",[\"^3\",[]],\"srcType\",\"src\",\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"\",\"rowGroup\",\"header\",\"subcontainer\",\"sidebarFrame1\",\"row\",0,\"col\",0,\"height\",1,\"width\",1,\"tabNum\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1673549202818\",\"^B\",\"~m1673549202818\",\"^C\",\"\",\"^D\",null]]],\"avatar1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"avatar1\",\"^4\",\"widget\",\"^5\",\"AvatarWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"fallback\",\"{{ current_user.fullName }}\",\"src\",\"{{ current_user.profilePhotoUrl }}\",\"hidden\",false,\"showInEditor\",false,\"tooltipText\",\"\",\"labelAlign\",\"left\",\"style\",[\"^3\",[\"background\",\"automatic\"]],\"labelCaption\",\"{{ current_user.email }}\",\"label\",\"{{ current_user.fullName }}\",\"icon\",\"\",\"imageSize\",32,\"labelPosition\",\"right\",\"labelWrap\",false,\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"\",\"^E\",\"footer\",\"^F\",\"sidebarFrame1\",\"row\",0,\"col\",0,\"^G\",0.2,\"^H\",1,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1673549202903\",\"^B\",\"~m1673549202903\",\"^C\",\"\",\"^D\",null]]],\"text1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text1\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"left\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"## Item Catalog\",\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"\",\"^E\",\"body\",\"^F\",\"\",\"row\",0,\"col\",0,\"^G\",0.6,\"^H\",6,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1673549262838\",\"^B\",\"~m1673549275017\",\"^C\",\"\",\"^D\",null]]],\"$main\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"$main\",\"^4\",\"frame\",\"^5\",\"Frame\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"type\",\"main\",\"sticky\",false,\"isHiddenOnDesktop\",false,\"isHiddenOnMobile\",false]],\"^;\",[\"^3\",[]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1673549262928\",\"^B\",\"~m1673549262928\",\"^C\",\"\",\"^D\",null]]],\"globalSidebar1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"globalSidebar1\",\"^4\",\"widget\",\"^5\",\"GlobalWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"showFetchingIndicator\",\"boolean\",\"heightType\",\"auto\",\"name\",\"Global Sidebar\",\"pageUuid\",\"b98e229c-92a9-11ed-810b-6fbf2b147eea\",\"childNamespace\",\"globalSidebar1\"]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"\",\"^E\",\"body\",\"^F\",\"sidebarFrame1\",\"row\",0,\"col\",0,\"^G\",2.4,\"^H\",1,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1673553017785\",\"^B\",\"~m1673553017785\",\"^C\",\"\",\"^D\",null]]],\"table1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"table1\",\"^4\",\"widget\",\"^5\",\"TableWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"showCustomButton\",false,\"sortMappedValue\",[\"^3\",[]],\"_filteredSortedRenderedDataWithTypes\",null,\"heightType\",\"fixed\",\"normalizedData\",null,\"rowHeight\",\"standard\",\"saveChangesDisabled\",\"\",\"columnTypeProperties\",[\"^3\",[\"rarity\",[\"^3\",[\"optionData\",\"{{ currentColumn }}\",\"colorMode\",\"auto\",\"allowCustomValue\",true,\"optionLabels\",[],\"optionColors\",[],\"optionValues\",[]]]]],\"columnWidths\",[\"^:\",[[\"^ \",\"id\",\"rarity\",\"value\",132.3984375],[\"^ \",\"id\",\"name\",\"^J\",181.8984375],[\"^ \",\"id\",\"created_at\",\"^J\",59],[\"^ \",\"id\",\"updated_at\",\"^J\",96.40625],[\"^ \",\"id\",\"description\",\"^J\",467.8984375]]],\"showSummaryFooter\",false,\"disableRowSelectInteraction\",false,\"columnWidthsMobile\",[\"^:\",[]],\"hasNextAfterCursor\",\"\",\"columnTypeSpecificExtras\",[\"^3\",[]],\"onRowAdded\",\"\",\"columnHeaderNames\",[\"^3\",[\"rarity\",\"Rarity\",\"name\",\"Item Name\",\"updated_at\",\"Updated\",\"created_at\",\"Created\",\"description\",\"Description\"]],\"alwaysShowPaginator\",false,\"columnColors\",[\"^3\",[]],\"columnFrozenAlignments\",[\"^3\",[]],\"allowMultiRowSelect\",false,\"columnFormats\",[\"^3\",[\"rarity\",\"SingleTagDataCell\"]],\"columnRestrictedEditing\",[\"^3\",[]],\"showFilterButton\",true,\"_columnVisibility\",[\"^3\",[\"id\",false,\"updated_at\",false,\"created_at\",false]],\"_columnSummaryTypes\",[\"^3\",[\"rarity\",\"\"]],\"_columnsWithLegacyBackgroundColor\",[\"~#iOS\",[]],\"showAddRowButton\",false,\"_unfilteredSelectedIndex\",null,\"nextBeforeCursor\",\"\",\"columnVisibility\",[\"^3\",[]],\"selectedPageIndex\",\"0\",\"applyDynamicSettingsToColumnOrder\",true,\"rowColor\",[],\"actionButtonColumnName\",\"Actions\",\"resetAfterSave\",true,\"filterStackType\",\"and\",\"downloadRawData\",false,\"showFetchingIndicator\",true,\"serverPaginated\",false,\"data\",\"{{ listItems.data }}\",\"displayedData\",null,\"actionButtons\",[\"^:\",[[\"^3\",[\"actionButtonText\",\"Delete\",\"actionButtonType\",\"runQuery\",\"actionButtonQuery\",\"deleteItem\",\"actionButtonInternalUrlPath\",\"\",\"actionButtonInternalUrlQuery\",\"\",\"actionButtonUrl\",\"\",\"actionButtonNewWindow\",false,\"actionButtonDisabled\",\"\"]]]],\"actionButtonSelectsRow\",true,\"selectRowByDefault\",true,\"defaultSortByColumn\",\"\",\"paginationOffset\",0,\"columnAlignment\",[\"^3\",[\"rarity\",\"left\"]],\"columnSummaries\",[\"^ \"],\"showBoxShadow\",false,\"sortedDesc\",false,\"customButtonName\",\"Custom Button\",\"columnMappersRenderAsHTML\",[\"^3\",[]],\"showRefreshButton\",true,\"pageSize\",\"20\",\"useDynamicColumnSettings\",false,\"actionButtonPosition\",\"right\",\"dynamicRowHeights\",false,\"bulkUpdateAction\",\"\",\"afterCursor\",\"\",\"onCustomButtonPressQueryName\",\"\",\"changeSet\",[\"^ \"],\"sortedColumn\",\"\",\"_columnSummaryValues\",[\"^3\",[\"rarity\",\"\"]],\"checkboxRowSelect\",true,\"_compatibilityMode\",false,\"showColumnBorders\",false,\"clearSelectionLabel\",\"Clear selection\",\"_renderedDataWithTypes\",null,\"columnAllowOverflow\",[\"^3\",[]],\"beforeCursor\",\"\",\"serverPaginationType\",\"limitOffsetBased\",\"onRowSelect\",\"\",\"showDownloadButton\",true,\"selectedIndex\",null,\"defaultSortDescending\",false,\"_sortedDisplayedDataIndices\",null,\"dynamicColumnSettings\",null,\"totalRowCount\",\"\",\"recordUpdates\",[],\"newRow\",null,\"emptyMessage\",\"No rows found\",\"columnEditable\",[\"^3\",[]],\"_viewerColumnSummaryTypes\",[\"^ \"],\"filters\",[],\"displayedDataIndices\",null,\"disableSorting\",[\"^3\",[]],\"columnMappers\",[\"^3\",[\"rarity\",\"\"]],\"showClearSelection\",false,\"doubleClickToEdit\",true,\"overflowType\",\"pagination\",\"_reverseSortedDisplayedDataIndices\",null,\"showTableBorder\",true,\"selectedCell\",[\"^ \",\"index\",null,\"data\",null,\"columnName\",null],\"columns\",[\"^:\",[]],\"defaultSelectedRow\",\"first\",\"freezeActionButtonColumns\",false,\"sort\",null,\"_columns\",[\"^:\",[\"name\",\"rarity\",\"description\",\"id\",\"updated_at\",\"created_at\"]],\"sortByRawValue\",[\"^3\",[]],\"calculatedColumns\",[\"^:\",[]],\"selectedRow\",[\"^ \",\"^L\",null,\"^M\",null],\"showPaginationOnTop\",false,\"_reverseDisplayedDataIndices\",null,\"nextAfterCursor\",\"\",\"useCompactMode\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"\",\"^E\",\"body\",\"^F\",\"\",\"row\",1,\"col\",0,\"^G\",8,\"^H\",12,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1676227799422\",\"^B\",\"~m1676509163454\",\"^C\",\"\",\"^D\",null]]],\"newItemModal\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"newItemModal\",\"^4\",\"widget\",\"^5\",\"ModalWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"opened\",false,\"modalOverflowType\",\"scroll\",\"onModalClose\",\"\",\"modalHeightType\",\"fixed\",\"tooltipText\",\"\",\"modalHeight\",\"\",\"onModalOpen\",\"\",\"events\",[\"^:\",[[\"^3\",[\"event\",\"close\",\"type\",\"script\",\"method\",\"run\",\"pluginId\",\"\",\"targetId\",null,\"params\",[\"^3\",[\"src\",\"newItemName.setValue('');\\nnewItemName.clearValidation();\\nnewItemRarity.setValue('Uncommon');\\nnewItemDescription.setValue('');\\nnewItemDescription.clearValidation();\"]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"modalWidth\",\"\",\"closeOnOutsideClick\",true,\"loading\",\"\",\"disabled\",\"\",\"buttonText\",\"New Item\"]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"\",\"^E\",\"body\",\"^F\",\"\",\"row\",0,\"col\",10,\"^G\",1,\"^H\",2,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1676227945598\",\"^B\",\"~m1676229016212\",\"^C\",\"\",\"^D\",null]]],\"text2\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text2\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"left\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"### New Item\",\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"newItemModal\",\"^E\",\"body\",\"^F\",\"\",\"row\",0,\"col\",0,\"^G\",0.6,\"^H\",12,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1676228137760\",\"^B\",\"~m1676228145611\",\"^C\",\"\",\"^D\",null]]],\"newItemName\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"newItemName\",\"^4\",\"widget\",\"^5\",\"TextInputWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"spellCheck\",false,\"readOnly\",false,\"iconAfter\",\"\",\"showCharacterCount\",false,\"autoComplete\",false,\"maxLength\",null,\"hidden\",false,\"customValidation\",\"\",\"patternType\",\"\",\"hideValidationMessage\",false,\"textBefore\",\"\",\"validationMessage\",\"\",\"textAfter\",\"\",\"showInEditor\",false,\"showClear\",false,\"pattern\",\"\",\"tooltipText\",\"\",\"labelAlign\",\"left\",\"formDataKey\",\"{{ self.id }}\",\"value\",\"\",\"labelCaption\",\"\",\"labelWidth\",\"33\",\"autoFill\",\"\",\"placeholder\",\"Blink Blade\",\"label\",\"Item Name\",\"_validate\",false,\"labelWidthUnit\",\"%\",\"invalid\",false,\"iconBefore\",\"\",\"minLength\",null,\"inputTooltip\",\"\",\"events\",[\"^3\",[]],\"autoCapitalize\",\"none\",\"loading\",false,\"disabled\",\"\",\"labelPosition\",\"left\",\"labelWrap\",false,\"maintainSpaceWhenHidden\",false,\"required\",true]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"newItemModal\",\"^E\",\"body\",\"^F\",\"\",\"row\",0.6,\"col\",0,\"^G\",1,\"^H\",12,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1676228153059\",\"^B\",\"~m1676229060079\",\"^C\",\"\",\"^D\",null]]],\"newItemRarity\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"newItemRarity\",\"^4\",\"widget\",\"^5\",\"SelectWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"imageByIndex\",[],\"_disabledByIndex\",[\"^:\",[\"\",\"\",\"\",false,false]],\"showSelectionIndicator\",true,\"_values\",[\"^:\",[\"Common\",\"Uncommon\",\"Rare\",\"Legendary\",\"Supreme\"]],\"iconByIndex\",[],\"values\",[],\"readOnly\",false,\"iconAfter\",\"\",\"_iconByIndex\",[\"^:\",[\"\",\"\",\"\",\"\",\"\"]],\"overlayMinWidth\",null,\"allowDeselect\",false,\"inputValue\",\"\",\"hidden\",false,\"customValidation\",\"\",\"data\",[],\"searchMode\",\"fuzzy\",\"hideValidationMessage\",false,\"fallbackTextByIndex\",[],\"textBefore\",\"\",\"_fallbackTextByIndex\",[\"^:\",[\"\",\"\",\"\",\"\",\"\"]],\"selectedItem\",null,\"validationMessage\",\"\",\"automaticItemColors\",false,\"itemAdornmentShape\",\"circle\",\"textAfter\",\"\",\"showInEditor\",false,\"showClear\",false,\"tooltipText\",\"\",\"labelAlign\",\"left\",\"formDataKey\",\"{{ self.id }}\",\"value\",\"Uncommon\",\"hiddenByIndex\",[],\"labelCaption\",\"\",\"labelWidth\",\"33\",\"deprecatedLabels\",[],\"_hiddenByIndex\",[\"^:\",[\"\",\"\",\"\",false,false]],\"placeholder\",\"Select an option\",\"_captionByIndex\",[\"^:\",[\"\",\"\",\"\",\"\",\"\"]],\"itemAdornmentSize\",\"auto\",\"label\",\"Item Rarity\",\"_hasMigratedNestedItems\",true,\"captionByIndex\",[],\"_validate\",false,\"itemMode\",\"static\",\"labelWidthUnit\",\"%\",\"allowCustomValue\",false,\"invalid\",false,\"selectedIndex\",null,\"_tooltipByIndex\",[\"^:\",[\"\",\"\",\"\",\"\",\"\"]],\"_colorByIndex\",[\"^:\",[\"\",\"\",\"\",\"\",\"\"]],\"tooltipByIndex\",[],\"iconBefore\",\"\",\"colorByIndex\",[],\"selectedLabel\",\"\",\"events\",[\"^3\",[]],\"_ids\",[\"^:\",[\"79d40\",\"73285\",\"6a12d\",\"293d0\",\"b2737\"]],\"emptyMessage\",\"No options\",\"overlayMaxHeight\",375,\"loading\",false,\"disabled\",false,\"labelPosition\",\"left\",\"_labels\",[\"^:\",[\"\",\"\",\"\",\"\",\"\"]],\"labelWrap\",false,\"disabledValues\",[],\"disabledByIndex\",[],\"maintainSpaceWhenHidden\",false,\"_imageByIndex\",[\"^:\",[\"\",\"\",\"\",\"\",\"\"]],\"required\",false,\"labels\",[]]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"newItemModal\",\"^E\",\"body\",\"^F\",\"\",\"row\",1.6,\"col\",0,\"^G\",1,\"^H\",12,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1676228390916\",\"^B\",\"~m1676228649171\",\"^C\",\"\",\"^D\",null]]],\"newItemDescription\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"newItemDescription\",\"^4\",\"widget\",\"^5\",\"TextAreaWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"spellCheck\",false,\"readOnly\",false,\"autoResize\",true,\"showCharacterCount\",false,\"autoComplete\",false,\"maxLength\",null,\"hidden\",false,\"customValidation\",\"\",\"hideValidationMessage\",false,\"minLines\",\"6\",\"validationMessage\",\"\",\"showInEditor\",false,\"pattern\",\"\",\"tooltipText\",\"\",\"labelAlign\",\"left\",\"formDataKey\",\"{{ self.id }}\",\"value\",\"\",\"labelCaption\",\"\",\"labelWidth\",\"33\",\"autoFill\",\"\",\"placeholder\",\"A magic sword that can teleport back to its user's hand. <2>\",\"label\",\"Item Description\",\"_validate\",false,\"labelWidthUnit\",\"%\",\"invalid\",false,\"minLength\",null,\"inputTooltip\",\"\",\"events\",[\"^3\",[]],\"autoCapitalize\",\"none\",\"maxLines\",null,\"loading\",false,\"disabled\",false,\"labelPosition\",\"left\",\"labelWrap\",false,\"maintainSpaceWhenHidden\",false,\"required\",true]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"newItemModal\",\"^E\",\"body\",\"^F\",\"\",\"row\",2.6,\"col\",0,\"^G\",1,\"^H\",12,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1676228539450\",\"^B\",\"~m1676228938690\",\"^C\",\"\",\"^D\",null]]],\"button1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"button1\",\"^4\",\"widget\",\"^5\",\"ButtonWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"horizontalAlign\",\"stretch\",\"clickable\",false,\"iconAfter\",\"\",\"submitTargetId\",null,\"hidden\",false,\"text\",\"Create Item!\",\"showInEditor\",false,\"tooltipText\",\"\",\"styleVariant\",\"solid\",\"submit\",false,\"iconBefore\",\"\",\"events\",[\"^:\",[[\"^3\",[\"event\",\"click\",\"type\",\"datasource\",\"method\",\"trigger\",\"pluginId\",\"createItem\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"loading\",false,\"loaderPosition\",\"auto\",\"disabled\",\"{{ !newItemName.value || !newItemDescription.value || createItem.isFetching }}\",\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"newItemModal\",\"^E\",\"body\",\"^F\",\"\",\"row\",6.6,\"col\",0,\"^G\",1,\"^H\",6,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1676228657152\",\"^B\",\"~m1676508048503\",\"^C\",\"\",\"^D\",null]]],\"button2\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"button2\",\"^4\",\"widget\",\"^5\",\"ButtonWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"horizontalAlign\",\"stretch\",\"clickable\",false,\"iconAfter\",\"\",\"submitTargetId\",null,\"hidden\",false,\"text\",\"Nevermind...\",\"showInEditor\",false,\"tooltipText\",\"\",\"style\",[\"^3\",[\"background\",\"canvas\"]],\"styleVariant\",\"solid\",\"submit\",false,\"iconBefore\",\"\",\"events\",[\"^:\",[[\"^3\",[\"event\",\"click\",\"type\",\"widget\",\"method\",\"close\",\"pluginId\",\"newItemModal\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"loading\",false,\"loaderPosition\",\"auto\",\"disabled\",false,\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"newItemModal\",\"^E\",\"body\",\"^F\",\"\",\"row\",6.6,\"col\",6,\"^G\",1,\"^H\",6,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1676228688454\",\"^B\",\"~m1676228870190\",\"^C\",\"\",\"^D\",null]]],\"listItems\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"listItems\",\"^4\",\"datasource\",\"^5\",\"SqlQueryUnified\",\"^6\",null,\"^7\",\"579e96f7-980f-44e8-b2f4-688cd2da3660\",\"^8\",\"retool_db\",\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"records\",\"\",\"lastReceivedFromResourceAt\",null,\"databasePasswordOverride\",\"\",\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",true,\"showFailureToaster\",true,\"query\",\"select * from ttrpg_items;\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^:\",[]],\"runWhenPageLoadsDelay\",\"\",\"warningCodes\",[\"^:\",[]],\"data\",null,\"recordId\",\"\",\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"dataArray\",[\"^:\",[]],\"cacheKeyTtl\",\"\",\"filterBy\",\"\",\"requestSentTimestamp\",null,\"databaseHostOverride\",\"\",\"metadata\",null,\"editorMode\",\"sql\",\"queryRunTime\",null,\"actionType\",\"\",\"changesetObject\",\"\",\"shouldUseLegacySql\",false,\"errorTransformer\",\"// The variable 'data' allows you to reference the request's data in the transformer. \\n// example: return data.find(element => element.isError)\\nreturn data.error\",\"finished\",null,\"databaseNameOverride\",\"\",\"confirmationMessage\",null,\"isFetching\",false,\"changeset\",\"\",\"rawData\",null,\"queryTriggerDelay\",\"0\",\"resourceTypeOverride\",null,\"watchedParams\",[\"^:\",[]],\"enableErrorTransformer\",false,\"enableBulkUpdates\",false,\"showLatestVersionUpdatedWarning\",false,\"timestamp\",0,\"importedQueryDefaults\",[\"^3\",[]],\"enableTransformer\",false,\"showUpdateSetValueDynamicallyToggle\",true,\"bulkUpdatePrimaryKey\",\"\",\"runWhenPageLoads\",false,\"transformer\",\"// type your code here\\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\\nreturn data\",\"events\",[\"^:\",[]],\"tableName\",\"\",\"queryTimeout\",\"10000\",\"requireConfirmation\",false,\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^:\",[]],\"databaseUsernameOverride\",\"\",\"shouldEnableBatchQuerying\",false,\"doNotThrowOnNoOp\",false,\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1676229248681\",\"^B\",\"~m1676229388951\",\"^C\",\"sql\",\"^D\",null]]],\"deleteItem\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"deleteItem\",\"^4\",\"datasource\",\"^5\",\"SqlQueryUnified\",\"^6\",null,\"^7\",\"579e96f7-980f-44e8-b2f4-688cd2da3660\",\"^8\",\"retool_db\",\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"records\",\"\",\"lastReceivedFromResourceAt\",null,\"databasePasswordOverride\",\"\",\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",false,\"showFailureToaster\",true,\"query\",\"select * from ttrpg_items;\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^:\",[]],\"runWhenPageLoadsDelay\",\"\",\"warningCodes\",[\"^:\",[]],\"data\",null,\"recordId\",\"\",\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"dataArray\",[\"^:\",[]],\"cacheKeyTtl\",\"\",\"filterBy\",\"[{\\\"key\\\":\\\"id\\\",\\\"value\\\":\\\"{{ table1.selectedRow.data.id }}\\\",\\\"operation\\\":\\\"=\\\"}]\",\"requestSentTimestamp\",null,\"databaseHostOverride\",\"\",\"metadata\",null,\"editorMode\",\"gui\",\"queryRunTime\",null,\"actionType\",\"DELETE_BY\",\"changesetObject\",\"\",\"shouldUseLegacySql\",false,\"errorTransformer\",\"// The variable 'data' allows you to reference the request's data in the transformer. \\n// example: return data.find(element => element.isError)\\nreturn data.error\",\"finished\",null,\"databaseNameOverride\",\"\",\"confirmationMessage\",\"Are you sure you want to delete this item?\",\"isFetching\",false,\"changeset\",\"\",\"rawData\",null,\"queryTriggerDelay\",\"0\",\"resourceTypeOverride\",null,\"watchedParams\",[\"^:\",[]],\"enableErrorTransformer\",false,\"enableBulkUpdates\",false,\"showLatestVersionUpdatedWarning\",false,\"timestamp\",0,\"importedQueryDefaults\",[\"^3\",[]],\"enableTransformer\",false,\"showUpdateSetValueDynamicallyToggle\",true,\"bulkUpdatePrimaryKey\",\"\",\"runWhenPageLoads\",false,\"transformer\",\"// type your code here\\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\\nreturn data\",\"events\",[\"^:\",[[\"^3\",[\"event\",\"success\",\"type\",\"datasource\",\"method\",\"trigger\",\"pluginId\",\"listItems\",\"targetId\",null,\"params\",[\"^3\",[]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"tableName\",\"ttrpg_items\",\"queryTimeout\",\"10000\",\"requireConfirmation\",true,\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^:\",[]],\"databaseUsernameOverride\",\"\",\"shouldEnableBatchQuerying\",false,\"doNotThrowOnNoOp\",false,\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1676509086184\",\"^B\",\"~m1676509151555\",\"^C\",\"sql\",\"^D\",null]]]]],\"^A\",null,\"version\",\"2.111.0\",\"appThemeId\",null,\"appMaxWidth\",\"1560px\",\"preloadedAppJavaScript\",null,\"preloadedAppJSLinks\",[],\"testEntities\",[],\"tests\",[],\"appStyles\",\"\",\"responsiveLayoutDisabled\",false,\"loadingIndicatorsDisabled\",false,\"urlFragmentDefinitions\",[\"^:\",[]],\"pageLoadValueOverrides\",[\"^:\",[]],\"customDocumentTitle\",\"\",\"customDocumentTitleEnabled\",false,\"customShortcuts\",[],\"isGlobalWidget\",false,\"isMobileApp\",false,\"multiScreenMobileApp\",false,\"mobileAppSettings\",[\"^ \",\"mobileOfflineModeEnabled\",false],\"folders\",[\"^:\",[\"sql\"]],\"queryStatusVisibility\",false,\"markdownLinkBehavior\",\"auto\",\"inAppRetoolPillAppearance\",\"NO_OVERRIDE\",\"rootScreen\",null,\"instrumentationEnabled\",false,\"experimentalPerfFeatures\",[\"^ \",\"serverDepGraphEnabled\",false,\"useRuntimeV2\",false],\"experimentalStabilityFeatures\",[\"^ \",\"lockModelForUpdates\",false],\"experimentalDataTabEnabled\",true]]]"},"changesRecord":[{"type":"MIGRATIONS_UP_TO_DATE","payload":{"migratedAppTemplate":{"tests":[],"folders":["sql"],"plugins":{"$main":{"id":"$main","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"main","sticky":false,"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-01-12T18:47:42.928Z","namespace":null,"position2":null,"updatedAt":"2023-01-12T18:47:42.928Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text1":{"id":"text1","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"## Item Catalog","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-01-12T18:47:42.838Z","namespace":null,"position2":{"col":0,"row":0,"width":6,"height":0.6,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-01-12T18:47:55.017Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"text2":{"id":"text2","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### New Item","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"left","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-02-12T18:55:37.760Z","namespace":null,"position2":{"col":0,"row":0,"width":12,"height":0.6,"tabNum":0,"rowGroup":"body","container":"newItemModal","subcontainer":""},"updatedAt":"2023-02-12T18:55:45.611Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"image1":{"id":"image1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"contain","src":"https://retool-edge.com/83d4d9a1f1ecd17d111e6b4a014043cd.svg","events":{},"hidden":false,"altText":"","srcType":"src","dbBlobId":"","srcWidth":null,"clickable":false,"srcHeight":null,"heightType":"fixed","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"","flipHorizontal":false,"horizontalAlign":"left","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-01-12T18:46:42.818Z","namespace":null,"position2":{"col":0,"row":0,"width":1,"height":1,"tabNum":0,"rowGroup":"header","container":"","subcontainer":"sidebarFrame1"},"updatedAt":"2023-01-12T18:46:42.818Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"table1":{"id":"table1","type":"widget","style":{},"folder":"","screen":null,"subtype":"TableWidget","tabIndex":null,"template":{"data":"{{ listItems.data }}","sort":null,"newRow":null,"columns":[],"filters":[],"_columns":["name","rarity","description","id","updated_at","created_at"],"pageSize":"20","rowColor":[],"changeSet":{},"rowHeight":"standard","heightType":"fixed","onRowAdded":"","sortedDesc":false,"afterCursor":"","onRowSelect":"","selectedRow":{"data":null,"index":null},"beforeCursor":"","columnColors":{},"columnWidths":[{"id":"rarity","value":132.3984375},{"id":"name","value":181.8984375},{"id":"created_at","value":59},{"id":"updated_at","value":96.40625},{"id":"description","value":467.8984375}],"emptyMessage":"No rows found","overflowType":"pagination","selectedCell":{"data":null,"index":null,"columnName":null},"sortedColumn":"","actionButtons":[{"actionButtonUrl":"","actionButtonText":"Delete","actionButtonType":"runQuery","actionButtonQuery":"deleteItem","actionButtonDisabled":"","actionButtonNewWindow":false,"actionButtonInternalUrlPath":"","actionButtonInternalUrlQuery":""}],"columnFormats":{"rarity":"SingleTagDataCell"},"columnMappers":{"rarity":""},"displayedData":null,"recordUpdates":[],"selectedIndex":null,"showBoxShadow":false,"totalRowCount":"","columnEditable":{},"disableSorting":{},"normalizedData":null,"resetAfterSave":true,"sortByRawValue":{},"useCompactMode":false,"columnAlignment":{"rarity":"left"},"columnSummaries":{},"downloadRawData":false,"filterStackType":"and","nextAfterCursor":"","serverPaginated":false,"showTableBorder":true,"sortMappedValue":{},"bulkUpdateAction":"","columnVisibility":{},"customButtonName":"Custom Button","nextBeforeCursor":"","paginationOffset":0,"showAddRowButton":false,"showCustomButton":false,"showFilterButton":true,"_columnVisibility":{"id":false,"created_at":false,"updated_at":false},"calculatedColumns":[],"checkboxRowSelect":true,"columnHeaderNames":{"name":"Item Name","rarity":"Rarity","created_at":"Created","updated_at":"Updated","description":"Description"},"doubleClickToEdit":true,"dynamicRowHeights":false,"selectedPageIndex":"0","showColumnBorders":false,"showRefreshButton":true,"showSummaryFooter":false,"_compatibilityMode":false,"columnWidthsMobile":[],"defaultSelectedRow":"first","hasNextAfterCursor":"","selectRowByDefault":true,"showClearSelection":false,"showDownloadButton":true,"_columnSummaryTypes":{"rarity":""},"allowMultiRowSelect":false,"alwaysShowPaginator":false,"clearSelectionLabel":"Clear selection","columnAllowOverflow":{},"defaultSortByColumn":"","saveChangesDisabled":"","showPaginationOnTop":false,"_columnSummaryValues":{"rarity":""},"actionButtonPosition":"right","columnTypeProperties":{"rarity":{"colorMode":"auto","optionData":"{{ currentColumn }}","optionColors":[],"optionLabels":[],"optionValues":[],"allowCustomValue":true}},"displayedDataIndices":null,"serverPaginationType":"limitOffsetBased","defaultSortDescending":false,"dynamicColumnSettings":null,"showFetchingIndicator":true,"_renderedDataWithTypes":null,"actionButtonColumnName":"Actions","actionButtonSelectsRow":true,"columnFrozenAlignments":{},"columnRestrictedEditing":{},"_unfilteredSelectedIndex":null,"columnTypeSpecificExtras":{},"useDynamicColumnSettings":false,"_viewerColumnSummaryTypes":{},"columnMappersRenderAsHTML":{},"freezeActionButtonColumns":false,"_sortedDisplayedDataIndices":null,"disableRowSelectInteraction":false,"_reverseDisplayedDataIndices":null,"onCustomButtonPressQueryName":"","_columnsWithLegacyBackgroundColor":[],"applyDynamicSettingsToColumnOrder":true,"_reverseSortedDisplayedDataIndices":null,"_filteredSortedRenderedDataWithTypes":null},"container":"","createdAt":"2023-02-12T18:49:59.422Z","namespace":null,"position2":{"col":0,"row":1,"width":12,"height":8,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-02-16T00:59:23.454Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"avatar1":{"id":"avatar1","type":"widget","style":{},"folder":"","screen":null,"subtype":"AvatarWidget","tabIndex":null,"template":{"src":"{{ current_user.profilePhotoUrl }}","icon":"","label":"{{ current_user.fullName }}","style":{"background":"automatic"},"hidden":false,"fallback":"{{ current_user.fullName }}","imageSize":32,"labelWrap":false,"labelAlign":"left","tooltipText":"","labelCaption":"{{ current_user.email }}","showInEditor":false,"labelPosition":"right","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-01-12T18:46:42.903Z","namespace":null,"position2":{"col":0,"row":0,"width":1,"height":0.2,"tabNum":0,"rowGroup":"footer","container":"","subcontainer":"sidebarFrame1"},"updatedAt":"2023-01-12T18:46:42.903Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"button1":{"id":"button1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Create Item!","events":[{"type":"datasource","event":"click","method":"trigger","params":{},"waitMs":"0","pluginId":"createItem","targetId":null,"waitType":"debounce"}],"hidden":false,"submit":false,"loading":false,"disabled":"{{ !newItemName.value || !newItemDescription.value || createItem.isFetching }}","clickable":false,"iconAfter":"","iconBefore":"","tooltipText":"","showInEditor":false,"styleVariant":"solid","loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-02-12T19:04:17.152Z","namespace":null,"position2":{"col":0,"row":6.6,"width":6,"height":1,"tabNum":0,"rowGroup":"body","container":"newItemModal","subcontainer":""},"updatedAt":"2023-02-16T00:40:48.503Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"button2":{"id":"button2","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Nevermind...","style":{"background":"canvas"},"events":[{"type":"widget","event":"click","method":"close","params":{},"waitMs":"0","pluginId":"newItemModal","targetId":null,"waitType":"debounce"}],"hidden":false,"submit":false,"loading":false,"disabled":false,"clickable":false,"iconAfter":"","iconBefore":"","tooltipText":"","showInEditor":false,"styleVariant":"solid","loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-02-12T19:04:48.454Z","namespace":null,"position2":{"col":6,"row":6.6,"width":6,"height":1,"tabNum":0,"rowGroup":"body","container":"newItemModal","subcontainer":""},"updatedAt":"2023-02-12T19:07:50.190Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"listItems":{"id":"listItems","type":"datasource","style":null,"folder":"sql","screen":null,"subtype":"SqlQueryUnified","tabIndex":null,"template":{"data":null,"error":null,"query":"select * from ttrpg_items;","events":[],"rawData":null,"records":"","filterBy":"","finished":null,"metadata":null,"recordId":"","changeset":"","dataArray":[],"tableName":"","timestamp":0,"actionType":"","editorMode":"sql","isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10000","warningCodes":[],"allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","servedFromCache":false,"doNotThrowOnNoOp":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableBulkUpdates":false,"enableTransformer":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","shouldUseLegacySql":false,"showFailureToaster":true,"showSuccessToaster":true,"confirmationMessage":null,"importedQueryInputs":{},"playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":true,"bulkUpdatePrimaryKey":"","databaseHostOverride":"","databaseNameOverride":"","notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"queryFailureConditions":"","databasePasswordOverride":"","databaseUsernameOverride":"","shouldEnableBatchQuerying":false,"updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-02-12T19:14:08.681Z","namespace":null,"position2":null,"updatedAt":"2023-02-12T19:16:28.951Z","resourceName":"579e96f7-980f-44e8-b2f4-688cd2da3660","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"createItem":{"id":"createItem","type":"datasource","style":null,"folder":"sql","screen":null,"subtype":"SqlQueryUnified","tabIndex":null,"template":{"data":null,"error":null,"query":"","events":[{"type":"widget","event":"success","method":"close","params":{},"waitMs":"0","pluginId":"newItemModal","targetId":null,"waitType":"debounce"},{"type":"datasource","event":"success","method":"trigger","params":{},"waitMs":"0","pluginId":"listItems","targetId":null,"waitType":"debounce"}],"rawData":null,"records":"","filterBy":"","finished":null,"metadata":null,"recordId":"","changeset":"[{\"key\":\"rarity\",\"value\":\"{{ newItemRarity.value }}\"},{\"key\":\"name\",\"value\":\"{{ newItemName.value }}\"},{\"key\":\"description\",\"value\":\"{{ newItemDescription.value }}\"}]","dataArray":[],"tableName":"ttrpg_items","timestamp":0,"actionType":"INSERT","editorMode":"gui","isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","servedFromCache":false,"doNotThrowOnNoOp":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableBulkUpdates":false,"enableTransformer":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","shouldUseLegacySql":false,"showFailureToaster":true,"showSuccessToaster":true,"confirmationMessage":null,"importedQueryInputs":{},"playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":false,"bulkUpdatePrimaryKey":"","databaseHostOverride":"","databaseNameOverride":"","notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":"","importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"queryFailureConditions":"","databasePasswordOverride":"","databaseUsernameOverride":"","shouldEnableBatchQuerying":false,"updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-02-12T19:12:01.618Z","namespace":null,"position2":null,"updatedAt":"2023-02-16T00:56:45.709Z","resourceName":"579e96f7-980f-44e8-b2f4-688cd2da3660","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"deleteItem":{"id":"deleteItem","type":"datasource","style":null,"folder":"sql","screen":null,"subtype":"SqlQueryUnified","tabIndex":null,"template":{"data":null,"error":null,"query":"select * from ttrpg_items;","events":[{"type":"datasource","event":"success","method":"trigger","params":{},"waitMs":"0","pluginId":"listItems","targetId":null,"waitType":"debounce"}],"rawData":null,"records":"","filterBy":"[{\"key\":\"id\",\"value\":\"{{ table1.selectedRow.data.id }}\",\"operation\":\"=\"}]","finished":null,"metadata":null,"recordId":"","changeset":"","dataArray":[],"tableName":"ttrpg_items","timestamp":0,"actionType":"DELETE_BY","editorMode":"gui","isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10000","warningCodes":[],"allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","servedFromCache":false,"doNotThrowOnNoOp":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableBulkUpdates":false,"enableTransformer":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","shouldUseLegacySql":false,"showFailureToaster":true,"showSuccessToaster":true,"confirmationMessage":"Are you sure you want to delete this item?","importedQueryInputs":{},"playgroundQueryUuid":"","requireConfirmation":true,"runWhenModelUpdates":false,"bulkUpdatePrimaryKey":"","databaseHostOverride":"","databaseNameOverride":"","notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":null,"importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"queryFailureConditions":"","databasePasswordOverride":"","databaseUsernameOverride":"","shouldEnableBatchQuerying":false,"updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-02-16T00:58:06.184Z","namespace":null,"position2":null,"updatedAt":"2023-02-16T00:59:11.555Z","resourceName":"579e96f7-980f-44e8-b2f4-688cd2da3660","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"newItemName":{"id":"newItemName","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextInputWidget2","tabIndex":null,"template":{"label":"Item Name","value":"","events":{},"hidden":false,"invalid":false,"loading":false,"pattern":"","autoFill":"","disabled":"","readOnly":false,"required":true,"_validate":false,"iconAfter":"","labelWrap":false,"maxLength":null,"minLength":null,"showClear":false,"textAfter":"","iconBefore":"","labelAlign":"left","labelWidth":"33","spellCheck":false,"textBefore":"","formDataKey":"{{ self.id }}","patternType":"","placeholder":"Blink Blade","tooltipText":"","autoComplete":false,"inputTooltip":"","labelCaption":"","showInEditor":false,"labelPosition":"left","autoCapitalize":"none","labelWidthUnit":"%","customValidation":"","validationMessage":"","showCharacterCount":false,"hideValidationMessage":false,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-02-12T18:55:53.059Z","namespace":null,"position2":{"col":0,"row":0.6,"width":12,"height":1,"tabNum":0,"rowGroup":"body","container":"newItemModal","subcontainer":""},"updatedAt":"2023-02-12T19:11:00.079Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"newItemModal":{"id":"newItemModal","type":"widget","style":{},"folder":"","screen":null,"subtype":"ModalWidget","tabIndex":null,"template":{"events":[{"type":"script","event":"close","method":"run","params":{"src":"newItemName.setValue('');\nnewItemName.clearValidation();\nnewItemRarity.setValue('Uncommon');\nnewItemDescription.setValue('');\nnewItemDescription.clearValidation();"},"waitMs":"0","pluginId":"","targetId":null,"waitType":"debounce"}],"opened":false,"loading":"","disabled":"","buttonText":"New Item","modalWidth":"","modalHeight":"","onModalOpen":"","tooltipText":"","onModalClose":"","modalHeightType":"fixed","modalOverflowType":"scroll","closeOnOutsideClick":true},"container":"","createdAt":"2023-02-12T18:52:25.598Z","namespace":null,"position2":{"col":10,"row":0,"width":2,"height":1,"tabNum":0,"rowGroup":"body","container":"","subcontainer":""},"updatedAt":"2023-02-12T19:10:16.212Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"newItemRarity":{"id":"newItemRarity","type":"widget","style":{},"folder":"","screen":null,"subtype":"SelectWidget2","tabIndex":null,"template":{"_ids":["79d40","73285","6a12d","293d0","b2737"],"data":[],"label":"Item Rarity","value":"Uncommon","events":{},"hidden":false,"labels":[],"values":[],"_labels":["","","","",""],"_values":["Common","Uncommon","Rare","Legendary","Supreme"],"invalid":false,"loading":false,"disabled":false,"itemMode":"static","readOnly":false,"required":false,"_validate":false,"iconAfter":"","labelWrap":false,"showClear":false,"textAfter":"","iconBefore":"","inputValue":"","labelAlign":"left","labelWidth":"33","searchMode":"fuzzy","textBefore":"","formDataKey":"{{ self.id }}","iconByIndex":[],"placeholder":"Select an option","tooltipText":"","_iconByIndex":["","","","",""],"colorByIndex":[],"emptyMessage":"No options","imageByIndex":[],"labelCaption":"","selectedItem":null,"showInEditor":false,"_colorByIndex":["","","","",""],"_imageByIndex":["","","","",""],"allowDeselect":false,"hiddenByIndex":[],"labelPosition":"left","selectedIndex":null,"selectedLabel":"","_hiddenByIndex":["","","",false,false],"captionByIndex":[],"disabledValues":[],"labelWidthUnit":"%","tooltipByIndex":[],"_captionByIndex":["","","","",""],"_tooltipByIndex":["","","","",""],"disabledByIndex":[],"overlayMinWidth":null,"_disabledByIndex":["","","",false,false],"allowCustomValue":false,"customValidation":"","deprecatedLabels":[],"overlayMaxHeight":375,"itemAdornmentSize":"auto","validationMessage":"","itemAdornmentShape":"circle","automaticItemColors":false,"fallbackTextByIndex":[],"_fallbackTextByIndex":["","","","",""],"hideValidationMessage":false,"showSelectionIndicator":true,"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-02-12T18:59:50.916Z","namespace":null,"position2":{"col":0,"row":1.6,"width":12,"height":1,"tabNum":0,"rowGroup":"body","container":"newItemModal","subcontainer":""},"updatedAt":"2023-02-12T19:04:09.171Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"sidebarFrame1":{"id":"sidebarFrame1","type":"frame","style":{},"folder":"","screen":null,"subtype":"SidebarFrameWidget","tabIndex":null,"template":{"width":"small","hidden":false,"loading":false,"showFooter":false,"showHeader":false,"isInEditMode":false,"isHiddenOnMobile":true,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-01-12T18:46:42.543Z","namespace":null,"position2":null,"updatedAt":"2023-01-12T18:46:50.969Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"globalSidebar1":{"id":"globalSidebar1","type":"widget","style":{},"folder":"","screen":null,"subtype":"GlobalWidget","tabIndex":null,"template":{"name":"Global Sidebar","pageUuid":"b98e229c-92a9-11ed-810b-6fbf2b147eea","heightType":"auto","childNamespace":"globalSidebar1","showFetchingIndicator":"boolean"},"container":"","createdAt":"2023-01-12T19:50:17.785Z","namespace":null,"position2":{"col":0,"row":0,"width":1,"height":2.4,"tabNum":0,"rowGroup":"body","container":"","subcontainer":"sidebarFrame1"},"updatedAt":"2023-01-12T19:50:17.785Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"newItemDescription":{"id":"newItemDescription","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextAreaWidget","tabIndex":null,"template":{"label":"Item Description","value":"","events":{},"hidden":false,"invalid":false,"loading":false,"pattern":"","autoFill":"","disabled":false,"maxLines":null,"minLines":"6","readOnly":false,"required":true,"_validate":false,"labelWrap":false,"maxLength":null,"minLength":null,"autoResize":true,"labelAlign":"left","labelWidth":"33","spellCheck":false,"formDataKey":"{{ self.id }}","placeholder":"A magic sword that can teleport back to its user's hand. <2>","tooltipText":"","autoComplete":false,"inputTooltip":"","labelCaption":"","showInEditor":false,"labelPosition":"left","autoCapitalize":"none","labelWidthUnit":"%","customValidation":"","validationMessage":"","showCharacterCount":false,"hideValidationMessage":false,"maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-02-12T19:02:19.450Z","namespace":null,"position2":{"col":0,"row":2.6,"width":12,"height":1,"tabNum":0,"rowGroup":"body","container":"newItemModal","subcontainer":""},"updatedAt":"2023-02-12T19:08:58.690Z","resourceName":null,"mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"globalSidebar1::$main":{"id":"globalSidebar1::$main","type":"frame","style":{},"folder":"","screen":null,"subtype":"Frame","tabIndex":null,"template":{"type":"main","sticky":false,"isHiddenOnMobile":false,"isHiddenOnDesktop":false},"container":"","createdAt":"2023-01-12T18:48:44.564Z","namespace":{"namespace":["globalSidebar1"],"originalId":"$main"},"updatedAt":"2023-01-12T18:48:44.564Z","resourceName":null,"mobileAppPosition":null,"resourceDisplayName":null},"globalSidebar1::text1":{"id":"globalSidebar1::text1","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"### Retool RPG","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-01-12T18:48:44.490Z","namespace":{"namespace":["globalSidebar1"],"originalId":"text1"},"position2":{"col":0,"row":3,"width":12,"height":0.6,"tabNum":0,"rowGroup":"body","container":"globalSidebar1","subcontainer":""},"updatedAt":"2023-01-16T17:46:38.875Z","resourceName":null,"mobileAppPosition":null,"resourceDisplayName":null},"globalSidebar1::text2":{"id":"globalSidebar1::text2","type":"widget","style":{},"folder":"","screen":null,"subtype":"TextWidget2","tabIndex":null,"template":{"value":"#### {{ diceResult.value }}","hidden":false,"heightType":"auto","imageWidth":"fit","tooltipText":"","overflowType":"scroll","showInEditor":false,"verticalAlign":"center","disableMarkdown":false,"horizontalAlign":"center","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-01-12T19:54:21.777Z","namespace":{"namespace":["globalSidebar1"],"originalId":"text2"},"position2":{"col":0,"row":4.6,"width":12,"height":0.6,"tabNum":0,"rowGroup":"body","container":"globalSidebar1","subcontainer":""},"updatedAt":"2023-01-12T20:09:59.899Z","resourceName":null,"mobileAppPosition":null,"resourceDisplayName":null},"globalSidebar1::image1":{"id":"globalSidebar1::image1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ImageWidget2","tabIndex":null,"template":{"fit":"cover","src":"https://placekitten.com/400/300","events":{},"hidden":false,"altText":"","srcType":"storageBlobId","dbBlobId":"","srcWidth":1024,"clickable":false,"srcHeight":741,"heightType":"fixed","aspectRatio":null,"tooltipText":"","flipVertical":false,"showInEditor":false,"storageBlobId":"fe787d58-b13c-484d-b8bd-c4a181dd2726","flipHorizontal":false,"horizontalAlign":"center","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-01-12T18:49:58.140Z","namespace":{"namespace":["globalSidebar1"],"originalId":"image1"},"position2":{"col":0,"row":0,"width":12,"height":3,"tabNum":0,"rowGroup":"body","container":"globalSidebar1","subcontainer":""},"updatedAt":"2023-01-12T21:19:03.593Z","resourceName":null,"mobileAppPosition":null,"resourceDisplayName":null},"globalSidebar1::button1":{"id":"globalSidebar1::button1","type":"widget","style":{},"folder":"","screen":null,"subtype":"ButtonWidget2","tabIndex":null,"template":{"text":"Roll a Dice","events":[{"type":"script","event":"click","method":"run","params":{"src":"function rng(min, max) {\n return Math.floor(\n Math.random() * (max - min + 1) + min\n );\n}\n\nconst rollValue = rng(1, 20);\nlet rollText = `${rollValue} : `;\n\nif (rollValue === 20) {\n rollText += `<span style=\"color:green;font-style:italic;\">Triumph!</span>`;\n} else if (rollValue < 20 && rollValue >= 11) {\n rollText += `<span style=\"color:green;\">Success</span>`;\n} else if (rollValue < 11 && rollValue >= 6) {\n rollText += `<span style=\"color:gray;\">Tough Choice</span>`;\n} else if (rollValue < 6 && rollValue > 1) {\n rollText += `<span style=\"color:red;\">Failure</span>`;\n} else {\n rollText += `<span style=\"color:red;font-style:italic;\">Catastrophe!</span>`;\n}\n\ndiceResult.setValue(rollText);"},"waitMs":"0","pluginId":"","targetId":null,"waitType":"debounce"}],"hidden":false,"submit":false,"loading":false,"disabled":false,"clickable":false,"iconAfter":"","iconBefore":"bold/entertainment-leisure-chess-piece-dice","tooltipText":"","showInEditor":false,"styleVariant":"solid","loaderPosition":"auto","submitTargetId":null,"horizontalAlign":"stretch","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-01-12T19:53:45.353Z","namespace":{"namespace":["globalSidebar1"],"originalId":"button1"},"position2":{"col":0,"row":5.199999999999999,"width":12,"height":1,"tabNum":0,"rowGroup":"body","container":"globalSidebar1","subcontainer":""},"updatedAt":"2023-01-12T20:08:38.753Z","resourceName":null,"mobileAppPosition":null,"resourceDisplayName":null},"globalSidebar1::divider2":{"id":"globalSidebar1::divider2","type":"widget","style":{},"folder":"","screen":null,"subtype":"DividerWidget","tabIndex":null,"template":{"text":"","hidden":false,"textSize":"default","tooltipText":"","showInEditor":false,"horizontalAlign":"center","maintainSpaceWhenHidden":false},"container":"","createdAt":"2023-01-12T21:12:08.786Z","namespace":{"namespace":["globalSidebar1"],"originalId":"divider2"},"position2":{"col":0,"row":4.4,"width":12,"height":0.2,"tabNum":0,"rowGroup":"body","container":"globalSidebar1","subcontainer":""},"updatedAt":"2023-01-12T21:12:08.786Z","resourceName":null,"mobileAppPosition":null,"resourceDisplayName":null},"globalSidebar1::diceResult":{"id":"globalSidebar1::diceResult","type":"state","style":null,"folder":"","screen":null,"subtype":"State","tabIndex":null,"template":{"value":"--","persistValue":false,"persistedValueKey":"","_persistedValueGetter":null,"_persistedValueSetter":null},"container":"","createdAt":"2023-01-12T19:54:38.828Z","namespace":{"namespace":["globalSidebar1"],"originalId":"diceResult"},"updatedAt":"2023-01-12T19:55:11.817Z","resourceName":null,"mobileAppPosition":null,"resourceDisplayName":null},"globalSidebar1::navigation1":{"id":"globalSidebar1::navigation1","type":"widget","style":{},"folder":"","screen":null,"subtype":"NavigationWidget2","tabIndex":null,"template":{"src":"","_ids":["a5345","be408"],"data":[],"events":{},"hidden":false,"labels":[],"_labels":["",""],"altText":"","srcType":"src","dbBlobId":"","disabled":false,"itemMode":"static","srcWidth":null,"srcHeight":null,"heightType":"auto","keyByIndex":[],"_keyByIndex":["",""],"iconByIndex":[],"orientation":"vertical","tooltipText":"","_iconByIndex":["",""],"overflowMode":"scroll","showInEditor":false,"hiddenByIndex":[],"storageBlobId":"","_hiddenByIndex":["",""],"captionByIndex":[],"tooltipByIndex":[],"_captionByIndex":["",""],"_tooltipByIndex":["",""],"disabledByIndex":[],"itemTypeByIndex":[],"_disabledByIndex":["",""],"_itemTypeByIndex":["app","app"],"appTargetByIndex":[],"highlightByIndex":[],"parentKeyByIndex":[],"_appTargetByIndex":["87701b90-92b2-11ed-b072-13fe1ea2c3e2","300a883a-92a9-11ed-a0c2-577033edaee5"],"_highlightByIndex":["",""],"_parentKeyByIndex":["",""],"horizontalAlignment":"left","iconPositionByIndex":[],"_iconPositionByIndex":["",""],"_hasMigratedNestedItems":true,"maintainSpaceWhenHidden":false,"_automaticallyHighlightedIndices":[]},"container":"","createdAt":"2023-01-12T18:49:13.193Z","namespace":{"namespace":["globalSidebar1"],"originalId":"navigation1"},"position2":{"col":0,"row":3.600000000000001,"width":12,"height":0.8,"tabNum":0,"rowGroup":"body","container":"globalSidebar1","subcontainer":""},"updatedAt":"2023-01-12T20:19:07.068Z","resourceName":null,"mobileAppPosition":null,"resourceDisplayName":null}},"version":"2.111.0","appStyles":"","createdAt":null,"appThemeId":null,"isFetching":false,"rootScreen":null,"appMaxWidth":"1560px","isMobileApp":false,"testEntities":[],"isGlobalWidget":false,"customShortcuts":[],"mobileAppSettings":{"mobileOfflineModeEnabled":false},"customDocumentTitle":"","preloadedAppJSLinks":[],"markdownLinkBehavior":"auto","multiScreenMobileApp":false,"queryStatusVisibility":false,"instrumentationEnabled":false,"pageLoadValueOverrides":[],"preloadedAppJavaScript":null,"urlFragmentDefinitions":[],"experimentalPerfFeatures":{"useRuntimeV2":false,"serverDepGraphEnabled":false},"responsiveLayoutDisabled":false,"inAppRetoolPillAppearance":"NO_OVERRIDE","loadingIndicatorsDisabled":false,"customDocumentTitleEnabled":false,"experimentalDataTabEnabled":true,"experimentalStabilityFeatures":{"lockModelForUpdates":false}}}},{"type":"BATCH_WIDGET_TEMPLATE_UPDATE","payload":{"updates":{}}}],"gitSha":null,"checksum":null,"createdAt":"2023-02-16T01:38:31.454Z","updatedAt":"2023-02-16T01:38:31.454Z","pageId":1737867,"userId":485065,"branchId":null},"modules":{"Global Sidebar":{"moduleSaveId":120337955,"moduleName":"Global Sidebar","moduleUuid":"b98e229c-92a9-11ed-810b-6fbf2b147eea","releasedTagId":null,"data":{"appState":"[\"~#iR\",[\"^ \",\"n\",\"appTemplate\",\"v\",[\"^ \",\"isFetching\",false,\"plugins\",[\"~#iOM\",[\"moduleContainer\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"moduleContainer\",\"type\",\"widget\",\"subtype\",\"ModuleContainerWidget\",\"namespace\",null,\"resourceName\",null,\"resourceDisplayName\",null,\"template\",[\"^3\",[\"heightType\",\"fixed\",\"spinWhenChildrenAreFetching\",true,\"showBorder\",true,\"showDropShadow\",true,\"isGlobalWidgetContainer\",true,\"backgroundColor\",\"white\",\"title\",\"\",\"overflowType\",\"hidden\",\"disabled\",\"\"]],\"style\",null,\"position2\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"container\",\"\",\"rowGroup\",\"body\",\"subcontainer\",\"\",\"row\",0,\"col\",0,\"height\",12,\"width\",12,\"tabNum\",0]]],\"mobilePosition2\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"\",\"^=\",\"body\",\"^>\",\"\",\"row\",0,\"col\",0,\"^?\",12,\"^@\",12,\"^A\",0]]],\"mobileAppPosition\",null,\"tabIndex\",null,\"^<\",\"\",\"createdAt\",\"~m1673549317850\",\"updatedAt\",\"~m1673549317850\",\"folder\",\"\",\"screen\",null]]],\"text1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text1\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"center\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"### Retool RPG\",\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"moduleContainer\",\"^=\",\"body\",\"^>\",\"\",\"row\",3,\"col\",0,\"^?\",0.6,\"^@\",12,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673549324490\",\"^F\",\"~m1673891198875\",\"^G\",\"\",\"^H\",null]]],\"$main\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"$main\",\"^4\",\"frame\",\"^5\",\"Frame\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"type\",\"main\",\"sticky\",false,\"isHiddenOnDesktop\",false,\"isHiddenOnMobile\",false]],\"^:\",[\"^3\",[]],\"^;\",null,\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673549324564\",\"^F\",\"~m1673549324564\",\"^G\",\"\",\"^H\",null]]],\"navigation1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"navigation1\",\"^4\",\"widget\",\"^5\",\"NavigationWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"_disabledByIndex\",[\"~#iL\",[\"\",\"\"]],\"heightType\",\"auto\",\"iconByIndex\",[],\"srcWidth\",null,\"_iconByIndex\",[\"^I\",[\"\",\"\"]],\"src\",\"\",\"overflowMode\",\"scroll\",\"_parentKeyByIndex\",[\"^I\",[\"\",\"\"]],\"_highlightByIndex\",[\"^I\",[\"\",\"\"]],\"parentKeyByIndex\",[],\"highlightByIndex\",[],\"_appTargetByIndex\",[\"^I\",[\"87701b90-92b2-11ed-b072-13fe1ea2c3e2\",\"300a883a-92a9-11ed-a0c2-577033edaee5\"]],\"appTargetByIndex\",[],\"hidden\",false,\"data\",[],\"srcHeight\",null,\"itemTypeByIndex\",[],\"showInEditor\",false,\"_itemTypeByIndex\",[\"^I\",[\"app\",\"app\"]],\"orientation\",\"vertical\",\"tooltipText\",\"\",\"hiddenByIndex\",[],\"_hiddenByIndex\",[\"^I\",[\"\",\"\"]],\"storageBlobId\",\"\",\"_captionByIndex\",[\"^I\",[\"\",\"\"]],\"_hasMigratedNestedItems\",true,\"captionByIndex\",[],\"altText\",\"\",\"itemMode\",\"static\",\"dbBlobId\",\"\",\"_tooltipByIndex\",[\"^I\",[\"\",\"\"]],\"_automaticallyHighlightedIndices\",[],\"tooltipByIndex\",[],\"events\",[\"^3\",[]],\"_ids\",[\"^I\",[\"a5345\",\"be408\"]],\"iconPositionByIndex\",[],\"_iconPositionByIndex\",[\"^I\",[\"\",\"\"]],\"_keyByIndex\",[\"^I\",[\"\",\"\"]],\"disabled\",false,\"keyByIndex\",[],\"_labels\",[\"^I\",[\"\",\"\"]],\"srcType\",\"src\",\"disabledByIndex\",[],\"horizontalAlignment\",\"left\",\"maintainSpaceWhenHidden\",false,\"labels\",[]]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"moduleContainer\",\"^=\",\"body\",\"^>\",\"\",\"row\",3.600000000000001,\"col\",0,\"^?\",0.8,\"^@\",12,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673549353193\",\"^F\",\"~m1673554747068\",\"^G\",\"\",\"^H\",null]]],\"image1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"image1\",\"^4\",\"widget\",\"^5\",\"ImageWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"fixed\",\"horizontalAlign\",\"center\",\"srcWidth\",1024,\"clickable\",false,\"flipVertical\",false,\"src\",\"https://placekitten.com/400/300\",\"hidden\",false,\"srcHeight\",741,\"showInEditor\",false,\"tooltipText\",\"\",\"fit\",\"cover\",\"flipHorizontal\",false,\"aspectRatio\",null,\"storageBlobId\",\"fe787d58-b13c-484d-b8bd-c4a181dd2726\",\"altText\",\"\",\"dbBlobId\",\"\",\"events\",[\"^3\",[]],\"srcType\",\"storageBlobId\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"moduleContainer\",\"^=\",\"body\",\"^>\",\"\",\"row\",0,\"col\",0,\"^?\",3,\"^@\",12,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673549398140\",\"^F\",\"~m1673558343593\",\"^G\",\"\",\"^H\",null]]],\"button1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"button1\",\"^4\",\"widget\",\"^5\",\"ButtonWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"horizontalAlign\",\"stretch\",\"clickable\",false,\"iconAfter\",\"\",\"submitTargetId\",null,\"hidden\",false,\"text\",\"Roll a Dice\",\"showInEditor\",false,\"tooltipText\",\"\",\"styleVariant\",\"solid\",\"submit\",false,\"iconBefore\",\"bold/entertainment-leisure-chess-piece-dice\",\"events\",[\"^I\",[[\"^3\",[\"event\",\"click\",\"type\",\"script\",\"method\",\"run\",\"pluginId\",\"\",\"targetId\",null,\"params\",[\"^3\",[\"src\",\"function rng(min, max) {\\n return Math.floor(\\n Math.random() * (max - min + 1) + min\\n );\\n}\\n\\nconst rollValue = rng(1, 20);\\nlet rollText = `${rollValue} : `;\\n\\nif (rollValue === 20) {\\n rollText += `<span style=\\\"color:green;font-style:italic;\\\">Triumph!</span>`;\\n} else if (rollValue < 20 && rollValue >= 11) {\\n rollText += `<span style=\\\"color:green;\\\">Success</span>`;\\n} else if (rollValue < 11 && rollValue >= 6) {\\n rollText += `<span style=\\\"color:gray;\\\">Tough Choice</span>`;\\n} else if (rollValue < 6 && rollValue > 1) {\\n rollText += `<span style=\\\"color:red;\\\">Failure</span>`;\\n} else {\\n rollText += `<span style=\\\"color:red;font-style:italic;\\\">Catastrophe!</span>`;\\n}\\n\\ndiceResult.setValue(rollText);\"]],\"waitType\",\"debounce\",\"waitMs\",\"0\"]]]],\"loading\",false,\"loaderPosition\",\"auto\",\"disabled\",false,\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"moduleContainer\",\"^=\",\"body\",\"^>\",\"\",\"row\",5.199999999999999,\"col\",0,\"^?\",1,\"^@\",12,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673553225353\",\"^F\",\"~m1673554118753\",\"^G\",\"\",\"^H\",null]]],\"text2\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text2\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"center\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"#### {{ diceResult.value }}\",\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"moduleContainer\",\"^=\",\"body\",\"^>\",\"\",\"row\",4.6,\"col\",0,\"^?\",0.6,\"^@\",12,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673553261777\",\"^F\",\"~m1673554199899\",\"^G\",\"\",\"^H\",null]]],\"diceResult\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"diceResult\",\"^4\",\"state\",\"^5\",\"State\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"_persistedValueGetter\",null,\"_persistedValueSetter\",null,\"persistValue\",false,\"persistedValueKey\",\"\",\"value\",\"--\"]],\"^:\",null,\"^;\",null,\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673553278828\",\"^F\",\"~m1673553311817\",\"^G\",\"\",\"^H\",null]]],\"divider2\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"divider2\",\"^4\",\"widget\",\"^5\",\"DividerWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"hidden\",false,\"maintainSpaceWhenHidden\",false,\"showInEditor\",false,\"tooltipText\",\"\",\"horizontalAlign\",\"center\",\"text\",\"\",\"textSize\",\"default\"]],\"^:\",[\"^3\",[]],\"^;\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^<\",\"moduleContainer\",\"^=\",\"body\",\"^>\",\"\",\"row\",4.4,\"col\",0,\"^?\",0.2,\"^@\",12,\"^A\",0]]],\"^B\",null,\"^C\",null,\"^D\",null,\"^<\",\"\",\"^E\",\"~m1673557928786\",\"^F\",\"~m1673557928786\",\"^G\",\"\",\"^H\",null]]]]],\"^E\",null,\"version\",\"2.107.1\",\"appThemeId\",null,\"appMaxWidth\",\"1560px\",\"preloadedAppJavaScript\",null,\"preloadedAppJSLinks\",[],\"testEntities\",[],\"tests\",[],\"appStyles\",\"\",\"responsiveLayoutDisabled\",false,\"loadingIndicatorsDisabled\",false,\"urlFragmentDefinitions\",[\"^I\",[]],\"pageLoadValueOverrides\",[\"^I\",[]],\"customDocumentTitle\",\"\",\"customDocumentTitleEnabled\",false,\"customShortcuts\",[],\"isGlobalWidget\",true,\"isMobileApp\",false,\"multiScreenMobileApp\",false,\"mobileAppSettings\",[\"^ \",\"mobileOfflineModeEnabled\",false],\"folders\",[\"^I\",[]],\"queryStatusVisibility\",false,\"markdownLinkBehavior\",\"auto\",\"inAppRetoolPillAppearance\",\"NO_OVERRIDE\",\"rootScreen\",null,\"instrumentationEnabled\",false,\"experimentalPerfFeatures\",[\"^ \",\"serverDepGraphEnabled\",false,\"useRuntimeV2\",false],\"experimentalStabilityFeatures\",[\"^ \",\"lockModelForUpdates\",false],\"experimentalDataTabEnabled\",true]]]"}}}}
{"uuid":"f69e47ae-ac9c-11ed-8ab2-b3294e9bd949","page":{"id":128347811,"data":{"appState":"[\"~#iR\",[\"^ \",\"n\",\"appTemplate\",\"v\",[\"^ \",\"isFetching\",false,\"plugins\",[\"~#iOM\",[\"query1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"query1\",\"type\",\"datasource\",\"subtype\",\"RESTQuery\",\"namespace\",null,\"resourceName\",\"d6c65cb4-05bb-412d-ae13-b58f7a2518e8\",\"resourceDisplayName\",\"D&D API\",\"template\",[\"^3\",[\"queryRefreshTime\",\"\",\"paginationLimit\",\"\",\"body\",\"\",\"lastReceivedFromResourceAt\",null,\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",true,\"paginationPaginationField\",\"\",\"headers\",\"\",\"showFailureToaster\",true,\"paginationEnabled\",false,\"query\",\"api/monsters?challenge_rating={{ numberInput1.value }}\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"~#iL\",[]],\"runWhenPageLoadsDelay\",\"\",\"data\",null,\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"cacheKeyTtl\",\"\",\"requestSentTimestamp\",null,\"cookies\",\"\",\"metadata\",null,\"queryRunTime\",null,\"changesetObject\",\"\",\"errorTransformer\",\"// The variable 'data' allows you to reference the request's data in the transformer. \\n// example: return data.find(element => element.isError)\\nreturn data.error\",\"finished\",null,\"confirmationMessage\",null,\"isFetching\",false,\"changeset\",\"\",\"rawData\",null,\"queryTriggerDelay\",\"0\",\"resourceTypeOverride\",null,\"watchedParams\",[\"^:\",[]],\"enableErrorTransformer\",false,\"showLatestVersionUpdatedWarning\",false,\"paginationDataField\",\"\",\"timestamp\",0,\"importedQueryDefaults\",[\"^3\",[]],\"enableTransformer\",false,\"showUpdateSetValueDynamicallyToggle\",true,\"runWhenPageLoads\",false,\"transformer\",\"// type your code here\\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\\nreturn data\",\"events\",[\"^:\",[]],\"queryTimeout\",\"10001\",\"requireConfirmation\",false,\"type\",\"GET\",\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^:\",[]],\"bodyType\",\"json\",\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"style\",null,\"position2\",null,\"mobilePosition2\",null,\"mobileAppPosition\",null,\"tabIndex\",null,\"container\",\"\",\"createdAt\",\"~m1676402567072\",\"updatedAt\",\"~m1676402866766\",\"folder\",\"\",\"screen\",null]]],\"text1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text1\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"left\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"## Monster Browser\",\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"\",\"rowGroup\",\"body\",\"subcontainer\",\"\",\"row\",0,\"col\",0,\"height\",0.6,\"width\",12,\"tabNum\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1676402592803\",\"^B\",\"~m1676402613077\",\"^C\",\"\",\"^D\",null]]],\"$main\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"$main\",\"^4\",\"frame\",\"^5\",\"Frame\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"type\",\"main\",\"sticky\",false,\"isHiddenOnDesktop\",false,\"isHiddenOnMobile\",false]],\"^;\",[\"^3\",[]],\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1676402592839\",\"^B\",\"~m1676402592839\",\"^C\",\"\",\"^D\",null]]],\"table1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"table1\",\"^4\",\"widget\",\"^5\",\"TableWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"showCustomButton\",false,\"sortMappedValue\",[\"^3\",[]],\"_filteredSortedRenderedDataWithTypes\",null,\"heightType\",\"fixed\",\"normalizedData\",null,\"rowHeight\",\"standard\",\"saveChangesDisabled\",\"\",\"columnTypeProperties\",[\"^3\",[]],\"columnWidths\",[\"^:\",[]],\"showSummaryFooter\",false,\"disableRowSelectInteraction\",false,\"columnWidthsMobile\",[\"^:\",[]],\"hasNextAfterCursor\",\"\",\"columnTypeSpecificExtras\",[\"^3\",[]],\"onRowAdded\",\"\",\"columnHeaderNames\",[\"^3\",[]],\"alwaysShowPaginator\",false,\"columnColors\",[\"^3\",[]],\"columnFrozenAlignments\",[\"^3\",[]],\"allowMultiRowSelect\",false,\"columnFormats\",[\"^3\",[]],\"columnRestrictedEditing\",[\"^3\",[]],\"showFilterButton\",true,\"_columnVisibility\",[\"^3\",[]],\"_columnSummaryTypes\",[\"^3\",[]],\"_columnsWithLegacyBackgroundColor\",[\"~#iOS\",[]],\"showAddRowButton\",false,\"_unfilteredSelectedIndex\",null,\"nextBeforeCursor\",\"\",\"columnVisibility\",[\"^3\",[]],\"selectedPageIndex\",\"0\",\"applyDynamicSettingsToColumnOrder\",true,\"rowColor\",[],\"actionButtonColumnName\",\"Actions\",\"resetAfterSave\",true,\"filterStackType\",\"and\",\"downloadRawData\",false,\"showFetchingIndicator\",true,\"serverPaginated\",false,\"data\",\"{{ query1.data.results }}\",\"displayedData\",null,\"actionButtons\",[\"^:\",[]],\"actionButtonSelectsRow\",true,\"selectRowByDefault\",true,\"defaultSortByColumn\",\"\",\"paginationOffset\",0,\"columnAlignment\",[\"^3\",[]],\"columnSummaries\",[\"^ \"],\"showBoxShadow\",false,\"sortedDesc\",false,\"customButtonName\",\"Custom Button\",\"columnMappersRenderAsHTML\",[\"^3\",[]],\"showRefreshButton\",true,\"pageSize\",\"20\",\"useDynamicColumnSettings\",false,\"actionButtonPosition\",\"left\",\"dynamicRowHeights\",false,\"bulkUpdateAction\",\"\",\"afterCursor\",\"\",\"onCustomButtonPressQueryName\",\"\",\"changeSet\",[\"^ \"],\"sortedColumn\",\"\",\"_columnSummaryValues\",[\"^3\",[]],\"checkboxRowSelect\",true,\"_compatibilityMode\",false,\"showColumnBorders\",false,\"clearSelectionLabel\",\"Clear selection\",\"_renderedDataWithTypes\",null,\"columnAllowOverflow\",[\"^3\",[]],\"beforeCursor\",\"\",\"serverPaginationType\",\"limitOffsetBased\",\"onRowSelect\",\"\",\"showDownloadButton\",true,\"selectedIndex\",null,\"defaultSortDescending\",false,\"_sortedDisplayedDataIndices\",null,\"dynamicColumnSettings\",null,\"totalRowCount\",\"\",\"recordUpdates\",[],\"newRow\",null,\"emptyMessage\",\"No rows found\",\"columnEditable\",[\"^3\",[]],\"_viewerColumnSummaryTypes\",[\"^ \"],\"filters\",[],\"displayedDataIndices\",null,\"disableSorting\",[\"^3\",[]],\"columnMappers\",[\"^3\",[]],\"showClearSelection\",false,\"doubleClickToEdit\",true,\"overflowType\",\"pagination\",\"_reverseSortedDisplayedDataIndices\",null,\"showTableBorder\",true,\"selectedCell\",[\"^ \",\"index\",null,\"data\",null,\"columnName\",null],\"columns\",[\"^:\",[]],\"defaultSelectedRow\",\"first\",\"freezeActionButtonColumns\",false,\"sort\",null,\"_columns\",[\"^:\",[]],\"sortByRawValue\",[\"^3\",[]],\"calculatedColumns\",[\"^:\",[]],\"selectedRow\",[\"^ \",\"^K\",null,\"^L\",null],\"showPaginationOnTop\",false,\"_reverseDisplayedDataIndices\",null,\"nextAfterCursor\",\"\",\"useCompactMode\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"\",\"^E\",\"body\",\"^F\",\"\",\"row\",1.5999999999999992,\"col\",0,\"^G\",9.2,\"^H\",6,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1676402703875\",\"^B\",\"~m1676402703875\",\"^C\",\"\",\"^D\",null]]],\"numberInput1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"numberInput1\",\"^4\",\"widget\",\"^5\",\"NumberInputWidget\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"readOnly\",false,\"iconAfter\",\"\",\"max\",null,\"preventScroll\",false,\"inputValue\",0,\"hidden\",false,\"customValidation\",\"\",\"showSeparators\",true,\"hideValidationMessage\",false,\"textBefore\",\"\",\"validationMessage\",\"\",\"textAfter\",\"\",\"showInEditor\",false,\"allowNull\",false,\"showClear\",false,\"tooltipText\",\"\",\"currency\",\"USD\",\"labelAlign\",\"left\",\"formDataKey\",\"{{ self.id }}\",\"value\",0,\"labelCaption\",\"\",\"min\",null,\"labelWidth\",\"33\",\"placeholder\",\"Enter value\",\"showStepper\",true,\"label\",\"Challenge Rating\",\"_validate\",false,\"labelWidthUnit\",\"%\",\"invalid\",false,\"format\",\"decimal\",\"iconBefore\",\"\",\"textAlign\",\"left\",\"inputTooltip\",\"\",\"events\",[\"^3\",[]],\"loading\",false,\"disabled\",false,\"labelPosition\",\"left\",\"decimalPlaces\",null,\"labelWrap\",false,\"padDecimal\",false,\"maintainSpaceWhenHidden\",false,\"required\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"\",\"^E\",\"body\",\"^F\",\"\",\"row\",0.6,\"col\",0,\"^G\",1,\"^H\",6,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1676402755839\",\"^B\",\"~m1676402767694\",\"^C\",\"\",\"^D\",null]]],\"container1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"container1\",\"^4\",\"widget\",\"^5\",\"ContainerWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"_disabledByIndex\",[\"^:\",[\"\"]],\"heightType\",\"auto\",\"currentViewKey\",null,\"iconByIndex\",[],\"clickable\",false,\"_iconByIndex\",[\"^:\",[\"\"]],\"hidden\",false,\"showHeader\",true,\"hoistFetching\",true,\"views\",[],\"showInEditor\",false,\"tooltipText\",\"\",\"hiddenByIndex\",[],\"_hiddenByIndex\",[\"^:\",[\"\"]],\"currentViewIndex\",null,\"_hasMigratedNestedItems\",true,\"transition\",\"none\",\"itemMode\",\"static\",\"_tooltipByIndex\",[\"^:\",[\"\"]],\"tooltipByIndex\",[],\"showFooter\",false,\"_viewKeys\",[\"^:\",[\"View 1\"]],\"events\",[\"^3\",[]],\"_ids\",[\"^:\",[\"e7fa9\"]],\"viewKeys\",[],\"iconPositionByIndex\",[],\"_iconPositionByIndex\",[\"^:\",[\"\"]],\"hovered\",false,\"loading\",false,\"overflowType\",\"scroll\",\"disabled\",false,\"_labels\",[\"^:\",[\"\"]],\"disabledByIndex\",[],\"maintainSpaceWhenHidden\",false,\"showBody\",true,\"labels\",[]]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"\",\"^E\",\"body\",\"^F\",\"\",\"row\",0.6,\"col\",6,\"^G\",0.2,\"^H\",6,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1676402915992\",\"^B\",\"~m1676402915992\",\"^C\",\"\",\"^D\",null]]],\"containerTitle1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"containerTitle1\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"left\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"#### {{ query2.data.name }}\",\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"container1\",\"^E\",\"header\",\"^F\",\"\",\"row\",0,\"col\",0,\"^G\",0.6,\"^H\",12,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1676402916224\",\"^B\",\"~m1676403040691\",\"^C\",\"\",\"^D\",null]]],\"query2\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"query2\",\"^4\",\"datasource\",\"^5\",\"RESTQuery\",\"^6\",null,\"^7\",\"d6c65cb4-05bb-412d-ae13-b58f7a2518e8\",\"^8\",\"D&D API\",\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"paginationLimit\",\"\",\"body\",\"\",\"lastReceivedFromResourceAt\",null,\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",true,\"paginationPaginationField\",\"\",\"headers\",\"\",\"showFailureToaster\",true,\"paginationEnabled\",false,\"query\",\"api/monsters/{{ table1.selectedRow.data.index }}\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^:\",[]],\"runWhenPageLoadsDelay\",\"\",\"data\",null,\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"cacheKeyTtl\",\"\",\"requestSentTimestamp\",null,\"cookies\",\"\",\"metadata\",null,\"queryRunTime\",null,\"changesetObject\",\"\",\"errorTransformer\",\"// The variable 'data' allows you to reference the request's data in the transformer. \\n// example: return data.find(element => element.isError)\\nreturn data.error\",\"finished\",null,\"confirmationMessage\",null,\"isFetching\",false,\"changeset\",\"\",\"rawData\",null,\"queryTriggerDelay\",\"0\",\"resourceTypeOverride\",null,\"watchedParams\",[\"^:\",[]],\"enableErrorTransformer\",false,\"showLatestVersionUpdatedWarning\",false,\"paginationDataField\",\"\",\"timestamp\",0,\"importedQueryDefaults\",[\"^3\",[]],\"enableTransformer\",false,\"showUpdateSetValueDynamicallyToggle\",true,\"runWhenPageLoads\",false,\"transformer\",\"// type your code here\\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\\nreturn data\",\"events\",[\"^:\",[]],\"queryTimeout\",\"10000\",\"requireConfirmation\",false,\"type\",\"GET\",\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",false,\"allowedGroups\",[\"^:\",[]],\"bodyType\",\"json\",\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1676402938876\",\"^B\",\"~m1676402987764\",\"^C\",\"\",\"^D\",null]]],\"text2\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"text2\",\"^4\",\"widget\",\"^5\",\"TextWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"left\",\"hidden\",false,\"imageWidth\",\"fit\",\"showInEditor\",false,\"verticalAlign\",\"center\",\"tooltipText\",\"\",\"value\",\"**Alignment:** {{ query2.data.alignment }}\\n**Size:** {{ query2.data.size }}\\n**Hit Dice:** {{ query2.data.hit_dice }}\",\"disableMarkdown\",false,\"overflowType\",\"scroll\",\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"container1\",\"^E\",\"body\",\"^F\",\"e7fa9\",\"row\",0,\"col\",0,\"^G\",0.6,\"^H\",6,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1676403049038\",\"^B\",\"~m1676403122538\",\"^C\",\"\",\"^D\",null]]],\"query3\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"query3\",\"^4\",\"datasource\",\"^5\",\"RESTQuery\",\"^6\",null,\"^7\",\"7380f337-a9ab-43a8-aed2-89addd3ce4d6\",\"^8\",\"OpenAI Image Generator\",\"^9\",[\"^3\",[\"queryRefreshTime\",\"\",\"paginationLimit\",\"\",\"body\",\"[{\\\"key\\\":\\\"n\\\",\\\"value\\\":\\\"1\\\"},{\\\"key\\\":\\\"prompt\\\",\\\"value\\\":\\\"{{ table1.selectedRow.data.name }} digital art painting for dungeons and dragons\\\"}]\",\"lastReceivedFromResourceAt\",null,\"queryDisabledMessage\",\"\",\"servedFromCache\",false,\"successMessage\",\"\",\"queryDisabled\",\"\",\"playgroundQuerySaveId\",\"latest\",\"resourceNameOverride\",\"\",\"runWhenModelUpdates\",true,\"paginationPaginationField\",\"\",\"headers\",\"\",\"showFailureToaster\",true,\"paginationEnabled\",false,\"query\",\"\",\"playgroundQueryUuid\",\"\",\"playgroundQueryId\",null,\"error\",null,\"privateParams\",[\"^:\",[]],\"runWhenPageLoadsDelay\",\"\",\"data\",null,\"importedQueryInputs\",[\"^3\",[]],\"isImported\",false,\"showSuccessToaster\",true,\"cacheKeyTtl\",300,\"requestSentTimestamp\",null,\"cookies\",\"\",\"metadata\",null,\"queryRunTime\",null,\"changesetObject\",\"\",\"errorTransformer\",\"// The variable 'data' allows you to reference the request's data in the transformer. \\n// example: return data.find(element => element.isError)\\nreturn data.error\",\"finished\",null,\"confirmationMessage\",null,\"isFetching\",false,\"changeset\",\"\",\"rawData\",null,\"queryTriggerDelay\",\"0\",\"resourceTypeOverride\",\"\",\"watchedParams\",[\"^:\",[]],\"enableErrorTransformer\",false,\"showLatestVersionUpdatedWarning\",false,\"paginationDataField\",\"\",\"timestamp\",0,\"importedQueryDefaults\",[\"^3\",[]],\"enableTransformer\",false,\"showUpdateSetValueDynamicallyToggle\",true,\"runWhenPageLoads\",false,\"transformer\",\"// type your code here\\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\\nreturn data\",\"events\",[\"^:\",[]],\"queryTimeout\",\"10000\",\"requireConfirmation\",false,\"type\",\"POST\",\"queryFailureConditions\",\"\",\"changesetIsObject\",false,\"enableCaching\",true,\"allowedGroups\",[\"^:\",[]],\"bodyType\",\"json\",\"offlineQueryType\",\"None\",\"queryThrottleTime\",\"750\",\"updateSetValueDynamically\",false,\"notificationDuration\",\"\"]],\"^;\",null,\"^<\",null,\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1676403175487\",\"^B\",\"~m1676507320561\",\"^C\",\"\",\"^D\",null]]],\"image1\",[\"^0\",[\"^ \",\"n\",\"pluginTemplate\",\"v\",[\"^ \",\"id\",\"image1\",\"^4\",\"widget\",\"^5\",\"ImageWidget2\",\"^6\",null,\"^7\",null,\"^8\",null,\"^9\",[\"^3\",[\"heightType\",\"auto\",\"horizontalAlign\",\"center\",\"srcWidth\",null,\"clickable\",false,\"flipVertical\",false,\"src\",\"{{ query3.data.data['0'].url }}\",\"hidden\",false,\"srcHeight\",null,\"showInEditor\",false,\"tooltipText\",\"\",\"fit\",\"cover\",\"flipHorizontal\",false,\"aspectRatio\",null,\"storageBlobId\",\"\",\"altText\",\"\",\"dbBlobId\",\"\",\"events\",[\"^3\",[]],\"srcType\",\"src\",\"maintainSpaceWhenHidden\",false]],\"^;\",[\"^3\",[]],\"^<\",[\"^0\",[\"^ \",\"n\",\"position2\",\"v\",[\"^ \",\"^@\",\"container1\",\"^E\",\"body\",\"^F\",\"e7fa9\",\"row\",0,\"col\",6,\"^G\",3,\"^H\",6,\"^I\",0]]],\"^=\",null,\"^>\",null,\"^?\",null,\"^@\",\"\",\"^A\",\"~m1676403283956\",\"^B\",\"~m1676403307549\",\"^C\",\"\",\"^D\",null]]]]],\"^A\",null,\"version\",\"2.111.0\",\"appThemeId\",null,\"appMaxWidth\",\"1560px\",\"preloadedAppJavaScript\",null,\"preloadedAppJSLinks\",[],\"testEntities\",[],\"tests\",[],\"appStyles\",\"\",\"responsiveLayoutDisabled\",false,\"loadingIndicatorsDisabled\",false,\"urlFragmentDefinitions\",[\"^:\",[]],\"pageLoadValueOverrides\",[\"^:\",[]],\"customDocumentTitle\",\"\",\"customDocumentTitleEnabled\",false,\"customShortcuts\",[],\"isGlobalWidget\",false,\"isMobileApp\",false,\"multiScreenMobileApp\",false,\"mobileAppSettings\",[\"^ \",\"mobileOfflineModeEnabled\",false,\"mobileOfflineModeDelaySync\",false],\"folders\",[\"^:\",[]],\"queryStatusVisibility\",false,\"markdownLinkBehavior\",\"auto\",\"inAppRetoolPillAppearance\",\"NO_OVERRIDE\",\"rootScreen\",null,\"instrumentationEnabled\",false,\"experimentalPerfFeatures\",[\"^ \",\"serverDepGraphEnabled\",false,\"useRuntimeV2\",false,\"runtimeV2OptOut\",false],\"experimentalStabilityFeatures\",[\"^ \",\"lockModelForUpdates\",false],\"experimentalDataTabEnabled\",true]]]"},"changesRecord":[{"type":"DATASOURCE_TYPE_CHANGE","payload":{"newType":"RESTQuery","pluginId":"query3","resourceName":"7380f337-a9ab-43a8-aed2-89addd3ce4d6"}},{"type":"WIDGET_TEMPLATE_UPDATE","payload":{"plugin":{"id":"query3","type":"datasource","style":null,"folder":"","screen":null,"subtype":"RESTQuery","tabIndex":null,"template":{"body":"","data":null,"type":"GET","error":null,"query":"","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"json","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":"","transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":false,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"paginationEnabled":false,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":true,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":true,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"container":"","createdAt":"2023-02-14T19:32:55.487Z","namespace":null,"position2":null,"updatedAt":"2023-02-14T19:35:31.753Z","resourceName":"7380f337-a9ab-43a8-aed2-89addd3ce4d6","mobilePosition2":null,"mobileAppPosition":null,"resourceDisplayName":null},"update":{"body":"[{\"key\":\"n\",\"value\":\"1\"},{\"key\":\"prompt\",\"value\":\"{{ table1.selectedRow.data.name }} digital art painting for dungeons and dragons\"}]","data":null,"type":"POST","error":null,"query":"","events":[],"cookies":"","headers":"","rawData":null,"bodyType":"json","finished":null,"metadata":null,"changeset":"","timestamp":0,"isFetching":false,"isImported":false,"cacheKeyTtl":300,"transformer":"// type your code here\n// example: return formatDataAsArray(data).filter(row => row.quantity > 20)\nreturn data","queryRunTime":null,"queryTimeout":"10000","allowedGroups":[],"enableCaching":true,"privateParams":[],"queryDisabled":"","watchedParams":[],"successMessage":"","changesetObject":"","paginationLimit":"","servedFromCache":false,"errorTransformer":"// The variable 'data' allows you to reference the request's data in the transformer. \n// example: return data.find(element => element.isError)\nreturn data.error","offlineQueryType":"None","queryRefreshTime":"","runWhenPageLoads":false,"changesetIsObject":false,"enableTransformer":false,"paginationEnabled":false,"playgroundQueryId":null,"queryThrottleTime":"750","queryTriggerDelay":"0","showFailureToaster":true,"showSuccessToaster":true,"confirmationMessage":null,"importedQueryInputs":{},"paginationDataField":"","playgroundQueryUuid":"","requireConfirmation":false,"runWhenModelUpdates":true,"notificationDuration":"","queryDisabledMessage":"","requestSentTimestamp":null,"resourceNameOverride":"","resourceTypeOverride":"","importedQueryDefaults":{},"playgroundQuerySaveId":"latest","runWhenPageLoadsDelay":"","enableErrorTransformer":false,"queryFailureConditions":"","paginationPaginationField":"","updateSetValueDynamically":false,"lastReceivedFromResourceAt":null,"showLatestVersionUpdatedWarning":false,"showUpdateSetValueDynamicallyToggle":true},"widgetId":"query3","shouldRecalculateTemplate":true},"isUserTriggered":true}],"gitSha":null,"checksum":null,"createdAt":"2023-02-16T00:28:40.649Z","updatedAt":"2023-02-16T00:28:40.649Z","pageId":1829697,"userId":485065,"branchId":null},"modules":{}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment