@harborclient/core 0.1.1
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/CHANGELOG.md +13 -0
- package/LICENSE +21 -0
- package/README.md +36 -0
- package/dist/ai/chatComposer.d.ts +12 -0
- package/dist/ai/chatComposer.d.ts.map +1 -0
- package/dist/ai/chatComposer.js +20 -0
- package/dist/ai/chatComposer.js.map +1 -0
- package/dist/ai/chatContext.d.ts +181 -0
- package/dist/ai/chatContext.d.ts.map +1 -0
- package/dist/ai/chatContext.js +168 -0
- package/dist/ai/chatContext.js.map +1 -0
- package/dist/ai/chatStepMode.d.ts +43 -0
- package/dist/ai/chatStepMode.d.ts.map +1 -0
- package/dist/ai/chatStepMode.js +64 -0
- package/dist/ai/chatStepMode.js.map +1 -0
- package/dist/ai/chatTitle.d.ts +35 -0
- package/dist/ai/chatTitle.d.ts.map +1 -0
- package/dist/ai/chatTitle.js +109 -0
- package/dist/ai/chatTitle.js.map +1 -0
- package/dist/ai/gitCommitMessage.d.ts +47 -0
- package/dist/ai/gitCommitMessage.d.ts.map +1 -0
- package/dist/ai/gitCommitMessage.js +139 -0
- package/dist/ai/gitCommitMessage.js.map +1 -0
- package/dist/ai/models.d.ts +115 -0
- package/dist/ai/models.d.ts.map +1 -0
- package/dist/ai/models.js +209 -0
- package/dist/ai/models.js.map +1 -0
- package/dist/ai/requestUpdate.d.ts +273 -0
- package/dist/ai/requestUpdate.d.ts.map +1 -0
- package/dist/ai/requestUpdate.js +274 -0
- package/dist/ai/requestUpdate.js.map +1 -0
- package/dist/ai/scriptAsk.d.ts +115 -0
- package/dist/ai/scriptAsk.d.ts.map +1 -0
- package/dist/ai/scriptAsk.js +243 -0
- package/dist/ai/scriptAsk.js.map +1 -0
- package/dist/ai/scriptReferences.d.ts +377 -0
- package/dist/ai/scriptReferences.d.ts.map +1 -0
- package/dist/ai/scriptReferences.js +787 -0
- package/dist/ai/scriptReferences.js.map +1 -0
- package/dist/ai/settings.d.ts +8 -0
- package/dist/ai/settings.d.ts.map +1 -0
- package/dist/ai/settings.js +11 -0
- package/dist/ai/settings.js.map +1 -0
- package/dist/ai/tools/ITool.d.ts +26 -0
- package/dist/ai/tools/ITool.d.ts.map +1 -0
- package/dist/ai/tools/ITool.js +2 -0
- package/dist/ai/tools/ITool.js.map +1 -0
- package/dist/ai/tools/createCollection.d.ts +164 -0
- package/dist/ai/tools/createCollection.d.ts.map +1 -0
- package/dist/ai/tools/createCollection.js +36 -0
- package/dist/ai/tools/createCollection.js.map +1 -0
- package/dist/ai/tools/createFolder.d.ts +50 -0
- package/dist/ai/tools/createFolder.d.ts.map +1 -0
- package/dist/ai/tools/createFolder.js +34 -0
- package/dist/ai/tools/createFolder.js.map +1 -0
- package/dist/ai/tools/createRequest.d.ts +210 -0
- package/dist/ai/tools/createRequest.d.ts.map +1 -0
- package/dist/ai/tools/createRequest.js +88 -0
- package/dist/ai/tools/createRequest.js.map +1 -0
- package/dist/ai/tools/getActiveRequest.d.ts +20 -0
- package/dist/ai/tools/getActiveRequest.d.ts.map +1 -0
- package/dist/ai/tools/getActiveRequest.js +16 -0
- package/dist/ai/tools/getActiveRequest.js.map +1 -0
- package/dist/ai/tools/getActiveRequestDetails.d.ts +20 -0
- package/dist/ai/tools/getActiveRequestDetails.d.ts.map +1 -0
- package/dist/ai/tools/getActiveRequestDetails.js +16 -0
- package/dist/ai/tools/getActiveRequestDetails.js.map +1 -0
- package/dist/ai/tools/getActiveResponse.d.ts +39 -0
- package/dist/ai/tools/getActiveResponse.d.ts.map +1 -0
- package/dist/ai/tools/getActiveResponse.js +30 -0
- package/dist/ai/tools/getActiveResponse.js.map +1 -0
- package/dist/ai/tools/getActiveResponseSummary.d.ts +20 -0
- package/dist/ai/tools/getActiveResponseSummary.d.ts.map +1 -0
- package/dist/ai/tools/getActiveResponseSummary.js +16 -0
- package/dist/ai/tools/getActiveResponseSummary.js.map +1 -0
- package/dist/ai/tools/getActiveTerminal.d.ts +20 -0
- package/dist/ai/tools/getActiveTerminal.d.ts.map +1 -0
- package/dist/ai/tools/getActiveTerminal.js +16 -0
- package/dist/ai/tools/getActiveTerminal.js.map +1 -0
- package/dist/ai/tools/getActiveTerminalLines.d.ts +50 -0
- package/dist/ai/tools/getActiveTerminalLines.d.ts.map +1 -0
- package/dist/ai/tools/getActiveTerminalLines.js +37 -0
- package/dist/ai/tools/getActiveTerminalLines.js.map +1 -0
- package/dist/ai/tools/getCollection.d.ts +31 -0
- package/dist/ai/tools/getCollection.d.ts.map +1 -0
- package/dist/ai/tools/getCollection.js +28 -0
- package/dist/ai/tools/getCollection.js.map +1 -0
- package/dist/ai/tools/getFolder.d.ts +31 -0
- package/dist/ai/tools/getFolder.d.ts.map +1 -0
- package/dist/ai/tools/getFolder.js +28 -0
- package/dist/ai/tools/getFolder.js.map +1 -0
- package/dist/ai/tools/getMarkdownDocument.d.ts +40 -0
- package/dist/ai/tools/getMarkdownDocument.d.ts.map +1 -0
- package/dist/ai/tools/getMarkdownDocument.js +31 -0
- package/dist/ai/tools/getMarkdownDocument.js.map +1 -0
- package/dist/ai/tools/getRequest.d.ts +31 -0
- package/dist/ai/tools/getRequest.d.ts.map +1 -0
- package/dist/ai/tools/getRequest.js +28 -0
- package/dist/ai/tools/getRequest.js.map +1 -0
- package/dist/ai/tools/getSelectedCollection.d.ts +20 -0
- package/dist/ai/tools/getSelectedCollection.d.ts.map +1 -0
- package/dist/ai/tools/getSelectedCollection.js +16 -0
- package/dist/ai/tools/getSelectedCollection.js.map +1 -0
- package/dist/ai/tools/getSidebarRequest.d.ts +20 -0
- package/dist/ai/tools/getSidebarRequest.d.ts.map +1 -0
- package/dist/ai/tools/getSidebarRequest.js +16 -0
- package/dist/ai/tools/getSidebarRequest.js.map +1 -0
- package/dist/ai/tools/gitCommits.d.ts +50 -0
- package/dist/ai/tools/gitCommits.d.ts.map +1 -0
- package/dist/ai/tools/gitCommits.js +37 -0
- package/dist/ai/tools/gitCommits.js.map +1 -0
- package/dist/ai/tools/gitDiff.d.ts +70 -0
- package/dist/ai/tools/gitDiff.d.ts.map +1 -0
- package/dist/ai/tools/gitDiff.js +49 -0
- package/dist/ai/tools/gitDiff.js.map +1 -0
- package/dist/ai/tools/gitFileDiff.d.ts +80 -0
- package/dist/ai/tools/gitFileDiff.d.ts.map +1 -0
- package/dist/ai/tools/gitFileDiff.js +55 -0
- package/dist/ai/tools/gitFileDiff.js.map +1 -0
- package/dist/ai/tools/gitFileInfo.d.ts +60 -0
- package/dist/ai/tools/gitFileInfo.d.ts.map +1 -0
- package/dist/ai/tools/gitFileInfo.js +43 -0
- package/dist/ai/tools/gitFileInfo.js.map +1 -0
- package/dist/ai/tools/gitRepoInfo.d.ts +40 -0
- package/dist/ai/tools/gitRepoInfo.d.ts.map +1 -0
- package/dist/ai/tools/gitRepoInfo.js +31 -0
- package/dist/ai/tools/gitRepoInfo.js.map +1 -0
- package/dist/ai/tools/index.d.ts +1260 -0
- package/dist/ai/tools/index.d.ts.map +1 -0
- package/dist/ai/tools/index.js +100 -0
- package/dist/ai/tools/index.js.map +1 -0
- package/dist/ai/tools/listCollections.d.ts +20 -0
- package/dist/ai/tools/listCollections.d.ts.map +1 -0
- package/dist/ai/tools/listCollections.js +16 -0
- package/dist/ai/tools/listCollections.js.map +1 -0
- package/dist/ai/tools/listEnvironments.d.ts +20 -0
- package/dist/ai/tools/listEnvironments.d.ts.map +1 -0
- package/dist/ai/tools/listEnvironments.js +16 -0
- package/dist/ai/tools/listEnvironments.js.map +1 -0
- package/dist/ai/tools/listRequests.d.ts +40 -0
- package/dist/ai/tools/listRequests.d.ts.map +1 -0
- package/dist/ai/tools/listRequests.js +28 -0
- package/dist/ai/tools/listRequests.js.map +1 -0
- package/dist/ai/tools/queryResponseBody.d.ts +50 -0
- package/dist/ai/tools/queryResponseBody.d.ts.map +1 -0
- package/dist/ai/tools/queryResponseBody.js +37 -0
- package/dist/ai/tools/queryResponseBody.js.map +1 -0
- package/dist/ai/tools/schemas.d.ts +152 -0
- package/dist/ai/tools/schemas.d.ts.map +1 -0
- package/dist/ai/tools/schemas.js +81 -0
- package/dist/ai/tools/schemas.js.map +1 -0
- package/dist/ai/tools/searchDocs.d.ts +64 -0
- package/dist/ai/tools/searchDocs.d.ts.map +1 -0
- package/dist/ai/tools/searchDocs.js +44 -0
- package/dist/ai/tools/searchDocs.js.map +1 -0
- package/dist/ai/tools/sendActiveRequest.d.ts +39 -0
- package/dist/ai/tools/sendActiveRequest.d.ts.map +1 -0
- package/dist/ai/tools/sendActiveRequest.js +30 -0
- package/dist/ai/tools/sendActiveRequest.js.map +1 -0
- package/dist/ai/tools/setActiveEnvironment.d.ts +49 -0
- package/dist/ai/tools/setActiveEnvironment.d.ts.map +1 -0
- package/dist/ai/tools/setActiveEnvironment.js +36 -0
- package/dist/ai/tools/setActiveEnvironment.js.map +1 -0
- package/dist/ai/tools/systemPrompt.d.ts +5 -0
- package/dist/ai/tools/systemPrompt.d.ts.map +1 -0
- package/dist/ai/tools/systemPrompt.js +34 -0
- package/dist/ai/tools/systemPrompt.js.map +1 -0
- package/dist/ai/tools/terminalExec.d.ts +40 -0
- package/dist/ai/tools/terminalExec.d.ts.map +1 -0
- package/dist/ai/tools/terminalExec.js +31 -0
- package/dist/ai/tools/terminalExec.js.map +1 -0
- package/dist/ai/tools/types.d.ts +68 -0
- package/dist/ai/tools/types.d.ts.map +1 -0
- package/dist/ai/tools/types.js +2 -0
- package/dist/ai/tools/types.js.map +1 -0
- package/dist/ai/tools/updateActiveRequest.d.ts +279 -0
- package/dist/ai/tools/updateActiveRequest.d.ts.map +1 -0
- package/dist/ai/tools/updateActiveRequest.js +175 -0
- package/dist/ai/tools/updateActiveRequest.js.map +1 -0
- package/dist/ai/tools/updateRequestScript.d.ts +93 -0
- package/dist/ai/tools/updateRequestScript.d.ts.map +1 -0
- package/dist/ai/tools/updateRequestScript.js +57 -0
- package/dist/ai/tools/updateRequestScript.js.map +1 -0
- package/dist/auth.d.ts +192 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +294 -0
- package/dist/auth.js.map +1 -0
- package/dist/bodyRawSend.d.ts +25 -0
- package/dist/bodyRawSend.d.ts.map +1 -0
- package/dist/bodyRawSend.js +61 -0
- package/dist/bodyRawSend.js.map +1 -0
- package/dist/builtinThemes.d.ts +33 -0
- package/dist/builtinThemes.d.ts.map +1 -0
- package/dist/builtinThemes.js +40 -0
- package/dist/builtinThemes.js.map +1 -0
- package/dist/codeEditorSettings.d.ts +2 -0
- package/dist/codeEditorSettings.d.ts.map +1 -0
- package/dist/codeEditorSettings.js +2 -0
- package/dist/codeEditorSettings.js.map +1 -0
- package/dist/collectionContainerOrder.d.ts +42 -0
- package/dist/collectionContainerOrder.d.ts.map +1 -0
- package/dist/collectionContainerOrder.js +62 -0
- package/dist/collectionContainerOrder.js.map +1 -0
- package/dist/collectionRunner.d.ts +510 -0
- package/dist/collectionRunner.d.ts.map +1 -0
- package/dist/collectionRunner.js +296 -0
- package/dist/collectionRunner.js.map +1 -0
- package/dist/contrast.d.ts +16 -0
- package/dist/contrast.d.ts.map +1 -0
- package/dist/contrast.js +51 -0
- package/dist/contrast.js.map +1 -0
- package/dist/cookies/CookieJar.d.ts +151 -0
- package/dist/cookies/CookieJar.d.ts.map +1 -0
- package/dist/cookies/CookieJar.js +318 -0
- package/dist/cookies/CookieJar.js.map +1 -0
- package/dist/deepLink.d.ts +98 -0
- package/dist/deepLink.d.ts.map +1 -0
- package/dist/deepLink.js +211 -0
- package/dist/deepLink.js.map +1 -0
- package/dist/environmentVariables.d.ts +34 -0
- package/dist/environmentVariables.d.ts.map +1 -0
- package/dist/environmentVariables.js +56 -0
- package/dist/environmentVariables.js.map +1 -0
- package/dist/filestore/index.d.ts +16 -0
- package/dist/filestore/index.d.ts.map +1 -0
- package/dist/filestore/index.js +16 -0
- package/dist/filestore/index.js.map +1 -0
- package/dist/filestore/parse.d.ts +44 -0
- package/dist/filestore/parse.d.ts.map +1 -0
- package/dist/filestore/parse.js +80 -0
- package/dist/filestore/parse.js.map +1 -0
- package/dist/filestore/schemas.d.ts +1612 -0
- package/dist/filestore/schemas.d.ts.map +1 -0
- package/dist/filestore/schemas.js +586 -0
- package/dist/filestore/schemas.js.map +1 -0
- package/dist/filestore/snippet.d.ts +10 -0
- package/dist/filestore/snippet.d.ts.map +1 -0
- package/dist/filestore/snippet.js +43 -0
- package/dist/filestore/snippet.js.map +1 -0
- package/dist/filestore/storageSchemas.d.ts +123 -0
- package/dist/filestore/storageSchemas.d.ts.map +1 -0
- package/dist/filestore/storageSchemas.js +94 -0
- package/dist/filestore/storageSchemas.js.map +1 -0
- package/dist/filestore/stringify.d.ts +59 -0
- package/dist/filestore/stringify.d.ts.map +1 -0
- package/dist/filestore/stringify.js +103 -0
- package/dist/filestore/stringify.js.map +1 -0
- package/dist/filestore/validate.d.ts +60 -0
- package/dist/filestore/validate.d.ts.map +1 -0
- package/dist/filestore/validate.js +118 -0
- package/dist/filestore/validate.js.map +1 -0
- package/dist/filestore/variables.d.ts +9 -0
- package/dist/filestore/variables.d.ts.map +1 -0
- package/dist/filestore/variables.js +15 -0
- package/dist/filestore/variables.js.map +1 -0
- package/dist/formData.d.ts +2 -0
- package/dist/formData.d.ts.map +1 -0
- package/dist/formData.js +2 -0
- package/dist/formData.js.map +1 -0
- package/dist/generalSettings.d.ts +22 -0
- package/dist/generalSettings.d.ts.map +1 -0
- package/dist/generalSettings.js +188 -0
- package/dist/generalSettings.js.map +1 -0
- package/dist/gitHttpErrors.d.ts +125 -0
- package/dist/gitHttpErrors.d.ts.map +1 -0
- package/dist/gitHttpErrors.js +271 -0
- package/dist/gitHttpErrors.js.map +1 -0
- package/dist/gitSidebarExpansion.d.ts +22 -0
- package/dist/gitSidebarExpansion.d.ts.map +1 -0
- package/dist/gitSidebarExpansion.js +16 -0
- package/dist/gitSidebarExpansion.js.map +1 -0
- package/dist/gitUrl.d.ts +39 -0
- package/dist/gitUrl.d.ts.map +1 -0
- package/dist/gitUrl.js +105 -0
- package/dist/gitUrl.js.map +1 -0
- package/dist/harborclientExport.d.ts +23 -0
- package/dist/harborclientExport.d.ts.map +1 -0
- package/dist/harborclientExport.js +39 -0
- package/dist/harborclientExport.js.map +1 -0
- package/dist/highContrastPalette.d.ts +91 -0
- package/dist/highContrastPalette.d.ts.map +1 -0
- package/dist/highContrastPalette.js +118 -0
- package/dist/highContrastPalette.js.map +1 -0
- package/dist/httpHeaders.d.ts +2 -0
- package/dist/httpHeaders.d.ts.map +1 -0
- package/dist/httpHeaders.js +2 -0
- package/dist/httpHeaders.js.map +1 -0
- package/dist/httpMethod.d.ts +9 -0
- package/dist/httpMethod.d.ts.map +1 -0
- package/dist/httpMethod.js +23 -0
- package/dist/httpMethod.js.map +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -0
- package/dist/interfaces/ICookieJar.d.ts +41 -0
- package/dist/interfaces/ICookieJar.d.ts.map +1 -0
- package/dist/interfaces/ICookieJar.js +2 -0
- package/dist/interfaces/ICookieJar.js.map +1 -0
- package/dist/interfaces/IScriptRunner.d.ts +20 -0
- package/dist/interfaces/IScriptRunner.d.ts.map +1 -0
- package/dist/interfaces/IScriptRunner.js +2 -0
- package/dist/interfaces/IScriptRunner.js.map +1 -0
- package/dist/interfaces/PluginHooks.d.ts +24 -0
- package/dist/interfaces/PluginHooks.d.ts.map +1 -0
- package/dist/interfaces/PluginHooks.js +2 -0
- package/dist/interfaces/PluginHooks.js.map +1 -0
- package/dist/interfaces/SettingsProvider.d.ts +20 -0
- package/dist/interfaces/SettingsProvider.d.ts.map +1 -0
- package/dist/interfaces/SettingsProvider.js +2 -0
- package/dist/interfaces/SettingsProvider.js.map +1 -0
- package/dist/interfaces/index.d.ts +5 -0
- package/dist/interfaces/index.d.ts.map +1 -0
- package/dist/interfaces/index.js +2 -0
- package/dist/interfaces/index.js.map +1 -0
- package/dist/mcpToolNames.d.ts +27 -0
- package/dist/mcpToolNames.d.ts.map +1 -0
- package/dist/mcpToolNames.js +41 -0
- package/dist/mcpToolNames.js.map +1 -0
- package/dist/multipartRaw.d.ts +85 -0
- package/dist/multipartRaw.d.ts.map +1 -0
- package/dist/multipartRaw.js +244 -0
- package/dist/multipartRaw.js.map +1 -0
- package/dist/network/executeHttpSend.d.ts +39 -0
- package/dist/network/executeHttpSend.d.ts.map +1 -0
- package/dist/network/executeHttpSend.js +60 -0
- package/dist/network/executeHttpSend.js.map +1 -0
- package/dist/pageSidebarSection.d.ts +35 -0
- package/dist/pageSidebarSection.d.ts.map +1 -0
- package/dist/pageSidebarSection.js +76 -0
- package/dist/pageSidebarSection.js.map +1 -0
- package/dist/parseJson.d.ts +8 -0
- package/dist/parseJson.d.ts.map +1 -0
- package/dist/parseJson.js +17 -0
- package/dist/parseJson.js.map +1 -0
- package/dist/plugin/catalog.d.ts +229 -0
- package/dist/plugin/catalog.d.ts.map +1 -0
- package/dist/plugin/catalog.js +248 -0
- package/dist/plugin/catalog.js.map +1 -0
- package/dist/plugin/catalogCategories.d.ts +30 -0
- package/dist/plugin/catalogCategories.d.ts.map +1 -0
- package/dist/plugin/catalogCategories.js +88 -0
- package/dist/plugin/catalogCategories.js.map +1 -0
- package/dist/plugin/customThemeExport.d.ts +95 -0
- package/dist/plugin/customThemeExport.d.ts.map +1 -0
- package/dist/plugin/customThemeExport.js +264 -0
- package/dist/plugin/customThemeExport.js.map +1 -0
- package/dist/plugin/databaseTypes.d.ts +90 -0
- package/dist/plugin/databaseTypes.d.ts.map +1 -0
- package/dist/plugin/databaseTypes.js +2 -0
- package/dist/plugin/databaseTypes.js.map +1 -0
- package/dist/plugin/githubRaw.d.ts +54 -0
- package/dist/plugin/githubRaw.d.ts.map +1 -0
- package/dist/plugin/githubRaw.js +138 -0
- package/dist/plugin/githubRaw.js.map +1 -0
- package/dist/plugin/httpRequest.d.ts +17 -0
- package/dist/plugin/httpRequest.d.ts.map +1 -0
- package/dist/plugin/httpRequest.js +45 -0
- package/dist/plugin/httpRequest.js.map +1 -0
- package/dist/plugin/importHandlers.d.ts +65 -0
- package/dist/plugin/importHandlers.d.ts.map +1 -0
- package/dist/plugin/importHandlers.js +2 -0
- package/dist/plugin/importHandlers.js.map +1 -0
- package/dist/plugin/pluginDatabaseApi.d.ts +39 -0
- package/dist/plugin/pluginDatabaseApi.d.ts.map +1 -0
- package/dist/plugin/pluginDatabaseApi.js +45 -0
- package/dist/plugin/pluginDatabaseApi.js.map +1 -0
- package/dist/plugin/pluginSurface.d.ts +20 -0
- package/dist/plugin/pluginSurface.d.ts.map +1 -0
- package/dist/plugin/pluginSurface.js +31 -0
- package/dist/plugin/pluginSurface.js.map +1 -0
- package/dist/plugin/stripPluginScreenshotImagesFromMarkdown.d.ts +9 -0
- package/dist/plugin/stripPluginScreenshotImagesFromMarkdown.d.ts.map +1 -0
- package/dist/plugin/stripPluginScreenshotImagesFromMarkdown.js +132 -0
- package/dist/plugin/stripPluginScreenshotImagesFromMarkdown.js.map +1 -0
- package/dist/plugin/themeCategory.d.ts +62 -0
- package/dist/plugin/themeCategory.d.ts.map +1 -0
- package/dist/plugin/themeCategory.js +84 -0
- package/dist/plugin/themeCategory.js.map +1 -0
- package/dist/plugin/types.d.ts +415 -0
- package/dist/plugin/types.d.ts.map +1 -0
- package/dist/plugin/types.js +81 -0
- package/dist/plugin/types.js.map +1 -0
- package/dist/queryParams.d.ts +63 -0
- package/dist/queryParams.d.ts.map +1 -0
- package/dist/queryParams.js +170 -0
- package/dist/queryParams.js.map +1 -0
- package/dist/requestEditorTab.d.ts +24 -0
- package/dist/requestEditorTab.d.ts.map +1 -0
- package/dist/requestEditorTab.js +44 -0
- package/dist/requestEditorTab.js.map +1 -0
- package/dist/requestRunner/RequestRunner.d.ts +39 -0
- package/dist/requestRunner/RequestRunner.d.ts.map +1 -0
- package/dist/requestRunner/RequestRunner.js +298 -0
- package/dist/requestRunner/RequestRunner.js.map +1 -0
- package/dist/requestRunner/helpers.d.ts +52 -0
- package/dist/requestRunner/helpers.d.ts.map +1 -0
- package/dist/requestRunner/helpers.js +195 -0
- package/dist/requestRunner/helpers.js.map +1 -0
- package/dist/requestRunner/index.d.ts +7 -0
- package/dist/requestRunner/index.d.ts.map +1 -0
- package/dist/requestRunner/index.js +6 -0
- package/dist/requestRunner/index.js.map +1 -0
- package/dist/requestRunner/types.d.ts +148 -0
- package/dist/requestRunner/types.d.ts.map +1 -0
- package/dist/requestRunner/types.js +2 -0
- package/dist/requestRunner/types.js.map +1 -0
- package/dist/requestTags.d.ts +22 -0
- package/dist/requestTags.d.ts.map +1 -0
- package/dist/requestTags.js +34 -0
- package/dist/requestTags.js.map +1 -0
- package/dist/scriptRefs.d.ts +190 -0
- package/dist/scriptRefs.d.ts.map +1 -0
- package/dist/scriptRefs.js +387 -0
- package/dist/scriptRefs.js.map +1 -0
- package/dist/scriptStage.d.ts +118 -0
- package/dist/scriptStage.d.ts.map +1 -0
- package/dist/scriptStage.js +204 -0
- package/dist/scriptStage.js.map +1 -0
- package/dist/scripting/scriptApi.d.ts +59 -0
- package/dist/scripting/scriptApi.d.ts.map +1 -0
- package/dist/scripting/scriptApi.js +692 -0
- package/dist/scripting/scriptApi.js.map +1 -0
- package/dist/scripting/scriptAssertionCompat.d.ts +21 -0
- package/dist/scripting/scriptAssertionCompat.d.ts.map +1 -0
- package/dist/scripting/scriptAssertionCompat.js +58 -0
- package/dist/scripting/scriptAssertionCompat.js.map +1 -0
- package/dist/scripting/scriptEvaluator.d.ts +42 -0
- package/dist/scripting/scriptEvaluator.d.ts.map +1 -0
- package/dist/scripting/scriptEvaluator.js +179 -0
- package/dist/scripting/scriptEvaluator.js.map +1 -0
- package/dist/scripting/scriptExpect.d.ts +3 -0
- package/dist/scripting/scriptExpect.d.ts.map +1 -0
- package/dist/scripting/scriptExpect.js +14 -0
- package/dist/scripting/scriptExpect.js.map +1 -0
- package/dist/scripting/scriptFileOperations.d.ts +172 -0
- package/dist/scripting/scriptFileOperations.d.ts.map +1 -0
- package/dist/scripting/scriptFileOperations.js +271 -0
- package/dist/scripting/scriptFileOperations.js.map +1 -0
- package/dist/scripting/scriptResponseAssertions.d.ts +40 -0
- package/dist/scripting/scriptResponseAssertions.d.ts.map +1 -0
- package/dist/scripting/scriptResponseAssertions.js +249 -0
- package/dist/scripting/scriptResponseAssertions.js.map +1 -0
- package/dist/scripting/scriptResponseDocument.d.ts +47 -0
- package/dist/scripting/scriptResponseDocument.d.ts.map +1 -0
- package/dist/scripting/scriptResponseDocument.js +49 -0
- package/dist/scripting/scriptResponseDocument.js.map +1 -0
- package/dist/scripting/scriptRunner.d.ts +2 -0
- package/dist/scripting/scriptRunner.d.ts.map +1 -0
- package/dist/scripting/scriptRunner.js +132 -0
- package/dist/scripting/scriptRunner.js.map +1 -0
- package/dist/scripting/scriptSnippetBundler.d.ts +46 -0
- package/dist/scripting/scriptSnippetBundler.d.ts.map +1 -0
- package/dist/scripting/scriptSnippetBundler.js +136 -0
- package/dist/scripting/scriptSnippetBundler.js.map +1 -0
- package/dist/search/actions.d.ts +44 -0
- package/dist/search/actions.d.ts.map +1 -0
- package/dist/search/actions.js +120 -0
- package/dist/search/actions.js.map +1 -0
- package/dist/search/index.d.ts +13 -0
- package/dist/search/index.d.ts.map +1 -0
- package/dist/search/index.js +13 -0
- package/dist/search/index.js.map +1 -0
- package/dist/search/installedPlugins.d.ts +31 -0
- package/dist/search/installedPlugins.d.ts.map +1 -0
- package/dist/search/installedPlugins.js +73 -0
- package/dist/search/installedPlugins.js.map +1 -0
- package/dist/search/oramaIndex.d.ts +47 -0
- package/dist/search/oramaIndex.d.ts.map +1 -0
- package/dist/search/oramaIndex.js +56 -0
- package/dist/search/oramaIndex.js.map +1 -0
- package/dist/search/pagesCatalog.d.ts +34 -0
- package/dist/search/pagesCatalog.d.ts.map +1 -0
- package/dist/search/pagesCatalog.js +37 -0
- package/dist/search/pagesCatalog.js.map +1 -0
- package/dist/search/plugins.d.ts +40 -0
- package/dist/search/plugins.d.ts.map +1 -0
- package/dist/search/plugins.js +79 -0
- package/dist/search/plugins.js.map +1 -0
- package/dist/search/settings.d.ts +29 -0
- package/dist/search/settings.d.ts.map +1 -0
- package/dist/search/settings.js +63 -0
- package/dist/search/settings.js.map +1 -0
- package/dist/search/settingsCatalog.d.ts +112 -0
- package/dist/search/settingsCatalog.d.ts.map +1 -0
- package/dist/search/settingsCatalog.js +426 -0
- package/dist/search/settingsCatalog.js.map +1 -0
- package/dist/search/sidebar.d.ts +139 -0
- package/dist/search/sidebar.d.ts.map +1 -0
- package/dist/search/sidebar.js +342 -0
- package/dist/search/sidebar.js.map +1 -0
- package/dist/search/slashCommands.d.ts +45 -0
- package/dist/search/slashCommands.d.ts.map +1 -0
- package/dist/search/slashCommands.js +71 -0
- package/dist/search/slashCommands.js.map +1 -0
- package/dist/search/snippets.d.ts +48 -0
- package/dist/search/snippets.d.ts.map +1 -0
- package/dist/search/snippets.js +114 -0
- package/dist/search/snippets.js.map +1 -0
- package/dist/search/types.d.ts +60 -0
- package/dist/search/types.d.ts.map +1 -0
- package/dist/search/types.js +49 -0
- package/dist/search/types.js.map +1 -0
- package/dist/search/unified.d.ts +57 -0
- package/dist/search/unified.d.ts.map +1 -0
- package/dist/search/unified.js +153 -0
- package/dist/search/unified.js.map +1 -0
- package/dist/shortcuts.d.ts +174 -0
- package/dist/shortcuts.d.ts.map +1 -0
- package/dist/shortcuts.js +1040 -0
- package/dist/shortcuts.js.map +1 -0
- package/dist/sidebarColor.d.ts +16 -0
- package/dist/sidebarColor.d.ts.map +1 -0
- package/dist/sidebarColor.js +21 -0
- package/dist/sidebarColor.js.map +1 -0
- package/dist/sidebarExpansion.d.ts +12 -0
- package/dist/sidebarExpansion.d.ts.map +1 -0
- package/dist/sidebarExpansion.js +116 -0
- package/dist/sidebarExpansion.js.map +1 -0
- package/dist/snippet/catalog.d.ts +120 -0
- package/dist/snippet/catalog.d.ts.map +1 -0
- package/dist/snippet/catalog.js +105 -0
- package/dist/snippet/catalog.js.map +1 -0
- package/dist/snippet/types.d.ts +90 -0
- package/dist/snippet/types.d.ts.map +1 -0
- package/dist/snippet/types.js +2 -0
- package/dist/snippet/types.js.map +1 -0
- package/dist/snippetBundle.d.ts +21 -0
- package/dist/snippetBundle.d.ts.map +1 -0
- package/dist/snippetBundle.js +107 -0
- package/dist/snippetBundle.js.map +1 -0
- package/dist/snippetImport.d.ts +19 -0
- package/dist/snippetImport.d.ts.map +1 -0
- package/dist/snippetImport.js +34 -0
- package/dist/snippetImport.js.map +1 -0
- package/dist/snippetScope.d.ts +42 -0
- package/dist/snippetScope.d.ts.map +1 -0
- package/dist/snippetScope.js +50 -0
- package/dist/snippetScope.js.map +1 -0
- package/dist/storage/IStorage.d.ts +375 -0
- package/dist/storage/IStorage.d.ts.map +1 -0
- package/dist/storage/IStorage.js +2 -0
- package/dist/storage/IStorage.js.map +1 -0
- package/dist/themes.d.ts +24 -0
- package/dist/themes.d.ts.map +1 -0
- package/dist/themes.js +10 -0
- package/dist/themes.js.map +1 -0
- package/dist/types/ai.d.ts +304 -0
- package/dist/types/ai.d.ts.map +1 -0
- package/dist/types/ai.js +2 -0
- package/dist/types/ai.js.map +1 -0
- package/dist/types/api/backup.d.ts +27 -0
- package/dist/types/api/backup.d.ts.map +1 -0
- package/dist/types/api/backup.js +2 -0
- package/dist/types/api/backup.js.map +1 -0
- package/dist/types/api/chats.d.ts +88 -0
- package/dist/types/api/chats.d.ts.map +1 -0
- package/dist/types/api/chats.js +2 -0
- package/dist/types/api/chats.js.map +1 -0
- package/dist/types/api/collections.d.ts +251 -0
- package/dist/types/api/collections.d.ts.map +1 -0
- package/dist/types/api/collections.js +2 -0
- package/dist/types/api/collections.js.map +1 -0
- package/dist/types/api/customThemes.d.ts +68 -0
- package/dist/types/api/customThemes.d.ts.map +1 -0
- package/dist/types/api/customThemes.js +2 -0
- package/dist/types/api/customThemes.js.map +1 -0
- package/dist/types/api/docs.d.ts +14 -0
- package/dist/types/api/docs.d.ts.map +1 -0
- package/dist/types/api/docs.js +2 -0
- package/dist/types/api/docs.js.map +1 -0
- package/dist/types/api/documents.d.ts +51 -0
- package/dist/types/api/documents.d.ts.map +1 -0
- package/dist/types/api/documents.js +2 -0
- package/dist/types/api/documents.js.map +1 -0
- package/dist/types/api/environments.d.ts +57 -0
- package/dist/types/api/environments.d.ts.map +1 -0
- package/dist/types/api/environments.js +2 -0
- package/dist/types/api/environments.js.map +1 -0
- package/dist/types/api/git.d.ts +392 -0
- package/dist/types/api/git.d.ts.map +1 -0
- package/dist/types/api/git.js +2 -0
- package/dist/types/api/git.js.map +1 -0
- package/dist/types/api/http.d.ts +47 -0
- package/dist/types/api/http.d.ts.map +1 -0
- package/dist/types/api/http.js +2 -0
- package/dist/types/api/http.js.map +1 -0
- package/dist/types/api/index.d.ts +28 -0
- package/dist/types/api/index.d.ts.map +1 -0
- package/dist/types/api/index.js +2 -0
- package/dist/types/api/index.js.map +1 -0
- package/dist/types/api/mcp.d.ts +77 -0
- package/dist/types/api/mcp.d.ts.map +1 -0
- package/dist/types/api/mcp.js +2 -0
- package/dist/types/api/mcp.js.map +1 -0
- package/dist/types/api/plugins.d.ts +338 -0
- package/dist/types/api/plugins.d.ts.map +1 -0
- package/dist/types/api/plugins.js +2 -0
- package/dist/types/api/plugins.js.map +1 -0
- package/dist/types/api/requestHistory.d.ts +27 -0
- package/dist/types/api/requestHistory.d.ts.map +1 -0
- package/dist/types/api/requestHistory.js +2 -0
- package/dist/types/api/requestHistory.js.map +1 -0
- package/dist/types/api/requests.d.ts +35 -0
- package/dist/types/api/requests.d.ts.map +1 -0
- package/dist/types/api/requests.js +2 -0
- package/dist/types/api/requests.js.map +1 -0
- package/dist/types/api/settings.d.ts +163 -0
- package/dist/types/api/settings.d.ts.map +1 -0
- package/dist/types/api/settings.js +2 -0
- package/dist/types/api/settings.js.map +1 -0
- package/dist/types/api/sharing.d.ts +68 -0
- package/dist/types/api/sharing.d.ts.map +1 -0
- package/dist/types/api/sharing.js +2 -0
- package/dist/types/api/sharing.js.map +1 -0
- package/dist/types/api/snippets.d.ts +159 -0
- package/dist/types/api/snippets.d.ts.map +1 -0
- package/dist/types/api/snippets.js +2 -0
- package/dist/types/api/snippets.js.map +1 -0
- package/dist/types/api/storage.d.ts +57 -0
- package/dist/types/api/storage.d.ts.map +1 -0
- package/dist/types/api/storage.js +2 -0
- package/dist/types/api/storage.js.map +1 -0
- package/dist/types/api/tabGroup.d.ts +43 -0
- package/dist/types/api/tabGroup.d.ts.map +1 -0
- package/dist/types/api/tabGroup.js +2 -0
- package/dist/types/api/tabGroup.js.map +1 -0
- package/dist/types/api/teamHub.d.ts +225 -0
- package/dist/types/api/teamHub.d.ts.map +1 -0
- package/dist/types/api/teamHub.js +2 -0
- package/dist/types/api/teamHub.js.map +1 -0
- package/dist/types/api/terminal.d.ts +101 -0
- package/dist/types/api/terminal.d.ts.map +1 -0
- package/dist/types/api/terminal.js +2 -0
- package/dist/types/api/terminal.js.map +1 -0
- package/dist/types/api/trash.d.ts +27 -0
- package/dist/types/api/trash.d.ts.map +1 -0
- package/dist/types/api/trash.js +2 -0
- package/dist/types/api/trash.js.map +1 -0
- package/dist/types/api/window.d.ts +251 -0
- package/dist/types/api/window.d.ts.map +1 -0
- package/dist/types/api/window.js +2 -0
- package/dist/types/api/window.js.map +1 -0
- package/dist/types/app.d.ts +83 -0
- package/dist/types/app.d.ts.map +1 -0
- package/dist/types/app.js +2 -0
- package/dist/types/app.js.map +1 -0
- package/dist/types/collection.d.ts +559 -0
- package/dist/types/collection.d.ts.map +1 -0
- package/dist/types/collection.js +2 -0
- package/dist/types/collection.js.map +1 -0
- package/dist/types/common.d.ts +23 -0
- package/dist/types/common.d.ts.map +1 -0
- package/dist/types/common.js +2 -0
- package/dist/types/common.js.map +1 -0
- package/dist/types/customTheme.d.ts +163 -0
- package/dist/types/customTheme.d.ts.map +1 -0
- package/dist/types/customTheme.js +311 -0
- package/dist/types/customTheme.js.map +1 -0
- package/dist/types/environment.d.ts +64 -0
- package/dist/types/environment.d.ts.map +1 -0
- package/dist/types/environment.js +2 -0
- package/dist/types/environment.js.map +1 -0
- package/dist/types/index.d.ts +21 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +20 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/mcp.d.ts +153 -0
- package/dist/types/mcp.d.ts.map +1 -0
- package/dist/types/mcp.js +2 -0
- package/dist/types/mcp.js.map +1 -0
- package/dist/types/request.d.ts +294 -0
- package/dist/types/request.d.ts.map +1 -0
- package/dist/types/request.js +2 -0
- package/dist/types/request.js.map +1 -0
- package/dist/types/requestHistory.d.ts +88 -0
- package/dist/types/requestHistory.d.ts.map +1 -0
- package/dist/types/requestHistory.js +5 -0
- package/dist/types/requestHistory.js.map +1 -0
- package/dist/types/script.d.ts +366 -0
- package/dist/types/script.d.ts.map +1 -0
- package/dist/types/script.js +34 -0
- package/dist/types/script.js.map +1 -0
- package/dist/types/settings.d.ts +340 -0
- package/dist/types/settings.d.ts.map +1 -0
- package/dist/types/settings.js +3 -0
- package/dist/types/settings.js.map +1 -0
- package/dist/types/sharing.d.ts +87 -0
- package/dist/types/sharing.d.ts.map +1 -0
- package/dist/types/sharing.js +2 -0
- package/dist/types/sharing.js.map +1 -0
- package/dist/types/snippet.d.ts +150 -0
- package/dist/types/snippet.d.ts.map +1 -0
- package/dist/types/snippet.js +2 -0
- package/dist/types/snippet.js.map +1 -0
- package/dist/types/storage.d.ts +846 -0
- package/dist/types/storage.d.ts.map +1 -0
- package/dist/types/storage.js +2 -0
- package/dist/types/storage.js.map +1 -0
- package/dist/types/tabGroup.d.ts +108 -0
- package/dist/types/tabGroup.d.ts.map +1 -0
- package/dist/types/tabGroup.js +26 -0
- package/dist/types/tabGroup.js.map +1 -0
- package/dist/types/teamHub.d.ts +690 -0
- package/dist/types/teamHub.d.ts.map +1 -0
- package/dist/types/teamHub.js +2 -0
- package/dist/types/teamHub.js.map +1 -0
- package/dist/types/trash.d.ts +63 -0
- package/dist/types/trash.d.ts.map +1 -0
- package/dist/types/trash.js +2 -0
- package/dist/types/trash.js.map +1 -0
- package/dist/types/window.d.ts +14 -0
- package/dist/types/window.d.ts.map +1 -0
- package/dist/types/window.js +2 -0
- package/dist/types/window.js.map +1 -0
- package/dist/types.d.ts +7 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/urlencoded.d.ts +2 -0
- package/dist/urlencoded.d.ts.map +1 -0
- package/dist/urlencoded.js +2 -0
- package/dist/urlencoded.js.map +1 -0
- package/dist/urlencodedRaw.d.ts +23 -0
- package/dist/urlencodedRaw.d.ts.map +1 -0
- package/dist/urlencodedRaw.js +60 -0
- package/dist/urlencodedRaw.js.map +1 -0
- package/dist/userAgent.d.ts +132 -0
- package/dist/userAgent.d.ts.map +1 -0
- package/dist/userAgent.js +178 -0
- package/dist/userAgent.js.map +1 -0
- package/dist/zoomPresets.d.ts +38 -0
- package/dist/zoomPresets.d.ts.map +1 -0
- package/dist/zoomPresets.js +67 -0
- package/dist/zoomPresets.js.map +1 -0
- package/package.json +92 -0
|
@@ -0,0 +1,846 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Active database backend for collections and requests.
|
|
3
|
+
*/
|
|
4
|
+
export type StorageProvider = 'sqlite' | 'firestore' | 'mysql' | 'postgres' | 'git';
|
|
5
|
+
/**
|
|
6
|
+
* Kind of collection data provider, including remote team hubs.
|
|
7
|
+
*/
|
|
8
|
+
export type CollectionProviderKind = StorageProvider | 'team-hub';
|
|
9
|
+
/**
|
|
10
|
+
* Firebase Firestore connection settings.
|
|
11
|
+
*/
|
|
12
|
+
export interface FirestoreSettings {
|
|
13
|
+
/**
|
|
14
|
+
* Firebase Web API key.
|
|
15
|
+
*/
|
|
16
|
+
apiKey: string;
|
|
17
|
+
/**
|
|
18
|
+
* Firebase Auth domain.
|
|
19
|
+
*/
|
|
20
|
+
authDomain: string;
|
|
21
|
+
/**
|
|
22
|
+
* Firebase project ID.
|
|
23
|
+
*/
|
|
24
|
+
projectId: string;
|
|
25
|
+
/**
|
|
26
|
+
* Firebase app ID.
|
|
27
|
+
*/
|
|
28
|
+
appId: string;
|
|
29
|
+
/**
|
|
30
|
+
* Email for Firebase Auth sign-in.
|
|
31
|
+
*/
|
|
32
|
+
email: string;
|
|
33
|
+
/**
|
|
34
|
+
* Password for Firebase Auth sign-in.
|
|
35
|
+
*/
|
|
36
|
+
password: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* MySQL connection settings.
|
|
40
|
+
*/
|
|
41
|
+
export interface MySqlSettings {
|
|
42
|
+
/**
|
|
43
|
+
* MySQL server hostname.
|
|
44
|
+
*/
|
|
45
|
+
host: string;
|
|
46
|
+
/**
|
|
47
|
+
* MySQL server port.
|
|
48
|
+
*/
|
|
49
|
+
port: number;
|
|
50
|
+
/**
|
|
51
|
+
* MySQL username.
|
|
52
|
+
*/
|
|
53
|
+
user: string;
|
|
54
|
+
/**
|
|
55
|
+
* MySQL password.
|
|
56
|
+
*/
|
|
57
|
+
password: string;
|
|
58
|
+
/**
|
|
59
|
+
* MySQL database name.
|
|
60
|
+
*/
|
|
61
|
+
database: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* PostgreSQL connection settings.
|
|
65
|
+
*/
|
|
66
|
+
export interface PostgresSettings {
|
|
67
|
+
/**
|
|
68
|
+
* PostgreSQL server hostname.
|
|
69
|
+
*/
|
|
70
|
+
host: string;
|
|
71
|
+
/**
|
|
72
|
+
* PostgreSQL server port.
|
|
73
|
+
*/
|
|
74
|
+
port: number;
|
|
75
|
+
/**
|
|
76
|
+
* PostgreSQL username.
|
|
77
|
+
*/
|
|
78
|
+
user: string;
|
|
79
|
+
/**
|
|
80
|
+
* PostgreSQL password.
|
|
81
|
+
*/
|
|
82
|
+
password: string;
|
|
83
|
+
/**
|
|
84
|
+
* PostgreSQL database name.
|
|
85
|
+
*/
|
|
86
|
+
database: string;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* How a git-backed connection authenticates for HTTPS fetch/push.
|
|
90
|
+
*/
|
|
91
|
+
export type GitAuthMethod = {
|
|
92
|
+
/**
|
|
93
|
+
* Personal access token entered by the user.
|
|
94
|
+
*/
|
|
95
|
+
kind: 'pat';
|
|
96
|
+
/**
|
|
97
|
+
* Username for Basic Auth (often the account name or `token` on GitHub).
|
|
98
|
+
*/
|
|
99
|
+
username: string;
|
|
100
|
+
} | {
|
|
101
|
+
/**
|
|
102
|
+
* OAuth token obtained via device flow.
|
|
103
|
+
*/
|
|
104
|
+
kind: 'oauth';
|
|
105
|
+
/**
|
|
106
|
+
* OAuth provider that issued the token.
|
|
107
|
+
*/
|
|
108
|
+
provider: 'github';
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Settings for a git-backed collection provider.
|
|
112
|
+
*/
|
|
113
|
+
export interface GitSettings {
|
|
114
|
+
/**
|
|
115
|
+
* Absolute path to the repository root on disk.
|
|
116
|
+
*/
|
|
117
|
+
repoPath: string;
|
|
118
|
+
/**
|
|
119
|
+
* HTTPS clone URL used for fetch and push.
|
|
120
|
+
*/
|
|
121
|
+
url: string;
|
|
122
|
+
/**
|
|
123
|
+
* Branch to track (for example `main`).
|
|
124
|
+
*/
|
|
125
|
+
branch: string;
|
|
126
|
+
/**
|
|
127
|
+
* Subdirectory within the repo where HarborClient files live.
|
|
128
|
+
*/
|
|
129
|
+
subdir: string;
|
|
130
|
+
/**
|
|
131
|
+
* Optional GitHub OAuth App client id; falls back to the built-in app when empty.
|
|
132
|
+
*/
|
|
133
|
+
oauthClientId?: string;
|
|
134
|
+
/**
|
|
135
|
+
* Authentication method metadata; secrets are stored separately via secretStorage.
|
|
136
|
+
*/
|
|
137
|
+
auth: GitAuthMethod;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Shared git credentials and auth metadata for a remote host.
|
|
141
|
+
*/
|
|
142
|
+
export interface GitIdentity {
|
|
143
|
+
/**
|
|
144
|
+
* Normalized lowercase hostname (for example `github.com`).
|
|
145
|
+
*/
|
|
146
|
+
host: string;
|
|
147
|
+
/**
|
|
148
|
+
* Authentication method metadata; secrets are stored separately by host.
|
|
149
|
+
*/
|
|
150
|
+
auth: GitAuthMethod;
|
|
151
|
+
/**
|
|
152
|
+
* Optional GitHub OAuth App client id override for this host.
|
|
153
|
+
*/
|
|
154
|
+
oauthClientId?: string;
|
|
155
|
+
/**
|
|
156
|
+
* Cached GitHub username (`login`) when credentials belong to github.com.
|
|
157
|
+
* Populated after OAuth/PAT save or when listing identities.
|
|
158
|
+
*/
|
|
159
|
+
githubLogin?: string;
|
|
160
|
+
/**
|
|
161
|
+
* Whether encrypted credentials are stored for this host.
|
|
162
|
+
* Populated when listing identities from the main process.
|
|
163
|
+
*/
|
|
164
|
+
hasCredentials?: boolean;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Sidebar display state for one git-backed request file.
|
|
168
|
+
*/
|
|
169
|
+
export type GitRequestDisplayStatus = 'clean' | 'staged' | 'uncommitted' | 'unstaged';
|
|
170
|
+
/**
|
|
171
|
+
* Per-request git status used by sidebar labels, colors, and context menus.
|
|
172
|
+
*/
|
|
173
|
+
export interface GitRequestFileStatus {
|
|
174
|
+
/**
|
|
175
|
+
* Highest-priority display state for the request name color.
|
|
176
|
+
*/
|
|
177
|
+
displayStatus: GitRequestDisplayStatus;
|
|
178
|
+
/**
|
|
179
|
+
* Whether the request has unstaged or untracked changes that can be staged.
|
|
180
|
+
*/
|
|
181
|
+
canAdd: boolean;
|
|
182
|
+
/**
|
|
183
|
+
* Whether the request has staged changes that can be unstaged.
|
|
184
|
+
*/
|
|
185
|
+
canRemove: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Whether the backing file is new and not yet tracked in git.
|
|
188
|
+
*/
|
|
189
|
+
isUntracked: boolean;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Source-control status for a git-backed provider working tree.
|
|
193
|
+
*/
|
|
194
|
+
export interface SourceControlStatus {
|
|
195
|
+
/**
|
|
196
|
+
* Count of staged, unstaged, and untracked changes in the working tree.
|
|
197
|
+
*/
|
|
198
|
+
changedCount: number;
|
|
199
|
+
/**
|
|
200
|
+
* Count of files with staged changes ready for commit.
|
|
201
|
+
*/
|
|
202
|
+
stagedCount: number;
|
|
203
|
+
/**
|
|
204
|
+
* Count of files with unstaged or untracked working-tree changes.
|
|
205
|
+
*/
|
|
206
|
+
unstagedCount: number;
|
|
207
|
+
/**
|
|
208
|
+
* Current branch name, or null when not on a branch.
|
|
209
|
+
*/
|
|
210
|
+
branch: string | null;
|
|
211
|
+
/**
|
|
212
|
+
* Commits ahead of the tracked upstream branch.
|
|
213
|
+
*/
|
|
214
|
+
ahead: number;
|
|
215
|
+
/**
|
|
216
|
+
* Commits behind the tracked upstream branch.
|
|
217
|
+
*/
|
|
218
|
+
behind: number;
|
|
219
|
+
/**
|
|
220
|
+
* Whether ahead/behind were computed from a cached origin tracking ref.
|
|
221
|
+
* When false, counts are placeholders and the working tree may not be in sync.
|
|
222
|
+
*/
|
|
223
|
+
syncKnown: boolean;
|
|
224
|
+
/**
|
|
225
|
+
* Number of files containing unresolved git merge conflict markers.
|
|
226
|
+
*/
|
|
227
|
+
conflictCount: number;
|
|
228
|
+
/**
|
|
229
|
+
* Whether the configured HarborClient subdirectory exists on disk.
|
|
230
|
+
*/
|
|
231
|
+
harborRootExists: boolean;
|
|
232
|
+
/**
|
|
233
|
+
* Configured HarborClient subdirectory relative to the repository root.
|
|
234
|
+
*/
|
|
235
|
+
harborSubdir: string;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Result of background GitHub OAuth device-flow completion.
|
|
239
|
+
*/
|
|
240
|
+
export interface GitOAuthFinishedEvent {
|
|
241
|
+
/**
|
|
242
|
+
* Normalized git host that finished OAuth.
|
|
243
|
+
*/
|
|
244
|
+
host: string;
|
|
245
|
+
/**
|
|
246
|
+
* Legacy git connection id when OAuth was started from a connection-scoped flow.
|
|
247
|
+
*/
|
|
248
|
+
connectionId?: string;
|
|
249
|
+
/**
|
|
250
|
+
* Whether authorization completed and credentials were stored.
|
|
251
|
+
*/
|
|
252
|
+
ok: boolean;
|
|
253
|
+
/**
|
|
254
|
+
* Error message when {@link GitOAuthFinishedEvent.ok} is false.
|
|
255
|
+
*/
|
|
256
|
+
error?: string;
|
|
257
|
+
/**
|
|
258
|
+
* Error message when authorization succeeded but optional repository
|
|
259
|
+
* validation failed.
|
|
260
|
+
*/
|
|
261
|
+
validationError?: string;
|
|
262
|
+
/**
|
|
263
|
+
* True when credentials were validated and the remote has no branch refs yet.
|
|
264
|
+
*/
|
|
265
|
+
emptyRemote?: boolean;
|
|
266
|
+
/**
|
|
267
|
+
* True when GitHub granted push access; false when credentials are read-only.
|
|
268
|
+
*/
|
|
269
|
+
canPush?: boolean;
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* A single entry in the git commit log.
|
|
273
|
+
*/
|
|
274
|
+
export interface GitLogEntry {
|
|
275
|
+
/**
|
|
276
|
+
* Commit object id (full or abbreviated hash).
|
|
277
|
+
*/
|
|
278
|
+
oid: string;
|
|
279
|
+
/**
|
|
280
|
+
* First line of the commit message.
|
|
281
|
+
*/
|
|
282
|
+
message: string;
|
|
283
|
+
/**
|
|
284
|
+
* Commit author name.
|
|
285
|
+
*/
|
|
286
|
+
author: string;
|
|
287
|
+
/**
|
|
288
|
+
* ISO 8601 commit timestamp.
|
|
289
|
+
*/
|
|
290
|
+
timestamp: string;
|
|
291
|
+
/**
|
|
292
|
+
* Whether this commit is present on the tracked origin branch ref.
|
|
293
|
+
* `true` when at or behind origin; `false` when ahead (unpushed).
|
|
294
|
+
* Omitted when the origin tracking ref is unavailable (`syncKnown` is false).
|
|
295
|
+
*/
|
|
296
|
+
pushedToOrigin?: boolean;
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* Enriched commit entry for git graph visualization.
|
|
300
|
+
*/
|
|
301
|
+
export interface GitGraphLogEntry {
|
|
302
|
+
/**
|
|
303
|
+
* Commit object id.
|
|
304
|
+
*/
|
|
305
|
+
hash: string;
|
|
306
|
+
/**
|
|
307
|
+
* Branch label used by the graph renderer for this commit.
|
|
308
|
+
*/
|
|
309
|
+
branch: string;
|
|
310
|
+
/**
|
|
311
|
+
* Parent commit object ids.
|
|
312
|
+
*/
|
|
313
|
+
parents: string[];
|
|
314
|
+
/**
|
|
315
|
+
* First line of the commit message.
|
|
316
|
+
*/
|
|
317
|
+
message: string;
|
|
318
|
+
/**
|
|
319
|
+
* ISO 8601 committer timestamp.
|
|
320
|
+
*/
|
|
321
|
+
committerDate: string;
|
|
322
|
+
/**
|
|
323
|
+
* Commit author metadata when available.
|
|
324
|
+
*/
|
|
325
|
+
author?: {
|
|
326
|
+
name: string;
|
|
327
|
+
email: string;
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* Git log payload with branch heads for graph rendering.
|
|
332
|
+
*/
|
|
333
|
+
export interface GitGraphLogResult {
|
|
334
|
+
/**
|
|
335
|
+
* Commits formatted for graph visualization.
|
|
336
|
+
*/
|
|
337
|
+
entries: GitGraphLogEntry[];
|
|
338
|
+
/**
|
|
339
|
+
* Currently checked-out branch name, if any.
|
|
340
|
+
*/
|
|
341
|
+
currentBranch: string | null;
|
|
342
|
+
/**
|
|
343
|
+
* Object id of the current branch HEAD commit.
|
|
344
|
+
*/
|
|
345
|
+
headCommitHash: string | null;
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* Change type for one HarborClient file in a commit compared to its parent.
|
|
349
|
+
*/
|
|
350
|
+
export type GitCommitChangeStatus = 'added' | 'modified' | 'deleted';
|
|
351
|
+
/**
|
|
352
|
+
* One non-resource HarborClient file changed in a commit.
|
|
353
|
+
*/
|
|
354
|
+
export interface GitCommitPlainFileChange {
|
|
355
|
+
/**
|
|
356
|
+
* Discriminator for plain file rows.
|
|
357
|
+
*/
|
|
358
|
+
kind: 'file';
|
|
359
|
+
/**
|
|
360
|
+
* Repository-relative path under the HarborClient tree.
|
|
361
|
+
*/
|
|
362
|
+
path: string;
|
|
363
|
+
/**
|
|
364
|
+
* Change type relative to the parent commit.
|
|
365
|
+
*/
|
|
366
|
+
status: GitCommitChangeStatus;
|
|
367
|
+
/**
|
|
368
|
+
* User-facing request or document name when resolved from commit contents.
|
|
369
|
+
*/
|
|
370
|
+
displayName?: string;
|
|
371
|
+
/**
|
|
372
|
+
* HarborClient resource kind for request, document, and collection rows.
|
|
373
|
+
*/
|
|
374
|
+
resourceKind?: 'request' | 'document' | 'collection';
|
|
375
|
+
/**
|
|
376
|
+
* HTTP method for request rows when resolved from commit contents.
|
|
377
|
+
*/
|
|
378
|
+
method?: string;
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* One request resource changed in a commit, grouped across related paths.
|
|
382
|
+
*/
|
|
383
|
+
export interface GitCommitRequestChange {
|
|
384
|
+
/**
|
|
385
|
+
* Discriminator for request rows.
|
|
386
|
+
*/
|
|
387
|
+
kind: 'request';
|
|
388
|
+
/**
|
|
389
|
+
* Primary repository-relative path used for sorting and display fallbacks.
|
|
390
|
+
*/
|
|
391
|
+
path: string;
|
|
392
|
+
/**
|
|
393
|
+
* All repository-relative paths that changed for this request in the commit.
|
|
394
|
+
*/
|
|
395
|
+
paths: string[];
|
|
396
|
+
/**
|
|
397
|
+
* Aggregated change type across all paths for this request.
|
|
398
|
+
*/
|
|
399
|
+
status: GitCommitChangeStatus;
|
|
400
|
+
/**
|
|
401
|
+
* Stable collection uuid owning the request.
|
|
402
|
+
*/
|
|
403
|
+
collectionUuid: string;
|
|
404
|
+
/**
|
|
405
|
+
* Stable request uuid.
|
|
406
|
+
*/
|
|
407
|
+
requestUuid: string;
|
|
408
|
+
/**
|
|
409
|
+
* Request display name at commit time.
|
|
410
|
+
*/
|
|
411
|
+
name: string;
|
|
412
|
+
/**
|
|
413
|
+
* HTTP method at commit time.
|
|
414
|
+
*/
|
|
415
|
+
method: string;
|
|
416
|
+
/**
|
|
417
|
+
* Optional sidebar color at commit time.
|
|
418
|
+
*/
|
|
419
|
+
color?: string | null;
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* One markdown document resource changed in a commit, grouped across related paths.
|
|
423
|
+
*/
|
|
424
|
+
export interface GitCommitDocumentChange {
|
|
425
|
+
/**
|
|
426
|
+
* Discriminator for document rows.
|
|
427
|
+
*/
|
|
428
|
+
kind: 'document';
|
|
429
|
+
/**
|
|
430
|
+
* Primary repository-relative path used for sorting and display fallbacks.
|
|
431
|
+
*/
|
|
432
|
+
path: string;
|
|
433
|
+
/**
|
|
434
|
+
* All repository-relative paths that changed for this document in the commit.
|
|
435
|
+
*/
|
|
436
|
+
paths: string[];
|
|
437
|
+
/**
|
|
438
|
+
* Aggregated change type across all paths for this document.
|
|
439
|
+
*/
|
|
440
|
+
status: GitCommitChangeStatus;
|
|
441
|
+
/**
|
|
442
|
+
* Stable collection uuid owning the document.
|
|
443
|
+
*/
|
|
444
|
+
collectionUuid: string;
|
|
445
|
+
/**
|
|
446
|
+
* Stable document uuid.
|
|
447
|
+
*/
|
|
448
|
+
documentUuid: string;
|
|
449
|
+
/**
|
|
450
|
+
* Document display name at commit time.
|
|
451
|
+
*/
|
|
452
|
+
name: string;
|
|
453
|
+
/**
|
|
454
|
+
* Optional sidebar color at commit time.
|
|
455
|
+
*/
|
|
456
|
+
color?: string | null;
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* One HarborClient file or grouped request/document resource changed in a commit.
|
|
460
|
+
*/
|
|
461
|
+
export type GitCommitFileChange = GitCommitPlainFileChange | GitCommitRequestChange | GitCommitDocumentChange;
|
|
462
|
+
/**
|
|
463
|
+
* Detailed metadata and file list for one commit.
|
|
464
|
+
*/
|
|
465
|
+
export interface GitCommitDetail {
|
|
466
|
+
/**
|
|
467
|
+
* Commit object id.
|
|
468
|
+
*/
|
|
469
|
+
oid: string;
|
|
470
|
+
/**
|
|
471
|
+
* First line of the commit message.
|
|
472
|
+
*/
|
|
473
|
+
message: string;
|
|
474
|
+
/**
|
|
475
|
+
* Full commit message body.
|
|
476
|
+
*/
|
|
477
|
+
fullMessage: string;
|
|
478
|
+
/**
|
|
479
|
+
* Commit author name.
|
|
480
|
+
*/
|
|
481
|
+
author: string;
|
|
482
|
+
/**
|
|
483
|
+
* ISO 8601 commit timestamp.
|
|
484
|
+
*/
|
|
485
|
+
timestamp: string;
|
|
486
|
+
/**
|
|
487
|
+
* Parent commit object ids.
|
|
488
|
+
*/
|
|
489
|
+
parents: string[];
|
|
490
|
+
/**
|
|
491
|
+
* HarborClient-scoped files changed in this commit.
|
|
492
|
+
*/
|
|
493
|
+
files: GitCommitFileChange[];
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
* One changed file in a request working-tree diff.
|
|
497
|
+
*/
|
|
498
|
+
export interface GitRequestDiffFileEntry {
|
|
499
|
+
/**
|
|
500
|
+
* Repository-relative path under the HarborClient subdirectory.
|
|
501
|
+
*/
|
|
502
|
+
path: string;
|
|
503
|
+
/**
|
|
504
|
+
* Added, modified, or deleted relative to HEAD.
|
|
505
|
+
*/
|
|
506
|
+
status: 'added' | 'modified' | 'deleted';
|
|
507
|
+
/**
|
|
508
|
+
* Unified-style diff excerpt when the file is text.
|
|
509
|
+
*/
|
|
510
|
+
diff?: string;
|
|
511
|
+
/**
|
|
512
|
+
* Whether the file was treated as binary.
|
|
513
|
+
*/
|
|
514
|
+
binary: boolean;
|
|
515
|
+
/**
|
|
516
|
+
* Whether this file's diff was truncated.
|
|
517
|
+
*/
|
|
518
|
+
truncated: boolean;
|
|
519
|
+
/**
|
|
520
|
+
* Whether the working-tree file contains unresolved merge conflict markers.
|
|
521
|
+
*/
|
|
522
|
+
hasConflict: boolean;
|
|
523
|
+
/**
|
|
524
|
+
* User-facing request or document name when resolved from file contents.
|
|
525
|
+
*/
|
|
526
|
+
displayName?: string;
|
|
527
|
+
/**
|
|
528
|
+
* HarborClient resource kind for filtered Changes list rows.
|
|
529
|
+
*/
|
|
530
|
+
resourceKind?: 'request' | 'document' | 'collection';
|
|
531
|
+
/**
|
|
532
|
+
* HTTP method for request rows when resolved from file contents.
|
|
533
|
+
*/
|
|
534
|
+
method?: string;
|
|
535
|
+
/**
|
|
536
|
+
* Repository-relative paths removed during a rename, when this row represents a
|
|
537
|
+
* collapsed delete+add pair for one request uuid.
|
|
538
|
+
*/
|
|
539
|
+
previousPaths?: string[];
|
|
540
|
+
/**
|
|
541
|
+
* User-facing name from the deleted path during a rename, when resolved.
|
|
542
|
+
*/
|
|
543
|
+
renamedFrom?: string;
|
|
544
|
+
}
|
|
545
|
+
/**
|
|
546
|
+
* Diff payload for one request's git-tracked files.
|
|
547
|
+
*/
|
|
548
|
+
export interface GitRequestDiffResult {
|
|
549
|
+
/**
|
|
550
|
+
* Request display name when resolved from storage.
|
|
551
|
+
*/
|
|
552
|
+
requestName: string;
|
|
553
|
+
/**
|
|
554
|
+
* Changed files belonging to the request.
|
|
555
|
+
*/
|
|
556
|
+
files: GitRequestDiffFileEntry[];
|
|
557
|
+
/**
|
|
558
|
+
* Error message when diff generation failed.
|
|
559
|
+
*/
|
|
560
|
+
error?: string;
|
|
561
|
+
}
|
|
562
|
+
/**
|
|
563
|
+
* One saved request or markdown document row in a git repo info payload.
|
|
564
|
+
*/
|
|
565
|
+
export interface GitRepoInfoItem {
|
|
566
|
+
/**
|
|
567
|
+
* Stable item uuid.
|
|
568
|
+
*/
|
|
569
|
+
uuid: string;
|
|
570
|
+
/**
|
|
571
|
+
* Display name shown in the sidebar.
|
|
572
|
+
*/
|
|
573
|
+
name: string;
|
|
574
|
+
/**
|
|
575
|
+
* HarborClient resource kind for the on-disk file.
|
|
576
|
+
*/
|
|
577
|
+
kind: 'request' | 'document';
|
|
578
|
+
/**
|
|
579
|
+
* Repository-relative file path.
|
|
580
|
+
*/
|
|
581
|
+
repoPath: string;
|
|
582
|
+
/**
|
|
583
|
+
* HTTP method for request rows.
|
|
584
|
+
*/
|
|
585
|
+
method?: string;
|
|
586
|
+
}
|
|
587
|
+
/**
|
|
588
|
+
* Summary of one uncommitted file in a git repo info payload.
|
|
589
|
+
*/
|
|
590
|
+
export interface GitRepoInfoUncommittedFile {
|
|
591
|
+
/**
|
|
592
|
+
* Repository-relative file path.
|
|
593
|
+
*/
|
|
594
|
+
path: string;
|
|
595
|
+
/**
|
|
596
|
+
* Added, modified, or deleted status.
|
|
597
|
+
*/
|
|
598
|
+
status: string;
|
|
599
|
+
}
|
|
600
|
+
/**
|
|
601
|
+
* Git repository metadata for one git-backed collection.
|
|
602
|
+
*/
|
|
603
|
+
export interface GitRepoInfoResult {
|
|
604
|
+
/**
|
|
605
|
+
* Git connection id for the collection.
|
|
606
|
+
*/
|
|
607
|
+
connectionId: string;
|
|
608
|
+
/**
|
|
609
|
+
* Stable collection uuid.
|
|
610
|
+
*/
|
|
611
|
+
collectionUuid: string;
|
|
612
|
+
/**
|
|
613
|
+
* Collection display name.
|
|
614
|
+
*/
|
|
615
|
+
collectionName: string;
|
|
616
|
+
/**
|
|
617
|
+
* Normalized HTTPS remote url, when configured.
|
|
618
|
+
*/
|
|
619
|
+
repoUrl: string | null;
|
|
620
|
+
/**
|
|
621
|
+
* Absolute repository root path on disk.
|
|
622
|
+
*/
|
|
623
|
+
repoPath: string;
|
|
624
|
+
/**
|
|
625
|
+
* Absolute HarborClient data root inside the repository.
|
|
626
|
+
*/
|
|
627
|
+
harborDataPath: string;
|
|
628
|
+
/**
|
|
629
|
+
* HarborClient subdirectory prefix within the repository.
|
|
630
|
+
*/
|
|
631
|
+
harborSubdir: string;
|
|
632
|
+
/**
|
|
633
|
+
* Source-control status for the repository working tree.
|
|
634
|
+
*/
|
|
635
|
+
status: SourceControlStatus;
|
|
636
|
+
/**
|
|
637
|
+
* Saved requests and markdown documents with repository-relative paths.
|
|
638
|
+
*/
|
|
639
|
+
items: GitRepoInfoItem[];
|
|
640
|
+
/**
|
|
641
|
+
* Per-item git status for items with staged or unstaged changes.
|
|
642
|
+
*/
|
|
643
|
+
uncommittedItems: Record<string, GitRequestFileStatus>;
|
|
644
|
+
/**
|
|
645
|
+
* Uncommitted file paths scoped to the collection folder.
|
|
646
|
+
*/
|
|
647
|
+
uncommittedFiles: GitRepoInfoUncommittedFile[];
|
|
648
|
+
/**
|
|
649
|
+
* Error message when repo info could not be resolved.
|
|
650
|
+
*/
|
|
651
|
+
error?: string;
|
|
652
|
+
}
|
|
653
|
+
/**
|
|
654
|
+
* Commit history payload for one git-backed collection.
|
|
655
|
+
*/
|
|
656
|
+
export interface GitCommitsResult {
|
|
657
|
+
/**
|
|
658
|
+
* Git connection id for the collection.
|
|
659
|
+
*/
|
|
660
|
+
connectionId: string;
|
|
661
|
+
/**
|
|
662
|
+
* Stable collection uuid.
|
|
663
|
+
*/
|
|
664
|
+
collectionUuid: string;
|
|
665
|
+
/**
|
|
666
|
+
* Recent commits in the repository.
|
|
667
|
+
*/
|
|
668
|
+
commits: GitLogEntry[];
|
|
669
|
+
/**
|
|
670
|
+
* Error message when commit history could not be resolved.
|
|
671
|
+
*/
|
|
672
|
+
error?: string;
|
|
673
|
+
}
|
|
674
|
+
/**
|
|
675
|
+
* Per-file git metadata for one saved request.
|
|
676
|
+
*/
|
|
677
|
+
export interface GitFileInfoResult {
|
|
678
|
+
/**
|
|
679
|
+
* Git connection id for the collection.
|
|
680
|
+
*/
|
|
681
|
+
connectionId: string;
|
|
682
|
+
/**
|
|
683
|
+
* Stable collection uuid.
|
|
684
|
+
*/
|
|
685
|
+
collectionUuid: string;
|
|
686
|
+
/**
|
|
687
|
+
* Stable request uuid.
|
|
688
|
+
*/
|
|
689
|
+
requestUuid: string;
|
|
690
|
+
/**
|
|
691
|
+
* Repository-relative file path for the request.
|
|
692
|
+
*/
|
|
693
|
+
repoPath: string;
|
|
694
|
+
/**
|
|
695
|
+
* Saved request metadata from storage.
|
|
696
|
+
*/
|
|
697
|
+
request: {
|
|
698
|
+
id: number;
|
|
699
|
+
uuid: string;
|
|
700
|
+
name: string;
|
|
701
|
+
method: string;
|
|
702
|
+
url: string;
|
|
703
|
+
folder_id: number | null;
|
|
704
|
+
};
|
|
705
|
+
/**
|
|
706
|
+
* Commits that touched the request file.
|
|
707
|
+
*/
|
|
708
|
+
commitHistory: GitLogEntry[];
|
|
709
|
+
/**
|
|
710
|
+
* Error message when file info could not be resolved.
|
|
711
|
+
*/
|
|
712
|
+
error?: string;
|
|
713
|
+
}
|
|
714
|
+
/**
|
|
715
|
+
* Diff payload for one request file between two commits.
|
|
716
|
+
*/
|
|
717
|
+
export interface GitFileDiffResult {
|
|
718
|
+
/**
|
|
719
|
+
* Git connection id for the collection.
|
|
720
|
+
*/
|
|
721
|
+
connectionId: string;
|
|
722
|
+
/**
|
|
723
|
+
* Stable collection uuid.
|
|
724
|
+
*/
|
|
725
|
+
collectionUuid: string;
|
|
726
|
+
/**
|
|
727
|
+
* Stable request uuid.
|
|
728
|
+
*/
|
|
729
|
+
requestUuid: string;
|
|
730
|
+
/**
|
|
731
|
+
* Request display name.
|
|
732
|
+
*/
|
|
733
|
+
requestName: string;
|
|
734
|
+
/**
|
|
735
|
+
* Repository-relative file path.
|
|
736
|
+
*/
|
|
737
|
+
repoPath: string;
|
|
738
|
+
/**
|
|
739
|
+
* Older commit object id, or null when the diff starts from an empty tree.
|
|
740
|
+
*/
|
|
741
|
+
commitA: string | null;
|
|
742
|
+
/**
|
|
743
|
+
* Newer commit object id.
|
|
744
|
+
*/
|
|
745
|
+
commitB: string;
|
|
746
|
+
/**
|
|
747
|
+
* Unified diff text, or null when binary or absent at both commits.
|
|
748
|
+
*/
|
|
749
|
+
diff: string | null;
|
|
750
|
+
/**
|
|
751
|
+
* Whether the diff text was truncated.
|
|
752
|
+
*/
|
|
753
|
+
truncated: boolean;
|
|
754
|
+
/**
|
|
755
|
+
* Whether either commit version is non-text content.
|
|
756
|
+
*/
|
|
757
|
+
binary: boolean;
|
|
758
|
+
/**
|
|
759
|
+
* Original diff length before truncation, when truncated is true.
|
|
760
|
+
*/
|
|
761
|
+
originalLength?: number;
|
|
762
|
+
/**
|
|
763
|
+
* Error message when the diff could not be generated.
|
|
764
|
+
*/
|
|
765
|
+
error?: string;
|
|
766
|
+
}
|
|
767
|
+
/**
|
|
768
|
+
* Configurable SQLite database path and legacy migration settings.
|
|
769
|
+
*/
|
|
770
|
+
export interface SqliteSettings {
|
|
771
|
+
/**
|
|
772
|
+
* Filename of the primary database file within userData.
|
|
773
|
+
*/
|
|
774
|
+
dbFilename: string;
|
|
775
|
+
/**
|
|
776
|
+
* Filename of the legacy database file used for migration.
|
|
777
|
+
*/
|
|
778
|
+
legacyDbFilename: string;
|
|
779
|
+
/**
|
|
780
|
+
* Legacy application data directory name under appData.
|
|
781
|
+
*/
|
|
782
|
+
legacyUserDataDir: string;
|
|
783
|
+
}
|
|
784
|
+
/**
|
|
785
|
+
* Shared fields for a named database connection.
|
|
786
|
+
*/
|
|
787
|
+
export interface StorageConnectionBase {
|
|
788
|
+
/**
|
|
789
|
+
* Unique connection identifier.
|
|
790
|
+
*/
|
|
791
|
+
id: string;
|
|
792
|
+
/**
|
|
793
|
+
* User-defined display name.
|
|
794
|
+
*/
|
|
795
|
+
name: string;
|
|
796
|
+
/**
|
|
797
|
+
* When true, startup git reconcile skips auto-adding sidebar entries for this provider.
|
|
798
|
+
*/
|
|
799
|
+
collectionDiscoverySkipped?: boolean;
|
|
800
|
+
}
|
|
801
|
+
/**
|
|
802
|
+
* A collection found on a provider that is not yet registered in the sidebar.
|
|
803
|
+
*/
|
|
804
|
+
export interface DiscoveredCollection {
|
|
805
|
+
/**
|
|
806
|
+
* Provider-local collection id.
|
|
807
|
+
*/
|
|
808
|
+
providerCollectionId: number;
|
|
809
|
+
/**
|
|
810
|
+
* Display name from the provider.
|
|
811
|
+
*/
|
|
812
|
+
name: string;
|
|
813
|
+
/**
|
|
814
|
+
* Stable collection uuid when available from the provider.
|
|
815
|
+
*/
|
|
816
|
+
uuid: string;
|
|
817
|
+
}
|
|
818
|
+
/**
|
|
819
|
+
* Result of registering selected discovered collections.
|
|
820
|
+
*/
|
|
821
|
+
export interface RegisterDiscoveredCollectionsResult {
|
|
822
|
+
/**
|
|
823
|
+
* Number of collections added to the sidebar registry.
|
|
824
|
+
*/
|
|
825
|
+
added: number;
|
|
826
|
+
}
|
|
827
|
+
/**
|
|
828
|
+
* A named database connection with type-specific settings.
|
|
829
|
+
*/
|
|
830
|
+
export type StorageConnection = (StorageConnectionBase & {
|
|
831
|
+
type: 'sqlite';
|
|
832
|
+
settings: SqliteSettings;
|
|
833
|
+
}) | (StorageConnectionBase & {
|
|
834
|
+
type: 'firestore';
|
|
835
|
+
settings: FirestoreSettings;
|
|
836
|
+
}) | (StorageConnectionBase & {
|
|
837
|
+
type: 'mysql';
|
|
838
|
+
settings: MySqlSettings;
|
|
839
|
+
}) | (StorageConnectionBase & {
|
|
840
|
+
type: 'postgres';
|
|
841
|
+
settings: PostgresSettings;
|
|
842
|
+
}) | (StorageConnectionBase & {
|
|
843
|
+
type: 'git';
|
|
844
|
+
settings: GitSettings;
|
|
845
|
+
});
|
|
846
|
+
//# sourceMappingURL=storage.d.ts.map
|