@scalar/api-client 2.1.33 → 2.1.35
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 +36 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +2 -2
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/ContextBar.vue.d.ts.map +1 -1
- package/dist/components/ContextBar.vue.js +1 -1
- package/dist/components/ContextBar.vue2.js +6 -6
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +3 -3
- package/dist/components/DataTable/DataTableInput.vue2.js +53 -40
- package/dist/components/ScalarHotkey.vue.d.ts +5 -6
- package/dist/components/ScalarHotkey.vue.d.ts.map +1 -1
- package/dist/components/ScalarHotkey.vue.js +9 -18
- package/dist/components/SideNav/SideNav.vue.d.ts.map +1 -1
- package/dist/components/SideNav/SideNav.vue.js +2 -2
- package/dist/components/SideNav/SideNav.vue2.js +8 -8
- package/dist/components/Sidebar/SidebarButton.vue.d.ts +4 -0
- package/dist/components/Sidebar/SidebarButton.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarButton.vue.js +19 -17
- package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
- package/dist/components/TopNav/TopNav.vue.js +2 -2
- package/dist/components/TopNav/TopNav.vue2.js +14 -14
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +6 -6
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -8
- package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
- package/dist/layouts/App/ApiClientApp.vue.js +35 -29
- package/dist/layouts/App/MainLayout.vue.d.ts.map +1 -1
- package/dist/layouts/App/MainLayout.vue.js +4 -4
- package/dist/layouts/App/create-api-client-app.d.ts +257 -45
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.js +10 -10
- package/dist/layouts/App/hotkeys.js +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +514 -90
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.js +24 -22
- package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
- package/dist/layouts/Web/ApiClientWeb.vue.js +33 -27
- package/dist/layouts/Web/create-api-client-web.d.ts +258 -46
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.js +9 -9
- package/dist/libs/create-client.d.ts +280 -50
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +25 -24
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/libs/local-storage.d.ts +2 -2
- package/dist/libs/local-storage.d.ts.map +1 -1
- package/dist/libs/send-request.d.ts +2 -1
- package/dist/libs/send-request.d.ts.map +1 -1
- package/dist/libs/send-request.js +98 -97
- package/dist/router.d.ts +5 -5
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +32 -32
- package/dist/store/collections.d.ts +14 -4
- package/dist/store/collections.d.ts.map +1 -1
- package/dist/store/events.d.ts +1 -1
- package/dist/store/import-spec.d.ts +16 -31
- package/dist/store/import-spec.d.ts.map +1 -1
- package/dist/store/import-spec.js +43 -56
- package/dist/store/requests.d.ts +14 -14
- package/dist/store/store.d.ts +514 -90
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/store.js +43 -43
- package/dist/store/workspace.d.ts +10 -10
- package/dist/store/workspace.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Cookies/Cookies.vue.d.ts +5 -1
- package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +64 -55
- package/dist/views/Environment/Environment.vue.d.ts +5 -1
- package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue2.js +75 -66
- package/dist/views/Request/Request.vue.d.ts.map +1 -1
- package/dist/views/Request/Request.vue.js +1 -1
- package/dist/views/Request/Request.vue2.js +96 -90
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +21 -21
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +79 -71
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +2 -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 +105 -112
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts +5 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.js +38 -35
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +5 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +5 -118
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +126 -0
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.js +4 -4
- package/dist/views/Request/RequestSidebar.vue2.js +43 -42
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +27 -26
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseMetaInformation.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +5 -99
- package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +104 -2
- package/dist/views/Settings/SettingsGeneral.vue.js +3 -3
- package/dist/views/Settings/SettingsGeneralMode.vue.js +3 -3
- package/package.json +8 -8
- package/dist/views/Request/RequestSection/RequestSection.vue3.js +0 -5
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { type WorkspaceStore } from '../store/index.js';
|
|
1
2
|
import type { Collection, RequestMethod } from '@scalar/oas-utils/entities/spec';
|
|
2
3
|
import type { Path, PathValue } from '@scalar/object-utils/nested';
|
|
3
|
-
import type {
|
|
4
|
+
import type { ReferenceConfiguration, SpecConfiguration } from '@scalar/types/legacy';
|
|
4
5
|
import type { LiteralUnion } from 'type-fest';
|
|
5
6
|
import { type Component } from 'vue';
|
|
6
7
|
import type { Router } from 'vue-router';
|
|
@@ -8,8 +9,7 @@ import type { Router } from 'vue-router';
|
|
|
8
9
|
export type ClientConfiguration = {
|
|
9
10
|
proxyUrl?: ReferenceConfiguration['proxy'];
|
|
10
11
|
themeId?: ReferenceConfiguration['theme'];
|
|
11
|
-
|
|
12
|
-
} & Pick<ReferenceConfiguration, 'spec' | 'showSidebar' | 'servers' | 'searchHotKey'>;
|
|
12
|
+
} & Pick<ReferenceConfiguration, 'spec' | 'showSidebar' | 'servers' | 'searchHotKey' | 'authentication'>;
|
|
13
13
|
export type OpenClientPayload = {
|
|
14
14
|
path: string;
|
|
15
15
|
method: LiteralUnion<RequestMethod | Lowercase<RequestMethod>, string>;
|
|
@@ -32,14 +32,32 @@ type CreateApiClientParams = {
|
|
|
32
32
|
mountOnInitialize?: boolean;
|
|
33
33
|
/** Instance of a vue router */
|
|
34
34
|
router: Router;
|
|
35
|
+
/** In case the store has been instantiated beforehand */
|
|
36
|
+
store?: WorkspaceStore;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* ApiClient type
|
|
40
|
+
*
|
|
41
|
+
* We need to do this due to some typescript type propogation errors
|
|
42
|
+
* This is pretty much add properties as they are needed
|
|
43
|
+
*/
|
|
44
|
+
export type ApiClient = Omit<Awaited<ReturnType<typeof createApiClient>>, 'app' | 'store'> & {
|
|
45
|
+
/** Add properties as they are needed, see above */
|
|
46
|
+
app: {
|
|
47
|
+
unmount: () => void;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* The main workspace store from the client
|
|
51
|
+
* These refs don't wanna play nice with typescript, if we need them we can de-reference them
|
|
52
|
+
*/
|
|
53
|
+
store: Omit<WorkspaceStore, 'isReadOnly' | 'router' | 'events' | 'sidebarWidth' | 'proxyUrl' | 'requestHistory'>;
|
|
35
54
|
};
|
|
36
|
-
export type ApiClient = ReturnType<typeof createApiClient>;
|
|
37
55
|
/**
|
|
38
56
|
* Sync method to create the api client vue app and store
|
|
39
57
|
*
|
|
40
58
|
* This method will NOT import the spec, just create the modal so you must use update/updateConfig before opening
|
|
41
59
|
*/
|
|
42
|
-
export declare const createApiClient: ({ el, appComponent, configuration, isReadOnly, persistData, mountOnInitialize, router, }: CreateApiClientParams) => {
|
|
60
|
+
export declare const createApiClient: ({ el, appComponent, configuration, isReadOnly, store: _store, persistData, mountOnInitialize, router, }: CreateApiClientParams) => {
|
|
43
61
|
/** The vue app instance for the modal, be careful with this */
|
|
44
62
|
app: import("vue").App<Element>;
|
|
45
63
|
/** Update the API client config */
|
|
@@ -84,7 +102,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
84
102
|
hotKeyConfig?: {
|
|
85
103
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
86
104
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "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" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
87
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
105
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
88
106
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
89
107
|
}>> | undefined;
|
|
90
108
|
} | undefined;
|
|
@@ -98,6 +116,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
98
116
|
security: Record<string, string[]>[];
|
|
99
117
|
'x-scalar-icon': string;
|
|
100
118
|
securitySchemes: string[];
|
|
119
|
+
selectedSecuritySchemeUids: string[];
|
|
101
120
|
selectedServerUid: string;
|
|
102
121
|
servers: string[];
|
|
103
122
|
requests: string[];
|
|
@@ -295,11 +314,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
295
314
|
path: string;
|
|
296
315
|
type: "request";
|
|
297
316
|
uid: string;
|
|
317
|
+
selectedSecuritySchemeUids: string[];
|
|
298
318
|
selectedServerUid: string;
|
|
299
319
|
servers: string[];
|
|
300
320
|
examples: string[];
|
|
301
321
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
302
|
-
selectedSecuritySchemeUids: string[];
|
|
303
322
|
description?: string | undefined;
|
|
304
323
|
summary?: string | undefined;
|
|
305
324
|
externalDocs?: {
|
|
@@ -394,6 +413,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
394
413
|
security: Record<string, string[]>[];
|
|
395
414
|
'x-scalar-icon': string;
|
|
396
415
|
securitySchemes: string[];
|
|
416
|
+
selectedSecuritySchemeUids: string[];
|
|
397
417
|
selectedServerUid: string;
|
|
398
418
|
servers: string[];
|
|
399
419
|
requests: string[];
|
|
@@ -558,11 +578,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
558
578
|
path: string;
|
|
559
579
|
type: "request";
|
|
560
580
|
uid: string;
|
|
581
|
+
selectedSecuritySchemeUids: string[];
|
|
561
582
|
selectedServerUid: string;
|
|
562
583
|
servers: string[];
|
|
563
584
|
examples: string[];
|
|
564
585
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
565
|
-
selectedSecuritySchemeUids: string[];
|
|
566
586
|
description?: string | undefined;
|
|
567
587
|
summary?: string | undefined;
|
|
568
588
|
externalDocs?: {
|
|
@@ -625,7 +645,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
625
645
|
hotKeyConfig?: {
|
|
626
646
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
627
647
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "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" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
628
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
648
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
629
649
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
630
650
|
}>> | undefined;
|
|
631
651
|
} | undefined;
|
|
@@ -639,6 +659,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
639
659
|
security: Record<string, string[]>[];
|
|
640
660
|
'x-scalar-icon': string;
|
|
641
661
|
securitySchemes: string[];
|
|
662
|
+
selectedSecuritySchemeUids: string[];
|
|
642
663
|
selectedServerUid: string;
|
|
643
664
|
servers: string[];
|
|
644
665
|
requests: string[];
|
|
@@ -723,18 +744,84 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
723
744
|
cancelRequest: import("./event-bus.js").EventBus<any>;
|
|
724
745
|
requestStatus: import("./event-bus.js").EventBus<import("./send-request.js").RequestStatus>;
|
|
725
746
|
commandPalette: import("./event-bus.js").EventBus<import("../components/CommandPalette/TheCommandPalette.vue.js").CommandPaletteEvent>;
|
|
726
|
-
hotKeys: import("./event-bus.js").EventBus<Partial<Record<"closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
747
|
+
hotKeys: import("./event-bus.js").EventBus<Partial<Record<"closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch", KeyboardEvent>>>;
|
|
727
748
|
};
|
|
728
749
|
sidebarWidth: import("vue").Ref<string, string>;
|
|
729
750
|
setSidebarWidth: (width: string) => void;
|
|
730
751
|
proxyUrl: import("vue").Ref<string | undefined, string | undefined>;
|
|
731
752
|
setProxyUrl: (url: string) => void;
|
|
732
753
|
defaultProxyUrl: string | undefined;
|
|
733
|
-
importSpecFile: (_spec: string | Record<string, any>, workspaceUid: string, {
|
|
734
|
-
|
|
735
|
-
|
|
754
|
+
importSpecFile: (_spec: string | Record<string, any>, workspaceUid: string, { overloadServers, ...options }?: Pick<{
|
|
755
|
+
type?: "collection" | undefined;
|
|
756
|
+
uid?: string | undefined;
|
|
757
|
+
externalDocs?: {
|
|
758
|
+
description?: string | undefined;
|
|
759
|
+
url?: string | undefined;
|
|
760
|
+
} | undefined;
|
|
761
|
+
children?: (string | undefined)[] | undefined;
|
|
762
|
+
openapi?: string | undefined;
|
|
763
|
+
jsonSchemaDialect?: string | undefined;
|
|
764
|
+
info?: {
|
|
765
|
+
description?: string | undefined;
|
|
766
|
+
title?: string | undefined;
|
|
767
|
+
summary?: string | undefined;
|
|
768
|
+
termsOfService?: string | undefined;
|
|
769
|
+
contact?: {
|
|
770
|
+
name?: string | undefined;
|
|
771
|
+
url?: string | undefined;
|
|
772
|
+
email?: string | undefined;
|
|
773
|
+
} | undefined;
|
|
774
|
+
license?: {
|
|
775
|
+
name?: string | undefined;
|
|
776
|
+
identifier?: string | undefined;
|
|
777
|
+
url?: string | undefined;
|
|
778
|
+
} | undefined;
|
|
779
|
+
version?: string | undefined;
|
|
780
|
+
} | undefined;
|
|
781
|
+
security?: Record<string, string[] | undefined>[] | undefined;
|
|
782
|
+
components?: Record<string, unknown> | undefined;
|
|
783
|
+
webhooks?: Record<string, unknown> | undefined;
|
|
784
|
+
'x-scalar-icon'?: string | undefined;
|
|
785
|
+
securitySchemes?: string[] | undefined;
|
|
786
|
+
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
787
|
+
selectedServerUid?: string | undefined;
|
|
788
|
+
servers?: (string | undefined)[] | undefined;
|
|
789
|
+
requests?: (string | undefined)[] | undefined;
|
|
790
|
+
tags?: (string | undefined)[] | undefined;
|
|
791
|
+
auth?: Record<string | undefined, {
|
|
792
|
+
type?: "apiKey" | undefined;
|
|
793
|
+
value?: string | undefined;
|
|
794
|
+
name?: string | undefined;
|
|
795
|
+
} | {
|
|
796
|
+
type?: "http" | undefined;
|
|
797
|
+
username?: string | undefined;
|
|
798
|
+
password?: string | undefined;
|
|
799
|
+
token?: string | undefined;
|
|
800
|
+
} | {
|
|
801
|
+
type?: "oauth-implicit" | undefined;
|
|
802
|
+
token?: string | undefined;
|
|
803
|
+
} | {
|
|
804
|
+
type?: "oauth-password" | undefined;
|
|
805
|
+
username?: string | undefined;
|
|
806
|
+
password?: string | undefined;
|
|
807
|
+
token?: string | undefined;
|
|
808
|
+
clientSecret?: string | undefined;
|
|
809
|
+
} | {
|
|
810
|
+
type?: "oauth-clientCredentials" | undefined;
|
|
811
|
+
token?: string | undefined;
|
|
812
|
+
clientSecret?: string | undefined;
|
|
813
|
+
} | {
|
|
814
|
+
type?: "oauth-authorizationCode" | undefined;
|
|
815
|
+
token?: string | undefined;
|
|
816
|
+
clientSecret?: string | undefined;
|
|
817
|
+
}> | undefined;
|
|
818
|
+
documentUrl?: string | undefined;
|
|
819
|
+
watchForChanges?: boolean | undefined;
|
|
820
|
+
watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
821
|
+
}, "documentUrl" | "watchForChanges"> & Pick<ReferenceConfiguration, "authentication"> & {
|
|
822
|
+
setCollectionSecurity?: boolean;
|
|
823
|
+
} & {
|
|
736
824
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
737
|
-
preferredSecurityScheme?: ClientConfiguration["preferredSecurityScheme"];
|
|
738
825
|
}) => Promise<{
|
|
739
826
|
type: "collection";
|
|
740
827
|
uid: string;
|
|
@@ -743,6 +830,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
743
830
|
security: Record<string, string[]>[];
|
|
744
831
|
'x-scalar-icon': string;
|
|
745
832
|
securitySchemes: string[];
|
|
833
|
+
selectedSecuritySchemeUids: string[];
|
|
746
834
|
selectedServerUid: string;
|
|
747
835
|
servers: string[];
|
|
748
836
|
requests: string[];
|
|
@@ -802,16 +890,148 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
802
890
|
webhooks?: Record<string, unknown> | undefined;
|
|
803
891
|
documentUrl?: string | undefined;
|
|
804
892
|
} | undefined>;
|
|
805
|
-
importSpecFromUrl: (url: string, workspaceUid: string, { proxy,
|
|
806
|
-
|
|
893
|
+
importSpecFromUrl: (url: string, workspaceUid: string, { proxy, ...options }?: Omit<Pick<{
|
|
894
|
+
type?: "collection" | undefined;
|
|
895
|
+
uid?: string | undefined;
|
|
896
|
+
externalDocs?: {
|
|
897
|
+
description?: string | undefined;
|
|
898
|
+
url?: string | undefined;
|
|
899
|
+
} | undefined;
|
|
900
|
+
children?: (string | undefined)[] | undefined;
|
|
901
|
+
openapi?: string | undefined;
|
|
902
|
+
jsonSchemaDialect?: string | undefined;
|
|
903
|
+
info?: {
|
|
904
|
+
description?: string | undefined;
|
|
905
|
+
title?: string | undefined;
|
|
906
|
+
summary?: string | undefined;
|
|
907
|
+
termsOfService?: string | undefined;
|
|
908
|
+
contact?: {
|
|
909
|
+
name?: string | undefined;
|
|
910
|
+
url?: string | undefined;
|
|
911
|
+
email?: string | undefined;
|
|
912
|
+
} | undefined;
|
|
913
|
+
license?: {
|
|
914
|
+
name?: string | undefined;
|
|
915
|
+
identifier?: string | undefined;
|
|
916
|
+
url?: string | undefined;
|
|
917
|
+
} | undefined;
|
|
918
|
+
version?: string | undefined;
|
|
919
|
+
} | undefined;
|
|
920
|
+
security?: Record<string, string[] | undefined>[] | undefined;
|
|
921
|
+
components?: Record<string, unknown> | undefined;
|
|
922
|
+
webhooks?: Record<string, unknown> | undefined;
|
|
923
|
+
'x-scalar-icon'?: string | undefined;
|
|
924
|
+
securitySchemes?: string[] | undefined;
|
|
925
|
+
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
926
|
+
selectedServerUid?: string | undefined;
|
|
927
|
+
servers?: (string | undefined)[] | undefined;
|
|
928
|
+
requests?: (string | undefined)[] | undefined;
|
|
929
|
+
tags?: (string | undefined)[] | undefined;
|
|
930
|
+
auth?: Record<string | undefined, {
|
|
931
|
+
type?: "apiKey" | undefined;
|
|
932
|
+
value?: string | undefined;
|
|
933
|
+
name?: string | undefined;
|
|
934
|
+
} | {
|
|
935
|
+
type?: "http" | undefined;
|
|
936
|
+
username?: string | undefined;
|
|
937
|
+
password?: string | undefined;
|
|
938
|
+
token?: string | undefined;
|
|
939
|
+
} | {
|
|
940
|
+
type?: "oauth-implicit" | undefined;
|
|
941
|
+
token?: string | undefined;
|
|
942
|
+
} | {
|
|
943
|
+
type?: "oauth-password" | undefined;
|
|
944
|
+
username?: string | undefined;
|
|
945
|
+
password?: string | undefined;
|
|
946
|
+
token?: string | undefined;
|
|
947
|
+
clientSecret?: string | undefined;
|
|
948
|
+
} | {
|
|
949
|
+
type?: "oauth-clientCredentials" | undefined;
|
|
950
|
+
token?: string | undefined;
|
|
951
|
+
clientSecret?: string | undefined;
|
|
952
|
+
} | {
|
|
953
|
+
type?: "oauth-authorizationCode" | undefined;
|
|
954
|
+
token?: string | undefined;
|
|
955
|
+
clientSecret?: string | undefined;
|
|
956
|
+
}> | undefined;
|
|
957
|
+
documentUrl?: string | undefined;
|
|
958
|
+
watchForChanges?: boolean | undefined;
|
|
959
|
+
watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
960
|
+
}, "documentUrl" | "watchForChanges"> & Pick<ReferenceConfiguration, "authentication"> & {
|
|
961
|
+
setCollectionSecurity?: boolean;
|
|
962
|
+
} & {
|
|
807
963
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
964
|
+
}, "documentUrl"> & Pick<ReferenceConfiguration, "proxy">) => Promise<import("./errors.js").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, { overloadServers, ...options }?: Pick<{
|
|
965
|
+
type?: "collection" | undefined;
|
|
966
|
+
uid?: string | undefined;
|
|
967
|
+
externalDocs?: {
|
|
968
|
+
description?: string | undefined;
|
|
969
|
+
url?: string | undefined;
|
|
970
|
+
} | undefined;
|
|
971
|
+
children?: (string | undefined)[] | undefined;
|
|
972
|
+
openapi?: string | undefined;
|
|
973
|
+
jsonSchemaDialect?: string | undefined;
|
|
974
|
+
info?: {
|
|
975
|
+
description?: string | undefined;
|
|
976
|
+
title?: string | undefined;
|
|
977
|
+
summary?: string | undefined;
|
|
978
|
+
termsOfService?: string | undefined;
|
|
979
|
+
contact?: {
|
|
980
|
+
name?: string | undefined;
|
|
981
|
+
url?: string | undefined;
|
|
982
|
+
email?: string | undefined;
|
|
983
|
+
} | undefined;
|
|
984
|
+
license?: {
|
|
985
|
+
name?: string | undefined;
|
|
986
|
+
identifier?: string | undefined;
|
|
987
|
+
url?: string | undefined;
|
|
988
|
+
} | undefined;
|
|
989
|
+
version?: string | undefined;
|
|
990
|
+
} | undefined;
|
|
991
|
+
security?: Record<string, string[] | undefined>[] | undefined;
|
|
992
|
+
components?: Record<string, unknown> | undefined;
|
|
993
|
+
webhooks?: Record<string, unknown> | undefined;
|
|
994
|
+
'x-scalar-icon'?: string | undefined;
|
|
995
|
+
securitySchemes?: string[] | undefined;
|
|
996
|
+
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
997
|
+
selectedServerUid?: string | undefined;
|
|
998
|
+
servers?: (string | undefined)[] | undefined;
|
|
999
|
+
requests?: (string | undefined)[] | undefined;
|
|
1000
|
+
tags?: (string | undefined)[] | undefined;
|
|
1001
|
+
auth?: Record<string | undefined, {
|
|
1002
|
+
type?: "apiKey" | undefined;
|
|
1003
|
+
value?: string | undefined;
|
|
1004
|
+
name?: string | undefined;
|
|
1005
|
+
} | {
|
|
1006
|
+
type?: "http" | undefined;
|
|
1007
|
+
username?: string | undefined;
|
|
1008
|
+
password?: string | undefined;
|
|
1009
|
+
token?: string | undefined;
|
|
1010
|
+
} | {
|
|
1011
|
+
type?: "oauth-implicit" | undefined;
|
|
1012
|
+
token?: string | undefined;
|
|
1013
|
+
} | {
|
|
1014
|
+
type?: "oauth-password" | undefined;
|
|
1015
|
+
username?: string | undefined;
|
|
1016
|
+
password?: string | undefined;
|
|
1017
|
+
token?: string | undefined;
|
|
1018
|
+
clientSecret?: string | undefined;
|
|
1019
|
+
} | {
|
|
1020
|
+
type?: "oauth-clientCredentials" | undefined;
|
|
1021
|
+
token?: string | undefined;
|
|
1022
|
+
clientSecret?: string | undefined;
|
|
1023
|
+
} | {
|
|
1024
|
+
type?: "oauth-authorizationCode" | undefined;
|
|
1025
|
+
token?: string | undefined;
|
|
1026
|
+
clientSecret?: string | undefined;
|
|
1027
|
+
}> | undefined;
|
|
1028
|
+
documentUrl?: string | undefined;
|
|
1029
|
+
watchForChanges?: boolean | undefined;
|
|
1030
|
+
watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
1031
|
+
}, "documentUrl" | "watchForChanges"> & Pick<ReferenceConfiguration, "authentication"> & {
|
|
1032
|
+
setCollectionSecurity?: boolean;
|
|
1033
|
+
} & {
|
|
813
1034
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
814
|
-
preferredSecurityScheme?: ClientConfiguration["preferredSecurityScheme"];
|
|
815
1035
|
}) => Promise<{
|
|
816
1036
|
type: "collection";
|
|
817
1037
|
uid: string;
|
|
@@ -820,6 +1040,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
820
1040
|
security: Record<string, string[]>[];
|
|
821
1041
|
'x-scalar-icon': string;
|
|
822
1042
|
securitySchemes: string[];
|
|
1043
|
+
selectedSecuritySchemeUids: string[];
|
|
823
1044
|
selectedServerUid: string;
|
|
824
1045
|
servers: string[];
|
|
825
1046
|
requests: string[];
|
|
@@ -993,6 +1214,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
993
1214
|
security: Record<string, string[]>[];
|
|
994
1215
|
'x-scalar-icon': string;
|
|
995
1216
|
securitySchemes: string[];
|
|
1217
|
+
selectedSecuritySchemeUids: string[];
|
|
996
1218
|
selectedServerUid: string;
|
|
997
1219
|
servers: string[];
|
|
998
1220
|
requests: string[];
|
|
@@ -1060,6 +1282,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1060
1282
|
security: Record<string, string[]>[];
|
|
1061
1283
|
'x-scalar-icon': string;
|
|
1062
1284
|
securitySchemes: string[];
|
|
1285
|
+
selectedSecuritySchemeUids: string[];
|
|
1063
1286
|
selectedServerUid: string;
|
|
1064
1287
|
servers: string[];
|
|
1065
1288
|
requests: string[];
|
|
@@ -1119,7 +1342,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1119
1342
|
webhooks?: Record<string, unknown> | undefined;
|
|
1120
1343
|
documentUrl?: string | undefined;
|
|
1121
1344
|
};
|
|
1122
|
-
delete: (collection: Collection, workspace: import("@scalar/oas-utils/entities
|
|
1345
|
+
delete: (collection: Collection, workspace: import("@scalar/oas-utils/entities").Workspace) => void;
|
|
1123
1346
|
set: (item: {
|
|
1124
1347
|
type: "collection";
|
|
1125
1348
|
uid: string;
|
|
@@ -1128,6 +1351,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1128
1351
|
security: Record<string, string[]>[];
|
|
1129
1352
|
'x-scalar-icon': string;
|
|
1130
1353
|
securitySchemes: string[];
|
|
1354
|
+
selectedSecuritySchemeUids: string[];
|
|
1131
1355
|
selectedServerUid: string;
|
|
1132
1356
|
servers: string[];
|
|
1133
1357
|
requests: string[];
|
|
@@ -1187,7 +1411,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1187
1411
|
webhooks?: Record<string, unknown> | undefined;
|
|
1188
1412
|
documentUrl?: string | undefined;
|
|
1189
1413
|
}) => void;
|
|
1190
|
-
edit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "tags" | "requests" | "
|
|
1414
|
+
edit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchForChanges" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.url" | "externalDocs.description" | "x-scalar-icon" | "watchForChangesStatus" | `children.${number}` | "info.summary" | "info.title" | "info.description" | "info.termsOfService" | "info.contact" | "info.license" | "info.version" | "info.contact.url" | "info.contact.name" | "info.contact.email" | "info.license.url" | "info.license.name" | "info.license.identifier" | `auth.${string}` | `securitySchemes.${number}` | `requests.${number}` | `components.${string}` | `webhooks.${string}`>(uid: string, path: P, value: P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchForChanges" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchForChangesStatus" ? {
|
|
1191
1415
|
type: "collection";
|
|
1192
1416
|
uid: string;
|
|
1193
1417
|
children: string[];
|
|
@@ -1195,6 +1419,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1195
1419
|
security: Record<string, string[]>[];
|
|
1196
1420
|
'x-scalar-icon': string;
|
|
1197
1421
|
securitySchemes: string[];
|
|
1422
|
+
selectedSecuritySchemeUids: string[];
|
|
1198
1423
|
selectedServerUid: string;
|
|
1199
1424
|
servers: string[];
|
|
1200
1425
|
requests: string[];
|
|
@@ -1253,7 +1478,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1253
1478
|
components?: Record<string, unknown> | undefined;
|
|
1254
1479
|
webhooks?: Record<string, unknown> | undefined;
|
|
1255
1480
|
documentUrl?: string | undefined;
|
|
1256
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "tags" | "requests" | "
|
|
1481
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchForChanges" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchForChangesStatus" ? R extends Path<{
|
|
1257
1482
|
type: "collection";
|
|
1258
1483
|
uid: string;
|
|
1259
1484
|
children: string[];
|
|
@@ -1261,6 +1486,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1261
1486
|
security: Record<string, string[]>[];
|
|
1262
1487
|
'x-scalar-icon': string;
|
|
1263
1488
|
securitySchemes: string[];
|
|
1489
|
+
selectedSecuritySchemeUids: string[];
|
|
1264
1490
|
selectedServerUid: string;
|
|
1265
1491
|
servers: string[];
|
|
1266
1492
|
requests: string[];
|
|
@@ -1327,6 +1553,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1327
1553
|
security: Record<string, string[]>[];
|
|
1328
1554
|
'x-scalar-icon': string;
|
|
1329
1555
|
securitySchemes: string[];
|
|
1556
|
+
selectedSecuritySchemeUids: string[];
|
|
1330
1557
|
selectedServerUid: string;
|
|
1331
1558
|
servers: string[];
|
|
1332
1559
|
requests: string[];
|
|
@@ -1386,7 +1613,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1386
1613
|
webhooks?: Record<string, unknown> | undefined;
|
|
1387
1614
|
documentUrl?: string | undefined;
|
|
1388
1615
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1389
|
-
untrackedEdit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "tags" | "requests" | "
|
|
1616
|
+
untrackedEdit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchForChanges" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.url" | "externalDocs.description" | "x-scalar-icon" | "watchForChangesStatus" | `children.${number}` | "info.summary" | "info.title" | "info.description" | "info.termsOfService" | "info.contact" | "info.license" | "info.version" | "info.contact.url" | "info.contact.name" | "info.contact.email" | "info.license.url" | "info.license.name" | "info.license.identifier" | `auth.${string}` | `securitySchemes.${number}` | `requests.${number}` | `components.${string}` | `webhooks.${string}`>(uid: string, path: P, value: P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchForChanges" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchForChangesStatus" ? {
|
|
1390
1617
|
type: "collection";
|
|
1391
1618
|
uid: string;
|
|
1392
1619
|
children: string[];
|
|
@@ -1394,6 +1621,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1394
1621
|
security: Record<string, string[]>[];
|
|
1395
1622
|
'x-scalar-icon': string;
|
|
1396
1623
|
securitySchemes: string[];
|
|
1624
|
+
selectedSecuritySchemeUids: string[];
|
|
1397
1625
|
selectedServerUid: string;
|
|
1398
1626
|
servers: string[];
|
|
1399
1627
|
requests: string[];
|
|
@@ -1452,7 +1680,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1452
1680
|
components?: Record<string, unknown> | undefined;
|
|
1453
1681
|
webhooks?: Record<string, unknown> | undefined;
|
|
1454
1682
|
documentUrl?: string | undefined;
|
|
1455
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "tags" | "requests" | "
|
|
1683
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchForChanges" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchForChangesStatus" ? R extends Path<{
|
|
1456
1684
|
type: "collection";
|
|
1457
1685
|
uid: string;
|
|
1458
1686
|
children: string[];
|
|
@@ -1460,6 +1688,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1460
1688
|
security: Record<string, string[]>[];
|
|
1461
1689
|
'x-scalar-icon': string;
|
|
1462
1690
|
securitySchemes: string[];
|
|
1691
|
+
selectedSecuritySchemeUids: string[];
|
|
1463
1692
|
selectedServerUid: string;
|
|
1464
1693
|
servers: string[];
|
|
1465
1694
|
requests: string[];
|
|
@@ -1526,6 +1755,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1526
1755
|
security: Record<string, string[]>[];
|
|
1527
1756
|
'x-scalar-icon': string;
|
|
1528
1757
|
securitySchemes: string[];
|
|
1758
|
+
selectedSecuritySchemeUids: string[];
|
|
1529
1759
|
selectedServerUid: string;
|
|
1530
1760
|
servers: string[];
|
|
1531
1761
|
requests: string[];
|
|
@@ -1650,11 +1880,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1650
1880
|
path: string;
|
|
1651
1881
|
type: "request";
|
|
1652
1882
|
uid: string;
|
|
1883
|
+
selectedSecuritySchemeUids: string[];
|
|
1653
1884
|
selectedServerUid: string;
|
|
1654
1885
|
servers: string[];
|
|
1655
1886
|
examples: string[];
|
|
1656
1887
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1657
|
-
selectedSecuritySchemeUids: string[];
|
|
1658
1888
|
description?: string | undefined;
|
|
1659
1889
|
summary?: string | undefined;
|
|
1660
1890
|
externalDocs?: {
|
|
@@ -1682,11 +1912,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1682
1912
|
path: string;
|
|
1683
1913
|
type: "request";
|
|
1684
1914
|
uid: string;
|
|
1915
|
+
selectedSecuritySchemeUids: string[];
|
|
1685
1916
|
selectedServerUid: string;
|
|
1686
1917
|
servers: string[];
|
|
1687
1918
|
examples: string[];
|
|
1688
1919
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1689
|
-
selectedSecuritySchemeUids: string[];
|
|
1690
1920
|
description?: string | undefined;
|
|
1691
1921
|
summary?: string | undefined;
|
|
1692
1922
|
externalDocs?: {
|
|
@@ -1715,11 +1945,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1715
1945
|
path: string;
|
|
1716
1946
|
type: "request";
|
|
1717
1947
|
uid: string;
|
|
1948
|
+
selectedSecuritySchemeUids: string[];
|
|
1718
1949
|
selectedServerUid: string;
|
|
1719
1950
|
servers: string[];
|
|
1720
1951
|
examples: string[];
|
|
1721
1952
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1722
|
-
selectedSecuritySchemeUids: string[];
|
|
1723
1953
|
description?: string | undefined;
|
|
1724
1954
|
summary?: string | undefined;
|
|
1725
1955
|
externalDocs?: {
|
|
@@ -1743,15 +1973,15 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1743
1973
|
requestBody?: any;
|
|
1744
1974
|
responses?: Record<string, any> | undefined;
|
|
1745
1975
|
}) => void;
|
|
1746
|
-
edit: <P extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "
|
|
1976
|
+
edit: <P extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "selectedSecuritySchemeUids" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "operationId" | "requestBody" | "responses" | `servers.${number}` | `parameters.${number}` | `parameters.${number}.required` | `parameters.${number}.description` | `parameters.${number}.style` | `parameters.${number}.deprecated` | `parameters.${number}.content` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.schema` | `selectedSecuritySchemeUids.${number}` | `tags.${number}` | `examples.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.url" | "externalDocs.description" | `requestBody.${string}` | `responses.${string}`>(uid: string, path: P, value: P extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "selectedSecuritySchemeUids" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "operationId" | "requestBody" | "responses" ? {
|
|
1747
1977
|
path: string;
|
|
1748
1978
|
type: "request";
|
|
1749
1979
|
uid: string;
|
|
1980
|
+
selectedSecuritySchemeUids: string[];
|
|
1750
1981
|
selectedServerUid: string;
|
|
1751
1982
|
servers: string[];
|
|
1752
1983
|
examples: string[];
|
|
1753
1984
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1754
|
-
selectedSecuritySchemeUids: string[];
|
|
1755
1985
|
description?: string | undefined;
|
|
1756
1986
|
summary?: string | undefined;
|
|
1757
1987
|
externalDocs?: {
|
|
@@ -1774,15 +2004,15 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1774
2004
|
}[] | undefined;
|
|
1775
2005
|
requestBody?: any;
|
|
1776
2006
|
responses?: Record<string, any> | undefined;
|
|
1777
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "
|
|
2007
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "selectedSecuritySchemeUids" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "operationId" | "requestBody" | "responses" ? R extends Path<{
|
|
1778
2008
|
path: string;
|
|
1779
2009
|
type: "request";
|
|
1780
2010
|
uid: string;
|
|
2011
|
+
selectedSecuritySchemeUids: string[];
|
|
1781
2012
|
selectedServerUid: string;
|
|
1782
2013
|
servers: string[];
|
|
1783
2014
|
examples: string[];
|
|
1784
2015
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1785
|
-
selectedSecuritySchemeUids: string[];
|
|
1786
2016
|
description?: string | undefined;
|
|
1787
2017
|
summary?: string | undefined;
|
|
1788
2018
|
externalDocs?: {
|
|
@@ -1809,11 +2039,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1809
2039
|
path: string;
|
|
1810
2040
|
type: "request";
|
|
1811
2041
|
uid: string;
|
|
2042
|
+
selectedSecuritySchemeUids: string[];
|
|
1812
2043
|
selectedServerUid: string;
|
|
1813
2044
|
servers: string[];
|
|
1814
2045
|
examples: string[];
|
|
1815
2046
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1816
|
-
selectedSecuritySchemeUids: string[];
|
|
1817
2047
|
description?: string | undefined;
|
|
1818
2048
|
summary?: string | undefined;
|
|
1819
2049
|
externalDocs?: {
|
|
@@ -1837,15 +2067,15 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1837
2067
|
requestBody?: any;
|
|
1838
2068
|
responses?: Record<string, any> | undefined;
|
|
1839
2069
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1840
|
-
untrackedEdit: <P extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "
|
|
2070
|
+
untrackedEdit: <P extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "selectedSecuritySchemeUids" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "operationId" | "requestBody" | "responses" | `servers.${number}` | `parameters.${number}` | `parameters.${number}.required` | `parameters.${number}.description` | `parameters.${number}.style` | `parameters.${number}.deprecated` | `parameters.${number}.content` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.schema` | `selectedSecuritySchemeUids.${number}` | `tags.${number}` | `examples.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.url" | "externalDocs.description" | `requestBody.${string}` | `responses.${string}`>(uid: string, path: P, value: P extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "selectedSecuritySchemeUids" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "operationId" | "requestBody" | "responses" ? {
|
|
1841
2071
|
path: string;
|
|
1842
2072
|
type: "request";
|
|
1843
2073
|
uid: string;
|
|
2074
|
+
selectedSecuritySchemeUids: string[];
|
|
1844
2075
|
selectedServerUid: string;
|
|
1845
2076
|
servers: string[];
|
|
1846
2077
|
examples: string[];
|
|
1847
2078
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1848
|
-
selectedSecuritySchemeUids: string[];
|
|
1849
2079
|
description?: string | undefined;
|
|
1850
2080
|
summary?: string | undefined;
|
|
1851
2081
|
externalDocs?: {
|
|
@@ -1868,15 +2098,15 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1868
2098
|
}[] | undefined;
|
|
1869
2099
|
requestBody?: any;
|
|
1870
2100
|
responses?: Record<string, any> | undefined;
|
|
1871
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "
|
|
2101
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "selectedSecuritySchemeUids" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "operationId" | "requestBody" | "responses" ? R extends Path<{
|
|
1872
2102
|
path: string;
|
|
1873
2103
|
type: "request";
|
|
1874
2104
|
uid: string;
|
|
2105
|
+
selectedSecuritySchemeUids: string[];
|
|
1875
2106
|
selectedServerUid: string;
|
|
1876
2107
|
servers: string[];
|
|
1877
2108
|
examples: string[];
|
|
1878
2109
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1879
|
-
selectedSecuritySchemeUids: string[];
|
|
1880
2110
|
description?: string | undefined;
|
|
1881
2111
|
summary?: string | undefined;
|
|
1882
2112
|
externalDocs?: {
|
|
@@ -1903,11 +2133,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1903
2133
|
path: string;
|
|
1904
2134
|
type: "request";
|
|
1905
2135
|
uid: string;
|
|
2136
|
+
selectedSecuritySchemeUids: string[];
|
|
1906
2137
|
selectedServerUid: string;
|
|
1907
2138
|
servers: string[];
|
|
1908
2139
|
examples: string[];
|
|
1909
2140
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1910
|
-
selectedSecuritySchemeUids: string[];
|
|
1911
2141
|
description?: string | undefined;
|
|
1912
2142
|
summary?: string | undefined;
|
|
1913
2143
|
externalDocs?: {
|
|
@@ -3547,13 +3777,13 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3547
3777
|
hotKeyConfig?: {
|
|
3548
3778
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3549
3779
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "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" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3550
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3780
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3551
3781
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3552
3782
|
}>> | undefined;
|
|
3553
3783
|
} | undefined;
|
|
3554
3784
|
proxyUrl?: string | undefined;
|
|
3555
3785
|
}) => void;
|
|
3556
|
-
add: (payload?: Partial<import("@scalar/oas-utils/entities
|
|
3786
|
+
add: (payload?: Partial<import("@scalar/oas-utils/entities").Workspace>) => {
|
|
3557
3787
|
uid: string;
|
|
3558
3788
|
name: string;
|
|
3559
3789
|
description: string;
|
|
@@ -3566,7 +3796,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3566
3796
|
hotKeyConfig?: {
|
|
3567
3797
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3568
3798
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "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" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3569
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3799
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3570
3800
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3571
3801
|
}>> | undefined;
|
|
3572
3802
|
} | undefined;
|
|
@@ -3586,7 +3816,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3586
3816
|
hotKeyConfig?: {
|
|
3587
3817
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3588
3818
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "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" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3589
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3819
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3590
3820
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3591
3821
|
}>> | undefined;
|
|
3592
3822
|
} | undefined;
|
|
@@ -3605,7 +3835,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3605
3835
|
hotKeyConfig?: {
|
|
3606
3836
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3607
3837
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "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" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3608
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3838
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3609
3839
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3610
3840
|
}>> | undefined;
|
|
3611
3841
|
} | undefined;
|
|
@@ -3623,7 +3853,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3623
3853
|
hotKeyConfig?: {
|
|
3624
3854
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3625
3855
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "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" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3626
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3856
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3627
3857
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3628
3858
|
}>> | undefined;
|
|
3629
3859
|
} | undefined;
|
|
@@ -3641,7 +3871,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3641
3871
|
hotKeyConfig?: {
|
|
3642
3872
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3643
3873
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "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" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3644
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3874
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3645
3875
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3646
3876
|
}>> | undefined;
|
|
3647
3877
|
} | undefined;
|
|
@@ -3660,7 +3890,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3660
3890
|
hotKeyConfig?: {
|
|
3661
3891
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3662
3892
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "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" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3663
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3893
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3664
3894
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3665
3895
|
}>> | undefined;
|
|
3666
3896
|
} | undefined;
|
|
@@ -3678,7 +3908,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3678
3908
|
hotKeyConfig?: {
|
|
3679
3909
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3680
3910
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "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" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3681
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3911
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3682
3912
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3683
3913
|
}>> | undefined;
|
|
3684
3914
|
} | undefined;
|
|
@@ -3696,7 +3926,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3696
3926
|
hotKeyConfig?: {
|
|
3697
3927
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3698
3928
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "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" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3699
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3929
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3700
3930
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3701
3931
|
}>> | undefined;
|
|
3702
3932
|
} | undefined;
|