@scalar/api-client-react 1.0.70 → 1.0.72
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 +18 -0
- package/dist/index.d.ts +257 -44
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { PathValue } from '@scalar/object-utils/nested';
|
|
|
14
14
|
import { PropsWithChildren } from 'react';
|
|
15
15
|
import { Reactive } from 'vue';
|
|
16
16
|
import { Ref } from 'vue';
|
|
17
|
+
import { ReferenceConfiguration } from '@scalar/types/legacy';
|
|
17
18
|
import { Request as Request_2 } from '@scalar/oas-utils/entities/spec';
|
|
18
19
|
import { RequestEvent } from '@scalar/oas-utils/entities/spec';
|
|
19
20
|
import { RequestExample } from '@scalar/oas-utils/entities/spec';
|
|
@@ -26,7 +27,7 @@ import { Spec } from '@scalar/types/legacy';
|
|
|
26
27
|
import { SpecConfiguration } from '@scalar/types/legacy';
|
|
27
28
|
import { Tag } from '@scalar/oas-utils/entities/spec';
|
|
28
29
|
import { TagPayload } from '@scalar/oas-utils/entities/spec';
|
|
29
|
-
import { Workspace } from '@scalar/oas-utils/entities
|
|
30
|
+
import { Workspace } from '@scalar/oas-utils/entities';
|
|
30
31
|
|
|
31
32
|
/**
|
|
32
33
|
* Api Client Modal React
|
|
@@ -76,7 +77,7 @@ export declare const useApiClientModal: () => {
|
|
|
76
77
|
hotKeyConfig?: {
|
|
77
78
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
78
79
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
79
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
80
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
80
81
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
81
82
|
}>> | undefined;
|
|
82
83
|
} | undefined;
|
|
@@ -90,6 +91,7 @@ export declare const useApiClientModal: () => {
|
|
|
90
91
|
security: Record<string, string[]>[];
|
|
91
92
|
"x-scalar-icon": string;
|
|
92
93
|
securitySchemes: string[];
|
|
94
|
+
selectedSecuritySchemeUids: string[];
|
|
93
95
|
selectedServerUid: string;
|
|
94
96
|
servers: string[];
|
|
95
97
|
requests: string[];
|
|
@@ -287,11 +289,11 @@ export declare const useApiClientModal: () => {
|
|
|
287
289
|
path: string;
|
|
288
290
|
type: "request";
|
|
289
291
|
uid: string;
|
|
292
|
+
selectedSecuritySchemeUids: string[];
|
|
290
293
|
selectedServerUid: string;
|
|
291
294
|
servers: string[];
|
|
292
295
|
examples: string[];
|
|
293
296
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
294
|
-
selectedSecuritySchemeUids: string[];
|
|
295
297
|
description?: string | undefined;
|
|
296
298
|
summary?: string | undefined;
|
|
297
299
|
externalDocs?: {
|
|
@@ -386,6 +388,7 @@ export declare const useApiClientModal: () => {
|
|
|
386
388
|
security: Record<string, string[]>[];
|
|
387
389
|
"x-scalar-icon": string;
|
|
388
390
|
securitySchemes: string[];
|
|
391
|
+
selectedSecuritySchemeUids: string[];
|
|
389
392
|
selectedServerUid: string;
|
|
390
393
|
servers: string[];
|
|
391
394
|
requests: string[];
|
|
@@ -550,11 +553,11 @@ export declare const useApiClientModal: () => {
|
|
|
550
553
|
path: string;
|
|
551
554
|
type: "request";
|
|
552
555
|
uid: string;
|
|
556
|
+
selectedSecuritySchemeUids: string[];
|
|
553
557
|
selectedServerUid: string;
|
|
554
558
|
servers: string[];
|
|
555
559
|
examples: string[];
|
|
556
560
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
557
|
-
selectedSecuritySchemeUids: string[];
|
|
558
561
|
description?: string | undefined;
|
|
559
562
|
summary?: string | undefined;
|
|
560
563
|
externalDocs?: {
|
|
@@ -617,7 +620,7 @@ export declare const useApiClientModal: () => {
|
|
|
617
620
|
hotKeyConfig?: {
|
|
618
621
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
619
622
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
620
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
623
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
621
624
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
622
625
|
}>> | undefined;
|
|
623
626
|
} | undefined;
|
|
@@ -631,6 +634,7 @@ export declare const useApiClientModal: () => {
|
|
|
631
634
|
security: Record<string, string[]>[];
|
|
632
635
|
"x-scalar-icon": string;
|
|
633
636
|
securitySchemes: string[];
|
|
637
|
+
selectedSecuritySchemeUids: string[];
|
|
634
638
|
selectedServerUid: string;
|
|
635
639
|
servers: string[];
|
|
636
640
|
requests: string[];
|
|
@@ -715,18 +719,84 @@ export declare const useApiClientModal: () => {
|
|
|
715
719
|
cancelRequest: EventBus<any>;
|
|
716
720
|
requestStatus: EventBus<RequestStatus>;
|
|
717
721
|
commandPalette: EventBus<CommandPaletteEvent>;
|
|
718
|
-
hotKeys: EventBus<Partial<Record<"closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
722
|
+
hotKeys: EventBus<Partial<Record<"closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch", KeyboardEvent>>>;
|
|
719
723
|
};
|
|
720
724
|
sidebarWidth: Ref<string, string>;
|
|
721
725
|
setSidebarWidth: (width: string) => void;
|
|
722
726
|
proxyUrl: Ref<string | undefined, string | undefined>;
|
|
723
727
|
setProxyUrl: (url: string) => void;
|
|
724
728
|
defaultProxyUrl: string | undefined;
|
|
725
|
-
importSpecFile: (_spec: string | Record<string, any>, workspaceUid: string, {
|
|
726
|
-
|
|
727
|
-
|
|
729
|
+
importSpecFile: (_spec: string | Record<string, any>, workspaceUid: string, { overloadServers, ...options }?: Pick<{
|
|
730
|
+
type?: "collection" | undefined;
|
|
731
|
+
uid?: string | undefined;
|
|
732
|
+
externalDocs?: {
|
|
733
|
+
description?: string | undefined;
|
|
734
|
+
url?: string | undefined;
|
|
735
|
+
} | undefined;
|
|
736
|
+
children?: (string | undefined)[] | undefined;
|
|
737
|
+
openapi?: string | undefined;
|
|
738
|
+
jsonSchemaDialect?: string | undefined;
|
|
739
|
+
info?: {
|
|
740
|
+
description?: string | undefined;
|
|
741
|
+
title?: string | undefined;
|
|
742
|
+
summary?: string | undefined;
|
|
743
|
+
termsOfService?: string | undefined;
|
|
744
|
+
contact?: {
|
|
745
|
+
name?: string | undefined;
|
|
746
|
+
url?: string | undefined;
|
|
747
|
+
email?: string | undefined;
|
|
748
|
+
} | undefined;
|
|
749
|
+
license?: {
|
|
750
|
+
name?: string | undefined;
|
|
751
|
+
identifier?: string | undefined;
|
|
752
|
+
url?: string | undefined;
|
|
753
|
+
} | undefined;
|
|
754
|
+
version?: string | undefined;
|
|
755
|
+
} | undefined;
|
|
756
|
+
security?: Record<string, string[] | undefined>[] | undefined;
|
|
757
|
+
components?: Record<string, unknown> | undefined;
|
|
758
|
+
webhooks?: Record<string, unknown> | undefined;
|
|
759
|
+
"x-scalar-icon"?: string | undefined;
|
|
760
|
+
securitySchemes?: string[] | undefined;
|
|
761
|
+
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
762
|
+
selectedServerUid?: string | undefined;
|
|
763
|
+
servers?: (string | undefined)[] | undefined;
|
|
764
|
+
requests?: (string | undefined)[] | undefined;
|
|
765
|
+
tags?: (string | undefined)[] | undefined;
|
|
766
|
+
auth?: Record<string | undefined, {
|
|
767
|
+
type?: "apiKey" | undefined;
|
|
768
|
+
value?: string | undefined;
|
|
769
|
+
name?: string | undefined;
|
|
770
|
+
} | {
|
|
771
|
+
type?: "http" | undefined;
|
|
772
|
+
username?: string | undefined;
|
|
773
|
+
password?: string | undefined;
|
|
774
|
+
token?: string | undefined;
|
|
775
|
+
} | {
|
|
776
|
+
type?: "oauth-implicit" | undefined;
|
|
777
|
+
token?: string | undefined;
|
|
778
|
+
} | {
|
|
779
|
+
type?: "oauth-password" | undefined;
|
|
780
|
+
username?: string | undefined;
|
|
781
|
+
password?: string | undefined;
|
|
782
|
+
token?: string | undefined;
|
|
783
|
+
clientSecret?: string | undefined;
|
|
784
|
+
} | {
|
|
785
|
+
type?: "oauth-clientCredentials" | undefined;
|
|
786
|
+
token?: string | undefined;
|
|
787
|
+
clientSecret?: string | undefined;
|
|
788
|
+
} | {
|
|
789
|
+
type?: "oauth-authorizationCode" | undefined;
|
|
790
|
+
token?: string | undefined;
|
|
791
|
+
clientSecret?: string | undefined;
|
|
792
|
+
}> | undefined;
|
|
793
|
+
documentUrl?: string | undefined;
|
|
794
|
+
watchForChanges?: boolean | undefined;
|
|
795
|
+
watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
796
|
+
}, "documentUrl" | "watchForChanges"> & Pick<ReferenceConfiguration, "authentication"> & {
|
|
797
|
+
setCollectionSecurity?: boolean;
|
|
798
|
+
} & {
|
|
728
799
|
overloadServers?: Spec["servers"];
|
|
729
|
-
preferredSecurityScheme?: ClientConfiguration["preferredSecurityScheme"];
|
|
730
800
|
}) => Promise<{
|
|
731
801
|
type: "collection";
|
|
732
802
|
uid: string;
|
|
@@ -735,6 +805,7 @@ export declare const useApiClientModal: () => {
|
|
|
735
805
|
security: Record<string, string[]>[];
|
|
736
806
|
"x-scalar-icon": string;
|
|
737
807
|
securitySchemes: string[];
|
|
808
|
+
selectedSecuritySchemeUids: string[];
|
|
738
809
|
selectedServerUid: string;
|
|
739
810
|
servers: string[];
|
|
740
811
|
requests: string[];
|
|
@@ -794,16 +865,148 @@ export declare const useApiClientModal: () => {
|
|
|
794
865
|
webhooks?: Record<string, unknown> | undefined;
|
|
795
866
|
documentUrl?: string | undefined;
|
|
796
867
|
} | undefined>;
|
|
797
|
-
importSpecFromUrl: (url: string, workspaceUid: string, { proxy,
|
|
798
|
-
|
|
868
|
+
importSpecFromUrl: (url: string, workspaceUid: string, { proxy, ...options }?: Omit<Pick<{
|
|
869
|
+
type?: "collection" | undefined;
|
|
870
|
+
uid?: string | undefined;
|
|
871
|
+
externalDocs?: {
|
|
872
|
+
description?: string | undefined;
|
|
873
|
+
url?: string | undefined;
|
|
874
|
+
} | undefined;
|
|
875
|
+
children?: (string | undefined)[] | undefined;
|
|
876
|
+
openapi?: string | undefined;
|
|
877
|
+
jsonSchemaDialect?: string | undefined;
|
|
878
|
+
info?: {
|
|
879
|
+
description?: string | undefined;
|
|
880
|
+
title?: string | undefined;
|
|
881
|
+
summary?: string | undefined;
|
|
882
|
+
termsOfService?: string | undefined;
|
|
883
|
+
contact?: {
|
|
884
|
+
name?: string | undefined;
|
|
885
|
+
url?: string | undefined;
|
|
886
|
+
email?: string | undefined;
|
|
887
|
+
} | undefined;
|
|
888
|
+
license?: {
|
|
889
|
+
name?: string | undefined;
|
|
890
|
+
identifier?: string | undefined;
|
|
891
|
+
url?: string | undefined;
|
|
892
|
+
} | undefined;
|
|
893
|
+
version?: string | undefined;
|
|
894
|
+
} | undefined;
|
|
895
|
+
security?: Record<string, string[] | undefined>[] | undefined;
|
|
896
|
+
components?: Record<string, unknown> | undefined;
|
|
897
|
+
webhooks?: Record<string, unknown> | undefined;
|
|
898
|
+
"x-scalar-icon"?: string | undefined;
|
|
899
|
+
securitySchemes?: string[] | undefined;
|
|
900
|
+
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
901
|
+
selectedServerUid?: string | undefined;
|
|
902
|
+
servers?: (string | undefined)[] | undefined;
|
|
903
|
+
requests?: (string | undefined)[] | undefined;
|
|
904
|
+
tags?: (string | undefined)[] | undefined;
|
|
905
|
+
auth?: Record<string | undefined, {
|
|
906
|
+
type?: "apiKey" | undefined;
|
|
907
|
+
value?: string | undefined;
|
|
908
|
+
name?: string | undefined;
|
|
909
|
+
} | {
|
|
910
|
+
type?: "http" | undefined;
|
|
911
|
+
username?: string | undefined;
|
|
912
|
+
password?: string | undefined;
|
|
913
|
+
token?: string | undefined;
|
|
914
|
+
} | {
|
|
915
|
+
type?: "oauth-implicit" | undefined;
|
|
916
|
+
token?: string | undefined;
|
|
917
|
+
} | {
|
|
918
|
+
type?: "oauth-password" | undefined;
|
|
919
|
+
username?: string | undefined;
|
|
920
|
+
password?: string | undefined;
|
|
921
|
+
token?: string | undefined;
|
|
922
|
+
clientSecret?: string | undefined;
|
|
923
|
+
} | {
|
|
924
|
+
type?: "oauth-clientCredentials" | undefined;
|
|
925
|
+
token?: string | undefined;
|
|
926
|
+
clientSecret?: string | undefined;
|
|
927
|
+
} | {
|
|
928
|
+
type?: "oauth-authorizationCode" | undefined;
|
|
929
|
+
token?: string | undefined;
|
|
930
|
+
clientSecret?: string | undefined;
|
|
931
|
+
}> | undefined;
|
|
932
|
+
documentUrl?: string | undefined;
|
|
933
|
+
watchForChanges?: boolean | undefined;
|
|
934
|
+
watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
935
|
+
}, "documentUrl" | "watchForChanges"> & Pick<ReferenceConfiguration, "authentication"> & {
|
|
936
|
+
setCollectionSecurity?: boolean;
|
|
937
|
+
} & {
|
|
799
938
|
overloadServers?: Spec["servers"];
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
939
|
+
}, "documentUrl"> & Pick<ReferenceConfiguration, "proxy">) => Promise<ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, { overloadServers, ...options }?: Pick<{
|
|
940
|
+
type?: "collection" | undefined;
|
|
941
|
+
uid?: string | undefined;
|
|
942
|
+
externalDocs?: {
|
|
943
|
+
description?: string | undefined;
|
|
944
|
+
url?: string | undefined;
|
|
945
|
+
} | undefined;
|
|
946
|
+
children?: (string | undefined)[] | undefined;
|
|
947
|
+
openapi?: string | undefined;
|
|
948
|
+
jsonSchemaDialect?: string | undefined;
|
|
949
|
+
info?: {
|
|
950
|
+
description?: string | undefined;
|
|
951
|
+
title?: string | undefined;
|
|
952
|
+
summary?: string | undefined;
|
|
953
|
+
termsOfService?: string | undefined;
|
|
954
|
+
contact?: {
|
|
955
|
+
name?: string | undefined;
|
|
956
|
+
url?: string | undefined;
|
|
957
|
+
email?: string | undefined;
|
|
958
|
+
} | undefined;
|
|
959
|
+
license?: {
|
|
960
|
+
name?: string | undefined;
|
|
961
|
+
identifier?: string | undefined;
|
|
962
|
+
url?: string | undefined;
|
|
963
|
+
} | undefined;
|
|
964
|
+
version?: string | undefined;
|
|
965
|
+
} | undefined;
|
|
966
|
+
security?: Record<string, string[] | undefined>[] | undefined;
|
|
967
|
+
components?: Record<string, unknown> | undefined;
|
|
968
|
+
webhooks?: Record<string, unknown> | undefined;
|
|
969
|
+
"x-scalar-icon"?: string | undefined;
|
|
970
|
+
securitySchemes?: string[] | undefined;
|
|
971
|
+
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
972
|
+
selectedServerUid?: string | undefined;
|
|
973
|
+
servers?: (string | undefined)[] | undefined;
|
|
974
|
+
requests?: (string | undefined)[] | undefined;
|
|
975
|
+
tags?: (string | undefined)[] | undefined;
|
|
976
|
+
auth?: Record<string | undefined, {
|
|
977
|
+
type?: "apiKey" | undefined;
|
|
978
|
+
value?: string | undefined;
|
|
979
|
+
name?: string | undefined;
|
|
980
|
+
} | {
|
|
981
|
+
type?: "http" | undefined;
|
|
982
|
+
username?: string | undefined;
|
|
983
|
+
password?: string | undefined;
|
|
984
|
+
token?: string | undefined;
|
|
985
|
+
} | {
|
|
986
|
+
type?: "oauth-implicit" | undefined;
|
|
987
|
+
token?: string | undefined;
|
|
988
|
+
} | {
|
|
989
|
+
type?: "oauth-password" | undefined;
|
|
990
|
+
username?: string | undefined;
|
|
991
|
+
password?: string | undefined;
|
|
992
|
+
token?: string | undefined;
|
|
993
|
+
clientSecret?: string | undefined;
|
|
994
|
+
} | {
|
|
995
|
+
type?: "oauth-clientCredentials" | undefined;
|
|
996
|
+
token?: string | undefined;
|
|
997
|
+
clientSecret?: string | undefined;
|
|
998
|
+
} | {
|
|
999
|
+
type?: "oauth-authorizationCode" | undefined;
|
|
1000
|
+
token?: string | undefined;
|
|
1001
|
+
clientSecret?: string | undefined;
|
|
1002
|
+
}> | undefined;
|
|
1003
|
+
documentUrl?: string | undefined;
|
|
1004
|
+
watchForChanges?: boolean | undefined;
|
|
1005
|
+
watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
1006
|
+
}, "documentUrl" | "watchForChanges"> & Pick<ReferenceConfiguration, "authentication"> & {
|
|
1007
|
+
setCollectionSecurity?: boolean;
|
|
1008
|
+
} & {
|
|
805
1009
|
overloadServers?: Spec["servers"];
|
|
806
|
-
preferredSecurityScheme?: ClientConfiguration["preferredSecurityScheme"];
|
|
807
1010
|
}) => Promise<{
|
|
808
1011
|
type: "collection";
|
|
809
1012
|
uid: string;
|
|
@@ -812,6 +1015,7 @@ export declare const useApiClientModal: () => {
|
|
|
812
1015
|
security: Record<string, string[]>[];
|
|
813
1016
|
"x-scalar-icon": string;
|
|
814
1017
|
securitySchemes: string[];
|
|
1018
|
+
selectedSecuritySchemeUids: string[];
|
|
815
1019
|
selectedServerUid: string;
|
|
816
1020
|
servers: string[];
|
|
817
1021
|
requests: string[];
|
|
@@ -985,6 +1189,7 @@ export declare const useApiClientModal: () => {
|
|
|
985
1189
|
security: Record<string, string[]>[];
|
|
986
1190
|
"x-scalar-icon": string;
|
|
987
1191
|
securitySchemes: string[];
|
|
1192
|
+
selectedSecuritySchemeUids: string[];
|
|
988
1193
|
selectedServerUid: string;
|
|
989
1194
|
servers: string[];
|
|
990
1195
|
requests: string[];
|
|
@@ -1052,6 +1257,7 @@ export declare const useApiClientModal: () => {
|
|
|
1052
1257
|
security: Record<string, string[]>[];
|
|
1053
1258
|
"x-scalar-icon": string;
|
|
1054
1259
|
securitySchemes: string[];
|
|
1260
|
+
selectedSecuritySchemeUids: string[];
|
|
1055
1261
|
selectedServerUid: string;
|
|
1056
1262
|
servers: string[];
|
|
1057
1263
|
requests: string[];
|
|
@@ -1120,6 +1326,7 @@ export declare const useApiClientModal: () => {
|
|
|
1120
1326
|
security: Record<string, string[]>[];
|
|
1121
1327
|
"x-scalar-icon": string;
|
|
1122
1328
|
securitySchemes: string[];
|
|
1329
|
+
selectedSecuritySchemeUids: string[];
|
|
1123
1330
|
selectedServerUid: string;
|
|
1124
1331
|
servers: string[];
|
|
1125
1332
|
requests: string[];
|
|
@@ -1179,7 +1386,7 @@ export declare const useApiClientModal: () => {
|
|
|
1179
1386
|
webhooks?: Record<string, unknown> | undefined;
|
|
1180
1387
|
documentUrl?: string | undefined;
|
|
1181
1388
|
}) => void;
|
|
1182
|
-
edit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "tags" | "requests" | "
|
|
1389
|
+
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" ? {
|
|
1183
1390
|
type: "collection";
|
|
1184
1391
|
uid: string;
|
|
1185
1392
|
children: string[];
|
|
@@ -1187,6 +1394,7 @@ export declare const useApiClientModal: () => {
|
|
|
1187
1394
|
security: Record<string, string[]>[];
|
|
1188
1395
|
"x-scalar-icon": string;
|
|
1189
1396
|
securitySchemes: string[];
|
|
1397
|
+
selectedSecuritySchemeUids: string[];
|
|
1190
1398
|
selectedServerUid: string;
|
|
1191
1399
|
servers: string[];
|
|
1192
1400
|
requests: string[];
|
|
@@ -1245,7 +1453,7 @@ export declare const useApiClientModal: () => {
|
|
|
1245
1453
|
components?: Record<string, unknown> | undefined;
|
|
1246
1454
|
webhooks?: Record<string, unknown> | undefined;
|
|
1247
1455
|
documentUrl?: string | undefined;
|
|
1248
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "tags" | "requests" | "
|
|
1456
|
+
}[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< {
|
|
1249
1457
|
type: "collection";
|
|
1250
1458
|
uid: string;
|
|
1251
1459
|
children: string[];
|
|
@@ -1253,6 +1461,7 @@ export declare const useApiClientModal: () => {
|
|
|
1253
1461
|
security: Record<string, string[]>[];
|
|
1254
1462
|
"x-scalar-icon": string;
|
|
1255
1463
|
securitySchemes: string[];
|
|
1464
|
+
selectedSecuritySchemeUids: string[];
|
|
1256
1465
|
selectedServerUid: string;
|
|
1257
1466
|
servers: string[];
|
|
1258
1467
|
requests: string[];
|
|
@@ -1319,6 +1528,7 @@ export declare const useApiClientModal: () => {
|
|
|
1319
1528
|
security: Record<string, string[]>[];
|
|
1320
1529
|
"x-scalar-icon": string;
|
|
1321
1530
|
securitySchemes: string[];
|
|
1531
|
+
selectedSecuritySchemeUids: string[];
|
|
1322
1532
|
selectedServerUid: string;
|
|
1323
1533
|
servers: string[];
|
|
1324
1534
|
requests: string[];
|
|
@@ -1378,7 +1588,7 @@ export declare const useApiClientModal: () => {
|
|
|
1378
1588
|
webhooks?: Record<string, unknown> | undefined;
|
|
1379
1589
|
documentUrl?: string | undefined;
|
|
1380
1590
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1381
|
-
untrackedEdit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "tags" | "requests" | "
|
|
1591
|
+
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" ? {
|
|
1382
1592
|
type: "collection";
|
|
1383
1593
|
uid: string;
|
|
1384
1594
|
children: string[];
|
|
@@ -1386,6 +1596,7 @@ export declare const useApiClientModal: () => {
|
|
|
1386
1596
|
security: Record<string, string[]>[];
|
|
1387
1597
|
"x-scalar-icon": string;
|
|
1388
1598
|
securitySchemes: string[];
|
|
1599
|
+
selectedSecuritySchemeUids: string[];
|
|
1389
1600
|
selectedServerUid: string;
|
|
1390
1601
|
servers: string[];
|
|
1391
1602
|
requests: string[];
|
|
@@ -1444,7 +1655,7 @@ export declare const useApiClientModal: () => {
|
|
|
1444
1655
|
components?: Record<string, unknown> | undefined;
|
|
1445
1656
|
webhooks?: Record<string, unknown> | undefined;
|
|
1446
1657
|
documentUrl?: string | undefined;
|
|
1447
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "tags" | "requests" | "
|
|
1658
|
+
}[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< {
|
|
1448
1659
|
type: "collection";
|
|
1449
1660
|
uid: string;
|
|
1450
1661
|
children: string[];
|
|
@@ -1452,6 +1663,7 @@ export declare const useApiClientModal: () => {
|
|
|
1452
1663
|
security: Record<string, string[]>[];
|
|
1453
1664
|
"x-scalar-icon": string;
|
|
1454
1665
|
securitySchemes: string[];
|
|
1666
|
+
selectedSecuritySchemeUids: string[];
|
|
1455
1667
|
selectedServerUid: string;
|
|
1456
1668
|
servers: string[];
|
|
1457
1669
|
requests: string[];
|
|
@@ -1518,6 +1730,7 @@ export declare const useApiClientModal: () => {
|
|
|
1518
1730
|
security: Record<string, string[]>[];
|
|
1519
1731
|
"x-scalar-icon": string;
|
|
1520
1732
|
securitySchemes: string[];
|
|
1733
|
+
selectedSecuritySchemeUids: string[];
|
|
1521
1734
|
selectedServerUid: string;
|
|
1522
1735
|
servers: string[];
|
|
1523
1736
|
requests: string[];
|
|
@@ -1642,11 +1855,11 @@ export declare const useApiClientModal: () => {
|
|
|
1642
1855
|
path: string;
|
|
1643
1856
|
type: "request";
|
|
1644
1857
|
uid: string;
|
|
1858
|
+
selectedSecuritySchemeUids: string[];
|
|
1645
1859
|
selectedServerUid: string;
|
|
1646
1860
|
servers: string[];
|
|
1647
1861
|
examples: string[];
|
|
1648
1862
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1649
|
-
selectedSecuritySchemeUids: string[];
|
|
1650
1863
|
description?: string | undefined;
|
|
1651
1864
|
summary?: string | undefined;
|
|
1652
1865
|
externalDocs?: {
|
|
@@ -1674,11 +1887,11 @@ export declare const useApiClientModal: () => {
|
|
|
1674
1887
|
path: string;
|
|
1675
1888
|
type: "request";
|
|
1676
1889
|
uid: string;
|
|
1890
|
+
selectedSecuritySchemeUids: string[];
|
|
1677
1891
|
selectedServerUid: string;
|
|
1678
1892
|
servers: string[];
|
|
1679
1893
|
examples: string[];
|
|
1680
1894
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1681
|
-
selectedSecuritySchemeUids: string[];
|
|
1682
1895
|
description?: string | undefined;
|
|
1683
1896
|
summary?: string | undefined;
|
|
1684
1897
|
externalDocs?: {
|
|
@@ -1707,11 +1920,11 @@ export declare const useApiClientModal: () => {
|
|
|
1707
1920
|
path: string;
|
|
1708
1921
|
type: "request";
|
|
1709
1922
|
uid: string;
|
|
1923
|
+
selectedSecuritySchemeUids: string[];
|
|
1710
1924
|
selectedServerUid: string;
|
|
1711
1925
|
servers: string[];
|
|
1712
1926
|
examples: string[];
|
|
1713
1927
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1714
|
-
selectedSecuritySchemeUids: string[];
|
|
1715
1928
|
description?: string | undefined;
|
|
1716
1929
|
summary?: string | undefined;
|
|
1717
1930
|
externalDocs?: {
|
|
@@ -1735,15 +1948,15 @@ export declare const useApiClientModal: () => {
|
|
|
1735
1948
|
requestBody?: any;
|
|
1736
1949
|
responses?: Record<string, any> | undefined;
|
|
1737
1950
|
}) => void;
|
|
1738
|
-
edit: <P extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "
|
|
1951
|
+
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" ? {
|
|
1739
1952
|
path: string;
|
|
1740
1953
|
type: "request";
|
|
1741
1954
|
uid: string;
|
|
1955
|
+
selectedSecuritySchemeUids: string[];
|
|
1742
1956
|
selectedServerUid: string;
|
|
1743
1957
|
servers: string[];
|
|
1744
1958
|
examples: string[];
|
|
1745
1959
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1746
|
-
selectedSecuritySchemeUids: string[];
|
|
1747
1960
|
description?: string | undefined;
|
|
1748
1961
|
summary?: string | undefined;
|
|
1749
1962
|
externalDocs?: {
|
|
@@ -1766,15 +1979,15 @@ export declare const useApiClientModal: () => {
|
|
|
1766
1979
|
}[] | undefined;
|
|
1767
1980
|
requestBody?: any;
|
|
1768
1981
|
responses?: Record<string, any> | undefined;
|
|
1769
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "
|
|
1982
|
+
}[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< {
|
|
1770
1983
|
path: string;
|
|
1771
1984
|
type: "request";
|
|
1772
1985
|
uid: string;
|
|
1986
|
+
selectedSecuritySchemeUids: string[];
|
|
1773
1987
|
selectedServerUid: string;
|
|
1774
1988
|
servers: string[];
|
|
1775
1989
|
examples: string[];
|
|
1776
1990
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1777
|
-
selectedSecuritySchemeUids: string[];
|
|
1778
1991
|
description?: string | undefined;
|
|
1779
1992
|
summary?: string | undefined;
|
|
1780
1993
|
externalDocs?: {
|
|
@@ -1801,11 +2014,11 @@ export declare const useApiClientModal: () => {
|
|
|
1801
2014
|
path: string;
|
|
1802
2015
|
type: "request";
|
|
1803
2016
|
uid: string;
|
|
2017
|
+
selectedSecuritySchemeUids: string[];
|
|
1804
2018
|
selectedServerUid: string;
|
|
1805
2019
|
servers: string[];
|
|
1806
2020
|
examples: string[];
|
|
1807
2021
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1808
|
-
selectedSecuritySchemeUids: string[];
|
|
1809
2022
|
description?: string | undefined;
|
|
1810
2023
|
summary?: string | undefined;
|
|
1811
2024
|
externalDocs?: {
|
|
@@ -1829,15 +2042,15 @@ export declare const useApiClientModal: () => {
|
|
|
1829
2042
|
requestBody?: any;
|
|
1830
2043
|
responses?: Record<string, any> | undefined;
|
|
1831
2044
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1832
|
-
untrackedEdit: <P extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "
|
|
2045
|
+
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" ? {
|
|
1833
2046
|
path: string;
|
|
1834
2047
|
type: "request";
|
|
1835
2048
|
uid: string;
|
|
2049
|
+
selectedSecuritySchemeUids: string[];
|
|
1836
2050
|
selectedServerUid: string;
|
|
1837
2051
|
servers: string[];
|
|
1838
2052
|
examples: string[];
|
|
1839
2053
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1840
|
-
selectedSecuritySchemeUids: string[];
|
|
1841
2054
|
description?: string | undefined;
|
|
1842
2055
|
summary?: string | undefined;
|
|
1843
2056
|
externalDocs?: {
|
|
@@ -1860,15 +2073,15 @@ export declare const useApiClientModal: () => {
|
|
|
1860
2073
|
}[] | undefined;
|
|
1861
2074
|
requestBody?: any;
|
|
1862
2075
|
responses?: Record<string, any> | undefined;
|
|
1863
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "
|
|
2076
|
+
}[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< {
|
|
1864
2077
|
path: string;
|
|
1865
2078
|
type: "request";
|
|
1866
2079
|
uid: string;
|
|
2080
|
+
selectedSecuritySchemeUids: string[];
|
|
1867
2081
|
selectedServerUid: string;
|
|
1868
2082
|
servers: string[];
|
|
1869
2083
|
examples: string[];
|
|
1870
2084
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1871
|
-
selectedSecuritySchemeUids: string[];
|
|
1872
2085
|
description?: string | undefined;
|
|
1873
2086
|
summary?: string | undefined;
|
|
1874
2087
|
externalDocs?: {
|
|
@@ -1895,11 +2108,11 @@ export declare const useApiClientModal: () => {
|
|
|
1895
2108
|
path: string;
|
|
1896
2109
|
type: "request";
|
|
1897
2110
|
uid: string;
|
|
2111
|
+
selectedSecuritySchemeUids: string[];
|
|
1898
2112
|
selectedServerUid: string;
|
|
1899
2113
|
servers: string[];
|
|
1900
2114
|
examples: string[];
|
|
1901
2115
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1902
|
-
selectedSecuritySchemeUids: string[];
|
|
1903
2116
|
description?: string | undefined;
|
|
1904
2117
|
summary?: string | undefined;
|
|
1905
2118
|
externalDocs?: {
|
|
@@ -3539,7 +3752,7 @@ export declare const useApiClientModal: () => {
|
|
|
3539
3752
|
hotKeyConfig?: {
|
|
3540
3753
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3541
3754
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3542
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3755
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3543
3756
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3544
3757
|
}>> | undefined;
|
|
3545
3758
|
} | undefined;
|
|
@@ -3558,7 +3771,7 @@ export declare const useApiClientModal: () => {
|
|
|
3558
3771
|
hotKeyConfig?: {
|
|
3559
3772
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3560
3773
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3561
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3774
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3562
3775
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3563
3776
|
}>> | undefined;
|
|
3564
3777
|
} | undefined;
|
|
@@ -3578,7 +3791,7 @@ export declare const useApiClientModal: () => {
|
|
|
3578
3791
|
hotKeyConfig?: {
|
|
3579
3792
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3580
3793
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3581
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3794
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3582
3795
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3583
3796
|
}>> | undefined;
|
|
3584
3797
|
} | undefined;
|
|
@@ -3597,7 +3810,7 @@ export declare const useApiClientModal: () => {
|
|
|
3597
3810
|
hotKeyConfig?: {
|
|
3598
3811
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3599
3812
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3600
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3813
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3601
3814
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3602
3815
|
}>> | undefined;
|
|
3603
3816
|
} | undefined;
|
|
@@ -3615,7 +3828,7 @@ export declare const useApiClientModal: () => {
|
|
|
3615
3828
|
hotKeyConfig?: {
|
|
3616
3829
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3617
3830
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3618
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3831
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3619
3832
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3620
3833
|
}>> | undefined;
|
|
3621
3834
|
} | undefined;
|
|
@@ -3633,7 +3846,7 @@ export declare const useApiClientModal: () => {
|
|
|
3633
3846
|
hotKeyConfig?: {
|
|
3634
3847
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3635
3848
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3636
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3849
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3637
3850
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3638
3851
|
}>> | undefined;
|
|
3639
3852
|
} | undefined;
|
|
@@ -3652,7 +3865,7 @@ export declare const useApiClientModal: () => {
|
|
|
3652
3865
|
hotKeyConfig?: {
|
|
3653
3866
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3654
3867
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3655
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3868
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3656
3869
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3657
3870
|
}>> | undefined;
|
|
3658
3871
|
} | undefined;
|
|
@@ -3670,7 +3883,7 @@ export declare const useApiClientModal: () => {
|
|
|
3670
3883
|
hotKeyConfig?: {
|
|
3671
3884
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3672
3885
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3673
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3886
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3674
3887
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3675
3888
|
}>> | undefined;
|
|
3676
3889
|
} | undefined;
|
|
@@ -3688,7 +3901,7 @@ export declare const useApiClientModal: () => {
|
|
|
3688
3901
|
hotKeyConfig?: {
|
|
3689
3902
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3690
3903
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3691
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3904
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3692
3905
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3693
3906
|
}>> | undefined;
|
|
3694
3907
|
} | undefined;
|