@scalar/api-client 2.1.33 → 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 +20 -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
package/dist/store/store.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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?: import("../libs/index.js").ClientConfiguration["preferredSecurityScheme"];
|
|
691
760
|
}) => Promise<{
|
|
692
761
|
type: "collection";
|
|
693
762
|
uid: string;
|
|
@@ -696,6 +765,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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?: import("../libs/index.js").ClientConfiguration["preferredSecurityScheme"];
|
|
768
970
|
}) => Promise<{
|
|
769
971
|
type: "collection";
|
|
770
972
|
uid: string;
|
|
@@ -773,6 +975,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 Path<{
|
|
1210
1417
|
type: "collection";
|
|
1211
1418
|
uid: string;
|
|
1212
1419
|
children: string[];
|
|
@@ -1214,6 +1421,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 Path<{
|
|
1409
1619
|
type: "collection";
|
|
1410
1620
|
uid: string;
|
|
1411
1621
|
children: string[];
|
|
@@ -1413,6 +1623,7 @@ export declare const createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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 createWorkspaceStore: (router: Router, { useLocalStorage, d
|
|
|
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;
|
|
@@ -3681,7 +3893,7 @@ export declare const useWorkspace: () => {
|
|
|
3681
3893
|
hotKeyConfig?: {
|
|
3682
3894
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
3683
3895
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3684
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
3896
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
3685
3897
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
3686
3898
|
}>> | undefined;
|
|
3687
3899
|
} | undefined;
|
|
@@ -3695,6 +3907,7 @@ export declare const useWorkspace: () => {
|
|
|
3695
3907
|
security: Record<string, string[]>[];
|
|
3696
3908
|
'x-scalar-icon': string;
|
|
3697
3909
|
securitySchemes: string[];
|
|
3910
|
+
selectedSecuritySchemeUids: string[];
|
|
3698
3911
|
selectedServerUid: string;
|
|
3699
3912
|
servers: string[];
|
|
3700
3913
|
requests: string[];
|
|
@@ -3892,11 +4105,11 @@ export declare const useWorkspace: () => {
|
|
|
3892
4105
|
path: string;
|
|
3893
4106
|
type: "request";
|
|
3894
4107
|
uid: string;
|
|
4108
|
+
selectedSecuritySchemeUids: string[];
|
|
3895
4109
|
selectedServerUid: string;
|
|
3896
4110
|
servers: string[];
|
|
3897
4111
|
examples: string[];
|
|
3898
4112
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
3899
|
-
selectedSecuritySchemeUids: string[];
|
|
3900
4113
|
description?: string | undefined;
|
|
3901
4114
|
summary?: string | undefined;
|
|
3902
4115
|
externalDocs?: {
|
|
@@ -3991,6 +4204,7 @@ export declare const useWorkspace: () => {
|
|
|
3991
4204
|
security: Record<string, string[]>[];
|
|
3992
4205
|
'x-scalar-icon': string;
|
|
3993
4206
|
securitySchemes: string[];
|
|
4207
|
+
selectedSecuritySchemeUids: string[];
|
|
3994
4208
|
selectedServerUid: string;
|
|
3995
4209
|
servers: string[];
|
|
3996
4210
|
requests: string[];
|
|
@@ -4155,11 +4369,11 @@ export declare const useWorkspace: () => {
|
|
|
4155
4369
|
path: string;
|
|
4156
4370
|
type: "request";
|
|
4157
4371
|
uid: string;
|
|
4372
|
+
selectedSecuritySchemeUids: string[];
|
|
4158
4373
|
selectedServerUid: string;
|
|
4159
4374
|
servers: string[];
|
|
4160
4375
|
examples: string[];
|
|
4161
4376
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
4162
|
-
selectedSecuritySchemeUids: string[];
|
|
4163
4377
|
description?: string | undefined;
|
|
4164
4378
|
summary?: string | undefined;
|
|
4165
4379
|
externalDocs?: {
|
|
@@ -4222,7 +4436,7 @@ export declare const useWorkspace: () => {
|
|
|
4222
4436
|
hotKeyConfig?: {
|
|
4223
4437
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4224
4438
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
4225
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
4439
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
4226
4440
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
4227
4441
|
}>> | undefined;
|
|
4228
4442
|
} | undefined;
|
|
@@ -4236,6 +4450,7 @@ export declare const useWorkspace: () => {
|
|
|
4236
4450
|
security: Record<string, string[]>[];
|
|
4237
4451
|
'x-scalar-icon': string;
|
|
4238
4452
|
securitySchemes: string[];
|
|
4453
|
+
selectedSecuritySchemeUids: string[];
|
|
4239
4454
|
selectedServerUid: string;
|
|
4240
4455
|
servers: string[];
|
|
4241
4456
|
requests: string[];
|
|
@@ -4320,18 +4535,84 @@ export declare const useWorkspace: () => {
|
|
|
4320
4535
|
cancelRequest: import("../libs/index.js").EventBus<any>;
|
|
4321
4536
|
requestStatus: import("../libs/index.js").EventBus<import("../libs/index.js").RequestStatus>;
|
|
4322
4537
|
commandPalette: import("../libs/index.js").EventBus<import("../components/CommandPalette/TheCommandPalette.vue.js").CommandPaletteEvent>;
|
|
4323
|
-
hotKeys: import("../libs/index.js").EventBus<Partial<Record<"closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
4538
|
+
hotKeys: import("../libs/index.js").EventBus<Partial<Record<"closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch", KeyboardEvent>>>;
|
|
4324
4539
|
};
|
|
4325
4540
|
sidebarWidth: import("vue").Ref<string, string>;
|
|
4326
4541
|
setSidebarWidth: (width: string) => void;
|
|
4327
4542
|
proxyUrl: import("vue").Ref<string | undefined, string | undefined>;
|
|
4328
4543
|
setProxyUrl: (url: string) => void;
|
|
4329
4544
|
defaultProxyUrl: string | undefined;
|
|
4330
|
-
importSpecFile: (_spec: string | Record<string, any>, workspaceUid: string, {
|
|
4331
|
-
|
|
4332
|
-
|
|
4545
|
+
importSpecFile: (_spec: string | Record<string, any>, workspaceUid: string, { overloadServers, ...options }?: Pick<{
|
|
4546
|
+
type?: "collection" | undefined;
|
|
4547
|
+
uid?: string | undefined;
|
|
4548
|
+
externalDocs?: {
|
|
4549
|
+
description?: string | undefined;
|
|
4550
|
+
url?: string | undefined;
|
|
4551
|
+
} | undefined;
|
|
4552
|
+
children?: (string | undefined)[] | undefined;
|
|
4553
|
+
openapi?: string | undefined;
|
|
4554
|
+
jsonSchemaDialect?: string | undefined;
|
|
4555
|
+
info?: {
|
|
4556
|
+
description?: string | undefined;
|
|
4557
|
+
title?: string | undefined;
|
|
4558
|
+
summary?: string | undefined;
|
|
4559
|
+
termsOfService?: string | undefined;
|
|
4560
|
+
contact?: {
|
|
4561
|
+
name?: string | undefined;
|
|
4562
|
+
url?: string | undefined;
|
|
4563
|
+
email?: string | undefined;
|
|
4564
|
+
} | undefined;
|
|
4565
|
+
license?: {
|
|
4566
|
+
name?: string | undefined;
|
|
4567
|
+
identifier?: string | undefined;
|
|
4568
|
+
url?: string | undefined;
|
|
4569
|
+
} | undefined;
|
|
4570
|
+
version?: string | undefined;
|
|
4571
|
+
} | undefined;
|
|
4572
|
+
security?: Record<string, string[] | undefined>[] | undefined;
|
|
4573
|
+
components?: Record<string, unknown> | undefined;
|
|
4574
|
+
webhooks?: Record<string, unknown> | undefined;
|
|
4575
|
+
'x-scalar-icon'?: string | undefined;
|
|
4576
|
+
securitySchemes?: string[] | undefined;
|
|
4577
|
+
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
4578
|
+
selectedServerUid?: string | undefined;
|
|
4579
|
+
servers?: (string | undefined)[] | undefined;
|
|
4580
|
+
requests?: (string | undefined)[] | undefined;
|
|
4581
|
+
tags?: (string | undefined)[] | undefined;
|
|
4582
|
+
auth?: Record<string | undefined, {
|
|
4583
|
+
type?: "apiKey" | undefined;
|
|
4584
|
+
value?: string | undefined;
|
|
4585
|
+
name?: string | undefined;
|
|
4586
|
+
} | {
|
|
4587
|
+
type?: "http" | undefined;
|
|
4588
|
+
username?: string | undefined;
|
|
4589
|
+
password?: string | undefined;
|
|
4590
|
+
token?: string | undefined;
|
|
4591
|
+
} | {
|
|
4592
|
+
type?: "oauth-implicit" | undefined;
|
|
4593
|
+
token?: string | undefined;
|
|
4594
|
+
} | {
|
|
4595
|
+
type?: "oauth-password" | undefined;
|
|
4596
|
+
username?: string | undefined;
|
|
4597
|
+
password?: string | undefined;
|
|
4598
|
+
token?: string | undefined;
|
|
4599
|
+
clientSecret?: string | undefined;
|
|
4600
|
+
} | {
|
|
4601
|
+
type?: "oauth-clientCredentials" | undefined;
|
|
4602
|
+
token?: string | undefined;
|
|
4603
|
+
clientSecret?: string | undefined;
|
|
4604
|
+
} | {
|
|
4605
|
+
type?: "oauth-authorizationCode" | undefined;
|
|
4606
|
+
token?: string | undefined;
|
|
4607
|
+
clientSecret?: string | undefined;
|
|
4608
|
+
}> | undefined;
|
|
4609
|
+
documentUrl?: string | undefined;
|
|
4610
|
+
watchForChanges?: boolean | undefined;
|
|
4611
|
+
watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4612
|
+
}, "documentUrl" | "watchForChanges"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
4613
|
+
setCollectionSecurity?: boolean;
|
|
4614
|
+
} & {
|
|
4333
4615
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
4334
|
-
preferredSecurityScheme?: import("../libs/index.js").ClientConfiguration["preferredSecurityScheme"];
|
|
4335
4616
|
}) => Promise<{
|
|
4336
4617
|
type: "collection";
|
|
4337
4618
|
uid: string;
|
|
@@ -4340,6 +4621,7 @@ export declare const useWorkspace: () => {
|
|
|
4340
4621
|
security: Record<string, string[]>[];
|
|
4341
4622
|
'x-scalar-icon': string;
|
|
4342
4623
|
securitySchemes: string[];
|
|
4624
|
+
selectedSecuritySchemeUids: string[];
|
|
4343
4625
|
selectedServerUid: string;
|
|
4344
4626
|
servers: string[];
|
|
4345
4627
|
requests: string[];
|
|
@@ -4399,16 +4681,148 @@ export declare const useWorkspace: () => {
|
|
|
4399
4681
|
webhooks?: Record<string, unknown> | undefined;
|
|
4400
4682
|
documentUrl?: string | undefined;
|
|
4401
4683
|
} | undefined>;
|
|
4402
|
-
importSpecFromUrl: (url: string, workspaceUid: string, { proxy,
|
|
4403
|
-
|
|
4684
|
+
importSpecFromUrl: (url: string, workspaceUid: string, { proxy, ...options }?: Omit<Pick<{
|
|
4685
|
+
type?: "collection" | undefined;
|
|
4686
|
+
uid?: string | undefined;
|
|
4687
|
+
externalDocs?: {
|
|
4688
|
+
description?: string | undefined;
|
|
4689
|
+
url?: string | undefined;
|
|
4690
|
+
} | undefined;
|
|
4691
|
+
children?: (string | undefined)[] | undefined;
|
|
4692
|
+
openapi?: string | undefined;
|
|
4693
|
+
jsonSchemaDialect?: string | undefined;
|
|
4694
|
+
info?: {
|
|
4695
|
+
description?: string | undefined;
|
|
4696
|
+
title?: string | undefined;
|
|
4697
|
+
summary?: string | undefined;
|
|
4698
|
+
termsOfService?: string | undefined;
|
|
4699
|
+
contact?: {
|
|
4700
|
+
name?: string | undefined;
|
|
4701
|
+
url?: string | undefined;
|
|
4702
|
+
email?: string | undefined;
|
|
4703
|
+
} | undefined;
|
|
4704
|
+
license?: {
|
|
4705
|
+
name?: string | undefined;
|
|
4706
|
+
identifier?: string | undefined;
|
|
4707
|
+
url?: string | undefined;
|
|
4708
|
+
} | undefined;
|
|
4709
|
+
version?: string | undefined;
|
|
4710
|
+
} | undefined;
|
|
4711
|
+
security?: Record<string, string[] | undefined>[] | undefined;
|
|
4712
|
+
components?: Record<string, unknown> | undefined;
|
|
4713
|
+
webhooks?: Record<string, unknown> | undefined;
|
|
4714
|
+
'x-scalar-icon'?: string | undefined;
|
|
4715
|
+
securitySchemes?: string[] | undefined;
|
|
4716
|
+
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
4717
|
+
selectedServerUid?: string | undefined;
|
|
4718
|
+
servers?: (string | undefined)[] | undefined;
|
|
4719
|
+
requests?: (string | undefined)[] | undefined;
|
|
4720
|
+
tags?: (string | undefined)[] | undefined;
|
|
4721
|
+
auth?: Record<string | undefined, {
|
|
4722
|
+
type?: "apiKey" | undefined;
|
|
4723
|
+
value?: string | undefined;
|
|
4724
|
+
name?: string | undefined;
|
|
4725
|
+
} | {
|
|
4726
|
+
type?: "http" | undefined;
|
|
4727
|
+
username?: string | undefined;
|
|
4728
|
+
password?: string | undefined;
|
|
4729
|
+
token?: string | undefined;
|
|
4730
|
+
} | {
|
|
4731
|
+
type?: "oauth-implicit" | undefined;
|
|
4732
|
+
token?: string | undefined;
|
|
4733
|
+
} | {
|
|
4734
|
+
type?: "oauth-password" | undefined;
|
|
4735
|
+
username?: string | undefined;
|
|
4736
|
+
password?: string | undefined;
|
|
4737
|
+
token?: string | undefined;
|
|
4738
|
+
clientSecret?: string | undefined;
|
|
4739
|
+
} | {
|
|
4740
|
+
type?: "oauth-clientCredentials" | undefined;
|
|
4741
|
+
token?: string | undefined;
|
|
4742
|
+
clientSecret?: string | undefined;
|
|
4743
|
+
} | {
|
|
4744
|
+
type?: "oauth-authorizationCode" | undefined;
|
|
4745
|
+
token?: string | undefined;
|
|
4746
|
+
clientSecret?: string | undefined;
|
|
4747
|
+
}> | undefined;
|
|
4748
|
+
documentUrl?: string | undefined;
|
|
4749
|
+
watchForChanges?: boolean | undefined;
|
|
4750
|
+
watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4751
|
+
}, "documentUrl" | "watchForChanges"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
4752
|
+
setCollectionSecurity?: boolean;
|
|
4753
|
+
} & {
|
|
4404
4754
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4755
|
+
}, "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<{
|
|
4756
|
+
type?: "collection" | undefined;
|
|
4757
|
+
uid?: string | undefined;
|
|
4758
|
+
externalDocs?: {
|
|
4759
|
+
description?: string | undefined;
|
|
4760
|
+
url?: string | undefined;
|
|
4761
|
+
} | undefined;
|
|
4762
|
+
children?: (string | undefined)[] | undefined;
|
|
4763
|
+
openapi?: string | undefined;
|
|
4764
|
+
jsonSchemaDialect?: string | undefined;
|
|
4765
|
+
info?: {
|
|
4766
|
+
description?: string | undefined;
|
|
4767
|
+
title?: string | undefined;
|
|
4768
|
+
summary?: string | undefined;
|
|
4769
|
+
termsOfService?: string | undefined;
|
|
4770
|
+
contact?: {
|
|
4771
|
+
name?: string | undefined;
|
|
4772
|
+
url?: string | undefined;
|
|
4773
|
+
email?: string | undefined;
|
|
4774
|
+
} | undefined;
|
|
4775
|
+
license?: {
|
|
4776
|
+
name?: string | undefined;
|
|
4777
|
+
identifier?: string | undefined;
|
|
4778
|
+
url?: string | undefined;
|
|
4779
|
+
} | undefined;
|
|
4780
|
+
version?: string | undefined;
|
|
4781
|
+
} | undefined;
|
|
4782
|
+
security?: Record<string, string[] | undefined>[] | undefined;
|
|
4783
|
+
components?: Record<string, unknown> | undefined;
|
|
4784
|
+
webhooks?: Record<string, unknown> | undefined;
|
|
4785
|
+
'x-scalar-icon'?: string | undefined;
|
|
4786
|
+
securitySchemes?: string[] | undefined;
|
|
4787
|
+
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
4788
|
+
selectedServerUid?: string | undefined;
|
|
4789
|
+
servers?: (string | undefined)[] | undefined;
|
|
4790
|
+
requests?: (string | undefined)[] | undefined;
|
|
4791
|
+
tags?: (string | undefined)[] | undefined;
|
|
4792
|
+
auth?: Record<string | undefined, {
|
|
4793
|
+
type?: "apiKey" | undefined;
|
|
4794
|
+
value?: string | undefined;
|
|
4795
|
+
name?: string | undefined;
|
|
4796
|
+
} | {
|
|
4797
|
+
type?: "http" | undefined;
|
|
4798
|
+
username?: string | undefined;
|
|
4799
|
+
password?: string | undefined;
|
|
4800
|
+
token?: string | undefined;
|
|
4801
|
+
} | {
|
|
4802
|
+
type?: "oauth-implicit" | undefined;
|
|
4803
|
+
token?: string | undefined;
|
|
4804
|
+
} | {
|
|
4805
|
+
type?: "oauth-password" | undefined;
|
|
4806
|
+
username?: string | undefined;
|
|
4807
|
+
password?: string | undefined;
|
|
4808
|
+
token?: string | undefined;
|
|
4809
|
+
clientSecret?: string | undefined;
|
|
4810
|
+
} | {
|
|
4811
|
+
type?: "oauth-clientCredentials" | undefined;
|
|
4812
|
+
token?: string | undefined;
|
|
4813
|
+
clientSecret?: string | undefined;
|
|
4814
|
+
} | {
|
|
4815
|
+
type?: "oauth-authorizationCode" | undefined;
|
|
4816
|
+
token?: string | undefined;
|
|
4817
|
+
clientSecret?: string | undefined;
|
|
4818
|
+
}> | undefined;
|
|
4819
|
+
documentUrl?: string | undefined;
|
|
4820
|
+
watchForChanges?: boolean | undefined;
|
|
4821
|
+
watchForChangesStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4822
|
+
}, "documentUrl" | "watchForChanges"> & Pick<import("@scalar/types/legacy").ReferenceConfiguration, "authentication"> & {
|
|
4823
|
+
setCollectionSecurity?: boolean;
|
|
4824
|
+
} & {
|
|
4410
4825
|
overloadServers?: import("@scalar/types/legacy").Spec["servers"];
|
|
4411
|
-
preferredSecurityScheme?: import("../libs/index.js").ClientConfiguration["preferredSecurityScheme"];
|
|
4412
4826
|
}) => Promise<{
|
|
4413
4827
|
type: "collection";
|
|
4414
4828
|
uid: string;
|
|
@@ -4417,6 +4831,7 @@ export declare const useWorkspace: () => {
|
|
|
4417
4831
|
security: Record<string, string[]>[];
|
|
4418
4832
|
'x-scalar-icon': string;
|
|
4419
4833
|
securitySchemes: string[];
|
|
4834
|
+
selectedSecuritySchemeUids: string[];
|
|
4420
4835
|
selectedServerUid: string;
|
|
4421
4836
|
servers: string[];
|
|
4422
4837
|
requests: string[];
|
|
@@ -4590,6 +5005,7 @@ export declare const useWorkspace: () => {
|
|
|
4590
5005
|
security: Record<string, string[]>[];
|
|
4591
5006
|
'x-scalar-icon': string;
|
|
4592
5007
|
securitySchemes: string[];
|
|
5008
|
+
selectedSecuritySchemeUids: string[];
|
|
4593
5009
|
selectedServerUid: string;
|
|
4594
5010
|
servers: string[];
|
|
4595
5011
|
requests: string[];
|
|
@@ -4657,6 +5073,7 @@ export declare const useWorkspace: () => {
|
|
|
4657
5073
|
security: Record<string, string[]>[];
|
|
4658
5074
|
'x-scalar-icon': string;
|
|
4659
5075
|
securitySchemes: string[];
|
|
5076
|
+
selectedSecuritySchemeUids: string[];
|
|
4660
5077
|
selectedServerUid: string;
|
|
4661
5078
|
servers: string[];
|
|
4662
5079
|
requests: string[];
|
|
@@ -4716,7 +5133,7 @@ export declare const useWorkspace: () => {
|
|
|
4716
5133
|
webhooks?: Record<string, unknown> | undefined;
|
|
4717
5134
|
documentUrl?: string | undefined;
|
|
4718
5135
|
};
|
|
4719
|
-
delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities
|
|
5136
|
+
delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities").Workspace) => void;
|
|
4720
5137
|
set: (item: {
|
|
4721
5138
|
type: "collection";
|
|
4722
5139
|
uid: string;
|
|
@@ -4725,6 +5142,7 @@ export declare const useWorkspace: () => {
|
|
|
4725
5142
|
security: Record<string, string[]>[];
|
|
4726
5143
|
'x-scalar-icon': string;
|
|
4727
5144
|
securitySchemes: string[];
|
|
5145
|
+
selectedSecuritySchemeUids: string[];
|
|
4728
5146
|
selectedServerUid: string;
|
|
4729
5147
|
servers: string[];
|
|
4730
5148
|
requests: string[];
|
|
@@ -4784,7 +5202,7 @@ export declare const useWorkspace: () => {
|
|
|
4784
5202
|
webhooks?: Record<string, unknown> | undefined;
|
|
4785
5203
|
documentUrl?: string | undefined;
|
|
4786
5204
|
}) => void;
|
|
4787
|
-
edit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "tags" | "requests" | "
|
|
5205
|
+
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" ? {
|
|
4788
5206
|
type: "collection";
|
|
4789
5207
|
uid: string;
|
|
4790
5208
|
children: string[];
|
|
@@ -4792,6 +5210,7 @@ export declare const useWorkspace: () => {
|
|
|
4792
5210
|
security: Record<string, string[]>[];
|
|
4793
5211
|
'x-scalar-icon': string;
|
|
4794
5212
|
securitySchemes: string[];
|
|
5213
|
+
selectedSecuritySchemeUids: string[];
|
|
4795
5214
|
selectedServerUid: string;
|
|
4796
5215
|
servers: string[];
|
|
4797
5216
|
requests: string[];
|
|
@@ -4850,7 +5269,7 @@ export declare const useWorkspace: () => {
|
|
|
4850
5269
|
components?: Record<string, unknown> | undefined;
|
|
4851
5270
|
webhooks?: Record<string, unknown> | undefined;
|
|
4852
5271
|
documentUrl?: string | undefined;
|
|
4853
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "tags" | "requests" | "
|
|
5272
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchForChanges" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchForChangesStatus" ? R extends Path<{
|
|
4854
5273
|
type: "collection";
|
|
4855
5274
|
uid: string;
|
|
4856
5275
|
children: string[];
|
|
@@ -4858,6 +5277,7 @@ export declare const useWorkspace: () => {
|
|
|
4858
5277
|
security: Record<string, string[]>[];
|
|
4859
5278
|
'x-scalar-icon': string;
|
|
4860
5279
|
securitySchemes: string[];
|
|
5280
|
+
selectedSecuritySchemeUids: string[];
|
|
4861
5281
|
selectedServerUid: string;
|
|
4862
5282
|
servers: string[];
|
|
4863
5283
|
requests: string[];
|
|
@@ -4924,6 +5344,7 @@ export declare const useWorkspace: () => {
|
|
|
4924
5344
|
security: Record<string, string[]>[];
|
|
4925
5345
|
'x-scalar-icon': string;
|
|
4926
5346
|
securitySchemes: string[];
|
|
5347
|
+
selectedSecuritySchemeUids: string[];
|
|
4927
5348
|
selectedServerUid: string;
|
|
4928
5349
|
servers: string[];
|
|
4929
5350
|
requests: string[];
|
|
@@ -4983,7 +5404,7 @@ export declare const useWorkspace: () => {
|
|
|
4983
5404
|
webhooks?: Record<string, unknown> | undefined;
|
|
4984
5405
|
documentUrl?: string | undefined;
|
|
4985
5406
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
4986
|
-
untrackedEdit: <P extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "tags" | "requests" | "
|
|
5407
|
+
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" ? {
|
|
4987
5408
|
type: "collection";
|
|
4988
5409
|
uid: string;
|
|
4989
5410
|
children: string[];
|
|
@@ -4991,6 +5412,7 @@ export declare const useWorkspace: () => {
|
|
|
4991
5412
|
security: Record<string, string[]>[];
|
|
4992
5413
|
'x-scalar-icon': string;
|
|
4993
5414
|
securitySchemes: string[];
|
|
5415
|
+
selectedSecuritySchemeUids: string[];
|
|
4994
5416
|
selectedServerUid: string;
|
|
4995
5417
|
servers: string[];
|
|
4996
5418
|
requests: string[];
|
|
@@ -5049,7 +5471,7 @@ export declare const useWorkspace: () => {
|
|
|
5049
5471
|
components?: Record<string, unknown> | undefined;
|
|
5050
5472
|
webhooks?: Record<string, unknown> | undefined;
|
|
5051
5473
|
documentUrl?: string | undefined;
|
|
5052
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "tags" | "requests" | "
|
|
5474
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "tags" | "requests" | "documentUrl" | "watchForChanges" | "components" | "openapi" | "security" | "externalDocs" | "webhooks" | "jsonSchemaDialect" | "selectedServerUid" | "x-scalar-icon" | "watchForChangesStatus" ? R extends Path<{
|
|
5053
5475
|
type: "collection";
|
|
5054
5476
|
uid: string;
|
|
5055
5477
|
children: string[];
|
|
@@ -5057,6 +5479,7 @@ export declare const useWorkspace: () => {
|
|
|
5057
5479
|
security: Record<string, string[]>[];
|
|
5058
5480
|
'x-scalar-icon': string;
|
|
5059
5481
|
securitySchemes: string[];
|
|
5482
|
+
selectedSecuritySchemeUids: string[];
|
|
5060
5483
|
selectedServerUid: string;
|
|
5061
5484
|
servers: string[];
|
|
5062
5485
|
requests: string[];
|
|
@@ -5123,6 +5546,7 @@ export declare const useWorkspace: () => {
|
|
|
5123
5546
|
security: Record<string, string[]>[];
|
|
5124
5547
|
'x-scalar-icon': string;
|
|
5125
5548
|
securitySchemes: string[];
|
|
5549
|
+
selectedSecuritySchemeUids: string[];
|
|
5126
5550
|
selectedServerUid: string;
|
|
5127
5551
|
servers: string[];
|
|
5128
5552
|
requests: string[];
|
|
@@ -5247,11 +5671,11 @@ export declare const useWorkspace: () => {
|
|
|
5247
5671
|
path: string;
|
|
5248
5672
|
type: "request";
|
|
5249
5673
|
uid: string;
|
|
5674
|
+
selectedSecuritySchemeUids: string[];
|
|
5250
5675
|
selectedServerUid: string;
|
|
5251
5676
|
servers: string[];
|
|
5252
5677
|
examples: string[];
|
|
5253
5678
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
5254
|
-
selectedSecuritySchemeUids: string[];
|
|
5255
5679
|
description?: string | undefined;
|
|
5256
5680
|
summary?: string | undefined;
|
|
5257
5681
|
externalDocs?: {
|
|
@@ -5279,11 +5703,11 @@ export declare const useWorkspace: () => {
|
|
|
5279
5703
|
path: string;
|
|
5280
5704
|
type: "request";
|
|
5281
5705
|
uid: string;
|
|
5706
|
+
selectedSecuritySchemeUids: string[];
|
|
5282
5707
|
selectedServerUid: string;
|
|
5283
5708
|
servers: string[];
|
|
5284
5709
|
examples: string[];
|
|
5285
5710
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
5286
|
-
selectedSecuritySchemeUids: string[];
|
|
5287
5711
|
description?: string | undefined;
|
|
5288
5712
|
summary?: string | undefined;
|
|
5289
5713
|
externalDocs?: {
|
|
@@ -5312,11 +5736,11 @@ export declare const useWorkspace: () => {
|
|
|
5312
5736
|
path: string;
|
|
5313
5737
|
type: "request";
|
|
5314
5738
|
uid: string;
|
|
5739
|
+
selectedSecuritySchemeUids: string[];
|
|
5315
5740
|
selectedServerUid: string;
|
|
5316
5741
|
servers: string[];
|
|
5317
5742
|
examples: string[];
|
|
5318
5743
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
5319
|
-
selectedSecuritySchemeUids: string[];
|
|
5320
5744
|
description?: string | undefined;
|
|
5321
5745
|
summary?: string | undefined;
|
|
5322
5746
|
externalDocs?: {
|
|
@@ -5340,15 +5764,15 @@ export declare const useWorkspace: () => {
|
|
|
5340
5764
|
requestBody?: any;
|
|
5341
5765
|
responses?: Record<string, any> | undefined;
|
|
5342
5766
|
}) => void;
|
|
5343
|
-
edit: <P extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "
|
|
5767
|
+
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" ? {
|
|
5344
5768
|
path: string;
|
|
5345
5769
|
type: "request";
|
|
5346
5770
|
uid: string;
|
|
5771
|
+
selectedSecuritySchemeUids: string[];
|
|
5347
5772
|
selectedServerUid: string;
|
|
5348
5773
|
servers: string[];
|
|
5349
5774
|
examples: string[];
|
|
5350
5775
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
5351
|
-
selectedSecuritySchemeUids: string[];
|
|
5352
5776
|
description?: string | undefined;
|
|
5353
5777
|
summary?: string | undefined;
|
|
5354
5778
|
externalDocs?: {
|
|
@@ -5371,15 +5795,15 @@ export declare const useWorkspace: () => {
|
|
|
5371
5795
|
}[] | undefined;
|
|
5372
5796
|
requestBody?: any;
|
|
5373
5797
|
responses?: Record<string, any> | undefined;
|
|
5374
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "
|
|
5798
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "selectedSecuritySchemeUids" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "operationId" | "requestBody" | "responses" ? R extends Path<{
|
|
5375
5799
|
path: string;
|
|
5376
5800
|
type: "request";
|
|
5377
5801
|
uid: string;
|
|
5802
|
+
selectedSecuritySchemeUids: string[];
|
|
5378
5803
|
selectedServerUid: string;
|
|
5379
5804
|
servers: string[];
|
|
5380
5805
|
examples: string[];
|
|
5381
5806
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
5382
|
-
selectedSecuritySchemeUids: string[];
|
|
5383
5807
|
description?: string | undefined;
|
|
5384
5808
|
summary?: string | undefined;
|
|
5385
5809
|
externalDocs?: {
|
|
@@ -5406,11 +5830,11 @@ export declare const useWorkspace: () => {
|
|
|
5406
5830
|
path: string;
|
|
5407
5831
|
type: "request";
|
|
5408
5832
|
uid: string;
|
|
5833
|
+
selectedSecuritySchemeUids: string[];
|
|
5409
5834
|
selectedServerUid: string;
|
|
5410
5835
|
servers: string[];
|
|
5411
5836
|
examples: string[];
|
|
5412
5837
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
5413
|
-
selectedSecuritySchemeUids: string[];
|
|
5414
5838
|
description?: string | undefined;
|
|
5415
5839
|
summary?: string | undefined;
|
|
5416
5840
|
externalDocs?: {
|
|
@@ -5434,15 +5858,15 @@ export declare const useWorkspace: () => {
|
|
|
5434
5858
|
requestBody?: any;
|
|
5435
5859
|
responses?: Record<string, any> | undefined;
|
|
5436
5860
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
5437
|
-
untrackedEdit: <P extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "
|
|
5861
|
+
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" ? {
|
|
5438
5862
|
path: string;
|
|
5439
5863
|
type: "request";
|
|
5440
5864
|
uid: string;
|
|
5865
|
+
selectedSecuritySchemeUids: string[];
|
|
5441
5866
|
selectedServerUid: string;
|
|
5442
5867
|
servers: string[];
|
|
5443
5868
|
examples: string[];
|
|
5444
5869
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
5445
|
-
selectedSecuritySchemeUids: string[];
|
|
5446
5870
|
description?: string | undefined;
|
|
5447
5871
|
summary?: string | undefined;
|
|
5448
5872
|
externalDocs?: {
|
|
@@ -5465,15 +5889,15 @@ export declare const useWorkspace: () => {
|
|
|
5465
5889
|
}[] | undefined;
|
|
5466
5890
|
requestBody?: any;
|
|
5467
5891
|
responses?: Record<string, any> | undefined;
|
|
5468
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "
|
|
5892
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "method" | "type" | "summary" | "path" | "servers" | "description" | "deprecated" | "parameters" | "uid" | "selectedSecuritySchemeUids" | "tags" | "examples" | "security" | "externalDocs" | "selectedServerUid" | "operationId" | "requestBody" | "responses" ? R extends Path<{
|
|
5469
5893
|
path: string;
|
|
5470
5894
|
type: "request";
|
|
5471
5895
|
uid: string;
|
|
5896
|
+
selectedSecuritySchemeUids: string[];
|
|
5472
5897
|
selectedServerUid: string;
|
|
5473
5898
|
servers: string[];
|
|
5474
5899
|
examples: string[];
|
|
5475
5900
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
5476
|
-
selectedSecuritySchemeUids: string[];
|
|
5477
5901
|
description?: string | undefined;
|
|
5478
5902
|
summary?: string | undefined;
|
|
5479
5903
|
externalDocs?: {
|
|
@@ -5500,11 +5924,11 @@ export declare const useWorkspace: () => {
|
|
|
5500
5924
|
path: string;
|
|
5501
5925
|
type: "request";
|
|
5502
5926
|
uid: string;
|
|
5927
|
+
selectedSecuritySchemeUids: string[];
|
|
5503
5928
|
selectedServerUid: string;
|
|
5504
5929
|
servers: string[];
|
|
5505
5930
|
examples: string[];
|
|
5506
5931
|
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
5507
|
-
selectedSecuritySchemeUids: string[];
|
|
5508
5932
|
description?: string | undefined;
|
|
5509
5933
|
summary?: string | undefined;
|
|
5510
5934
|
externalDocs?: {
|
|
@@ -7144,13 +7568,13 @@ export declare const useWorkspace: () => {
|
|
|
7144
7568
|
hotKeyConfig?: {
|
|
7145
7569
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
7146
7570
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
7147
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
7571
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
7148
7572
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
7149
7573
|
}>> | undefined;
|
|
7150
7574
|
} | undefined;
|
|
7151
7575
|
proxyUrl?: string | undefined;
|
|
7152
7576
|
}) => void;
|
|
7153
|
-
add: (payload?: Partial<import("@scalar/oas-utils/entities
|
|
7577
|
+
add: (payload?: Partial<import("@scalar/oas-utils/entities").Workspace>) => {
|
|
7154
7578
|
uid: string;
|
|
7155
7579
|
name: string;
|
|
7156
7580
|
description: string;
|
|
@@ -7163,7 +7587,7 @@ export declare const useWorkspace: () => {
|
|
|
7163
7587
|
hotKeyConfig?: {
|
|
7164
7588
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
7165
7589
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
7166
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
7590
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
7167
7591
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
7168
7592
|
}>> | undefined;
|
|
7169
7593
|
} | undefined;
|
|
@@ -7183,7 +7607,7 @@ export declare const useWorkspace: () => {
|
|
|
7183
7607
|
hotKeyConfig?: {
|
|
7184
7608
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
7185
7609
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
7186
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
7610
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
7187
7611
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
7188
7612
|
}>> | undefined;
|
|
7189
7613
|
} | undefined;
|
|
@@ -7202,7 +7626,7 @@ export declare const useWorkspace: () => {
|
|
|
7202
7626
|
hotKeyConfig?: {
|
|
7203
7627
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
7204
7628
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
7205
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
7629
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
7206
7630
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
7207
7631
|
}>> | undefined;
|
|
7208
7632
|
} | undefined;
|
|
@@ -7220,7 +7644,7 @@ export declare const useWorkspace: () => {
|
|
|
7220
7644
|
hotKeyConfig?: {
|
|
7221
7645
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
7222
7646
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
7223
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
7647
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
7224
7648
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
7225
7649
|
}>> | undefined;
|
|
7226
7650
|
} | undefined;
|
|
@@ -7238,7 +7662,7 @@ export declare const useWorkspace: () => {
|
|
|
7238
7662
|
hotKeyConfig?: {
|
|
7239
7663
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
7240
7664
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
7241
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
7665
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
7242
7666
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
7243
7667
|
}>> | undefined;
|
|
7244
7668
|
} | undefined;
|
|
@@ -7257,7 +7681,7 @@ export declare const useWorkspace: () => {
|
|
|
7257
7681
|
hotKeyConfig?: {
|
|
7258
7682
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
7259
7683
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
7260
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
7684
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
7261
7685
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
7262
7686
|
}>> | undefined;
|
|
7263
7687
|
} | undefined;
|
|
@@ -7275,7 +7699,7 @@ export declare const useWorkspace: () => {
|
|
|
7275
7699
|
hotKeyConfig?: {
|
|
7276
7700
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
7277
7701
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
7278
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
7702
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
7279
7703
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
7280
7704
|
}>> | undefined;
|
|
7281
7705
|
} | undefined;
|
|
@@ -7293,7 +7717,7 @@ export declare const useWorkspace: () => {
|
|
|
7293
7717
|
hotKeyConfig?: {
|
|
7294
7718
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
7295
7719
|
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" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
7296
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "
|
|
7720
|
+
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
7297
7721
|
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
7298
7722
|
}>> | undefined;
|
|
7299
7723
|
} | undefined;
|