@prostgles/prostgles 2.3.6-dev.1786548258
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.dockerignore +14 -0
- package/.eslintrc.common.js +71 -0
- package/.gitattributes +2 -0
- package/.github/ISSUE_TEMPLATE/BUG.yml +52 -0
- package/.github/ISSUE_TEMPLATE/CUSTOM.yml +13 -0
- package/.github/ISSUE_TEMPLATE/FEATURE.yml +27 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +9 -0
- package/.github/ISSUE_TEMPLATE/config.yml +5 -0
- package/.github/ISSUE_TEMPLATE/custom.md +3 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +5 -0
- package/.github/workflows/docker_test.yml +46 -0
- package/.github/workflows/electron_build_linux.yml +40 -0
- package/.github/workflows/electron_build_macos.yml +36 -0
- package/.github/workflows/electron_build_windows.yml +34 -0
- package/.github/workflows/electron_linux_test.yml +24 -0
- package/.github/workflows/electron_macos_test.yml +25 -0
- package/.github/workflows/linux_test.yml +127 -0
- package/.github/workflows/macos_test.yml +63 -0
- package/.github/workflows/on_release.yml +185 -0
- package/.github/workflows/package_version_increased.yml +66 -0
- package/.github/workflows/publish_release.yml +67 -0
- package/.github/workflows/windows_test.yml +48 -0
- package/.prettierignore +5 -0
- package/.prettierrc +3 -0
- package/.vscode/settings.json +46 -0
- package/CODE_OF_CONDUCT +47 -0
- package/CONTRIBUTING +59 -0
- package/DB.Dockerfile +11 -0
- package/Dockerfile +31 -0
- package/LICENSE +661 -0
- package/PRIVACY +28 -0
- package/README.md +132 -0
- package/SECURITY.md +8 -0
- package/changelog/v1.0.0.md +5 -0
- package/changelog/v2.0.0.md +25 -0
- package/changelog/v2.2.0.md +13 -0
- package/changelog/v2.2.1.md +4 -0
- package/changelog/v2.2.2.md +3 -0
- package/changelog/v2.2.3.md +2 -0
- package/changelog/v2.2.4.md +3 -0
- package/changelog/v2.3.0.md +5 -0
- package/changelog/v2.3.1.md +1 -0
- package/changelog/v2.3.2.md +1 -0
- package/changelog/v2.3.3.md +2 -0
- package/changelog/v2.3.4.md +2 -0
- package/changelog/v2.3.5.md +2 -0
- package/changelog/v2.3.6.md +2 -0
- package/client/build.sh +1 -0
- package/client/eslint.config.mjs +114 -0
- package/client/package-lock.json +16513 -0
- package/client/package.json +108 -0
- package/client/public/manifest.json +12 -0
- package/client/public/robots.txt +3 -0
- package/client/setup-icons.js +59 -0
- package/client/src/App.css +31 -0
- package/client/src/App.tsx +364 -0
- package/client/src/Testing.ts +724 -0
- package/client/src/app/CommandPalette/CommandPalette.css +11 -0
- package/client/src/app/CommandPalette/CommandPalette.tsx +119 -0
- package/client/src/app/CommandPalette/Documentation.css +3 -0
- package/client/src/app/CommandPalette/Documentation.tsx +77 -0
- package/client/src/app/CommandPalette/DynamicComponent.tsx +87 -0
- package/client/src/app/CommandPalette/getDocumentation.ts +175 -0
- package/client/src/app/CommandPalette/getUIDocShortestPath.ts +62 -0
- package/client/src/app/CommandPalette/useCommandPaletteState.tsx +188 -0
- package/client/src/app/CommandPalette/useGoToUI.tsx +147 -0
- package/client/src/app/CommandPalette/useHighlightDocItem.ts +89 -0
- package/client/src/app/CommandPalette/utils.ts +111 -0
- package/client/src/app/UIDocs/UIInstallationUIDoc.ts +43 -0
- package/client/src/app/UIDocs/accountUIDoc.ts +128 -0
- package/client/src/app/UIDocs/commandPaletteUIDoc.ts +40 -0
- package/client/src/app/UIDocs/connection/AIAssistantUIDoc.ts +309 -0
- package/client/src/app/UIDocs/connection/agenticWorkflowsUIDoc.ts +37 -0
- package/client/src/app/UIDocs/connection/config/accessControlUIDoc.ts +44 -0
- package/client/src/app/UIDocs/connection/config/apiUIDoc.ts +95 -0
- package/client/src/app/UIDocs/connection/config/authentication.UIDoc.ts +96 -0
- package/client/src/app/UIDocs/connection/config/backupAndRestoreUIDoc.ts +238 -0
- package/client/src/app/UIDocs/connection/config/fileStorageUIDoc.ts +27 -0
- package/client/src/app/UIDocs/connection/connectionConfigUIDoc.ts +79 -0
- package/client/src/app/UIDocs/connection/dashboard/dashboardContentUIDoc.ts +27 -0
- package/client/src/app/UIDocs/connection/dashboard/dashboardMenuUIDoc.ts +189 -0
- package/client/src/app/UIDocs/connection/dashboard/mapUIDoc.ts +172 -0
- package/client/src/app/UIDocs/connection/dashboard/schemaGraphUIDoc.ts +66 -0
- package/client/src/app/UIDocs/connection/dashboard/serverSideFunctionUIDoc.ts +27 -0
- package/client/src/app/UIDocs/connection/dashboard/sqlEditorUIDoc.ts +284 -0
- package/client/src/app/UIDocs/connection/dashboard/table/addColumnMenuUIDoc.ts +250 -0
- package/client/src/app/UIDocs/connection/dashboard/table/columnMenuUIDoc.ts +123 -0
- package/client/src/app/UIDocs/connection/dashboard/table/paginationUIDoc.ts +56 -0
- package/client/src/app/UIDocs/connection/dashboard/table/smartFilterBarUIDoc.ts +126 -0
- package/client/src/app/UIDocs/connection/dashboard/table/smartFormUIDoc.ts +168 -0
- package/client/src/app/UIDocs/connection/dashboard/table/tableMenuUIDoc.ts +228 -0
- package/client/src/app/UIDocs/connection/dashboard/table/tableUIDoc.ts +90 -0
- package/client/src/app/UIDocs/connection/dashboard/timechartUIDoc.ts +169 -0
- package/client/src/app/UIDocs/connection/dashboardUIDoc.ts +176 -0
- package/client/src/app/UIDocs/connection/getCommonViewHeaderUIDoc.ts +146 -0
- package/client/src/app/UIDocs/connectionsUIDoc.ts +261 -0
- package/client/src/app/UIDocs/desktopInstallation.ts +32 -0
- package/client/src/app/UIDocs/editConnectionUIDoc.ts +131 -0
- package/client/src/app/UIDocs/navbarUIDoc.ts +145 -0
- package/client/src/app/UIDocs/overviewUIDoc.ts +31 -0
- package/client/src/app/UIDocs/serverSettingsUIDoc.ts +64 -0
- package/client/src/app/UIDocs.ts +274 -0
- package/client/src/app/XRealIpSpoofableAlert.tsx +39 -0
- package/client/src/app/domToSVG/SVGif/addSVGifCaption.ts +112 -0
- package/client/src/app/domToSVG/SVGif/addSVGifPointer.ts +59 -0
- package/client/src/app/domToSVG/SVGif/addSVGifTimelineControls.ts +94 -0
- package/client/src/app/domToSVG/SVGif/animations/getSVGifCursorAnimationHandler.ts +162 -0
- package/client/src/app/domToSVG/SVGif/animations/getSVGifCustomAnimation.ts +53 -0
- package/client/src/app/domToSVG/SVGif/animations/getSVGifPropertiesAnimation.ts +50 -0
- package/client/src/app/domToSVG/SVGif/animations/getSVGifTypeAnimation.ts +105 -0
- package/client/src/app/domToSVG/SVGif/animations/getSVGifZoomToAnimation.ts +114 -0
- package/client/src/app/domToSVG/SVGif/compressSVGif.ts +86 -0
- package/client/src/app/domToSVG/SVGif/getSVGif.ts +111 -0
- package/client/src/app/domToSVG/SVGif/getSVGifAnimations.ts +318 -0
- package/client/src/app/domToSVG/SVGif/getSVGifKeyframes.ts +42 -0
- package/client/src/app/domToSVG/SVGif/getSVGifParsedScenes.ts +52 -0
- package/client/src/app/domToSVG/SVGif/getSVGifRevealKeyframes.ts +73 -0
- package/client/src/app/domToSVG/SVGif/getSVGifTargetBBox.ts +36 -0
- package/client/src/app/domToSVG/addFragmentViewBoxes.ts +43 -0
- package/client/src/app/domToSVG/containers/addOverflowClipPath.ts +117 -0
- package/client/src/app/domToSVG/containers/bgAndBorderToSVG.ts +204 -0
- package/client/src/app/domToSVG/containers/deduplicateSVGPaths.ts +128 -0
- package/client/src/app/domToSVG/containers/elementToSVG.ts +231 -0
- package/client/src/app/domToSVG/containers/rectangleToSVG.ts +196 -0
- package/client/src/app/domToSVG/containers/shadowToSVG.ts +52 -0
- package/client/src/app/domToSVG/domToSVG.ts +263 -0
- package/client/src/app/domToSVG/domToSvg2.ts +129 -0
- package/client/src/app/domToSVG/domToThemeAwareSVG.ts +361 -0
- package/client/src/app/domToSVG/getCorrespondingDarkNode.ts +87 -0
- package/client/src/app/domToSVG/graphics/fontIconToSVG.ts +141 -0
- package/client/src/app/domToSVG/graphics/getForeignObject.ts +43 -0
- package/client/src/app/domToSVG/graphics/imgToSVG.ts +140 -0
- package/client/src/app/domToSVG/setThemeForSVGScreenshot.ts +82 -0
- package/client/src/app/domToSVG/text/getTextForSVG.ts +243 -0
- package/client/src/app/domToSVG/text/textToSVG.ts +264 -0
- package/client/src/app/domToSVG/utils/addNewChildren.ts +55 -0
- package/client/src/app/domToSVG/utils/canvasToDataURL.ts +6 -0
- package/client/src/app/domToSVG/utils/copyAnimationStylesToSvg.ts +127 -0
- package/client/src/app/domToSVG/utils/getWhatToRenderOnSVG.ts +218 -0
- package/client/src/app/domToSVG/utils/isElementVisible.ts +144 -0
- package/client/src/app/domToSVG/utils/toFixed.ts +3 -0
- package/client/src/appUtils.ts +135 -0
- package/client/src/components/AlertProvider.tsx +99 -0
- package/client/src/components/Animations.css +207 -0
- package/client/src/components/Animations.tsx +130 -0
- package/client/src/components/Btn.css +235 -0
- package/client/src/components/Btn.tsx +603 -0
- package/client/src/components/ButtonBar.tsx +29 -0
- package/client/src/components/ButtonGroup.tsx +135 -0
- package/client/src/components/Chat/Chat.css +116 -0
- package/client/src/components/Chat/Chat.tsx +200 -0
- package/client/src/components/Chat/ChatFileAttachments/ChatFileAttachments.tsx +126 -0
- package/client/src/components/Chat/ChatMessage.tsx +38 -0
- package/client/src/components/Chat/ChatSendControls.tsx +117 -0
- package/client/src/components/Chat/ChatSpeech/ChatSpeech.tsx +201 -0
- package/client/src/components/Chat/ChatSpeech/ChatSpeechSetup.tsx +75 -0
- package/client/src/components/Chat/ChatSpeech/hooks/SpeechRecorder.ts +295 -0
- package/client/src/components/Chat/ChatSpeech/hooks/renderSpeechAudioLevelsIcon.ts +67 -0
- package/client/src/components/Chat/ChatSpeech/hooks/useSpeechRecorder.ts +59 -0
- package/client/src/components/Chat/ChatSpeech/hooks/useSpeechToTextWeb.ts +125 -0
- package/client/src/components/Chat/ChatSpeech/useChatSpeechSetup.ts +106 -0
- package/client/src/components/Chat/Marked.tsx +258 -0
- package/client/src/components/Chat/MonacoCodeInMarkdown/MarkdownMonacoCodeHeader.tsx +179 -0
- package/client/src/components/Chat/MonacoCodeInMarkdown/MonacoCodeInMarkdown.tsx +162 -0
- package/client/src/components/Chat/MonacoCodeInMarkdown/useOnRunSQL.ts +70 -0
- package/client/src/components/Chat/useChatFileUpload.ts +167 -0
- package/client/src/components/Chat/useChatOnPaste.ts +102 -0
- package/client/src/components/Chat/useChatState.ts +118 -0
- package/client/src/components/Checkbox.css +24 -0
- package/client/src/components/Checkbox.tsx +152 -0
- package/client/src/components/Chip.css +78 -0
- package/client/src/components/Chip.tsx +150 -0
- package/client/src/components/ClickCatch.tsx +49 -0
- package/client/src/components/ClickCatchOverlay.css +7 -0
- package/client/src/components/ClickCatchOverlay.tsx +30 -0
- package/client/src/components/CodeFileBrowser/CodeFileBrowser.tsx +85 -0
- package/client/src/components/CodeFileBrowser/ProjectCodeEditor.tsx +89 -0
- package/client/src/components/CodeFileBrowser/WebAppFileBrowser.tsx +96 -0
- package/client/src/components/CompactTabs/CompactTabs.tsx +101 -0
- package/client/src/components/ConfirmationDialog.tsx +90 -0
- package/client/src/components/CopyToClipboardBtn.tsx +24 -0
- package/client/src/components/DragOverUpload/DragOverUpload.css +36 -0
- package/client/src/components/DragOverUpload/DragOverUpload.tsx +46 -0
- package/client/src/components/DraggableLI.tsx +182 -0
- package/client/src/components/ElectronSearchBar.tsx +335 -0
- package/client/src/components/ErrorComponent.tsx +240 -0
- package/client/src/components/ExpandSection.tsx +55 -0
- package/client/src/components/Expander.tsx +16 -0
- package/client/src/components/FileInput/DropZone.tsx +23 -0
- package/client/src/components/FileInput/FileInput.tsx +363 -0
- package/client/src/components/FileInput/FileInputMedia.tsx +144 -0
- package/client/src/components/FileInput/useFileDropZone.ts +51 -0
- package/client/src/components/FileTree/FILE_EXTENSION_TO_ICON_INFO.ts +687 -0
- package/client/src/components/FileTree/FileIcon.tsx +31 -0
- package/client/src/components/FileTree/FileTree.tsx +147 -0
- package/client/src/components/FileTree/FileTreeCurrentDirectory.tsx +135 -0
- package/client/src/components/FileTree/FileTreeNode.css +12 -0
- package/client/src/components/FileTree/FileTreeNode.tsx +264 -0
- package/client/src/components/FileTree/FileTreeNodeCheckbox.tsx +48 -0
- package/client/src/components/FileTree/FileTreeSearchBar.tsx +121 -0
- package/client/src/components/FileTree/FileTreeSelectedItems.tsx +73 -0
- package/client/src/components/FileTree/FolderIcon.tsx +18 -0
- package/client/src/components/FileTree/fileSystemTreeUtils.ts +15 -0
- package/client/src/components/FileTree/useFileTree.ts +255 -0
- package/client/src/components/FileTree/useFileTreeChecked.ts +158 -0
- package/client/src/components/FlashMessage.tsx +64 -0
- package/client/src/components/Flex.tsx +76 -0
- package/client/src/components/FormField/FormField.css +91 -0
- package/client/src/components/FormField/FormField.tsx +748 -0
- package/client/src/components/FormField/FormFieldCodeEditor.tsx +97 -0
- package/client/src/components/FormField/FormFieldDebounced.tsx +60 -0
- package/client/src/components/FormField/FormFieldSkeleton.tsx +206 -0
- package/client/src/components/FormField/onFormFieldKeyDown.ts +124 -0
- package/client/src/components/FullscreenWrapper/FullscreenWrapper.tsx +154 -0
- package/client/src/components/FullscreenWrapper/useFullscreen.ts +46 -0
- package/client/src/components/HeaderSection.tsx +36 -0
- package/client/src/components/Hotkey.css +12 -0
- package/client/src/components/Hotkey.tsx +26 -0
- package/client/src/components/IFrame/IFrame.tsx +54 -0
- package/client/src/components/Icon/Icon.tsx +138 -0
- package/client/src/components/IconPalette/IconPalette.tsx +194 -0
- package/client/src/components/InfoRow.tsx +64 -0
- package/client/src/components/Input.tsx +63 -0
- package/client/src/components/JSONBSchema/JSONBSchema.tsx +182 -0
- package/client/src/components/JSONBSchema/JSONBSchemaAllowedOptions.tsx +112 -0
- package/client/src/components/JSONBSchema/JSONBSchemaArray.tsx +172 -0
- package/client/src/components/JSONBSchema/JSONBSchemaLookup.tsx +249 -0
- package/client/src/components/JSONBSchema/JSONBSchemaObject.tsx +130 -0
- package/client/src/components/JSONBSchema/JSONBSchemaOneOfType.tsx +155 -0
- package/client/src/components/JSONBSchema/JSONBSchemaPrimitive.tsx +209 -0
- package/client/src/components/JSONBSchema/JSONBSchemaRecord.tsx +78 -0
- package/client/src/components/JSONBSchema/isCompleteJSONB.ts +54 -0
- package/client/src/components/Label.css +10 -0
- package/client/src/components/Label.tsx +152 -0
- package/client/src/components/LabeledRow.tsx +51 -0
- package/client/src/components/List.css +51 -0
- package/client/src/components/List.tsx +170 -0
- package/client/src/components/Loader/Loading.css +141 -0
- package/client/src/components/Loader/Loading.tsx +254 -0
- package/client/src/components/Loader/SpinnerV2.tsx +121 -0
- package/client/src/components/Loader/SpinnerV3.tsx +58 -0
- package/client/src/components/Loader/SpinnerV4.tsx +31 -0
- package/client/src/components/MarkdownWithPlugins/MarkdownWithPlugins.tsx +99 -0
- package/client/src/components/MarkdownWithPlugins/Marked.css +72 -0
- package/client/src/components/MarkdownWithPlugins/preserveDisallowedHtmlAsText.ts +76 -0
- package/client/src/components/MediaViewer/MediaViewer.tsx +252 -0
- package/client/src/components/MediaViewer/MediaViewerContent.tsx +223 -0
- package/client/src/components/MediaViewer/managedTableUtils.ts +99 -0
- package/client/src/components/MenuList.css +3 -0
- package/client/src/components/MenuList.tsx +237 -0
- package/client/src/components/MenuListItem.tsx +126 -0
- package/client/src/components/MonacoEditor/MonacoEditor.tsx +273 -0
- package/client/src/components/MonacoEditor/monacoHackyFixes.ts +56 -0
- package/client/src/components/MonacoEditor/useMonacoEditorAddActions.ts +56 -0
- package/client/src/components/MonacoEditor/useWhyDidYouUpdate.ts +80 -0
- package/client/src/components/MonacoLogs/MonacoLogs.tsx +98 -0
- package/client/src/components/MonacoLogs/MonacoLogsWithFullscreen.tsx +124 -0
- package/client/src/components/MonacoLogs/setAnsiLogContent.ts +163 -0
- package/client/src/components/NavBar/NavBar.css +110 -0
- package/client/src/components/NavBar/NavBar.tsx +152 -0
- package/client/src/components/NavBar/NavBarWrapper.tsx +55 -0
- package/client/src/components/NavBar/useNavBarItems.ts +40 -0
- package/client/src/components/Pan.tsx +63 -0
- package/client/src/components/PdfViewer/PdfViewer.css +58 -0
- package/client/src/components/PdfViewer/PdfViewer.tsx +126 -0
- package/client/src/components/PdfViewer/PdfViewerDoclingTextOverlay.tsx +44 -0
- package/client/src/components/PdfViewer/PdfViewerHeaderControls.tsx +82 -0
- package/client/src/components/PdfViewer/PdfViewerHighlights/PdfViewerHighlights.tsx +146 -0
- package/client/src/components/PdfViewer/PdfViewerHighlights/usePdfViewerHighlights.ts +212 -0
- package/client/src/components/PdfViewer/PdfViewerSearch/PdfViewerSearch.css +21 -0
- package/client/src/components/PdfViewer/PdfViewerSearch/PdfViewerSearch.tsx +323 -0
- package/client/src/components/PdfViewer/PdfViewerWithFileTableContext.tsx +209 -0
- package/client/src/components/PdfViewer/usePdfViewer.ts +215 -0
- package/client/src/components/Popup/Footer.tsx +41 -0
- package/client/src/components/Popup/FooterButtons.tsx +60 -0
- package/client/src/components/Popup/Popup.css +14 -0
- package/client/src/components/Popup/Popup.tsx +469 -0
- package/client/src/components/Popup/PopupHeader.tsx +113 -0
- package/client/src/components/Popup/getPopupPosition.ts +137 -0
- package/client/src/components/Popup/getPopupStyle.ts +57 -0
- package/client/src/components/Popup/popupCheckPosition.ts +280 -0
- package/client/src/components/PopupMenu.tsx +106 -0
- package/client/src/components/PopupMenuList.tsx +36 -0
- package/client/src/components/PostgresInstallationInstructions.tsx +112 -0
- package/client/src/components/ProgressBar.css +29 -0
- package/client/src/components/ProgressBar.tsx +131 -0
- package/client/src/components/QRCodeImage.tsx +57 -0
- package/client/src/components/Scheduler.css +7 -0
- package/client/src/components/Scheduler.tsx +149 -0
- package/client/src/components/ScrollFade/ScrollFade.css +4 -0
- package/client/src/components/ScrollFade/ScrollFade.tsx +177 -0
- package/client/src/components/ScrollFade/useAutoScrollToBottom.ts +31 -0
- package/client/src/components/ScrollFade/useResizeObserver.ts +96 -0
- package/client/src/components/SearchList/SearchInput.tsx +143 -0
- package/client/src/components/SearchList/SearchList.css +37 -0
- package/client/src/components/SearchList/SearchList.tsx +184 -0
- package/client/src/components/SearchList/SearchListContent.tsx +285 -0
- package/client/src/components/SearchList/SearchListItems.tsx +244 -0
- package/client/src/components/SearchList/SearchListRowContent.tsx +46 -0
- package/client/src/components/SearchList/getSearchListMatchAndHighlight.tsx +162 -0
- package/client/src/components/SearchList/hooks/useSearchListItems.tsx +113 -0
- package/client/src/components/SearchList/hooks/useSearchListItemsSorting.tsx +169 -0
- package/client/src/components/SearchList/hooks/useSearchListOnClick.ts +69 -0
- package/client/src/components/SearchList/hooks/useSearchListOnKeyUpDown.ts +128 -0
- package/client/src/components/SearchList/hooks/useSearchListSearch.ts +211 -0
- package/client/src/components/SearchList/searchMatchUtils/getItemSearchRank.ts +74 -0
- package/client/src/components/SearchList/searchMatchUtils/getSearchRanking.ts +18 -0
- package/client/src/components/Section.tsx +159 -0
- package/client/src/components/SegmentedToggle.tsx +57 -0
- package/client/src/components/Select/Select.css +18 -0
- package/client/src/components/Select/Select.tsx +629 -0
- package/client/src/components/Select/SelectTriggerButton.tsx +204 -0
- package/client/src/components/ShorterText.tsx +56 -0
- package/client/src/components/SidePanel.tsx +49 -0
- package/client/src/components/Slider.css +65 -0
- package/client/src/components/Slider.tsx +66 -0
- package/client/src/components/StatusChip.tsx +34 -0
- package/client/src/components/Stepper.tsx +92 -0
- package/client/src/components/Stopwatch.tsx +121 -0
- package/client/src/components/SvgIcon.tsx +181 -0
- package/client/src/components/SwitchToggle.css +136 -0
- package/client/src/components/SwitchToggle.tsx +141 -0
- package/client/src/components/Table/Pagination.tsx +178 -0
- package/client/src/components/Table/Table.css +97 -0
- package/client/src/components/Table/Table.tsx +216 -0
- package/client/src/components/Table/TableBody.tsx +146 -0
- package/client/src/components/Table/TableHeader.tsx +491 -0
- package/client/src/components/Table/TableRow.tsx +164 -0
- package/client/src/components/Table/useVirtualisedRows.ts +160 -0
- package/client/src/components/Tabs.tsx +320 -0
- package/client/src/components/Tooltip.tsx +47 -0
- package/client/src/dashboard/API/zip.ts +151 -0
- package/client/src/dashboard/AccessControl/AccessControl.tsx +164 -0
- package/client/src/dashboard/AccessControl/AccessControlRuleEditor.tsx +373 -0
- package/client/src/dashboard/AccessControl/AccessRuleEditorFooter.tsx +241 -0
- package/client/src/dashboard/AccessControl/AccessRuleSummary.tsx +159 -0
- package/client/src/dashboard/AccessControl/ContextDataSelector.tsx +89 -0
- package/client/src/dashboard/AccessControl/ContextFilter.tsx +161 -0
- package/client/src/dashboard/AccessControl/ExistingAccessRules.tsx +168 -0
- package/client/src/dashboard/AccessControl/Methods/MethodDefinition.tsx +156 -0
- package/client/src/dashboard/AccessControl/Methods/MethodDefinitionEditAsJson.tsx +73 -0
- package/client/src/dashboard/AccessControl/Methods/MethodFunctionDefinition.tsx +97 -0
- package/client/src/dashboard/AccessControl/Methods/ReferencesDefinition.tsx +155 -0
- package/client/src/dashboard/AccessControl/Methods/useCodeEditorTsTypes.ts +152 -0
- package/client/src/dashboard/AccessControl/OptionControllers/DynamicFields.tsx +145 -0
- package/client/src/dashboard/AccessControl/OptionControllers/FieldFilterControl.tsx +193 -0
- package/client/src/dashboard/AccessControl/OptionControllers/FilterControl.tsx +207 -0
- package/client/src/dashboard/AccessControl/PasswordlessSetup.tsx +90 -0
- package/client/src/dashboard/AccessControl/PermissionTypes/PAllTables.tsx +50 -0
- package/client/src/dashboard/AccessControl/PermissionTypes/PCustomTables.tsx +237 -0
- package/client/src/dashboard/AccessControl/PermissionTypes/PRunSQL.tsx +92 -0
- package/client/src/dashboard/AccessControl/PublishedWorkspaceSelector.tsx +290 -0
- package/client/src/dashboard/AccessControl/RuleTypeControls/ComparablePGPolicies.tsx +179 -0
- package/client/src/dashboard/AccessControl/RuleTypeControls/DeleteRuleControl.tsx +95 -0
- package/client/src/dashboard/AccessControl/RuleTypeControls/ExampleComparablePolicy.tsx +112 -0
- package/client/src/dashboard/AccessControl/RuleTypeControls/InsertRuleControl.tsx +115 -0
- package/client/src/dashboard/AccessControl/RuleTypeControls/RuleToggle.tsx +19 -0
- package/client/src/dashboard/AccessControl/RuleTypeControls/SelectRuleControl.tsx +186 -0
- package/client/src/dashboard/AccessControl/RuleTypeControls/SyncRuleControl.tsx +130 -0
- package/client/src/dashboard/AccessControl/RuleTypeControls/UpdateRuleControl.tsx +207 -0
- package/client/src/dashboard/AccessControl/RuleTypeControls/getComparablePGPolicy.ts +130 -0
- package/client/src/dashboard/AccessControl/TableRules/FileTableAccessControlInfo.tsx +161 -0
- package/client/src/dashboard/AccessControl/TableRules/TablePermissionControls.tsx +251 -0
- package/client/src/dashboard/AccessControl/TableRules/TableRulesPopup.tsx +167 -0
- package/client/src/dashboard/AccessControl/TableRules/useLocalTableRulesErrors.ts +27 -0
- package/client/src/dashboard/AccessControl/UserStats.tsx +83 -0
- package/client/src/dashboard/AccessControl/UserSyncConfig.tsx +168 -0
- package/client/src/dashboard/AccessControl/UserTypeSelect.tsx +86 -0
- package/client/src/dashboard/AccessControl/useAccessControlSearchParams.ts +81 -0
- package/client/src/dashboard/AccessControl/useEditedAccessRule.ts +293 -0
- package/client/src/dashboard/AskLLM/AskLLM.tsx +91 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChat.tsx +208 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatHeader.tsx +127 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/LLMChatMessage/LLMChatMessage.tsx +77 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/LLMChatMessage/LLMChatMessageContent.tsx +96 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/LLMChatMessage/LLMChatMessageContentText.tsx +57 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/LLMChatMessage/LLMChatMessageHeader.tsx +129 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/LLMChatMessage/LLMGroupedToolCallsMessage.tsx +122 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/LLMChatMessage/LLMSingleChatMessage.tsx +44 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/LLMChatMessage/LLMToolCallIcon.tsx +12 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/Agent/Agent.tsx +161 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/Agent/AgentGoalToolCall.tsx +59 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/AgentDefinition.tsx +206 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/AgenticWorkflow.tsx +242 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/AgenticWorkflowActions.tsx +245 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/AgenticWorkflowActivity/AgenticWorkflowActivity.tsx +225 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/AgenticWorkflowActivity/ToolCall.tsx +137 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/AgenticWorkflowActivity/useAgenticWorkflowActivityItems.ts +70 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/AgenticWorkflowDefinition.tsx +173 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/AgenticWorkflowDetails.tsx +141 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/AgenticWorkflowMessage.tsx +103 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/AgenticWorkflowSchemaDrift.tsx +146 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/ContainerConfigurationEditor.tsx +184 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/McpToolAccess.tsx +156 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/UserInput.tsx +393 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/UserInputColumnValues.tsx +61 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/hooks/useAgenticWorkflowState.ts +50 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AgenticWorkflow/hooks/useUserInput.ts +27 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/AskUserQuestions.tsx +249 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/CreateTables.tsx +32 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/DockerContainer.tsx +296 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/DoclingConvertedDocument/DoclingDocument.d.ts +154 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/DoclingConvertedDocument/DoclingDocumentViewer.tsx +98 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/DoclingConvertedDocument/DoclingDocumentViewerPage.tsx +42 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/DoclingConvertedDocument/DoclingTable.tsx +166 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/DoclingConvertedDocument/DoclingText.tsx +99 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/DoclingConvertedDocument/DoclingToolUseView.tsx +47 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/ExecuteSQL.tsx +34 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/LoadSuggestedDashboards.tsx +172 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/RequestToolAccess.tsx +272 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/RunCodeInSandbox.tsx +33 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/RunTypescriptInNodejs.tsx +48 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/ToolUseResultError.tsx +29 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/WebSearch/Favicon.tsx +34 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/WebSearch/Markdown.tsx +21 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/WebSearch/WebSearch.tsx +70 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/Webdev/CreateComponentQuickFeedbackPreview.tsx +104 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/common/DatabaseAccessPermissions.tsx +63 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/common/HeaderList.tsx +26 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/common/useJSONBParsedData.ts +16 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/common/useSendToolUseResult.ts +46 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/common/useToolUseResultString.ts +27 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesMCPTools/common/useTypedToolUseResultData.ts +85 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ProstglesToolUseMessage/ProstglesToolUseMessage.tsx +127 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ToolUseChatMessage/InChatToolApprover.tsx +82 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ToolUseChatMessage/ToolUseChatMessage.tsx +109 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ToolUseChatMessage/ToolUseChatMessageBtn.tsx +51 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ToolUseChatMessage/ToolUseChatMessageBtnTextSummary.tsx +45 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ToolUseChatMessage/ToolUseChatMessageJSONData.tsx +132 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ToolUseChatMessage/ToolUseChatMessageResult.tsx +57 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ToolUseChatMessage/ToolUseReRunBtn.tsx +71 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ToolUseChatMessage/useToolUseChatMessage.ts +51 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/ToolUseChatMessage/utils/getToolUseResult.ts +40 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/hooks/useLLMChatMessageGrouper.tsx +168 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/hooks/useLLMChatMessages.tsx +157 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatMessages/setChatPrompt.ts +116 -0
- package/client/src/dashboard/AskLLM/Chat/AskLLMChatSettings.tsx +88 -0
- package/client/src/dashboard/AskLLM/Chat/useAskLLMChatSend.ts +111 -0
- package/client/src/dashboard/AskLLM/Chat/useLLMChat.tsx +126 -0
- package/client/src/dashboard/AskLLM/Chat/useLLMSchemaStr.ts +207 -0
- package/client/src/dashboard/AskLLM/ChatActionBar/AskLLMChatActionBar.tsx +34 -0
- package/client/src/dashboard/AskLLM/ChatActionBar/AskLLMChatActionBarDatabaseAccess.tsx +273 -0
- package/client/src/dashboard/AskLLM/ChatActionBar/AskLLMChatActionBarMCPTools.tsx +102 -0
- package/client/src/dashboard/AskLLM/ChatActionBar/AskLLMChatActionBarMCPToolsBtn.tsx +167 -0
- package/client/src/dashboard/AskLLM/ChatActionBar/AskLLMChatActionBarModelSelector.tsx +238 -0
- package/client/src/dashboard/AskLLM/ChatActionBar/AskLLMChatActionBarPromptSelector.tsx +206 -0
- package/client/src/dashboard/AskLLM/ChatActionBar/PromptAndAllowedMcpToolsSchemaPreviews.tsx +85 -0
- package/client/src/dashboard/AskLLM/LLMModelSelector.tsx +270 -0
- package/client/src/dashboard/AskLLM/Setup/AddLLMPromptForm.tsx +33 -0
- package/client/src/dashboard/AskLLM/Setup/AskLLMAccessControl.tsx +246 -0
- package/client/src/dashboard/AskLLM/Setup/LLMProviderSetup.tsx +68 -0
- package/client/src/dashboard/AskLLM/Setup/LLMSetupProvider.tsx +111 -0
- package/client/src/dashboard/AskLLM/Setup/ProstglesSignup.tsx +108 -0
- package/client/src/dashboard/AskLLM/Setup/SetupLLMCredentials.tsx +89 -0
- package/client/src/dashboard/AskLLM/Tools/AskLLMToolApprover.tsx +279 -0
- package/client/src/dashboard/AskLLM/Tools/loadGeneratedWorkspaces/loadGeneratedBarchart.ts +126 -0
- package/client/src/dashboard/AskLLM/Tools/loadGeneratedWorkspaces/loadGeneratedMap.ts +58 -0
- package/client/src/dashboard/AskLLM/Tools/loadGeneratedWorkspaces/loadGeneratedTable.ts +159 -0
- package/client/src/dashboard/AskLLM/Tools/loadGeneratedWorkspaces/loadGeneratedTimechart.ts +78 -0
- package/client/src/dashboard/AskLLM/Tools/loadGeneratedWorkspaces/loadGeneratedWorkspaces.ts +168 -0
- package/client/src/dashboard/AskLLM/Tools/useAskLLMToolApprover.ts +99 -0
- package/client/src/dashboard/AskLLM/useLocalLLM.ts +84 -0
- package/client/src/dashboard/BackupAndRestore/AutomaticBackups.tsx +212 -0
- package/client/src/dashboard/BackupAndRestore/BackupsControls.tsx +291 -0
- package/client/src/dashboard/BackupAndRestore/BackupsInProgress.tsx +98 -0
- package/client/src/dashboard/BackupAndRestore/CloudStorageCredentialSelector.tsx +215 -0
- package/client/src/dashboard/BackupAndRestore/CodeConfirmation.tsx +205 -0
- package/client/src/dashboard/BackupAndRestore/CompletedBackups/DeleteAllBackups.tsx +58 -0
- package/client/src/dashboard/BackupAndRestore/CompletedBackups.tsx +276 -0
- package/client/src/dashboard/BackupAndRestore/DumpLocationOptions.tsx +40 -0
- package/client/src/dashboard/BackupAndRestore/DumpRestoreAlerts.tsx +82 -0
- package/client/src/dashboard/BackupAndRestore/PGDumpOptions.tsx +299 -0
- package/client/src/dashboard/BackupAndRestore/RenderBackupLogs.tsx +48 -0
- package/client/src/dashboard/BackupAndRestore/RenderBackupStatus.tsx +58 -0
- package/client/src/dashboard/BackupAndRestore/Restore/Restore.tsx +205 -0
- package/client/src/dashboard/BackupAndRestore/Restore/RestoreOptions.tsx +148 -0
- package/client/src/dashboard/BackupAndRestore/Restore/useRestoreDatabaseFromFile.ts +73 -0
- package/client/src/dashboard/BackupAndRestore/useBackupsControlsState.ts +39 -0
- package/client/src/dashboard/Charts/CanvasChart.ts +746 -0
- package/client/src/dashboard/Charts/TimeChart/TimeChart.tsx +232 -0
- package/client/src/dashboard/Charts/TimeChart/getBinValueLabels.ts +125 -0
- package/client/src/dashboard/Charts/TimeChart/getCssVariableValue.ts +6 -0
- package/client/src/dashboard/Charts/TimeChart/getTimeAxisTicks.ts +426 -0
- package/client/src/dashboard/Charts/TimeChart/getTimechartBinSize.ts +121 -0
- package/client/src/dashboard/Charts/TimeChart/getTimechartTooltipIntersections.ts +94 -0
- package/client/src/dashboard/Charts/TimeChart/getTimechartTooltipShapes.ts +318 -0
- package/client/src/dashboard/Charts/TimeChart/measureText.ts +34 -0
- package/client/src/dashboard/Charts/TimeChart/onDeltaTimechart.ts +65 -0
- package/client/src/dashboard/Charts/TimeChart/onRenderTimechart.ts +354 -0
- package/client/src/dashboard/Charts/TimeChart/prepareTimechartData.ts +185 -0
- package/client/src/dashboard/Charts/constants.ts +8 -0
- package/client/src/dashboard/Charts/createHiPPICanvas.ts +31 -0
- package/client/src/dashboard/Charts/drawMonotoneXCurve.ts +171 -0
- package/client/src/dashboard/Charts/drawShapes/drawLinkLine.ts +29 -0
- package/client/src/dashboard/Charts/drawShapes/drawShapes.ts +217 -0
- package/client/src/dashboard/Charts/drawShapes/drawShapesOnSVG.ts +481 -0
- package/client/src/dashboard/Charts/drawShapes/findShortestPathAroundRectangles.ts +241 -0
- package/client/src/dashboard/Charts/drawShapes/getLinkLinePoints.ts +124 -0
- package/client/src/dashboard/Charts/drawShapes/getTimechartGradientPeakSections.ts +27 -0
- package/client/src/dashboard/Charts/drawShapes/shortestLinkLineV2.ts +182 -0
- package/client/src/dashboard/Charts/roundRect.ts +42 -0
- package/client/src/dashboard/Charts.tsx +216 -0
- package/client/src/dashboard/CodeEditor/CodeEditor.tsx +288 -0
- package/client/src/dashboard/CodeEditor/CodeEditorWithSaveButton.tsx +208 -0
- package/client/src/dashboard/CodeEditor/registerLogLang.ts +128 -0
- package/client/src/dashboard/CodeEditor/utils/getMonacoJsonSchemas.ts +31 -0
- package/client/src/dashboard/CodeEditor/utils/installGoToDefinition.ts +40 -0
- package/client/src/dashboard/CodeEditor/utils/navigateTo.ts +61 -0
- package/client/src/dashboard/CodeEditor/utils/resolveDefinition..ts +33 -0
- package/client/src/dashboard/CodeEditor/utils/setMonacoErrorMarkers.ts +67 -0
- package/client/src/dashboard/CodeEditor/utils/useSetMonacoJsonSchemas.ts +60 -0
- package/client/src/dashboard/CodeEditor/utils/useSetMonacoTsLibraries.ts +157 -0
- package/client/src/dashboard/CodeExample.tsx +34 -0
- package/client/src/dashboard/ConnectionConfig/APIDetails/APICodeExamples.tsx +280 -0
- package/client/src/dashboard/ConnectionConfig/APIDetails/APIDetails.tsx +111 -0
- package/client/src/dashboard/ConnectionConfig/APIDetails/APIDetailsHttp.tsx +123 -0
- package/client/src/dashboard/ConnectionConfig/APIDetails/APIDetailsTokens.tsx +137 -0
- package/client/src/dashboard/ConnectionConfig/APIDetails/APIDetailsWs.tsx +98 -0
- package/client/src/dashboard/ConnectionConfig/APIDetails/AllowedOriginCheck.tsx +104 -0
- package/client/src/dashboard/ConnectionConfig/APIDetails/getApiEndpoint.ts +8 -0
- package/client/src/dashboard/ConnectionConfig/ConnectionConfig.tsx +267 -0
- package/client/src/dashboard/ConnectionConfig/ConnectionConfigSync.tsx +123 -0
- package/client/src/dashboard/ConnectionConfig/ServerSideFunctions.tsx +46 -0
- package/client/src/dashboard/ConnectionConfig/WebApp/WebAppConfig.tsx +90 -0
- package/client/src/dashboard/ConnectionConfig/WebApp/WebAppConfigComponents.tsx +47 -0
- package/client/src/dashboard/ConnectionConfig/WebApp/WebAppConfigFooterActions.tsx +137 -0
- package/client/src/dashboard/ConnectionConfig/WebApp/WebAppConfigSetup.tsx +135 -0
- package/client/src/dashboard/ConnectionConfig/WebApp/hooks/useWebAppConfigActiveSection.ts +12 -0
- package/client/src/dashboard/ConnectionConfig/WebApp/hooks/useWebAppConfigState.ts +76 -0
- package/client/src/dashboard/ConnectionConfig/useConnectionConfigSearchParams.ts +35 -0
- package/client/src/dashboard/ConnectionSelector.tsx +58 -0
- package/client/src/dashboard/Dashboard/CloseSaveSQLPopup.tsx +81 -0
- package/client/src/dashboard/Dashboard/DBS.ts +19 -0
- package/client/src/dashboard/Dashboard/Dashboard.tsx +667 -0
- package/client/src/dashboard/Dashboard/DashboardCenteredLayoutResizer.tsx +56 -0
- package/client/src/dashboard/Dashboard/PALETTE.ts +36 -0
- package/client/src/dashboard/Dashboard/ViewRenderer.tsx +498 -0
- package/client/src/dashboard/Dashboard/addChart.ts +261 -0
- package/client/src/dashboard/Dashboard/addLink.ts +48 -0
- package/client/src/dashboard/Dashboard/addWindow.ts +51 -0
- package/client/src/dashboard/Dashboard/cardLayout.ts +28 -0
- package/client/src/dashboard/Dashboard/cloneWorkspace.ts +102 -0
- package/client/src/dashboard/Dashboard/dashboardUtils.ts +377 -0
- package/client/src/dashboard/Dashboard/debuggingUtils.ts +112 -0
- package/client/src/dashboard/Dashboard/getTables.ts +31 -0
- package/client/src/dashboard/Dashboard/getViewRendererUtils.ts +108 -0
- package/client/src/dashboard/Dashboard/onLinkTable.ts +45 -0
- package/client/src/dashboard/Dashboard/useAddViewToWorkspace.ts +92 -0
- package/client/src/dashboard/DashboardMenu/CreateTable.tsx +307 -0
- package/client/src/dashboard/DashboardMenu/DashboardHotkeys.tsx +38 -0
- package/client/src/dashboard/DashboardMenu/DashboardMenu.tsx +183 -0
- package/client/src/dashboard/DashboardMenu/DashboardMenuContent.tsx +203 -0
- package/client/src/dashboard/DashboardMenu/DashboardMenuHeader.tsx +86 -0
- package/client/src/dashboard/DashboardMenu/DashboardMenuHotkeys.tsx +102 -0
- package/client/src/dashboard/DashboardMenu/DashboardMenuResizer.tsx +68 -0
- package/client/src/dashboard/DashboardMenu/DashboardMenuSettings.tsx +241 -0
- package/client/src/dashboard/DashboardMenu/NewTableMenu.tsx +121 -0
- package/client/src/dashboard/DashboardMenu/SavedAgenticWorkflowsAndContainers.tsx +149 -0
- package/client/src/dashboard/DashboardMenu/SettingsSection.tsx +22 -0
- package/client/src/dashboard/DashboardMenu/TableList.tsx +141 -0
- package/client/src/dashboard/DashboardMenu/useTableSizeInfo.ts +98 -0
- package/client/src/dashboard/DatabaseAccessEditor/DatabaseAccessEditor.tsx +174 -0
- package/client/src/dashboard/DatabaseAccessEditor/DatabaseAccessEditorCustomTables.tsx +149 -0
- package/client/src/dashboard/DatabaseAccessEditor/TableAccessAdvancedOptions.tsx +128 -0
- package/client/src/dashboard/DatabaseAccessEditor/TableAccessAdvancedOptionsMenu.tsx +65 -0
- package/client/src/dashboard/DatabaseAccessEditor/TableAccessDetails.tsx +163 -0
- package/client/src/dashboard/DatabaseAccessEditor/TableAccessEditor.tsx +229 -0
- package/client/src/dashboard/DatabaseAccessEditor/getTableSchemaDriftState.ts +65 -0
- package/client/src/dashboard/DatabaseAccessEditor/useDatabaseAccessEditorTables.tsx +99 -0
- package/client/src/dashboard/DetailedFilterControl/DetailedFilterBaseControl.tsx +139 -0
- package/client/src/dashboard/DetailedFilterControl/DetailedFilterBaseControlRouter.tsx +192 -0
- package/client/src/dashboard/DetailedFilterControl/DetailedFilterBaseTypes/AgeFilter.tsx +148 -0
- package/client/src/dashboard/DetailedFilterControl/DetailedFilterBaseTypes/GeoFilter.tsx +255 -0
- package/client/src/dashboard/DetailedFilterControl/DetailedFilterBaseTypes/ListFilter/ListFilter.tsx +235 -0
- package/client/src/dashboard/DetailedFilterControl/DetailedFilterBaseTypes/ListFilter/fetchListFilterOptions.ts +76 -0
- package/client/src/dashboard/DetailedFilterControl/DetailedFilterBaseTypes/NumberOrDateFilter.tsx +206 -0
- package/client/src/dashboard/DetailedFilterControl/DetailedFilterControl.tsx +157 -0
- package/client/src/dashboard/DetailedFilterControl/FTS_LANGUAGES.ts +35 -0
- package/client/src/dashboard/DetailedFilterControl/FilterWrapper.css +7 -0
- package/client/src/dashboard/DetailedFilterControl/FilterWrapper.tsx +339 -0
- package/client/src/dashboard/DetailedFilterControl/validateFilter.ts +46 -0
- package/client/src/dashboard/Feedback.tsx +145 -0
- package/client/src/dashboard/FileImporter/FileImporter.tsx +770 -0
- package/client/src/dashboard/FileImporter/FileImporterFooter.tsx +100 -0
- package/client/src/dashboard/FileImporter/checkCSVColumnDataTypes.tsx +139 -0
- package/client/src/dashboard/FileImporter/importFile.ts +303 -0
- package/client/src/dashboard/FileImporter/parseCSVFile.ts +123 -0
- package/client/src/dashboard/FileImporter/setFile.ts +251 -0
- package/client/src/dashboard/FileTableControls/CreateFileColumn.tsx +189 -0
- package/client/src/dashboard/FileTableControls/FileColumnConfigControls.tsx +191 -0
- package/client/src/dashboard/FileTableControls/FileColumnConfigEditor.tsx +251 -0
- package/client/src/dashboard/FileTableControls/FileStorageControls.tsx +294 -0
- package/client/src/dashboard/FileTableControls/FileStorageDelete.tsx +106 -0
- package/client/src/dashboard/FileTableControls/FileStorageReferencedTablesConfig.tsx +80 -0
- package/client/src/dashboard/FileTableControls/FileTableConfigControls.tsx +69 -0
- package/client/src/dashboard/FileTableControls/hooks/useFileTableConfigControls.ts +70 -0
- package/client/src/dashboard/FileTableControls/hooks/useSetFileStorage.ts +128 -0
- package/client/src/dashboard/JSONBColumnEditor.tsx +60 -0
- package/client/src/dashboard/LinkMenu.tsx +332 -0
- package/client/src/dashboard/Map/DeckGLFeatureEditor.tsx +645 -0
- package/client/src/dashboard/Map/DeckGLMap.css +45 -0
- package/client/src/dashboard/Map/DeckGLMap.tsx +576 -0
- package/client/src/dashboard/Map/DeckGLWrapped.ts +312 -0
- package/client/src/dashboard/Map/InMapControls.tsx +137 -0
- package/client/src/dashboard/Map/MVTLayerProps.ts +306 -0
- package/client/src/dashboard/Map/fitBounds.ts +63 -0
- package/client/src/dashboard/Map/mapDrawUtils.ts +129 -0
- package/client/src/dashboard/Map/mapUtils.ts +183 -0
- package/client/src/dashboard/RTComp.tsx +165 -0
- package/client/src/dashboard/RenderFilter.tsx +174 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/CommonMatchImports.ts +366 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/KEYWORDS.ts +448 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MacthCreate/MatchCreate.ts +294 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MacthCreate/MatchCreateView.ts +106 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MacthCreate/matchCreateIndex.ts +220 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MacthCreate/matchCreatePolicy.ts +108 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MacthCreate/matchCreateRule.tsx +99 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MacthCreate/matchCreateTable.ts +336 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MacthCreate/matchCreateTrigger.ts +84 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchAlter/MatchAlter.tsx +258 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchAlter/matchAlterPolicy.ts +50 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchAlter/matchAlterTable.ts +325 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchAlter/matchCreateOrAlterUser.tsx +192 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchComment.ts +86 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchCopy.ts +367 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchDrop.ts +161 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchFirst.ts +471 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchGrant.ts +331 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchInsert.tsx +123 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchLast.ts +10 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchPublication.ts +126 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchReassign.ts +35 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchReindex.ts +36 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchSelect.ts +623 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchSet.ts +183 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchSubscription.ts +231 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchUpdate.ts +79 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchVacuum.ts +86 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MatchWith.ts +222 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/MathDelete.ts +18 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/PSQL.ts +136 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/STARTING_KEYWORDS.ts +931 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/TableKWDs.ts +479 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/completionUtils/checkIfInsideDollarFunctionDefinition.ts +88 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/completionUtils/checkIfUnfinishedParenthesis.ts +74 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/completionUtils/getCodeBlock.ts +627 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/completionUtils/getQueryReturnType.ts +274 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/completionUtils/getTableExpressionReturnTypes.ts +243 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/completionUtils/getTabularExpressions.ts +428 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/completionUtils/getTokens.ts +239 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/getExpected.ts +176 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/getJoinSuggestions.ts +193 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/getMatch.ts +62 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/getPGObjects.ts +1270 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/getPrevTokensNoParantheses.ts +234 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/jsonbPathSuggest.ts +188 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/monacoSQLSetup/registerHover.ts +138 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/monacoSQLSetup/registerSuggestions.ts +549 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/suggestColumnLike.ts +251 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/suggestCondition.ts +320 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/suggestFuncArgs.ts +105 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/suggestTableLike.ts +104 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/suggestValue.ts +125 -0
- package/client/src/dashboard/SQLEditor/SQLCompletion/withKWDs.ts +507 -0
- package/client/src/dashboard/SQLEditor/SQLEditorSuggestions.ts +1883 -0
- package/client/src/dashboard/SQLEditor/SQLSmartEditor.tsx +124 -0
- package/client/src/dashboard/SQLEditor/SQL_SNIPPETS.ts +43 -0
- package/client/src/dashboard/SQLEditor/W_SQLEditor.css +15 -0
- package/client/src/dashboard/SQLEditor/W_SQLEditor.tsx +746 -0
- package/client/src/dashboard/SQLEditor/addSqlEditorFunctions.ts +74 -0
- package/client/src/dashboard/SQLEditor/defineCustomMonacoSQLTheme.ts +74 -0
- package/client/src/dashboard/SQLEditor/getFormattedSql.ts +154 -0
- package/client/src/dashboard/SQLEditor/registerFunctionSuggestions.ts +175 -0
- package/client/src/dashboard/SQLEditor/utils/scrollToLineIfNeeded.ts +17 -0
- package/client/src/dashboard/SQLEditor/utils/setMonacEditorError.ts +93 -0
- package/client/src/dashboard/SampleSchemas.tsx +50 -0
- package/client/src/dashboard/SchemaGraph/ERDSchema/ERDSchema.tsx +175 -0
- package/client/src/dashboard/SchemaGraph/ERDSchema/getInitialPlacement.ts +115 -0
- package/client/src/dashboard/SchemaGraph/ERDSchema/getInitialPlacementV2.ts +343 -0
- package/client/src/dashboard/SchemaGraph/ERDSchema/useCanvasPanZoom.ts +54 -0
- package/client/src/dashboard/SchemaGraph/ERDSchema/useDrawHiddenSvgForNativeTextSearch.ts +80 -0
- package/client/src/dashboard/SchemaGraph/ERDSchema/useDrawSchemaShapes.ts +242 -0
- package/client/src/dashboard/SchemaGraph/ERDSchema/useFetchSchemaForDiagram.ts +276 -0
- package/client/src/dashboard/SchemaGraph/ERDSchema/usePanShapes.ts +160 -0
- package/client/src/dashboard/SchemaGraph/ERDSchema/useSchemaShapes.ts +352 -0
- package/client/src/dashboard/SchemaGraph/SchemaGraph.tsx +55 -0
- package/client/src/dashboard/SchemaGraph/SchemaGraphControls.tsx +226 -0
- package/client/src/dashboard/SchemaGraph/types.ts +29 -0
- package/client/src/dashboard/SearchAll/SearchAll.tsx +77 -0
- package/client/src/dashboard/SearchAll/SearchAllContent.tsx +63 -0
- package/client/src/dashboard/SearchAll/SearchAllHeader.tsx +71 -0
- package/client/src/dashboard/SearchAll/SearchMatchRow.tsx +103 -0
- package/client/src/dashboard/SearchAll/hooks/useSearchAllState.ts +46 -0
- package/client/src/dashboard/SearchAll/hooks/useSearchListProps.tsx +178 -0
- package/client/src/dashboard/SearchAll/hooks/useSearchTables.tsx +163 -0
- package/client/src/dashboard/SearchAll/hooks/useTablesAndViewsSearchItems.ts +55 -0
- package/client/src/dashboard/SilverGrid/SilverGrid.tsx +531 -0
- package/client/src/dashboard/SilverGrid/SilverGridChild.tsx +403 -0
- package/client/src/dashboard/SilverGrid/SilverGridChildHeader.tsx +235 -0
- package/client/src/dashboard/SilverGrid/SilverGridResizer.tsx +129 -0
- package/client/src/dashboard/SilverGrid/TreeBuilder.ts +261 -0
- package/client/src/dashboard/SmartCard/SmartCard.tsx +218 -0
- package/client/src/dashboard/SmartCard/SmartCardActions.tsx +113 -0
- package/client/src/dashboard/SmartCard/SmartCardColumn.tsx +49 -0
- package/client/src/dashboard/SmartCard/getSelectForFieldConfigs.ts +44 -0
- package/client/src/dashboard/SmartCard/parseFieldConfigs.tsx +165 -0
- package/client/src/dashboard/SmartCard/useFieldConfigParser.ts +55 -0
- package/client/src/dashboard/SmartCard/useSmartCardColumns.ts +46 -0
- package/client/src/dashboard/SmartCardList/SmartCardList.tsx +291 -0
- package/client/src/dashboard/SmartCardList/SmartCardListHeaderControls.tsx +130 -0
- package/client/src/dashboard/SmartCardList/SmartCardListJoinedNewRecords.tsx +97 -0
- package/client/src/dashboard/SmartCardList/useSmartCardListState.ts +273 -0
- package/client/src/dashboard/SmartFilter/AddJoinFilter.tsx +97 -0
- package/client/src/dashboard/SmartFilter/MinimisedFilter.css +13 -0
- package/client/src/dashboard/SmartFilter/MinimisedFilter.tsx +208 -0
- package/client/src/dashboard/SmartFilter/SmartAddFilter.tsx +324 -0
- package/client/src/dashboard/SmartFilter/SmartFilter.tsx +182 -0
- package/client/src/dashboard/SmartFilter/SmartSearch/SmartSearch.css +4 -0
- package/client/src/dashboard/SmartFilter/SmartSearch/SmartSearch.tsx +230 -0
- package/client/src/dashboard/SmartFilter/SmartSearch/getSmartSearchRows.ts +277 -0
- package/client/src/dashboard/SmartFilter/SmartSearch/onSearchItems.tsx +146 -0
- package/client/src/dashboard/SmartFilter/SortByControl.tsx +81 -0
- package/client/src/dashboard/SmartFilter/smartFilterUtils.ts +97 -0
- package/client/src/dashboard/SmartFilterBar/SmartFilterBar.tsx +178 -0
- package/client/src/dashboard/SmartFilterBar/SmartFilterBarFilters.tsx +103 -0
- package/client/src/dashboard/SmartFilterBar/SmartFilterBarRightActions.tsx +212 -0
- package/client/src/dashboard/SmartFilterBar/SmartFilterBarSearch.tsx +115 -0
- package/client/src/dashboard/SmartFilterBar/SmartFilterBarSort.tsx +108 -0
- package/client/src/dashboard/SmartFilterBar/useSmartFilterBarState.ts +100 -0
- package/client/src/dashboard/SmartForm/ChipArrayEditor.tsx +169 -0
- package/client/src/dashboard/SmartForm/InsertButton.tsx +89 -0
- package/client/src/dashboard/SmartForm/JoinedRecords/JoinedRecords.tsx +155 -0
- package/client/src/dashboard/SmartForm/JoinedRecords/JoinedRecordsAddRow.tsx +182 -0
- package/client/src/dashboard/SmartForm/JoinedRecords/JoinedRecordsSection.tsx +168 -0
- package/client/src/dashboard/SmartForm/JoinedRecords/getJoinFilter.ts +31 -0
- package/client/src/dashboard/SmartForm/JoinedRecords/useJoinedRecordsSections.ts +246 -0
- package/client/src/dashboard/SmartForm/JoinedRecords/useJoinedSectionFieldConfigs.tsx +120 -0
- package/client/src/dashboard/SmartForm/SmartForm.tsx +368 -0
- package/client/src/dashboard/SmartForm/SmartFormField/RenderValue/RenderJson.tsx +72 -0
- package/client/src/dashboard/SmartForm/SmartFormField/RenderValue.tsx +294 -0
- package/client/src/dashboard/SmartForm/SmartFormField/SmartFormField.tsx +349 -0
- package/client/src/dashboard/SmartForm/SmartFormField/SmartFormFieldFileSection.tsx +51 -0
- package/client/src/dashboard/SmartForm/SmartFormField/SmartFormFieldForeignKey.tsx +253 -0
- package/client/src/dashboard/SmartForm/SmartFormField/SmartFormFieldLinkedData.tsx +207 -0
- package/client/src/dashboard/SmartForm/SmartFormField/SmartFormFieldLinkedDataInsert/SmartFormFieldLinkedDataInsert.tsx +165 -0
- package/client/src/dashboard/SmartForm/SmartFormField/SmartFormFieldLinkedDataInsert/useSmartFormFieldLinkedDataInsert.tsx +77 -0
- package/client/src/dashboard/SmartForm/SmartFormField/SmartFormFieldLinkedDataSearch.tsx +91 -0
- package/client/src/dashboard/SmartForm/SmartFormField/SmartFormFieldRightButtons.tsx +110 -0
- package/client/src/dashboard/SmartForm/SmartFormField/ViewMoreSmartCardList.tsx +86 -0
- package/client/src/dashboard/SmartForm/SmartFormField/fetchColumnValueSuggestions.ts +92 -0
- package/client/src/dashboard/SmartForm/SmartFormField/fetchForeignKeyOptions.tsx +348 -0
- package/client/src/dashboard/SmartForm/SmartFormField/fieldUtils.ts +228 -0
- package/client/src/dashboard/SmartForm/SmartFormField/useNestedInsertDefaultData.ts +28 -0
- package/client/src/dashboard/SmartForm/SmartFormField/useSmartFormFieldAsJSON.tsx +87 -0
- package/client/src/dashboard/SmartForm/SmartFormField/useSmartFormFieldOnChange.ts +65 -0
- package/client/src/dashboard/SmartForm/SmartFormFieldList.tsx +190 -0
- package/client/src/dashboard/SmartForm/SmartFormFileSection.tsx +110 -0
- package/client/src/dashboard/SmartForm/SmartFormFooter/SmartFormFooterButtons.tsx +133 -0
- package/client/src/dashboard/SmartForm/SmartFormFooter/useSmartFormActions.ts +265 -0
- package/client/src/dashboard/SmartForm/SmartFormNewRowDataHandler.ts +168 -0
- package/client/src/dashboard/SmartForm/SmartFormPopup/SmartFormPopupWrapper.tsx +92 -0
- package/client/src/dashboard/SmartForm/SmartFormPopup/SmartFormPrevNext.tsx +33 -0
- package/client/src/dashboard/SmartForm/SmartFormPopup/SmartFormViewAsMarkdown.tsx +83 -0
- package/client/src/dashboard/SmartForm/SmartFormPopup/useSmartFormPrevNext.ts +20 -0
- package/client/src/dashboard/SmartForm/SmartFormPopup/useSmartFormSubTitle.ts +44 -0
- package/client/src/dashboard/SmartForm/SmartFormUpperFooter/SmartFormUpperFooter.tsx +198 -0
- package/client/src/dashboard/SmartForm/SmartFormUpperFooter/useActiveJoinedRecordsTab.ts +65 -0
- package/client/src/dashboard/SmartForm/constants.ts +1 -0
- package/client/src/dashboard/SmartForm/useNewRowDataHandler.ts +386 -0
- package/client/src/dashboard/SmartForm/useSmartForm.ts +67 -0
- package/client/src/dashboard/SmartForm/useSmartFormColumns.ts +127 -0
- package/client/src/dashboard/SmartForm/useSmartFormMode.ts +243 -0
- package/client/src/dashboard/SmartSelect.tsx +228 -0
- package/client/src/dashboard/SmartTable.tsx +383 -0
- package/client/src/dashboard/StatusMonitor/StatusMonitor.tsx +41 -0
- package/client/src/dashboard/StatusMonitor/StatusMonitorBlockedByPid.tsx +35 -0
- package/client/src/dashboard/StatusMonitor/StatusMonitorConnections.tsx +127 -0
- package/client/src/dashboard/StatusMonitor/StatusMonitorInfoHeader/StatusMonitorInfoHeader.tsx +122 -0
- package/client/src/dashboard/StatusMonitor/StatusMonitorInfoHeader/StatusMonitorInfoHeaderCpu.tsx +122 -0
- package/client/src/dashboard/StatusMonitor/StatusMonitorInfoHeader/StatusMonitorInfoHeaderMemory.tsx +21 -0
- package/client/src/dashboard/StatusMonitor/StatusMonitorProcList.tsx +292 -0
- package/client/src/dashboard/StatusMonitor/StatusMonitorProcListControlsHeader.tsx +85 -0
- package/client/src/dashboard/TableConfig/ProcessLogs.tsx +65 -0
- package/client/src/dashboard/TableConfig/TableConfig.tsx +88 -0
- package/client/src/dashboard/TimeSeries.tsx +29 -0
- package/client/src/dashboard/UserManager.tsx +54 -0
- package/client/src/dashboard/W_Barchart/W_Barchart.tsx +104 -0
- package/client/src/dashboard/W_Barchart/fetchSQLBarchartData.ts +7 -0
- package/client/src/dashboard/W_Barchart/useBarchartData.ts +176 -0
- package/client/src/dashboard/W_Map/OSM/OverpassQuery.tsx +21 -0
- package/client/src/dashboard/W_Map/OSM/fetchOSMCountryBoundary.ts +73 -0
- package/client/src/dashboard/W_Map/OSM/getOSMData.ts +240 -0
- package/client/src/dashboard/W_Map/OSM/osmToGeoJSON.ts +198 -0
- package/client/src/dashboard/W_Map/OSM/osmTypes.ts +1856 -0
- package/client/src/dashboard/W_Map/W_Map.tsx +747 -0
- package/client/src/dashboard/W_Map/W_MapMenu.tsx +188 -0
- package/client/src/dashboard/W_Map/controls/MapBasemapOptions.tsx +268 -0
- package/client/src/dashboard/W_Map/controls/MapInfoSection.tsx +95 -0
- package/client/src/dashboard/W_Map/controls/MapOSMQuery.tsx +174 -0
- package/client/src/dashboard/W_Map/controls/MapOpacityMenu.tsx +60 -0
- package/client/src/dashboard/W_Map/fetchData/fetchMapLayerData.ts +401 -0
- package/client/src/dashboard/W_Map/fetchData/getMapData.ts +161 -0
- package/client/src/dashboard/W_Map/fetchData/getMapDataExtent.ts +86 -0
- package/client/src/dashboard/W_Map/fetchData/getMapLayerQueries.ts +232 -0
- package/client/src/dashboard/W_Map/getMapFeatureStyle.ts +160 -0
- package/client/src/dashboard/W_Map/onMapHover.ts +118 -0
- package/client/src/dashboard/W_Method/FunctionLabel.tsx +24 -0
- package/client/src/dashboard/W_Method/NewMethod.tsx +108 -0
- package/client/src/dashboard/W_Method/PublishedMethods.tsx +218 -0
- package/client/src/dashboard/W_Method/W_Method.tsx +48 -0
- package/client/src/dashboard/W_Method/W_MethodControls.tsx +338 -0
- package/client/src/dashboard/W_Method/W_MethodMenu.tsx +162 -0
- package/client/src/dashboard/W_QuickMenu.tsx +228 -0
- package/client/src/dashboard/W_SQL/CSVRender.tsx +18 -0
- package/client/src/dashboard/W_SQL/CopyResultBtn.tsx +246 -0
- package/client/src/dashboard/W_SQL/MonacoLanguageRegister.ts +701 -0
- package/client/src/dashboard/W_SQL/SQLHotkeys.tsx +23 -0
- package/client/src/dashboard/W_SQL/TestSQL.ts +52 -0
- package/client/src/dashboard/W_SQL/W_SQL.tsx +679 -0
- package/client/src/dashboard/W_SQL/W_SQLBottomBar/W_SQLBottomBar.tsx +484 -0
- package/client/src/dashboard/W_SQL/W_SQLBottomBar/W_SQLBottomBarProcStats.tsx +67 -0
- package/client/src/dashboard/W_SQL/W_SQLMenu.tsx +403 -0
- package/client/src/dashboard/W_SQL/W_SQLResults.tsx +161 -0
- package/client/src/dashboard/W_SQL/customRenderers.tsx +126 -0
- package/client/src/dashboard/W_SQL/demoScripts/createTables.ts +262 -0
- package/client/src/dashboard/W_SQL/demoScripts/mainTestScripts.ts +269 -0
- package/client/src/dashboard/W_SQL/demoScripts/testBugs.ts +596 -0
- package/client/src/dashboard/W_SQL/demoScripts/testMiscAndBugs.ts +61 -0
- package/client/src/dashboard/W_SQL/demoScripts/testSqlCharts.ts +117 -0
- package/client/src/dashboard/W_SQL/getChartableSQL.ts +169 -0
- package/client/src/dashboard/W_SQL/getDemoUtils.ts +260 -0
- package/client/src/dashboard/W_SQL/getSQLResultTableColumns.ts +56 -0
- package/client/src/dashboard/W_SQL/monacoEditorTypes.ts +13 -0
- package/client/src/dashboard/W_SQL/parseExplainResult.ts +99 -0
- package/client/src/dashboard/W_SQL/parseSQLError.ts +55 -0
- package/client/src/dashboard/W_SQL/parseSqlResultCols.ts +96 -0
- package/client/src/dashboard/W_SQL/runSQL/getQueryTotalRowCount.ts +38 -0
- package/client/src/dashboard/W_SQL/runSQL/runSQL.ts +432 -0
- package/client/src/dashboard/W_SQL/runSQLErrorHints.ts +150 -0
- package/client/src/dashboard/W_Table/CardView/CardItem/CardItemBody.tsx +151 -0
- package/client/src/dashboard/W_Table/CardView/CardItem/CardItemHeader.tsx +150 -0
- package/client/src/dashboard/W_Table/CardView/CardItem/CardViewRow.tsx +160 -0
- package/client/src/dashboard/W_Table/CardView/CardView.tsx +87 -0
- package/client/src/dashboard/W_Table/CardView/CardViewColumn.tsx +82 -0
- package/client/src/dashboard/W_Table/CardView/CardViewKanban.tsx +87 -0
- package/client/src/dashboard/W_Table/CardView/DragHeader.tsx +46 -0
- package/client/src/dashboard/W_Table/CardView/constants.ts +1 -0
- package/client/src/dashboard/W_Table/CardView/useCardViewState.ts +50 -0
- package/client/src/dashboard/W_Table/CardView/useDragHeader.ts +280 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AddColumnMenu.tsx +193 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AddComputedColumn/AddComputedColMenu.tsx +650 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AddComputedColumn/FunctionColumnList.tsx +75 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AddComputedColumn/QuickAddComputedColumn.tsx +129 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AddComputedColumn/useAddComputedColumn.ts +175 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AlterColumn/AlterColumn.tsx +421 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AlterColumn/AlterColumnFileOptions.tsx +84 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AlterColumn/ColumnEditor.tsx +229 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AlterColumn/CreateColumn.tsx +150 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AlterColumn/ReferenceEditor.tsx +243 -0
- package/client/src/dashboard/W_Table/ColumnMenu/AlterColumn/alterColumnUtilts.ts +53 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColorPicker.tsx +251 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnDisplayFormat/ChipStylePalette.tsx +127 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnDisplayFormat/ColumnDisplayFormat.tsx +116 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnDisplayFormat/ConditionalCellIconStyleControls.tsx +140 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnDisplayFormat/ConditionalCellStyleControls.tsx +235 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnDisplayFormat/NestedColumnRender.tsx +172 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnDisplayFormat/columnFormatUtils.tsx +330 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnList.tsx +291 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnMenu.tsx +537 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnQuickStats/ColumnQuickStats.tsx +176 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnQuickStats/useColumnQuickStats.ts +169 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnSelect/ColumnSelect.tsx +54 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnSelect/getColumnListItem.tsx +97 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnSortMenu.tsx +146 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnStyleControls/ColumnStyleControls.tsx +258 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnStyleControls/getValueColors.ts +101 -0
- package/client/src/dashboard/W_Table/ColumnMenu/ColumnsMenu.tsx +178 -0
- package/client/src/dashboard/W_Table/ColumnMenu/FunctionSelector/FunctionExtraArguments.tsx +140 -0
- package/client/src/dashboard/W_Table/ColumnMenu/FunctionSelector/FunctionSelector.tsx +89 -0
- package/client/src/dashboard/W_Table/ColumnMenu/FunctionSelector/functions.ts +438 -0
- package/client/src/dashboard/W_Table/ColumnMenu/JoinPathSelectorV2.tsx +212 -0
- package/client/src/dashboard/W_Table/ColumnMenu/LinkedColumn/LinkedColumn.tsx +295 -0
- package/client/src/dashboard/W_Table/ColumnMenu/LinkedColumn/LinkedColumnFooter.tsx +94 -0
- package/client/src/dashboard/W_Table/ColumnMenu/LinkedColumn/LinkedColumnSelect.tsx +160 -0
- package/client/src/dashboard/W_Table/ColumnMenu/NestedTimechartControls.tsx +167 -0
- package/client/src/dashboard/W_Table/ColumnMenu/SummariseColumns.tsx +126 -0
- package/client/src/dashboard/W_Table/ColumnMenu/UpdateColumnGlobalConfig.tsx +69 -0
- package/client/src/dashboard/W_Table/ColumnMenu/getNestedColumnTable.ts +83 -0
- package/client/src/dashboard/W_Table/ColumnMenu/rgba2hex.ts +36 -0
- package/client/src/dashboard/W_Table/JoinPathSelector/JoinPathItem.tsx +133 -0
- package/client/src/dashboard/W_Table/JoinPathSelector/JoinPathSelector.tsx +100 -0
- package/client/src/dashboard/W_Table/JoinPathSelector/getJoinTree.ts +79 -0
- package/client/src/dashboard/W_Table/NodeCountChecker.tsx +58 -0
- package/client/src/dashboard/W_Table/ProstglesTable.css +64 -0
- package/client/src/dashboard/W_Table/QuickFilterGroupsControl.tsx +86 -0
- package/client/src/dashboard/W_Table/RowCard.tsx +102 -0
- package/client/src/dashboard/W_Table/TableMenu/AddChartMenu.tsx +288 -0
- package/client/src/dashboard/W_Table/TableMenu/AutoRefreshMenu.tsx +118 -0
- package/client/src/dashboard/W_Table/TableMenu/TableDisplayOptionsJSON.tsx +71 -0
- package/client/src/dashboard/W_Table/TableMenu/W_TableMenu.tsx +365 -0
- package/client/src/dashboard/W_Table/TableMenu/W_TableMenu_AccessRules.tsx +127 -0
- package/client/src/dashboard/W_Table/TableMenu/W_TableMenu_Constraints.tsx +140 -0
- package/client/src/dashboard/W_Table/TableMenu/W_TableMenu_CurrentQuery.tsx +82 -0
- package/client/src/dashboard/W_Table/TableMenu/W_TableMenu_DisplayOptions.tsx +266 -0
- package/client/src/dashboard/W_Table/TableMenu/W_TableMenu_Indexes.tsx +179 -0
- package/client/src/dashboard/W_Table/TableMenu/W_TableMenu_Policies.tsx +197 -0
- package/client/src/dashboard/W_Table/TableMenu/W_TableMenu_TableInfo.tsx +184 -0
- package/client/src/dashboard/W_Table/TableMenu/W_TableMenu_Triggers.tsx +199 -0
- package/client/src/dashboard/W_Table/TableMenu/getAndFixWColumnsConfig.tsx +116 -0
- package/client/src/dashboard/W_Table/TableMenu/getChartCols.ts +153 -0
- package/client/src/dashboard/W_Table/TableMenu/getTableMeta.ts +205 -0
- package/client/src/dashboard/W_Table/TooManyColumnsWarning.tsx +72 -0
- package/client/src/dashboard/W_Table/W_Table.tsx +772 -0
- package/client/src/dashboard/W_Table/W_Table_Content.tsx +51 -0
- package/client/src/dashboard/W_Table/colorBlend.ts +75 -0
- package/client/src/dashboard/W_Table/getTableData/getTableData.ts +291 -0
- package/client/src/dashboard/W_Table/getTableData/getTableFilter.ts +66 -0
- package/client/src/dashboard/W_Table/tableUtils/StyledTableColumn.tsx +322 -0
- package/client/src/dashboard/W_Table/tableUtils/getColWInfo.ts +48 -0
- package/client/src/dashboard/W_Table/tableUtils/getColWidth.ts +160 -0
- package/client/src/dashboard/W_Table/tableUtils/getEditColumn.tsx +143 -0
- package/client/src/dashboard/W_Table/tableUtils/getFullColumnConfig.ts +43 -0
- package/client/src/dashboard/W_Table/tableUtils/getJoinPaths.ts +89 -0
- package/client/src/dashboard/W_Table/tableUtils/getRowFilter.ts +114 -0
- package/client/src/dashboard/W_Table/tableUtils/getTableCols.tsx +258 -0
- package/client/src/dashboard/W_Table/tableUtils/getTableDataRequestSignature.ts +32 -0
- package/client/src/dashboard/W_Table/tableUtils/getTableSelect.ts +235 -0
- package/client/src/dashboard/W_Table/tableUtils/kFormatter.ts +12 -0
- package/client/src/dashboard/W_Table/tableUtils/onRenderColumn.tsx +107 -0
- package/client/src/dashboard/W_Table/tableUtils/prepareColsForRender.ts +69 -0
- package/client/src/dashboard/W_Table/tableUtils/tableUtils.ts +298 -0
- package/client/src/dashboard/W_TimeChart/AddTimeChartFilter.tsx +347 -0
- package/client/src/dashboard/W_TimeChart/W_TimeChart.tsx +405 -0
- package/client/src/dashboard/W_TimeChart/W_TimeChartHeaderControls.tsx +140 -0
- package/client/src/dashboard/W_TimeChart/W_TimeChartLayerLegend.tsx +99 -0
- package/client/src/dashboard/W_TimeChart/W_TimeChartMenu.tsx +228 -0
- package/client/src/dashboard/W_TimeChart/fetchData/constants.ts +5 -0
- package/client/src/dashboard/W_TimeChart/fetchData/fetchAndSetTimechartLayerData.ts +141 -0
- package/client/src/dashboard/W_TimeChart/fetchData/fetchTimechartLayer.ts +291 -0
- package/client/src/dashboard/W_TimeChart/fetchData/getTimeChartData.ts +163 -0
- package/client/src/dashboard/W_TimeChart/fetchData/getTimeChartLayers.ts +137 -0
- package/client/src/dashboard/W_TimeChart/fetchData/getTimeChartLayersWithBins.ts +296 -0
- package/client/src/dashboard/W_TimeChart/fetchData/getTimeChartSelectParams.ts +41 -0
- package/client/src/dashboard/W_TimeChart/fetchData/getTimeLayerDataSignature.ts +22 -0
- package/client/src/dashboard/W_TimeChart/fetchData/getTimechartExtentFilter.ts +48 -0
- package/client/src/dashboard/Window/ChildWindowLayout.tsx +149 -0
- package/client/src/dashboard/Window/Window.tsx +322 -0
- package/client/src/dashboard/WindowControls/AddChartLayer.tsx +142 -0
- package/client/src/dashboard/WindowControls/ColorByLegend/ColorByLegend.tsx +256 -0
- package/client/src/dashboard/WindowControls/ColorByLegend/getGroupByValueColor.ts +50 -0
- package/client/src/dashboard/WindowControls/DataLayerManager/DataLayer.tsx +182 -0
- package/client/src/dashboard/WindowControls/DataLayerManager/DataLayerDataSource.tsx +243 -0
- package/client/src/dashboard/WindowControls/DataLayerManager/DataLayerManager.tsx +157 -0
- package/client/src/dashboard/WindowControls/DataLayerManager/LayerColorPicker.tsx +56 -0
- package/client/src/dashboard/WindowControls/DataLayerManager/MapLayerStyling.tsx +192 -0
- package/client/src/dashboard/WindowControls/DataLayerManager/useSortedLayerQueries.ts +34 -0
- package/client/src/dashboard/WindowControls/OSMLayerOptions.tsx +62 -0
- package/client/src/dashboard/WindowControls/SQLChartLayerEditor.tsx +38 -0
- package/client/src/dashboard/WindowControls/TimeChartLayerOptions.tsx +336 -0
- package/client/src/dashboard/WorkspaceMenu/WorkspaceAddBtn.tsx +104 -0
- package/client/src/dashboard/WorkspaceMenu/WorkspaceDeleteBtn.tsx +87 -0
- package/client/src/dashboard/WorkspaceMenu/WorkspaceMenu.css +13 -0
- package/client/src/dashboard/WorkspaceMenu/WorkspaceMenu.tsx +124 -0
- package/client/src/dashboard/WorkspaceMenu/WorkspaceMenuDropDown.tsx +178 -0
- package/client/src/dashboard/WorkspaceMenu/WorkspaceSettings.tsx +99 -0
- package/client/src/dashboard/WorkspaceMenu/useWorkspaces.ts +78 -0
- package/client/src/dashboard/getCrossFilters.ts +251 -0
- package/client/src/dashboard/localSettings.ts +94 -0
- package/client/src/dashboard/setPan.ts +358 -0
- package/client/src/dashboard/shortestPath.ts +137 -0
- package/client/src/demo/AppVideoDemo.tsx +132 -0
- package/client/src/demo/MousePointer.tsx +39 -0
- package/client/src/demo/demoUtils.ts +214 -0
- package/client/src/demo/recordDemoUtils.ts +87 -0
- package/client/src/demo/scripts/AIAssistantDemo.ts +60 -0
- package/client/src/demo/scripts/accessControlDemo.ts +44 -0
- package/client/src/demo/scripts/backupDemo.ts +50 -0
- package/client/src/demo/scripts/dashboardDemo.ts +215 -0
- package/client/src/demo/scripts/fileDemo.ts +24 -0
- package/client/src/demo/scripts/schemaDiagramDemo.ts +13 -0
- package/client/src/demo/scripts/sqlVideoDemo.ts +539 -0
- package/client/src/demo/scripts/videoDemoAccessControlScripts.ts +245 -0
- package/client/src/exports.ts +15 -0
- package/client/src/hooks/createStore.ts +24 -0
- package/client/src/hooks/useDebouncedCallback.ts +27 -0
- package/client/src/hooks/useThrottledCallback.ts +41 -0
- package/client/src/hooks/useTypedSearchParams.ts +81 -0
- package/client/src/i18n/LanguageSelector.tsx +33 -0
- package/client/src/i18n/i18nUtils.ts +187 -0
- package/client/src/i18n/translations/de.json +453 -0
- package/client/src/i18n/translations/es.json +425 -0
- package/client/src/i18n/translations/fr.json +425 -0
- package/client/src/i18n/translations/hi.json +431 -0
- package/client/src/i18n/translations/ru.json +431 -0
- package/client/src/i18n/translations/translations.ts +477 -0
- package/client/src/i18n/translations/zh.json +423 -0
- package/client/src/index.css +57 -0
- package/client/src/index.html.ejs +37 -0
- package/client/src/index.tsx +17 -0
- package/client/src/pages/Account/Account.tsx +150 -0
- package/client/src/pages/Account/ChangePassword.tsx +96 -0
- package/client/src/pages/Account/Sessions.tsx +248 -0
- package/client/src/pages/Account/Setup2FA.tsx +244 -0
- package/client/src/pages/AccountMenu.tsx +146 -0
- package/client/src/pages/Alerts.tsx +182 -0
- package/client/src/pages/AppContextProvider.tsx +26 -0
- package/client/src/pages/ComponentList.tsx +108 -0
- package/client/src/pages/ElectronSetup/ElectronSetup.tsx +122 -0
- package/client/src/pages/ElectronSetup/ElectronSetupStateDB.tsx +141 -0
- package/client/src/pages/ElectronSetup/useElectronSetup.ts +147 -0
- package/client/src/pages/Login/AuthNotifPopup.tsx +37 -0
- package/client/src/pages/Login/Login.tsx +133 -0
- package/client/src/pages/Login/LoginTotpForm.tsx +72 -0
- package/client/src/pages/Login/LoginWithProviders.tsx +62 -0
- package/client/src/pages/Login/SocialIcons.css +4 -0
- package/client/src/pages/Login/SocialIcons.tsx +85 -0
- package/client/src/pages/NewConnection/NewConnectionForm.tsx +572 -0
- package/client/src/pages/NewConnection/NewConnectionFormFields.tsx +314 -0
- package/client/src/pages/NewConnection/NewConnectionFormOptions.tsx +194 -0
- package/client/src/pages/NewConnection/SchemaFilter.tsx +87 -0
- package/client/src/pages/NewConnection/newConnectionUtils.ts +50 -0
- package/client/src/pages/NonHTTPSWarning.tsx +51 -0
- package/client/src/pages/NotFound.tsx +22 -0
- package/client/src/pages/ProjectConnection/PrglContextProvider.tsx +47 -0
- package/client/src/pages/ProjectConnection/ProjectConnection.tsx +110 -0
- package/client/src/pages/ProjectConnection/ProjectConnectionError.tsx +76 -0
- package/client/src/pages/ProjectConnection/useProjectDb.ts +253 -0
- package/client/src/pages/ProjectLogs.tsx +227 -0
- package/client/src/pages/ServerSettings/AuthProvidersSetup/AuthProvidersSetup.tsx +199 -0
- package/client/src/pages/ServerSettings/AuthProvidersSetup/useProviderProps.ts +39 -0
- package/client/src/pages/ServerSettings/EmailAuthSetup.tsx +209 -0
- package/client/src/pages/ServerSettings/EmailAuthSetupIngredients/EmailSMTPAndTemplateSetup.tsx +158 -0
- package/client/src/pages/ServerSettings/EmailAuthSetupIngredients/EmailSMTPSetup.tsx +128 -0
- package/client/src/pages/ServerSettings/EmailAuthSetupIngredients/EmailTemplateSetup.tsx +111 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/CustomConfigComponents/McpServerOAuthConfig.tsx +41 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/CustomConfigComponents/McpServerOAuthConfigActions.tsx +187 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/CustomConfigComponents/McpServerOAuthConfigAuthorizeUrlBtn.tsx +55 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/CustomConfigComponents/McpServerOAuthConfigCredentials.tsx +81 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/CustomConfigComponents/McpServerOAuthConfigTopControls.tsx +120 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/CustomConfigComponents/WebMcpConfig.tsx +162 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/CustomConfigComponents/useMcpServerOAuthConfigState.ts +132 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/MCPServerConfigButton.tsx +121 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/MCPServerConfigEditor.tsx +206 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/MCPServerConfigProvider.tsx +67 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/useMCPServerConfigState.tsx +107 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerConfig/useMCPServerEnable.ts +131 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerFooterActions/MCPServerFooterActions.tsx +108 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerFooterActions/MCPServerLogs.tsx +46 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerFooterActions/MCPServersInstall.tsx +81 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerHeaderCheckbox.tsx +120 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerTools/MCPServerTools.tsx +95 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerTools/MCPServerToolsGroupToggle.tsx +96 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerTools/useMcpServerIcons.ts +87 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServerTools/useMcpToolsSelectOptions.tsx +33 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServers.tsx +140 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServersHeader.tsx +47 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServersToolbar/AddMCPServer.tsx +196 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServersToolbar/MCPServersToolbar.tsx +77 -0
- package/client/src/pages/ServerSettings/MCPServers/MCPServersToolbar/useAddMCPServer.ts +253 -0
- package/client/src/pages/ServerSettings/MCPServers/useMCPChatAllowedTools.ts +25 -0
- package/client/src/pages/ServerSettings/MCPServers/useMCPServersListProps.tsx +118 -0
- package/client/src/pages/ServerSettings/OAuthProviderSetup.tsx +258 -0
- package/client/src/pages/ServerSettings/SecuritySettings.tsx +154 -0
- package/client/src/pages/ServerSettings/ServerSettings.tsx +151 -0
- package/client/src/pages/ServerSettings/Services.tsx +231 -0
- package/client/src/pages/ServerSettings/useEditableData.ts +55 -0
- package/client/src/pages/TopControls.tsx +182 -0
- package/client/src/pages/projectUtils.ts +0 -0
- package/client/src/theme/ThemeSelector.tsx +36 -0
- package/client/src/theme/useAppTheme.ts +47 -0
- package/client/src/theme/useSystemTheme.ts +23 -0
- package/client/src/useAppState/PrglCoreContextProvider.tsx +76 -0
- package/client/src/useAppState/useAppState.ts +92 -0
- package/client/src/useAppState/useDBSClient.ts +104 -0
- package/client/src/useAppState/useServerState.ts +62 -0
- package/client/src/useAppState/useUserData.ts +1 -0
- package/client/src/utils/colorUtils.ts +48 -0
- package/client/src/utils/hashCode.ts +52 -0
- package/client/src/utils/utils.ts +207 -0
- package/client/static/favicon-32x32.png +0 -0
- package/client/static/logos/anthropic.svg +3 -0
- package/client/static/logos/google.svg +25 -0
- package/client/static/logos/ollama.svg +7 -0
- package/client/static/logos/openai.svg +2 -0
- package/client/static/logos/openrouter.svg +1 -0
- package/client/static/mcp-oauth-close.js +5 -0
- package/client/static/prostgles-logo.svg +39 -0
- package/client/static/util.css +2024 -0
- package/client/static/v2.svg +25 -0
- package/client/tsconfig.eslint.json +5 -0
- package/client/tsconfig.json +40 -0
- package/client/tslint.json +5 -0
- package/common/DBGeneratedSchema.ts +953 -0
- package/common/DashboardTypes.ts +533 -0
- package/common/KeyObjMap.ts +100 -0
- package/common/OAuthUtils.ts +285 -0
- package/common/authTypesAndConstants.ts +1 -0
- package/common/columnDisplayFormat.schema.ts +211 -0
- package/common/electronInitTypes.ts +56 -0
- package/common/filterUtils.ts +491 -0
- package/common/getJsonSchemaAsTs.ts +335 -0
- package/common/llmUtils.ts +133 -0
- package/common/managedTableSchema.ts +38 -0
- package/common/mcp/databaseAccessSchema.ts +70 -0
- package/common/mcp/db.mcp.schema.ts +280 -0
- package/common/mcp/documents.mcp.schema.ts +45 -0
- package/common/mcp/documentsServiceInputSchema.ts +129 -0
- package/common/mcp/runCodeInSandboxSchema.ts +85 -0
- package/common/mcp/startAgenticWorkflowSchema.ts +180 -0
- package/common/mcp/tableOptionsJsonbSchema.ts +151 -0
- package/common/mcp/tablePermissionsSchema.ts +101 -0
- package/common/mcp/ui.mcp.schema.ts +496 -0
- package/common/mcp/userInputSchema.ts +87 -0
- package/common/mcp/web.mcp.schema.ts +245 -0
- package/common/mcp/webdev.mcp.schema.ts +138 -0
- package/common/mcpUtils.ts +75 -0
- package/common/prostglesApiTypes.ts +551 -0
- package/common/prostglesMcp.ts +35 -0
- package/common/psql_queries.json +657 -0
- package/common/publishUtils.ts +600 -0
- package/common/tsconfig.json +22 -0
- package/common/utils.ts +525 -0
- package/docker-compose.yml +99 -0
- package/docs/01_Overview.md +25 -0
- package/docs/02_Installation_(Docker).md +37 -0
- package/docs/03_Installation_(Desktop_Version).md +27 -0
- package/docs/04_Navigation_bar.md +37 -0
- package/docs/05_Connections.md +108 -0
- package/docs/06_Connection_dashboard.md +58 -0
- package/docs/07_Import_file.md +15 -0
- package/docs/08_Agentic_workflows.md +27 -0
- package/docs/09_Schema_diagram.md +63 -0
- package/docs/10_SQL_editor.md +69 -0
- package/docs/11_Table_view.md +188 -0
- package/docs/12_Map_view.md +56 -0
- package/docs/13_Timechart_view.md +49 -0
- package/docs/14_AI_Assistant.md +64 -0
- package/docs/15_Connection_configuration.md +20 -0
- package/docs/16_Access_control.md +12 -0
- package/docs/17_File_storage.md +8 -0
- package/docs/18_Backup_and_Restore.md +22 -0
- package/docs/19_API.md +20 -0
- package/docs/20_Server_Settings.md +28 -0
- package/docs/21_Account.md +21 -0
- package/docs/22_Command_Palette.md +10 -0
- package/docs/screenshots/table_timechart.dark.svgif.svg +375 -0
- package/docs/screenshots/table_timechart.svgif.svg +1102 -0
- package/docs/screenshots/timechart.dark.svgif.svg +221 -0
- package/docs/screenshots/timechart.svgif.svg +846 -0
- package/e2e/icon512.png +0 -0
- package/e2e/package-lock.json +401 -0
- package/e2e/package.json +31 -0
- package/e2e/playwright.config.js +65 -0
- package/e2e/playwright.config.ts +32 -0
- package/e2e/test-local.sh +5 -0
- package/e2e/tests/Testing.ts +724 -0
- package/e2e/tests/command_palette.spec.ts +114 -0
- package/e2e/tests/configTest/.env.example +10 -0
- package/e2e/tests/configTest/constants.ts +13 -0
- package/e2e/tests/configTest/functions.ts +14 -0
- package/e2e/tests/configTest/index.ts +84 -0
- package/e2e/tests/configTest/package.json +17 -0
- package/e2e/tests/configTest/tsconfig.json +13 -0
- package/e2e/tests/config_deploy.spec.ts +386 -0
- package/e2e/tests/create_docs.spec.ts +231 -0
- package/e2e/tests/create_load_test_users.spec.ts +47 -0
- package/e2e/tests/demo_video.spec.ts +139 -0
- package/e2e/tests/demo_video_setup.spec.ts +118 -0
- package/e2e/tests/fileBrowserGoToPath.ts +53 -0
- package/e2e/tests/load_test.spec.ts +53 -0
- package/e2e/tests/main.spec.ts +3820 -0
- package/e2e/tests/mockSMTPServer.ts +81 -0
- package/e2e/tests/saveDocs.ts +55 -0
- package/e2e/tests/svgScreenshots/SVG_SCREENSHOT_DETAILS.ts +132 -0
- package/e2e/tests/svgScreenshots/account.svgif.ts +14 -0
- package/e2e/tests/svgScreenshots/aiAssistant.svgif.ts +235 -0
- package/e2e/tests/svgScreenshots/aiAssistantAgenticWorkflow.svgif.ts +339 -0
- package/e2e/tests/svgScreenshots/aiAssistantAgenticWorkflowGovApi.svgif.ts +116 -0
- package/e2e/tests/svgScreenshots/backupAndRestore.svgif.ts +143 -0
- package/e2e/tests/svgScreenshots/commandPalette.svgif.ts +69 -0
- package/e2e/tests/svgScreenshots/dashboard.svgif.ts +271 -0
- package/e2e/tests/svgScreenshots/electronSetup.svgif.ts +32 -0
- package/e2e/tests/svgScreenshots/fileImporter.svgif.ts +39 -0
- package/e2e/tests/svgScreenshots/getOverviewSvgifSpecs.svgif.ts +288 -0
- package/e2e/tests/svgScreenshots/map.svgif.ts +50 -0
- package/e2e/tests/svgScreenshots/navbar.svgif.ts +22 -0
- package/e2e/tests/svgScreenshots/newConnection.svgif.ts +26 -0
- package/e2e/tests/svgScreenshots/schemaDiagram.svgif.ts +82 -0
- package/e2e/tests/svgScreenshots/sqlEditor.svgif.ts +348 -0
- package/e2e/tests/svgScreenshots/table.svgif.ts +167 -0
- package/e2e/tests/svgScreenshots/tableTimechart.svgif.ts +507 -0
- package/e2e/tests/svgScreenshots/timechart.svgif.ts +138 -0
- package/e2e/tests/svgScreenshots/utils/constants.ts +23 -0
- package/e2e/tests/svgScreenshots/utils/dedent.ts +9 -0
- package/e2e/tests/svgScreenshots/utils/getFilesFromDir.ts +30 -0
- package/e2e/tests/svgScreenshots/utils/getSceneUtils.ts +200 -0
- package/e2e/tests/svgScreenshots/utils/removeOtherElements.ts +26 -0
- package/e2e/tests/svgScreenshots/utils/saveSVGScreenshot.ts +67 -0
- package/e2e/tests/svgScreenshots/utils/saveSVGifs.ts +74 -0
- package/e2e/tests/svgScreenshots/utils/saveSVGs.ts +61 -0
- package/e2e/tests/svgScreenshots/utils/startScreencast.ts +118 -0
- package/e2e/tests/svgScreenshots/utils/svgScreenshotsCompleteReferenced.ts +98 -0
- package/e2e/tests/svgScreenshots/utils/svgifToWebm.ts +196 -0
- package/e2e/tests/svgScreenshots/utils/typeSendAddScenes.ts +86 -0
- package/e2e/tests/testAskLLM/agenticWorkflowToolUses.ts +294 -0
- package/e2e/tests/testAskLLM/createComponentToolUse.ts +49 -0
- package/e2e/tests/testAskLLM/createReceipts.ts +183 -0
- package/e2e/tests/testAskLLM/getAskUserToolUse.ts +36 -0
- package/e2e/tests/testAskLLM/hello.mp3 +0 -0
- package/e2e/tests/testAskLLM/mcpSandboxToolUse.ts +64 -0
- package/e2e/tests/testAskLLM/mockRemoteMcp/Dockerfile +32 -0
- package/e2e/tests/testAskLLM/mockRemoteMcp/package-lock.json +2120 -0
- package/e2e/tests/testAskLLM/mockRemoteMcp/package.json +20 -0
- package/e2e/tests/testAskLLM/mockRemoteMcp/server.ts +144 -0
- package/e2e/tests/testAskLLM/mockRemoteMcp/start-mock-mcp.sh +93 -0
- package/e2e/tests/testAskLLM/sample.pdf +35 -0
- package/e2e/tests/testAskLLM/sampleToolUseData.ts +1413 -0
- package/e2e/tests/testAskLLM/scenarios/geoQuestion.scenario.ts +110 -0
- package/e2e/tests/testAskLLM/scenarios/hygieneRatingsApi.scenario.ts +62 -0
- package/e2e/tests/testAskLLM/scenarios/receiptImport/receiptImport.scenario.ts +53 -0
- package/e2e/tests/testAskLLM/speechToTextTest.ts +101 -0
- package/e2e/tests/testAskLLM/stringify.ts +1 -0
- package/e2e/tests/testAskLLM/testAskLLM.ts +558 -0
- package/e2e/tests/testAskLLM/utils.ts +34 -0
- package/e2e/tests/tsconfig.json +16 -0
- package/e2e/tests/utils/constants.ts +22 -0
- package/e2e/tests/utils/goTo.ts +87 -0
- package/e2e/tests/utils/isPortFree.ts +19 -0
- package/e2e/tests/utils/utils.ts +1319 -0
- package/e2e/tsconfig.json +5 -0
- package/electron/README.md +34 -0
- package/electron/build.sh +74 -0
- package/electron/e2e-electron/electron.spec.tsx +214 -0
- package/electron/e2e-electron/tsconfig.json +10 -0
- package/electron/forge.config.js +26 -0
- package/electron/getProtocolHandler.ts +41 -0
- package/electron/handleErrors.ts +25 -0
- package/electron/icon512.png +0 -0
- package/electron/image.ico +0 -0
- package/electron/images/generate_from_svg.sh +13 -0
- package/electron/images/icon.ico +0 -0
- package/electron/images/icon512.png +0 -0
- package/electron/images/icon512notpadded.png +0 -0
- package/electron/images/loading-effect.css +43 -0
- package/electron/images/prostgles-logo-rounded.svg +46 -0
- package/electron/images/prostgles-logo.svg +39 -0
- package/electron/images/rounded/256x256.png +0 -0
- package/electron/images/rounded/512.png +0 -0
- package/electron/images/rounded/512x512.png +0 -0
- package/electron/images/rounded/64x64.png +0 -0
- package/electron/images/rounded/icon512.png +0 -0
- package/electron/loadingHTML.ts +70 -0
- package/electron/main.ts +125 -0
- package/electron/mainWindow.ts +155 -0
- package/electron/package-lock.json +3916 -0
- package/electron/package.json +111 -0
- package/electron/playwright.config.ts +17 -0
- package/electron/screenCapture.bat +275 -0
- package/electron/scripts/patch-builder.mjs +25 -0
- package/electron/setContextMenu.ts +56 -0
- package/electron/start.sh +10 -0
- package/electron/test-linux-macos.sh +1 -0
- package/electron/test-linux.sh +2 -0
- package/electron/test-setup.js +8 -0
- package/electron/test-w-debug.sh +1 -0
- package/electron/test.sh +1 -0
- package/electron/tsconfig.json +22 -0
- package/electron/win-inno-setup.ts +100 -0
- package/electron/win.js +3 -0
- package/package.json +33 -0
- package/releases/v1.0.0.md +5 -0
- package/releases/v2.0.0.md +25 -0
- package/releases/v2.2.2.md +13 -0
- package/releases/v2.2.3.md +1 -0
- package/releases/v2.2.4.md +1 -0
- package/releases/v2.2.5.md +1 -0
- package/releases/v2.3.1.md +5 -0
- package/releases/v2.3.5.md +7 -0
- package/scripts/check_release_ready.sh +53 -0
- package/scripts/demo/record-local.sh +13 -0
- package/scripts/demo/split-video.sh +6 -0
- package/scripts/get_version.sh +11 -0
- package/scripts/npm_publish_dev.sh +6 -0
- package/scripts/release.sh +35 -0
- package/scripts/start-dev-electron.sh +14 -0
- package/scripts/start-dev.sh +18 -0
- package/scripts/start-prod.sh +5 -0
- package/scripts/test.sh +62 -0
- package/scripts/update_docker_image_versions.sh +28 -0
- package/server/.vscode/settings.json +3 -0
- package/server/eslint.config.mjs +83 -0
- package/server/licenses.json +3821 -0
- package/server/package-lock.json +7252 -0
- package/server/package.json +84 -0
- package/server/sample_schemas/_crypto.sql +95 -0
- package/server/sample_schemas/cleaning.sql +49 -0
- package/server/sample_schemas/cloud_computing.sql +63 -0
- package/server/sample_schemas/countries.sql +29 -0
- package/server/sample_schemas/crypto/index.ts +3 -0
- package/server/sample_schemas/crypto/onMount.ts +802 -0
- package/server/sample_schemas/crypto/package.json +7 -0
- package/server/sample_schemas/crypto/tableConfig.ts +80 -0
- package/server/sample_schemas/crypto/tsconfig.json +12 -0
- package/server/sample_schemas/crypto/workspaceConfig.ts +261 -0
- package/server/sample_schemas/financial.sql +49 -0
- package/server/sample_schemas/food_delivery/connection.ts +1007 -0
- package/server/sample_schemas/food_delivery/databaseConfig.ts +116 -0
- package/server/sample_schemas/food_delivery/index.ts +8 -0
- package/server/sample_schemas/food_delivery/onInit.sql +1507 -0
- package/server/sample_schemas/food_delivery/onMount.ts +149 -0
- package/server/sample_schemas/food_delivery/package.json +4 -0
- package/server/sample_schemas/food_delivery/tsconfig.json +16 -0
- package/server/sample_schemas/food_delivery/workspaceConfig.ts +53 -0
- package/server/sample_schemas/lodging.sql +48 -0
- package/server/sample_schemas/maps.sql +73 -0
- package/server/sample_schemas/property_management/index.ts +2 -0
- package/server/sample_schemas/property_management/onMount.ts +55 -0
- package/server/sample_schemas/property_management/package.json +4 -0
- package/server/sample_schemas/property_management/tsconfig.json +16 -0
- package/server/sample_schemas/property_management/workspaceConfig.ts +92 -0
- package/server/sample_schemas/sales.sql +51 -0
- package/server/sample_schemas/sample.sql +72 -0
- package/server/sample_schemas/testschema.ts +21 -0
- package/server/sample_schemas/weather/index.ts +1 -0
- package/server/sample_schemas/weather/onMount.ts +284 -0
- package/server/sample_schemas/weather/package.json +4 -0
- package/server/sample_schemas/weather/tsconfig.json +16 -0
- package/server/scripts/preparePackage.mjs +18 -0
- package/server/src/BackupManager/BackupManager.ts +297 -0
- package/server/src/BackupManager/checkAutomaticBackup.ts +143 -0
- package/server/src/BackupManager/getInstalledPrograms.ts +203 -0
- package/server/src/BackupManager/pgDump.ts +242 -0
- package/server/src/BackupManager/pgRestore.ts +238 -0
- package/server/src/BackupManager/pipeFromCommand.ts +94 -0
- package/server/src/BackupManager/pipeToCommand.ts +66 -0
- package/server/src/BackupManager/utils.ts +124 -0
- package/server/src/ConnectionManager/ConnectionManager.ts +613 -0
- package/server/src/ConnectionManager/applyStartupSchemaConfig.ts +95 -0
- package/server/src/ConnectionManager/connectionManagerUtils.ts +164 -0
- package/server/src/ConnectionManager/connectionOnReady.ts +76 -0
- package/server/src/ConnectionManager/dbsConnectionOptions.ts +109 -0
- package/server/src/ConnectionManager/getConnectionAuth.ts +37 -0
- package/server/src/ConnectionManager/getConnectionHttpServer.ts +112 -0
- package/server/src/ConnectionManager/getConnectionPublish.ts +119 -0
- package/server/src/ConnectionManager/getConnectionServerFunctions.ts +108 -0
- package/server/src/ConnectionManager/getConnectionSocketPath.ts +12 -0
- package/server/src/ConnectionManager/getHotReloadConfigs.ts +161 -0
- package/server/src/ConnectionManager/getInitiatedPostgresqlPIDs.ts +84 -0
- package/server/src/ConnectionManager/getSchemaConfig.ts +84 -0
- package/server/src/ConnectionManager/initConnectionManager.ts +147 -0
- package/server/src/ConnectionManager/modifyClientSchema.ts +146 -0
- package/server/src/ConnectionManager/parseTableConfig.ts +231 -0
- package/server/src/ConnectionManager/saveCertificates.ts +68 -0
- package/server/src/ConnectionManager/startConnection.ts +353 -0
- package/server/src/ConnectionManager/startConnectionOnRequestHandler.ts +63 -0
- package/server/src/ConnectionManager/syncSchemaConfig.ts +98 -0
- package/server/src/Logger.ts +150 -0
- package/server/src/McpHub/AnthropicMcpHub/McpHub.ts +144 -0
- package/server/src/McpHub/AnthropicMcpHub/McpOAuth/authenticateMcpServer.ts +98 -0
- package/server/src/McpHub/AnthropicMcpHub/McpOAuth/connectToRemoteMCPServer.ts +176 -0
- package/server/src/McpHub/AnthropicMcpHub/McpOAuth/createMcpOAuthProvider.ts +257 -0
- package/server/src/McpHub/AnthropicMcpHub/McpOAuth/getMcpOAuthMetadata.ts +112 -0
- package/server/src/McpHub/AnthropicMcpHub/McpOAuth/getRemoteMcpServerParameters.ts +82 -0
- package/server/src/McpHub/AnthropicMcpHub/McpOAuth/saveServerInfo.ts +76 -0
- package/server/src/McpHub/AnthropicMcpHub/McpOAuth/updateRemoteMcpAuthorizationCode.ts +100 -0
- package/server/src/McpHub/AnthropicMcpHub/McpTypes.ts +189 -0
- package/server/src/McpHub/AnthropicMcpHub/connectToMCPServer.ts +132 -0
- package/server/src/McpHub/AnthropicMcpHub/createMcpServerHandlers.ts +116 -0
- package/server/src/McpHub/AnthropicMcpHub/installMCPServer.ts +195 -0
- package/server/src/McpHub/AnthropicMcpHub/runShellCommand.ts +53 -0
- package/server/src/McpHub/AnthropicMcpHub/startMcpHub.ts +111 -0
- package/server/src/McpHub/DefaultMCPServers/DefaultMCPServers.ts +153 -0
- package/server/src/McpHub/DefaultMCPServers/mcpGithub.ts +968 -0
- package/server/src/McpHub/DockerSandbox/createBridgeInternalDockerNetwork.ts +35 -0
- package/server/src/McpHub/DockerSandbox/createContainer.spec.ts +195 -0
- package/server/src/McpHub/DockerSandbox/createContainer.ts +125 -0
- package/server/src/McpHub/DockerSandbox/dockerMCPServerProxy/dockerContainerAuthRegistry.ts +150 -0
- package/server/src/McpHub/DockerSandbox/dockerMCPServerProxy/dockerMCPServerProxy.ts +395 -0
- package/server/src/McpHub/DockerSandbox/dockerMCPServerProxy/getDockerGatewayIP.ts +27 -0
- package/server/src/McpHub/DockerSandbox/executeDockerCommand.ts +152 -0
- package/server/src/McpHub/DockerSandbox/getContainerLogs.ts +17 -0
- package/server/src/McpHub/DockerSandbox/getDockerRunArgs.ts +114 -0
- package/server/src/McpHub/DockerSandbox/runContainerWithProxyAccess.ts +99 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServerTypes.ts +143 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Db.mcp.ts +281 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Documents.mcp.ts +89 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/createAgenticWorkflow.ts +247 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/assertTablesExistInFutureSchema.ts +14 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/getValidatedMcpServerToolsAllowed.ts +155 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/parseDDLStatements.ts +84 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/quoteIdent.ts +139 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/validateAgenticWorkflowDefinitions.ts +102 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/validateDatabaseAccessDefinitions.ts +212 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/validateUserInput.ts +159 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/definitionValidation/validateUserInputDefinitions.ts +36 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/execution/getVolumesFromUserInput.ts +134 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/execution/startAgenticWorkflowContainer.ts +341 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/proxyHandlers/createWorkflowExecutionHandlers.ts +155 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/proxyHandlers/getAgentConfigWithDefaults.ts +96 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/proxyHandlers/setupOrchestrationToolPermissions.ts +64 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/addInstrumentationToTsLogic.ts +350 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/callWorkflowProxy.ts +99 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/defineAgenticWorkflow.spec.ts +110 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/defineAgenticWorkflow.ts +576 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/defineAgenticWorkflowHandlers.ts +127 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/defineAgenticWorkflowHandlers.types.ts +72 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/definitionHandler.ts +104 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/ensureWorkflowIsExecuted.ts +53 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/getTsLogicSummary.ts +639 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/orchestrationToolHandlers.ts +55 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSdk/tableHandlers.ts +108 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSetup/getAgenticWorkflowDockerCoreFiles.spec.ts +26 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSetup/getAgenticWorkflowDockerCoreFiles.ts +225 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSetup/getDefineAgenticWorkflowTsWithDbAndMcpTypes.ts +187 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSetup/getOrchestrationContainerFiles.ts +31 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/runtimeSetup/getToolTypescriptSchemas.ts +84 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/agenticWorkflow/startAgenticWorkflow.ts +181 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/fetchTools.ts +48 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/runCodeInSandboxContainer.ts +133 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/schemas/getAgenticToolSchemas.ts +55 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/schemas/getContainerToolProxyAccessInstructions.ts +22 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/schemas/getContainerToolSchemas.ts +46 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/schemas/prostglesUiToolSchemas.ts +23 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/schemas/suggestDashboardsToolSchema.ts +26 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/startAgent.ts +166 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Prostgles/validateCreateDashboards.ts +249 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Ui.mcp.ts +343 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Web/Web.mcp.ts +265 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Web/checkConfigAccess.spec.ts +112 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Web/checkConfigAccess.ts +263 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/Web/getDocumentText.ts +34 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/WebDev/WebDev.mcp.ts +114 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/WebDev/tools/createComponent.ts +94 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/WebDev/tools/createComponentQuickFeedbackPreview.ts +53 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/WebDev/tools/getWebDevChatAndConnection.ts +12 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/WebDev/tools/searchWebDevFiles.spec.ts +82 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/WebDev/tools/searchWebDevFiles.ts +118 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/WebDev/tools/utils.ts +30 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/getClientDBHandlersForChat.ts +46 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers/getExistingTablesSchema.ts +230 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMCPServers.ts +30 -0
- package/server/src/McpHub/ProstglesMcpHub/ProstglesMcpHub.ts +244 -0
- package/server/src/McpHub/callMCPServerTool.ts +148 -0
- package/server/src/McpHub/getMcpServerParameters.ts +204 -0
- package/server/src/McpHub/insertMcpServerList.ts +49 -0
- package/server/src/McpHub/reloadMcpServerTools.ts +123 -0
- package/server/src/McpHub/testMCPServerConfig.ts +29 -0
- package/server/src/McpHub/utils.ts +1 -0
- package/server/src/ServiceManager/ServiceManager.spec.ts +27 -0
- package/server/src/ServiceManager/ServiceManager.ts +162 -0
- package/server/src/ServiceManager/ServiceManagerTypes.ts +136 -0
- package/server/src/ServiceManager/buildService.ts +138 -0
- package/server/src/ServiceManager/dockerInspect.ts +33 -0
- package/server/src/ServiceManager/enableService.ts +41 -0
- package/server/src/ServiceManager/getDockerBuildHash.ts +57 -0
- package/server/src/ServiceManager/getSelectedConfigEnvs.ts +47 -0
- package/server/src/ServiceManager/getServiceEndpoints.ts +122 -0
- package/server/src/ServiceManager/initialiseServices.ts +56 -0
- package/server/src/ServiceManager/resolveBinary.ts +41 -0
- package/server/src/ServiceManager/services/documents/documents.service.ts +178 -0
- package/server/src/ServiceManager/services/documents/documents.service.types.ts +43 -0
- package/server/src/ServiceManager/services/documents/src/Dockerfile +29 -0
- package/server/src/ServiceManager/services/documents/src/layout_postprocessor.py +707 -0
- package/server/src/ServiceManager/services/documents/src/requirements.txt +3 -0
- package/server/src/ServiceManager/services/frontendDev/frontendDev.service.ts +19 -0
- package/server/src/ServiceManager/services/frontendDev/src/.prettierrc +3 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/.env.development +1 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/Dockerfile +5 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/README.md +6 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/eslint.config.js +27 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/index.html +13 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/package.json +32 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/public/vite.svg +1 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/src/App.css +42 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/src/App.tsx +19 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/src/api/DBGeneratedSchema.d.ts +33 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/src/api/ProstglesProvider.tsx +61 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/src/assets/react.svg +1 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/src/components/SampleComponent/SampleComponent.tsx +11 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/src/index.css +68 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/src/main.tsx +23 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/src/pages/ComponentPreview.tsx +31 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/src/pages/Home.tsx +36 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/tsconfig.app.json +28 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/tsconfig.json +7 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/tsconfig.node.json +26 -0
- package/server/src/ServiceManager/services/frontendDev/src/client/vite.config.ts +17 -0
- package/server/src/ServiceManager/services/frontendDev/src/e2e/package.json +24 -0
- package/server/src/ServiceManager/services/frontendDev/src/e2e/playwright.config.ts +36 -0
- package/server/src/ServiceManager/services/frontendDev/src/e2e/tests/coverage.ts +67 -0
- package/server/src/ServiceManager/services/frontendDev/src/e2e/tests/main.spec.ts +21 -0
- package/server/src/ServiceManager/services/frontendDev/src/e2e/tests/tsconfig.json +13 -0
- package/server/src/ServiceManager/services/frontendDev/src/e2e/tsconfig.json +13 -0
- package/server/src/ServiceManager/services/frontendDev/src/package.json +15 -0
- package/server/src/ServiceManager/services/frontendDev/src/tsconfig.base.json +32 -0
- package/server/src/ServiceManager/services/speechToText/TRANSCRIBE_OUTPUT_SCHEMA.ts +53 -0
- package/server/src/ServiceManager/services/speechToText/speechToText.service.ts +125 -0
- package/server/src/ServiceManager/services/speechToText/src/Dockerfile +31 -0
- package/server/src/ServiceManager/services/speechToText/src/app.py +115 -0
- package/server/src/ServiceManager/services/speechToText/src/requirements.txt +3 -0
- package/server/src/ServiceManager/services/webSearchSearxng/src/Dockerfile +12 -0
- package/server/src/ServiceManager/services/webSearchSearxng/src/limiter.toml +0 -0
- package/server/src/ServiceManager/services/webSearchSearxng/src/settings.yml +11 -0
- package/server/src/ServiceManager/services/webSearchSearxng/webSearchSearxng.service.ts +36 -0
- package/server/src/ServiceManager/startService.ts +196 -0
- package/server/src/ServiceManager/stopService.ts +23 -0
- package/server/src/ServiceManager/withRetries.ts +19 -0
- package/server/src/authConfig/OAuthProviders/getOAuthLoginProviders.ts +67 -0
- package/server/src/authConfig/OAuthProviders/loginWithProvider.ts +94 -0
- package/server/src/authConfig/authUtils.ts +19 -0
- package/server/src/authConfig/createPasswordlessAdminSessionIfNeeded.ts +86 -0
- package/server/src/authConfig/createPublicUserSessionIfAllowed.ts +48 -0
- package/server/src/authConfig/emailProvider/getEmailAuthProvider.ts +44 -0
- package/server/src/authConfig/emailProvider/getEmailSenderWithMockTest.ts +96 -0
- package/server/src/authConfig/emailProvider/onEmailRegistration.ts +116 -0
- package/server/src/authConfig/getActiveSession.ts +76 -0
- package/server/src/authConfig/getAuth.ts +171 -0
- package/server/src/authConfig/getLogin.ts +206 -0
- package/server/src/authConfig/getUser.ts +108 -0
- package/server/src/authConfig/onMagicLinkOrOTP.ts +171 -0
- package/server/src/authConfig/onUseOrSocketConnected.ts +43 -0
- package/server/src/authConfig/sessionUtils.ts +120 -0
- package/server/src/authConfig/startRateLimitedLoginAttempt.ts +201 -0
- package/server/src/authConfig/subscribeToAuthSetupChanges.ts +144 -0
- package/server/src/authConfig/upsertSession.ts +48 -0
- package/server/src/cli/cli.ts +217 -0
- package/server/src/cli/cliUtils.ts +50 -0
- package/server/src/cloudClients/cloudClients.ts +116 -0
- package/server/src/connectionUtils/getConnectionDetails.ts +76 -0
- package/server/src/connectionUtils/testDBConnection.ts +167 -0
- package/server/src/connectionUtils/validateConnection.ts +114 -0
- package/server/src/createHttpAndIOServers/createHttpServer.ts +147 -0
- package/server/src/createHttpAndIOServers/createIOWebsocketServer.ts +31 -0
- package/server/src/createHttpAndIOServers/getCorsOptions.ts +58 -0
- package/server/src/createHttpAndIOServers/setHttpAppSecurity.ts +124 -0
- package/server/src/electronConfig.ts +223 -0
- package/server/src/envVars.ts +45 -0
- package/server/src/getPSQLQueries.ts +123 -0
- package/server/src/index.ts +273 -0
- package/server/src/init/CSP_DEFAULTS.ts +41 -0
- package/server/src/init/addDevImageProxyRoute.ts +74 -0
- package/server/src/init/cleanupTestDatabases.ts +51 -0
- package/server/src/init/initExpressAndIOServers.ts +127 -0
- package/server/src/init/initUsers.ts +113 -0
- package/server/src/init/insertStateDatabase.ts +72 -0
- package/server/src/init/isRetryableError.ts +50 -0
- package/server/src/init/logOutgoingHttpRequests.ts +15 -0
- package/server/src/init/prostglesOnReady.ts +147 -0
- package/server/src/init/saveTypescriptFilesForProduction.ts +113 -0
- package/server/src/init/setDBSRoutesForElectron.ts +206 -0
- package/server/src/init/startDevHotReloadNotifier.ts +39 -0
- package/server/src/init/startProstgles.ts +220 -0
- package/server/src/init/tryStartProstgles.ts +177 -0
- package/server/src/init/utils.ts +44 -0
- package/server/src/init.sql +1 -0
- package/server/src/methods/getPidStats.ts +336 -0
- package/server/src/methods/getPidStatsFromProc.ts +125 -0
- package/server/src/methods/statusMonitorUtils.ts +148 -0
- package/server/src/publish/getPublishLLM.ts +246 -0
- package/server/src/publish/getPublishLlmChats.ts +73 -0
- package/server/src/publish/publish.ts +398 -0
- package/server/src/schemaConfig.ts +97 -0
- package/server/src/serverFunctions/adminServerFunctions/getAdminServerFunctions.ts +477 -0
- package/server/src/serverFunctions/adminServerFunctions/getAgenticWorkflowFunctions.ts +186 -0
- package/server/src/serverFunctions/adminServerFunctions/getBackupServerFunctions.ts +178 -0
- package/server/src/serverFunctions/adminServerFunctions/getDefineAdminFunction.ts +11 -0
- package/server/src/serverFunctions/adminServerFunctions/getMcpServerFunctions.ts +283 -0
- package/server/src/serverFunctions/adminServerFunctions/getWebAppServerFunctions.ts +228 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/buildWebApp.ts +38 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/getReactComponents copy.ts +188 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/getReactComponents.ts +287 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/getReactRenderTree.ts +180 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/getTemplatedWebAppConnection.ts +23 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/getValidatedWebAppPath.spec.ts +77 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/getValidatedWebAppPath.ts +22 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/readWebAppFiles.ts +45 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/runDockerForWebApp.ts +56 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/testWebApp.ts +30 -0
- package/server/src/serverFunctions/adminServerFunctions/webApp/writeWebAppFiles.ts +91 -0
- package/server/src/serverFunctions/applySampleSchema.ts +96 -0
- package/server/src/serverFunctions/askLLM/LLMResponseTypes.ts +315 -0
- package/server/src/serverFunctions/askLLM/agentConstants.ts +42 -0
- package/server/src/serverFunctions/askLLM/askLLM.ts +540 -0
- package/server/src/serverFunctions/askLLM/checkLLMLimit.ts +59 -0
- package/server/src/serverFunctions/askLLM/checkMaxCostLimitForChat.ts +51 -0
- package/server/src/serverFunctions/askLLM/defaultPrompts/base.prompt.ts +26 -0
- package/server/src/serverFunctions/askLLM/defaultPrompts/createAgenticWorkflow.prompt.ts +53 -0
- package/server/src/serverFunctions/askLLM/defaultPrompts/createDashboards.prompt.ts +15 -0
- package/server/src/serverFunctions/askLLM/fetchLLMResponse.ts +105 -0
- package/server/src/serverFunctions/askLLM/getCompactedMessages.ts +101 -0
- package/server/src/serverFunctions/askLLM/getFullPrompt.ts +86 -0
- package/server/src/serverFunctions/askLLM/getLLMRequestBody.ts +368 -0
- package/server/src/serverFunctions/askLLM/getLLMToolsAllowedInThisChat.ts +179 -0
- package/server/src/serverFunctions/askLLM/getLLMUsageCost.ts +91 -0
- package/server/src/serverFunctions/askLLM/getPastMessages.ts +9 -0
- package/server/src/serverFunctions/askLLM/getUserMessageCost.ts +21 -0
- package/server/src/serverFunctions/askLLM/getValidatedAskLLMChatOptions.ts +59 -0
- package/server/src/serverFunctions/askLLM/handleToolUseResultConfirmation.ts +87 -0
- package/server/src/serverFunctions/askLLM/parseLLMResponseObject.ts +206 -0
- package/server/src/serverFunctions/askLLM/prostglesLLMTools/getDbConnectionWithPermissions.ts +94 -0
- package/server/src/serverFunctions/askLLM/prostglesLLMTools/getMCPServerTools.ts +28 -0
- package/server/src/serverFunctions/askLLM/prostglesLLMTools/getMcpToolsWithDynamicDescription.ts +77 -0
- package/server/src/serverFunctions/askLLM/prostglesLLMTools/getTemplateUserConnection.ts +182 -0
- package/server/src/serverFunctions/askLLM/readFetchStream.ts +69 -0
- package/server/src/serverFunctions/askLLM/refreshModels.ts +223 -0
- package/server/src/serverFunctions/askLLM/runApprovedTools/getMostSimilar.ts +55 -0
- package/server/src/serverFunctions/askLLM/runApprovedTools/runAgentGoalTool.ts +116 -0
- package/server/src/serverFunctions/askLLM/runApprovedTools/runApprovedTools.ts +348 -0
- package/server/src/serverFunctions/askLLM/runApprovedTools/validateLastMessageToolUseRequests.ts +33 -0
- package/server/src/serverFunctions/askLLM/setupLLM.ts +176 -0
- package/server/src/serverFunctions/askLLM/setupLLMProviders.ts +186 -0
- package/server/src/serverFunctions/deleteConnection.ts +111 -0
- package/server/src/serverFunctions/getConnectionAndDatabaseConfig.ts +27 -0
- package/server/src/serverFunctions/getNodeTypes.spec.ts +80 -0
- package/server/src/serverFunctions/getNodeTypes.ts +306 -0
- package/server/src/serverFunctions/getServerFunctions.ts +163 -0
- package/server/src/serverFunctions/getServerFunctionsContext.ts +29 -0
- package/server/src/serverFunctions/prostglesSignup.ts +28 -0
- package/server/src/serverFunctions/setFileStorage.ts +107 -0
- package/server/src/serverFunctions/userServerFunctions/approveToolUse.ts +146 -0
- package/server/src/serverFunctions/userServerFunctions/getLLMAccessParams.ts +21 -0
- package/server/src/serverFunctions/userServerFunctions/getUserServerFunctions.ts +260 -0
- package/server/src/tableConfig/tableConfig.ts +374 -0
- package/server/src/tableConfig/tableConfigAccessControl.ts +212 -0
- package/server/src/tableConfig/tableConfigAgenticWorkflow.ts +174 -0
- package/server/src/tableConfig/tableConfigBackups.ts +160 -0
- package/server/src/tableConfig/tableConfigConnections.ts +182 -0
- package/server/src/tableConfig/tableConfigDatabaseConfig.ts +714 -0
- package/server/src/tableConfig/tableConfigGlobalSettings.ts +40 -0
- package/server/src/tableConfig/tableConfigLinks.ts +273 -0
- package/server/src/tableConfig/tableConfigLlm/tableConfigLlm.ts +347 -0
- package/server/src/tableConfig/tableConfigLlm/tableConfigLlmChats.ts +361 -0
- package/server/src/tableConfig/tableConfigLlm/tableConfigLlmExtraRequestData.ts +50 -0
- package/server/src/tableConfig/tableConfigMCPServers.ts +676 -0
- package/server/src/tableConfig/tableConfigMigrations.ts +26 -0
- package/server/src/tableConfig/tableConfigPublishedMethods.ts +120 -0
- package/server/src/tableConfig/tableConfigServices.ts +61 -0
- package/server/src/tableConfig/tableConfigUsers.ts +227 -0
- package/server/src/tableConfig/tableConfigWebApp.ts +17 -0
- package/server/src/tableConfig/tableConfigWindows.ts +164 -0
- package/server/src/tableConfig/tableConfigWorkspaces.ts +100 -0
- package/server/src/tableConfig/tablePermissionsSchema.ts +66 -0
- package/server/src/testElectron.ts +33 -0
- package/server/src/upsertConnection.ts +73 -0
- package/server/src/utils/assertIconExists.ts +24 -0
- package/server/src/utils/isPortFree.ts +40 -0
- package/server/src/utils/tout.ts +7 -0
- package/server/test-runner.mjs +28 -0
- package/server/tsconfig.json +45 -0
- package/server/tslint.json +8 -0
|
@@ -0,0 +1,802 @@
|
|
|
1
|
+
import type { ProstglesOnMount } from "prostgles";
|
|
2
|
+
const SECOND = 1e3;
|
|
3
|
+
import { WebSocket } from "ws";
|
|
4
|
+
|
|
5
|
+
const FUNDING_SYMBOLS = [
|
|
6
|
+
"BTCUSDT",
|
|
7
|
+
"ETHUSDT",
|
|
8
|
+
"BNBUSDT",
|
|
9
|
+
"SOLUSDT",
|
|
10
|
+
"XRPUSDT",
|
|
11
|
+
"TAOUSDT",
|
|
12
|
+
] as const;
|
|
13
|
+
|
|
14
|
+
let loadGasPrices = false;
|
|
15
|
+
let realtimeFutures = false;
|
|
16
|
+
|
|
17
|
+
export const onMount: ProstglesOnMount = async ({ dbo: db, sql }) => {
|
|
18
|
+
const getMarketCaps = async () => {
|
|
19
|
+
const marketCaps = await fetch(
|
|
20
|
+
"https://prostgles.com/static/market_caps.json",
|
|
21
|
+
// "https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&order=market_cap_desc&per_page=250",
|
|
22
|
+
).then((d) => d.json());
|
|
23
|
+
const batchUpdate = marketCaps.map(({ id, ...otherData }) => [
|
|
24
|
+
{ id },
|
|
25
|
+
otherData,
|
|
26
|
+
]);
|
|
27
|
+
console.log(`marketCaps ${marketCaps.length} items`);
|
|
28
|
+
console.log(`batchUpdate ${batchUpdate.length} items`);
|
|
29
|
+
await db.market_caps.updateBatch(batchUpdate);
|
|
30
|
+
await db.market_caps.insertMany(marketCaps, { onConflict: "DoUpdate" });
|
|
31
|
+
};
|
|
32
|
+
const marketCapsInterval = setInterval(getMarketCaps, 30 * SECOND);
|
|
33
|
+
getMarketCaps();
|
|
34
|
+
|
|
35
|
+
await db.symbols.insertMany([...FUNDING_SYMBOLS.map((pair) => ({ pair }))], {
|
|
36
|
+
onConflict: "DoNothing",
|
|
37
|
+
});
|
|
38
|
+
if (!+(await db.futures.count())) {
|
|
39
|
+
await loadHistorcalFutures(db);
|
|
40
|
+
await loadHistoricalFundingRates(db);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
let socket: WebSocket | undefined;
|
|
44
|
+
if (realtimeFutures) {
|
|
45
|
+
socket = new WebSocket("wss://fstream.binance.com/ws/!markPrice@arr@1s");
|
|
46
|
+
socket.onmessage = async (rawData) => {
|
|
47
|
+
const dataItems = JSON.parse(rawData.data as string) as any[];
|
|
48
|
+
const data = dataItems.map((data) => ({
|
|
49
|
+
symbol: data.s,
|
|
50
|
+
price: data.p,
|
|
51
|
+
timestamp: new Date(data.E),
|
|
52
|
+
}));
|
|
53
|
+
console.log(`db.symbols.insert ${data.length} items`);
|
|
54
|
+
await db.symbols.insertMany(
|
|
55
|
+
[
|
|
56
|
+
...data.map(({ symbol }) => ({ pair: symbol })),
|
|
57
|
+
...FUNDING_SYMBOLS.map((pair) => ({ pair })),
|
|
58
|
+
],
|
|
59
|
+
{ onConflict: "DoNothing" },
|
|
60
|
+
);
|
|
61
|
+
|
|
62
|
+
await db.futures.insertMany(data);
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
const frequency = 20 * SECOND;
|
|
67
|
+
|
|
68
|
+
const markets = Object.entries(MARKETS)
|
|
69
|
+
.map(([id, data]) => ({
|
|
70
|
+
id,
|
|
71
|
+
rpcNode: (data as any).rpcNode,
|
|
72
|
+
logoLink: (data as any).logoLink,
|
|
73
|
+
data,
|
|
74
|
+
}))
|
|
75
|
+
.filter((d) => d.rpcNode);
|
|
76
|
+
|
|
77
|
+
const marketsCount = await db.markets.count();
|
|
78
|
+
if (!marketsCount) {
|
|
79
|
+
// const marketAthCharts = Array.from({ length: 250 }, (_, i) => i + 1).map(i => ({
|
|
80
|
+
await db.markets.insertMany(markets);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
let gasPricesInterval: ReturnType<typeof setInterval> | undefined;
|
|
84
|
+
if (loadGasPrices) {
|
|
85
|
+
gasPricesInterval = setInterval(async () => {
|
|
86
|
+
const markets = await db.markets.find();
|
|
87
|
+
markets.forEach(async (market) => {
|
|
88
|
+
const { id, rpcNode } = market;
|
|
89
|
+
const setPrice = async (price_gwei: any) => {
|
|
90
|
+
if (Number.isFinite(price_gwei)) {
|
|
91
|
+
await db.gas_prices.insert({ market: id, price_gwei });
|
|
92
|
+
await db.markets.update({ id }, { current_price: price_gwei });
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
if (id === "btc") {
|
|
96
|
+
const resp = await fetch(
|
|
97
|
+
"https://mempool.space/api/v1/fees/recommended",
|
|
98
|
+
);
|
|
99
|
+
let price_gwei = NaN;
|
|
100
|
+
try {
|
|
101
|
+
price_gwei = await resp.json().then((d) => Number(d.hourFee));
|
|
102
|
+
} catch (e) {
|
|
103
|
+
console.log(resp);
|
|
104
|
+
throw e;
|
|
105
|
+
}
|
|
106
|
+
setPrice(price_gwei);
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
let resp;
|
|
110
|
+
try {
|
|
111
|
+
resp = await fetch(rpcNode, {
|
|
112
|
+
method: "POST",
|
|
113
|
+
headers: {
|
|
114
|
+
"Content-type": "application/json",
|
|
115
|
+
},
|
|
116
|
+
body: JSON.stringify({
|
|
117
|
+
jsonrpc: "2.0",
|
|
118
|
+
id: 1,
|
|
119
|
+
method: "eth_gasPrice",
|
|
120
|
+
params: [],
|
|
121
|
+
}),
|
|
122
|
+
});
|
|
123
|
+
let price_gwei = NaN;
|
|
124
|
+
try {
|
|
125
|
+
price_gwei = await resp.json().then((d) => Number(d.result) / 1e9);
|
|
126
|
+
} catch (e) {
|
|
127
|
+
console.log(resp);
|
|
128
|
+
throw e;
|
|
129
|
+
}
|
|
130
|
+
setPrice(price_gwei);
|
|
131
|
+
} catch (error) {
|
|
132
|
+
console.log(id, error, resp);
|
|
133
|
+
await db.markets.update(
|
|
134
|
+
{ id },
|
|
135
|
+
{ fail_info: { error: error.message } },
|
|
136
|
+
);
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
}, frequency);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
const maintenanceInterval = setInterval(
|
|
143
|
+
async () => {
|
|
144
|
+
if (!loadGasPrices && !realtimeFutures) return;
|
|
145
|
+
if (loadGasPrices) {
|
|
146
|
+
await sql(`
|
|
147
|
+
DELETE FROM gas_prices
|
|
148
|
+
WHERE id IN (
|
|
149
|
+
SELECT id
|
|
150
|
+
FROM (
|
|
151
|
+
SELECT *, row_number() over( PARTITION BY market, price_gwei ORDER BY "timestamp" ) as dupeno
|
|
152
|
+
FROM gas_prices
|
|
153
|
+
) t
|
|
154
|
+
WHERE dupeno > 3
|
|
155
|
+
)
|
|
156
|
+
`);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
const { futures_id, gas_id } = await sql(
|
|
160
|
+
"SELECT (SELECT MAX(id) FROM futures) as futures_id, (SELECT MAX(id) FROM gas_prices) as gas_id",
|
|
161
|
+
{},
|
|
162
|
+
{ returnType: "row" },
|
|
163
|
+
);
|
|
164
|
+
let truncateQuery = "";
|
|
165
|
+
if (futures_id > 10e6 && realtimeFutures) {
|
|
166
|
+
truncateQuery += `TRUNCATE futures RESTART IDENTITY;\n`;
|
|
167
|
+
}
|
|
168
|
+
if (gas_id > 10e5 && loadGasPrices) {
|
|
169
|
+
truncateQuery += `TRUNCATE gas_prices RESTART IDENTITY;\n`;
|
|
170
|
+
}
|
|
171
|
+
if (truncateQuery) {
|
|
172
|
+
await sql(truncateQuery);
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
60 * 60 * SECOND,
|
|
176
|
+
);
|
|
177
|
+
|
|
178
|
+
return () => {
|
|
179
|
+
clearInterval(marketCapsInterval);
|
|
180
|
+
if (gasPricesInterval) clearInterval(gasPricesInterval);
|
|
181
|
+
clearInterval(maintenanceInterval);
|
|
182
|
+
socket?.close();
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
const HISTORICAL_DATA_START = Date.now() - 7 * 24 * 60 * 60 * 1000; // 7 days ago
|
|
186
|
+
const loadHistorcalFutures = async (db) => {
|
|
187
|
+
for (const pair of FUNDING_SYMBOLS) {
|
|
188
|
+
const data = await fetchHistoricalFutures(
|
|
189
|
+
pair,
|
|
190
|
+
"1m",
|
|
191
|
+
HISTORICAL_DATA_START,
|
|
192
|
+
Date.now(),
|
|
193
|
+
);
|
|
194
|
+
console.log(`Loaded ${data.length} historical futures for ${pair}`);
|
|
195
|
+
if (!data.length) continue;
|
|
196
|
+
await db.futures.insertMany(data);
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
const fetchHistoricalFutures = async (
|
|
201
|
+
symbol: string,
|
|
202
|
+
interval: string,
|
|
203
|
+
startTime: number,
|
|
204
|
+
endTime: number,
|
|
205
|
+
) => {
|
|
206
|
+
const allData: any[][] = [];
|
|
207
|
+
let currentStart = startTime;
|
|
208
|
+
|
|
209
|
+
while (currentStart < endTime) {
|
|
210
|
+
const url = `https://fapi.binance.com/fapi/v1/klines?symbol=${symbol}&interval=${interval}&startTime=${currentStart}&endTime=${endTime}&limit=1500`;
|
|
211
|
+
const res = await fetch(url, {
|
|
212
|
+
headers: {
|
|
213
|
+
"Content-Type": "application/json",
|
|
214
|
+
},
|
|
215
|
+
});
|
|
216
|
+
const data = (await res.json()) as any[];
|
|
217
|
+
if (!res.ok) {
|
|
218
|
+
console.error("Error fetching historical futures:", res.statusText, data);
|
|
219
|
+
break;
|
|
220
|
+
}
|
|
221
|
+
if (!data.length) {
|
|
222
|
+
console.log("No more data to fetch for", symbol);
|
|
223
|
+
break;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
allData.push(...data);
|
|
227
|
+
|
|
228
|
+
// Move start to after the last candle
|
|
229
|
+
const lastCandleOpenTime = data[data.length - 1][0];
|
|
230
|
+
currentStart = lastCandleOpenTime + 1;
|
|
231
|
+
|
|
232
|
+
// Avoid rate limits
|
|
233
|
+
await new Promise((r) => setTimeout(r, 150));
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
return allData.map(([openTime, open, high, low, close, volume]) => ({
|
|
237
|
+
timestamp: new Date(openTime),
|
|
238
|
+
// open: parseFloat(open),
|
|
239
|
+
// high: parseFloat(high),
|
|
240
|
+
// low: parseFloat(low),
|
|
241
|
+
symbol,
|
|
242
|
+
// close: parseFloat(close),
|
|
243
|
+
price: parseFloat(close),
|
|
244
|
+
// volume: parseFloat(volume),
|
|
245
|
+
}));
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
const loadHistoricalFundingRates = async (db) => {
|
|
249
|
+
for (const symbol of FUNDING_SYMBOLS) {
|
|
250
|
+
const data = await fetchHistoricalFundingRates(
|
|
251
|
+
symbol,
|
|
252
|
+
HISTORICAL_DATA_START,
|
|
253
|
+
Date.now(),
|
|
254
|
+
);
|
|
255
|
+
console.log(`Fetched ${data.length} funding rates for ${symbol}`);
|
|
256
|
+
await db.futures_funding_rates.insertMany(data, {
|
|
257
|
+
onConflict: "DoNothing",
|
|
258
|
+
});
|
|
259
|
+
console.log(`Loaded ${data.length} funding rates for ${symbol}`);
|
|
260
|
+
}
|
|
261
|
+
};
|
|
262
|
+
|
|
263
|
+
const fetchHistoricalFundingRates = async (
|
|
264
|
+
symbol: string,
|
|
265
|
+
startTime: number,
|
|
266
|
+
endTime: number,
|
|
267
|
+
) => {
|
|
268
|
+
const allData: any[] = [];
|
|
269
|
+
let currentStart = startTime;
|
|
270
|
+
|
|
271
|
+
while (currentStart < endTime) {
|
|
272
|
+
const url = `https://fapi.binance.com/fapi/v1/fundingRate?symbol=${symbol}&startTime=${currentStart}&endTime=${endTime}&limit=1000`;
|
|
273
|
+
const res = await fetch(url);
|
|
274
|
+
const data = (await res.json()) as any[];
|
|
275
|
+
|
|
276
|
+
if (!data.length) break;
|
|
277
|
+
|
|
278
|
+
allData.push(...data);
|
|
279
|
+
|
|
280
|
+
const lastFundingTime = data[data.length - 1].fundingTime;
|
|
281
|
+
currentStart = lastFundingTime + 1;
|
|
282
|
+
|
|
283
|
+
await new Promise((r) => setTimeout(r, 100));
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
return allData.map(({ symbol, fundingTime, fundingRate, markPrice }) => ({
|
|
287
|
+
symbol,
|
|
288
|
+
funding_rate: parseFloat(fundingRate),
|
|
289
|
+
mark_price: parseFloat(markPrice),
|
|
290
|
+
funding_time: new Date(fundingTime),
|
|
291
|
+
}));
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
const MARKETS = {
|
|
295
|
+
btc: {
|
|
296
|
+
symbol: "BTC",
|
|
297
|
+
chainName: "BTC",
|
|
298
|
+
networkName: "Bitcoin",
|
|
299
|
+
icon: "coin-btc2",
|
|
300
|
+
blockBrowser: "https://explorer.btc.com/",
|
|
301
|
+
rpcNode: "https://graphql.bitquery.io/",
|
|
302
|
+
},
|
|
303
|
+
doge: {
|
|
304
|
+
symbol: "DOGE",
|
|
305
|
+
chainName: "DOGE",
|
|
306
|
+
networkName: "DogeCoin",
|
|
307
|
+
icon: "coin-doge",
|
|
308
|
+
blockBrowser: "https://dogechain.info",
|
|
309
|
+
rpcNode: "https://rpc.dogechain.dog/",
|
|
310
|
+
},
|
|
311
|
+
kovan: {
|
|
312
|
+
symbol: "ETH",
|
|
313
|
+
chainName: "ETH",
|
|
314
|
+
networkName: "ERC20",
|
|
315
|
+
icon: "coin-eth2",
|
|
316
|
+
blockBrowser: "https://kovan.etherscan.io",
|
|
317
|
+
rpcNode: "https://kovan.infura.io/v3/ba1f4e263e8a497ab6982db5917462f9",
|
|
318
|
+
},
|
|
319
|
+
eth: {
|
|
320
|
+
symbol: "ETH",
|
|
321
|
+
chainName: "ETH",
|
|
322
|
+
networkName: "ERC20",
|
|
323
|
+
icon: "coin-eth2",
|
|
324
|
+
blockBrowser: "https://etherscan.io",
|
|
325
|
+
rpcNode: "https://rpc.ankr.com/eth",
|
|
326
|
+
},
|
|
327
|
+
ethw: {
|
|
328
|
+
symbol: "ETHW",
|
|
329
|
+
chainName: "EthereumPoW",
|
|
330
|
+
networkName: "ERC20",
|
|
331
|
+
icon: "ethw",
|
|
332
|
+
blockBrowser: "https://www.oklink.com/en/ethw/",
|
|
333
|
+
rpcNode: "https://mainnet.ethereumpow.org",
|
|
334
|
+
},
|
|
335
|
+
ethf: {
|
|
336
|
+
symbol: "ETHF",
|
|
337
|
+
chainName: "EthereumFair",
|
|
338
|
+
networkName: "ERC20",
|
|
339
|
+
icon: "ethf",
|
|
340
|
+
blockBrowser: "https://explorer.etherfair.org",
|
|
341
|
+
rpcNode: "https://rpc.etherfair.org/",
|
|
342
|
+
},
|
|
343
|
+
eos: {
|
|
344
|
+
symbol: "EOS",
|
|
345
|
+
chainName: "",
|
|
346
|
+
networkName: "",
|
|
347
|
+
icon: "coin-eos",
|
|
348
|
+
},
|
|
349
|
+
xmr: {
|
|
350
|
+
symbol: "XMR",
|
|
351
|
+
chainName: "XMR",
|
|
352
|
+
networkName: "",
|
|
353
|
+
icon: "coin-xmr",
|
|
354
|
+
},
|
|
355
|
+
bnb: {
|
|
356
|
+
symbol: "BNB",
|
|
357
|
+
chainName: "BSC",
|
|
358
|
+
networkName: "BEP20",
|
|
359
|
+
icon: "coin-bnb",
|
|
360
|
+
blockBrowser: "https://bscscan.com",
|
|
361
|
+
rpcNode: "https://rpc.ankr.com/bsc",
|
|
362
|
+
},
|
|
363
|
+
bsc: {
|
|
364
|
+
symbol: "BNB",
|
|
365
|
+
chainName: "BSC",
|
|
366
|
+
networkName: "BEP20",
|
|
367
|
+
icon: "coin-bnb",
|
|
368
|
+
blockBrowser: "https://bscscan.com",
|
|
369
|
+
rpcNode: "https://rpc.ankr.com/bsc",
|
|
370
|
+
},
|
|
371
|
+
opbnb: {
|
|
372
|
+
symbol: "opBNB",
|
|
373
|
+
chainName: "opBNB",
|
|
374
|
+
networkName: "BEP20",
|
|
375
|
+
icon: "opbnb",
|
|
376
|
+
blockBrowser: "https://opbnbscan.com",
|
|
377
|
+
rpcNode: "https://opbnb-mainnet-rpc.bnbchain.org",
|
|
378
|
+
},
|
|
379
|
+
ht: {
|
|
380
|
+
symbol: "HT",
|
|
381
|
+
chainName: "HECO",
|
|
382
|
+
networkName: "HRC20",
|
|
383
|
+
icon: "coin-heco",
|
|
384
|
+
blockBrowser: "https://hecoinfo.com",
|
|
385
|
+
rpcNode: "https://http-mainnet.hecochain.com",
|
|
386
|
+
},
|
|
387
|
+
heco: {
|
|
388
|
+
symbol: "HT",
|
|
389
|
+
chainName: "HECO",
|
|
390
|
+
networkName: "HRC20",
|
|
391
|
+
icon: "coin-heco",
|
|
392
|
+
blockBrowser: "https://hecoinfo.com",
|
|
393
|
+
rpcNode: "https://http-mainnet.hecochain.com",
|
|
394
|
+
},
|
|
395
|
+
okt: {
|
|
396
|
+
symbol: "OKT",
|
|
397
|
+
chainName: "OKX Chain",
|
|
398
|
+
networkName: "OEC20",
|
|
399
|
+
icon: "coin-okex",
|
|
400
|
+
blockBrowser: "https://www.oklink.com/okexchain",
|
|
401
|
+
rpcNode: "https://exchainrpc.okex.org",
|
|
402
|
+
},
|
|
403
|
+
sui: {
|
|
404
|
+
symbol: "SUI",
|
|
405
|
+
chainName: "SUI",
|
|
406
|
+
networkName: "SUI",
|
|
407
|
+
icon: "sui",
|
|
408
|
+
blockBrowser: "https://explorer.sui.io",
|
|
409
|
+
rpcNode: "https://explorer-rpc.mainnet.sui.io",
|
|
410
|
+
},
|
|
411
|
+
sei: {
|
|
412
|
+
symbol: "SEI",
|
|
413
|
+
chainName: "SEI",
|
|
414
|
+
networkName: "SEI",
|
|
415
|
+
icon: "sei",
|
|
416
|
+
blockBrowser: "https://www.seiscan.app",
|
|
417
|
+
rpcNode: "https://rpc.sei-apis.com",
|
|
418
|
+
},
|
|
419
|
+
ftm: {
|
|
420
|
+
symbol: "FTM",
|
|
421
|
+
chainName: "Fantom",
|
|
422
|
+
networkName: "FRC20",
|
|
423
|
+
icon: "coin-ftm",
|
|
424
|
+
blockBrowser: "https://ftmscan.com",
|
|
425
|
+
rpcNode: "https://rpc.ankr.com/fantom",
|
|
426
|
+
},
|
|
427
|
+
kcc: {
|
|
428
|
+
symbol: "KCS",
|
|
429
|
+
chainName: "KCC",
|
|
430
|
+
networkName: "KRC20",
|
|
431
|
+
icon: "coin-kcc",
|
|
432
|
+
blockBrowser: "https://explorer.kcc.io",
|
|
433
|
+
rpcNode: "https://rpc-mainnet.kcc.network",
|
|
434
|
+
},
|
|
435
|
+
xdai: {
|
|
436
|
+
symbol: "xDAI",
|
|
437
|
+
chainName: "xDAI",
|
|
438
|
+
networkName: "XRC20",
|
|
439
|
+
icon: "coin-xdai",
|
|
440
|
+
blockBrowser: "https://gnosis.blockscout.com",
|
|
441
|
+
rpcNode: "https://gnosis-mainnet.public.blastapi.io",
|
|
442
|
+
},
|
|
443
|
+
matic: {
|
|
444
|
+
symbol: "MATIC",
|
|
445
|
+
chainName: "Polygon",
|
|
446
|
+
networkName: "MRC20",
|
|
447
|
+
icon: "coin-matic",
|
|
448
|
+
blockBrowser: "https://polygonscan.com",
|
|
449
|
+
rpcNode: "https://rpc.ankr.com/polygon",
|
|
450
|
+
},
|
|
451
|
+
dot: {
|
|
452
|
+
symbol: "DOT",
|
|
453
|
+
chainName: "DOT",
|
|
454
|
+
networkName: "Polkadot",
|
|
455
|
+
icon: "coin-dot",
|
|
456
|
+
},
|
|
457
|
+
sol: {
|
|
458
|
+
symbol: "SOL",
|
|
459
|
+
chainName: "Solana",
|
|
460
|
+
networkName: "",
|
|
461
|
+
icon: "coin-sol",
|
|
462
|
+
blockBrowser: "https://solscan.io",
|
|
463
|
+
rpcNode:
|
|
464
|
+
"https://solana-mainnet.phantom.app/YBPpkkN4g91xDiAnTE9r0RcMkjg0sKUIWvAfoFVJ",
|
|
465
|
+
},
|
|
466
|
+
aptos: {
|
|
467
|
+
symbol: "APT",
|
|
468
|
+
chainName: "Aptos",
|
|
469
|
+
networkName: "Aptos",
|
|
470
|
+
icon: "apt",
|
|
471
|
+
blockBrowser: "https://explorer.aptoslabs.com/",
|
|
472
|
+
rpcNode: "https://fullnode.mainnet.aptoslabs.com/v1",
|
|
473
|
+
},
|
|
474
|
+
avax: {
|
|
475
|
+
symbol: "AVAX",
|
|
476
|
+
chainName: "Avalanche C",
|
|
477
|
+
networkName: "ARC20",
|
|
478
|
+
icon: "avax",
|
|
479
|
+
blockBrowser: "https://snowtrace.io",
|
|
480
|
+
rpcNode: "https://rpc.ankr.com/avalanche",
|
|
481
|
+
},
|
|
482
|
+
arb: {
|
|
483
|
+
symbol: "ETH",
|
|
484
|
+
chainName: "Arbitrum",
|
|
485
|
+
networkName: "ERC20",
|
|
486
|
+
icon: "arb",
|
|
487
|
+
blockBrowser: "https://arbiscan.io",
|
|
488
|
+
rpcNode: "https://rpc.ankr.com/arbitrum",
|
|
489
|
+
},
|
|
490
|
+
arbnova: {
|
|
491
|
+
symbol: "ETH",
|
|
492
|
+
chainName: "Arbitrum Nova",
|
|
493
|
+
networkName: "ERC20",
|
|
494
|
+
icon: "arbnova",
|
|
495
|
+
blockBrowser: "https://nova.arbiscan.io",
|
|
496
|
+
rpcNode: "https://nova.arbitrum.io/rpc",
|
|
497
|
+
},
|
|
498
|
+
op: {
|
|
499
|
+
symbol: "OETH",
|
|
500
|
+
chainName: "Optimism",
|
|
501
|
+
networkName: "OP20",
|
|
502
|
+
icon: "coin-op",
|
|
503
|
+
blockBrowser: "https://optimistic.etherscan.io",
|
|
504
|
+
rpcNode: "https://rpc.ankr.com/optimism",
|
|
505
|
+
},
|
|
506
|
+
celo: {
|
|
507
|
+
symbol: "CELO",
|
|
508
|
+
chainName: "Celo",
|
|
509
|
+
networkName: "CRC20",
|
|
510
|
+
icon: "celo",
|
|
511
|
+
blockBrowser: "https://explorer.celo.org",
|
|
512
|
+
rpcNode: "https://forno.celo.org",
|
|
513
|
+
},
|
|
514
|
+
atom: {
|
|
515
|
+
symbol: "ATOM",
|
|
516
|
+
chainName: "ATOM",
|
|
517
|
+
networkName: "ATOM",
|
|
518
|
+
icon: "atom",
|
|
519
|
+
blockBrowser: "https://explorer.celo.org",
|
|
520
|
+
rpcNode: "https://forno.celo.org",
|
|
521
|
+
},
|
|
522
|
+
movr: {
|
|
523
|
+
symbol: "MOVR",
|
|
524
|
+
chainName: "Moonriver",
|
|
525
|
+
networkName: "MRC20",
|
|
526
|
+
icon: "movr",
|
|
527
|
+
blockBrowser: "https://moonriver.moonscan.io",
|
|
528
|
+
rpcNode: "https://rpc.moonriver.moonbeam.network",
|
|
529
|
+
},
|
|
530
|
+
cro: {
|
|
531
|
+
symbol: "CRO",
|
|
532
|
+
chainName: "Cronos",
|
|
533
|
+
networkName: "CRC20",
|
|
534
|
+
icon: "cro",
|
|
535
|
+
blockBrowser: "https://cronoscan.com",
|
|
536
|
+
rpcNode: "https://gateway.nebkas.ro",
|
|
537
|
+
},
|
|
538
|
+
vlx: {
|
|
539
|
+
symbol: "VLX",
|
|
540
|
+
chainName: "Velas",
|
|
541
|
+
networkName: "VRC20",
|
|
542
|
+
icon: "vlx",
|
|
543
|
+
blockBrowser: "https://evmexplorer.velas.com",
|
|
544
|
+
rpcNode: "https://evmexplorer.velas.com/rpc",
|
|
545
|
+
},
|
|
546
|
+
iotx: {
|
|
547
|
+
symbol: "IOTX",
|
|
548
|
+
chainName: "IoTeX",
|
|
549
|
+
networkName: "XRC20",
|
|
550
|
+
icon: "iotex",
|
|
551
|
+
blockBrowser: "https://iotexscan.io",
|
|
552
|
+
rpcNode: "https://babel-api.mainnet.iotex.io",
|
|
553
|
+
},
|
|
554
|
+
sbch: {
|
|
555
|
+
symbol: "BCH",
|
|
556
|
+
chainName: "SmartBCH",
|
|
557
|
+
networkName: "SEP20",
|
|
558
|
+
icon: "bch",
|
|
559
|
+
blockBrowser: "https://www.smartscan.cash/",
|
|
560
|
+
rpcNode: "https://smartbch.greyh.at",
|
|
561
|
+
},
|
|
562
|
+
glmr: {
|
|
563
|
+
symbol: "GLMR",
|
|
564
|
+
chainName: "Moonbeam",
|
|
565
|
+
networkName: "GRC20",
|
|
566
|
+
icon: "glmr",
|
|
567
|
+
blockBrowser: "https://www.moonscan.io",
|
|
568
|
+
rpcNode: "https://rpc.api.moonbeam.network",
|
|
569
|
+
},
|
|
570
|
+
xdc: {
|
|
571
|
+
symbol: "XDC",
|
|
572
|
+
chainName: "XinFin",
|
|
573
|
+
networkName: "XRC20",
|
|
574
|
+
icon: "xdc",
|
|
575
|
+
blockBrowser: "https://explorer.xinfin.network",
|
|
576
|
+
rpcNode: "https://rpc.xinfin.network",
|
|
577
|
+
},
|
|
578
|
+
sdn: {
|
|
579
|
+
symbol: "SDN",
|
|
580
|
+
chainName: "Shiden",
|
|
581
|
+
networkName: "SRC20",
|
|
582
|
+
icon: "sdn",
|
|
583
|
+
blockBrowser: "https://blockscout.com/shiden",
|
|
584
|
+
rpcNode: "https://shiden.api.onfinality.io/public",
|
|
585
|
+
},
|
|
586
|
+
fuse: {
|
|
587
|
+
symbol: "FUSE",
|
|
588
|
+
chainName: "Fuse",
|
|
589
|
+
networkName: "FRC20",
|
|
590
|
+
icon: "fuse",
|
|
591
|
+
blockBrowser: "https://explorer.fuse.io",
|
|
592
|
+
rpcNode: "https://rpc.fuse.io/",
|
|
593
|
+
},
|
|
594
|
+
aac: {
|
|
595
|
+
symbol: "AAC",
|
|
596
|
+
chainName: "Double-A Chain",
|
|
597
|
+
networkName: "ARC20",
|
|
598
|
+
icon: "aac",
|
|
599
|
+
blockBrowser: "https://scan.acuteangle.com",
|
|
600
|
+
rpcNode: "https://rpc.acuteangle.com",
|
|
601
|
+
},
|
|
602
|
+
klay: {
|
|
603
|
+
symbol: "KLAY",
|
|
604
|
+
chainName: "Klaytn",
|
|
605
|
+
networkName: "KRC20",
|
|
606
|
+
icon: "klay",
|
|
607
|
+
blockBrowser: "https://scope.klaytn.com",
|
|
608
|
+
rpcNode: "https://rpc.ankr.com/klaytn",
|
|
609
|
+
},
|
|
610
|
+
one: {
|
|
611
|
+
symbol: "ONE",
|
|
612
|
+
chainName: "Harmony",
|
|
613
|
+
networkName: "HRC20",
|
|
614
|
+
icon: "one",
|
|
615
|
+
blockBrowser: "https://explorer.harmony.one",
|
|
616
|
+
rpcNode: "https://api.harmony.one",
|
|
617
|
+
},
|
|
618
|
+
evmos: {
|
|
619
|
+
symbol: "EVMOS",
|
|
620
|
+
chainName: "Evmos",
|
|
621
|
+
networkName: "ERC20",
|
|
622
|
+
icon: "evmos",
|
|
623
|
+
blockBrowser: "https://escan.live",
|
|
624
|
+
rpcNode: "https://evmos.lava.build",
|
|
625
|
+
},
|
|
626
|
+
brise: {
|
|
627
|
+
symbol: "BRISE",
|
|
628
|
+
chainName: "Bitgert",
|
|
629
|
+
networkName: "BRC20",
|
|
630
|
+
icon: "brise",
|
|
631
|
+
blockBrowser: "https://brisescan.com",
|
|
632
|
+
rpcNode: "https://mainnet-rpc.brisescan.com",
|
|
633
|
+
},
|
|
634
|
+
dogechain: {
|
|
635
|
+
symbol: "wDOGE",
|
|
636
|
+
chainName: "DogeChain",
|
|
637
|
+
networkName: "DRC20",
|
|
638
|
+
icon: "dogechain",
|
|
639
|
+
blockBrowser: "https://explorer.dogechain.dog",
|
|
640
|
+
rpcNode: "https://rpc01-sg.dogechain.dog",
|
|
641
|
+
},
|
|
642
|
+
etc: {
|
|
643
|
+
symbol: "ETC",
|
|
644
|
+
chainName: "Ethereum Classic",
|
|
645
|
+
networkName: "ERC20",
|
|
646
|
+
icon: "etc",
|
|
647
|
+
blockBrowser: "https://etc.blockscout.com",
|
|
648
|
+
rpcNode: "https://etc.rivet.link",
|
|
649
|
+
},
|
|
650
|
+
syscoin: {
|
|
651
|
+
symbol: "SYS",
|
|
652
|
+
chainName: "SysCoin",
|
|
653
|
+
networkName: "SRC20",
|
|
654
|
+
icon: "syscoin",
|
|
655
|
+
blockBrowser: "https://explorer.syscoin.org",
|
|
656
|
+
rpcNode: "https://rpc.ankr.com/syscoin",
|
|
657
|
+
},
|
|
658
|
+
canto: {
|
|
659
|
+
symbol: "Canto",
|
|
660
|
+
chainName: "Canto",
|
|
661
|
+
networkName: "CRC20",
|
|
662
|
+
icon: "canto",
|
|
663
|
+
blockBrowser: "https://tuber.build",
|
|
664
|
+
rpcNode: "https://canto.gravitychain.io",
|
|
665
|
+
},
|
|
666
|
+
onus: {
|
|
667
|
+
symbol: "Onus",
|
|
668
|
+
chainName: "ONUS Chain",
|
|
669
|
+
networkName: "ORC20",
|
|
670
|
+
icon: "onus",
|
|
671
|
+
blockBrowser: "https://explorer.onuschain.io",
|
|
672
|
+
rpcNode: "https://rpc.onuschain.io",
|
|
673
|
+
},
|
|
674
|
+
core: {
|
|
675
|
+
symbol: "CORE",
|
|
676
|
+
chainName: "CORE Chain",
|
|
677
|
+
networkName: "CRC20",
|
|
678
|
+
icon: "core",
|
|
679
|
+
blockBrowser: "https://scan.coredao.org/",
|
|
680
|
+
rpcNode: "https://rpc.coredao.org",
|
|
681
|
+
},
|
|
682
|
+
cfx: {
|
|
683
|
+
symbol: "CFX",
|
|
684
|
+
chainName: "CFX",
|
|
685
|
+
networkName: "CFX20",
|
|
686
|
+
icon: "cfx",
|
|
687
|
+
blockBrowser: "https://evm.confluxscan.net",
|
|
688
|
+
rpcNode: "https://evm.confluxrpc.com",
|
|
689
|
+
},
|
|
690
|
+
fil: {
|
|
691
|
+
symbol: "FIL",
|
|
692
|
+
chainName: "FIL",
|
|
693
|
+
networkName: "FRC20",
|
|
694
|
+
icon: "fil",
|
|
695
|
+
blockBrowser: "https://filfox.info/en",
|
|
696
|
+
rpcNode: "https://node.filutils.com/rpc/v1",
|
|
697
|
+
},
|
|
698
|
+
"zksync-era": {
|
|
699
|
+
symbol: "ETH",
|
|
700
|
+
chainName: "zkSync Era",
|
|
701
|
+
networkName: "ERC20",
|
|
702
|
+
icon: "zksync",
|
|
703
|
+
blockBrowser: "https://explorer.zksync.io",
|
|
704
|
+
rpcNode: "https://mainnet.era.zksync.io",
|
|
705
|
+
},
|
|
706
|
+
"zksync-lite": {
|
|
707
|
+
symbol: "ETH",
|
|
708
|
+
chainName: "zkSync Lite",
|
|
709
|
+
networkName: "ERC20",
|
|
710
|
+
icon: "zksync",
|
|
711
|
+
blockBrowser: "https://zkscan.io/",
|
|
712
|
+
rpcNode: "https://api.zksync.io/jsrpc",
|
|
713
|
+
},
|
|
714
|
+
"polygon-zkevm": {
|
|
715
|
+
symbol: "ETH",
|
|
716
|
+
chainName: "Polygon zkEVM",
|
|
717
|
+
networkName: "ERC20",
|
|
718
|
+
icon: "coin-matic",
|
|
719
|
+
blockBrowser: "https://zkevm.polygonscan.com",
|
|
720
|
+
rpcNode: "https://zkevm-rpc.com",
|
|
721
|
+
},
|
|
722
|
+
pls: {
|
|
723
|
+
symbol: "PLS",
|
|
724
|
+
chainName: "PulseChain",
|
|
725
|
+
networkName: "ERC20",
|
|
726
|
+
icon: "pls",
|
|
727
|
+
blockBrowser: "https://scan.pulsechain.com",
|
|
728
|
+
rpcNode: "https://rpc.pulsechain.com",
|
|
729
|
+
},
|
|
730
|
+
base: {
|
|
731
|
+
symbol: "ETH",
|
|
732
|
+
chainName: "Base",
|
|
733
|
+
networkName: "ERC20",
|
|
734
|
+
icon: "base",
|
|
735
|
+
blockBrowser: "https://basescan.org",
|
|
736
|
+
rpcNode: "https://mainnet.base.org",
|
|
737
|
+
},
|
|
738
|
+
linea: {
|
|
739
|
+
symbol: "ETH",
|
|
740
|
+
chainName: "Linea",
|
|
741
|
+
networkName: "ERC20",
|
|
742
|
+
icon: "linea",
|
|
743
|
+
blockBrowser: "https://lineascan.build",
|
|
744
|
+
rpcNode: "https://rpc.linea.build",
|
|
745
|
+
},
|
|
746
|
+
shibarium: {
|
|
747
|
+
symbol: "BONE",
|
|
748
|
+
chainName: "Shibarium",
|
|
749
|
+
networkName: "ERC20",
|
|
750
|
+
icon: "shib",
|
|
751
|
+
blockBrowser: "https://shibariumscan.io",
|
|
752
|
+
rpcNode: "https://www.shibrpc.com",
|
|
753
|
+
},
|
|
754
|
+
scroll: {
|
|
755
|
+
symbol: "ETH",
|
|
756
|
+
chainName: "Scroll",
|
|
757
|
+
networkName: "SRC20",
|
|
758
|
+
icon: "scroll",
|
|
759
|
+
blockBrowser: "https://scrollscan.com",
|
|
760
|
+
rpcNode: "https://scroll.blockpi.network/v1/rpc/public",
|
|
761
|
+
},
|
|
762
|
+
noa: {
|
|
763
|
+
symbol: "NOA",
|
|
764
|
+
chainName: "Nostr",
|
|
765
|
+
networkName: "",
|
|
766
|
+
icon: "noa",
|
|
767
|
+
blockBrowser: "mainnet.nostrassets.com",
|
|
768
|
+
rpcNode: "",
|
|
769
|
+
},
|
|
770
|
+
telos: {
|
|
771
|
+
symbol: "TLOS",
|
|
772
|
+
chainName: "Telos",
|
|
773
|
+
networkName: "TRC20",
|
|
774
|
+
icon: "telos",
|
|
775
|
+
blockBrowser: "https://www.teloscan.io",
|
|
776
|
+
rpcNode: "https://mainnet.telos.net/evm",
|
|
777
|
+
},
|
|
778
|
+
humanode: {
|
|
779
|
+
symbol: "eHMND",
|
|
780
|
+
chainName: "Humanode",
|
|
781
|
+
networkName: "HRC20",
|
|
782
|
+
icon: "humanode",
|
|
783
|
+
blockBrowser: "https://humanode.subscan.io/",
|
|
784
|
+
rpcNode: "https://explorer-rpc-http.mainnet.stages.humanode.io/",
|
|
785
|
+
},
|
|
786
|
+
ton: {
|
|
787
|
+
symbol: "TON",
|
|
788
|
+
chainName: "TON",
|
|
789
|
+
networkName: "TON20",
|
|
790
|
+
icon: "ton",
|
|
791
|
+
blockBrowser: " https://tonscan.org",
|
|
792
|
+
rpcNode: "https://toncenter.com/api/v2/jsonRPC",
|
|
793
|
+
},
|
|
794
|
+
ace: {
|
|
795
|
+
symbol: "ACE",
|
|
796
|
+
chainName: "Endurance(ACE)",
|
|
797
|
+
networkName: "ACE20",
|
|
798
|
+
icon: "ace",
|
|
799
|
+
blockBrowser: "https://explorer.endurance.fusionist.io",
|
|
800
|
+
rpcNode: "https://rpc-endurance.fusionist.io",
|
|
801
|
+
},
|
|
802
|
+
};
|