@scalar/api-client 2.1.32 → 2.1.34
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 +28 -0
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- 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/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/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/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 +98 -91
- 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 +104 -111
- 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 +37 -34
- 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 +43 -37
- 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/Settings/SettingsGeneral.vue.js +3 -3
- package/dist/views/Settings/SettingsGeneralMode.vue.js +3 -3
- package/package.json +9 -9
|
@@ -37,7 +37,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
37
37
|
hotKeyConfig?: {
|
|
38
38
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
39
39
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
40
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
40
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
41
41
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
42
42
|
}>> | undefined;
|
|
43
43
|
} | undefined;
|
|
@@ -51,6 +51,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
51
51
|
security: Record<string, string[]>[];
|
|
52
52
|
'x-scalar-icon': string;
|
|
53
53
|
securitySchemes: string[];
|
|
54
|
+
selectedSecuritySchemeUids: string[];
|
|
54
55
|
selectedServerUid: string;
|
|
55
56
|
servers: string[];
|
|
56
57
|
requests: string[];
|
|
@@ -248,11 +249,11 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
248
249
|
path: string;
|
|
249
250
|
type: "request";
|
|
250
251
|
uid: string;
|
|
252
|
+
selectedSecuritySchemeUids: string[];
|
|
251
253
|
selectedServerUid: string;
|
|
252
254
|
servers: string[];
|
|
253
255
|
examples: string[];
|
|
254
256
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
255
|
-
selectedSecuritySchemeUids: string[];
|
|
256
257
|
description?: string | undefined;
|
|
257
258
|
summary?: string | undefined;
|
|
258
259
|
externalDocs?: {
|
|
@@ -347,6 +348,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
347
348
|
security: Record<string, string[]>[];
|
|
348
349
|
'x-scalar-icon': string;
|
|
349
350
|
securitySchemes: string[];
|
|
351
|
+
selectedSecuritySchemeUids: string[];
|
|
350
352
|
selectedServerUid: string;
|
|
351
353
|
servers: string[];
|
|
352
354
|
requests: string[];
|
|
@@ -511,11 +513,11 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
511
513
|
path: string;
|
|
512
514
|
type: "request";
|
|
513
515
|
uid: string;
|
|
516
|
+
selectedSecuritySchemeUids: string[];
|
|
514
517
|
selectedServerUid: string;
|
|
515
518
|
servers: string[];
|
|
516
519
|
examples: string[];
|
|
517
520
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
518
|
-
selectedSecuritySchemeUids: string[];
|
|
519
521
|
description?: string | undefined;
|
|
520
522
|
summary?: string | undefined;
|
|
521
523
|
externalDocs?: {
|
|
@@ -578,7 +580,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
578
580
|
hotKeyConfig?: {
|
|
579
581
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
580
582
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
581
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
583
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
582
584
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
583
585
|
}>> | undefined;
|
|
584
586
|
} | undefined;
|
|
@@ -592,6 +594,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
592
594
|
security: Record<string, string[]>[];
|
|
593
595
|
'x-scalar-icon': string;
|
|
594
596
|
securitySchemes: string[];
|
|
597
|
+
selectedSecuritySchemeUids: string[];
|
|
595
598
|
selectedServerUid: string;
|
|
596
599
|
servers: string[];
|
|
597
600
|
requests: string[];
|
|
@@ -676,18 +679,84 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
676
679
|
cancelRequest: import("../../libs/index.js").EventBus<any>;
|
|
677
680
|
requestStatus: import("../../libs/index.js").EventBus<import("../../libs/index.js").RequestStatus>;
|
|
678
681
|
commandPalette: import("../../libs/index.js").EventBus<import("../../components/CommandPalette/TheCommandPalette.vue.js").CommandPaletteEvent>;
|
|
679
|
-
hotKeys: import("../../libs/index.js").EventBus<Partial<Record<"closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
682
|
+
hotKeys: import("../../libs/index.js").EventBus<Partial<Record<"closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch", KeyboardEvent>>>;
|
|
680
683
|
};
|
|
681
684
|
sidebarWidth: import("vue").Ref<string, string>;
|
|
682
685
|
setSidebarWidth: (width: string) => void;
|
|
683
686
|
proxyUrl: import("vue").Ref<string | undefined, string | undefined>;
|
|
684
687
|
setProxyUrl: (url: string) => void;
|
|
685
688
|
defaultProxyUrl: string | undefined;
|
|
686
|
-
importSpecFile: (_spec: string | Record<string, any>, workspaceUid: string, {
|
|
687
|
-
|
|
688
|
-
|
|
689
|
+
importSpecFile: (_spec: string | Record<string, any>, workspaceUid: string, { overloadServers, ...options }?: Pick<{
|
|
690
|
+
type?: "collection" | undefined;
|
|
691
|
+
uid?: string | undefined;
|
|
692
|
+
externalDocs?: {
|
|
693
|
+
description?: string | undefined;
|
|
694
|
+
url?: string | undefined;
|
|
695
|
+
} | undefined;
|
|
696
|
+
children?: (string | undefined)[] | undefined;
|
|
697
|
+
openapi?: string | undefined;
|
|
698
|
+
jsonSchemaDialect?: string | undefined;
|
|
699
|
+
info?: {
|
|
700
|
+
description?: string | undefined;
|
|
701
|
+
title?: string | undefined;
|
|
702
|
+
summary?: string | undefined;
|
|
703
|
+
termsOfService?: string | undefined;
|
|
704
|
+
contact?: {
|
|
705
|
+
name?: string | undefined;
|
|
706
|
+
url?: string | undefined;
|
|
707
|
+
email?: string | undefined;
|
|
708
|
+
} | undefined;
|
|
709
|
+
license?: {
|
|
710
|
+
name?: string | undefined;
|
|
711
|
+
identifier?: string | undefined;
|
|
712
|
+
url?: string | undefined;
|
|
713
|
+
} | undefined;
|
|
714
|
+
version?: string | undefined;
|
|
715
|
+
} | undefined;
|
|
716
|
+
security?: Record<string, string[] | undefined>[] | undefined;
|
|
717
|
+
components?: Record<string, unknown> | undefined;
|
|
718
|
+
webhooks?: Record<string, unknown> | undefined;
|
|
719
|
+
'x-scalar-icon'?: string | undefined;
|
|
720
|
+
securitySchemes?: string[] | undefined;
|
|
721
|
+
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
722
|
+
selectedServerUid?: string | undefined;
|
|
723
|
+
servers?: (string | undefined)[] | undefined;
|
|
724
|
+
requests?: (string | undefined)[] | undefined;
|
|
725
|
+
tags?: (string | undefined)[] | undefined;
|
|
726
|
+
auth?: Record<string | undefined, {
|
|
727
|
+
type?: "apiKey" | undefined;
|
|
728
|
+
value?: string | undefined;
|
|
729
|
+
name?: string | undefined;
|
|
730
|
+
} | {
|
|
731
|
+
type?: "http" | undefined;
|
|
732
|
+
username?: string | undefined;
|
|
733
|
+
password?: string | undefined;
|
|
734
|
+
token?: string | undefined;
|
|
735
|
+
} | {
|
|
736
|
+
type?: "oauth-implicit" | undefined;
|
|
737
|
+
token?: string | undefined;
|
|
738
|
+
} | {
|
|
739
|
+
type?: "oauth-password" | undefined;
|
|
740
|
+
username?: string | undefined;
|
|
741
|
+
password?: string | undefined;
|
|
742
|
+
token?: string | undefined;
|
|
743
|
+
clientSecret?: string | undefined;
|
|
744
|
+
} | {
|
|
745
|
+
type?: "oauth-clientCredentials" | undefined;
|
|
746
|
+
token?: string | undefined;
|
|
747
|
+
clientSecret?: string | undefined;
|
|
748
|
+
} | {
|
|
749
|
+
type?: "oauth-authorizationCode" | undefined;
|
|
750
|
+
token?: string | undefined;
|
|
751
|
+
clientSecret?: string | undefined;
|
|
752
|
+
}> | undefined;
|
|
753
|
+
documentUrl?: string | undefined;
|
|
754
|
+
watchForChanges?: boolean | undefined;
|
|
755
|
+
watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
756
|
+
}, "documentUrl" | "watchForChanges"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
757
|
+
setCollectionSecurity?: boolean;
|
|
758
|
+
} & {
|
|
689
759
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
690
|
-
preferredSecurityScheme?: ClientConfiguration["preferredSecurityScheme"];
|
|
691
760
|
}) => Promise<{
|
|
692
761
|
type: "collection";
|
|
693
762
|
uid: string;
|
|
@@ -696,6 +765,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
696
765
|
security: Record<string, string[]>[];
|
|
697
766
|
'x-scalar-icon': string;
|
|
698
767
|
securitySchemes: string[];
|
|
768
|
+
selectedSecuritySchemeUids: string[];
|
|
699
769
|
selectedServerUid: string;
|
|
700
770
|
servers: string[];
|
|
701
771
|
requests: string[];
|
|
@@ -755,16 +825,148 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
755
825
|
webhooks?: Record<string, unknown> | undefined;
|
|
756
826
|
documentUrl?: string | undefined;
|
|
757
827
|
} | undefined>;
|
|
758
|
-
importSpecFromUrl: (url: string, workspaceUid: string, { proxy,
|
|
759
|
-
|
|
828
|
+
importSpecFromUrl: (url: string, workspaceUid: string, { proxy, ...options }?: Omit<Pick<{
|
|
829
|
+
type?: "collection" | undefined;
|
|
830
|
+
uid?: string | undefined;
|
|
831
|
+
externalDocs?: {
|
|
832
|
+
description?: string | undefined;
|
|
833
|
+
url?: string | undefined;
|
|
834
|
+
} | undefined;
|
|
835
|
+
children?: (string | undefined)[] | undefined;
|
|
836
|
+
openapi?: string | undefined;
|
|
837
|
+
jsonSchemaDialect?: string | undefined;
|
|
838
|
+
info?: {
|
|
839
|
+
description?: string | undefined;
|
|
840
|
+
title?: string | undefined;
|
|
841
|
+
summary?: string | undefined;
|
|
842
|
+
termsOfService?: string | undefined;
|
|
843
|
+
contact?: {
|
|
844
|
+
name?: string | undefined;
|
|
845
|
+
url?: string | undefined;
|
|
846
|
+
email?: string | undefined;
|
|
847
|
+
} | undefined;
|
|
848
|
+
license?: {
|
|
849
|
+
name?: string | undefined;
|
|
850
|
+
identifier?: string | undefined;
|
|
851
|
+
url?: string | undefined;
|
|
852
|
+
} | undefined;
|
|
853
|
+
version?: string | undefined;
|
|
854
|
+
} | undefined;
|
|
855
|
+
security?: Record<string, string[] | undefined>[] | undefined;
|
|
856
|
+
components?: Record<string, unknown> | undefined;
|
|
857
|
+
webhooks?: Record<string, unknown> | undefined;
|
|
858
|
+
'x-scalar-icon'?: string | undefined;
|
|
859
|
+
securitySchemes?: string[] | undefined;
|
|
860
|
+
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
861
|
+
selectedServerUid?: string | undefined;
|
|
862
|
+
servers?: (string | undefined)[] | undefined;
|
|
863
|
+
requests?: (string | undefined)[] | undefined;
|
|
864
|
+
tags?: (string | undefined)[] | undefined;
|
|
865
|
+
auth?: Record<string | undefined, {
|
|
866
|
+
type?: "apiKey" | undefined;
|
|
867
|
+
value?: string | undefined;
|
|
868
|
+
name?: string | undefined;
|
|
869
|
+
} | {
|
|
870
|
+
type?: "http" | undefined;
|
|
871
|
+
username?: string | undefined;
|
|
872
|
+
password?: string | undefined;
|
|
873
|
+
token?: string | undefined;
|
|
874
|
+
} | {
|
|
875
|
+
type?: "oauth-implicit" | undefined;
|
|
876
|
+
token?: string | undefined;
|
|
877
|
+
} | {
|
|
878
|
+
type?: "oauth-password" | undefined;
|
|
879
|
+
username?: string | undefined;
|
|
880
|
+
password?: string | undefined;
|
|
881
|
+
token?: string | undefined;
|
|
882
|
+
clientSecret?: string | undefined;
|
|
883
|
+
} | {
|
|
884
|
+
type?: "oauth-clientCredentials" | undefined;
|
|
885
|
+
token?: string | undefined;
|
|
886
|
+
clientSecret?: string | undefined;
|
|
887
|
+
} | {
|
|
888
|
+
type?: "oauth-authorizationCode" | undefined;
|
|
889
|
+
token?: string | undefined;
|
|
890
|
+
clientSecret?: string | undefined;
|
|
891
|
+
}> | undefined;
|
|
892
|
+
documentUrl?: string | undefined;
|
|
893
|
+
watchForChanges?: boolean | undefined;
|
|
894
|
+
watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
895
|
+
}, "documentUrl" | "watchForChanges"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
896
|
+
setCollectionSecurity?: boolean;
|
|
897
|
+
} & {
|
|
760
898
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
899
|
+
}, "documentUrl"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "proxy">) => Promise<import("../../libs/index.js").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, { overloadServers, ...options }?: Pick<{
|
|
900
|
+
type?: "collection" | undefined;
|
|
901
|
+
uid?: string | undefined;
|
|
902
|
+
externalDocs?: {
|
|
903
|
+
description?: string | undefined;
|
|
904
|
+
url?: string | undefined;
|
|
905
|
+
} | undefined;
|
|
906
|
+
children?: (string | undefined)[] | undefined;
|
|
907
|
+
openapi?: string | undefined;
|
|
908
|
+
jsonSchemaDialect?: string | undefined;
|
|
909
|
+
info?: {
|
|
910
|
+
description?: string | undefined;
|
|
911
|
+
title?: string | undefined;
|
|
912
|
+
summary?: string | undefined;
|
|
913
|
+
termsOfService?: string | undefined;
|
|
914
|
+
contact?: {
|
|
915
|
+
name?: string | undefined;
|
|
916
|
+
url?: string | undefined;
|
|
917
|
+
email?: string | undefined;
|
|
918
|
+
} | undefined;
|
|
919
|
+
license?: {
|
|
920
|
+
name?: string | undefined;
|
|
921
|
+
identifier?: string | undefined;
|
|
922
|
+
url?: string | undefined;
|
|
923
|
+
} | undefined;
|
|
924
|
+
version?: string | undefined;
|
|
925
|
+
} | undefined;
|
|
926
|
+
security?: Record<string, string[] | undefined>[] | undefined;
|
|
927
|
+
components?: Record<string, unknown> | undefined;
|
|
928
|
+
webhooks?: Record<string, unknown> | undefined;
|
|
929
|
+
'x-scalar-icon'?: string | undefined;
|
|
930
|
+
securitySchemes?: string[] | undefined;
|
|
931
|
+
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
932
|
+
selectedServerUid?: string | undefined;
|
|
933
|
+
servers?: (string | undefined)[] | undefined;
|
|
934
|
+
requests?: (string | undefined)[] | undefined;
|
|
935
|
+
tags?: (string | undefined)[] | undefined;
|
|
936
|
+
auth?: Record<string | undefined, {
|
|
937
|
+
type?: "apiKey" | undefined;
|
|
938
|
+
value?: string | undefined;
|
|
939
|
+
name?: string | undefined;
|
|
940
|
+
} | {
|
|
941
|
+
type?: "http" | undefined;
|
|
942
|
+
username?: string | undefined;
|
|
943
|
+
password?: string | undefined;
|
|
944
|
+
token?: string | undefined;
|
|
945
|
+
} | {
|
|
946
|
+
type?: "oauth-implicit" | undefined;
|
|
947
|
+
token?: string | undefined;
|
|
948
|
+
} | {
|
|
949
|
+
type?: "oauth-password" | undefined;
|
|
950
|
+
username?: string | undefined;
|
|
951
|
+
password?: string | undefined;
|
|
952
|
+
token?: string | undefined;
|
|
953
|
+
clientSecret?: string | undefined;
|
|
954
|
+
} | {
|
|
955
|
+
type?: "oauth-clientCredentials" | undefined;
|
|
956
|
+
token?: string | undefined;
|
|
957
|
+
clientSecret?: string | undefined;
|
|
958
|
+
} | {
|
|
959
|
+
type?: "oauth-authorizationCode" | undefined;
|
|
960
|
+
token?: string | undefined;
|
|
961
|
+
clientSecret?: string | undefined;
|
|
962
|
+
}> | undefined;
|
|
963
|
+
documentUrl?: string | undefined;
|
|
964
|
+
watchForChanges?: boolean | undefined;
|
|
965
|
+
watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
966
|
+
}, "documentUrl" | "watchForChanges"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
967
|
+
setCollectionSecurity?: boolean;
|
|
968
|
+
} & {
|
|
766
969
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
767
|
-
preferredSecurityScheme?: ClientConfiguration["preferredSecurityScheme"];
|
|
768
970
|
}) => Promise<{
|
|
769
971
|
type: "collection";
|
|
770
972
|
uid: string;
|
|
@@ -773,6 +975,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
773
975
|
security: Record<string, string[]>[];
|
|
774
976
|
'x-scalar-icon': string;
|
|
775
977
|
securitySchemes: string[];
|
|
978
|
+
selectedSecuritySchemeUids: string[];
|
|
776
979
|
selectedServerUid: string;
|
|
777
980
|
servers: string[];
|
|
778
981
|
requests: string[];
|
|
@@ -946,6 +1149,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
946
1149
|
security: Record<string, string[]>[];
|
|
947
1150
|
'x-scalar-icon': string;
|
|
948
1151
|
securitySchemes: string[];
|
|
1152
|
+
selectedSecuritySchemeUids: string[];
|
|
949
1153
|
selectedServerUid: string;
|
|
950
1154
|
servers: string[];
|
|
951
1155
|
requests: string[];
|
|
@@ -1013,6 +1217,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1013
1217
|
security: Record<string, string[]>[];
|
|
1014
1218
|
'x-scalar-icon': string;
|
|
1015
1219
|
securitySchemes: string[];
|
|
1220
|
+
selectedSecuritySchemeUids: string[];
|
|
1016
1221
|
selectedServerUid: string;
|
|
1017
1222
|
servers: string[];
|
|
1018
1223
|
requests: string[];
|
|
@@ -1072,7 +1277,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1072
1277
|
webhooks?: Record<string, unknown> | undefined;
|
|
1073
1278
|
documentUrl?: string | undefined;
|
|
1074
1279
|
};
|
|
1075
|
-
delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities
|
|
1280
|
+
delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities").Workspace) => void;
|
|
1076
1281
|
set: (item: {
|
|
1077
1282
|
type: "collection";
|
|
1078
1283
|
uid: string;
|
|
@@ -1081,6 +1286,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1081
1286
|
security: Record<string, string[]>[];
|
|
1082
1287
|
'x-scalar-icon': string;
|
|
1083
1288
|
securitySchemes: string[];
|
|
1289
|
+
selectedSecuritySchemeUids: string[];
|
|
1084
1290
|
selectedServerUid: string;
|
|
1085
1291
|
servers: string[];
|
|
1086
1292
|
requests: string[];
|
|
@@ -1140,7 +1346,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1140
1346
|
webhooks?: Record<string, unknown> | undefined;
|
|
1141
1347
|
documentUrl?: string | undefined;
|
|
1142
1348
|
}) => void;
|
|
1143
|
-
edit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "tags" | "requests" | "
|
|
1349
|
+
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" ? {
|
|
1144
1350
|
type: "collection";
|
|
1145
1351
|
uid: string;
|
|
1146
1352
|
children: string[];
|
|
@@ -1148,6 +1354,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1148
1354
|
security: Record<string, string[]>[];
|
|
1149
1355
|
'x-scalar-icon': string;
|
|
1150
1356
|
securitySchemes: string[];
|
|
1357
|
+
selectedSecuritySchemeUids: string[];
|
|
1151
1358
|
selectedServerUid: string;
|
|
1152
1359
|
servers: string[];
|
|
1153
1360
|
requests: string[];
|
|
@@ -1206,7 +1413,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1206
1413
|
components?: Record<string, unknown> | undefined;
|
|
1207
1414
|
webhooks?: Record<string, unknown> | undefined;
|
|
1208
1415
|
documentUrl?: string | undefined;
|
|
1209
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "tags" | "requests" | "
|
|
1416
|
+
}[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 import("@scalar/object-utils/nested").Path<{
|
|
1210
1417
|
type: "collection";
|
|
1211
1418
|
uid: string;
|
|
1212
1419
|
children: string[];
|
|
@@ -1214,6 +1421,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1214
1421
|
security: Record<string, string[]>[];
|
|
1215
1422
|
'x-scalar-icon': string;
|
|
1216
1423
|
securitySchemes: string[];
|
|
1424
|
+
selectedSecuritySchemeUids: string[];
|
|
1217
1425
|
selectedServerUid: string;
|
|
1218
1426
|
servers: string[];
|
|
1219
1427
|
requests: string[];
|
|
@@ -1280,6 +1488,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1280
1488
|
security: Record<string, string[]>[];
|
|
1281
1489
|
'x-scalar-icon': string;
|
|
1282
1490
|
securitySchemes: string[];
|
|
1491
|
+
selectedSecuritySchemeUids: string[];
|
|
1283
1492
|
selectedServerUid: string;
|
|
1284
1493
|
servers: string[];
|
|
1285
1494
|
requests: string[];
|
|
@@ -1339,7 +1548,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1339
1548
|
webhooks?: Record<string, unknown> | undefined;
|
|
1340
1549
|
documentUrl?: string | undefined;
|
|
1341
1550
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1342
|
-
untrackedEdit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "tags" | "requests" | "
|
|
1551
|
+
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" ? {
|
|
1343
1552
|
type: "collection";
|
|
1344
1553
|
uid: string;
|
|
1345
1554
|
children: string[];
|
|
@@ -1347,6 +1556,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1347
1556
|
security: Record<string, string[]>[];
|
|
1348
1557
|
'x-scalar-icon': string;
|
|
1349
1558
|
securitySchemes: string[];
|
|
1559
|
+
selectedSecuritySchemeUids: string[];
|
|
1350
1560
|
selectedServerUid: string;
|
|
1351
1561
|
servers: string[];
|
|
1352
1562
|
requests: string[];
|
|
@@ -1405,7 +1615,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1405
1615
|
components?: Record<string, unknown> | undefined;
|
|
1406
1616
|
webhooks?: Record<string, unknown> | undefined;
|
|
1407
1617
|
documentUrl?: string | undefined;
|
|
1408
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "tags" | "requests" | "
|
|
1618
|
+
}[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 import("@scalar/object-utils/nested").Path<{
|
|
1409
1619
|
type: "collection";
|
|
1410
1620
|
uid: string;
|
|
1411
1621
|
children: string[];
|
|
@@ -1413,6 +1623,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1413
1623
|
security: Record<string, string[]>[];
|
|
1414
1624
|
'x-scalar-icon': string;
|
|
1415
1625
|
securitySchemes: string[];
|
|
1626
|
+
selectedSecuritySchemeUids: string[];
|
|
1416
1627
|
selectedServerUid: string;
|
|
1417
1628
|
servers: string[];
|
|
1418
1629
|
requests: string[];
|
|
@@ -1479,6 +1690,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1479
1690
|
security: Record<string, string[]>[];
|
|
1480
1691
|
'x-scalar-icon': string;
|
|
1481
1692
|
securitySchemes: string[];
|
|
1693
|
+
selectedSecuritySchemeUids: string[];
|
|
1482
1694
|
selectedServerUid: string;
|
|
1483
1695
|
servers: string[];
|
|
1484
1696
|
requests: string[];
|
|
@@ -1603,11 +1815,11 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1603
1815
|
path: string;
|
|
1604
1816
|
type: "request";
|
|
1605
1817
|
uid: string;
|
|
1818
|
+
selectedSecuritySchemeUids: string[];
|
|
1606
1819
|
selectedServerUid: string;
|
|
1607
1820
|
servers: string[];
|
|
1608
1821
|
examples: string[];
|
|
1609
1822
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1610
|
-
selectedSecuritySchemeUids: string[];
|
|
1611
1823
|
description?: string | undefined;
|
|
1612
1824
|
summary?: string | undefined;
|
|
1613
1825
|
externalDocs?: {
|
|
@@ -1635,11 +1847,11 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1635
1847
|
path: string;
|
|
1636
1848
|
type: "request";
|
|
1637
1849
|
uid: string;
|
|
1850
|
+
selectedSecuritySchemeUids: string[];
|
|
1638
1851
|
selectedServerUid: string;
|
|
1639
1852
|
servers: string[];
|
|
1640
1853
|
examples: string[];
|
|
1641
1854
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1642
|
-
selectedSecuritySchemeUids: string[];
|
|
1643
1855
|
description?: string | undefined;
|
|
1644
1856
|
summary?: string | undefined;
|
|
1645
1857
|
externalDocs?: {
|
|
@@ -1668,11 +1880,11 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1668
1880
|
path: string;
|
|
1669
1881
|
type: "request";
|
|
1670
1882
|
uid: string;
|
|
1883
|
+
selectedSecuritySchemeUids: string[];
|
|
1671
1884
|
selectedServerUid: string;
|
|
1672
1885
|
servers: string[];
|
|
1673
1886
|
examples: string[];
|
|
1674
1887
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1675
|
-
selectedSecuritySchemeUids: string[];
|
|
1676
1888
|
description?: string | undefined;
|
|
1677
1889
|
summary?: string | undefined;
|
|
1678
1890
|
externalDocs?: {
|
|
@@ -1696,15 +1908,15 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1696
1908
|
requestBody?: any;
|
|
1697
1909
|
responses?: Record<string, any> | undefined;
|
|
1698
1910
|
}) => void;
|
|
1699
|
-
edit: <P extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "
|
|
1911
|
+
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" ? {
|
|
1700
1912
|
path: string;
|
|
1701
1913
|
type: "request";
|
|
1702
1914
|
uid: string;
|
|
1915
|
+
selectedSecuritySchemeUids: string[];
|
|
1703
1916
|
selectedServerUid: string;
|
|
1704
1917
|
servers: string[];
|
|
1705
1918
|
examples: string[];
|
|
1706
1919
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1707
|
-
selectedSecuritySchemeUids: string[];
|
|
1708
1920
|
description?: string | undefined;
|
|
1709
1921
|
summary?: string | undefined;
|
|
1710
1922
|
externalDocs?: {
|
|
@@ -1727,15 +1939,15 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1727
1939
|
}[] | undefined;
|
|
1728
1940
|
requestBody?: any;
|
|
1729
1941
|
responses?: Record<string, any> | undefined;
|
|
1730
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "
|
|
1942
|
+
}[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 import("@scalar/object-utils/nested").Path<{
|
|
1731
1943
|
path: string;
|
|
1732
1944
|
type: "request";
|
|
1733
1945
|
uid: string;
|
|
1946
|
+
selectedSecuritySchemeUids: string[];
|
|
1734
1947
|
selectedServerUid: string;
|
|
1735
1948
|
servers: string[];
|
|
1736
1949
|
examples: string[];
|
|
1737
1950
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1738
|
-
selectedSecuritySchemeUids: string[];
|
|
1739
1951
|
description?: string | undefined;
|
|
1740
1952
|
summary?: string | undefined;
|
|
1741
1953
|
externalDocs?: {
|
|
@@ -1762,11 +1974,11 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1762
1974
|
path: string;
|
|
1763
1975
|
type: "request";
|
|
1764
1976
|
uid: string;
|
|
1977
|
+
selectedSecuritySchemeUids: string[];
|
|
1765
1978
|
selectedServerUid: string;
|
|
1766
1979
|
servers: string[];
|
|
1767
1980
|
examples: string[];
|
|
1768
1981
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1769
|
-
selectedSecuritySchemeUids: string[];
|
|
1770
1982
|
description?: string | undefined;
|
|
1771
1983
|
summary?: string | undefined;
|
|
1772
1984
|
externalDocs?: {
|
|
@@ -1790,15 +2002,15 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1790
2002
|
requestBody?: any;
|
|
1791
2003
|
responses?: Record<string, any> | undefined;
|
|
1792
2004
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1793
|
-
untrackedEdit: <P extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "
|
|
2005
|
+
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" ? {
|
|
1794
2006
|
path: string;
|
|
1795
2007
|
type: "request";
|
|
1796
2008
|
uid: string;
|
|
2009
|
+
selectedSecuritySchemeUids: string[];
|
|
1797
2010
|
selectedServerUid: string;
|
|
1798
2011
|
servers: string[];
|
|
1799
2012
|
examples: string[];
|
|
1800
2013
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1801
|
-
selectedSecuritySchemeUids: string[];
|
|
1802
2014
|
description?: string | undefined;
|
|
1803
2015
|
summary?: string | undefined;
|
|
1804
2016
|
externalDocs?: {
|
|
@@ -1821,15 +2033,15 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1821
2033
|
}[] | undefined;
|
|
1822
2034
|
requestBody?: any;
|
|
1823
2035
|
responses?: Record<string, any> | undefined;
|
|
1824
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "
|
|
2036
|
+
}[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 import("@scalar/object-utils/nested").Path<{
|
|
1825
2037
|
path: string;
|
|
1826
2038
|
type: "request";
|
|
1827
2039
|
uid: string;
|
|
2040
|
+
selectedSecuritySchemeUids: string[];
|
|
1828
2041
|
selectedServerUid: string;
|
|
1829
2042
|
servers: string[];
|
|
1830
2043
|
examples: string[];
|
|
1831
2044
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1832
|
-
selectedSecuritySchemeUids: string[];
|
|
1833
2045
|
description?: string | undefined;
|
|
1834
2046
|
summary?: string | undefined;
|
|
1835
2047
|
externalDocs?: {
|
|
@@ -1856,11 +2068,11 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
1856
2068
|
path: string;
|
|
1857
2069
|
type: "request";
|
|
1858
2070
|
uid: string;
|
|
2071
|
+
selectedSecuritySchemeUids: string[];
|
|
1859
2072
|
selectedServerUid: string;
|
|
1860
2073
|
servers: string[];
|
|
1861
2074
|
examples: string[];
|
|
1862
2075
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
1863
|
-
selectedSecuritySchemeUids: string[];
|
|
1864
2076
|
description?: string | undefined;
|
|
1865
2077
|
summary?: string | undefined;
|
|
1866
2078
|
externalDocs?: {
|
|
@@ -3500,13 +3712,13 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
3500
3712
|
hotKeyConfig?: {
|
|
3501
3713
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3502
3714
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3503
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3715
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3504
3716
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3505
3717
|
}>> | undefined;
|
|
3506
3718
|
} | undefined;
|
|
3507
3719
|
proxyUrl?: string | undefined;
|
|
3508
3720
|
}) => void;
|
|
3509
|
-
add: (payload?: Partial<import("@scalar/oas-utils/entities
|
|
3721
|
+
add: (payload?: Partial<import("@scalar/oas-utils/entities").Workspace>) => {
|
|
3510
3722
|
uid: string;
|
|
3511
3723
|
name: string;
|
|
3512
3724
|
description: string;
|
|
@@ -3519,7 +3731,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
3519
3731
|
hotKeyConfig?: {
|
|
3520
3732
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3521
3733
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3522
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3734
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3523
3735
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3524
3736
|
}>> | undefined;
|
|
3525
3737
|
} | undefined;
|
|
@@ -3539,7 +3751,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
3539
3751
|
hotKeyConfig?: {
|
|
3540
3752
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3541
3753
|
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" | "
|
|
3754
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3543
3755
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3544
3756
|
}>> | undefined;
|
|
3545
3757
|
} | undefined;
|
|
@@ -3558,7 +3770,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
3558
3770
|
hotKeyConfig?: {
|
|
3559
3771
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3560
3772
|
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" | "
|
|
3773
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3562
3774
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3563
3775
|
}>> | undefined;
|
|
3564
3776
|
} | undefined;
|
|
@@ -3576,7 +3788,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
3576
3788
|
hotKeyConfig?: {
|
|
3577
3789
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3578
3790
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3579
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3791
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3580
3792
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3581
3793
|
}>> | undefined;
|
|
3582
3794
|
} | undefined;
|
|
@@ -3594,7 +3806,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
3594
3806
|
hotKeyConfig?: {
|
|
3595
3807
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3596
3808
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3597
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3809
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3598
3810
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3599
3811
|
}>> | undefined;
|
|
3600
3812
|
} | undefined;
|
|
@@ -3613,7 +3825,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
3613
3825
|
hotKeyConfig?: {
|
|
3614
3826
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3615
3827
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3616
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3828
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3617
3829
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3618
3830
|
}>> | undefined;
|
|
3619
3831
|
} | undefined;
|
|
@@ -3631,7 +3843,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
3631
3843
|
hotKeyConfig?: {
|
|
3632
3844
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3633
3845
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3634
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3846
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3635
3847
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3636
3848
|
}>> | undefined;
|
|
3637
3849
|
} | undefined;
|
|
@@ -3649,7 +3861,7 @@ export declare const createApiClientModal: (el: HTMLElement | null, configuratio
|
|
|
3649
3861
|
hotKeyConfig?: {
|
|
3650
3862
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3651
3863
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3652
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3864
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3653
3865
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3654
3866
|
}>> | undefined;
|
|
3655
3867
|
} | undefined;
|
|
@@ -3698,7 +3910,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
3698
3910
|
hotKeyConfig?: {
|
|
3699
3911
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3700
3912
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3701
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3913
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3702
3914
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3703
3915
|
}>> | undefined;
|
|
3704
3916
|
} | undefined;
|
|
@@ -3712,6 +3924,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
3712
3924
|
security: Record<string, string[]>[];
|
|
3713
3925
|
'x-scalar-icon': string;
|
|
3714
3926
|
securitySchemes: string[];
|
|
3927
|
+
selectedSecuritySchemeUids: string[];
|
|
3715
3928
|
selectedServerUid: string;
|
|
3716
3929
|
servers: string[];
|
|
3717
3930
|
requests: string[];
|
|
@@ -3909,11 +4122,11 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
3909
4122
|
path: string;
|
|
3910
4123
|
type: "request";
|
|
3911
4124
|
uid: string;
|
|
4125
|
+
selectedSecuritySchemeUids: string[];
|
|
3912
4126
|
selectedServerUid: string;
|
|
3913
4127
|
servers: string[];
|
|
3914
4128
|
examples: string[];
|
|
3915
4129
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
3916
|
-
selectedSecuritySchemeUids: string[];
|
|
3917
4130
|
description?: string | undefined;
|
|
3918
4131
|
summary?: string | undefined;
|
|
3919
4132
|
externalDocs?: {
|
|
@@ -4008,6 +4221,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4008
4221
|
security: Record<string, string[]>[];
|
|
4009
4222
|
'x-scalar-icon': string;
|
|
4010
4223
|
securitySchemes: string[];
|
|
4224
|
+
selectedSecuritySchemeUids: string[];
|
|
4011
4225
|
selectedServerUid: string;
|
|
4012
4226
|
servers: string[];
|
|
4013
4227
|
requests: string[];
|
|
@@ -4172,11 +4386,11 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4172
4386
|
path: string;
|
|
4173
4387
|
type: "request";
|
|
4174
4388
|
uid: string;
|
|
4389
|
+
selectedSecuritySchemeUids: string[];
|
|
4175
4390
|
selectedServerUid: string;
|
|
4176
4391
|
servers: string[];
|
|
4177
4392
|
examples: string[];
|
|
4178
4393
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
4179
|
-
selectedSecuritySchemeUids: string[];
|
|
4180
4394
|
description?: string | undefined;
|
|
4181
4395
|
summary?: string | undefined;
|
|
4182
4396
|
externalDocs?: {
|
|
@@ -4239,7 +4453,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4239
4453
|
hotKeyConfig?: {
|
|
4240
4454
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4241
4455
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
4242
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
4456
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
4243
4457
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
4244
4458
|
}>> | undefined;
|
|
4245
4459
|
} | undefined;
|
|
@@ -4253,6 +4467,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4253
4467
|
security: Record<string, string[]>[];
|
|
4254
4468
|
'x-scalar-icon': string;
|
|
4255
4469
|
securitySchemes: string[];
|
|
4470
|
+
selectedSecuritySchemeUids: string[];
|
|
4256
4471
|
selectedServerUid: string;
|
|
4257
4472
|
servers: string[];
|
|
4258
4473
|
requests: string[];
|
|
@@ -4337,18 +4552,84 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4337
4552
|
cancelRequest: import("../../libs/index.js").EventBus<any>;
|
|
4338
4553
|
requestStatus: import("../../libs/index.js").EventBus<import("../../libs/index.js").RequestStatus>;
|
|
4339
4554
|
commandPalette: import("../../libs/index.js").EventBus<import("../../components/CommandPalette/TheCommandPalette.vue.js").CommandPaletteEvent>;
|
|
4340
|
-
hotKeys: import("../../libs/index.js").EventBus<Partial<Record<"closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
4555
|
+
hotKeys: import("../../libs/index.js").EventBus<Partial<Record<"closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch", KeyboardEvent>>>;
|
|
4341
4556
|
};
|
|
4342
4557
|
sidebarWidth: import("vue").Ref<string, string>;
|
|
4343
4558
|
setSidebarWidth: (width: string) => void;
|
|
4344
4559
|
proxyUrl: import("vue").Ref<string | undefined, string | undefined>;
|
|
4345
4560
|
setProxyUrl: (url: string) => void;
|
|
4346
4561
|
defaultProxyUrl: string | undefined;
|
|
4347
|
-
importSpecFile: (_spec: string | Record<string, any>, workspaceUid: string, {
|
|
4348
|
-
|
|
4349
|
-
|
|
4562
|
+
importSpecFile: (_spec: string | Record<string, any>, workspaceUid: string, { overloadServers, ...options }?: Pick<{
|
|
4563
|
+
type?: "collection" | undefined;
|
|
4564
|
+
uid?: string | undefined;
|
|
4565
|
+
externalDocs?: {
|
|
4566
|
+
description?: string | undefined;
|
|
4567
|
+
url?: string | undefined;
|
|
4568
|
+
} | undefined;
|
|
4569
|
+
children?: (string | undefined)[] | undefined;
|
|
4570
|
+
openapi?: string | undefined;
|
|
4571
|
+
jsonSchemaDialect?: string | undefined;
|
|
4572
|
+
info?: {
|
|
4573
|
+
description?: string | undefined;
|
|
4574
|
+
title?: string | undefined;
|
|
4575
|
+
summary?: string | undefined;
|
|
4576
|
+
termsOfService?: string | undefined;
|
|
4577
|
+
contact?: {
|
|
4578
|
+
name?: string | undefined;
|
|
4579
|
+
url?: string | undefined;
|
|
4580
|
+
email?: string | undefined;
|
|
4581
|
+
} | undefined;
|
|
4582
|
+
license?: {
|
|
4583
|
+
name?: string | undefined;
|
|
4584
|
+
identifier?: string | undefined;
|
|
4585
|
+
url?: string | undefined;
|
|
4586
|
+
} | undefined;
|
|
4587
|
+
version?: string | undefined;
|
|
4588
|
+
} | undefined;
|
|
4589
|
+
security?: Record<string, string[] | undefined>[] | undefined;
|
|
4590
|
+
components?: Record<string, unknown> | undefined;
|
|
4591
|
+
webhooks?: Record<string, unknown> | undefined;
|
|
4592
|
+
'x-scalar-icon'?: string | undefined;
|
|
4593
|
+
securitySchemes?: string[] | undefined;
|
|
4594
|
+
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
4595
|
+
selectedServerUid?: string | undefined;
|
|
4596
|
+
servers?: (string | undefined)[] | undefined;
|
|
4597
|
+
requests?: (string | undefined)[] | undefined;
|
|
4598
|
+
tags?: (string | undefined)[] | undefined;
|
|
4599
|
+
auth?: Record<string | undefined, {
|
|
4600
|
+
type?: "apiKey" | undefined;
|
|
4601
|
+
value?: string | undefined;
|
|
4602
|
+
name?: string | undefined;
|
|
4603
|
+
} | {
|
|
4604
|
+
type?: "http" | undefined;
|
|
4605
|
+
username?: string | undefined;
|
|
4606
|
+
password?: string | undefined;
|
|
4607
|
+
token?: string | undefined;
|
|
4608
|
+
} | {
|
|
4609
|
+
type?: "oauth-implicit" | undefined;
|
|
4610
|
+
token?: string | undefined;
|
|
4611
|
+
} | {
|
|
4612
|
+
type?: "oauth-password" | undefined;
|
|
4613
|
+
username?: string | undefined;
|
|
4614
|
+
password?: string | undefined;
|
|
4615
|
+
token?: string | undefined;
|
|
4616
|
+
clientSecret?: string | undefined;
|
|
4617
|
+
} | {
|
|
4618
|
+
type?: "oauth-clientCredentials" | undefined;
|
|
4619
|
+
token?: string | undefined;
|
|
4620
|
+
clientSecret?: string | undefined;
|
|
4621
|
+
} | {
|
|
4622
|
+
type?: "oauth-authorizationCode" | undefined;
|
|
4623
|
+
token?: string | undefined;
|
|
4624
|
+
clientSecret?: string | undefined;
|
|
4625
|
+
}> | undefined;
|
|
4626
|
+
documentUrl?: string | undefined;
|
|
4627
|
+
watchForChanges?: boolean | undefined;
|
|
4628
|
+
watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4629
|
+
}, "documentUrl" | "watchForChanges"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
4630
|
+
setCollectionSecurity?: boolean;
|
|
4631
|
+
} & {
|
|
4350
4632
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
4351
|
-
preferredSecurityScheme?: ClientConfiguration["preferredSecurityScheme"];
|
|
4352
4633
|
}) => Promise<{
|
|
4353
4634
|
type: "collection";
|
|
4354
4635
|
uid: string;
|
|
@@ -4357,6 +4638,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4357
4638
|
security: Record<string, string[]>[];
|
|
4358
4639
|
'x-scalar-icon': string;
|
|
4359
4640
|
securitySchemes: string[];
|
|
4641
|
+
selectedSecuritySchemeUids: string[];
|
|
4360
4642
|
selectedServerUid: string;
|
|
4361
4643
|
servers: string[];
|
|
4362
4644
|
requests: string[];
|
|
@@ -4416,16 +4698,148 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4416
4698
|
webhooks?: Record<string, unknown> | undefined;
|
|
4417
4699
|
documentUrl?: string | undefined;
|
|
4418
4700
|
} | undefined>;
|
|
4419
|
-
importSpecFromUrl: (url: string, workspaceUid: string, { proxy,
|
|
4420
|
-
|
|
4701
|
+
importSpecFromUrl: (url: string, workspaceUid: string, { proxy, ...options }?: Omit<Pick<{
|
|
4702
|
+
type?: "collection" | undefined;
|
|
4703
|
+
uid?: string | undefined;
|
|
4704
|
+
externalDocs?: {
|
|
4705
|
+
description?: string | undefined;
|
|
4706
|
+
url?: string | undefined;
|
|
4707
|
+
} | undefined;
|
|
4708
|
+
children?: (string | undefined)[] | undefined;
|
|
4709
|
+
openapi?: string | undefined;
|
|
4710
|
+
jsonSchemaDialect?: string | undefined;
|
|
4711
|
+
info?: {
|
|
4712
|
+
description?: string | undefined;
|
|
4713
|
+
title?: string | undefined;
|
|
4714
|
+
summary?: string | undefined;
|
|
4715
|
+
termsOfService?: string | undefined;
|
|
4716
|
+
contact?: {
|
|
4717
|
+
name?: string | undefined;
|
|
4718
|
+
url?: string | undefined;
|
|
4719
|
+
email?: string | undefined;
|
|
4720
|
+
} | undefined;
|
|
4721
|
+
license?: {
|
|
4722
|
+
name?: string | undefined;
|
|
4723
|
+
identifier?: string | undefined;
|
|
4724
|
+
url?: string | undefined;
|
|
4725
|
+
} | undefined;
|
|
4726
|
+
version?: string | undefined;
|
|
4727
|
+
} | undefined;
|
|
4728
|
+
security?: Record<string, string[] | undefined>[] | undefined;
|
|
4729
|
+
components?: Record<string, unknown> | undefined;
|
|
4730
|
+
webhooks?: Record<string, unknown> | undefined;
|
|
4731
|
+
'x-scalar-icon'?: string | undefined;
|
|
4732
|
+
securitySchemes?: string[] | undefined;
|
|
4733
|
+
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
4734
|
+
selectedServerUid?: string | undefined;
|
|
4735
|
+
servers?: (string | undefined)[] | undefined;
|
|
4736
|
+
requests?: (string | undefined)[] | undefined;
|
|
4737
|
+
tags?: (string | undefined)[] | undefined;
|
|
4738
|
+
auth?: Record<string | undefined, {
|
|
4739
|
+
type?: "apiKey" | undefined;
|
|
4740
|
+
value?: string | undefined;
|
|
4741
|
+
name?: string | undefined;
|
|
4742
|
+
} | {
|
|
4743
|
+
type?: "http" | undefined;
|
|
4744
|
+
username?: string | undefined;
|
|
4745
|
+
password?: string | undefined;
|
|
4746
|
+
token?: string | undefined;
|
|
4747
|
+
} | {
|
|
4748
|
+
type?: "oauth-implicit" | undefined;
|
|
4749
|
+
token?: string | undefined;
|
|
4750
|
+
} | {
|
|
4751
|
+
type?: "oauth-password" | undefined;
|
|
4752
|
+
username?: string | undefined;
|
|
4753
|
+
password?: string | undefined;
|
|
4754
|
+
token?: string | undefined;
|
|
4755
|
+
clientSecret?: string | undefined;
|
|
4756
|
+
} | {
|
|
4757
|
+
type?: "oauth-clientCredentials" | undefined;
|
|
4758
|
+
token?: string | undefined;
|
|
4759
|
+
clientSecret?: string | undefined;
|
|
4760
|
+
} | {
|
|
4761
|
+
type?: "oauth-authorizationCode" | undefined;
|
|
4762
|
+
token?: string | undefined;
|
|
4763
|
+
clientSecret?: string | undefined;
|
|
4764
|
+
}> | undefined;
|
|
4765
|
+
documentUrl?: string | undefined;
|
|
4766
|
+
watchForChanges?: boolean | undefined;
|
|
4767
|
+
watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4768
|
+
}, "documentUrl" | "watchForChanges"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
4769
|
+
setCollectionSecurity?: boolean;
|
|
4770
|
+
} & {
|
|
4421
4771
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4772
|
+
}, "documentUrl"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "proxy">) => Promise<import("../../libs/index.js").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, { overloadServers, ...options }?: Pick<{
|
|
4773
|
+
type?: "collection" | undefined;
|
|
4774
|
+
uid?: string | undefined;
|
|
4775
|
+
externalDocs?: {
|
|
4776
|
+
description?: string | undefined;
|
|
4777
|
+
url?: string | undefined;
|
|
4778
|
+
} | undefined;
|
|
4779
|
+
children?: (string | undefined)[] | undefined;
|
|
4780
|
+
openapi?: string | undefined;
|
|
4781
|
+
jsonSchemaDialect?: string | undefined;
|
|
4782
|
+
info?: {
|
|
4783
|
+
description?: string | undefined;
|
|
4784
|
+
title?: string | undefined;
|
|
4785
|
+
summary?: string | undefined;
|
|
4786
|
+
termsOfService?: string | undefined;
|
|
4787
|
+
contact?: {
|
|
4788
|
+
name?: string | undefined;
|
|
4789
|
+
url?: string | undefined;
|
|
4790
|
+
email?: string | undefined;
|
|
4791
|
+
} | undefined;
|
|
4792
|
+
license?: {
|
|
4793
|
+
name?: string | undefined;
|
|
4794
|
+
identifier?: string | undefined;
|
|
4795
|
+
url?: string | undefined;
|
|
4796
|
+
} | undefined;
|
|
4797
|
+
version?: string | undefined;
|
|
4798
|
+
} | undefined;
|
|
4799
|
+
security?: Record<string, string[] | undefined>[] | undefined;
|
|
4800
|
+
components?: Record<string, unknown> | undefined;
|
|
4801
|
+
webhooks?: Record<string, unknown> | undefined;
|
|
4802
|
+
'x-scalar-icon'?: string | undefined;
|
|
4803
|
+
securitySchemes?: string[] | undefined;
|
|
4804
|
+
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
4805
|
+
selectedServerUid?: string | undefined;
|
|
4806
|
+
servers?: (string | undefined)[] | undefined;
|
|
4807
|
+
requests?: (string | undefined)[] | undefined;
|
|
4808
|
+
tags?: (string | undefined)[] | undefined;
|
|
4809
|
+
auth?: Record<string | undefined, {
|
|
4810
|
+
type?: "apiKey" | undefined;
|
|
4811
|
+
value?: string | undefined;
|
|
4812
|
+
name?: string | undefined;
|
|
4813
|
+
} | {
|
|
4814
|
+
type?: "http" | undefined;
|
|
4815
|
+
username?: string | undefined;
|
|
4816
|
+
password?: string | undefined;
|
|
4817
|
+
token?: string | undefined;
|
|
4818
|
+
} | {
|
|
4819
|
+
type?: "oauth-implicit" | undefined;
|
|
4820
|
+
token?: string | undefined;
|
|
4821
|
+
} | {
|
|
4822
|
+
type?: "oauth-password" | undefined;
|
|
4823
|
+
username?: string | undefined;
|
|
4824
|
+
password?: string | undefined;
|
|
4825
|
+
token?: string | undefined;
|
|
4826
|
+
clientSecret?: string | undefined;
|
|
4827
|
+
} | {
|
|
4828
|
+
type?: "oauth-clientCredentials" | undefined;
|
|
4829
|
+
token?: string | undefined;
|
|
4830
|
+
clientSecret?: string | undefined;
|
|
4831
|
+
} | {
|
|
4832
|
+
type?: "oauth-authorizationCode" | undefined;
|
|
4833
|
+
token?: string | undefined;
|
|
4834
|
+
clientSecret?: string | undefined;
|
|
4835
|
+
}> | undefined;
|
|
4836
|
+
documentUrl?: string | undefined;
|
|
4837
|
+
watchForChanges?: boolean | undefined;
|
|
4838
|
+
watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4839
|
+
}, "documentUrl" | "watchForChanges"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
4840
|
+
setCollectionSecurity?: boolean;
|
|
4841
|
+
} & {
|
|
4427
4842
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
4428
|
-
preferredSecurityScheme?: ClientConfiguration["preferredSecurityScheme"];
|
|
4429
4843
|
}) => Promise<{
|
|
4430
4844
|
type: "collection";
|
|
4431
4845
|
uid: string;
|
|
@@ -4434,6 +4848,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4434
4848
|
security: Record<string, string[]>[];
|
|
4435
4849
|
'x-scalar-icon': string;
|
|
4436
4850
|
securitySchemes: string[];
|
|
4851
|
+
selectedSecuritySchemeUids: string[];
|
|
4437
4852
|
selectedServerUid: string;
|
|
4438
4853
|
servers: string[];
|
|
4439
4854
|
requests: string[];
|
|
@@ -4607,6 +5022,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4607
5022
|
security: Record<string, string[]>[];
|
|
4608
5023
|
'x-scalar-icon': string;
|
|
4609
5024
|
securitySchemes: string[];
|
|
5025
|
+
selectedSecuritySchemeUids: string[];
|
|
4610
5026
|
selectedServerUid: string;
|
|
4611
5027
|
servers: string[];
|
|
4612
5028
|
requests: string[];
|
|
@@ -4674,6 +5090,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4674
5090
|
security: Record<string, string[]>[];
|
|
4675
5091
|
'x-scalar-icon': string;
|
|
4676
5092
|
securitySchemes: string[];
|
|
5093
|
+
selectedSecuritySchemeUids: string[];
|
|
4677
5094
|
selectedServerUid: string;
|
|
4678
5095
|
servers: string[];
|
|
4679
5096
|
requests: string[];
|
|
@@ -4733,7 +5150,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4733
5150
|
webhooks?: Record<string, unknown> | undefined;
|
|
4734
5151
|
documentUrl?: string | undefined;
|
|
4735
5152
|
};
|
|
4736
|
-
delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities
|
|
5153
|
+
delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities").Workspace) => void;
|
|
4737
5154
|
set: (item: {
|
|
4738
5155
|
type: "collection";
|
|
4739
5156
|
uid: string;
|
|
@@ -4742,6 +5159,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4742
5159
|
security: Record<string, string[]>[];
|
|
4743
5160
|
'x-scalar-icon': string;
|
|
4744
5161
|
securitySchemes: string[];
|
|
5162
|
+
selectedSecuritySchemeUids: string[];
|
|
4745
5163
|
selectedServerUid: string;
|
|
4746
5164
|
servers: string[];
|
|
4747
5165
|
requests: string[];
|
|
@@ -4801,7 +5219,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4801
5219
|
webhooks?: Record<string, unknown> | undefined;
|
|
4802
5220
|
documentUrl?: string | undefined;
|
|
4803
5221
|
}) => void;
|
|
4804
|
-
edit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "tags" | "requests" | "
|
|
5222
|
+
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" ? {
|
|
4805
5223
|
type: "collection";
|
|
4806
5224
|
uid: string;
|
|
4807
5225
|
children: string[];
|
|
@@ -4809,6 +5227,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4809
5227
|
security: Record<string, string[]>[];
|
|
4810
5228
|
'x-scalar-icon': string;
|
|
4811
5229
|
securitySchemes: string[];
|
|
5230
|
+
selectedSecuritySchemeUids: string[];
|
|
4812
5231
|
selectedServerUid: string;
|
|
4813
5232
|
servers: string[];
|
|
4814
5233
|
requests: string[];
|
|
@@ -4867,7 +5286,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4867
5286
|
components?: Record<string, unknown> | undefined;
|
|
4868
5287
|
webhooks?: Record<string, unknown> | undefined;
|
|
4869
5288
|
documentUrl?: string | undefined;
|
|
4870
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "tags" | "requests" | "
|
|
5289
|
+
}[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 import("@scalar/object-utils/nested").Path<{
|
|
4871
5290
|
type: "collection";
|
|
4872
5291
|
uid: string;
|
|
4873
5292
|
children: string[];
|
|
@@ -4875,6 +5294,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4875
5294
|
security: Record<string, string[]>[];
|
|
4876
5295
|
'x-scalar-icon': string;
|
|
4877
5296
|
securitySchemes: string[];
|
|
5297
|
+
selectedSecuritySchemeUids: string[];
|
|
4878
5298
|
selectedServerUid: string;
|
|
4879
5299
|
servers: string[];
|
|
4880
5300
|
requests: string[];
|
|
@@ -4941,6 +5361,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
4941
5361
|
security: Record<string, string[]>[];
|
|
4942
5362
|
'x-scalar-icon': string;
|
|
4943
5363
|
securitySchemes: string[];
|
|
5364
|
+
selectedSecuritySchemeUids: string[];
|
|
4944
5365
|
selectedServerUid: string;
|
|
4945
5366
|
servers: string[];
|
|
4946
5367
|
requests: string[];
|
|
@@ -5000,7 +5421,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5000
5421
|
webhooks?: Record<string, unknown> | undefined;
|
|
5001
5422
|
documentUrl?: string | undefined;
|
|
5002
5423
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
5003
|
-
untrackedEdit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "tags" | "requests" | "
|
|
5424
|
+
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" ? {
|
|
5004
5425
|
type: "collection";
|
|
5005
5426
|
uid: string;
|
|
5006
5427
|
children: string[];
|
|
@@ -5008,6 +5429,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5008
5429
|
security: Record<string, string[]>[];
|
|
5009
5430
|
'x-scalar-icon': string;
|
|
5010
5431
|
securitySchemes: string[];
|
|
5432
|
+
selectedSecuritySchemeUids: string[];
|
|
5011
5433
|
selectedServerUid: string;
|
|
5012
5434
|
servers: string[];
|
|
5013
5435
|
requests: string[];
|
|
@@ -5066,7 +5488,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5066
5488
|
components?: Record<string, unknown> | undefined;
|
|
5067
5489
|
webhooks?: Record<string, unknown> | undefined;
|
|
5068
5490
|
documentUrl?: string | undefined;
|
|
5069
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "tags" | "requests" | "
|
|
5491
|
+
}[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 import("@scalar/object-utils/nested").Path<{
|
|
5070
5492
|
type: "collection";
|
|
5071
5493
|
uid: string;
|
|
5072
5494
|
children: string[];
|
|
@@ -5074,6 +5496,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5074
5496
|
security: Record<string, string[]>[];
|
|
5075
5497
|
'x-scalar-icon': string;
|
|
5076
5498
|
securitySchemes: string[];
|
|
5499
|
+
selectedSecuritySchemeUids: string[];
|
|
5077
5500
|
selectedServerUid: string;
|
|
5078
5501
|
servers: string[];
|
|
5079
5502
|
requests: string[];
|
|
@@ -5140,6 +5563,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5140
5563
|
security: Record<string, string[]>[];
|
|
5141
5564
|
'x-scalar-icon': string;
|
|
5142
5565
|
securitySchemes: string[];
|
|
5566
|
+
selectedSecuritySchemeUids: string[];
|
|
5143
5567
|
selectedServerUid: string;
|
|
5144
5568
|
servers: string[];
|
|
5145
5569
|
requests: string[];
|
|
@@ -5264,11 +5688,11 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5264
5688
|
path: string;
|
|
5265
5689
|
type: "request";
|
|
5266
5690
|
uid: string;
|
|
5691
|
+
selectedSecuritySchemeUids: string[];
|
|
5267
5692
|
selectedServerUid: string;
|
|
5268
5693
|
servers: string[];
|
|
5269
5694
|
examples: string[];
|
|
5270
5695
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
5271
|
-
selectedSecuritySchemeUids: string[];
|
|
5272
5696
|
description?: string | undefined;
|
|
5273
5697
|
summary?: string | undefined;
|
|
5274
5698
|
externalDocs?: {
|
|
@@ -5296,11 +5720,11 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5296
5720
|
path: string;
|
|
5297
5721
|
type: "request";
|
|
5298
5722
|
uid: string;
|
|
5723
|
+
selectedSecuritySchemeUids: string[];
|
|
5299
5724
|
selectedServerUid: string;
|
|
5300
5725
|
servers: string[];
|
|
5301
5726
|
examples: string[];
|
|
5302
5727
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
5303
|
-
selectedSecuritySchemeUids: string[];
|
|
5304
5728
|
description?: string | undefined;
|
|
5305
5729
|
summary?: string | undefined;
|
|
5306
5730
|
externalDocs?: {
|
|
@@ -5329,11 +5753,11 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5329
5753
|
path: string;
|
|
5330
5754
|
type: "request";
|
|
5331
5755
|
uid: string;
|
|
5756
|
+
selectedSecuritySchemeUids: string[];
|
|
5332
5757
|
selectedServerUid: string;
|
|
5333
5758
|
servers: string[];
|
|
5334
5759
|
examples: string[];
|
|
5335
5760
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
5336
|
-
selectedSecuritySchemeUids: string[];
|
|
5337
5761
|
description?: string | undefined;
|
|
5338
5762
|
summary?: string | undefined;
|
|
5339
5763
|
externalDocs?: {
|
|
@@ -5357,15 +5781,15 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5357
5781
|
requestBody?: any;
|
|
5358
5782
|
responses?: Record<string, any> | undefined;
|
|
5359
5783
|
}) => void;
|
|
5360
|
-
edit: <P extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "
|
|
5784
|
+
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" ? {
|
|
5361
5785
|
path: string;
|
|
5362
5786
|
type: "request";
|
|
5363
5787
|
uid: string;
|
|
5788
|
+
selectedSecuritySchemeUids: string[];
|
|
5364
5789
|
selectedServerUid: string;
|
|
5365
5790
|
servers: string[];
|
|
5366
5791
|
examples: string[];
|
|
5367
5792
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
5368
|
-
selectedSecuritySchemeUids: string[];
|
|
5369
5793
|
description?: string | undefined;
|
|
5370
5794
|
summary?: string | undefined;
|
|
5371
5795
|
externalDocs?: {
|
|
@@ -5388,15 +5812,15 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5388
5812
|
}[] | undefined;
|
|
5389
5813
|
requestBody?: any;
|
|
5390
5814
|
responses?: Record<string, any> | undefined;
|
|
5391
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "
|
|
5815
|
+
}[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 import("@scalar/object-utils/nested").Path<{
|
|
5392
5816
|
path: string;
|
|
5393
5817
|
type: "request";
|
|
5394
5818
|
uid: string;
|
|
5819
|
+
selectedSecuritySchemeUids: string[];
|
|
5395
5820
|
selectedServerUid: string;
|
|
5396
5821
|
servers: string[];
|
|
5397
5822
|
examples: string[];
|
|
5398
5823
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
5399
|
-
selectedSecuritySchemeUids: string[];
|
|
5400
5824
|
description?: string | undefined;
|
|
5401
5825
|
summary?: string | undefined;
|
|
5402
5826
|
externalDocs?: {
|
|
@@ -5423,11 +5847,11 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5423
5847
|
path: string;
|
|
5424
5848
|
type: "request";
|
|
5425
5849
|
uid: string;
|
|
5850
|
+
selectedSecuritySchemeUids: string[];
|
|
5426
5851
|
selectedServerUid: string;
|
|
5427
5852
|
servers: string[];
|
|
5428
5853
|
examples: string[];
|
|
5429
5854
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
5430
|
-
selectedSecuritySchemeUids: string[];
|
|
5431
5855
|
description?: string | undefined;
|
|
5432
5856
|
summary?: string | undefined;
|
|
5433
5857
|
externalDocs?: {
|
|
@@ -5451,15 +5875,15 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5451
5875
|
requestBody?: any;
|
|
5452
5876
|
responses?: Record<string, any> | undefined;
|
|
5453
5877
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
5454
|
-
untrackedEdit: <P extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "
|
|
5878
|
+
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" ? {
|
|
5455
5879
|
path: string;
|
|
5456
5880
|
type: "request";
|
|
5457
5881
|
uid: string;
|
|
5882
|
+
selectedSecuritySchemeUids: string[];
|
|
5458
5883
|
selectedServerUid: string;
|
|
5459
5884
|
servers: string[];
|
|
5460
5885
|
examples: string[];
|
|
5461
5886
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
5462
|
-
selectedSecuritySchemeUids: string[];
|
|
5463
5887
|
description?: string | undefined;
|
|
5464
5888
|
summary?: string | undefined;
|
|
5465
5889
|
externalDocs?: {
|
|
@@ -5482,15 +5906,15 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5482
5906
|
}[] | undefined;
|
|
5483
5907
|
requestBody?: any;
|
|
5484
5908
|
responses?: Record<string, any> | undefined;
|
|
5485
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "
|
|
5909
|
+
}[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 import("@scalar/object-utils/nested").Path<{
|
|
5486
5910
|
path: string;
|
|
5487
5911
|
type: "request";
|
|
5488
5912
|
uid: string;
|
|
5913
|
+
selectedSecuritySchemeUids: string[];
|
|
5489
5914
|
selectedServerUid: string;
|
|
5490
5915
|
servers: string[];
|
|
5491
5916
|
examples: string[];
|
|
5492
5917
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
5493
|
-
selectedSecuritySchemeUids: string[];
|
|
5494
5918
|
description?: string | undefined;
|
|
5495
5919
|
summary?: string | undefined;
|
|
5496
5920
|
externalDocs?: {
|
|
@@ -5517,11 +5941,11 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
5517
5941
|
path: string;
|
|
5518
5942
|
type: "request";
|
|
5519
5943
|
uid: string;
|
|
5944
|
+
selectedSecuritySchemeUids: string[];
|
|
5520
5945
|
selectedServerUid: string;
|
|
5521
5946
|
servers: string[];
|
|
5522
5947
|
examples: string[];
|
|
5523
5948
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
5524
|
-
selectedSecuritySchemeUids: string[];
|
|
5525
5949
|
description?: string | undefined;
|
|
5526
5950
|
summary?: string | undefined;
|
|
5527
5951
|
externalDocs?: {
|
|
@@ -7161,13 +7585,13 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
7161
7585
|
hotKeyConfig?: {
|
|
7162
7586
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
7163
7587
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
7164
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
7588
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
7165
7589
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
7166
7590
|
}>> | undefined;
|
|
7167
7591
|
} | undefined;
|
|
7168
7592
|
proxyUrl?: string | undefined;
|
|
7169
7593
|
}) => void;
|
|
7170
|
-
add: (payload?: Partial<import("@scalar/oas-utils/entities
|
|
7594
|
+
add: (payload?: Partial<import("@scalar/oas-utils/entities").Workspace>) => {
|
|
7171
7595
|
uid: string;
|
|
7172
7596
|
name: string;
|
|
7173
7597
|
description: string;
|
|
@@ -7180,7 +7604,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
7180
7604
|
hotKeyConfig?: {
|
|
7181
7605
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
7182
7606
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
7183
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
7607
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
7184
7608
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
7185
7609
|
}>> | undefined;
|
|
7186
7610
|
} | undefined;
|
|
@@ -7200,7 +7624,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
7200
7624
|
hotKeyConfig?: {
|
|
7201
7625
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
7202
7626
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
7203
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
7627
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
7204
7628
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
7205
7629
|
}>> | undefined;
|
|
7206
7630
|
} | undefined;
|
|
@@ -7219,7 +7643,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
7219
7643
|
hotKeyConfig?: {
|
|
7220
7644
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
7221
7645
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
7222
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
7646
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
7223
7647
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
7224
7648
|
}>> | undefined;
|
|
7225
7649
|
} | undefined;
|
|
@@ -7237,7 +7661,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
7237
7661
|
hotKeyConfig?: {
|
|
7238
7662
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
7239
7663
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
7240
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
7664
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
7241
7665
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
7242
7666
|
}>> | undefined;
|
|
7243
7667
|
} | undefined;
|
|
@@ -7255,7 +7679,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
7255
7679
|
hotKeyConfig?: {
|
|
7256
7680
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
7257
7681
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
7258
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
7682
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
7259
7683
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
7260
7684
|
}>> | undefined;
|
|
7261
7685
|
} | undefined;
|
|
@@ -7274,7 +7698,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
7274
7698
|
hotKeyConfig?: {
|
|
7275
7699
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
7276
7700
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
7277
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
7701
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
7278
7702
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
7279
7703
|
}>> | undefined;
|
|
7280
7704
|
} | undefined;
|
|
@@ -7292,7 +7716,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
7292
7716
|
hotKeyConfig?: {
|
|
7293
7717
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
7294
7718
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
7295
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
7719
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
7296
7720
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
7297
7721
|
}>> | undefined;
|
|
7298
7722
|
} | undefined;
|
|
@@ -7310,7 +7734,7 @@ export declare const createApiClientModalSync: (el: HTMLElement | null, configur
|
|
|
7310
7734
|
hotKeyConfig?: {
|
|
7311
7735
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
7312
7736
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
7313
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
7737
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
7314
7738
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
7315
7739
|
}>> | undefined;
|
|
7316
7740
|
} | undefined;
|