@scalar/api-client 3.6.1 → 3.8.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 +157 -0
- package/dist/components/HttpMethod/HttpMethod.vue.js +1 -1
- package/dist/components/HttpMethod/index.js +2 -0
- package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue.d.ts.map +1 -0
- package/dist/components/{ScalarAsciiArt.vue.js → ScalarAsciiArt/ScalarAsciiArt.vue.js} +3 -3
- package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue.js.map +1 -0
- package/dist/components/{ScalarAsciiArt.vue.script.js → ScalarAsciiArt/ScalarAsciiArt.vue.script.js} +1 -1
- package/dist/components/ScalarAsciiArt/ScalarAsciiArt.vue.script.js.map +1 -0
- package/dist/components/ScalarAsciiArt/index.d.ts +2 -0
- package/dist/components/ScalarAsciiArt/index.d.ts.map +1 -0
- package/dist/components/ScalarAsciiArt/index.js +2 -0
- package/dist/components/Sidebar/Actions/DeleteSidebarListElement.vue.d.ts +2 -2
- package/dist/components/Sidebar/Actions/SidebarListElementForm.vue.d.ts +2 -2
- package/dist/components/Sidebar/index.d.ts +2 -0
- package/dist/components/Sidebar/index.d.ts.map +1 -0
- package/dist/components/Sidebar/index.js +2 -0
- package/dist/components/ViewLayout/index.d.ts +4 -0
- package/dist/components/ViewLayout/index.d.ts.map +1 -0
- package/dist/components/ViewLayout/index.js +4 -0
- package/dist/plugins/posthog/index.d.ts.map +1 -1
- package/dist/plugins/posthog/index.js +21 -12
- package/dist/plugins/posthog/index.js.map +1 -1
- package/dist/plugins/posthog/sanitize-event-payload.d.ts +25 -0
- package/dist/plugins/posthog/sanitize-event-payload.d.ts.map +1 -0
- package/dist/plugins/posthog/sanitize-event-payload.js +136 -0
- package/dist/plugins/posthog/sanitize-event-payload.js.map +1 -0
- package/dist/style.css +214 -1651
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.js.map +1 -1
- package/dist/v2/blocks/operation-block/OperationBlock.vue.script.js +72 -32
- package/dist/v2/blocks/operation-block/OperationBlock.vue.script.js.map +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +2 -2
- package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.js +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.js.map +1 -1
- package/dist/v2/blocks/operation-block/components/Header.vue.script.js +3 -3
- package/dist/v2/blocks/operation-block/components/Header.vue.script.js.map +1 -1
- package/dist/v2/blocks/operation-block/components/OpenApiClientButton.vue.js +1 -1
- package/dist/v2/blocks/operation-block/index.d.ts +1 -0
- package/dist/v2/blocks/operation-block/index.d.ts.map +1 -1
- package/dist/v2/blocks/operation-block/index.js +2 -1
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.script.js +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.d.ts +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.js +15 -9
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.js.map +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.js +9 -7
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/process-body.js.map +1 -1
- package/dist/v2/blocks/operation-code-sample/index.d.ts +1 -0
- package/dist/v2/blocks/operation-code-sample/index.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/index.js +2 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.js +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/RequestBlock.vue.script.js +30 -17
- package/dist/v2/blocks/request-block/RequestBlock.vue.script.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.js +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestBody.vue.script.js +43 -10
- package/dist/v2/blocks/request-block/components/RequestBody.vue.script.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestCodeSnippet.vue.script.js +2 -2
- package/dist/v2/blocks/request-block/components/RequestParams.vue.d.ts +2 -2
- package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts +2 -2
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +4 -2
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.script.js +2 -2
- package/dist/v2/blocks/request-block/components/RequestTableRow.vue.script.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.js.map +1 -1
- package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.script.js +4 -1
- package/dist/v2/blocks/request-block/components/RequestTableTooltip.vue.script.js.map +1 -1
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts +2 -1
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.d.ts.map +1 -1
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.js +42 -13
- package/dist/v2/blocks/request-block/helpers/create-parameter-handlers.js.map +1 -1
- package/dist/v2/blocks/request-block/helpers/create-parameter-rows.d.ts +14 -0
- package/dist/v2/blocks/request-block/helpers/create-parameter-rows.d.ts.map +1 -0
- package/dist/v2/blocks/request-block/helpers/create-parameter-rows.js +136 -0
- package/dist/v2/blocks/request-block/helpers/create-parameter-rows.js.map +1 -0
- package/dist/v2/blocks/request-block/helpers/get-form-body-rows.js +1 -1
- package/dist/v2/blocks/response-block/ResponseBlock.vue.script.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBody.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBody.vue.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBody.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBody.vue.script.js +12 -10
- package/dist/v2/blocks/response-block/components/ResponseBody.vue.script.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts +2 -0
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.script.js +17 -4
- package/dist/v2/blocks/response-block/components/ResponseBodyPreview.vue.script.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.d.ts +3 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.script.js +21 -9
- package/dist/v2/blocks/response-block/components/ResponseBodyRaw.vue.script.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts +2 -2
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.script.js +2 -2
- package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.script.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.js +1 -1
- package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.js.map +1 -1
- package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.script.js +1 -0
- package/dist/v2/blocks/response-block/components/ResponseLoadingOverlay.vue.script.js.map +1 -1
- package/dist/v2/blocks/response-block/helpers/media-types.d.ts +1 -1
- package/dist/v2/blocks/response-block/helpers/media-types.d.ts.map +1 -1
- package/dist/v2/blocks/response-block/helpers/media-types.js +14 -7
- package/dist/v2/blocks/response-block/helpers/media-types.js.map +1 -1
- package/dist/v2/blocks/response-block/helpers/prettify-jsonc-string.d.ts +6 -0
- package/dist/v2/blocks/response-block/helpers/prettify-jsonc-string.d.ts.map +1 -0
- package/dist/v2/blocks/response-block/helpers/prettify-jsonc-string.js +22 -0
- package/dist/v2/blocks/response-block/helpers/prettify-jsonc-string.js.map +1 -0
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +2 -2
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.script.js +124 -91
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-address-bar-block/components/AddressBarHistory.vue.script.js +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.d.ts +2 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +30 -20
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.script.js +43 -21
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.d.ts +15 -2
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.js +1 -3
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.script.js +74 -28
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts +30 -20
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.script.js +190 -72
- package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.script.js +7 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts +26 -10
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.script.js +25 -3
- package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.script.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js +12 -3
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/oauth.js.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts +1 -0
- package/dist/v2/blocks/scalar-auth-selector-block/index.d.ts.map +1 -1
- package/dist/v2/components/code-input/CodeInput.vue.d.ts +4 -4
- package/dist/v2/components/code-input/CodeInput.vue.script.js +1 -1
- package/dist/v2/components/code-input/code-variable-widget.js +1 -1
- package/dist/v2/components/forms/ConfirmationForm.vue.d.ts +2 -2
- package/dist/v2/components/modals/DeleteModal.vue.d.ts +2 -2
- package/dist/v2/components/server/ServerDropdown.vue.d.ts +2 -2
- package/dist/v2/components/server/ServerDropdown.vue.js.map +1 -1
- package/dist/v2/components/server/ServerDropdown.vue.script.js +1 -1
- package/dist/v2/components/server/ServerDropdown.vue.script.js.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.js.map +1 -1
- package/dist/v2/components/sidebar/Sidebar.vue.script.js +4 -3
- package/dist/v2/components/sidebar/Sidebar.vue.script.js.map +1 -1
- package/dist/v2/constants.js +1 -1
- package/dist/v2/features/command-palette/components/CommandActionForm.vue.d.ts +2 -2
- package/dist/v2/features/command-palette/components/CommandActionInput.vue.d.ts +2 -2
- package/dist/v2/features/command-palette/index.d.ts +0 -2
- package/dist/v2/features/command-palette/index.d.ts.map +1 -1
- package/dist/v2/features/command-palette/index.js +1 -3
- package/dist/v2/features/environments/components/EnvironmentDeleteModal.vue.d.ts +2 -2
- package/dist/v2/features/modal/Modal.vue.d.ts +5 -7
- package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
- package/dist/v2/features/modal/Modal.vue.js.map +1 -1
- package/dist/v2/features/modal/Modal.vue.script.js +3 -3
- package/dist/v2/features/modal/Modal.vue.script.js.map +1 -1
- package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts +1 -1
- package/dist/v2/features/modal/helpers/create-api-client-modal.d.ts.map +1 -1
- package/dist/v2/features/modal/helpers/create-api-client-modal.js +8 -3
- package/dist/v2/features/modal/helpers/create-api-client-modal.js.map +1 -1
- package/dist/v2/features/modal/helpers/resolve-route-parameters.d.ts +5 -1
- package/dist/v2/features/modal/helpers/resolve-route-parameters.d.ts.map +1 -1
- package/dist/v2/features/modal/helpers/resolve-route-parameters.js +15 -4
- package/dist/v2/features/modal/helpers/resolve-route-parameters.js.map +1 -1
- package/dist/v2/features/modal/hooks/use-modal-sidebar.d.ts.map +1 -1
- package/dist/v2/features/modal/hooks/use-modal-sidebar.js +5 -1
- package/dist/v2/features/modal/hooks/use-modal-sidebar.js.map +1 -1
- package/dist/v2/features/modal/index.js +1 -1
- package/dist/v2/features/modal/modal-events.d.ts.map +1 -1
- package/dist/v2/features/modal/modal-events.js +10 -6
- package/dist/v2/features/modal/modal-events.js.map +1 -1
- package/dist/v2/features/operation/Operation.vue.d.ts +35 -3
- package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
- package/dist/v2/features/operation/Operation.vue.js.map +1 -1
- package/dist/v2/features/operation/Operation.vue.script.js +1 -9
- package/dist/v2/features/operation/Operation.vue.script.js.map +1 -1
- package/dist/v2/helpers/handle-hotkeys.d.ts.map +1 -1
- package/dist/v2/helpers/handle-hotkeys.js +4 -0
- package/dist/v2/helpers/handle-hotkeys.js.map +1 -1
- package/dist/v2/helpers/test-utils.d.ts +2 -0
- package/dist/v2/helpers/test-utils.d.ts.map +1 -1
- package/dist/v2/helpers/test-utils.js +18 -0
- package/dist/v2/helpers/test-utils.js.map +1 -0
- package/dist/v2/hooks/index.d.ts +2 -0
- package/dist/v2/hooks/index.d.ts.map +1 -0
- package/dist/v2/hooks/index.js +2 -0
- package/dist/v2/types/options.d.ts +1 -1
- package/dist/v2/types/options.d.ts.map +1 -1
- package/dist/v2/workspace-events.d.ts.map +1 -1
- package/dist/v2/workspace-events.js +2 -0
- package/dist/v2/workspace-events.js.map +1 -1
- package/dist/vue-styles.css +108 -658
- package/package.json +68 -97
- package/dist/components/IconSelector.vue.d.ts +0 -27
- package/dist/components/IconSelector.vue.d.ts.map +0 -1
- package/dist/components/IconSelector.vue.js +0 -7
- package/dist/components/IconSelector.vue.js.map +0 -1
- package/dist/components/IconSelector.vue.script.js +0 -65
- package/dist/components/IconSelector.vue.script.js.map +0 -1
- package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts +0 -7
- package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +0 -1
- package/dist/components/ImportCollection/IntegrationLogo.vue.js +0 -7
- package/dist/components/ImportCollection/IntegrationLogo.vue.js.map +0 -1
- package/dist/components/ImportCollection/IntegrationLogo.vue.script.js +0 -50
- package/dist/components/ImportCollection/IntegrationLogo.vue.script.js.map +0 -1
- package/dist/components/ScalarAsciiArt.vue.d.ts.map +0 -1
- package/dist/components/ScalarAsciiArt.vue.js.map +0 -1
- package/dist/components/ScalarAsciiArt.vue.script.js.map +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +0 -1
- package/dist/monacoeditorwork/editor.worker.bundle.js +0 -14319
- package/dist/monacoeditorwork/json.worker.bundle.js +0 -22098
- package/dist/monacoeditorwork/yaml.worker.bundle.js +0 -38414
- package/dist/v2/blocks/request-block/helpers/get-default-headers.d.ts +0 -42
- package/dist/v2/blocks/request-block/helpers/get-default-headers.d.ts.map +0 -1
- package/dist/v2/blocks/request-block/helpers/get-default-headers.js +0 -61
- package/dist/v2/blocks/request-block/helpers/get-default-headers.js.map +0 -1
- package/dist/v2/features/app/App.vue.d.ts +0 -75
- package/dist/v2/features/app/App.vue.d.ts.map +0 -1
- package/dist/v2/features/app/App.vue.js +0 -8
- package/dist/v2/features/app/App.vue.js.map +0 -1
- package/dist/v2/features/app/App.vue.script.js +0 -284
- package/dist/v2/features/app/App.vue.script.js.map +0 -1
- package/dist/v2/features/app/app-events.d.ts +0 -20
- package/dist/v2/features/app/app-events.d.ts.map +0 -1
- package/dist/v2/features/app/app-events.js +0 -254
- package/dist/v2/features/app/app-events.js.map +0 -1
- package/dist/v2/features/app/app-state.d.ts +0 -156
- package/dist/v2/features/app/app-state.d.ts.map +0 -1
- package/dist/v2/features/app/app-state.js +0 -717
- package/dist/v2/features/app/app-state.js.map +0 -1
- package/dist/v2/features/app/components/AppHeader.vue.d.ts +0 -43
- package/dist/v2/features/app/components/AppHeader.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/AppHeader.vue.js +0 -7
- package/dist/v2/features/app/components/AppHeader.vue.js.map +0 -1
- package/dist/v2/features/app/components/AppHeader.vue.script.js +0 -53
- package/dist/v2/features/app/components/AppHeader.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/AppHeaderActions.vue.d.ts +0 -32
- package/dist/v2/features/app/components/AppHeaderActions.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/AppHeaderActions.vue.js +0 -7
- package/dist/v2/features/app/components/AppHeaderActions.vue.js.map +0 -1
- package/dist/v2/features/app/components/AppHeaderActions.vue.script.js +0 -172
- package/dist/v2/features/app/components/AppHeaderActions.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts +0 -37
- package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/AppSidebar.vue.js +0 -9
- package/dist/v2/features/app/components/AppSidebar.vue.js.map +0 -1
- package/dist/v2/features/app/components/AppSidebar.vue.script.js +0 -466
- package/dist/v2/features/app/components/AppSidebar.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/CreateVersionModal.vue.d.ts +0 -28
- package/dist/v2/features/app/components/CreateVersionModal.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/CreateVersionModal.vue.js +0 -7
- package/dist/v2/features/app/components/CreateVersionModal.vue.js.map +0 -1
- package/dist/v2/features/app/components/CreateVersionModal.vue.script.js +0 -84
- package/dist/v2/features/app/components/CreateVersionModal.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts +0 -16
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.js +0 -7
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.js.map +0 -1
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.script.js +0 -58
- package/dist/v2/features/app/components/CreateWorkspaceModal.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/DesktopTab.vue.d.ts +0 -27
- package/dist/v2/features/app/components/DesktopTab.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/DesktopTab.vue.js +0 -9
- package/dist/v2/features/app/components/DesktopTab.vue.js.map +0 -1
- package/dist/v2/features/app/components/DesktopTab.vue.script.js +0 -121
- package/dist/v2/features/app/components/DesktopTab.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts +0 -14
- package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/DesktopTabs.vue.js +0 -7
- package/dist/v2/features/app/components/DesktopTabs.vue.js.map +0 -1
- package/dist/v2/features/app/components/DesktopTabs.vue.script.js +0 -75
- package/dist/v2/features/app/components/DesktopTabs.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/DocumentBreadcrumb.vue.d.ts +0 -25
- package/dist/v2/features/app/components/DocumentBreadcrumb.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/DocumentBreadcrumb.vue.js +0 -9
- package/dist/v2/features/app/components/DocumentBreadcrumb.vue.js.map +0 -1
- package/dist/v2/features/app/components/DocumentBreadcrumb.vue.script.js +0 -345
- package/dist/v2/features/app/components/DocumentBreadcrumb.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/DocumentSyncIndicator.vue.d.ts +0 -16
- package/dist/v2/features/app/components/DocumentSyncIndicator.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/PublishDocumentModal.vue.d.ts +0 -77
- package/dist/v2/features/app/components/PublishDocumentModal.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/PublishDocumentModal.vue.js +0 -7
- package/dist/v2/features/app/components/PublishDocumentModal.vue.js.map +0 -1
- package/dist/v2/features/app/components/PublishDocumentModal.vue.script.js +0 -209
- package/dist/v2/features/app/components/PublishDocumentModal.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/SidebarDocument.vue.d.ts +0 -45
- package/dist/v2/features/app/components/SidebarDocument.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/SidebarDocument.vue.js +0 -7
- package/dist/v2/features/app/components/SidebarDocument.vue.js.map +0 -1
- package/dist/v2/features/app/components/SidebarDocument.vue.script.js +0 -137
- package/dist/v2/features/app/components/SidebarDocument.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts +0 -26
- package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/SidebarItemMenu.vue.js +0 -7
- package/dist/v2/features/app/components/SidebarItemMenu.vue.js.map +0 -1
- package/dist/v2/features/app/components/SidebarItemMenu.vue.script.js +0 -175
- package/dist/v2/features/app/components/SidebarItemMenu.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/SplashScreen.vue.d.ts +0 -4
- package/dist/v2/features/app/components/SplashScreen.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/SplashScreen.vue.js +0 -9
- package/dist/v2/features/app/components/SplashScreen.vue.js.map +0 -1
- package/dist/v2/features/app/components/SplashScreen.vue.script.js +0 -20
- package/dist/v2/features/app/components/SplashScreen.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.d.ts +0 -18
- package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.d.ts.map +0 -1
- package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.js +0 -9
- package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.js.map +0 -1
- package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.script.js +0 -136
- package/dist/v2/features/app/components/SyncConflictResolutionEditor.vue.script.js.map +0 -1
- package/dist/v2/features/app/components/index.d.ts +0 -2
- package/dist/v2/features/app/components/index.d.ts.map +0 -1
- package/dist/v2/features/app/components/index.js +0 -2
- package/dist/v2/features/app/helpers/check-version-conflict.d.ts +0 -54
- package/dist/v2/features/app/helpers/check-version-conflict.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/check-version-conflict.js +0 -82
- package/dist/v2/features/app/helpers/check-version-conflict.js.map +0 -1
- package/dist/v2/features/app/helpers/compute-version-status.d.ts +0 -45
- package/dist/v2/features/app/helpers/compute-version-status.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/compute-version-status.js +0 -18
- package/dist/v2/features/app/helpers/compute-version-status.js.map +0 -1
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts +0 -59
- package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/create-api-client-app.js +0 -55
- package/dist/v2/features/app/helpers/create-api-client-app.js.map +0 -1
- package/dist/v2/features/app/helpers/create-draft-registry-document.d.ts +0 -39
- package/dist/v2/features/app/helpers/create-draft-registry-document.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/create-draft-registry-document.js +0 -64
- package/dist/v2/features/app/helpers/create-draft-registry-document.js.map +0 -1
- package/dist/v2/features/app/helpers/create-temp-operation.d.ts +0 -14
- package/dist/v2/features/app/helpers/create-temp-operation.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/create-temp-operation.js +0 -52
- package/dist/v2/features/app/helpers/create-temp-operation.js.map +0 -1
- package/dist/v2/features/app/helpers/detect-document-conflicts.d.ts +0 -26
- package/dist/v2/features/app/helpers/detect-document-conflicts.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/detect-document-conflicts.js +0 -27
- package/dist/v2/features/app/helpers/detect-document-conflicts.js.map +0 -1
- package/dist/v2/features/app/helpers/filter-workspaces.d.ts +0 -49
- package/dist/v2/features/app/helpers/filter-workspaces.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/filter-workspaces.js +0 -55
- package/dist/v2/features/app/helpers/filter-workspaces.js.map +0 -1
- package/dist/v2/features/app/helpers/get-route-param.d.ts +0 -7
- package/dist/v2/features/app/helpers/get-route-param.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/get-route-param.js +0 -12
- package/dist/v2/features/app/helpers/get-route-param.js.map +0 -1
- package/dist/v2/features/app/helpers/group-workspaces.d.ts +0 -44
- package/dist/v2/features/app/helpers/group-workspaces.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/group-workspaces.js +0 -53
- package/dist/v2/features/app/helpers/group-workspaces.js.map +0 -1
- package/dist/v2/features/app/helpers/load-registry-document.d.ts +0 -24
- package/dist/v2/features/app/helpers/load-registry-document.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/load-registry-document.js +0 -47
- package/dist/v2/features/app/helpers/load-registry-document.js.map +0 -1
- package/dist/v2/features/app/helpers/registry-error-messages.d.ts +0 -23
- package/dist/v2/features/app/helpers/registry-error-messages.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/registry-error-messages.js +0 -63
- package/dist/v2/features/app/helpers/registry-error-messages.js.map +0 -1
- package/dist/v2/features/app/helpers/routes.d.ts +0 -184
- package/dist/v2/features/app/helpers/routes.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/routes.js +0 -153
- package/dist/v2/features/app/helpers/routes.js.map +0 -1
- package/dist/v2/features/app/helpers/version-status-presentation.d.ts +0 -24
- package/dist/v2/features/app/helpers/version-status-presentation.d.ts.map +0 -1
- package/dist/v2/features/app/helpers/version-status-presentation.js +0 -43
- package/dist/v2/features/app/helpers/version-status-presentation.js.map +0 -1
- package/dist/v2/features/app/hooks/use-active-document-version.d.ts +0 -42
- package/dist/v2/features/app/hooks/use-active-document-version.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-active-document-version.js +0 -60
- package/dist/v2/features/app/hooks/use-active-document-version.js.map +0 -1
- package/dist/v2/features/app/hooks/use-document-filter.d.ts +0 -38
- package/dist/v2/features/app/hooks/use-document-filter.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-document-filter.js +0 -63
- package/dist/v2/features/app/hooks/use-document-filter.js.map +0 -1
- package/dist/v2/features/app/hooks/use-document-sync.d.ts +0 -126
- package/dist/v2/features/app/hooks/use-document-sync.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-document-sync.js +0 -448
- package/dist/v2/features/app/hooks/use-document-sync.js.map +0 -1
- package/dist/v2/features/app/hooks/use-document-watcher.d.ts +0 -30
- package/dist/v2/features/app/hooks/use-document-watcher.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-document-watcher.js +0 -168
- package/dist/v2/features/app/hooks/use-document-watcher.js.map +0 -1
- package/dist/v2/features/app/hooks/use-network-status.d.ts +0 -29
- package/dist/v2/features/app/hooks/use-network-status.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-network-status.js +0 -58
- package/dist/v2/features/app/hooks/use-network-status.js.map +0 -1
- package/dist/v2/features/app/hooks/use-sidebar-context-menu.d.ts +0 -17258
- package/dist/v2/features/app/hooks/use-sidebar-context-menu.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-sidebar-context-menu.js +0 -107
- package/dist/v2/features/app/hooks/use-sidebar-context-menu.js.map +0 -1
- package/dist/v2/features/app/hooks/use-sidebar-documents.d.ts +0 -119
- package/dist/v2/features/app/hooks/use-sidebar-documents.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-sidebar-documents.js +0 -219
- package/dist/v2/features/app/hooks/use-sidebar-documents.js.map +0 -1
- package/dist/v2/features/app/hooks/use-theme.d.ts +0 -56
- package/dist/v2/features/app/hooks/use-theme.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-theme.js +0 -94
- package/dist/v2/features/app/hooks/use-theme.js.map +0 -1
- package/dist/v2/features/app/hooks/use-version-conflict-check.d.ts +0 -35
- package/dist/v2/features/app/hooks/use-version-conflict-check.d.ts.map +0 -1
- package/dist/v2/features/app/hooks/use-version-conflict-check.js +0 -62
- package/dist/v2/features/app/hooks/use-version-conflict-check.js.map +0 -1
- package/dist/v2/features/app/index.d.ts +0 -10
- package/dist/v2/features/app/index.d.ts.map +0 -1
- package/dist/v2/features/app/index.js +0 -8
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts +0 -13
- package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/DocumentCollection.vue.js +0 -8
- package/dist/v2/features/collection/DocumentCollection.vue.js.map +0 -1
- package/dist/v2/features/collection/DocumentCollection.vue.script.js +0 -112
- package/dist/v2/features/collection/DocumentCollection.vue.script.js.map +0 -1
- package/dist/v2/features/collection/OperationCollection.vue.d.ts +0 -6
- package/dist/v2/features/collection/OperationCollection.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/OperationCollection.vue.js +0 -7
- package/dist/v2/features/collection/OperationCollection.vue.js.map +0 -1
- package/dist/v2/features/collection/OperationCollection.vue.script.js +0 -95
- package/dist/v2/features/collection/OperationCollection.vue.script.js.map +0 -1
- package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts +0 -6
- package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/WorkspaceCollection.vue.js +0 -7
- package/dist/v2/features/collection/WorkspaceCollection.vue.js.map +0 -1
- package/dist/v2/features/collection/WorkspaceCollection.vue.script.js +0 -74
- package/dist/v2/features/collection/WorkspaceCollection.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Authentication.vue.d.ts +0 -16
- package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Authentication.vue.js +0 -9
- package/dist/v2/features/collection/components/Authentication.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Authentication.vue.script.js +0 -174
- package/dist/v2/features/collection/components/Authentication.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Cookies.vue.d.ts +0 -21
- package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Cookies.vue.js +0 -7
- package/dist/v2/features/collection/components/Cookies.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Cookies.vue.script.js +0 -58
- package/dist/v2/features/collection/components/Cookies.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.d.ts +0 -12
- package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.js +0 -9
- package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.js.map +0 -1
- package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.script.js +0 -174
- package/dist/v2/features/collection/components/DocumentScriptsEditors.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/Editor.vue.d.ts +0 -16
- package/dist/v2/features/collection/components/Editor/Editor.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Editor/Editor.vue.js +0 -9
- package/dist/v2/features/collection/components/Editor/Editor.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/Editor.vue.script.js +0 -361
- package/dist/v2/features/collection/components/Editor/Editor.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.d.ts +0 -19
- package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.js +0 -7
- package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.script.js +0 -69
- package/dist/v2/features/collection/components/Editor/components/EditorDiagnosticsPanel.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.d.ts +0 -16
- package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.js +0 -7
- package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.script.js +0 -91
- package/dist/v2/features/collection/components/Editor/components/EditorSavePanel.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.d.ts +0 -12
- package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.js +0 -22
- package/dist/v2/features/collection/components/Editor/helpers/get-diagnostic-counts.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.d.ts +0 -11
- package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.js +0 -17
- package/dist/v2/features/collection/components/Editor/helpers/get-operation-context.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.d.ts +0 -7
- package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.js +0 -17
- package/dist/v2/features/collection/components/Editor/helpers/get-visible-diagnostics.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.d.ts +0 -10
- package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.js +0 -34
- package/dist/v2/features/collection/components/Editor/helpers/parse-editor-object.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/helpers/stringify-document.d.ts +0 -10
- package/dist/v2/features/collection/components/Editor/helpers/stringify-document.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Editor/helpers/stringify-document.js +0 -18
- package/dist/v2/features/collection/components/Editor/helpers/stringify-document.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.d.ts +0 -15
- package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.js +0 -36
- package/dist/v2/features/collection/components/Editor/hooks/use-editor-state.js.map +0 -1
- package/dist/v2/features/collection/components/Editor/index.d.ts +0 -2
- package/dist/v2/features/collection/components/Editor/index.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Editor/index.js +0 -2
- package/dist/v2/features/collection/components/Environment.vue.d.ts +0 -21
- package/dist/v2/features/collection/components/Environment.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Environment.vue.js +0 -7
- package/dist/v2/features/collection/components/Environment.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Environment.vue.script.js +0 -61
- package/dist/v2/features/collection/components/Environment.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Form.vue.d.ts +0 -29
- package/dist/v2/features/collection/components/Form.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Form.vue.js +0 -7
- package/dist/v2/features/collection/components/Form.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Form.vue.script.js +0 -78
- package/dist/v2/features/collection/components/Form.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/GetStarted.vue.d.ts +0 -21
- package/dist/v2/features/collection/components/GetStarted.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/GetStarted.vue.js +0 -7
- package/dist/v2/features/collection/components/GetStarted.vue.js.map +0 -1
- package/dist/v2/features/collection/components/GetStarted.vue.script.js +0 -144
- package/dist/v2/features/collection/components/GetStarted.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/LabelInput.vue.d.ts +0 -18
- package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/LabelInput.vue.js +0 -9
- package/dist/v2/features/collection/components/LabelInput.vue.js.map +0 -1
- package/dist/v2/features/collection/components/LabelInput.vue.script.js +0 -38
- package/dist/v2/features/collection/components/LabelInput.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Overview.vue.d.ts +0 -16
- package/dist/v2/features/collection/components/Overview.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Overview.vue.js +0 -9
- package/dist/v2/features/collection/components/Overview.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Overview.vue.script.js +0 -204
- package/dist/v2/features/collection/components/Overview.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/Runner.vue.d.ts +0 -16
- package/dist/v2/features/collection/components/Runner/components/Runner.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/Runner.vue.js +0 -7
- package/dist/v2/features/collection/components/Runner/components/Runner.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/Runner.vue.script.js +0 -223
- package/dist/v2/features/collection/components/Runner/components/Runner.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.d.ts +0 -20
- package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.js +0 -7
- package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.script.js +0 -45
- package/dist/v2/features/collection/components/Runner/components/RunnerCard.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.d.ts +0 -19
- package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.js +0 -7
- package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.script.js +0 -73
- package/dist/v2/features/collection/components/Runner/components/RunnerOrderItem.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.d.ts +0 -16
- package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.js +0 -7
- package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.script.js +0 -124
- package/dist/v2/features/collection/components/Runner/components/RunnerResultRow.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.d.ts +0 -17
- package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.js +0 -7
- package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.script.js +0 -126
- package/dist/v2/features/collection/components/Runner/components/RunnerResults.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.d.ts +0 -18
- package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.js +0 -7
- package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.script.js +0 -180
- package/dist/v2/features/collection/components/Runner/components/RunnerTree.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.d.ts +0 -14
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.js +0 -7
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.script.js +0 -44
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeExample.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.d.ts +0 -19
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.js +0 -7
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.script.js +0 -53
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeGroup.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.d.ts +0 -23
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.js +0 -7
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.script.js +0 -75
- package/dist/v2/features/collection/components/Runner/components/RunnerTreeOperation.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/hooks/index.d.ts +0 -3
- package/dist/v2/features/collection/components/Runner/hooks/index.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.d.ts +0 -75
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.js +0 -191
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-execution.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.d.ts +0 -46
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.js +0 -114
- package/dist/v2/features/collection/components/Runner/hooks/use-runner-selection.js.map +0 -1
- package/dist/v2/features/collection/components/Runner/index.d.ts +0 -2
- package/dist/v2/features/collection/components/Runner/index.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Scripts.vue.d.ts +0 -16
- package/dist/v2/features/collection/components/Scripts.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Scripts.vue.js +0 -7
- package/dist/v2/features/collection/components/Scripts.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Scripts.vue.script.js +0 -49
- package/dist/v2/features/collection/components/Scripts.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Servers.vue.d.ts +0 -16
- package/dist/v2/features/collection/components/Servers.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Servers.vue.js +0 -7
- package/dist/v2/features/collection/components/Servers.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Servers.vue.script.js +0 -219
- package/dist/v2/features/collection/components/Servers.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Settings.vue.d.ts +0 -16
- package/dist/v2/features/collection/components/Settings.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Settings.vue.js +0 -7
- package/dist/v2/features/collection/components/Settings.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Settings.vue.script.js +0 -81
- package/dist/v2/features/collection/components/Settings.vue.script.js.map +0 -1
- package/dist/v2/features/collection/components/Tabs.vue.d.ts +0 -8
- package/dist/v2/features/collection/components/Tabs.vue.d.ts.map +0 -1
- package/dist/v2/features/collection/components/Tabs.vue.js +0 -7
- package/dist/v2/features/collection/components/Tabs.vue.js.map +0 -1
- package/dist/v2/features/collection/components/Tabs.vue.script.js +0 -55
- package/dist/v2/features/collection/components/Tabs.vue.script.js.map +0 -1
- package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.d.ts +0 -12
- package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.d.ts.map +0 -1
- package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.js +0 -19
- package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.js.map +0 -1
- package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts +0 -42
- package/dist/v2/features/command-palette/TheCommandPalette.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/TheCommandPalette.vue.js +0 -9
- package/dist/v2/features/command-palette/TheCommandPalette.vue.js.map +0 -1
- package/dist/v2/features/command-palette/TheCommandPalette.vue.script.js +0 -189
- package/dist/v2/features/command-palette/TheCommandPalette.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts +0 -49
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.js +0 -7
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.script.js +0 -225
- package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts +0 -53
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.js +0 -7
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.script.js +0 -227
- package/dist/v2/features/command-palette/components/CommandPaletteImport.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.d.ts +0 -44
- package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.js +0 -9
- package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.script.js +0 -137
- package/dist/v2/features/command-palette/components/CommandPaletteImportCurl.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.d.ts +0 -30
- package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.js +0 -7
- package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.script.js +0 -156
- package/dist/v2/features/command-palette/components/CommandPaletteImportPostman.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.d.ts +0 -37
- package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.js +0 -7
- package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.script.js +0 -105
- package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts +0 -48
- package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.js +0 -7
- package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.script.js +0 -228
- package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts +0 -65
- package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.js +0 -7
- package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.js.map +0 -1
- package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.script.js +0 -142
- package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.d.ts +0 -58
- package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.js +0 -9
- package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.js.map +0 -1
- package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.script.js +0 -142
- package/dist/v2/features/command-palette/components/PostmanImportPreview.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.d.ts +0 -23
- package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.js +0 -9
- package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.js.map +0 -1
- package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.script.js +0 -138
- package/dist/v2/features/command-palette/components/PostmanRequestTreeRow.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/components/WatchModeToggle.vue.d.ts +0 -34
- package/dist/v2/features/command-palette/components/WatchModeToggle.vue.d.ts.map +0 -1
- package/dist/v2/features/command-palette/components/WatchModeToggle.vue.js +0 -7
- package/dist/v2/features/command-palette/components/WatchModeToggle.vue.js.map +0 -1
- package/dist/v2/features/command-palette/components/WatchModeToggle.vue.script.js +0 -39
- package/dist/v2/features/command-palette/components/WatchModeToggle.vue.script.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/generate-unique-slug.d.ts +0 -20
- package/dist/v2/features/command-palette/helpers/generate-unique-slug.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/generate-unique-slug.js +0 -33
- package/dist/v2/features/command-palette/helpers/generate-unique-slug.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-merge-key.d.ts +0 -11
- package/dist/v2/features/command-palette/helpers/get-merge-key.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-merge-key.js +0 -32
- package/dist/v2/features/command-palette/helpers/get-merge-key.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-openapi-document-details.d.ts +0 -24
- package/dist/v2/features/command-palette/helpers/get-openapi-document-details.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-openapi-document-details.js +0 -56
- package/dist/v2/features/command-palette/helpers/get-openapi-document-details.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.d.ts +0 -24
- package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.js +0 -22
- package/dist/v2/features/command-palette/helpers/get-openapi-from-postman.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-operation-from-curl.d.ts +0 -26
- package/dist/v2/features/command-palette/helpers/get-operation-from-curl.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-operation-from-curl.js +0 -119
- package/dist/v2/features/command-palette/helpers/get-operation-from-curl.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-postman-convert-options.d.ts +0 -14
- package/dist/v2/features/command-palette/helpers/get-postman-convert-options.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-postman-convert-options.js +0 -19
- package/dist/v2/features/command-palette/helpers/get-postman-convert-options.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-postman-document-details.d.ts +0 -28
- package/dist/v2/features/command-palette/helpers/get-postman-document-details.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/get-postman-document-details.js +0 -36
- package/dist/v2/features/command-palette/helpers/get-postman-document-details.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/import-document-to-workspace.d.ts +0 -30
- package/dist/v2/features/command-palette/helpers/import-document-to-workspace.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/import-document-to-workspace.js +0 -70
- package/dist/v2/features/command-palette/helpers/import-document-to-workspace.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/load-document-from-source.d.ts +0 -20
- package/dist/v2/features/command-palette/helpers/load-document-from-source.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/load-document-from-source.js +0 -72
- package/dist/v2/features/command-palette/helpers/load-document-from-source.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/parse-curl.d.ts +0 -14
- package/dist/v2/features/command-palette/helpers/parse-curl.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/parse-curl.js +0 -106
- package/dist/v2/features/command-palette/helpers/parse-curl.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/postman-request-collisions.d.ts +0 -11
- package/dist/v2/features/command-palette/helpers/postman-request-collisions.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/postman-request-collisions.js +0 -35
- package/dist/v2/features/command-palette/helpers/postman-request-collisions.js.map +0 -1
- package/dist/v2/features/command-palette/helpers/postman-request-tree.d.ts +0 -41
- package/dist/v2/features/command-palette/helpers/postman-request-tree.d.ts.map +0 -1
- package/dist/v2/features/command-palette/helpers/postman-request-tree.js +0 -139
- package/dist/v2/features/command-palette/helpers/postman-request-tree.js.map +0 -1
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts +0 -426
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts.map +0 -1
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.js +0 -207
- package/dist/v2/features/command-palette/hooks/use-command-palette-state.js.map +0 -1
- package/dist/v2/features/editor/config.d.ts +0 -16
- package/dist/v2/features/editor/config.d.ts.map +0 -1
- package/dist/v2/features/editor/config.js +0 -19
- package/dist/v2/features/editor/config.js.map +0 -1
- package/dist/v2/features/editor/helpers/configure-language-support.d.ts +0 -13
- package/dist/v2/features/editor/helpers/configure-language-support.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/configure-language-support.js +0 -48
- package/dist/v2/features/editor/helpers/configure-language-support.js.map +0 -1
- package/dist/v2/features/editor/helpers/ensure-monaco-environment.d.ts +0 -6
- package/dist/v2/features/editor/helpers/ensure-monaco-environment.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/ensure-monaco-environment.js +0 -21
- package/dist/v2/features/editor/helpers/ensure-monaco-environment.js.map +0 -1
- package/dist/v2/features/editor/helpers/json/create-json-model.d.ts +0 -12
- package/dist/v2/features/editor/helpers/json/create-json-model.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/json/create-json-model.js +0 -31
- package/dist/v2/features/editor/helpers/json/create-json-model.js.map +0 -1
- package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.d.ts +0 -14
- package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.js +0 -22
- package/dist/v2/features/editor/helpers/json/get-json-ast-node-from-path.js.map +0 -1
- package/dist/v2/features/editor/helpers/json/json-ast.d.ts +0 -12
- package/dist/v2/features/editor/helpers/json/json-ast.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/json/json-ast.js +0 -32
- package/dist/v2/features/editor/helpers/json/json-ast.js.map +0 -1
- package/dist/v2/features/editor/helpers/json/json-pointer-links.d.ts +0 -15
- package/dist/v2/features/editor/helpers/json/json-pointer-links.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/json/json-pointer-links.js +0 -104
- package/dist/v2/features/editor/helpers/json/json-pointer-links.js.map +0 -1
- package/dist/v2/features/editor/helpers/json/json-pointer-path.d.ts +0 -7
- package/dist/v2/features/editor/helpers/json/json-pointer-path.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/json/json-pointer-path.js +0 -27
- package/dist/v2/features/editor/helpers/json/json-pointer-path.js.map +0 -1
- package/dist/v2/features/editor/helpers/model.d.ts +0 -9
- package/dist/v2/features/editor/helpers/model.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/range-to-whole-line.d.ts +0 -14
- package/dist/v2/features/editor/helpers/range-to-whole-line.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/range-to-whole-line.js +0 -27
- package/dist/v2/features/editor/helpers/range-to-whole-line.js.map +0 -1
- package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.d.ts +0 -16
- package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.js +0 -84
- package/dist/v2/features/editor/helpers/theme/apply-scalar-theme.js.map +0 -1
- package/dist/v2/features/editor/helpers/theme/load-css-variables.d.ts +0 -36
- package/dist/v2/features/editor/helpers/theme/load-css-variables.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/theme/load-css-variables.js +0 -117
- package/dist/v2/features/editor/helpers/theme/load-css-variables.js.map +0 -1
- package/dist/v2/features/editor/helpers/yaml/create-yaml-model.d.ts +0 -13
- package/dist/v2/features/editor/helpers/yaml/create-yaml-model.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/yaml/create-yaml-model.js +0 -32
- package/dist/v2/features/editor/helpers/yaml/create-yaml-model.js.map +0 -1
- package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.d.ts +0 -19
- package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.d.ts.map +0 -1
- package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.js +0 -70
- package/dist/v2/features/editor/helpers/yaml/get-yaml-node-range-from-path.js.map +0 -1
- package/dist/v2/features/editor/hooks/use-editor-markers.d.ts +0 -152
- package/dist/v2/features/editor/hooks/use-editor-markers.d.ts.map +0 -1
- package/dist/v2/features/editor/hooks/use-editor-markers.js +0 -37
- package/dist/v2/features/editor/hooks/use-editor-markers.js.map +0 -1
- package/dist/v2/features/editor/hooks/use-editor.d.ts +0 -39
- package/dist/v2/features/editor/hooks/use-editor.d.ts.map +0 -1
- package/dist/v2/features/editor/hooks/use-editor.js +0 -133
- package/dist/v2/features/editor/hooks/use-editor.js.map +0 -1
- package/dist/v2/features/editor/hooks/use-json-pointer-link-support.d.ts +0 -16
- package/dist/v2/features/editor/hooks/use-json-pointer-link-support.d.ts.map +0 -1
- package/dist/v2/features/editor/hooks/use-json-pointer-link-support.js +0 -45
- package/dist/v2/features/editor/hooks/use-json-pointer-link-support.js.map +0 -1
- package/dist/v2/features/editor/hooks/use-three-way-merge-editor.d.ts +0 -77
- package/dist/v2/features/editor/hooks/use-three-way-merge-editor.d.ts.map +0 -1
- package/dist/v2/features/editor/hooks/use-three-way-merge-editor.js +0 -396
- package/dist/v2/features/editor/hooks/use-three-way-merge-editor.js.map +0 -1
- package/dist/v2/features/editor/index.d.ts +0 -5
- package/dist/v2/features/editor/index.d.ts.map +0 -1
- package/dist/v2/features/editor/index.js +0 -5
- package/dist/v2/features/editor/schemas/openapi-3.1-schema.json.js +0 -51
- package/dist/v2/features/editor/schemas/openapi-3.1-schema.json.js.map +0 -1
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts +0 -10
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +0 -1
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.js +0 -9
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.js.map +0 -1
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.script.js +0 -188
- package/dist/v2/features/global-cookies/components/CookiesTable.vue.script.js.map +0 -1
- package/dist/v2/features/global-cookies/index.d.ts +0 -2
- package/dist/v2/features/global-cookies/index.d.ts.map +0 -1
- package/dist/v2/features/global-cookies/index.js +0 -2
- package/dist/v2/features/settings/CollectionSettings.vue.d.ts +0 -28
- package/dist/v2/features/settings/CollectionSettings.vue.d.ts.map +0 -1
- package/dist/v2/features/settings/CollectionSettings.vue.js +0 -7
- package/dist/v2/features/settings/CollectionSettings.vue.js.map +0 -1
- package/dist/v2/features/settings/CollectionSettings.vue.script.js +0 -229
- package/dist/v2/features/settings/CollectionSettings.vue.script.js.map +0 -1
- package/dist/v2/features/settings/DocumentSettings.vue.d.ts +0 -20
- package/dist/v2/features/settings/DocumentSettings.vue.d.ts.map +0 -1
- package/dist/v2/features/settings/DocumentSettings.vue.js +0 -7
- package/dist/v2/features/settings/DocumentSettings.vue.js.map +0 -1
- package/dist/v2/features/settings/DocumentSettings.vue.script.js +0 -92
- package/dist/v2/features/settings/DocumentSettings.vue.script.js.map +0 -1
- package/dist/v2/features/settings/components/Appearance.vue.d.ts +0 -11
- package/dist/v2/features/settings/components/Appearance.vue.d.ts.map +0 -1
- package/dist/v2/features/settings/components/Appearance.vue.js +0 -7
- package/dist/v2/features/settings/components/Appearance.vue.js.map +0 -1
- package/dist/v2/features/settings/components/Appearance.vue.script.js +0 -63
- package/dist/v2/features/settings/components/Appearance.vue.script.js.map +0 -1
- package/dist/v2/features/settings/components/Section.vue.d.ts +0 -16
- package/dist/v2/features/settings/components/Section.vue.d.ts.map +0 -1
- package/dist/v2/features/settings/components/Section.vue.js +0 -7
- package/dist/v2/features/settings/components/Section.vue.js.map +0 -1
- package/dist/v2/features/settings/components/Section.vue.script.js +0 -30
- package/dist/v2/features/settings/components/Section.vue.script.js.map +0 -1
- package/dist/v2/features/settings/helpers/get-theme-colors.d.ts +0 -10
- package/dist/v2/features/settings/helpers/get-theme-colors.d.ts.map +0 -1
- package/dist/v2/features/settings/helpers/get-theme-colors.js +0 -68
- package/dist/v2/features/settings/helpers/get-theme-colors.js.map +0 -1
- package/dist/v2/features/settings/index.d.ts +0 -3
- package/dist/v2/features/settings/index.d.ts.map +0 -1
- package/dist/v2/features/settings/index.js +0 -3
- package/dist/v2/helpers/download-document.d.ts +0 -2
- package/dist/v2/helpers/download-document.d.ts.map +0 -1
- package/dist/v2/helpers/download-document.js +0 -42
- package/dist/v2/helpers/download-document.js.map +0 -1
- package/dist/v2/helpers/drag-handle-factory.d.ts +0 -16
- package/dist/v2/helpers/drag-handle-factory.d.ts.map +0 -1
- package/dist/v2/helpers/drag-handle-factory.js +0 -258
- package/dist/v2/helpers/drag-handle-factory.js.map +0 -1
- package/dist/v2/helpers/get-tab-details.d.ts +0 -43
- package/dist/v2/helpers/get-tab-details.d.ts.map +0 -1
- package/dist/v2/helpers/get-tab-details.js +0 -54
- package/dist/v2/helpers/get-tab-details.js.map +0 -1
- package/dist/v2/helpers/is-url.d.ts +0 -2
- package/dist/v2/helpers/is-url.d.ts.map +0 -1
- package/dist/v2/helpers/is-url.js +0 -10
- package/dist/v2/helpers/is-url.js.map +0 -1
- package/dist/v2/helpers/safe-run.d.ts +0 -34
- package/dist/v2/helpers/safe-run.d.ts.map +0 -1
- package/dist/v2/helpers/safe-run.js +0 -43
- package/dist/v2/helpers/safe-run.js.map +0 -1
- package/dist/v2/helpers/storage.d.ts +0 -31
- package/dist/v2/helpers/storage.d.ts.map +0 -1
- package/dist/v2/helpers/storage.js +0 -37
- package/dist/v2/helpers/storage.js.map +0 -1
- package/dist/v2/hooks/use-color-mode.d.ts +0 -20
- package/dist/v2/hooks/use-color-mode.d.ts.map +0 -1
- package/dist/v2/hooks/use-color-mode.js +0 -72
- package/dist/v2/hooks/use-color-mode.js.map +0 -1
- package/dist/v2/types/configuration.d.ts +0 -278
- package/dist/v2/types/configuration.d.ts.map +0 -1
- /package/dist/components/{ScalarAsciiArt.vue.d.ts → ScalarAsciiArt/ScalarAsciiArt.vue.d.ts} +0 -0
- /package/dist/{index.js → types/index.js} +0 -0
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Run a function and capture any thrown error as a tagged result so callers
|
|
3
|
-
* never have to write `try/catch` themselves.
|
|
4
|
-
*
|
|
5
|
-
* Resolves to `{ ok: true, data }` when `fn` returns (or its promise
|
|
6
|
-
* resolves) and to `{ ok: false, error }` when it throws synchronously or
|
|
7
|
-
* the returned promise rejects. The error is also logged via `console.error`
|
|
8
|
-
* so unexpected failures still surface in the devtools console while the
|
|
9
|
-
* caller decides how to present them to the user.
|
|
10
|
-
*
|
|
11
|
-
* Useful for guarding `await`s where a rejection would otherwise leave UI
|
|
12
|
-
* state inconsistent (e.g. a loading flag that is reset only on the success
|
|
13
|
-
* path). Because `safeRun` itself never rejects, the post-await cleanup can
|
|
14
|
-
* run on the next line without a `try/finally` block.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* const outcome = await safeRun(() => fetcher())
|
|
18
|
-
* isLoading.value = false
|
|
19
|
-
* if (!outcome.ok) {
|
|
20
|
-
* toast(outcome.error, 'error')
|
|
21
|
-
* return
|
|
22
|
-
* }
|
|
23
|
-
* useData(outcome.data)
|
|
24
|
-
*/
|
|
25
|
-
export declare const safeRun: <T>(fn: () => Promise<T> | T) => Promise<{
|
|
26
|
-
readonly ok: true;
|
|
27
|
-
readonly data: Awaited<T>;
|
|
28
|
-
readonly error?: undefined;
|
|
29
|
-
} | {
|
|
30
|
-
readonly ok: false;
|
|
31
|
-
readonly error: string;
|
|
32
|
-
readonly data?: undefined;
|
|
33
|
-
}>;
|
|
34
|
-
//# sourceMappingURL=safe-run.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"safe-run.d.ts","sourceRoot":"","sources":["../../../src/v2/helpers/safe-run.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,OAAO,GAAU,CAAC,EAAE,IAAI,MAAM,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC;;;;;;;;EAaxD,CAAA"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
//#region src/v2/helpers/safe-run.ts
|
|
2
|
-
/**
|
|
3
|
-
* Run a function and capture any thrown error as a tagged result so callers
|
|
4
|
-
* never have to write `try/catch` themselves.
|
|
5
|
-
*
|
|
6
|
-
* Resolves to `{ ok: true, data }` when `fn` returns (or its promise
|
|
7
|
-
* resolves) and to `{ ok: false, error }` when it throws synchronously or
|
|
8
|
-
* the returned promise rejects. The error is also logged via `console.error`
|
|
9
|
-
* so unexpected failures still surface in the devtools console while the
|
|
10
|
-
* caller decides how to present them to the user.
|
|
11
|
-
*
|
|
12
|
-
* Useful for guarding `await`s where a rejection would otherwise leave UI
|
|
13
|
-
* state inconsistent (e.g. a loading flag that is reset only on the success
|
|
14
|
-
* path). Because `safeRun` itself never rejects, the post-await cleanup can
|
|
15
|
-
* run on the next line without a `try/finally` block.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* const outcome = await safeRun(() => fetcher())
|
|
19
|
-
* isLoading.value = false
|
|
20
|
-
* if (!outcome.ok) {
|
|
21
|
-
* toast(outcome.error, 'error')
|
|
22
|
-
* return
|
|
23
|
-
* }
|
|
24
|
-
* useData(outcome.data)
|
|
25
|
-
*/
|
|
26
|
-
var safeRun = async (fn) => {
|
|
27
|
-
try {
|
|
28
|
-
return {
|
|
29
|
-
ok: true,
|
|
30
|
-
data: await fn()
|
|
31
|
-
};
|
|
32
|
-
} catch (error) {
|
|
33
|
-
console.error(error);
|
|
34
|
-
return {
|
|
35
|
-
ok: false,
|
|
36
|
-
error: error instanceof Error ? error.message : String(error)
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
//#endregion
|
|
41
|
-
export { safeRun };
|
|
42
|
-
|
|
43
|
-
//# sourceMappingURL=safe-run.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"safe-run.js","names":[],"sources":["../../../src/v2/helpers/safe-run.ts"],"sourcesContent":["/**\n * Run a function and capture any thrown error as a tagged result so callers\n * never have to write `try/catch` themselves.\n *\n * Resolves to `{ ok: true, data }` when `fn` returns (or its promise\n * resolves) and to `{ ok: false, error }` when it throws synchronously or\n * the returned promise rejects. The error is also logged via `console.error`\n * so unexpected failures still surface in the devtools console while the\n * caller decides how to present them to the user.\n *\n * Useful for guarding `await`s where a rejection would otherwise leave UI\n * state inconsistent (e.g. a loading flag that is reset only on the success\n * path). Because `safeRun` itself never rejects, the post-await cleanup can\n * run on the next line without a `try/finally` block.\n *\n * @example\n * const outcome = await safeRun(() => fetcher())\n * isLoading.value = false\n * if (!outcome.ok) {\n * toast(outcome.error, 'error')\n * return\n * }\n * useData(outcome.data)\n */\nexport const safeRun = async <T>(fn: () => Promise<T> | T) => {\n try {\n return {\n ok: true,\n data: await fn(),\n } as const\n } catch (error) {\n console.error(error)\n return {\n ok: false,\n error: error instanceof Error ? error.message : String(error),\n } as const\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,IAAa,UAAU,OAAU,OAA6B;AAC5D,KAAI;AACF,SAAO;GACL,IAAI;GACJ,MAAM,MAAM,IAAI;GACjB;UACM,OAAO;AACd,UAAQ,MAAM,MAAM;AACpB,SAAO;GACL,IAAI;GACJ,OAAO,iBAAiB,QAAQ,MAAM,UAAU,OAAO,MAAM;GAC9D"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Handles persistence of the active workspace ID in localStorage.
|
|
3
|
-
*
|
|
4
|
-
* Usage example:
|
|
5
|
-
* ```ts
|
|
6
|
-
* // Set the active workspace id
|
|
7
|
-
* workspaceStorage.setActiveWorkspaceId('workspace-1');
|
|
8
|
-
*
|
|
9
|
-
* // Get the currently active workspace id
|
|
10
|
-
* const id = workspaceStorage.getActiveWorkspaceId();
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
export declare const workspaceStorage: {
|
|
14
|
-
/**
|
|
15
|
-
* We keep the currently active path so we can reload it if needed
|
|
16
|
-
*/
|
|
17
|
-
readonly setCurrentPath: (path: string) => void;
|
|
18
|
-
/**
|
|
19
|
-
* Retrieve the last active path
|
|
20
|
-
*/
|
|
21
|
-
readonly getLastPath: () => string | null;
|
|
22
|
-
/**
|
|
23
|
-
* Persist the telemetry enabled state
|
|
24
|
-
*/
|
|
25
|
-
readonly setTelemetry: (enabled: boolean) => void;
|
|
26
|
-
/**
|
|
27
|
-
* Retrieve the persisted telemetry enabled state. Returns null if never set.
|
|
28
|
-
*/
|
|
29
|
-
readonly getTelemetry: () => boolean | null;
|
|
30
|
-
};
|
|
31
|
-
//# sourceMappingURL=storage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../../src/v2/helpers/storage.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,gBAAgB;IAC3B;;OAEG;oCACoB,MAAM,KAAG,IAAI;IAQpC;;OAEG;gCACc,MAAM,GAAG,IAAI;IAI9B;;OAEG;qCACqB,OAAO,KAAG,IAAI;IAItC;;OAEG;iCACe,OAAO,GAAG,IAAI;CAOxB,CAAA"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { safeLocalStorage } from "@scalar/helpers/object/local-storage";
|
|
2
|
-
//#region src/v2/helpers/storage.ts
|
|
3
|
-
var CURRENT_PATH_KEY = "scalar.currentPath";
|
|
4
|
-
var TELEMETRY_KEY = "scalar.telemetry";
|
|
5
|
-
/**
|
|
6
|
-
* Handles persistence of the active workspace ID in localStorage.
|
|
7
|
-
*
|
|
8
|
-
* Usage example:
|
|
9
|
-
* ```ts
|
|
10
|
-
* // Set the active workspace id
|
|
11
|
-
* workspaceStorage.setActiveWorkspaceId('workspace-1');
|
|
12
|
-
*
|
|
13
|
-
* // Get the currently active workspace id
|
|
14
|
-
* const id = workspaceStorage.getActiveWorkspaceId();
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
var workspaceStorage = {
|
|
18
|
-
setCurrentPath: (path) => {
|
|
19
|
-
if (path === "/") return;
|
|
20
|
-
safeLocalStorage().setItem(CURRENT_PATH_KEY, path);
|
|
21
|
-
},
|
|
22
|
-
getLastPath: () => {
|
|
23
|
-
return safeLocalStorage().getItem(CURRENT_PATH_KEY);
|
|
24
|
-
},
|
|
25
|
-
setTelemetry: (enabled) => {
|
|
26
|
-
safeLocalStorage().setItem(TELEMETRY_KEY, String(enabled));
|
|
27
|
-
},
|
|
28
|
-
getTelemetry: () => {
|
|
29
|
-
const value = safeLocalStorage().getItem(TELEMETRY_KEY);
|
|
30
|
-
if (value === null) return null;
|
|
31
|
-
return value === "true";
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
//#endregion
|
|
35
|
-
export { workspaceStorage };
|
|
36
|
-
|
|
37
|
-
//# sourceMappingURL=storage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storage.js","names":[],"sources":["../../../src/v2/helpers/storage.ts"],"sourcesContent":["import { safeLocalStorage } from '@scalar/helpers/object/local-storage'\n\nconst CURRENT_PATH_KEY = 'scalar.currentPath' as const\nconst TELEMETRY_KEY = 'scalar.telemetry' as const\n\n/**\n * Handles persistence of the active workspace ID in localStorage.\n *\n * Usage example:\n * ```ts\n * // Set the active workspace id\n * workspaceStorage.setActiveWorkspaceId('workspace-1');\n *\n * // Get the currently active workspace id\n * const id = workspaceStorage.getActiveWorkspaceId();\n * ```\n */\nexport const workspaceStorage = {\n /**\n * We keep the currently active path so we can reload it if needed\n */\n setCurrentPath: (path: string): void => {\n // We have an infinite redirect loop if we set the current path to the root path\n if (path === '/') {\n return\n }\n safeLocalStorage().setItem(CURRENT_PATH_KEY, path)\n },\n\n /**\n * Retrieve the last active path\n */\n getLastPath: (): string | null => {\n return safeLocalStorage().getItem(CURRENT_PATH_KEY)\n },\n\n /**\n * Persist the telemetry enabled state\n */\n setTelemetry: (enabled: boolean): void => {\n safeLocalStorage().setItem(TELEMETRY_KEY, String(enabled))\n },\n\n /**\n * Retrieve the persisted telemetry enabled state. Returns null if never set.\n */\n getTelemetry: (): boolean | null => {\n const value = safeLocalStorage().getItem(TELEMETRY_KEY)\n if (value === null) {\n return null\n }\n return value === 'true'\n },\n} as const\n"],"mappings":";;AAEA,IAAM,mBAAmB;AACzB,IAAM,gBAAgB;;;;;;;;;;;;;AActB,IAAa,mBAAmB;CAI9B,iBAAiB,SAAuB;AAEtC,MAAI,SAAS,IACX;AAEF,oBAAkB,CAAC,QAAQ,kBAAkB,KAAK;;CAMpD,mBAAkC;AAChC,SAAO,kBAAkB,CAAC,QAAQ,iBAAiB;;CAMrD,eAAe,YAA2B;AACxC,oBAAkB,CAAC,QAAQ,eAAe,OAAO,QAAQ,CAAC;;CAM5D,oBAAoC;EAClC,MAAM,QAAQ,kBAAkB,CAAC,QAAQ,cAAc;AACvD,MAAI,UAAU,KACZ,QAAO;AAET,SAAO,UAAU;;CAEpB"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { WorkspaceStore } from '@scalar/workspace-store/client';
|
|
2
|
-
import type { ColorMode } from '@scalar/workspace-store/schemas/workspace';
|
|
3
|
-
import { type MaybeRefOrGetter } from 'vue';
|
|
4
|
-
/**
|
|
5
|
-
* Composable hook that manages color mode (dark/light/system) based on workspace store configuration.
|
|
6
|
-
* Automatically listens to system preference changes when mode is set to 'system'.
|
|
7
|
-
*
|
|
8
|
-
* @param options - Configuration options for the color mode hook.
|
|
9
|
-
* @param options.workspaceStore - The workspace store instance that contains the color mode preference.
|
|
10
|
-
* @returns Reactive color mode state and computed properties.
|
|
11
|
-
*/
|
|
12
|
-
export declare const useColorMode: ({ workspaceStore }: {
|
|
13
|
-
workspaceStore: MaybeRefOrGetter<WorkspaceStore | null>;
|
|
14
|
-
}) => {
|
|
15
|
-
/** The current color mode from the workspace store (reactive). */
|
|
16
|
-
colorMode: import("vue").ComputedRef<ColorMode>;
|
|
17
|
-
/** Whether the current effective color mode is dark (reactive). */
|
|
18
|
-
isDarkMode: import("vue").ComputedRef<boolean>;
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=use-color-mode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-color-mode.d.ts","sourceRoot":"","sources":["../../../src/v2/hooks/use-color-mode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2CAA2C,CAAA;AAC1E,OAAO,EAAE,KAAK,gBAAgB,EAAyD,MAAM,KAAK,CAAA;AA+ClG;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,GAAI,oBAAoB;IAAE,cAAc,EAAE,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;CAAE;IAiCxG,kEAAkE;;IAElE,mEAAmE;;CAGtE,CAAA"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { computed, onMounted, onUnmounted, ref, toValue, watch } from "vue";
|
|
2
|
-
//#region src/v2/hooks/use-color-mode.ts
|
|
3
|
-
/**
|
|
4
|
-
* Gets the system color mode preference from the browser.
|
|
5
|
-
* Falls back to 'light' if running in a non-browser environment.
|
|
6
|
-
*
|
|
7
|
-
* @returns The system preference for dark or light mode.
|
|
8
|
-
*/
|
|
9
|
-
var getSystemModePreference = () => {
|
|
10
|
-
if (typeof window === "undefined" || typeof window?.matchMedia !== "function") return "light";
|
|
11
|
-
return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* Converts a ColorMode to a DarkLightMode by resolving 'system' to the actual system preference.
|
|
15
|
-
*
|
|
16
|
-
* @param mode - The color mode to convert.
|
|
17
|
-
* @returns The resolved dark or light mode.
|
|
18
|
-
*/
|
|
19
|
-
var getDarkLightMode = (mode) => {
|
|
20
|
-
return mode === "system" ? getSystemModePreference() : mode;
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Applies the color mode by adding/removing the appropriate CSS classes on the document body.
|
|
24
|
-
* This function is safe to call in non-browser environments (no-op).
|
|
25
|
-
*
|
|
26
|
-
* @param mode - The dark or light mode to apply.
|
|
27
|
-
*/
|
|
28
|
-
var applyColorMode = (mode) => {
|
|
29
|
-
if (typeof document === "undefined") return;
|
|
30
|
-
const isDark = mode === "dark";
|
|
31
|
-
document.body.classList.toggle("dark-mode", isDark);
|
|
32
|
-
document.body.classList.toggle("light-mode", !isDark);
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Composable hook that manages color mode (dark/light/system) based on workspace store configuration.
|
|
36
|
-
* Automatically listens to system preference changes when mode is set to 'system'.
|
|
37
|
-
*
|
|
38
|
-
* @param options - Configuration options for the color mode hook.
|
|
39
|
-
* @param options.workspaceStore - The workspace store instance that contains the color mode preference.
|
|
40
|
-
* @returns Reactive color mode state and computed properties.
|
|
41
|
-
*/
|
|
42
|
-
var useColorMode = ({ workspaceStore }) => {
|
|
43
|
-
const colorMode = computed(() => toValue(workspaceStore)?.workspace["x-scalar-color-mode"] ?? "system");
|
|
44
|
-
const darkLightMode = computed(() => getDarkLightMode(colorMode.value));
|
|
45
|
-
const isDarkMode = computed(() => darkLightMode.value === "dark");
|
|
46
|
-
const mediaQuery = ref(null);
|
|
47
|
-
/**
|
|
48
|
-
* Handles system preference changes.
|
|
49
|
-
* Only updates the color mode if the current mode is set to 'system'.
|
|
50
|
-
*/
|
|
51
|
-
const handleSystemPreferenceChange = () => {
|
|
52
|
-
if (colorMode.value === "system") applyColorMode(getSystemModePreference());
|
|
53
|
-
};
|
|
54
|
-
watch(colorMode, (mode) => applyColorMode(getDarkLightMode(mode)), { immediate: true });
|
|
55
|
-
onMounted(() => {
|
|
56
|
-
if (typeof window !== "undefined" && typeof window?.matchMedia === "function") {
|
|
57
|
-
mediaQuery.value = window.matchMedia("(prefers-color-scheme: dark)");
|
|
58
|
-
mediaQuery.value.addEventListener("change", handleSystemPreferenceChange);
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
onUnmounted(() => {
|
|
62
|
-
mediaQuery.value?.removeEventListener("change", handleSystemPreferenceChange);
|
|
63
|
-
});
|
|
64
|
-
return {
|
|
65
|
-
colorMode,
|
|
66
|
-
isDarkMode
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
//#endregion
|
|
70
|
-
export { useColorMode };
|
|
71
|
-
|
|
72
|
-
//# sourceMappingURL=use-color-mode.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-color-mode.js","names":[],"sources":["../../../src/v2/hooks/use-color-mode.ts"],"sourcesContent":["import type { WorkspaceStore } from '@scalar/workspace-store/client'\nimport type { ColorMode } from '@scalar/workspace-store/schemas/workspace'\nimport { type MaybeRefOrGetter, computed, onMounted, onUnmounted, ref, toValue, watch } from 'vue'\n\n/**\n * Specific dark or light mode, excluding the 'system' option.\n */\ntype DarkLightMode = Exclude<ColorMode, 'system'>\n\n/**\n * Gets the system color mode preference from the browser.\n * Falls back to 'light' if running in a non-browser environment.\n *\n * @returns The system preference for dark or light mode.\n */\nconst getSystemModePreference = (): DarkLightMode => {\n if (typeof window === 'undefined' || typeof window?.matchMedia !== 'function') {\n return 'light'\n }\n\n return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'\n}\n\n/**\n * Converts a ColorMode to a DarkLightMode by resolving 'system' to the actual system preference.\n *\n * @param mode - The color mode to convert.\n * @returns The resolved dark or light mode.\n */\nconst getDarkLightMode = (mode: ColorMode): DarkLightMode => {\n return mode === 'system' ? getSystemModePreference() : mode\n}\n\n/**\n * Applies the color mode by adding/removing the appropriate CSS classes on the document body.\n * This function is safe to call in non-browser environments (no-op).\n *\n * @param mode - The dark or light mode to apply.\n */\nconst applyColorMode = (mode: DarkLightMode): void => {\n if (typeof document === 'undefined') {\n return\n }\n\n const isDark = mode === 'dark'\n document.body.classList.toggle('dark-mode', isDark)\n document.body.classList.toggle('light-mode', !isDark)\n}\n\n/**\n * Composable hook that manages color mode (dark/light/system) based on workspace store configuration.\n * Automatically listens to system preference changes when mode is set to 'system'.\n *\n * @param options - Configuration options for the color mode hook.\n * @param options.workspaceStore - The workspace store instance that contains the color mode preference.\n * @returns Reactive color mode state and computed properties.\n */\nexport const useColorMode = ({ workspaceStore }: { workspaceStore: MaybeRefOrGetter<WorkspaceStore | null> }) => {\n const colorMode = computed(() => toValue(workspaceStore)?.workspace['x-scalar-color-mode'] ?? 'system')\n const darkLightMode = computed(() => getDarkLightMode(colorMode.value))\n const isDarkMode = computed(() => darkLightMode.value === 'dark')\n\n const mediaQuery = ref<MediaQueryList | null>(null)\n\n /**\n * Handles system preference changes.\n * Only updates the color mode if the current mode is set to 'system'.\n */\n const handleSystemPreferenceChange = (): void => {\n if (colorMode.value === 'system') {\n applyColorMode(getSystemModePreference())\n }\n }\n\n // Watch for colorMode changes and apply them immediately\n watch(colorMode, (mode) => applyColorMode(getDarkLightMode(mode)), { immediate: true })\n\n onMounted(() => {\n // Listen to system preference changes when mode is 'system'\n if (typeof window !== 'undefined' && typeof window?.matchMedia === 'function') {\n mediaQuery.value = window.matchMedia('(prefers-color-scheme: dark)')\n mediaQuery.value.addEventListener('change', handleSystemPreferenceChange)\n }\n })\n\n onUnmounted(() => {\n mediaQuery.value?.removeEventListener('change', handleSystemPreferenceChange)\n })\n\n return {\n /** The current color mode from the workspace store (reactive). */\n colorMode,\n /** Whether the current effective color mode is dark (reactive). */\n isDarkMode,\n }\n}\n"],"mappings":";;;;;;;;AAeA,IAAM,gCAA+C;AACnD,KAAI,OAAO,WAAW,eAAe,OAAO,QAAQ,eAAe,WACjE,QAAO;AAGT,QAAO,OAAO,WAAW,+BAA+B,CAAC,UAAU,SAAS;;;;;;;;AAS9E,IAAM,oBAAoB,SAAmC;AAC3D,QAAO,SAAS,WAAW,yBAAyB,GAAG;;;;;;;;AASzD,IAAM,kBAAkB,SAA8B;AACpD,KAAI,OAAO,aAAa,YACtB;CAGF,MAAM,SAAS,SAAS;AACxB,UAAS,KAAK,UAAU,OAAO,aAAa,OAAO;AACnD,UAAS,KAAK,UAAU,OAAO,cAAc,CAAC,OAAO;;;;;;;;;;AAWvD,IAAa,gBAAgB,EAAE,qBAAkF;CAC/G,MAAM,YAAY,eAAe,QAAQ,eAAe,EAAE,UAAU,0BAA0B,SAAS;CACvG,MAAM,gBAAgB,eAAe,iBAAiB,UAAU,MAAM,CAAC;CACvE,MAAM,aAAa,eAAe,cAAc,UAAU,OAAO;CAEjE,MAAM,aAAa,IAA2B,KAAK;;;;;CAMnD,MAAM,qCAA2C;AAC/C,MAAI,UAAU,UAAU,SACtB,gBAAe,yBAAyB,CAAC;;AAK7C,OAAM,YAAY,SAAS,eAAe,iBAAiB,KAAK,CAAC,EAAE,EAAE,WAAW,MAAM,CAAC;AAEvF,iBAAgB;AAEd,MAAI,OAAO,WAAW,eAAe,OAAO,QAAQ,eAAe,YAAY;AAC7E,cAAW,QAAQ,OAAO,WAAW,+BAA+B;AACpE,cAAW,MAAM,iBAAiB,UAAU,6BAA6B;;GAE3E;AAEF,mBAAkB;AAChB,aAAW,OAAO,oBAAoB,UAAU,6BAA6B;GAC7E;AAEF,QAAO;EAEL;EAEA;EACD"}
|
|
@@ -1,278 +0,0 @@
|
|
|
1
|
-
import type { Result } from '@scalar/helpers/types/result';
|
|
2
|
-
/**
|
|
3
|
-
* Coordinates that uniquely identify a registry-backed document. Both the
|
|
4
|
-
* fetch and publish APIs operate on these so callers can compose a single
|
|
5
|
-
* meta object once and pass it around.
|
|
6
|
-
*/
|
|
7
|
-
export type RegistryDocumentMeta = {
|
|
8
|
-
namespace: string;
|
|
9
|
-
slug: string;
|
|
10
|
-
version?: string;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Error codes surfaced by `fetchDocument`. Errors are returned as a
|
|
14
|
-
* discriminated union so callers can react to each failure mode without
|
|
15
|
-
* having to parse free-form strings:
|
|
16
|
-
*
|
|
17
|
-
* - `NOT_FOUND`: the registry has no document at the requested
|
|
18
|
-
* namespace / slug / version. Usually a sign that the version was
|
|
19
|
-
* removed upstream or the caller is asking for a draft that does not
|
|
20
|
-
* exist yet.
|
|
21
|
-
* - `FETCH_FAILED`: a network or server error prevented the fetch from
|
|
22
|
-
* completing. The request can usually be retried.
|
|
23
|
-
* - `UNAUTHORIZED`: the caller is not signed in / not allowed to read
|
|
24
|
-
* from this namespace. The host application is expected to surface a
|
|
25
|
-
* sign-in flow.
|
|
26
|
-
* - `UNKNOWN`: a catch-all for failure modes the adapter cannot map
|
|
27
|
-
* onto one of the dedicated codes above. Callers surface a generic
|
|
28
|
-
* error message and, when present, the human-readable `message`
|
|
29
|
-
* field returned alongside the code.
|
|
30
|
-
*/
|
|
31
|
-
export type FetchRegistryDocumentError = 'NOT_FOUND' | 'FETCH_FAILED' | 'UNAUTHORIZED' | 'UNKNOWN';
|
|
32
|
-
/**
|
|
33
|
-
* Fetches the full document from the registry by meta. When a `registry`
|
|
34
|
-
* adapter is wired up, registry meta takes priority over
|
|
35
|
-
* `x-scalar-original-source-url` when syncing. Returns the document as a
|
|
36
|
-
* plain object on success, or a discriminated `FetchRegistryDocumentError`
|
|
37
|
-
* code (with an optional human-readable `message`) on failure.
|
|
38
|
-
*/
|
|
39
|
-
export type ImportDocumentFromRegistry = (meta: RegistryDocumentMeta) => Promise<Result<{
|
|
40
|
-
document: Record<string, unknown>;
|
|
41
|
-
versionSha?: string;
|
|
42
|
-
}, FetchRegistryDocumentError>>;
|
|
43
|
-
/**
|
|
44
|
-
* Error codes surfaced by `publishDocument`. Errors are returned as a
|
|
45
|
-
* discriminated union so callers can react to each failure mode without
|
|
46
|
-
* having to parse free-form strings:
|
|
47
|
-
*
|
|
48
|
-
* - `CONFLICT`: the namespace/slug is already taken on the registry.
|
|
49
|
-
* Resolve by picking a new slug or pulling the upstream version.
|
|
50
|
-
* - `FETCH_FAILED`: a network or server error prevented the publish from
|
|
51
|
-
* completing. The request can usually be retried.
|
|
52
|
-
* - `UNAUTHORIZED`: the caller is not signed in / not allowed to publish
|
|
53
|
-
* to this namespace. The host application is expected to surface a
|
|
54
|
-
* sign-in flow.
|
|
55
|
-
* - `UNKNOWN`: a catch-all for failure modes the adapter cannot map
|
|
56
|
-
* onto one of the dedicated codes above. Callers surface a generic
|
|
57
|
-
* error message and, when present, the human-readable `message`
|
|
58
|
-
* field returned alongside the code.
|
|
59
|
-
*/
|
|
60
|
-
export type PublishRegistryDocumentError = 'CONFLICT' | 'FETCH_FAILED' | 'UNAUTHORIZED' | 'UNKNOWN';
|
|
61
|
-
/**
|
|
62
|
-
* Discriminated outcome of a `publishDocument` call.
|
|
63
|
-
*/
|
|
64
|
-
export type PublishRegistryDocumentResult = Result<RegistryDocumentMeta & {
|
|
65
|
-
/** Commit hash advertised by the registry for the published version. */
|
|
66
|
-
commitHash?: string;
|
|
67
|
-
}, PublishRegistryDocumentError>;
|
|
68
|
-
/**
|
|
69
|
-
* Publishes a brand-new document to the registry under the given
|
|
70
|
-
* namespace and slug. Used for team-workspace documents that do not yet
|
|
71
|
-
* have a registry entry - subsequent sync flows then go through the
|
|
72
|
-
* Pull / Push pair once the registry has assigned a commit hash.
|
|
73
|
-
*
|
|
74
|
-
* The caller also chooses the document's initial `version` and passes
|
|
75
|
-
* the full document body. The local workspace mirrors the same string
|
|
76
|
-
* on `info.version` after a successful publish so the document and the
|
|
77
|
-
* registry stay in sync without a follow-up edit.
|
|
78
|
-
*/
|
|
79
|
-
export type PublishRegistryDocument = (input: {
|
|
80
|
-
namespace: string;
|
|
81
|
-
slug: string;
|
|
82
|
-
/** Initial version the document is published under (e.g. `1.0.0`). */
|
|
83
|
-
version: string;
|
|
84
|
-
/**
|
|
85
|
-
* Full OpenAPI document body to seed the registry entry with. The
|
|
86
|
-
* caller is expected to apply the chosen `version` to `info.version`
|
|
87
|
-
* before passing the document so the registry stores a consistent
|
|
88
|
-
* snapshot.
|
|
89
|
-
*/
|
|
90
|
-
document: Record<string, unknown>;
|
|
91
|
-
}) => Promise<PublishRegistryDocumentResult>;
|
|
92
|
-
/**
|
|
93
|
-
* Error codes surfaced by `publishVersion`. Errors are returned as a
|
|
94
|
-
* discriminated union so callers can react to each failure mode without
|
|
95
|
-
* having to parse free-form strings:
|
|
96
|
-
*
|
|
97
|
-
* - `CONFLICT`: the registry's current commit hash for this version no
|
|
98
|
-
* longer matches the one the caller passed in. Somebody pushed in the
|
|
99
|
-
* meantime - the caller is expected to pull the upstream changes,
|
|
100
|
-
* resolve any merge conflicts and try again.
|
|
101
|
-
* - `NOT_FOUND`: the registry has no document at this namespace / slug
|
|
102
|
-
* to publish a new version against. Use `publishDocument` instead to
|
|
103
|
-
* create the document group first.
|
|
104
|
-
* - `FETCH_FAILED`: a network or server error prevented the publish
|
|
105
|
-
* from completing. The request can usually be retried.
|
|
106
|
-
* - `UNAUTHORIZED`: the caller is not signed in / not allowed to
|
|
107
|
-
* publish to this namespace. The host application is expected to
|
|
108
|
-
* surface a sign-in flow.
|
|
109
|
-
* - `UNKNOWN`: a catch-all for failure modes the adapter cannot map
|
|
110
|
-
* onto one of the dedicated codes above. Callers surface a generic
|
|
111
|
-
* error message and, when present, the human-readable `message`
|
|
112
|
-
* field returned alongside the code.
|
|
113
|
-
*/
|
|
114
|
-
export type PublishRegistryVersionError = 'CONFLICT' | 'NOT_FOUND' | 'FETCH_FAILED' | 'UNAUTHORIZED' | 'UNKNOWN';
|
|
115
|
-
/**
|
|
116
|
-
* Discriminated outcome of a `publishVersion` call. On success the
|
|
117
|
-
* registry returns the new commit hash so the caller can persist it on
|
|
118
|
-
* `x-scalar-registry-meta` and detect upstream drift on subsequent
|
|
119
|
-
* refreshes.
|
|
120
|
-
*/
|
|
121
|
-
export type PublishRegistryVersionResult = Result<RegistryDocumentMeta & {
|
|
122
|
-
/** Commit hash advertised by the registry for the published version. */
|
|
123
|
-
commitHash?: string;
|
|
124
|
-
}, PublishRegistryVersionError>;
|
|
125
|
-
/**
|
|
126
|
-
* Publishes a new version of an existing registry document. Pairs with
|
|
127
|
-
* `publishDocument` (which creates the document group itself) and is
|
|
128
|
-
* what the team-workspace "Push" flow ultimately calls once the user
|
|
129
|
-
* has saved local edits.
|
|
130
|
-
*
|
|
131
|
-
* The caller passes the `commitHash` it currently has locally so the
|
|
132
|
-
* registry can do optimistic concurrency: if the upstream hash has
|
|
133
|
-
* moved on, the publish is rejected with `CONFLICT` and the caller is
|
|
134
|
-
* expected to pull the latest version before retrying.
|
|
135
|
-
*/
|
|
136
|
-
export type PublishRegistryVersion = (input: {
|
|
137
|
-
namespace: string;
|
|
138
|
-
slug: string;
|
|
139
|
-
/** Version identifier the caller is publishing (e.g. `1.2.0`). */
|
|
140
|
-
version: string;
|
|
141
|
-
/**
|
|
142
|
-
* Full OpenAPI document body that should become the new state on the
|
|
143
|
-
* registry for this `version`. Mirrors the input shape of
|
|
144
|
-
* `publishDocument` so adapters can share the same upload helper.
|
|
145
|
-
*/
|
|
146
|
-
document: Record<string, unknown>;
|
|
147
|
-
/**
|
|
148
|
-
* Commit hash the caller currently believes is the latest one for
|
|
149
|
-
* this `version`. The registry compares this against its own current
|
|
150
|
-
* hash and rejects the publish with `CONFLICT` when they no longer
|
|
151
|
-
* match, preventing accidental overwrites of upstream changes.
|
|
152
|
-
*/
|
|
153
|
-
commitHash?: string;
|
|
154
|
-
}) => Promise<PublishRegistryVersionResult>;
|
|
155
|
-
/**
|
|
156
|
-
* A single version that the registry advertises for a document group.
|
|
157
|
-
*
|
|
158
|
-
* Mirrors the minimum surface the sidebar needs to render a version row
|
|
159
|
-
* (the version label and an optional commit hash). Loaded vs unloaded
|
|
160
|
-
* state is derived later by matching against workspace-store documents.
|
|
161
|
-
*/
|
|
162
|
-
export type RegistryDocumentVersion = {
|
|
163
|
-
version: string;
|
|
164
|
-
commitHash?: string;
|
|
165
|
-
};
|
|
166
|
-
/**
|
|
167
|
-
* A document group as advertised by the registry, before it is merged
|
|
168
|
-
* with locally loaded workspace documents. Lives at the configuration
|
|
169
|
-
* layer so consumers can produce these without depending on internal
|
|
170
|
-
* sidebar hooks.
|
|
171
|
-
*/
|
|
172
|
-
export type RegistryDocument = {
|
|
173
|
-
namespace: string;
|
|
174
|
-
slug: string;
|
|
175
|
-
title: string;
|
|
176
|
-
versions: RegistryDocumentVersion[];
|
|
177
|
-
};
|
|
178
|
-
/**
|
|
179
|
-
* Loading-aware wrapper for the list of registry documents.
|
|
180
|
-
*
|
|
181
|
-
* The sidebar uses the `status` to decide whether to render skeleton
|
|
182
|
-
* placeholders while the registry is being fetched. `documents` is
|
|
183
|
-
* optional during loading so callers can either render nothing or stream
|
|
184
|
-
* in cached results while a refresh is still in flight.
|
|
185
|
-
*/
|
|
186
|
-
export type RegistryDocumentsState = {
|
|
187
|
-
status: 'loading';
|
|
188
|
-
documents?: RegistryDocument[];
|
|
189
|
-
} | {
|
|
190
|
-
status: 'success';
|
|
191
|
-
documents: RegistryDocument[];
|
|
192
|
-
};
|
|
193
|
-
/**
|
|
194
|
-
* A namespace under which the user is allowed to publish documents.
|
|
195
|
-
*
|
|
196
|
-
* The publish modal renders one entry per namespace - as a static label
|
|
197
|
-
* when there is only one, or as a dropdown otherwise - so callers can
|
|
198
|
-
* surface the personal account, organisations, teams, etc. the user
|
|
199
|
-
* has access to.
|
|
200
|
-
*/
|
|
201
|
-
export type RegistryNamespace = {
|
|
202
|
-
/** Stable namespace identifier passed back to publish callbacks. */
|
|
203
|
-
namespace: string;
|
|
204
|
-
/** Optional human-readable label. Falls back to `namespace` when omitted. */
|
|
205
|
-
title?: string;
|
|
206
|
-
};
|
|
207
|
-
/**
|
|
208
|
-
* Loading-aware wrapper for the list of namespaces the user can publish
|
|
209
|
-
* to. Mirrors {@link RegistryDocumentsState} so the publish modal can
|
|
210
|
-
* render a skeleton row while the host application is still resolving
|
|
211
|
-
* the user's memberships.
|
|
212
|
-
*/
|
|
213
|
-
export type RegistryNamespacesState = {
|
|
214
|
-
status: 'loading';
|
|
215
|
-
namespaces?: RegistryNamespace[];
|
|
216
|
-
} | {
|
|
217
|
-
status: 'success';
|
|
218
|
-
namespaces: RegistryNamespace[];
|
|
219
|
-
};
|
|
220
|
-
/**
|
|
221
|
-
* Bundles every interaction the API client needs with an external
|
|
222
|
-
* registry. Consumers (Scalar Cloud, custom self-hosted setups) provide
|
|
223
|
-
* a single adapter object instead of wiring each callback up
|
|
224
|
-
* individually. The adapter itself is optional at the top level of the
|
|
225
|
-
* client - omit it to opt out of registry features entirely - but every
|
|
226
|
-
* field inside the adapter is required when it is provided.
|
|
227
|
-
*/
|
|
228
|
-
export type RegistryAdapter = {
|
|
229
|
-
/**
|
|
230
|
-
* Reactive list of all available registry documents with a loading
|
|
231
|
-
* status, used by the sidebar to render skeleton placeholders until
|
|
232
|
-
* the real list is ready.
|
|
233
|
-
*/
|
|
234
|
-
documents: RegistryDocumentsState;
|
|
235
|
-
/**
|
|
236
|
-
* Reactive list of namespaces the user can publish into. The publish
|
|
237
|
-
* modal uses it to show a single-line label (one namespace) or a
|
|
238
|
-
* dropdown (multiple namespaces) and falls back to a skeleton while
|
|
239
|
-
* the listing is still loading.
|
|
240
|
-
*/
|
|
241
|
-
namespaces: RegistryNamespacesState;
|
|
242
|
-
/**
|
|
243
|
-
* Fetches the full document from the registry by meta. When provided,
|
|
244
|
-
* registry meta takes priority over `x-scalar-original-source-url`
|
|
245
|
-
* when syncing.
|
|
246
|
-
*/
|
|
247
|
-
fetchDocument: ImportDocumentFromRegistry;
|
|
248
|
-
/**
|
|
249
|
-
* Publishes a brand-new document to the registry under the given
|
|
250
|
-
* namespace and slug. Returns a discriminated `Result` so callers can
|
|
251
|
-
* branch on `CONFLICT` / `FETCH_FAILED` / `UNAUTHORIZED` without
|
|
252
|
-
* string-matching error messages.
|
|
253
|
-
*/
|
|
254
|
-
publishDocument: PublishRegistryDocument;
|
|
255
|
-
/**
|
|
256
|
-
* Publishes a new version of an existing registry document. The
|
|
257
|
-
* caller passes the `commitHash` it currently has locally so the
|
|
258
|
-
* registry can do optimistic concurrency and reject the publish with
|
|
259
|
-
* `CONFLICT` when the upstream hash has moved on.
|
|
260
|
-
*/
|
|
261
|
-
publishVersion: PublishRegistryVersion;
|
|
262
|
-
/**
|
|
263
|
-
* Forces the host application to refetch `documents` and resolves once
|
|
264
|
-
* the new listing is in hand.
|
|
265
|
-
*
|
|
266
|
-
* Used by the sync flow to invalidate the host's listing cache after a
|
|
267
|
-
* `CONFLICT` push: the rejection means the registry has a newer
|
|
268
|
-
* commit hash than our local listing knows about, so refreshing the
|
|
269
|
-
* listing lets `computeVersionStatus` notice the mismatch and flip the
|
|
270
|
-
* Pull button on naturally - without the hook having to track its own
|
|
271
|
-
* "needs pull" overlay state.
|
|
272
|
-
*
|
|
273
|
-
* Optional so existing adapters keep type-checking; the sync flow
|
|
274
|
-
* silently no-ops when it is missing.
|
|
275
|
-
*/
|
|
276
|
-
refreshDocuments?: () => Promise<void>;
|
|
277
|
-
};
|
|
278
|
-
//# sourceMappingURL=configuration.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../src/v2/types/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAA;AAE1D;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,0BAA0B,GAAG,WAAW,GAAG,cAAc,GAAG,cAAc,GAAG,SAAS,CAAA;AAElG;;;;;;GAMG;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,IAAI,EAAE,oBAAoB,KAAK,OAAO,CAC9E,MAAM,CACJ;IACE,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACjC,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,EACD,0BAA0B,CAC3B,CACF,CAAA;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,MAAM,4BAA4B,GAAG,UAAU,GAAG,cAAc,GAAG,cAAc,GAAG,SAAS,CAAA;AAEnG;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG,MAAM,CAChD,oBAAoB,GAAG;IACrB,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,EACD,4BAA4B,CAC7B,CAAA;AAED;;;;;;;;;;GAUG;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,KAAK,EAAE;IAC5C,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,sEAAsE;IACtE,OAAO,EAAE,MAAM,CAAA;IACf;;;;;OAKG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAClC,KAAK,OAAO,CAAC,6BAA6B,CAAC,CAAA;AAE5C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,MAAM,2BAA2B,GAAG,UAAU,GAAG,WAAW,GAAG,cAAc,GAAG,cAAc,GAAG,SAAS,CAAA;AAEhH;;;;;GAKG;AACH,MAAM,MAAM,4BAA4B,GAAG,MAAM,CAC/C,oBAAoB,GAAG;IACrB,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,EACD,2BAA2B,CAC5B,CAAA;AAED;;;;;;;;;;GAUG;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,KAAK,EAAE;IAC3C,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,kEAAkE;IAClE,OAAO,EAAE,MAAM,CAAA;IACf;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACjC;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,KAAK,OAAO,CAAC,4BAA4B,CAAC,CAAA;AAE3C;;;;;;GAMG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAA;AAED;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,uBAAuB,EAAE,CAAA;CACpC,CAAA;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,sBAAsB,GAC9B;IAAE,MAAM,EAAE,SAAS,CAAC;IAAC,SAAS,CAAC,EAAE,gBAAgB,EAAE,CAAA;CAAE,GACrD;IAAE,MAAM,EAAE,SAAS,CAAC;IAAC,SAAS,EAAE,gBAAgB,EAAE,CAAA;CAAE,CAAA;AAExD;;;;;;;GAOG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,oEAAoE;IACpE,SAAS,EAAE,MAAM,CAAA;IACjB,6EAA6E;IAC7E,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED;;;;;GAKG;AACH,MAAM,MAAM,uBAAuB,GAC/B;IAAE,MAAM,EAAE,SAAS,CAAC;IAAC,UAAU,CAAC,EAAE,iBAAiB,EAAE,CAAA;CAAE,GACvD;IAAE,MAAM,EAAE,SAAS,CAAC;IAAC,UAAU,EAAE,iBAAiB,EAAE,CAAA;CAAE,CAAA;AAE1D;;;;;;;GAOG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;;;OAIG;IACH,SAAS,EAAE,sBAAsB,CAAA;IACjC;;;;;OAKG;IACH,UAAU,EAAE,uBAAuB,CAAA;IACnC;;;;OAIG;IACH,aAAa,EAAE,0BAA0B,CAAA;IACzC;;;;;OAKG;IACH,eAAe,EAAE,uBAAuB,CAAA;IACxC;;;;;OAKG;IACH,cAAc,EAAE,sBAAsB,CAAA;IACtC;;;;;;;;;;;;;OAaG;IACH,gBAAgB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CACvC,CAAA"}
|
|
File without changes
|
|
File without changes
|