@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,559 @@
|
|
|
1
|
+
import type { AuthConfig } from '../auth';
|
|
2
|
+
import type { RunResultsExport } from '../collectionRunner';
|
|
3
|
+
import type { CustomTheme } from './customTheme';
|
|
4
|
+
import type { Environment } from './environment';
|
|
5
|
+
import type { SavedRequest } from './request';
|
|
6
|
+
import type { Snippet } from './snippet';
|
|
7
|
+
import type { TabGroup } from './tabGroup';
|
|
8
|
+
import type { ScriptRef } from './script';
|
|
9
|
+
import type { BodyType, HttpMethod, KeyValue, Variable } from './common';
|
|
10
|
+
/**
|
|
11
|
+
* A named group of saved HTTP requests.
|
|
12
|
+
*/
|
|
13
|
+
export interface Collection {
|
|
14
|
+
/**
|
|
15
|
+
* Unique database ID.
|
|
16
|
+
*/
|
|
17
|
+
id: number;
|
|
18
|
+
/**
|
|
19
|
+
* Stable portable identifier for export/import deduplication.
|
|
20
|
+
*/
|
|
21
|
+
uuid: string;
|
|
22
|
+
/**
|
|
23
|
+
* Display name shown in the sidebar.
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
/**
|
|
27
|
+
* Collection-scoped variables for {{key}} substitution in requests.
|
|
28
|
+
*/
|
|
29
|
+
variables: Variable[];
|
|
30
|
+
/**
|
|
31
|
+
* Headers sent with every request in this collection.
|
|
32
|
+
*/
|
|
33
|
+
headers: KeyValue[];
|
|
34
|
+
/**
|
|
35
|
+
* User-Agent override for requests in this collection; empty inherits the global default.
|
|
36
|
+
*/
|
|
37
|
+
userAgent: string;
|
|
38
|
+
/**
|
|
39
|
+
* Default Authorization settings inherited by requests unless overridden.
|
|
40
|
+
*/
|
|
41
|
+
auth: AuthConfig;
|
|
42
|
+
/**
|
|
43
|
+
* JavaScript run before every request in this collection (before request-level pre script).
|
|
44
|
+
*/
|
|
45
|
+
pre_request_script: string;
|
|
46
|
+
/**
|
|
47
|
+
* JavaScript run after every request in this collection (after request-level post script).
|
|
48
|
+
*/
|
|
49
|
+
post_request_script: string;
|
|
50
|
+
/**
|
|
51
|
+
* Ordered collection pre-request scripts; canonical source when non-empty.
|
|
52
|
+
*/
|
|
53
|
+
pre_request_scripts: ScriptRef[];
|
|
54
|
+
/**
|
|
55
|
+
* Ordered collection post-request scripts; canonical source when non-empty.
|
|
56
|
+
*/
|
|
57
|
+
post_request_scripts: ScriptRef[];
|
|
58
|
+
/**
|
|
59
|
+
* ISO 8601 timestamp when the collection was created.
|
|
60
|
+
*/
|
|
61
|
+
created_at: string;
|
|
62
|
+
/**
|
|
63
|
+
* When true on a team hub collection, non-admin users cannot delete it on the server.
|
|
64
|
+
*/
|
|
65
|
+
deletion_locked?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Id of the database connection that stores this collection.
|
|
68
|
+
*/
|
|
69
|
+
connectionId?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Optional sidebar color for visual grouping (CSS hex or rgba string).
|
|
72
|
+
*/
|
|
73
|
+
color?: string | null;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Result of listing collections, including user-facing warnings when a backend
|
|
77
|
+
* could not be read.
|
|
78
|
+
*/
|
|
79
|
+
export interface ListCollectionsResult {
|
|
80
|
+
/**
|
|
81
|
+
* Collections from the registry, with data hydrated from available backends.
|
|
82
|
+
*/
|
|
83
|
+
collections: Collection[];
|
|
84
|
+
/**
|
|
85
|
+
* Warnings when one or more database connections were unavailable or failed
|
|
86
|
+
* to respond; the list may be incomplete.
|
|
87
|
+
*/
|
|
88
|
+
warnings: string[];
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* A folder for organizing requests within a collection (single level).
|
|
92
|
+
*/
|
|
93
|
+
export interface Folder {
|
|
94
|
+
/**
|
|
95
|
+
* Unique database ID.
|
|
96
|
+
*/
|
|
97
|
+
id: number;
|
|
98
|
+
/**
|
|
99
|
+
* ID of the collection this folder belongs to.
|
|
100
|
+
*/
|
|
101
|
+
collection_id: number;
|
|
102
|
+
/**
|
|
103
|
+
* Stable portable identifier for export/import deduplication.
|
|
104
|
+
*/
|
|
105
|
+
uuid: string;
|
|
106
|
+
/**
|
|
107
|
+
* Display name shown in the sidebar.
|
|
108
|
+
*/
|
|
109
|
+
name: string;
|
|
110
|
+
/**
|
|
111
|
+
* Position among sibling folders for sidebar ordering.
|
|
112
|
+
*/
|
|
113
|
+
sort_order: number;
|
|
114
|
+
/**
|
|
115
|
+
* Folder-scoped variables for {{key}} substitution in requests.
|
|
116
|
+
*/
|
|
117
|
+
variables: Variable[];
|
|
118
|
+
/**
|
|
119
|
+
* Headers sent with every request in this folder.
|
|
120
|
+
*/
|
|
121
|
+
headers: KeyValue[];
|
|
122
|
+
/**
|
|
123
|
+
* User-Agent override for requests in this folder; empty inherits collection then global.
|
|
124
|
+
*/
|
|
125
|
+
userAgent: string;
|
|
126
|
+
/**
|
|
127
|
+
* Default Authorization settings inherited by requests unless overridden.
|
|
128
|
+
*/
|
|
129
|
+
auth: AuthConfig;
|
|
130
|
+
/**
|
|
131
|
+
* JavaScript run before every request in this folder (before request-level pre script).
|
|
132
|
+
*/
|
|
133
|
+
pre_request_script: string;
|
|
134
|
+
/**
|
|
135
|
+
* JavaScript run after every request in this folder (after request-level post script).
|
|
136
|
+
*/
|
|
137
|
+
post_request_script: string;
|
|
138
|
+
/**
|
|
139
|
+
* Ordered folder pre-request scripts; canonical source when non-empty.
|
|
140
|
+
*/
|
|
141
|
+
pre_request_scripts: ScriptRef[];
|
|
142
|
+
/**
|
|
143
|
+
* Ordered folder post-request scripts; canonical source when non-empty.
|
|
144
|
+
*/
|
|
145
|
+
post_request_scripts: ScriptRef[];
|
|
146
|
+
/**
|
|
147
|
+
* ISO 8601 timestamp when the folder was created.
|
|
148
|
+
*/
|
|
149
|
+
created_at: string;
|
|
150
|
+
/**
|
|
151
|
+
* Optional sidebar color for visual grouping (CSS hex or rgba string).
|
|
152
|
+
*/
|
|
153
|
+
color?: string | null;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* A markdown document attached to a collection or folder (for example README.md).
|
|
157
|
+
*/
|
|
158
|
+
export interface CollectionDocument {
|
|
159
|
+
/**
|
|
160
|
+
* Unique database ID.
|
|
161
|
+
*/
|
|
162
|
+
id: number;
|
|
163
|
+
/**
|
|
164
|
+
* ID of the collection this document belongs to.
|
|
165
|
+
*/
|
|
166
|
+
collection_id: number;
|
|
167
|
+
/**
|
|
168
|
+
* Stable portable identifier for export/import deduplication.
|
|
169
|
+
*/
|
|
170
|
+
uuid: string;
|
|
171
|
+
/**
|
|
172
|
+
* ID of the folder containing this document; null for collection root.
|
|
173
|
+
*/
|
|
174
|
+
folder_id: number | null;
|
|
175
|
+
/**
|
|
176
|
+
* Display file name shown in the sidebar (for example README.md).
|
|
177
|
+
*/
|
|
178
|
+
name: string;
|
|
179
|
+
/**
|
|
180
|
+
* Markdown body content.
|
|
181
|
+
*/
|
|
182
|
+
content: string;
|
|
183
|
+
/**
|
|
184
|
+
* Position among sibling documents for sidebar ordering.
|
|
185
|
+
*/
|
|
186
|
+
sort_order: number;
|
|
187
|
+
/**
|
|
188
|
+
* ISO 8601 timestamp when the document was created.
|
|
189
|
+
*/
|
|
190
|
+
created_at: string;
|
|
191
|
+
/**
|
|
192
|
+
* ISO 8601 timestamp when the document was last updated.
|
|
193
|
+
*/
|
|
194
|
+
updated_at: string;
|
|
195
|
+
/**
|
|
196
|
+
* Optional sidebar color for visual grouping (CSS hex or rgba string).
|
|
197
|
+
*/
|
|
198
|
+
color?: string | null;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Input for creating or updating a collection document.
|
|
202
|
+
*/
|
|
203
|
+
export interface SaveDocumentInput {
|
|
204
|
+
/**
|
|
205
|
+
* Existing document id when updating; omitted on create.
|
|
206
|
+
*/
|
|
207
|
+
id?: number;
|
|
208
|
+
/**
|
|
209
|
+
* ID of the collection this document belongs to.
|
|
210
|
+
*/
|
|
211
|
+
collection_id: number;
|
|
212
|
+
/**
|
|
213
|
+
* Stable portable identifier; generated when omitted on create.
|
|
214
|
+
*/
|
|
215
|
+
uuid?: string;
|
|
216
|
+
/**
|
|
217
|
+
* ID of the folder containing this document; null for collection root.
|
|
218
|
+
*/
|
|
219
|
+
folder_id?: number | null;
|
|
220
|
+
/**
|
|
221
|
+
* Display file name (for example README.md).
|
|
222
|
+
*/
|
|
223
|
+
name: string;
|
|
224
|
+
/**
|
|
225
|
+
* Markdown body content.
|
|
226
|
+
*/
|
|
227
|
+
content?: string;
|
|
228
|
+
/**
|
|
229
|
+
* Position among sibling documents for sidebar ordering.
|
|
230
|
+
*/
|
|
231
|
+
sort_order?: number;
|
|
232
|
+
/**
|
|
233
|
+
* Optional sidebar color for visual grouping (CSS hex or rgba string).
|
|
234
|
+
*/
|
|
235
|
+
color?: string | null;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Portable document shape for collection export/import (no database IDs).
|
|
239
|
+
*/
|
|
240
|
+
export interface ExportedDocument {
|
|
241
|
+
/**
|
|
242
|
+
* Stable portable identifier; omitted in legacy export files.
|
|
243
|
+
*/
|
|
244
|
+
uuid?: string;
|
|
245
|
+
/**
|
|
246
|
+
* Display file name (for example README.md).
|
|
247
|
+
*/
|
|
248
|
+
name: string;
|
|
249
|
+
/**
|
|
250
|
+
* Markdown body content.
|
|
251
|
+
*/
|
|
252
|
+
content: string;
|
|
253
|
+
/**
|
|
254
|
+
* Position among sibling documents for sidebar ordering.
|
|
255
|
+
*/
|
|
256
|
+
sort_order: number;
|
|
257
|
+
/**
|
|
258
|
+
* Name of the folder containing this document; null or omitted for collection root.
|
|
259
|
+
*/
|
|
260
|
+
folder_name?: string | null;
|
|
261
|
+
/**
|
|
262
|
+
* Portable folder identifier; preferred over folder_name when present.
|
|
263
|
+
*/
|
|
264
|
+
folder_uuid?: string | null;
|
|
265
|
+
/**
|
|
266
|
+
* Optional sidebar color for visual grouping (CSS hex or rgba string).
|
|
267
|
+
*/
|
|
268
|
+
color?: string | null;
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* Portable request shape for collection export/import (no database IDs).
|
|
272
|
+
*/
|
|
273
|
+
export interface ExportedRequest {
|
|
274
|
+
/**
|
|
275
|
+
* Stable portable identifier; omitted in legacy export files.
|
|
276
|
+
*/
|
|
277
|
+
uuid?: string;
|
|
278
|
+
/**
|
|
279
|
+
* Display name for the saved request.
|
|
280
|
+
*/
|
|
281
|
+
name: string;
|
|
282
|
+
/**
|
|
283
|
+
* HTTP method used for the request.
|
|
284
|
+
*/
|
|
285
|
+
method: HttpMethod;
|
|
286
|
+
/**
|
|
287
|
+
* Request URL without query parameters.
|
|
288
|
+
*/
|
|
289
|
+
url: string;
|
|
290
|
+
/**
|
|
291
|
+
* Request headers as editable key-value pairs.
|
|
292
|
+
*/
|
|
293
|
+
headers: KeyValue[];
|
|
294
|
+
/**
|
|
295
|
+
* User-Agent override for this request; empty inherits. Omitted in legacy exports.
|
|
296
|
+
*/
|
|
297
|
+
userAgent?: string;
|
|
298
|
+
/**
|
|
299
|
+
* Query parameters as editable key-value pairs.
|
|
300
|
+
*/
|
|
301
|
+
params: KeyValue[];
|
|
302
|
+
/**
|
|
303
|
+
* Authorization settings; none inherits collection auth at send time.
|
|
304
|
+
*/
|
|
305
|
+
auth?: AuthConfig;
|
|
306
|
+
/**
|
|
307
|
+
* Raw request body content.
|
|
308
|
+
*/
|
|
309
|
+
body: string;
|
|
310
|
+
/**
|
|
311
|
+
* Content type of the request body.
|
|
312
|
+
*/
|
|
313
|
+
body_type: BodyType;
|
|
314
|
+
/**
|
|
315
|
+
* Verbatim Raw body override; null when the structured editor is authoritative.
|
|
316
|
+
* Omitted in legacy export files.
|
|
317
|
+
*/
|
|
318
|
+
body_raw?: string | null;
|
|
319
|
+
/**
|
|
320
|
+
* When true, the Raw body drawer is open in the request editor.
|
|
321
|
+
* Omitted in legacy export files.
|
|
322
|
+
*/
|
|
323
|
+
body_raw_open?: boolean;
|
|
324
|
+
/**
|
|
325
|
+
* JavaScript run before the request is sent.
|
|
326
|
+
*/
|
|
327
|
+
pre_request_script: string;
|
|
328
|
+
/**
|
|
329
|
+
* JavaScript run after the response is received.
|
|
330
|
+
*/
|
|
331
|
+
post_request_script: string;
|
|
332
|
+
/**
|
|
333
|
+
* Ordered pre-request scripts when exported from a newer HarborClient build.
|
|
334
|
+
*/
|
|
335
|
+
pre_request_scripts?: ScriptRef[];
|
|
336
|
+
/**
|
|
337
|
+
* Ordered post-request scripts when exported from a newer HarborClient build.
|
|
338
|
+
*/
|
|
339
|
+
post_request_scripts?: ScriptRef[];
|
|
340
|
+
/**
|
|
341
|
+
* Free-form notes for this request.
|
|
342
|
+
*/
|
|
343
|
+
comment: string;
|
|
344
|
+
/**
|
|
345
|
+
* Comma-separated labels for organizing and searching requests.
|
|
346
|
+
*/
|
|
347
|
+
tags: string;
|
|
348
|
+
/**
|
|
349
|
+
* Position within the collection for sidebar ordering.
|
|
350
|
+
*/
|
|
351
|
+
sort_order: number;
|
|
352
|
+
/**
|
|
353
|
+
* Name of the folder containing this request; null or omitted for collection root.
|
|
354
|
+
*/
|
|
355
|
+
folder_name?: string | null;
|
|
356
|
+
/**
|
|
357
|
+
* Portable folder identifier; preferred over folder_name when present.
|
|
358
|
+
*/
|
|
359
|
+
folder_uuid?: string | null;
|
|
360
|
+
/**
|
|
361
|
+
* Optional sidebar color for visual grouping (CSS hex or rgba string).
|
|
362
|
+
*/
|
|
363
|
+
color?: string | null;
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* Portable folder shape for collection export/import (no database IDs).
|
|
367
|
+
*/
|
|
368
|
+
export interface ExportedFolder {
|
|
369
|
+
/**
|
|
370
|
+
* Stable portable identifier; omitted in legacy export files.
|
|
371
|
+
*/
|
|
372
|
+
uuid?: string;
|
|
373
|
+
/**
|
|
374
|
+
* Display name for the folder.
|
|
375
|
+
*/
|
|
376
|
+
name: string;
|
|
377
|
+
/**
|
|
378
|
+
* Position among sibling folders for sidebar ordering.
|
|
379
|
+
*/
|
|
380
|
+
sort_order: number;
|
|
381
|
+
/**
|
|
382
|
+
* Folder-scoped variables for {{key}} substitution in requests.
|
|
383
|
+
*/
|
|
384
|
+
variables?: Variable[];
|
|
385
|
+
/**
|
|
386
|
+
* Headers sent with every request in this folder.
|
|
387
|
+
*/
|
|
388
|
+
headers?: KeyValue[];
|
|
389
|
+
/**
|
|
390
|
+
* User-Agent override for requests in this folder; empty inherits. Omitted in legacy exports.
|
|
391
|
+
*/
|
|
392
|
+
userAgent?: string;
|
|
393
|
+
/**
|
|
394
|
+
* Default Authorization settings inherited by requests unless overridden.
|
|
395
|
+
*/
|
|
396
|
+
auth?: AuthConfig;
|
|
397
|
+
/**
|
|
398
|
+
* JavaScript run before every request in this folder.
|
|
399
|
+
*/
|
|
400
|
+
pre_request_script?: string;
|
|
401
|
+
/**
|
|
402
|
+
* JavaScript run after every request in this folder.
|
|
403
|
+
*/
|
|
404
|
+
post_request_script?: string;
|
|
405
|
+
/**
|
|
406
|
+
* Ordered folder pre-request scripts when exported from a newer HarborClient build.
|
|
407
|
+
*/
|
|
408
|
+
pre_request_scripts?: ScriptRef[];
|
|
409
|
+
/**
|
|
410
|
+
* Ordered folder post-request scripts when exported from a newer HarborClient build.
|
|
411
|
+
*/
|
|
412
|
+
post_request_scripts?: ScriptRef[];
|
|
413
|
+
/**
|
|
414
|
+
* Optional sidebar color for visual grouping (CSS hex or rgba string).
|
|
415
|
+
*/
|
|
416
|
+
color?: string | null;
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* Portable collection export file format.
|
|
420
|
+
*/
|
|
421
|
+
export interface CollectionExport {
|
|
422
|
+
/**
|
|
423
|
+
* HarborClient export schema version for forward compatibility.
|
|
424
|
+
*/
|
|
425
|
+
harborclientVersion: 1;
|
|
426
|
+
/**
|
|
427
|
+
* Discriminator identifying this file as a collection export.
|
|
428
|
+
*/
|
|
429
|
+
harborclientExport: 'collection';
|
|
430
|
+
/**
|
|
431
|
+
* Stable portable identifier; omitted in legacy export files.
|
|
432
|
+
*/
|
|
433
|
+
uuid?: string;
|
|
434
|
+
/**
|
|
435
|
+
* Display name for the collection.
|
|
436
|
+
*/
|
|
437
|
+
name: string;
|
|
438
|
+
/**
|
|
439
|
+
* Collection-scoped variables for {{key}} substitution in requests.
|
|
440
|
+
*/
|
|
441
|
+
variables: Variable[];
|
|
442
|
+
/**
|
|
443
|
+
* Headers sent with every request in this collection.
|
|
444
|
+
*/
|
|
445
|
+
headers: KeyValue[];
|
|
446
|
+
/**
|
|
447
|
+
* User-Agent override for requests in this collection; empty inherits global. Omitted in legacy exports.
|
|
448
|
+
*/
|
|
449
|
+
userAgent?: string;
|
|
450
|
+
/**
|
|
451
|
+
* Default Authorization settings inherited by requests unless overridden.
|
|
452
|
+
*/
|
|
453
|
+
auth?: AuthConfig;
|
|
454
|
+
/**
|
|
455
|
+
* JavaScript run before every request in this collection.
|
|
456
|
+
*/
|
|
457
|
+
pre_request_script: string;
|
|
458
|
+
/**
|
|
459
|
+
* JavaScript run after every request in this collection.
|
|
460
|
+
*/
|
|
461
|
+
post_request_script: string;
|
|
462
|
+
/**
|
|
463
|
+
* Ordered collection pre-request scripts when exported from a newer HarborClient build.
|
|
464
|
+
*/
|
|
465
|
+
pre_request_scripts?: ScriptRef[];
|
|
466
|
+
/**
|
|
467
|
+
* Ordered collection post-request scripts when exported from a newer HarborClient build.
|
|
468
|
+
*/
|
|
469
|
+
post_request_scripts?: ScriptRef[];
|
|
470
|
+
/**
|
|
471
|
+
* Folders for organizing requests within the collection.
|
|
472
|
+
*/
|
|
473
|
+
folders?: ExportedFolder[];
|
|
474
|
+
/**
|
|
475
|
+
* Saved requests belonging to the collection.
|
|
476
|
+
*/
|
|
477
|
+
requests: ExportedRequest[];
|
|
478
|
+
/**
|
|
479
|
+
* Markdown documents attached to the collection or its folders.
|
|
480
|
+
*/
|
|
481
|
+
documents?: ExportedDocument[];
|
|
482
|
+
/**
|
|
483
|
+
* Optional sidebar color for visual grouping (CSS hex or rgba string).
|
|
484
|
+
*/
|
|
485
|
+
color?: string | null;
|
|
486
|
+
}
|
|
487
|
+
/**
|
|
488
|
+
* Result of a collection export save-dialog action.
|
|
489
|
+
*/
|
|
490
|
+
export interface CollectionExportResult {
|
|
491
|
+
/**
|
|
492
|
+
* True when the user canceled the save dialog.
|
|
493
|
+
*/
|
|
494
|
+
canceled: boolean;
|
|
495
|
+
/**
|
|
496
|
+
* Absolute path where the file was written; omitted when canceled.
|
|
497
|
+
*/
|
|
498
|
+
path?: string;
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
* Whether an import created a new document or updated an existing one.
|
|
502
|
+
*/
|
|
503
|
+
export type ImportAction = 'created' | 'updated';
|
|
504
|
+
/**
|
|
505
|
+
* Result of a unified File -> Import action that auto-detects export type.
|
|
506
|
+
*/
|
|
507
|
+
export type ImportFilePayload = {
|
|
508
|
+
/**
|
|
509
|
+
* Base file name including extension.
|
|
510
|
+
*/
|
|
511
|
+
name: string;
|
|
512
|
+
/**
|
|
513
|
+
* Absolute path to the selected file.
|
|
514
|
+
*/
|
|
515
|
+
path: string;
|
|
516
|
+
/**
|
|
517
|
+
* Normalized extension with a leading dot (for example `.json`).
|
|
518
|
+
*/
|
|
519
|
+
extension: string;
|
|
520
|
+
/**
|
|
521
|
+
* Raw UTF-8 file contents.
|
|
522
|
+
*/
|
|
523
|
+
contents: string;
|
|
524
|
+
};
|
|
525
|
+
/**
|
|
526
|
+
* Result of a unified File -> Import action that auto-detects export type.
|
|
527
|
+
*/
|
|
528
|
+
export type ImportEntityResult = {
|
|
529
|
+
kind: 'collection';
|
|
530
|
+
collection: Collection;
|
|
531
|
+
action: ImportAction;
|
|
532
|
+
} | {
|
|
533
|
+
kind: 'request';
|
|
534
|
+
request: SavedRequest;
|
|
535
|
+
action: ImportAction;
|
|
536
|
+
} | {
|
|
537
|
+
kind: 'environment';
|
|
538
|
+
environment: Environment;
|
|
539
|
+
action: ImportAction;
|
|
540
|
+
} | {
|
|
541
|
+
kind: 'tab_group';
|
|
542
|
+
tabGroups: TabGroup[];
|
|
543
|
+
action: ImportAction;
|
|
544
|
+
} | {
|
|
545
|
+
kind: 'snippet';
|
|
546
|
+
snippet: Snippet;
|
|
547
|
+
action: ImportAction;
|
|
548
|
+
} | {
|
|
549
|
+
kind: 'theme';
|
|
550
|
+
theme: CustomTheme;
|
|
551
|
+
action: ImportAction;
|
|
552
|
+
} | {
|
|
553
|
+
kind: 'run-results';
|
|
554
|
+
data: RunResultsExport;
|
|
555
|
+
} | {
|
|
556
|
+
kind: 'plugin-file';
|
|
557
|
+
file: ImportFilePayload;
|
|
558
|
+
};
|
|
559
|
+
//# sourceMappingURL=collection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../src/types/collection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,KAAK,EAA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"file":"collection.js","sourceRoot":"","sources":["../../src/types/collection.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type { BodyType, FormDataPart, FormDataPartType, HttpMethod, KeyValue } from '@harborclient/http';
|
|
2
|
+
/**
|
|
3
|
+
* A collection-scoped variable for use in request URLs via {{key}} syntax.
|
|
4
|
+
*/
|
|
5
|
+
export interface Variable {
|
|
6
|
+
/**
|
|
7
|
+
* Variable name referenced in {{key}} placeholders.
|
|
8
|
+
*/
|
|
9
|
+
key: string;
|
|
10
|
+
/**
|
|
11
|
+
* Value substituted when the variable is resolved.
|
|
12
|
+
*/
|
|
13
|
+
value: string;
|
|
14
|
+
/**
|
|
15
|
+
* Fallback value used when value is empty.
|
|
16
|
+
*/
|
|
17
|
+
defaultValue: string;
|
|
18
|
+
/**
|
|
19
|
+
* When true, value is included in collection exports.
|
|
20
|
+
*/
|
|
21
|
+
share: boolean;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=common.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/types/common.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,QAAQ,EACR,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,QAAQ,EACT,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/types/common.ts"],"names":[],"mappings":""}
|