@scalar/api-client 2.7.0 → 2.8.0
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 +35 -0
- package/README.md +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +21 -22
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
- package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +4 -5
- package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/WorkspaceSelector.vue.js +13 -14
- package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarButton.vue.js +0 -1
- package/dist/hooks/useClientConfig.d.ts +30 -36
- package/dist/hooks/useClientConfig.d.ts.map +1 -1
- package/dist/hooks/useResponseBody.js +6 -6
- package/dist/layouts/App/create-api-client-app.d.ts +16 -16
- package/dist/layouts/Modal/create-api-client-modal.d.ts +32 -32
- package/dist/layouts/Web/create-api-client-web.d.ts +16 -16
- package/dist/libs/create-client.d.ts +16 -16
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/libs/send-request/create-request-operation.d.ts +2 -2
- package/dist/libs/send-request/create-request-operation.d.ts.map +1 -1
- package/dist/libs/send-request/create-request-operation.js +19 -19
- package/dist/plugins/plugin-manager.d.ts +2 -2
- package/dist/plugins/plugin-manager.d.ts.map +1 -1
- package/dist/store/active-entities.d.ts +1 -1
- package/dist/store/store.d.ts +16 -16
- package/dist/store/workspace.d.ts +12 -12
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/components/ExamplePicker.vue.js +2 -3
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.js +1 -1
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue2.js +70 -71
- package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.js +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +1 -1
- package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +31 -32
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts +39 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue.js +7 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBlock.vue2.js +226 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.d.ts +66 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue.js +7 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationBody.vue2.js +200 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.d.ts +51 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue.js +89 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationParams.vue2.js +4 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.d.ts +46 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue.js +7 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTable.vue2.js +85 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.d.ts +43 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue.js +193 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableRow.vue2.js +4 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.vue.d.ts +8 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.vue.js +7 -0
- package/dist/v2/blocks/scalar-operation-block/components/OperationTableTooltip.vue2.js +62 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/file.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/file.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/files.d.ts +5 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/files.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/files.js +7 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.d.ts +8 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.js +9 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-content.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.d.ts +6 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.js +12 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-example.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.d.ts +6 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.js +6 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-parameter-schema.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-request-body-example.d.ts +3 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-request-body-example.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/get-request-body-example.js +5 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/group-by.d.ts +5 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/group-by.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/group-by.js +7 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/group-by.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/group-by.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.d.ts +11 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.js +32 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/helpers/validate-parameter.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/index.d.ts +2 -0
- package/dist/v2/blocks/scalar-operation-block/index.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-operation-block/index.js +4 -0
- package/dist/v2/blocks/scalar-response-block/components/Headers.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/components/Headers.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/Headers.vue.d.ts +20 -0
- package/dist/v2/blocks/scalar-response-block/components/Headers.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/Headers.vue.js +98 -0
- package/dist/v2/blocks/scalar-response-block/components/Headers.vue2.js +4 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts +47 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue.js +7 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBlock.vue2.js +182 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue.d.ts +12 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue.js +7 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBody.vue2.js +88 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.vue.d.ts +8 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.vue.js +36 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyDownload.vue2.js +4 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyInfo.vue.d.ts +13 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyInfo.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyInfo.vue.js +14 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.vue.d.ts +10 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.vue.js +7 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyPreview.vue2.js +64 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyRaw.vue.d.ts +8 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyRaw.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyRaw.vue.js +7 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyRaw.vue2.js +41 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.vue.d.ts +6 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.vue.js +74 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyStreaming.vue2.js +4 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyToggle.vue.d.ts +10 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyToggle.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyToggle.vue.js +25 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyToggle.vue2.js +4 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.d.ts +11 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue.js +52 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseBodyVirtual.vue3.js +5 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.d.ts +9 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue.js +54 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseCookies.vue2.js +4 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue.d.ts +23 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue.js +7 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseEmpty.vue2.js +88 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue.d.ts +8 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue.js +7 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseLoadingOverlay.vue2.js +41 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseMetaInformation.vue.d.ts +10 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseMetaInformation.vue.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseMetaInformation.vue.js +61 -0
- package/dist/v2/blocks/scalar-response-block/components/ResponseMetaInformation.vue2.js +4 -0
- package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.d.ts +5 -0
- package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.js +18 -0
- package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/helpers/extract-filename.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.d.ts +4 -0
- package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.js +12 -0
- package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/helpers/get-content-length.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/helpers/media-types.d.ts +20 -0
- package/dist/v2/blocks/scalar-response-block/helpers/media-types.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/helpers/media-types.js +127 -0
- package/dist/v2/blocks/scalar-response-block/helpers/media-types.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/helpers/media-types.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.d.ts +17 -0
- package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.js +16 -0
- package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.test.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/helpers/process-response-body.test.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/index.d.ts +2 -0
- package/dist/v2/blocks/scalar-response-block/index.d.ts.map +1 -0
- package/dist/v2/blocks/scalar-response-block/index.js +4 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +31 -32
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +0 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +13 -14
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +5 -6
- package/package.json +17 -17
|
@@ -116,7 +116,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
116
116
|
};
|
|
117
117
|
hotKeyConfig?: {
|
|
118
118
|
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
119
|
-
hotKeys?: Partial<Record<"" | "
|
|
119
|
+
hotKeys?: Partial<Record<"" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]" | "4" | "1" | "2" | "3" | "5" | "6" | "7" | "8" | "9", {
|
|
120
120
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
121
121
|
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
122
122
|
}>> | undefined;
|
|
@@ -498,7 +498,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
498
498
|
proxyUrl: string | undefined;
|
|
499
499
|
hideClientButton: boolean;
|
|
500
500
|
showSidebar: boolean;
|
|
501
|
-
integration: "elysiajs" | "fastify" | "
|
|
501
|
+
integration: "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "go" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
|
|
502
502
|
importSpecFile: (_spec: string | Record<string, any> | undefined, workspaceUid: string, options?: Pick<{
|
|
503
503
|
info: {
|
|
504
504
|
title: string;
|
|
@@ -559,7 +559,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
559
559
|
integration?: string | null | undefined;
|
|
560
560
|
useCollectionSecurity?: boolean | undefined;
|
|
561
561
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
562
|
-
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "
|
|
562
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "authentication" | "baseServerURL" | "servers" | "slug"> & {
|
|
563
563
|
dereferencedDocument?: import("@scalar/openapi-types").OpenAPIV3_1.Document;
|
|
564
564
|
useCollectionSecurity?: boolean;
|
|
565
565
|
shouldLoad?: boolean;
|
|
@@ -635,7 +635,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
635
635
|
integration?: string | null | undefined;
|
|
636
636
|
useCollectionSecurity?: boolean | undefined;
|
|
637
637
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
638
|
-
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "
|
|
638
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "authentication" | "baseServerURL" | "servers" | "slug"> & {
|
|
639
639
|
dereferencedDocument?: import("@scalar/openapi-types").OpenAPIV3_1.Document;
|
|
640
640
|
useCollectionSecurity?: boolean;
|
|
641
641
|
shouldLoad?: boolean;
|
|
@@ -701,7 +701,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
701
701
|
integration?: string | null | undefined;
|
|
702
702
|
useCollectionSecurity?: boolean | undefined;
|
|
703
703
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
704
|
-
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "
|
|
704
|
+
}, "documentUrl" | "watchMode"> & Pick<import("@scalar/types").ApiReferenceConfiguration, "authentication" | "baseServerURL" | "servers" | "slug"> & {
|
|
705
705
|
dereferencedDocument?: import("@scalar/openapi-types").OpenAPIV3_1.Document;
|
|
706
706
|
useCollectionSecurity?: boolean;
|
|
707
707
|
shouldLoad?: boolean;
|
|
@@ -3934,7 +3934,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3934
3934
|
};
|
|
3935
3935
|
hotKeyConfig?: {
|
|
3936
3936
|
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3937
|
-
hotKeys?: Partial<Record<"" | "
|
|
3937
|
+
hotKeys?: Partial<Record<"" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]" | "4" | "1" | "2" | "3" | "5" | "6" | "7" | "8" | "9", {
|
|
3938
3938
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3939
3939
|
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3940
3940
|
}>> | undefined;
|
|
@@ -3956,7 +3956,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3956
3956
|
};
|
|
3957
3957
|
hotKeyConfig?: {
|
|
3958
3958
|
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3959
|
-
hotKeys?: Partial<Record<"" | "
|
|
3959
|
+
hotKeys?: Partial<Record<"" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]" | "4" | "1" | "2" | "3" | "5" | "6" | "7" | "8" | "9", {
|
|
3960
3960
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3961
3961
|
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3962
3962
|
}>> | undefined;
|
|
@@ -3979,14 +3979,14 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3979
3979
|
};
|
|
3980
3980
|
hotKeyConfig?: {
|
|
3981
3981
|
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3982
|
-
hotKeys?: Partial<Record<"" | "
|
|
3982
|
+
hotKeys?: Partial<Record<"" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]" | "4" | "1" | "2" | "3" | "5" | "6" | "7" | "8" | "9", {
|
|
3983
3983
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3984
3984
|
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3985
3985
|
}>> | undefined;
|
|
3986
3986
|
} | undefined;
|
|
3987
3987
|
proxyUrl?: string | undefined;
|
|
3988
3988
|
}) => void;
|
|
3989
|
-
edit: <P extends "proxyUrl" | "description" | "uid" | "name" | "cookies" | "collections" | "environments" | "hotKeyConfig" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | `cookies.${number}` | `collections.${number}` | `environments.${string}` | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.*" | "hotKeyConfig.hotKeys.+" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.F1" | "hotKeyConfig.hotKeys.F2" | "hotKeyConfig.hotKeys.F3" | "hotKeyConfig.hotKeys.F4" | "hotKeyConfig.hotKeys.F5" | "hotKeyConfig.hotKeys.F6" | "hotKeyConfig.hotKeys.F7" | "hotKeyConfig.hotKeys.F8" | "hotKeyConfig.hotKeys.F9" | "hotKeyConfig.hotKeys.F10" | "hotKeyConfig.hotKeys.F11" | "hotKeyConfig.hotKeys.F12" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.," | "hotKeyConfig.hotKeys.`" | "hotKeyConfig.hotKeys.[" | "hotKeyConfig.hotKeys.\\" | "hotKeyConfig.hotKeys.]" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys..modifiers" | "hotKeyConfig.hotKeys..event" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys.c.modifiers" | "hotKeyConfig.hotKeys.c.event" | `hotKeyConfig.hotKeys.c.modifiers.${number}` | "hotKeyConfig.hotKeys.r.modifiers" | "hotKeyConfig.hotKeys.r.event" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.a.modifiers" | "hotKeyConfig.hotKeys.a.event" | `hotKeyConfig.hotKeys.a.modifiers.${number}` | "hotKeyConfig.hotKeys.b.modifiers" | "hotKeyConfig.hotKeys.b.event" | `hotKeyConfig.hotKeys.b.modifiers.${number}` | "hotKeyConfig.hotKeys.d.modifiers" | "hotKeyConfig.hotKeys.d.event" | `hotKeyConfig.hotKeys.d.modifiers.${number}` | "hotKeyConfig.hotKeys.e.modifiers" | "hotKeyConfig.hotKeys.e.event" | `hotKeyConfig.hotKeys.e.modifiers.${number}` | "hotKeyConfig.hotKeys.f.modifiers" | "hotKeyConfig.hotKeys.f.event" | `hotKeyConfig.hotKeys.f.modifiers.${number}` | "hotKeyConfig.hotKeys.g.modifiers" | "hotKeyConfig.hotKeys.g.event" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.h.modifiers" | "hotKeyConfig.hotKeys.h.event" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.i.modifiers" | "hotKeyConfig.hotKeys.i.event" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.j.modifiers" | "hotKeyConfig.hotKeys.j.event" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.k.modifiers" | "hotKeyConfig.hotKeys.k.event" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.l.modifiers" | "hotKeyConfig.hotKeys.l.event" | `hotKeyConfig.hotKeys.l.modifiers.${number}` | "hotKeyConfig.hotKeys.m.modifiers" | "hotKeyConfig.hotKeys.m.event" | `hotKeyConfig.hotKeys.m.modifiers.${number}` | "hotKeyConfig.hotKeys.n.modifiers" | "hotKeyConfig.hotKeys.n.event" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.o.modifiers" | "hotKeyConfig.hotKeys.o.event" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.p.modifiers" | "hotKeyConfig.hotKeys.p.event" | `hotKeyConfig.hotKeys.p.modifiers.${number}` | "hotKeyConfig.hotKeys.q.modifiers" | "hotKeyConfig.hotKeys.q.event" | `hotKeyConfig.hotKeys.q.modifiers.${number}` | "hotKeyConfig.hotKeys.s.modifiers" | "hotKeyConfig.hotKeys.s.event" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.t.modifiers" | "hotKeyConfig.hotKeys.t.event" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.u.modifiers" | "hotKeyConfig.hotKeys.u.event" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.v.modifiers" | "hotKeyConfig.hotKeys.v.event" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.w.modifiers" | "hotKeyConfig.hotKeys.w.event" | `hotKeyConfig.hotKeys.w.modifiers.${number}` | "hotKeyConfig.hotKeys.x.modifiers" | "hotKeyConfig.hotKeys.x.event" | `hotKeyConfig.hotKeys.x.modifiers.${number}` | "hotKeyConfig.hotKeys.y.modifiers" | "hotKeyConfig.hotKeys.y.event" | `hotKeyConfig.hotKeys.y.modifiers.${number}` | "hotKeyConfig.hotKeys.z.modifiers" | "hotKeyConfig.hotKeys.z.event" | `hotKeyConfig.hotKeys.z.modifiers.${number}` | "hotKeyConfig.hotKeys.0.modifiers" | "hotKeyConfig.hotKeys.0.event" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.modifiers" | "hotKeyConfig.hotKeys.Space.event" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.modifiers" | "hotKeyConfig.hotKeys.Backspace.event" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Tab.modifiers" | "hotKeyConfig.hotKeys.Tab.event" | `hotKeyConfig.hotKeys.Tab.modifiers.${number}` | "hotKeyConfig.hotKeys.Enter.modifiers" | "hotKeyConfig.hotKeys.Enter.event" | `hotKeyConfig.hotKeys.Enter.modifiers.${number}` | "hotKeyConfig.hotKeys.Escape.modifiers" | "hotKeyConfig.hotKeys.Escape.event" | `hotKeyConfig.hotKeys.Escape.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowDown.modifiers" | "hotKeyConfig.hotKeys.ArrowDown.event" | `hotKeyConfig.hotKeys.ArrowDown.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowLeft.modifiers" | "hotKeyConfig.hotKeys.ArrowLeft.event" | `hotKeyConfig.hotKeys.ArrowLeft.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowRight.modifiers" | "hotKeyConfig.hotKeys.ArrowRight.event" | `hotKeyConfig.hotKeys.ArrowRight.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowUp.modifiers" | "hotKeyConfig.hotKeys.ArrowUp.event" | `hotKeyConfig.hotKeys.ArrowUp.modifiers.${number}` | "hotKeyConfig.hotKeys.End.modifiers" | "hotKeyConfig.hotKeys.End.event" | `hotKeyConfig.hotKeys.End.modifiers.${number}` | "hotKeyConfig.hotKeys.Home.modifiers" | "hotKeyConfig.hotKeys.Home.event" | `hotKeyConfig.hotKeys.Home.modifiers.${number}` | "hotKeyConfig.hotKeys.PageDown.modifiers" | "hotKeyConfig.hotKeys.PageDown.event" | `hotKeyConfig.hotKeys.PageDown.modifiers.${number}` | "hotKeyConfig.hotKeys.PageUp.modifiers" | "hotKeyConfig.hotKeys.PageUp.event" | `hotKeyConfig.hotKeys.PageUp.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.modifiers" | "hotKeyConfig.hotKeys.Delete.event" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.*.modifiers" | "hotKeyConfig.hotKeys.*.event" | `hotKeyConfig.hotKeys.*.modifiers.${number}` | "hotKeyConfig.hotKeys.+.modifiers" | "hotKeyConfig.hotKeys.+.event" | `hotKeyConfig.hotKeys.+.modifiers.${number}` | "hotKeyConfig.hotKeys.-.modifiers" | "hotKeyConfig.hotKeys.-.event" | `hotKeyConfig.hotKeys.-.modifiers.${number}` | "hotKeyConfig.hotKeys...modifiers" | "hotKeyConfig.hotKeys...event" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys./.modifiers" | "hotKeyConfig.hotKeys./.event" | `hotKeyConfig.hotKeys./.modifiers.${number}` | "hotKeyConfig.hotKeys.F1.modifiers" | "hotKeyConfig.hotKeys.F1.event" | `hotKeyConfig.hotKeys.F1.modifiers.${number}` | "hotKeyConfig.hotKeys.F2.modifiers" | "hotKeyConfig.hotKeys.F2.event" | `hotKeyConfig.hotKeys.F2.modifiers.${number}` | "hotKeyConfig.hotKeys.F3.modifiers" | "hotKeyConfig.hotKeys.F3.event" | `hotKeyConfig.hotKeys.F3.modifiers.${number}` | "hotKeyConfig.hotKeys.F4.modifiers" | "hotKeyConfig.hotKeys.F4.event" | `hotKeyConfig.hotKeys.F4.modifiers.${number}` | "hotKeyConfig.hotKeys.F5.modifiers" | "hotKeyConfig.hotKeys.F5.event" | `hotKeyConfig.hotKeys.F5.modifiers.${number}` | "hotKeyConfig.hotKeys.F6.modifiers" | "hotKeyConfig.hotKeys.F6.event" | `hotKeyConfig.hotKeys.F6.modifiers.${number}` | "hotKeyConfig.hotKeys.F7.modifiers" | "hotKeyConfig.hotKeys.F7.event" | `hotKeyConfig.hotKeys.F7.modifiers.${number}` | "hotKeyConfig.hotKeys.F8.modifiers" | "hotKeyConfig.hotKeys.F8.event" | `hotKeyConfig.hotKeys.F8.modifiers.${number}` | "hotKeyConfig.hotKeys.F9.modifiers" | "hotKeyConfig.hotKeys.F9.event" | `hotKeyConfig.hotKeys.F9.modifiers.${number}` | "hotKeyConfig.hotKeys.F10.modifiers" | "hotKeyConfig.hotKeys.F10.event" | `hotKeyConfig.hotKeys.F10.modifiers.${number}` | "hotKeyConfig.hotKeys.F11.modifiers" | "hotKeyConfig.hotKeys.F11.event" | `hotKeyConfig.hotKeys.F11.modifiers.${number}` | "hotKeyConfig.hotKeys.F12.modifiers" | "hotKeyConfig.hotKeys.F12.event" | `hotKeyConfig.hotKeys.F12.modifiers.${number}` | "hotKeyConfig.hotKeys.;.modifiers" | "hotKeyConfig.hotKeys.;.event" | `hotKeyConfig.hotKeys.;.modifiers.${number}` | "hotKeyConfig.hotKeys.=.modifiers" | "hotKeyConfig.hotKeys.=.event" | `hotKeyConfig.hotKeys.=.modifiers.${number}` | "hotKeyConfig.hotKeys.,.modifiers" | "hotKeyConfig.hotKeys.,.event" | `hotKeyConfig.hotKeys.,.modifiers.${number}` | "hotKeyConfig.hotKeys.`.modifiers" | "hotKeyConfig.hotKeys.`.event" | `hotKeyConfig.hotKeys.\`.modifiers.${number}` | "hotKeyConfig.hotKeys.[.modifiers" | "hotKeyConfig.hotKeys.[.event" | `hotKeyConfig.hotKeys.[.modifiers.${number}` | "hotKeyConfig.hotKeys.\\.modifiers" | "hotKeyConfig.hotKeys.\\.event" | `hotKeyConfig.hotKeys.\\.modifiers.${number}` | "hotKeyConfig.hotKeys.].modifiers" | "hotKeyConfig.hotKeys.].event" | `hotKeyConfig.hotKeys.].modifiers.${number}` | "hotKeyConfig.hotKeys.4.modifiers" | "hotKeyConfig.hotKeys.4.event" | `hotKeyConfig.hotKeys.4.modifiers.${number}` | "hotKeyConfig.hotKeys.1.modifiers" | "hotKeyConfig.hotKeys.1.event" | `hotKeyConfig.hotKeys.1.modifiers.${number}` | "hotKeyConfig.hotKeys.2.modifiers" | "hotKeyConfig.hotKeys.2.event" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.3.modifiers" | "hotKeyConfig.hotKeys.3.event" | `hotKeyConfig.hotKeys.3.modifiers.${number}` | "hotKeyConfig.hotKeys.5.modifiers" | "hotKeyConfig.hotKeys.5.event" | `hotKeyConfig.hotKeys.5.modifiers.${number}` | "hotKeyConfig.hotKeys.6.modifiers" | "hotKeyConfig.hotKeys.6.event" | `hotKeyConfig.hotKeys.6.modifiers.${number}` | "hotKeyConfig.hotKeys.7.modifiers" | "hotKeyConfig.hotKeys.7.event" | `hotKeyConfig.hotKeys.7.modifiers.${number}` | "hotKeyConfig.hotKeys.8.modifiers" | "hotKeyConfig.hotKeys.8.event" | `hotKeyConfig.hotKeys.8.modifiers.${number}` | "hotKeyConfig.hotKeys.9.modifiers" | "hotKeyConfig.hotKeys.9.event" | `hotKeyConfig.hotKeys.9.modifiers.${number}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey">(uid: (string & import("zod").$brand<"workspace">) | null | undefined, path: P, value: P extends "proxyUrl" | "description" | "uid" | "name" | "cookies" | "collections" | "environments" | "hotKeyConfig" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" ? {
|
|
3989
|
+
edit: <P extends "proxyUrl" | "description" | "uid" | "name" | "cookies" | "collections" | "environments" | "hotKeyConfig" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | `cookies.${number}` | `collections.${number}` | `environments.${string}` | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.*" | "hotKeyConfig.hotKeys.+" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.F1" | "hotKeyConfig.hotKeys.F2" | "hotKeyConfig.hotKeys.F3" | "hotKeyConfig.hotKeys.F4" | "hotKeyConfig.hotKeys.F5" | "hotKeyConfig.hotKeys.F6" | "hotKeyConfig.hotKeys.F7" | "hotKeyConfig.hotKeys.F8" | "hotKeyConfig.hotKeys.F9" | "hotKeyConfig.hotKeys.F10" | "hotKeyConfig.hotKeys.F11" | "hotKeyConfig.hotKeys.F12" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.," | "hotKeyConfig.hotKeys.`" | "hotKeyConfig.hotKeys.[" | "hotKeyConfig.hotKeys.\\" | "hotKeyConfig.hotKeys.]" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys..modifiers" | "hotKeyConfig.hotKeys..event" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys.a.modifiers" | "hotKeyConfig.hotKeys.a.event" | `hotKeyConfig.hotKeys.a.modifiers.${number}` | "hotKeyConfig.hotKeys.b.modifiers" | "hotKeyConfig.hotKeys.b.event" | `hotKeyConfig.hotKeys.b.modifiers.${number}` | "hotKeyConfig.hotKeys.c.modifiers" | "hotKeyConfig.hotKeys.c.event" | `hotKeyConfig.hotKeys.c.modifiers.${number}` | "hotKeyConfig.hotKeys.d.modifiers" | "hotKeyConfig.hotKeys.d.event" | `hotKeyConfig.hotKeys.d.modifiers.${number}` | "hotKeyConfig.hotKeys.e.modifiers" | "hotKeyConfig.hotKeys.e.event" | `hotKeyConfig.hotKeys.e.modifiers.${number}` | "hotKeyConfig.hotKeys.f.modifiers" | "hotKeyConfig.hotKeys.f.event" | `hotKeyConfig.hotKeys.f.modifiers.${number}` | "hotKeyConfig.hotKeys.g.modifiers" | "hotKeyConfig.hotKeys.g.event" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.h.modifiers" | "hotKeyConfig.hotKeys.h.event" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.i.modifiers" | "hotKeyConfig.hotKeys.i.event" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.j.modifiers" | "hotKeyConfig.hotKeys.j.event" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.k.modifiers" | "hotKeyConfig.hotKeys.k.event" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.l.modifiers" | "hotKeyConfig.hotKeys.l.event" | `hotKeyConfig.hotKeys.l.modifiers.${number}` | "hotKeyConfig.hotKeys.m.modifiers" | "hotKeyConfig.hotKeys.m.event" | `hotKeyConfig.hotKeys.m.modifiers.${number}` | "hotKeyConfig.hotKeys.n.modifiers" | "hotKeyConfig.hotKeys.n.event" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.o.modifiers" | "hotKeyConfig.hotKeys.o.event" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.p.modifiers" | "hotKeyConfig.hotKeys.p.event" | `hotKeyConfig.hotKeys.p.modifiers.${number}` | "hotKeyConfig.hotKeys.q.modifiers" | "hotKeyConfig.hotKeys.q.event" | `hotKeyConfig.hotKeys.q.modifiers.${number}` | "hotKeyConfig.hotKeys.r.modifiers" | "hotKeyConfig.hotKeys.r.event" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.s.modifiers" | "hotKeyConfig.hotKeys.s.event" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.t.modifiers" | "hotKeyConfig.hotKeys.t.event" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.u.modifiers" | "hotKeyConfig.hotKeys.u.event" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.v.modifiers" | "hotKeyConfig.hotKeys.v.event" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.w.modifiers" | "hotKeyConfig.hotKeys.w.event" | `hotKeyConfig.hotKeys.w.modifiers.${number}` | "hotKeyConfig.hotKeys.x.modifiers" | "hotKeyConfig.hotKeys.x.event" | `hotKeyConfig.hotKeys.x.modifiers.${number}` | "hotKeyConfig.hotKeys.y.modifiers" | "hotKeyConfig.hotKeys.y.event" | `hotKeyConfig.hotKeys.y.modifiers.${number}` | "hotKeyConfig.hotKeys.z.modifiers" | "hotKeyConfig.hotKeys.z.event" | `hotKeyConfig.hotKeys.z.modifiers.${number}` | "hotKeyConfig.hotKeys.0.modifiers" | "hotKeyConfig.hotKeys.0.event" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.modifiers" | "hotKeyConfig.hotKeys.Space.event" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.modifiers" | "hotKeyConfig.hotKeys.Backspace.event" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Tab.modifiers" | "hotKeyConfig.hotKeys.Tab.event" | `hotKeyConfig.hotKeys.Tab.modifiers.${number}` | "hotKeyConfig.hotKeys.Enter.modifiers" | "hotKeyConfig.hotKeys.Enter.event" | `hotKeyConfig.hotKeys.Enter.modifiers.${number}` | "hotKeyConfig.hotKeys.Escape.modifiers" | "hotKeyConfig.hotKeys.Escape.event" | `hotKeyConfig.hotKeys.Escape.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowDown.modifiers" | "hotKeyConfig.hotKeys.ArrowDown.event" | `hotKeyConfig.hotKeys.ArrowDown.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowLeft.modifiers" | "hotKeyConfig.hotKeys.ArrowLeft.event" | `hotKeyConfig.hotKeys.ArrowLeft.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowRight.modifiers" | "hotKeyConfig.hotKeys.ArrowRight.event" | `hotKeyConfig.hotKeys.ArrowRight.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowUp.modifiers" | "hotKeyConfig.hotKeys.ArrowUp.event" | `hotKeyConfig.hotKeys.ArrowUp.modifiers.${number}` | "hotKeyConfig.hotKeys.End.modifiers" | "hotKeyConfig.hotKeys.End.event" | `hotKeyConfig.hotKeys.End.modifiers.${number}` | "hotKeyConfig.hotKeys.Home.modifiers" | "hotKeyConfig.hotKeys.Home.event" | `hotKeyConfig.hotKeys.Home.modifiers.${number}` | "hotKeyConfig.hotKeys.PageDown.modifiers" | "hotKeyConfig.hotKeys.PageDown.event" | `hotKeyConfig.hotKeys.PageDown.modifiers.${number}` | "hotKeyConfig.hotKeys.PageUp.modifiers" | "hotKeyConfig.hotKeys.PageUp.event" | `hotKeyConfig.hotKeys.PageUp.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.modifiers" | "hotKeyConfig.hotKeys.Delete.event" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.*.modifiers" | "hotKeyConfig.hotKeys.*.event" | `hotKeyConfig.hotKeys.*.modifiers.${number}` | "hotKeyConfig.hotKeys.+.modifiers" | "hotKeyConfig.hotKeys.+.event" | `hotKeyConfig.hotKeys.+.modifiers.${number}` | "hotKeyConfig.hotKeys.-.modifiers" | "hotKeyConfig.hotKeys.-.event" | `hotKeyConfig.hotKeys.-.modifiers.${number}` | "hotKeyConfig.hotKeys...modifiers" | "hotKeyConfig.hotKeys...event" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys./.modifiers" | "hotKeyConfig.hotKeys./.event" | `hotKeyConfig.hotKeys./.modifiers.${number}` | "hotKeyConfig.hotKeys.F1.modifiers" | "hotKeyConfig.hotKeys.F1.event" | `hotKeyConfig.hotKeys.F1.modifiers.${number}` | "hotKeyConfig.hotKeys.F2.modifiers" | "hotKeyConfig.hotKeys.F2.event" | `hotKeyConfig.hotKeys.F2.modifiers.${number}` | "hotKeyConfig.hotKeys.F3.modifiers" | "hotKeyConfig.hotKeys.F3.event" | `hotKeyConfig.hotKeys.F3.modifiers.${number}` | "hotKeyConfig.hotKeys.F4.modifiers" | "hotKeyConfig.hotKeys.F4.event" | `hotKeyConfig.hotKeys.F4.modifiers.${number}` | "hotKeyConfig.hotKeys.F5.modifiers" | "hotKeyConfig.hotKeys.F5.event" | `hotKeyConfig.hotKeys.F5.modifiers.${number}` | "hotKeyConfig.hotKeys.F6.modifiers" | "hotKeyConfig.hotKeys.F6.event" | `hotKeyConfig.hotKeys.F6.modifiers.${number}` | "hotKeyConfig.hotKeys.F7.modifiers" | "hotKeyConfig.hotKeys.F7.event" | `hotKeyConfig.hotKeys.F7.modifiers.${number}` | "hotKeyConfig.hotKeys.F8.modifiers" | "hotKeyConfig.hotKeys.F8.event" | `hotKeyConfig.hotKeys.F8.modifiers.${number}` | "hotKeyConfig.hotKeys.F9.modifiers" | "hotKeyConfig.hotKeys.F9.event" | `hotKeyConfig.hotKeys.F9.modifiers.${number}` | "hotKeyConfig.hotKeys.F10.modifiers" | "hotKeyConfig.hotKeys.F10.event" | `hotKeyConfig.hotKeys.F10.modifiers.${number}` | "hotKeyConfig.hotKeys.F11.modifiers" | "hotKeyConfig.hotKeys.F11.event" | `hotKeyConfig.hotKeys.F11.modifiers.${number}` | "hotKeyConfig.hotKeys.F12.modifiers" | "hotKeyConfig.hotKeys.F12.event" | `hotKeyConfig.hotKeys.F12.modifiers.${number}` | "hotKeyConfig.hotKeys.;.modifiers" | "hotKeyConfig.hotKeys.;.event" | `hotKeyConfig.hotKeys.;.modifiers.${number}` | "hotKeyConfig.hotKeys.=.modifiers" | "hotKeyConfig.hotKeys.=.event" | `hotKeyConfig.hotKeys.=.modifiers.${number}` | "hotKeyConfig.hotKeys.,.modifiers" | "hotKeyConfig.hotKeys.,.event" | `hotKeyConfig.hotKeys.,.modifiers.${number}` | "hotKeyConfig.hotKeys.`.modifiers" | "hotKeyConfig.hotKeys.`.event" | `hotKeyConfig.hotKeys.\`.modifiers.${number}` | "hotKeyConfig.hotKeys.[.modifiers" | "hotKeyConfig.hotKeys.[.event" | `hotKeyConfig.hotKeys.[.modifiers.${number}` | "hotKeyConfig.hotKeys.\\.modifiers" | "hotKeyConfig.hotKeys.\\.event" | `hotKeyConfig.hotKeys.\\.modifiers.${number}` | "hotKeyConfig.hotKeys.].modifiers" | "hotKeyConfig.hotKeys.].event" | `hotKeyConfig.hotKeys.].modifiers.${number}` | "hotKeyConfig.hotKeys.4.modifiers" | "hotKeyConfig.hotKeys.4.event" | `hotKeyConfig.hotKeys.4.modifiers.${number}` | "hotKeyConfig.hotKeys.1.modifiers" | "hotKeyConfig.hotKeys.1.event" | `hotKeyConfig.hotKeys.1.modifiers.${number}` | "hotKeyConfig.hotKeys.2.modifiers" | "hotKeyConfig.hotKeys.2.event" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.3.modifiers" | "hotKeyConfig.hotKeys.3.event" | `hotKeyConfig.hotKeys.3.modifiers.${number}` | "hotKeyConfig.hotKeys.5.modifiers" | "hotKeyConfig.hotKeys.5.event" | `hotKeyConfig.hotKeys.5.modifiers.${number}` | "hotKeyConfig.hotKeys.6.modifiers" | "hotKeyConfig.hotKeys.6.event" | `hotKeyConfig.hotKeys.6.modifiers.${number}` | "hotKeyConfig.hotKeys.7.modifiers" | "hotKeyConfig.hotKeys.7.event" | `hotKeyConfig.hotKeys.7.modifiers.${number}` | "hotKeyConfig.hotKeys.8.modifiers" | "hotKeyConfig.hotKeys.8.event" | `hotKeyConfig.hotKeys.8.modifiers.${number}` | "hotKeyConfig.hotKeys.9.modifiers" | "hotKeyConfig.hotKeys.9.event" | `hotKeyConfig.hotKeys.9.modifiers.${number}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey">(uid: (string & import("zod").$brand<"workspace">) | null | undefined, path: P, value: P extends "proxyUrl" | "description" | "uid" | "name" | "cookies" | "collections" | "environments" | "hotKeyConfig" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" ? {
|
|
3990
3990
|
uid: string & import("zod").$brand<"workspace">;
|
|
3991
3991
|
name: string;
|
|
3992
3992
|
description: string;
|
|
@@ -4001,7 +4001,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
4001
4001
|
};
|
|
4002
4002
|
hotKeyConfig?: {
|
|
4003
4003
|
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
4004
|
-
hotKeys?: Partial<Record<"" | "
|
|
4004
|
+
hotKeys?: Partial<Record<"" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]" | "4" | "1" | "2" | "3" | "5" | "6" | "7" | "8" | "9", {
|
|
4005
4005
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
4006
4006
|
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
4007
4007
|
}>> | undefined;
|
|
@@ -4022,7 +4022,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
4022
4022
|
};
|
|
4023
4023
|
hotKeyConfig?: {
|
|
4024
4024
|
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
4025
|
-
hotKeys?: Partial<Record<"" | "
|
|
4025
|
+
hotKeys?: Partial<Record<"" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]" | "4" | "1" | "2" | "3" | "5" | "6" | "7" | "8" | "9", {
|
|
4026
4026
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
4027
4027
|
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
4028
4028
|
}>> | undefined;
|
|
@@ -4043,14 +4043,14 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
4043
4043
|
};
|
|
4044
4044
|
hotKeyConfig?: {
|
|
4045
4045
|
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
4046
|
-
hotKeys?: Partial<Record<"" | "
|
|
4046
|
+
hotKeys?: Partial<Record<"" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]" | "4" | "1" | "2" | "3" | "5" | "6" | "7" | "8" | "9", {
|
|
4047
4047
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
4048
4048
|
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
4049
4049
|
}>> | undefined;
|
|
4050
4050
|
} | undefined;
|
|
4051
4051
|
proxyUrl?: string | undefined;
|
|
4052
4052
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
4053
|
-
untrackedEdit: <P extends "proxyUrl" | "description" | "uid" | "name" | "cookies" | "collections" | "environments" | "hotKeyConfig" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | `cookies.${number}` | `collections.${number}` | `environments.${string}` | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.*" | "hotKeyConfig.hotKeys.+" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.F1" | "hotKeyConfig.hotKeys.F2" | "hotKeyConfig.hotKeys.F3" | "hotKeyConfig.hotKeys.F4" | "hotKeyConfig.hotKeys.F5" | "hotKeyConfig.hotKeys.F6" | "hotKeyConfig.hotKeys.F7" | "hotKeyConfig.hotKeys.F8" | "hotKeyConfig.hotKeys.F9" | "hotKeyConfig.hotKeys.F10" | "hotKeyConfig.hotKeys.F11" | "hotKeyConfig.hotKeys.F12" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.," | "hotKeyConfig.hotKeys.`" | "hotKeyConfig.hotKeys.[" | "hotKeyConfig.hotKeys.\\" | "hotKeyConfig.hotKeys.]" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys..modifiers" | "hotKeyConfig.hotKeys..event" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys.c.modifiers" | "hotKeyConfig.hotKeys.c.event" | `hotKeyConfig.hotKeys.c.modifiers.${number}` | "hotKeyConfig.hotKeys.r.modifiers" | "hotKeyConfig.hotKeys.r.event" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.a.modifiers" | "hotKeyConfig.hotKeys.a.event" | `hotKeyConfig.hotKeys.a.modifiers.${number}` | "hotKeyConfig.hotKeys.b.modifiers" | "hotKeyConfig.hotKeys.b.event" | `hotKeyConfig.hotKeys.b.modifiers.${number}` | "hotKeyConfig.hotKeys.d.modifiers" | "hotKeyConfig.hotKeys.d.event" | `hotKeyConfig.hotKeys.d.modifiers.${number}` | "hotKeyConfig.hotKeys.e.modifiers" | "hotKeyConfig.hotKeys.e.event" | `hotKeyConfig.hotKeys.e.modifiers.${number}` | "hotKeyConfig.hotKeys.f.modifiers" | "hotKeyConfig.hotKeys.f.event" | `hotKeyConfig.hotKeys.f.modifiers.${number}` | "hotKeyConfig.hotKeys.g.modifiers" | "hotKeyConfig.hotKeys.g.event" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.h.modifiers" | "hotKeyConfig.hotKeys.h.event" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.i.modifiers" | "hotKeyConfig.hotKeys.i.event" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.j.modifiers" | "hotKeyConfig.hotKeys.j.event" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.k.modifiers" | "hotKeyConfig.hotKeys.k.event" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.l.modifiers" | "hotKeyConfig.hotKeys.l.event" | `hotKeyConfig.hotKeys.l.modifiers.${number}` | "hotKeyConfig.hotKeys.m.modifiers" | "hotKeyConfig.hotKeys.m.event" | `hotKeyConfig.hotKeys.m.modifiers.${number}` | "hotKeyConfig.hotKeys.n.modifiers" | "hotKeyConfig.hotKeys.n.event" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.o.modifiers" | "hotKeyConfig.hotKeys.o.event" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.p.modifiers" | "hotKeyConfig.hotKeys.p.event" | `hotKeyConfig.hotKeys.p.modifiers.${number}` | "hotKeyConfig.hotKeys.q.modifiers" | "hotKeyConfig.hotKeys.q.event" | `hotKeyConfig.hotKeys.q.modifiers.${number}` | "hotKeyConfig.hotKeys.s.modifiers" | "hotKeyConfig.hotKeys.s.event" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.t.modifiers" | "hotKeyConfig.hotKeys.t.event" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.u.modifiers" | "hotKeyConfig.hotKeys.u.event" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.v.modifiers" | "hotKeyConfig.hotKeys.v.event" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.w.modifiers" | "hotKeyConfig.hotKeys.w.event" | `hotKeyConfig.hotKeys.w.modifiers.${number}` | "hotKeyConfig.hotKeys.x.modifiers" | "hotKeyConfig.hotKeys.x.event" | `hotKeyConfig.hotKeys.x.modifiers.${number}` | "hotKeyConfig.hotKeys.y.modifiers" | "hotKeyConfig.hotKeys.y.event" | `hotKeyConfig.hotKeys.y.modifiers.${number}` | "hotKeyConfig.hotKeys.z.modifiers" | "hotKeyConfig.hotKeys.z.event" | `hotKeyConfig.hotKeys.z.modifiers.${number}` | "hotKeyConfig.hotKeys.0.modifiers" | "hotKeyConfig.hotKeys.0.event" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.modifiers" | "hotKeyConfig.hotKeys.Space.event" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.modifiers" | "hotKeyConfig.hotKeys.Backspace.event" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Tab.modifiers" | "hotKeyConfig.hotKeys.Tab.event" | `hotKeyConfig.hotKeys.Tab.modifiers.${number}` | "hotKeyConfig.hotKeys.Enter.modifiers" | "hotKeyConfig.hotKeys.Enter.event" | `hotKeyConfig.hotKeys.Enter.modifiers.${number}` | "hotKeyConfig.hotKeys.Escape.modifiers" | "hotKeyConfig.hotKeys.Escape.event" | `hotKeyConfig.hotKeys.Escape.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowDown.modifiers" | "hotKeyConfig.hotKeys.ArrowDown.event" | `hotKeyConfig.hotKeys.ArrowDown.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowLeft.modifiers" | "hotKeyConfig.hotKeys.ArrowLeft.event" | `hotKeyConfig.hotKeys.ArrowLeft.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowRight.modifiers" | "hotKeyConfig.hotKeys.ArrowRight.event" | `hotKeyConfig.hotKeys.ArrowRight.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowUp.modifiers" | "hotKeyConfig.hotKeys.ArrowUp.event" | `hotKeyConfig.hotKeys.ArrowUp.modifiers.${number}` | "hotKeyConfig.hotKeys.End.modifiers" | "hotKeyConfig.hotKeys.End.event" | `hotKeyConfig.hotKeys.End.modifiers.${number}` | "hotKeyConfig.hotKeys.Home.modifiers" | "hotKeyConfig.hotKeys.Home.event" | `hotKeyConfig.hotKeys.Home.modifiers.${number}` | "hotKeyConfig.hotKeys.PageDown.modifiers" | "hotKeyConfig.hotKeys.PageDown.event" | `hotKeyConfig.hotKeys.PageDown.modifiers.${number}` | "hotKeyConfig.hotKeys.PageUp.modifiers" | "hotKeyConfig.hotKeys.PageUp.event" | `hotKeyConfig.hotKeys.PageUp.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.modifiers" | "hotKeyConfig.hotKeys.Delete.event" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.*.modifiers" | "hotKeyConfig.hotKeys.*.event" | `hotKeyConfig.hotKeys.*.modifiers.${number}` | "hotKeyConfig.hotKeys.+.modifiers" | "hotKeyConfig.hotKeys.+.event" | `hotKeyConfig.hotKeys.+.modifiers.${number}` | "hotKeyConfig.hotKeys.-.modifiers" | "hotKeyConfig.hotKeys.-.event" | `hotKeyConfig.hotKeys.-.modifiers.${number}` | "hotKeyConfig.hotKeys...modifiers" | "hotKeyConfig.hotKeys...event" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys./.modifiers" | "hotKeyConfig.hotKeys./.event" | `hotKeyConfig.hotKeys./.modifiers.${number}` | "hotKeyConfig.hotKeys.F1.modifiers" | "hotKeyConfig.hotKeys.F1.event" | `hotKeyConfig.hotKeys.F1.modifiers.${number}` | "hotKeyConfig.hotKeys.F2.modifiers" | "hotKeyConfig.hotKeys.F2.event" | `hotKeyConfig.hotKeys.F2.modifiers.${number}` | "hotKeyConfig.hotKeys.F3.modifiers" | "hotKeyConfig.hotKeys.F3.event" | `hotKeyConfig.hotKeys.F3.modifiers.${number}` | "hotKeyConfig.hotKeys.F4.modifiers" | "hotKeyConfig.hotKeys.F4.event" | `hotKeyConfig.hotKeys.F4.modifiers.${number}` | "hotKeyConfig.hotKeys.F5.modifiers" | "hotKeyConfig.hotKeys.F5.event" | `hotKeyConfig.hotKeys.F5.modifiers.${number}` | "hotKeyConfig.hotKeys.F6.modifiers" | "hotKeyConfig.hotKeys.F6.event" | `hotKeyConfig.hotKeys.F6.modifiers.${number}` | "hotKeyConfig.hotKeys.F7.modifiers" | "hotKeyConfig.hotKeys.F7.event" | `hotKeyConfig.hotKeys.F7.modifiers.${number}` | "hotKeyConfig.hotKeys.F8.modifiers" | "hotKeyConfig.hotKeys.F8.event" | `hotKeyConfig.hotKeys.F8.modifiers.${number}` | "hotKeyConfig.hotKeys.F9.modifiers" | "hotKeyConfig.hotKeys.F9.event" | `hotKeyConfig.hotKeys.F9.modifiers.${number}` | "hotKeyConfig.hotKeys.F10.modifiers" | "hotKeyConfig.hotKeys.F10.event" | `hotKeyConfig.hotKeys.F10.modifiers.${number}` | "hotKeyConfig.hotKeys.F11.modifiers" | "hotKeyConfig.hotKeys.F11.event" | `hotKeyConfig.hotKeys.F11.modifiers.${number}` | "hotKeyConfig.hotKeys.F12.modifiers" | "hotKeyConfig.hotKeys.F12.event" | `hotKeyConfig.hotKeys.F12.modifiers.${number}` | "hotKeyConfig.hotKeys.;.modifiers" | "hotKeyConfig.hotKeys.;.event" | `hotKeyConfig.hotKeys.;.modifiers.${number}` | "hotKeyConfig.hotKeys.=.modifiers" | "hotKeyConfig.hotKeys.=.event" | `hotKeyConfig.hotKeys.=.modifiers.${number}` | "hotKeyConfig.hotKeys.,.modifiers" | "hotKeyConfig.hotKeys.,.event" | `hotKeyConfig.hotKeys.,.modifiers.${number}` | "hotKeyConfig.hotKeys.`.modifiers" | "hotKeyConfig.hotKeys.`.event" | `hotKeyConfig.hotKeys.\`.modifiers.${number}` | "hotKeyConfig.hotKeys.[.modifiers" | "hotKeyConfig.hotKeys.[.event" | `hotKeyConfig.hotKeys.[.modifiers.${number}` | "hotKeyConfig.hotKeys.\\.modifiers" | "hotKeyConfig.hotKeys.\\.event" | `hotKeyConfig.hotKeys.\\.modifiers.${number}` | "hotKeyConfig.hotKeys.].modifiers" | "hotKeyConfig.hotKeys.].event" | `hotKeyConfig.hotKeys.].modifiers.${number}` | "hotKeyConfig.hotKeys.4.modifiers" | "hotKeyConfig.hotKeys.4.event" | `hotKeyConfig.hotKeys.4.modifiers.${number}` | "hotKeyConfig.hotKeys.1.modifiers" | "hotKeyConfig.hotKeys.1.event" | `hotKeyConfig.hotKeys.1.modifiers.${number}` | "hotKeyConfig.hotKeys.2.modifiers" | "hotKeyConfig.hotKeys.2.event" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.3.modifiers" | "hotKeyConfig.hotKeys.3.event" | `hotKeyConfig.hotKeys.3.modifiers.${number}` | "hotKeyConfig.hotKeys.5.modifiers" | "hotKeyConfig.hotKeys.5.event" | `hotKeyConfig.hotKeys.5.modifiers.${number}` | "hotKeyConfig.hotKeys.6.modifiers" | "hotKeyConfig.hotKeys.6.event" | `hotKeyConfig.hotKeys.6.modifiers.${number}` | "hotKeyConfig.hotKeys.7.modifiers" | "hotKeyConfig.hotKeys.7.event" | `hotKeyConfig.hotKeys.7.modifiers.${number}` | "hotKeyConfig.hotKeys.8.modifiers" | "hotKeyConfig.hotKeys.8.event" | `hotKeyConfig.hotKeys.8.modifiers.${number}` | "hotKeyConfig.hotKeys.9.modifiers" | "hotKeyConfig.hotKeys.9.event" | `hotKeyConfig.hotKeys.9.modifiers.${number}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey">(uid: string & import("zod").$brand<"workspace">, path: P, value: P extends "proxyUrl" | "description" | "uid" | "name" | "cookies" | "collections" | "environments" | "hotKeyConfig" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" ? {
|
|
4053
|
+
untrackedEdit: <P extends "proxyUrl" | "description" | "uid" | "name" | "cookies" | "collections" | "environments" | "hotKeyConfig" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | `cookies.${number}` | `collections.${number}` | `environments.${string}` | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.*" | "hotKeyConfig.hotKeys.+" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.F1" | "hotKeyConfig.hotKeys.F2" | "hotKeyConfig.hotKeys.F3" | "hotKeyConfig.hotKeys.F4" | "hotKeyConfig.hotKeys.F5" | "hotKeyConfig.hotKeys.F6" | "hotKeyConfig.hotKeys.F7" | "hotKeyConfig.hotKeys.F8" | "hotKeyConfig.hotKeys.F9" | "hotKeyConfig.hotKeys.F10" | "hotKeyConfig.hotKeys.F11" | "hotKeyConfig.hotKeys.F12" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.," | "hotKeyConfig.hotKeys.`" | "hotKeyConfig.hotKeys.[" | "hotKeyConfig.hotKeys.\\" | "hotKeyConfig.hotKeys.]" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys..modifiers" | "hotKeyConfig.hotKeys..event" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys.a.modifiers" | "hotKeyConfig.hotKeys.a.event" | `hotKeyConfig.hotKeys.a.modifiers.${number}` | "hotKeyConfig.hotKeys.b.modifiers" | "hotKeyConfig.hotKeys.b.event" | `hotKeyConfig.hotKeys.b.modifiers.${number}` | "hotKeyConfig.hotKeys.c.modifiers" | "hotKeyConfig.hotKeys.c.event" | `hotKeyConfig.hotKeys.c.modifiers.${number}` | "hotKeyConfig.hotKeys.d.modifiers" | "hotKeyConfig.hotKeys.d.event" | `hotKeyConfig.hotKeys.d.modifiers.${number}` | "hotKeyConfig.hotKeys.e.modifiers" | "hotKeyConfig.hotKeys.e.event" | `hotKeyConfig.hotKeys.e.modifiers.${number}` | "hotKeyConfig.hotKeys.f.modifiers" | "hotKeyConfig.hotKeys.f.event" | `hotKeyConfig.hotKeys.f.modifiers.${number}` | "hotKeyConfig.hotKeys.g.modifiers" | "hotKeyConfig.hotKeys.g.event" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.h.modifiers" | "hotKeyConfig.hotKeys.h.event" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.i.modifiers" | "hotKeyConfig.hotKeys.i.event" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.j.modifiers" | "hotKeyConfig.hotKeys.j.event" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.k.modifiers" | "hotKeyConfig.hotKeys.k.event" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.l.modifiers" | "hotKeyConfig.hotKeys.l.event" | `hotKeyConfig.hotKeys.l.modifiers.${number}` | "hotKeyConfig.hotKeys.m.modifiers" | "hotKeyConfig.hotKeys.m.event" | `hotKeyConfig.hotKeys.m.modifiers.${number}` | "hotKeyConfig.hotKeys.n.modifiers" | "hotKeyConfig.hotKeys.n.event" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.o.modifiers" | "hotKeyConfig.hotKeys.o.event" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.p.modifiers" | "hotKeyConfig.hotKeys.p.event" | `hotKeyConfig.hotKeys.p.modifiers.${number}` | "hotKeyConfig.hotKeys.q.modifiers" | "hotKeyConfig.hotKeys.q.event" | `hotKeyConfig.hotKeys.q.modifiers.${number}` | "hotKeyConfig.hotKeys.r.modifiers" | "hotKeyConfig.hotKeys.r.event" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.s.modifiers" | "hotKeyConfig.hotKeys.s.event" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.t.modifiers" | "hotKeyConfig.hotKeys.t.event" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.u.modifiers" | "hotKeyConfig.hotKeys.u.event" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.v.modifiers" | "hotKeyConfig.hotKeys.v.event" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.w.modifiers" | "hotKeyConfig.hotKeys.w.event" | `hotKeyConfig.hotKeys.w.modifiers.${number}` | "hotKeyConfig.hotKeys.x.modifiers" | "hotKeyConfig.hotKeys.x.event" | `hotKeyConfig.hotKeys.x.modifiers.${number}` | "hotKeyConfig.hotKeys.y.modifiers" | "hotKeyConfig.hotKeys.y.event" | `hotKeyConfig.hotKeys.y.modifiers.${number}` | "hotKeyConfig.hotKeys.z.modifiers" | "hotKeyConfig.hotKeys.z.event" | `hotKeyConfig.hotKeys.z.modifiers.${number}` | "hotKeyConfig.hotKeys.0.modifiers" | "hotKeyConfig.hotKeys.0.event" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.modifiers" | "hotKeyConfig.hotKeys.Space.event" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.modifiers" | "hotKeyConfig.hotKeys.Backspace.event" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Tab.modifiers" | "hotKeyConfig.hotKeys.Tab.event" | `hotKeyConfig.hotKeys.Tab.modifiers.${number}` | "hotKeyConfig.hotKeys.Enter.modifiers" | "hotKeyConfig.hotKeys.Enter.event" | `hotKeyConfig.hotKeys.Enter.modifiers.${number}` | "hotKeyConfig.hotKeys.Escape.modifiers" | "hotKeyConfig.hotKeys.Escape.event" | `hotKeyConfig.hotKeys.Escape.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowDown.modifiers" | "hotKeyConfig.hotKeys.ArrowDown.event" | `hotKeyConfig.hotKeys.ArrowDown.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowLeft.modifiers" | "hotKeyConfig.hotKeys.ArrowLeft.event" | `hotKeyConfig.hotKeys.ArrowLeft.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowRight.modifiers" | "hotKeyConfig.hotKeys.ArrowRight.event" | `hotKeyConfig.hotKeys.ArrowRight.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowUp.modifiers" | "hotKeyConfig.hotKeys.ArrowUp.event" | `hotKeyConfig.hotKeys.ArrowUp.modifiers.${number}` | "hotKeyConfig.hotKeys.End.modifiers" | "hotKeyConfig.hotKeys.End.event" | `hotKeyConfig.hotKeys.End.modifiers.${number}` | "hotKeyConfig.hotKeys.Home.modifiers" | "hotKeyConfig.hotKeys.Home.event" | `hotKeyConfig.hotKeys.Home.modifiers.${number}` | "hotKeyConfig.hotKeys.PageDown.modifiers" | "hotKeyConfig.hotKeys.PageDown.event" | `hotKeyConfig.hotKeys.PageDown.modifiers.${number}` | "hotKeyConfig.hotKeys.PageUp.modifiers" | "hotKeyConfig.hotKeys.PageUp.event" | `hotKeyConfig.hotKeys.PageUp.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.modifiers" | "hotKeyConfig.hotKeys.Delete.event" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.*.modifiers" | "hotKeyConfig.hotKeys.*.event" | `hotKeyConfig.hotKeys.*.modifiers.${number}` | "hotKeyConfig.hotKeys.+.modifiers" | "hotKeyConfig.hotKeys.+.event" | `hotKeyConfig.hotKeys.+.modifiers.${number}` | "hotKeyConfig.hotKeys.-.modifiers" | "hotKeyConfig.hotKeys.-.event" | `hotKeyConfig.hotKeys.-.modifiers.${number}` | "hotKeyConfig.hotKeys...modifiers" | "hotKeyConfig.hotKeys...event" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys./.modifiers" | "hotKeyConfig.hotKeys./.event" | `hotKeyConfig.hotKeys./.modifiers.${number}` | "hotKeyConfig.hotKeys.F1.modifiers" | "hotKeyConfig.hotKeys.F1.event" | `hotKeyConfig.hotKeys.F1.modifiers.${number}` | "hotKeyConfig.hotKeys.F2.modifiers" | "hotKeyConfig.hotKeys.F2.event" | `hotKeyConfig.hotKeys.F2.modifiers.${number}` | "hotKeyConfig.hotKeys.F3.modifiers" | "hotKeyConfig.hotKeys.F3.event" | `hotKeyConfig.hotKeys.F3.modifiers.${number}` | "hotKeyConfig.hotKeys.F4.modifiers" | "hotKeyConfig.hotKeys.F4.event" | `hotKeyConfig.hotKeys.F4.modifiers.${number}` | "hotKeyConfig.hotKeys.F5.modifiers" | "hotKeyConfig.hotKeys.F5.event" | `hotKeyConfig.hotKeys.F5.modifiers.${number}` | "hotKeyConfig.hotKeys.F6.modifiers" | "hotKeyConfig.hotKeys.F6.event" | `hotKeyConfig.hotKeys.F6.modifiers.${number}` | "hotKeyConfig.hotKeys.F7.modifiers" | "hotKeyConfig.hotKeys.F7.event" | `hotKeyConfig.hotKeys.F7.modifiers.${number}` | "hotKeyConfig.hotKeys.F8.modifiers" | "hotKeyConfig.hotKeys.F8.event" | `hotKeyConfig.hotKeys.F8.modifiers.${number}` | "hotKeyConfig.hotKeys.F9.modifiers" | "hotKeyConfig.hotKeys.F9.event" | `hotKeyConfig.hotKeys.F9.modifiers.${number}` | "hotKeyConfig.hotKeys.F10.modifiers" | "hotKeyConfig.hotKeys.F10.event" | `hotKeyConfig.hotKeys.F10.modifiers.${number}` | "hotKeyConfig.hotKeys.F11.modifiers" | "hotKeyConfig.hotKeys.F11.event" | `hotKeyConfig.hotKeys.F11.modifiers.${number}` | "hotKeyConfig.hotKeys.F12.modifiers" | "hotKeyConfig.hotKeys.F12.event" | `hotKeyConfig.hotKeys.F12.modifiers.${number}` | "hotKeyConfig.hotKeys.;.modifiers" | "hotKeyConfig.hotKeys.;.event" | `hotKeyConfig.hotKeys.;.modifiers.${number}` | "hotKeyConfig.hotKeys.=.modifiers" | "hotKeyConfig.hotKeys.=.event" | `hotKeyConfig.hotKeys.=.modifiers.${number}` | "hotKeyConfig.hotKeys.,.modifiers" | "hotKeyConfig.hotKeys.,.event" | `hotKeyConfig.hotKeys.,.modifiers.${number}` | "hotKeyConfig.hotKeys.`.modifiers" | "hotKeyConfig.hotKeys.`.event" | `hotKeyConfig.hotKeys.\`.modifiers.${number}` | "hotKeyConfig.hotKeys.[.modifiers" | "hotKeyConfig.hotKeys.[.event" | `hotKeyConfig.hotKeys.[.modifiers.${number}` | "hotKeyConfig.hotKeys.\\.modifiers" | "hotKeyConfig.hotKeys.\\.event" | `hotKeyConfig.hotKeys.\\.modifiers.${number}` | "hotKeyConfig.hotKeys.].modifiers" | "hotKeyConfig.hotKeys.].event" | `hotKeyConfig.hotKeys.].modifiers.${number}` | "hotKeyConfig.hotKeys.4.modifiers" | "hotKeyConfig.hotKeys.4.event" | `hotKeyConfig.hotKeys.4.modifiers.${number}` | "hotKeyConfig.hotKeys.1.modifiers" | "hotKeyConfig.hotKeys.1.event" | `hotKeyConfig.hotKeys.1.modifiers.${number}` | "hotKeyConfig.hotKeys.2.modifiers" | "hotKeyConfig.hotKeys.2.event" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.3.modifiers" | "hotKeyConfig.hotKeys.3.event" | `hotKeyConfig.hotKeys.3.modifiers.${number}` | "hotKeyConfig.hotKeys.5.modifiers" | "hotKeyConfig.hotKeys.5.event" | `hotKeyConfig.hotKeys.5.modifiers.${number}` | "hotKeyConfig.hotKeys.6.modifiers" | "hotKeyConfig.hotKeys.6.event" | `hotKeyConfig.hotKeys.6.modifiers.${number}` | "hotKeyConfig.hotKeys.7.modifiers" | "hotKeyConfig.hotKeys.7.event" | `hotKeyConfig.hotKeys.7.modifiers.${number}` | "hotKeyConfig.hotKeys.8.modifiers" | "hotKeyConfig.hotKeys.8.event" | `hotKeyConfig.hotKeys.8.modifiers.${number}` | "hotKeyConfig.hotKeys.9.modifiers" | "hotKeyConfig.hotKeys.9.event" | `hotKeyConfig.hotKeys.9.modifiers.${number}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey">(uid: string & import("zod").$brand<"workspace">, path: P, value: P extends "proxyUrl" | "description" | "uid" | "name" | "cookies" | "collections" | "environments" | "hotKeyConfig" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" ? {
|
|
4054
4054
|
uid: string & import("zod").$brand<"workspace">;
|
|
4055
4055
|
name: string;
|
|
4056
4056
|
description: string;
|
|
@@ -4065,7 +4065,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
4065
4065
|
};
|
|
4066
4066
|
hotKeyConfig?: {
|
|
4067
4067
|
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
4068
|
-
hotKeys?: Partial<Record<"" | "
|
|
4068
|
+
hotKeys?: Partial<Record<"" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]" | "4" | "1" | "2" | "3" | "5" | "6" | "7" | "8" | "9", {
|
|
4069
4069
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
4070
4070
|
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
4071
4071
|
}>> | undefined;
|
|
@@ -4086,7 +4086,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
4086
4086
|
};
|
|
4087
4087
|
hotKeyConfig?: {
|
|
4088
4088
|
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
4089
|
-
hotKeys?: Partial<Record<"" | "
|
|
4089
|
+
hotKeys?: Partial<Record<"" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]" | "4" | "1" | "2" | "3" | "5" | "6" | "7" | "8" | "9", {
|
|
4090
4090
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
4091
4091
|
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
4092
4092
|
}>> | undefined;
|
|
@@ -4107,7 +4107,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
4107
4107
|
};
|
|
4108
4108
|
hotKeyConfig?: {
|
|
4109
4109
|
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
4110
|
-
hotKeys?: Partial<Record<"" | "
|
|
4110
|
+
hotKeys?: Partial<Record<"" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]" | "4" | "1" | "2" | "3" | "5" | "6" | "7" | "8" | "9", {
|
|
4111
4111
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
4112
4112
|
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
4113
4113
|
}>> | undefined;
|
package/dist/libs/hot-keys.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export declare const getModifiers: (modifiers: HotKeyModifiers) => ("metaKey" |
|
|
|
26
26
|
* This is the brain of the operation, we turn keybindings -> events
|
|
27
27
|
*/
|
|
28
28
|
export declare const handleHotKeyDown: (ev: KeyboardEvent, eventBus: EventBus<HotKeyEvent>, { hotKeys, modifiers }?: {
|
|
29
|
-
hotKeys?: Partial<Record<"" | "
|
|
29
|
+
hotKeys?: Partial<Record<"" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]" | "4" | "1" | "2" | "3" | "5" | "6" | "7" | "8" | "9", {
|
|
30
30
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
31
31
|
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
32
32
|
}>> | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { Cookie } from '@scalar/oas-utils/entities/cookie';
|
|
2
|
+
import type { Operation, RequestExample, ResponseInstance, SecurityScheme, Server } from '@scalar/oas-utils/entities/spec';
|
|
1
3
|
import { type ErrorResponse } from '../../libs/errors.js';
|
|
2
4
|
import type { EventBus } from '../../libs/event-bus.js';
|
|
3
5
|
import type { PluginManager } from '../../plugins/index.js';
|
|
4
|
-
import type { Cookie } from '@scalar/oas-utils/entities/cookie';
|
|
5
|
-
import type { Operation, RequestExample, ResponseInstance, SecurityScheme, Server } from '@scalar/oas-utils/entities/spec';
|
|
6
6
|
export type RequestStatus = 'start' | 'stop' | 'abort';
|
|
7
7
|
/** Response from sendRequest hoisted so we can use it as the return type for createRequestOperation */
|
|
8
8
|
type SendRequestResponse = Promise<ErrorResponse<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-request-operation.d.ts","sourceRoot":"","sources":["../../../src/libs/send-request/create-request-operation.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"create-request-operation.d.ts","sourceRoot":"","sources":["../../../src/libs/send-request/create-request-operation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAA;AAC/D,OAAO,KAAK,EACV,SAAS,EACT,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,MAAM,EACP,MAAM,iCAAiC,CAAA;AAIxC,OAAO,EAAU,KAAK,aAAa,EAAkB,MAAM,eAAe,CAAA;AAC1E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAQhD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAI9C,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAA;AAEtD,uGAAuG;AACvG,KAAK,mBAAmB,GAAG,OAAO,CAChC,aAAa,CAAC;IACZ,QAAQ,EAAE,gBAAgB,CAAA;IAC1B,OAAO,EAAE,cAAc,CAAA;IACvB,SAAS,EAAE,MAAM,CAAA;CAClB,CAAC,CACH,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAA;AAE/D,0BAA0B;AAC1B,eAAO,MAAM,sBAAsB,GAAI,yIAWpC;IACD,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,OAAO,EAAE,cAAc,CAAA;IACvB,aAAa,EAAE,MAAM,EAAE,CAAA;IACvB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,OAAO,EAAE,SAAS,CAAA;IAClB,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;IAC/C,0BAA0B,CAAC,EAAE,SAAS,CAAC,4BAA4B,CAAC,CAAA;IACpE,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,MAAM,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAA;IAChC,aAAa,CAAC,EAAE,aAAa,CAAA;CAC9B,KAAG,aAAa,CAAC;IAChB,UAAU,EAAE,eAAe,CAAA;IAC3B,WAAW,EAAE,MAAM,mBAAmB,CAAA;IACtC,OAAO,EAAE,OAAO,CAAA;CACjB,CAmPA,CAAA"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import { isDefined as Y, mergeUrls as G, shouldUseProxy as T, redirectToProxy as J, httpStatusCodes as N } from "@scalar/oas-utils/helpers";
|
|
2
|
+
import { isElectron as H } from "../electron.js";
|
|
3
|
+
import { ERRORS as P, normalizeError as U } from "../errors.js";
|
|
4
|
+
import { normalizeHeaders as Z } from "../normalize-headers.js";
|
|
5
|
+
import { createFetchBody as $ } from "./create-fetch-body.js";
|
|
6
|
+
import { createFetchHeaders as M } from "./create-fetch-headers.js";
|
|
7
|
+
import { createFetchQueryParams as ee } from "./create-fetch-query-params.js";
|
|
8
|
+
import { decodeBuffer as te } from "./decode-buffer.js";
|
|
9
|
+
import { setRequestCookies as oe, getCookieHeader as re } from "./set-request-cookies.js";
|
|
8
10
|
import { replaceTemplateVariables as c } from "../string-template.js";
|
|
9
|
-
import { isElectron as P } from "../electron.js";
|
|
10
|
-
import { isDefined as ee, mergeUrls as te, shouldUseProxy as U, redirectToProxy as oe, httpStatusCodes as re } from "@scalar/oas-utils/helpers";
|
|
11
11
|
import { buildRequestSecurity as se } from "./build-request-security.js";
|
|
12
12
|
const be = ({
|
|
13
13
|
environment: q,
|
|
@@ -25,25 +25,25 @@ const be = ({
|
|
|
25
25
|
const o = q ?? {}, b = new AbortController(), w = s.parameters.path.reduce((t, e) => (e.enabled && (t[e.key] = c(e.value, o)), t), {}), L = c(k?.url ?? "", o), l = c(c(a.path, o), w);
|
|
26
26
|
let r = L || l;
|
|
27
27
|
if (!r)
|
|
28
|
-
throw
|
|
28
|
+
throw P.URL_EMPTY;
|
|
29
29
|
Object.entries(k?.variables ?? {}).forEach(([t, e]) => {
|
|
30
30
|
r = c(r, {
|
|
31
31
|
[t]: w[t] || e.default
|
|
32
32
|
});
|
|
33
33
|
});
|
|
34
|
-
const z =
|
|
34
|
+
const z = ee(s, o, a), B = M(s, o), { body: F } = $(a.method, s, o), { cookieParams: _ } = oe({
|
|
35
35
|
example: s,
|
|
36
36
|
env: o,
|
|
37
37
|
globalCookies: v,
|
|
38
38
|
serverUrl: r,
|
|
39
39
|
proxyUrl: u
|
|
40
|
-
}), O = E.flat().map((t) => D[t]).filter(
|
|
40
|
+
}), O = E.flat().map((t) => D[t]).filter(Y), f = se(O, o), n = { ...Object.entries(f.headers).reduce(
|
|
41
41
|
(t, [e, S]) => (t[e.toLowerCase()] = S, t),
|
|
42
42
|
{}
|
|
43
43
|
), ...B }, W = [..._, ...f.cookies], x = new URLSearchParams([...z, ...f.urlParams]);
|
|
44
|
-
|
|
45
|
-
const p = c(
|
|
46
|
-
p && (
|
|
44
|
+
H() && n["user-agent"] && (n["X-Scalar-User-Agent"] = n["user-agent"]), r = G(r, l, x);
|
|
45
|
+
const p = c(re(W, n.Cookie), o);
|
|
46
|
+
p && (H() || T(u, r) ? (console.warn(
|
|
47
47
|
"We're using a `X-Scalar-Cookie` custom header to the request. The proxy will forward this as a `Cookie` header. We do this to avoid the browser omitting the `Cookie` header for cross-origin requests for security reasons."
|
|
48
48
|
), n["X-Scalar-Cookie"] = p) : (console.warn(
|
|
49
49
|
`We're trying to add a Cookie header, but browsers often omit them for cross-origin requests for various security reasons. If it's not working, that's probably why. Here are the requirements for it to work:
|
|
@@ -52,7 +52,7 @@ const be = ({
|
|
|
52
52
|
- The connection must be made over HTTPS.
|
|
53
53
|
`
|
|
54
54
|
), n.Cookie = p));
|
|
55
|
-
const A =
|
|
55
|
+
const A = J(u, r), y = new Request(A, {
|
|
56
56
|
method: a.method.toUpperCase(),
|
|
57
57
|
body: F ?? null,
|
|
58
58
|
headers: n
|
|
@@ -69,7 +69,7 @@ const be = ({
|
|
|
69
69
|
signal: b.signal
|
|
70
70
|
}), S = e.headers.get("content-type")?.startsWith("text/event-stream");
|
|
71
71
|
m?.emit("stop");
|
|
72
|
-
const X = Date.now() - t, j = e.clone(), R =
|
|
72
|
+
const X = Date.now() - t, j = e.clone(), R = Z(e.headers, T(u, r)), I = e.headers.get("content-type") ?? "text/plain;charset=UTF-8", C = await j.arrayBuffer(), Q = te(C, I), i = e.clone(), V = i.statusText || N[i.status]?.name || "", K = [204, 205, 304].includes(i.status), d = new Response(K ? null : i.body, {
|
|
73
73
|
status: i.status,
|
|
74
74
|
statusText: V,
|
|
75
75
|
headers: i.headers
|
|
@@ -110,14 +110,14 @@ const be = ({
|
|
|
110
110
|
}
|
|
111
111
|
];
|
|
112
112
|
} catch (e) {
|
|
113
|
-
return m?.emit("abort"), [
|
|
113
|
+
return m?.emit("abort"), [U(e, P.REQUEST_FAILED), null];
|
|
114
114
|
}
|
|
115
115
|
},
|
|
116
116
|
controller: b
|
|
117
117
|
}
|
|
118
118
|
];
|
|
119
119
|
} catch (o) {
|
|
120
|
-
return console.error(o), m?.emit("abort"), [
|
|
120
|
+
return console.error(o), m?.emit("abort"), [U(o), null];
|
|
121
121
|
}
|
|
122
122
|
};
|
|
123
123
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ApiClientPlugin,
|
|
1
|
+
import type { ApiClientPlugin, hooksSchema } from '@scalar/types/api-reference';
|
|
2
2
|
import type { InjectionKey } from 'vue';
|
|
3
3
|
import type { z } from 'zod';
|
|
4
4
|
export type { ApiClientPlugin };
|
|
5
|
-
type HookFunctions = z.infer<typeof
|
|
5
|
+
type HookFunctions = z.infer<typeof hooksSchema>;
|
|
6
6
|
type CreatePluginManagerParams = {
|
|
7
7
|
plugins?: ApiClientPlugin[];
|
|
8
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-manager.d.ts","sourceRoot":"","sources":["../../src/plugins/plugin-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"plugin-manager.d.ts","sourceRoot":"","sources":["../../src/plugins/plugin-manager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AAC/E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AACvC,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAE5B,YAAY,EAAE,eAAe,EAAE,CAAA;AAE/B,KAAK,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAA;AAEhD,KAAK,yBAAyB,GAAG;IAC/B,OAAO,CAAC,EAAE,eAAe,EAAE,CAAA;CAC5B,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAAI,aAAkB,yBAAyB;IAU3E;;OAEG;8BACuB,MAAM,WAAW,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,OAAO,CAAC,CAAC;;;;;IAIjF;;OAEG;kBACW,CAAC,SAAS,MAAM,aAAa,SAClC,CAAC,WACC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,WAAW,CAAC,MAAM,IAAI,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,GAAG;CAe3F,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAClE,eAAO,MAAM,qBAAqB,EAAe,YAAY,CAAC,aAAa,CAAC,CAAA"}
|
|
@@ -290,7 +290,7 @@ export declare const createActiveEntitiesStore: ({ collections, requestExamples,
|
|
|
290
290
|
};
|
|
291
291
|
hotKeyConfig?: {
|
|
292
292
|
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
293
|
-
hotKeys?: Partial<Record<"" | "
|
|
293
|
+
hotKeys?: Partial<Record<"" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]" | "4" | "1" | "2" | "3" | "5" | "6" | "7" | "8" | "9", {
|
|
294
294
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
295
295
|
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
296
296
|
}>> | undefined;
|