@scalar/api-client 2.2.48 → 2.2.50
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 +41 -0
- package/dist/components/AddressBar/AddressBar.vue.d.ts +15 -3
- package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBar.vue.js +1 -1
- package/dist/components/AddressBar/AddressBar.vue2.js +102 -94
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts +2 -0
- package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
- package/dist/components/AddressBar/AddressBarHistory.vue.js +2 -2
- package/dist/components/AddressBar/AddressBarHistory.vue2.js +54 -58
- package/dist/components/CodeInput/CodeInput.vue.d.ts +9 -0
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/CodeInput/CodeInput.vue2.js +95 -93
- package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
- package/dist/components/CodeInput/codeVariableWidget.js +1 -3
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +26 -22
- package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteImport.vue.js +13 -13
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +12 -12
- package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteServer.vue.js +54 -49
- package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPaletteTag.vue.js +9 -9
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCell.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableCell.vue.js +11 -8
- package/dist/components/DataTable/DataTableInput.vue.d.ts +6 -0
- package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInput.vue.js +4 -4
- package/dist/components/DataTable/DataTableInput.vue2.js +36 -30
- package/dist/components/DataTable/DataTableInputSelect.vue.d.ts.map +1 -1
- package/dist/components/DataTable/DataTableInputSelect.vue.js +15 -15
- package/dist/components/Form/Form.vue.d.ts +3 -1
- package/dist/components/Form/Form.vue.d.ts.map +1 -1
- package/dist/components/Form/Form.vue.js +30 -25
- package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
- package/dist/components/ImportCollection/ImportCollectionModal.vue.js +41 -41
- package/dist/components/ImportCollection/ImportNowButton.vue.js +24 -24
- package/dist/components/ScreenReader.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdown.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdown.vue.js +13 -13
- package/dist/components/Server/ServerDropdownItem.vue.d.ts +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.js +1 -1
- package/dist/components/Server/ServerDropdownItem.vue2.js +19 -19
- package/dist/layouts/App/create-api-client-app.d.ts +387 -477
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +774 -954
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +387 -477
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +390 -479
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +3 -15
- package/dist/libs/env-helpers.d.ts.map +1 -1
- package/dist/libs/find-request.d.ts +7 -7
- package/dist/libs/find-request.d.ts.map +1 -1
- package/dist/libs/hot-keys.d.ts +3 -1
- package/dist/libs/hot-keys.d.ts.map +1 -1
- package/dist/libs/hot-keys.js +11 -15
- package/dist/libs/hot-keys.test.d.ts +2 -0
- package/dist/libs/hot-keys.test.d.ts.map +1 -0
- package/dist/libs/index.js +27 -26
- package/dist/libs/send-request/build-request-security.d.ts +1 -1
- package/dist/libs/send-request/build-request-security.js +19 -16
- package/dist/libs/send-request/create-request-operation.test.d.ts +10 -10
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
- package/dist/libs/send-request/set-request-cookies.d.ts +1 -1
- package/dist/libs/send-request/set-request-cookies.d.ts.map +1 -1
- package/dist/libs/send-request/set-request-cookies.js +37 -34
- package/dist/store/active-entities.d.ts +58 -67
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/active-entities.js +61 -74
- package/dist/store/collections.d.ts +90 -90
- package/dist/store/collections.d.ts.map +1 -1
- package/dist/store/collections.js +4 -17
- package/dist/store/cookies.d.ts +14 -14
- package/dist/store/environment.d.ts +19 -18
- package/dist/store/environment.d.ts.map +1 -1
- package/dist/store/environment.js +2 -8
- package/dist/store/import-spec.d.ts +16 -106
- package/dist/store/import-spec.d.ts.map +1 -1
- package/dist/store/import-spec.js +9 -14
- package/dist/store/request-example.d.ts +25 -25
- package/dist/store/request-example.d.ts.map +1 -1
- package/dist/store/request-example.js +15 -20
- package/dist/store/requests.d.ts +84 -84
- package/dist/store/requests.d.ts.map +1 -1
- package/dist/store/requests.js +17 -40
- package/dist/store/router-params.d.ts +13 -11
- package/dist/store/router-params.d.ts.map +1 -1
- package/dist/store/router-params.js +5 -5
- package/dist/store/security-schemes.d.ts +58 -58
- package/dist/store/security-schemes.d.ts.map +1 -1
- package/dist/store/security-schemes.js +1 -3
- package/dist/store/servers.d.ts +17 -17
- package/dist/store/servers.d.ts.map +1 -1
- package/dist/store/servers.js +2 -9
- package/dist/store/store.d.ts +387 -477
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/store.js +2 -4
- package/dist/store/tags.d.ts +28 -28
- package/dist/store/tags.d.ts.map +1 -1
- package/dist/store/tags.js +19 -34
- package/dist/store/workspace.d.ts +36 -36
- package/dist/store/workspace.d.ts.map +1 -1
- package/dist/store/workspace.js +1 -5
- package/dist/style.css +1 -1
- package/dist/views/Collection/Collection.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
- package/dist/views/Cookies/CookieForm.vue.js +18 -18
- package/dist/views/Cookies/CookieRaw.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue.d.ts.map +1 -1
- package/dist/views/Cookies/Cookies.vue2.js +24 -24
- package/dist/views/Environment/Environment.vue.d.ts.map +1 -1
- package/dist/views/Environment/Environment.vue2.js +140 -132
- package/dist/views/Environment/EnvironmentModal.vue.d.ts +2 -2
- package/dist/views/Environment/EnvironmentModal.vue.d.ts.map +1 -1
- package/dist/views/Environment/EnvironmentModal.vue.js +15 -15
- package/dist/views/Request/Request.vue.d.ts.map +1 -1
- package/dist/views/Request/Request.vue.js +2 -2
- package/dist/views/Request/Request.vue2.js +160 -141
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts +2 -1
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/DeleteRequestAuthModal.vue.js +7 -7
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +6 -2
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +99 -95
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +4 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +70 -64
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +4 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.js +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue2.js +40 -34
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts +6 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTableInput.vue.js +32 -26
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts +4 -0
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue2.js +93 -85
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts +9 -0
- package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestBody.vue2.js +214 -244
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts +10 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestCodeExample.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestCodeExample.vue2.js +77 -80
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts +7 -0
- package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestParams.vue.js +89 -96
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts +10 -2
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.js +59 -66
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +11 -0
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestSection.vue2.js +176 -155
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +6 -0
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTable.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestTable.vue2.js +97 -100
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestTableTooltip.vue2.js +31 -22
- package/dist/views/Request/RequestSection/helpers/getting-started.d.ts +2 -2
- package/dist/views/Request/RequestSection/helpers/getting-started.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/helpers/getting-started.js +11 -13
- package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebar.vue.js +1 -1
- package/dist/views/Request/RequestSidebar.vue2.js +50 -48
- package/dist/views/Request/RequestSidebarItem.vue.d.ts +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSidebarItem.vue.js +2 -2
- package/dist/views/Request/RequestSidebarItem.vue2.js +38 -44
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts +10 -0
- package/dist/views/Request/RequestSubpageHeader.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
- package/dist/views/Request/RequestSubpageHeader.vue2.js +77 -69
- package/dist/views/Request/ResponseSection/ResponseBodyVirtual.vue.js +7 -7
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts +4 -1
- 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 +41 -39
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +1 -0
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +56 -52
- package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
- package/dist/views/Request/components/WorkspaceDropdown.vue.js +68 -68
- package/dist/views/Request/consts/new-auth-options.d.ts.map +1 -1
- package/dist/views/Request/handle-drag.d.ts +1 -1
- package/dist/views/Request/handle-drag.d.ts.map +1 -1
- package/dist/views/Request/handle-drag.js +38 -55
- package/dist/views/Request/libs/auth.d.ts +2 -2
- package/dist/views/Request/libs/auth.d.ts.map +1 -1
- package/dist/views/Request/libs/auth.js +28 -29
- package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
- package/dist/views/Request/libs/oauth2.js +42 -65
- package/dist/views/Request/libs/request.d.ts +5 -0
- package/dist/views/Request/libs/request.d.ts.map +1 -1
- package/dist/views/Request/libs/request.js +37 -2
- package/dist/views/Request/libs/watch-mode.d.ts.map +1 -1
- package/dist/views/Request/libs/watch-mode.js +10 -34
- package/dist/views/Servers/ServerForm.vue.d.ts +1 -8
- package/dist/views/Servers/ServerForm.vue.d.ts.map +1 -1
- package/dist/views/Servers/ServerForm.vue.js +21 -22
- package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
- package/dist/views/Servers/Servers.vue2.js +73 -81
- package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -1
- package/dist/views/Settings/SettingsGeneral.vue.js +118 -134
- package/package.json +14 -14
package/dist/store/store.d.ts
CHANGED
|
@@ -29,13 +29,13 @@ type CreateWorkspaceStoreOptions = {
|
|
|
29
29
|
*/
|
|
30
30
|
export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, proxyUrl, themeId, hideClientButton, integration, }: CreateWorkspaceStoreOptions) => {
|
|
31
31
|
workspaces: Record<string, {
|
|
32
|
-
uid: string
|
|
32
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
33
33
|
name: string;
|
|
34
34
|
description: string;
|
|
35
|
-
collections: string[];
|
|
35
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
36
36
|
environments: Record<string, string>;
|
|
37
37
|
activeEnvironmentId: string;
|
|
38
|
-
cookies: string[];
|
|
38
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
39
39
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
40
40
|
selectedHttpClient: {
|
|
41
41
|
targetKey: string;
|
|
@@ -52,17 +52,16 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
52
52
|
}>;
|
|
53
53
|
collections: Record<string, {
|
|
54
54
|
type: "collection";
|
|
55
|
-
uid: string
|
|
56
|
-
children: string[];
|
|
55
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
56
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
57
57
|
openapi: string;
|
|
58
58
|
security: Record<string, string[]>[];
|
|
59
59
|
'x-scalar-icon': string;
|
|
60
60
|
securitySchemes: string[];
|
|
61
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
tags: string[];
|
|
61
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
62
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
63
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
64
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
66
65
|
watchMode: boolean;
|
|
67
66
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
68
67
|
externalDocs?: {
|
|
@@ -99,17 +98,18 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
99
98
|
color?: string | undefined;
|
|
100
99
|
}> | undefined;
|
|
101
100
|
'x-scalar-secrets'?: Record<string, {
|
|
102
|
-
description?: string | undefined;
|
|
103
101
|
example?: string | undefined;
|
|
102
|
+
description?: string | undefined;
|
|
104
103
|
}> | undefined;
|
|
104
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
105
105
|
documentUrl?: string | undefined;
|
|
106
106
|
integration?: string | null | undefined;
|
|
107
107
|
}>;
|
|
108
108
|
tags: Record<string, {
|
|
109
109
|
type: "tag";
|
|
110
|
-
uid: string
|
|
110
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
111
111
|
name: string;
|
|
112
|
-
children: string[];
|
|
112
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
113
113
|
description?: string | undefined;
|
|
114
114
|
externalDocs?: {
|
|
115
115
|
url: string;
|
|
@@ -123,21 +123,21 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
123
123
|
}>;
|
|
124
124
|
cookies: Record<string, {
|
|
125
125
|
value: string;
|
|
126
|
-
uid: string
|
|
126
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
127
127
|
name: string;
|
|
128
128
|
path?: string | undefined;
|
|
129
129
|
domain?: string | undefined;
|
|
130
130
|
}>;
|
|
131
131
|
environments: Record<string, {
|
|
132
132
|
value: string;
|
|
133
|
-
uid: string
|
|
133
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
134
134
|
name: string;
|
|
135
135
|
color: string;
|
|
136
136
|
isDefault?: boolean | undefined;
|
|
137
137
|
}>;
|
|
138
138
|
requestExamples: Record<string, {
|
|
139
139
|
type: "requestExample";
|
|
140
|
-
uid: string
|
|
140
|
+
uid: string & import("zod").BRAND<"example">;
|
|
141
141
|
name: string;
|
|
142
142
|
parameters: {
|
|
143
143
|
path: {
|
|
@@ -232,17 +232,17 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
232
232
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
233
233
|
} | undefined;
|
|
234
234
|
};
|
|
235
|
-
requestUid
|
|
235
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
236
236
|
serverVariables?: Record<string, string[]> | undefined;
|
|
237
237
|
}>;
|
|
238
238
|
requests: Record<string, {
|
|
239
239
|
path: string;
|
|
240
240
|
type: "request";
|
|
241
|
-
uid: string
|
|
242
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
243
|
-
selectedServerUid: string;
|
|
244
|
-
servers: string[];
|
|
245
|
-
examples: string[];
|
|
241
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
242
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
243
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
244
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
245
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
246
246
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
247
247
|
description?: string | undefined;
|
|
248
248
|
summary?: string | undefined;
|
|
@@ -259,10 +259,10 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
259
259
|
parameters?: {
|
|
260
260
|
required: boolean;
|
|
261
261
|
name: string;
|
|
262
|
-
in: "path" | "
|
|
262
|
+
in: "path" | "cookie" | "query" | "header";
|
|
263
263
|
deprecated: boolean;
|
|
264
|
-
description?: string | undefined;
|
|
265
264
|
example?: unknown;
|
|
265
|
+
description?: string | undefined;
|
|
266
266
|
schema?: unknown;
|
|
267
267
|
content?: unknown;
|
|
268
268
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -275,7 +275,7 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
275
275
|
responses?: Record<string, any> | undefined;
|
|
276
276
|
}>;
|
|
277
277
|
servers: Record<string, {
|
|
278
|
-
uid: string
|
|
278
|
+
uid: string & import("zod").BRAND<"server">;
|
|
279
279
|
url: string;
|
|
280
280
|
description?: string | undefined;
|
|
281
281
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -286,14 +286,14 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
286
286
|
securitySchemes: Record<string, {
|
|
287
287
|
type: "apiKey";
|
|
288
288
|
value: string;
|
|
289
|
-
uid: string
|
|
289
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
290
290
|
name: string;
|
|
291
291
|
nameKey: string;
|
|
292
|
-
in: "
|
|
292
|
+
in: "cookie" | "query" | "header";
|
|
293
293
|
description?: string | undefined;
|
|
294
294
|
} | {
|
|
295
295
|
type: "http";
|
|
296
|
-
uid: string
|
|
296
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
297
297
|
nameKey: string;
|
|
298
298
|
scheme: "basic" | "bearer";
|
|
299
299
|
bearerFormat: string;
|
|
@@ -303,13 +303,13 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
303
303
|
description?: string | undefined;
|
|
304
304
|
} | {
|
|
305
305
|
type: "openIdConnect";
|
|
306
|
-
uid: string
|
|
306
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
307
307
|
nameKey: string;
|
|
308
308
|
openIdConnectUrl: string;
|
|
309
309
|
description?: string | undefined;
|
|
310
310
|
} | {
|
|
311
311
|
type: "oauth2";
|
|
312
|
-
uid: string
|
|
312
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
313
313
|
nameKey: string;
|
|
314
314
|
flows: {
|
|
315
315
|
password?: {
|
|
@@ -387,7 +387,7 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
387
387
|
description?: string | undefined;
|
|
388
388
|
url?: string | undefined;
|
|
389
389
|
} | undefined;
|
|
390
|
-
children?:
|
|
390
|
+
children?: string[] | undefined;
|
|
391
391
|
openapi?: string | undefined;
|
|
392
392
|
jsonSchemaDialect?: string | undefined;
|
|
393
393
|
info?: {
|
|
@@ -421,15 +421,15 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
421
421
|
color?: string | undefined;
|
|
422
422
|
}> | undefined;
|
|
423
423
|
'x-scalar-secrets'?: Record<string, {
|
|
424
|
-
description?: string | undefined;
|
|
425
424
|
example?: string | undefined;
|
|
425
|
+
description?: string | undefined;
|
|
426
426
|
}> | undefined;
|
|
427
427
|
securitySchemes?: string[] | undefined;
|
|
428
|
-
selectedSecuritySchemeUids?: (string |
|
|
428
|
+
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
429
429
|
selectedServerUid?: string | undefined;
|
|
430
|
-
servers?:
|
|
431
|
-
requests?:
|
|
432
|
-
tags?:
|
|
430
|
+
servers?: string[] | undefined;
|
|
431
|
+
requests?: string[] | undefined;
|
|
432
|
+
tags?: string[] | undefined;
|
|
433
433
|
documentUrl?: string | undefined;
|
|
434
434
|
watchMode?: boolean | undefined;
|
|
435
435
|
integration?: string | null | undefined;
|
|
@@ -438,59 +438,14 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
438
438
|
setCollectionSecurity?: boolean;
|
|
439
439
|
shouldLoad?: boolean;
|
|
440
440
|
} & Pick<ReferenceConfiguration, "servers">) => Promise<{
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
selectedServerUid: string;
|
|
450
|
-
servers: string[];
|
|
451
|
-
requests: string[];
|
|
452
|
-
tags: string[];
|
|
453
|
-
watchMode: boolean;
|
|
454
|
-
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
455
|
-
externalDocs?: {
|
|
456
|
-
url: string;
|
|
457
|
-
description?: string | undefined;
|
|
458
|
-
} | undefined;
|
|
459
|
-
jsonSchemaDialect?: string | undefined;
|
|
460
|
-
info?: {
|
|
461
|
-
title: string;
|
|
462
|
-
version: string;
|
|
463
|
-
description?: string | undefined;
|
|
464
|
-
summary?: string | undefined;
|
|
465
|
-
termsOfService?: string | undefined;
|
|
466
|
-
contact?: {
|
|
467
|
-
name?: string | undefined;
|
|
468
|
-
url?: string | undefined;
|
|
469
|
-
email?: string | undefined;
|
|
470
|
-
} | undefined;
|
|
471
|
-
license?: {
|
|
472
|
-
name: string;
|
|
473
|
-
identifier?: string | undefined;
|
|
474
|
-
url?: string | undefined;
|
|
475
|
-
} | undefined;
|
|
476
|
-
} | undefined;
|
|
477
|
-
components?: Record<string, unknown> | undefined;
|
|
478
|
-
webhooks?: Record<string, unknown> | undefined;
|
|
479
|
-
'x-scalar-active-environment'?: string | undefined;
|
|
480
|
-
'x-scalar-environments'?: Record<string, {
|
|
481
|
-
variables: Record<string, string | {
|
|
482
|
-
default: string;
|
|
483
|
-
description?: string | undefined;
|
|
484
|
-
}>;
|
|
485
|
-
description?: string | undefined;
|
|
486
|
-
color?: string | undefined;
|
|
487
|
-
}> | undefined;
|
|
488
|
-
'x-scalar-secrets'?: Record<string, {
|
|
489
|
-
description?: string | undefined;
|
|
490
|
-
example?: string | undefined;
|
|
491
|
-
}> | undefined;
|
|
492
|
-
documentUrl?: string | undefined;
|
|
493
|
-
integration?: string | null | undefined;
|
|
441
|
+
error: false;
|
|
442
|
+
collection: import("@scalar/oas-utils/entities/spec").Collection;
|
|
443
|
+
requests: import("@scalar/oas-utils/entities/spec").Request[];
|
|
444
|
+
schema: import("@scalar/openapi-types").OpenAPIV3_1.Document;
|
|
445
|
+
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
446
|
+
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
447
|
+
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
448
|
+
securitySchemes: SecurityScheme[];
|
|
494
449
|
} | undefined>;
|
|
495
450
|
importSpecFromUrl: (url: string, workspaceUid: string, { proxyUrl, ...options }?: Omit<Pick<{
|
|
496
451
|
type?: "collection" | undefined;
|
|
@@ -499,7 +454,7 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
499
454
|
description?: string | undefined;
|
|
500
455
|
url?: string | undefined;
|
|
501
456
|
} | undefined;
|
|
502
|
-
children?:
|
|
457
|
+
children?: string[] | undefined;
|
|
503
458
|
openapi?: string | undefined;
|
|
504
459
|
jsonSchemaDialect?: string | undefined;
|
|
505
460
|
info?: {
|
|
@@ -533,15 +488,15 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
533
488
|
color?: string | undefined;
|
|
534
489
|
}> | undefined;
|
|
535
490
|
'x-scalar-secrets'?: Record<string, {
|
|
536
|
-
description?: string | undefined;
|
|
537
491
|
example?: string | undefined;
|
|
492
|
+
description?: string | undefined;
|
|
538
493
|
}> | undefined;
|
|
539
494
|
securitySchemes?: string[] | undefined;
|
|
540
|
-
selectedSecuritySchemeUids?: (string |
|
|
495
|
+
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
541
496
|
selectedServerUid?: string | undefined;
|
|
542
|
-
servers?:
|
|
543
|
-
requests?:
|
|
544
|
-
tags?:
|
|
497
|
+
servers?: string[] | undefined;
|
|
498
|
+
requests?: string[] | undefined;
|
|
499
|
+
tags?: string[] | undefined;
|
|
545
500
|
documentUrl?: string | undefined;
|
|
546
501
|
watchMode?: boolean | undefined;
|
|
547
502
|
integration?: string | null | undefined;
|
|
@@ -556,7 +511,7 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
556
511
|
description?: string | undefined;
|
|
557
512
|
url?: string | undefined;
|
|
558
513
|
} | undefined;
|
|
559
|
-
children?:
|
|
514
|
+
children?: string[] | undefined;
|
|
560
515
|
openapi?: string | undefined;
|
|
561
516
|
jsonSchemaDialect?: string | undefined;
|
|
562
517
|
info?: {
|
|
@@ -590,15 +545,15 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
590
545
|
color?: string | undefined;
|
|
591
546
|
}> | undefined;
|
|
592
547
|
'x-scalar-secrets'?: Record<string, {
|
|
593
|
-
description?: string | undefined;
|
|
594
548
|
example?: string | undefined;
|
|
549
|
+
description?: string | undefined;
|
|
595
550
|
}> | undefined;
|
|
596
551
|
securitySchemes?: string[] | undefined;
|
|
597
|
-
selectedSecuritySchemeUids?: (string |
|
|
552
|
+
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
598
553
|
selectedServerUid?: string | undefined;
|
|
599
|
-
servers?:
|
|
600
|
-
requests?:
|
|
601
|
-
tags?:
|
|
554
|
+
servers?: string[] | undefined;
|
|
555
|
+
requests?: string[] | undefined;
|
|
556
|
+
tags?: string[] | undefined;
|
|
602
557
|
documentUrl?: string | undefined;
|
|
603
558
|
watchMode?: boolean | undefined;
|
|
604
559
|
integration?: string | null | undefined;
|
|
@@ -607,132 +562,86 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
607
562
|
setCollectionSecurity?: boolean;
|
|
608
563
|
shouldLoad?: boolean;
|
|
609
564
|
} & Pick<ReferenceConfiguration, "servers">) => Promise<{
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
selectedServerUid: string;
|
|
619
|
-
servers: string[];
|
|
620
|
-
requests: string[];
|
|
621
|
-
tags: string[];
|
|
622
|
-
watchMode: boolean;
|
|
623
|
-
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
624
|
-
externalDocs?: {
|
|
625
|
-
url: string;
|
|
626
|
-
description?: string | undefined;
|
|
627
|
-
} | undefined;
|
|
628
|
-
jsonSchemaDialect?: string | undefined;
|
|
629
|
-
info?: {
|
|
630
|
-
title: string;
|
|
631
|
-
version: string;
|
|
632
|
-
description?: string | undefined;
|
|
633
|
-
summary?: string | undefined;
|
|
634
|
-
termsOfService?: string | undefined;
|
|
635
|
-
contact?: {
|
|
636
|
-
name?: string | undefined;
|
|
637
|
-
url?: string | undefined;
|
|
638
|
-
email?: string | undefined;
|
|
639
|
-
} | undefined;
|
|
640
|
-
license?: {
|
|
641
|
-
name: string;
|
|
642
|
-
identifier?: string | undefined;
|
|
643
|
-
url?: string | undefined;
|
|
644
|
-
} | undefined;
|
|
645
|
-
} | undefined;
|
|
646
|
-
components?: Record<string, unknown> | undefined;
|
|
647
|
-
webhooks?: Record<string, unknown> | undefined;
|
|
648
|
-
'x-scalar-active-environment'?: string | undefined;
|
|
649
|
-
'x-scalar-environments'?: Record<string, {
|
|
650
|
-
variables: Record<string, string | {
|
|
651
|
-
default: string;
|
|
652
|
-
description?: string | undefined;
|
|
653
|
-
}>;
|
|
654
|
-
description?: string | undefined;
|
|
655
|
-
color?: string | undefined;
|
|
656
|
-
}> | undefined;
|
|
657
|
-
'x-scalar-secrets'?: Record<string, {
|
|
658
|
-
description?: string | undefined;
|
|
659
|
-
example?: string | undefined;
|
|
660
|
-
}> | undefined;
|
|
661
|
-
documentUrl?: string | undefined;
|
|
662
|
-
integration?: string | null | undefined;
|
|
565
|
+
error: false;
|
|
566
|
+
collection: import("@scalar/oas-utils/entities/spec").Collection;
|
|
567
|
+
requests: import("@scalar/oas-utils/entities/spec").Request[];
|
|
568
|
+
schema: import("@scalar/openapi-types").OpenAPIV3_1.Document;
|
|
569
|
+
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
570
|
+
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
571
|
+
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
572
|
+
securitySchemes: SecurityScheme[];
|
|
663
573
|
} | undefined>>>>>;
|
|
664
574
|
cookieMutators: {
|
|
665
575
|
add: (item: {
|
|
666
576
|
value: string;
|
|
667
|
-
uid: string
|
|
577
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
668
578
|
name: string;
|
|
669
579
|
path?: string | undefined;
|
|
670
580
|
domain?: string | undefined;
|
|
671
581
|
}) => void;
|
|
672
|
-
delete: (uid: string) => void;
|
|
582
|
+
delete: (uid: (string & import("zod").BRAND<"cookie">) | null | undefined) => void;
|
|
673
583
|
set: (item: {
|
|
674
584
|
value: string;
|
|
675
|
-
uid: string
|
|
585
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
676
586
|
name: string;
|
|
677
587
|
path?: string | undefined;
|
|
678
588
|
domain?: string | undefined;
|
|
679
589
|
}) => void;
|
|
680
|
-
edit: <P extends "name" | "uid" | "path" | "value" | "domain">(uid: string, path: P, value: P extends "name" | "uid" | "path" | "value" | "domain" ? {
|
|
590
|
+
edit: <P extends "name" | "uid" | "path" | "value" | "domain">(uid: (string & import("zod").BRAND<"cookie">) | null | undefined, path: P, value: P extends "name" | "uid" | "path" | "value" | "domain" ? {
|
|
681
591
|
value: string;
|
|
682
|
-
uid: string
|
|
592
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
683
593
|
name: string;
|
|
684
594
|
path?: string | undefined;
|
|
685
595
|
domain?: string | undefined;
|
|
686
596
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "path" | "value" | "domain" ? R extends Path<{
|
|
687
597
|
value: string;
|
|
688
|
-
uid: string
|
|
598
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
689
599
|
name: string;
|
|
690
600
|
path?: string | undefined;
|
|
691
601
|
domain?: string | undefined;
|
|
692
602
|
}[K]> ? PathValue<{
|
|
693
603
|
value: string;
|
|
694
|
-
uid: string
|
|
604
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
695
605
|
name: string;
|
|
696
606
|
path?: string | undefined;
|
|
697
607
|
domain?: string | undefined;
|
|
698
608
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
699
|
-
untrackedEdit: <P extends "name" | "uid" | "path" | "value" | "domain">(uid: string
|
|
609
|
+
untrackedEdit: <P extends "name" | "uid" | "path" | "value" | "domain">(uid: string & import("zod").BRAND<"cookie">, path: P, value: P extends "name" | "uid" | "path" | "value" | "domain" ? {
|
|
700
610
|
value: string;
|
|
701
|
-
uid: string
|
|
611
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
702
612
|
name: string;
|
|
703
613
|
path?: string | undefined;
|
|
704
614
|
domain?: string | undefined;
|
|
705
615
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "path" | "value" | "domain" ? R extends Path<{
|
|
706
616
|
value: string;
|
|
707
|
-
uid: string
|
|
617
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
708
618
|
name: string;
|
|
709
619
|
path?: string | undefined;
|
|
710
620
|
domain?: string | undefined;
|
|
711
621
|
}[K]> ? PathValue<{
|
|
712
622
|
value: string;
|
|
713
|
-
uid: string
|
|
623
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
714
624
|
name: string;
|
|
715
625
|
path?: string | undefined;
|
|
716
626
|
domain?: string | undefined;
|
|
717
627
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
718
|
-
undo: (uid: string) => void;
|
|
719
|
-
redo: (uid: string) => void;
|
|
628
|
+
undo: (uid: string & import("zod").BRAND<"cookie">) => void;
|
|
629
|
+
redo: (uid: string & import("zod").BRAND<"cookie">) => void;
|
|
720
630
|
reset: () => void;
|
|
721
631
|
};
|
|
722
632
|
collectionMutators: {
|
|
723
633
|
rawAdd: (item: {
|
|
724
634
|
type: "collection";
|
|
725
|
-
uid: string
|
|
726
|
-
children: string[];
|
|
635
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
636
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
727
637
|
openapi: string;
|
|
728
638
|
security: Record<string, string[]>[];
|
|
729
639
|
'x-scalar-icon': string;
|
|
730
640
|
securitySchemes: string[];
|
|
731
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
tags: string[];
|
|
641
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
642
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
643
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
644
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
736
645
|
watchMode: boolean;
|
|
737
646
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
738
647
|
externalDocs?: {
|
|
@@ -769,25 +678,25 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
769
678
|
color?: string | undefined;
|
|
770
679
|
}> | undefined;
|
|
771
680
|
'x-scalar-secrets'?: Record<string, {
|
|
772
|
-
description?: string | undefined;
|
|
773
681
|
example?: string | undefined;
|
|
682
|
+
description?: string | undefined;
|
|
774
683
|
}> | undefined;
|
|
684
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
775
685
|
documentUrl?: string | undefined;
|
|
776
686
|
integration?: string | null | undefined;
|
|
777
687
|
}) => void;
|
|
778
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid:
|
|
688
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid: import("@scalar/oas-utils/entities").Workspace["uid"]) => {
|
|
779
689
|
type: "collection";
|
|
780
|
-
uid: string
|
|
781
|
-
children: string[];
|
|
690
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
691
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
782
692
|
openapi: string;
|
|
783
693
|
security: Record<string, string[]>[];
|
|
784
694
|
'x-scalar-icon': string;
|
|
785
695
|
securitySchemes: string[];
|
|
786
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
tags: string[];
|
|
696
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
697
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
698
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
699
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
791
700
|
watchMode: boolean;
|
|
792
701
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
793
702
|
externalDocs?: {
|
|
@@ -824,28 +733,28 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
824
733
|
color?: string | undefined;
|
|
825
734
|
}> | undefined;
|
|
826
735
|
'x-scalar-secrets'?: Record<string, {
|
|
827
|
-
description?: string | undefined;
|
|
828
736
|
example?: string | undefined;
|
|
737
|
+
description?: string | undefined;
|
|
829
738
|
}> | undefined;
|
|
739
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
830
740
|
documentUrl?: string | undefined;
|
|
831
741
|
integration?: string | null | undefined;
|
|
832
742
|
};
|
|
833
743
|
delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: import("@scalar/oas-utils/entities").Workspace) => void;
|
|
834
|
-
addEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid:
|
|
835
|
-
removeEnvironment: (environmentName: string, collectionUid:
|
|
744
|
+
addEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
745
|
+
removeEnvironment: (environmentName: string, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
836
746
|
set: (item: {
|
|
837
747
|
type: "collection";
|
|
838
|
-
uid: string
|
|
839
|
-
children: string[];
|
|
748
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
749
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
840
750
|
openapi: string;
|
|
841
751
|
security: Record<string, string[]>[];
|
|
842
752
|
'x-scalar-icon': string;
|
|
843
753
|
securitySchemes: string[];
|
|
844
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
tags: string[];
|
|
754
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
755
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
756
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
757
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
849
758
|
watchMode: boolean;
|
|
850
759
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
851
760
|
externalDocs?: {
|
|
@@ -882,25 +791,25 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
882
791
|
color?: string | undefined;
|
|
883
792
|
}> | undefined;
|
|
884
793
|
'x-scalar-secrets'?: Record<string, {
|
|
885
|
-
description?: string | undefined;
|
|
886
794
|
example?: string | undefined;
|
|
795
|
+
description?: string | undefined;
|
|
887
796
|
}> | undefined;
|
|
797
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
888
798
|
documentUrl?: string | undefined;
|
|
889
799
|
integration?: string | null | undefined;
|
|
890
800
|
}) => void;
|
|
891
|
-
edit: <P extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "
|
|
801
|
+
edit: <P extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "info" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `servers.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${number}` | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | "info.summary" | "info.description" | "info.title" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: (string & import("zod").BRAND<"collection">) | null | undefined, path: P, value: P extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "info" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
|
|
892
802
|
type: "collection";
|
|
893
|
-
uid: string
|
|
894
|
-
children: string[];
|
|
803
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
804
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
895
805
|
openapi: string;
|
|
896
806
|
security: Record<string, string[]>[];
|
|
897
807
|
'x-scalar-icon': string;
|
|
898
808
|
securitySchemes: string[];
|
|
899
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
tags: string[];
|
|
809
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
810
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
811
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
812
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
904
813
|
watchMode: boolean;
|
|
905
814
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
906
815
|
externalDocs?: {
|
|
@@ -937,24 +846,24 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
937
846
|
color?: string | undefined;
|
|
938
847
|
}> | undefined;
|
|
939
848
|
'x-scalar-secrets'?: Record<string, {
|
|
940
|
-
description?: string | undefined;
|
|
941
849
|
example?: string | undefined;
|
|
850
|
+
description?: string | undefined;
|
|
942
851
|
}> | undefined;
|
|
852
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
943
853
|
documentUrl?: string | undefined;
|
|
944
854
|
integration?: string | null | undefined;
|
|
945
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "
|
|
855
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "info" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends Path<{
|
|
946
856
|
type: "collection";
|
|
947
|
-
uid: string
|
|
948
|
-
children: string[];
|
|
857
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
858
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
949
859
|
openapi: string;
|
|
950
860
|
security: Record<string, string[]>[];
|
|
951
861
|
'x-scalar-icon': string;
|
|
952
862
|
securitySchemes: string[];
|
|
953
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
tags: string[];
|
|
863
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
864
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
865
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
866
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
958
867
|
watchMode: boolean;
|
|
959
868
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
960
869
|
externalDocs?: {
|
|
@@ -991,24 +900,24 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
991
900
|
color?: string | undefined;
|
|
992
901
|
}> | undefined;
|
|
993
902
|
'x-scalar-secrets'?: Record<string, {
|
|
994
|
-
description?: string | undefined;
|
|
995
903
|
example?: string | undefined;
|
|
904
|
+
description?: string | undefined;
|
|
996
905
|
}> | undefined;
|
|
906
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
997
907
|
documentUrl?: string | undefined;
|
|
998
908
|
integration?: string | null | undefined;
|
|
999
909
|
}[K]> ? PathValue<{
|
|
1000
910
|
type: "collection";
|
|
1001
|
-
uid: string
|
|
1002
|
-
children: string[];
|
|
911
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
912
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
1003
913
|
openapi: string;
|
|
1004
914
|
security: Record<string, string[]>[];
|
|
1005
915
|
'x-scalar-icon': string;
|
|
1006
916
|
securitySchemes: string[];
|
|
1007
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
tags: string[];
|
|
917
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
918
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
919
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
920
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1012
921
|
watchMode: boolean;
|
|
1013
922
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1014
923
|
externalDocs?: {
|
|
@@ -1045,25 +954,25 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1045
954
|
color?: string | undefined;
|
|
1046
955
|
}> | undefined;
|
|
1047
956
|
'x-scalar-secrets'?: Record<string, {
|
|
1048
|
-
description?: string | undefined;
|
|
1049
957
|
example?: string | undefined;
|
|
958
|
+
description?: string | undefined;
|
|
1050
959
|
}> | undefined;
|
|
960
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1051
961
|
documentUrl?: string | undefined;
|
|
1052
962
|
integration?: string | null | undefined;
|
|
1053
963
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1054
|
-
untrackedEdit: <P extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "
|
|
964
|
+
untrackedEdit: <P extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "info" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `servers.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${number}` | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | "info.summary" | "info.description" | "info.title" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: string & import("zod").BRAND<"collection">, path: P, value: P extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "info" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
|
|
1055
965
|
type: "collection";
|
|
1056
|
-
uid: string
|
|
1057
|
-
children: string[];
|
|
966
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
967
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
1058
968
|
openapi: string;
|
|
1059
969
|
security: Record<string, string[]>[];
|
|
1060
970
|
'x-scalar-icon': string;
|
|
1061
971
|
securitySchemes: string[];
|
|
1062
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
tags: string[];
|
|
972
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
973
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
974
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
975
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1067
976
|
watchMode: boolean;
|
|
1068
977
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1069
978
|
externalDocs?: {
|
|
@@ -1100,24 +1009,24 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1100
1009
|
color?: string | undefined;
|
|
1101
1010
|
}> | undefined;
|
|
1102
1011
|
'x-scalar-secrets'?: Record<string, {
|
|
1103
|
-
description?: string | undefined;
|
|
1104
1012
|
example?: string | undefined;
|
|
1013
|
+
description?: string | undefined;
|
|
1105
1014
|
}> | undefined;
|
|
1015
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1106
1016
|
documentUrl?: string | undefined;
|
|
1107
1017
|
integration?: string | null | undefined;
|
|
1108
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "
|
|
1018
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "info" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends Path<{
|
|
1109
1019
|
type: "collection";
|
|
1110
|
-
uid: string
|
|
1111
|
-
children: string[];
|
|
1020
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
1021
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
1112
1022
|
openapi: string;
|
|
1113
1023
|
security: Record<string, string[]>[];
|
|
1114
1024
|
'x-scalar-icon': string;
|
|
1115
1025
|
securitySchemes: string[];
|
|
1116
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
tags: string[];
|
|
1026
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1027
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1028
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
1029
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1121
1030
|
watchMode: boolean;
|
|
1122
1031
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1123
1032
|
externalDocs?: {
|
|
@@ -1154,24 +1063,24 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1154
1063
|
color?: string | undefined;
|
|
1155
1064
|
}> | undefined;
|
|
1156
1065
|
'x-scalar-secrets'?: Record<string, {
|
|
1157
|
-
description?: string | undefined;
|
|
1158
1066
|
example?: string | undefined;
|
|
1067
|
+
description?: string | undefined;
|
|
1159
1068
|
}> | undefined;
|
|
1069
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1160
1070
|
documentUrl?: string | undefined;
|
|
1161
1071
|
integration?: string | null | undefined;
|
|
1162
1072
|
}[K]> ? PathValue<{
|
|
1163
1073
|
type: "collection";
|
|
1164
|
-
uid: string
|
|
1165
|
-
children: string[];
|
|
1074
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
1075
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
1166
1076
|
openapi: string;
|
|
1167
1077
|
security: Record<string, string[]>[];
|
|
1168
1078
|
'x-scalar-icon': string;
|
|
1169
1079
|
securitySchemes: string[];
|
|
1170
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
tags: string[];
|
|
1080
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1081
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1082
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
1083
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1175
1084
|
watchMode: boolean;
|
|
1176
1085
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1177
1086
|
externalDocs?: {
|
|
@@ -1208,83 +1117,84 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1208
1117
|
color?: string | undefined;
|
|
1209
1118
|
}> | undefined;
|
|
1210
1119
|
'x-scalar-secrets'?: Record<string, {
|
|
1211
|
-
description?: string | undefined;
|
|
1212
1120
|
example?: string | undefined;
|
|
1121
|
+
description?: string | undefined;
|
|
1213
1122
|
}> | undefined;
|
|
1123
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1214
1124
|
documentUrl?: string | undefined;
|
|
1215
1125
|
integration?: string | null | undefined;
|
|
1216
1126
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1217
|
-
undo: (uid: string) => void;
|
|
1218
|
-
redo: (uid: string) => void;
|
|
1127
|
+
undo: (uid: string & import("zod").BRAND<"collection">) => void;
|
|
1128
|
+
redo: (uid: string & import("zod").BRAND<"collection">) => void;
|
|
1219
1129
|
reset: () => void;
|
|
1220
1130
|
};
|
|
1221
1131
|
environmentMutators: {
|
|
1222
|
-
delete: (uid:
|
|
1132
|
+
delete: (uid: import("@scalar/oas-utils/entities/environment").Environment["uid"]) => void;
|
|
1223
1133
|
add: (item: {
|
|
1224
1134
|
value: string;
|
|
1225
|
-
uid: string
|
|
1135
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1226
1136
|
name: string;
|
|
1227
1137
|
color: string;
|
|
1228
1138
|
isDefault?: boolean | undefined;
|
|
1229
1139
|
}) => void;
|
|
1230
1140
|
set: (item: {
|
|
1231
1141
|
value: string;
|
|
1232
|
-
uid: string
|
|
1142
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1233
1143
|
name: string;
|
|
1234
1144
|
color: string;
|
|
1235
1145
|
isDefault?: boolean | undefined;
|
|
1236
1146
|
}) => void;
|
|
1237
|
-
edit: <P extends "name" | "uid" | "color" | "
|
|
1147
|
+
edit: <P extends "name" | "uid" | "color" | "value" | "isDefault">(uid: (string & import("zod").BRAND<"environment">) | null | undefined, path: P, value: P extends "name" | "uid" | "color" | "value" | "isDefault" ? {
|
|
1238
1148
|
value: string;
|
|
1239
|
-
uid: string
|
|
1149
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1240
1150
|
name: string;
|
|
1241
1151
|
color: string;
|
|
1242
1152
|
isDefault?: boolean | undefined;
|
|
1243
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "color" | "
|
|
1153
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "color" | "value" | "isDefault" ? R extends Path<{
|
|
1244
1154
|
value: string;
|
|
1245
|
-
uid: string
|
|
1155
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1246
1156
|
name: string;
|
|
1247
1157
|
color: string;
|
|
1248
1158
|
isDefault?: boolean | undefined;
|
|
1249
1159
|
}[K]> ? PathValue<{
|
|
1250
1160
|
value: string;
|
|
1251
|
-
uid: string
|
|
1161
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1252
1162
|
name: string;
|
|
1253
1163
|
color: string;
|
|
1254
1164
|
isDefault?: boolean | undefined;
|
|
1255
1165
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1256
|
-
untrackedEdit: <P extends "name" | "uid" | "color" | "
|
|
1166
|
+
untrackedEdit: <P extends "name" | "uid" | "color" | "value" | "isDefault">(uid: string & import("zod").BRAND<"environment">, path: P, value: P extends "name" | "uid" | "color" | "value" | "isDefault" ? {
|
|
1257
1167
|
value: string;
|
|
1258
|
-
uid: string
|
|
1168
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1259
1169
|
name: string;
|
|
1260
1170
|
color: string;
|
|
1261
1171
|
isDefault?: boolean | undefined;
|
|
1262
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "color" | "
|
|
1172
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "color" | "value" | "isDefault" ? R extends Path<{
|
|
1263
1173
|
value: string;
|
|
1264
|
-
uid: string
|
|
1174
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1265
1175
|
name: string;
|
|
1266
1176
|
color: string;
|
|
1267
1177
|
isDefault?: boolean | undefined;
|
|
1268
1178
|
}[K]> ? PathValue<{
|
|
1269
1179
|
value: string;
|
|
1270
|
-
uid: string
|
|
1180
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1271
1181
|
name: string;
|
|
1272
1182
|
color: string;
|
|
1273
1183
|
isDefault?: boolean | undefined;
|
|
1274
1184
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1275
|
-
undo: (uid: string) => void;
|
|
1276
|
-
redo: (uid: string) => void;
|
|
1185
|
+
undo: (uid: string & import("zod").BRAND<"environment">) => void;
|
|
1186
|
+
redo: (uid: string & import("zod").BRAND<"environment">) => void;
|
|
1277
1187
|
reset: () => void;
|
|
1278
1188
|
};
|
|
1279
1189
|
requestMutators: {
|
|
1280
1190
|
rawAdd: (item: {
|
|
1281
1191
|
path: string;
|
|
1282
1192
|
type: "request";
|
|
1283
|
-
uid: string
|
|
1284
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1285
|
-
selectedServerUid: string;
|
|
1286
|
-
servers: string[];
|
|
1287
|
-
examples: string[];
|
|
1193
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1194
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1195
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1196
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1197
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1288
1198
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1289
1199
|
description?: string | undefined;
|
|
1290
1200
|
summary?: string | undefined;
|
|
@@ -1301,10 +1211,10 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1301
1211
|
parameters?: {
|
|
1302
1212
|
required: boolean;
|
|
1303
1213
|
name: string;
|
|
1304
|
-
in: "path" | "
|
|
1214
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1305
1215
|
deprecated: boolean;
|
|
1306
|
-
description?: string | undefined;
|
|
1307
1216
|
example?: unknown;
|
|
1217
|
+
description?: string | undefined;
|
|
1308
1218
|
schema?: unknown;
|
|
1309
1219
|
content?: unknown;
|
|
1310
1220
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1316,14 +1226,14 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1316
1226
|
requestBody?: any;
|
|
1317
1227
|
responses?: Record<string, any> | undefined;
|
|
1318
1228
|
}) => void;
|
|
1319
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").RequestPayload, collectionUid:
|
|
1229
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").RequestPayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void | {
|
|
1320
1230
|
path: string;
|
|
1321
1231
|
type: "request";
|
|
1322
|
-
uid: string
|
|
1323
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1324
|
-
selectedServerUid: string;
|
|
1325
|
-
servers: string[];
|
|
1326
|
-
examples: string[];
|
|
1232
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1233
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1234
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1235
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1236
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1327
1237
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1328
1238
|
description?: string | undefined;
|
|
1329
1239
|
summary?: string | undefined;
|
|
@@ -1340,10 +1250,10 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1340
1250
|
parameters?: {
|
|
1341
1251
|
required: boolean;
|
|
1342
1252
|
name: string;
|
|
1343
|
-
in: "path" | "
|
|
1253
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1344
1254
|
deprecated: boolean;
|
|
1345
|
-
description?: string | undefined;
|
|
1346
1255
|
example?: unknown;
|
|
1256
|
+
description?: string | undefined;
|
|
1347
1257
|
schema?: unknown;
|
|
1348
1258
|
content?: unknown;
|
|
1349
1259
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1355,15 +1265,15 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1355
1265
|
requestBody?: any;
|
|
1356
1266
|
responses?: Record<string, any> | undefined;
|
|
1357
1267
|
};
|
|
1358
|
-
delete: (request: import("@scalar/oas-utils/entities/spec").Request, collectionUid:
|
|
1268
|
+
delete: (request: import("@scalar/oas-utils/entities/spec").Request, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
1359
1269
|
set: (item: {
|
|
1360
1270
|
path: string;
|
|
1361
1271
|
type: "request";
|
|
1362
|
-
uid: string
|
|
1363
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1364
|
-
selectedServerUid: string;
|
|
1365
|
-
servers: string[];
|
|
1366
|
-
examples: string[];
|
|
1272
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1273
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1274
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1275
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1276
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1367
1277
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1368
1278
|
description?: string | undefined;
|
|
1369
1279
|
summary?: string | undefined;
|
|
@@ -1380,10 +1290,10 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1380
1290
|
parameters?: {
|
|
1381
1291
|
required: boolean;
|
|
1382
1292
|
name: string;
|
|
1383
|
-
in: "path" | "
|
|
1293
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1384
1294
|
deprecated: boolean;
|
|
1385
|
-
description?: string | undefined;
|
|
1386
1295
|
example?: unknown;
|
|
1296
|
+
description?: string | undefined;
|
|
1387
1297
|
schema?: unknown;
|
|
1388
1298
|
content?: unknown;
|
|
1389
1299
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1395,14 +1305,14 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1395
1305
|
requestBody?: any;
|
|
1396
1306
|
responses?: Record<string, any> | undefined;
|
|
1397
1307
|
}) => void;
|
|
1398
|
-
edit: <P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | `servers.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | "method" | "path" | "examples" | `examples.${number}` | `requestBody.${string}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.required` | `parameters.${number}.examples` | `parameters.${number}.deprecated` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.example` | `parameters.${number}.style` | `parameters.${number}.content` | `parameters.${number}.schema` | `parameters.${number}.examples.${string}` | `responses.${string}`>(uid: string, path: P, value: P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | "method" | "path" | "examples" ? {
|
|
1308
|
+
edit: <P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | `servers.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | "method" | "path" | "examples" | `examples.${number}` | `requestBody.${string}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.required` | `parameters.${number}.examples` | `parameters.${number}.deprecated` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.example` | `parameters.${number}.style` | `parameters.${number}.content` | `parameters.${number}.schema` | `parameters.${number}.examples.${string}` | `responses.${string}`>(uid: (string & import("zod").BRAND<"operation">) | null | undefined, path: P, value: P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | "method" | "path" | "examples" ? {
|
|
1399
1309
|
path: string;
|
|
1400
1310
|
type: "request";
|
|
1401
|
-
uid: string
|
|
1402
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1403
|
-
selectedServerUid: string;
|
|
1404
|
-
servers: string[];
|
|
1405
|
-
examples: string[];
|
|
1311
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1312
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1313
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1314
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1315
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1406
1316
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1407
1317
|
description?: string | undefined;
|
|
1408
1318
|
summary?: string | undefined;
|
|
@@ -1419,10 +1329,10 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1419
1329
|
parameters?: {
|
|
1420
1330
|
required: boolean;
|
|
1421
1331
|
name: string;
|
|
1422
|
-
in: "path" | "
|
|
1332
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1423
1333
|
deprecated: boolean;
|
|
1424
|
-
description?: string | undefined;
|
|
1425
1334
|
example?: unknown;
|
|
1335
|
+
description?: string | undefined;
|
|
1426
1336
|
schema?: unknown;
|
|
1427
1337
|
content?: unknown;
|
|
1428
1338
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1436,11 +1346,11 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1436
1346
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | "method" | "path" | "examples" ? R extends Path<{
|
|
1437
1347
|
path: string;
|
|
1438
1348
|
type: "request";
|
|
1439
|
-
uid: string
|
|
1440
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1441
|
-
selectedServerUid: string;
|
|
1442
|
-
servers: string[];
|
|
1443
|
-
examples: string[];
|
|
1349
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1350
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1351
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1352
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1353
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1444
1354
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1445
1355
|
description?: string | undefined;
|
|
1446
1356
|
summary?: string | undefined;
|
|
@@ -1457,10 +1367,10 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1457
1367
|
parameters?: {
|
|
1458
1368
|
required: boolean;
|
|
1459
1369
|
name: string;
|
|
1460
|
-
in: "path" | "
|
|
1370
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1461
1371
|
deprecated: boolean;
|
|
1462
|
-
description?: string | undefined;
|
|
1463
1372
|
example?: unknown;
|
|
1373
|
+
description?: string | undefined;
|
|
1464
1374
|
schema?: unknown;
|
|
1465
1375
|
content?: unknown;
|
|
1466
1376
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1474,11 +1384,11 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1474
1384
|
}[K]> ? PathValue<{
|
|
1475
1385
|
path: string;
|
|
1476
1386
|
type: "request";
|
|
1477
|
-
uid: string
|
|
1478
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1479
|
-
selectedServerUid: string;
|
|
1480
|
-
servers: string[];
|
|
1481
|
-
examples: string[];
|
|
1387
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1388
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1389
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1390
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1391
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1482
1392
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1483
1393
|
description?: string | undefined;
|
|
1484
1394
|
summary?: string | undefined;
|
|
@@ -1495,10 +1405,10 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1495
1405
|
parameters?: {
|
|
1496
1406
|
required: boolean;
|
|
1497
1407
|
name: string;
|
|
1498
|
-
in: "path" | "
|
|
1408
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1499
1409
|
deprecated: boolean;
|
|
1500
|
-
description?: string | undefined;
|
|
1501
1410
|
example?: unknown;
|
|
1411
|
+
description?: string | undefined;
|
|
1502
1412
|
schema?: unknown;
|
|
1503
1413
|
content?: unknown;
|
|
1504
1414
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1510,14 +1420,14 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1510
1420
|
requestBody?: any;
|
|
1511
1421
|
responses?: Record<string, any> | undefined;
|
|
1512
1422
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1513
|
-
untrackedEdit: <P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | `servers.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | "method" | "path" | "examples" | `examples.${number}` | `requestBody.${string}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.required` | `parameters.${number}.examples` | `parameters.${number}.deprecated` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.example` | `parameters.${number}.style` | `parameters.${number}.content` | `parameters.${number}.schema` | `parameters.${number}.examples.${string}` | `responses.${string}`>(uid: string
|
|
1423
|
+
untrackedEdit: <P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | `servers.${number}` | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | "method" | "path" | "examples" | `examples.${number}` | `requestBody.${string}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.required` | `parameters.${number}.examples` | `parameters.${number}.deprecated` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.example` | `parameters.${number}.style` | `parameters.${number}.content` | `parameters.${number}.schema` | `parameters.${number}.examples.${string}` | `responses.${string}`>(uid: string & import("zod").BRAND<"operation">, path: P, value: P extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | "method" | "path" | "examples" ? {
|
|
1514
1424
|
path: string;
|
|
1515
1425
|
type: "request";
|
|
1516
|
-
uid: string
|
|
1517
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1518
|
-
selectedServerUid: string;
|
|
1519
|
-
servers: string[];
|
|
1520
|
-
examples: string[];
|
|
1426
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1427
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1428
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1429
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1430
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1521
1431
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1522
1432
|
description?: string | undefined;
|
|
1523
1433
|
summary?: string | undefined;
|
|
@@ -1534,10 +1444,10 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1534
1444
|
parameters?: {
|
|
1535
1445
|
required: boolean;
|
|
1536
1446
|
name: string;
|
|
1537
|
-
in: "path" | "
|
|
1447
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1538
1448
|
deprecated: boolean;
|
|
1539
|
-
description?: string | undefined;
|
|
1540
1449
|
example?: unknown;
|
|
1450
|
+
description?: string | undefined;
|
|
1541
1451
|
schema?: unknown;
|
|
1542
1452
|
content?: unknown;
|
|
1543
1453
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1551,11 +1461,11 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1551
1461
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "servers" | "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "type" | "uid" | "selectedSecuritySchemeUids" | "selectedServerUid" | "method" | "path" | "examples" ? R extends Path<{
|
|
1552
1462
|
path: string;
|
|
1553
1463
|
type: "request";
|
|
1554
|
-
uid: string
|
|
1555
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1556
|
-
selectedServerUid: string;
|
|
1557
|
-
servers: string[];
|
|
1558
|
-
examples: string[];
|
|
1464
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1465
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1466
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1467
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1468
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1559
1469
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1560
1470
|
description?: string | undefined;
|
|
1561
1471
|
summary?: string | undefined;
|
|
@@ -1572,10 +1482,10 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1572
1482
|
parameters?: {
|
|
1573
1483
|
required: boolean;
|
|
1574
1484
|
name: string;
|
|
1575
|
-
in: "path" | "
|
|
1485
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1576
1486
|
deprecated: boolean;
|
|
1577
|
-
description?: string | undefined;
|
|
1578
1487
|
example?: unknown;
|
|
1488
|
+
description?: string | undefined;
|
|
1579
1489
|
schema?: unknown;
|
|
1580
1490
|
content?: unknown;
|
|
1581
1491
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1589,11 +1499,11 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1589
1499
|
}[K]> ? PathValue<{
|
|
1590
1500
|
path: string;
|
|
1591
1501
|
type: "request";
|
|
1592
|
-
uid: string
|
|
1593
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1594
|
-
selectedServerUid: string;
|
|
1595
|
-
servers: string[];
|
|
1596
|
-
examples: string[];
|
|
1502
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1503
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1504
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1505
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1506
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1597
1507
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1598
1508
|
description?: string | undefined;
|
|
1599
1509
|
summary?: string | undefined;
|
|
@@ -1610,10 +1520,10 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1610
1520
|
parameters?: {
|
|
1611
1521
|
required: boolean;
|
|
1612
1522
|
name: string;
|
|
1613
|
-
in: "path" | "
|
|
1523
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1614
1524
|
deprecated: boolean;
|
|
1615
|
-
description?: string | undefined;
|
|
1616
1525
|
example?: unknown;
|
|
1526
|
+
description?: string | undefined;
|
|
1617
1527
|
schema?: unknown;
|
|
1618
1528
|
content?: unknown;
|
|
1619
1529
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1625,15 +1535,15 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1625
1535
|
requestBody?: any;
|
|
1626
1536
|
responses?: Record<string, any> | undefined;
|
|
1627
1537
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1628
|
-
undo: (uid: string) => void;
|
|
1629
|
-
redo: (uid: string) => void;
|
|
1538
|
+
undo: (uid: string & import("zod").BRAND<"operation">) => void;
|
|
1539
|
+
redo: (uid: string & import("zod").BRAND<"operation">) => void;
|
|
1630
1540
|
reset: () => void;
|
|
1631
1541
|
};
|
|
1632
1542
|
findRequestParents: (r: import("@scalar/oas-utils/entities/spec").Request) => string[];
|
|
1633
1543
|
requestExampleMutators: {
|
|
1634
1544
|
rawAdd: (item: {
|
|
1635
1545
|
type: "requestExample";
|
|
1636
|
-
uid: string
|
|
1546
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1637
1547
|
name: string;
|
|
1638
1548
|
parameters: {
|
|
1639
1549
|
path: {
|
|
@@ -1728,12 +1638,12 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1728
1638
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
1729
1639
|
} | undefined;
|
|
1730
1640
|
};
|
|
1731
|
-
requestUid
|
|
1641
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1732
1642
|
serverVariables?: Record<string, string[]> | undefined;
|
|
1733
1643
|
}) => void;
|
|
1734
1644
|
add: (request: import("@scalar/oas-utils/entities/spec").Request, _name?: string) => {
|
|
1735
1645
|
type: "requestExample";
|
|
1736
|
-
uid: string
|
|
1646
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1737
1647
|
name: string;
|
|
1738
1648
|
parameters: {
|
|
1739
1649
|
path: {
|
|
@@ -1828,13 +1738,13 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1828
1738
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
1829
1739
|
} | undefined;
|
|
1830
1740
|
};
|
|
1831
|
-
requestUid
|
|
1741
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1832
1742
|
serverVariables?: Record<string, string[]> | undefined;
|
|
1833
1743
|
};
|
|
1834
1744
|
delete: (requestExample: import("@scalar/oas-utils/entities/spec").RequestExample) => void;
|
|
1835
1745
|
set: (item: {
|
|
1836
1746
|
type: "requestExample";
|
|
1837
|
-
uid: string
|
|
1747
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1838
1748
|
name: string;
|
|
1839
1749
|
parameters: {
|
|
1840
1750
|
path: {
|
|
@@ -1929,12 +1839,12 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
1929
1839
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
1930
1840
|
} | undefined;
|
|
1931
1841
|
};
|
|
1932
|
-
requestUid
|
|
1842
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1933
1843
|
serverVariables?: Record<string, string[]> | undefined;
|
|
1934
1844
|
}) => void;
|
|
1935
|
-
edit: <P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" | "body.
|
|
1845
|
+
edit: <P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" | "body.formData.value" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.path" | "parameters.headers" | "parameters.query" | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.examples` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.type.${number}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.examples.${number}` | `parameters.cookies.${number}.file.${string}` | `parameters.cookies.${number}.enum.${number}` | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.type` | `parameters.path.${number}.default` | `parameters.path.${number}.key` | `parameters.path.${number}.required` | `parameters.path.${number}.examples` | `parameters.path.${number}.file` | `parameters.path.${number}.value` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.enabled` | `parameters.path.${number}.minimum` | `parameters.path.${number}.maximum` | `parameters.path.${number}.format` | `parameters.path.${number}.type.${number}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.examples.${number}` | `parameters.path.${number}.file.${string}` | `parameters.path.${number}.enum.${number}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.type` | `parameters.headers.${number}.default` | `parameters.headers.${number}.key` | `parameters.headers.${number}.required` | `parameters.headers.${number}.examples` | `parameters.headers.${number}.file` | `parameters.headers.${number}.value` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.format` | `parameters.headers.${number}.type.${number}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.examples.${number}` | `parameters.headers.${number}.file.${string}` | `parameters.headers.${number}.enum.${number}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.type` | `parameters.query.${number}.default` | `parameters.query.${number}.key` | `parameters.query.${number}.required` | `parameters.query.${number}.examples` | `parameters.query.${number}.file` | `parameters.query.${number}.value` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.enabled` | `parameters.query.${number}.minimum` | `parameters.query.${number}.maximum` | `parameters.query.${number}.format` | `parameters.query.${number}.type.${number}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.examples.${number}` | `parameters.query.${number}.file.${string}` | `parameters.query.${number}.enum.${number}` | "body.binary" | "body.formData" | "body.raw" | "body.activeBody" | "body.binary.type" | "body.binary.size" | "body.binary.slice" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.type` | `body.formData.value.${number}.default` | `body.formData.value.${number}.key` | `body.formData.value.${number}.required` | `body.formData.value.${number}.examples` | `body.formData.value.${number}.file` | `body.formData.value.${number}.value` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.format` | `body.formData.value.${number}.type.${number}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.examples.${number}` | `body.formData.value.${number}.file.${string}` | `body.formData.value.${number}.enum.${number}` | "body.raw.value" | "body.raw.encoding" | `serverVariables.${string}`>(uid: (string & import("zod").BRAND<"example">) | null | undefined, path: P, value: P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? {
|
|
1936
1846
|
type: "requestExample";
|
|
1937
|
-
uid: string
|
|
1847
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1938
1848
|
name: string;
|
|
1939
1849
|
parameters: {
|
|
1940
1850
|
path: {
|
|
@@ -2029,11 +1939,11 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
2029
1939
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2030
1940
|
} | undefined;
|
|
2031
1941
|
};
|
|
2032
|
-
requestUid
|
|
1942
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2033
1943
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2034
1944
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? R extends Path<{
|
|
2035
1945
|
type: "requestExample";
|
|
2036
|
-
uid: string
|
|
1946
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2037
1947
|
name: string;
|
|
2038
1948
|
parameters: {
|
|
2039
1949
|
path: {
|
|
@@ -2128,11 +2038,11 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
2128
2038
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2129
2039
|
} | undefined;
|
|
2130
2040
|
};
|
|
2131
|
-
requestUid
|
|
2041
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2132
2042
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2133
2043
|
}[K]> ? PathValue<{
|
|
2134
2044
|
type: "requestExample";
|
|
2135
|
-
uid: string
|
|
2045
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2136
2046
|
name: string;
|
|
2137
2047
|
parameters: {
|
|
2138
2048
|
path: {
|
|
@@ -2227,12 +2137,12 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
2227
2137
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2228
2138
|
} | undefined;
|
|
2229
2139
|
};
|
|
2230
|
-
requestUid
|
|
2140
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2231
2141
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2232
2142
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2233
|
-
untrackedEdit: <P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" | "body.
|
|
2143
|
+
untrackedEdit: <P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" | "body.formData.value" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.path" | "parameters.headers" | "parameters.query" | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.examples` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.type.${number}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.examples.${number}` | `parameters.cookies.${number}.file.${string}` | `parameters.cookies.${number}.enum.${number}` | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.type` | `parameters.path.${number}.default` | `parameters.path.${number}.key` | `parameters.path.${number}.required` | `parameters.path.${number}.examples` | `parameters.path.${number}.file` | `parameters.path.${number}.value` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.enabled` | `parameters.path.${number}.minimum` | `parameters.path.${number}.maximum` | `parameters.path.${number}.format` | `parameters.path.${number}.type.${number}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.examples.${number}` | `parameters.path.${number}.file.${string}` | `parameters.path.${number}.enum.${number}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.type` | `parameters.headers.${number}.default` | `parameters.headers.${number}.key` | `parameters.headers.${number}.required` | `parameters.headers.${number}.examples` | `parameters.headers.${number}.file` | `parameters.headers.${number}.value` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.format` | `parameters.headers.${number}.type.${number}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.examples.${number}` | `parameters.headers.${number}.file.${string}` | `parameters.headers.${number}.enum.${number}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.type` | `parameters.query.${number}.default` | `parameters.query.${number}.key` | `parameters.query.${number}.required` | `parameters.query.${number}.examples` | `parameters.query.${number}.file` | `parameters.query.${number}.value` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.enabled` | `parameters.query.${number}.minimum` | `parameters.query.${number}.maximum` | `parameters.query.${number}.format` | `parameters.query.${number}.type.${number}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.examples.${number}` | `parameters.query.${number}.file.${string}` | `parameters.query.${number}.enum.${number}` | "body.binary" | "body.formData" | "body.raw" | "body.activeBody" | "body.binary.type" | "body.binary.size" | "body.binary.slice" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.type` | `body.formData.value.${number}.default` | `body.formData.value.${number}.key` | `body.formData.value.${number}.required` | `body.formData.value.${number}.examples` | `body.formData.value.${number}.file` | `body.formData.value.${number}.value` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.format` | `body.formData.value.${number}.type.${number}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.examples.${number}` | `body.formData.value.${number}.file.${string}` | `body.formData.value.${number}.enum.${number}` | "body.raw.value" | "body.raw.encoding" | `serverVariables.${string}`>(uid: string & import("zod").BRAND<"example">, path: P, value: P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? {
|
|
2234
2144
|
type: "requestExample";
|
|
2235
|
-
uid: string
|
|
2145
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2236
2146
|
name: string;
|
|
2237
2147
|
parameters: {
|
|
2238
2148
|
path: {
|
|
@@ -2327,11 +2237,11 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
2327
2237
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2328
2238
|
} | undefined;
|
|
2329
2239
|
};
|
|
2330
|
-
requestUid
|
|
2240
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2331
2241
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2332
2242
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? R extends Path<{
|
|
2333
2243
|
type: "requestExample";
|
|
2334
|
-
uid: string
|
|
2244
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2335
2245
|
name: string;
|
|
2336
2246
|
parameters: {
|
|
2337
2247
|
path: {
|
|
@@ -2426,11 +2336,11 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
2426
2336
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2427
2337
|
} | undefined;
|
|
2428
2338
|
};
|
|
2429
|
-
requestUid
|
|
2339
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2430
2340
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2431
2341
|
}[K]> ? PathValue<{
|
|
2432
2342
|
type: "requestExample";
|
|
2433
|
-
uid: string
|
|
2343
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2434
2344
|
name: string;
|
|
2435
2345
|
parameters: {
|
|
2436
2346
|
path: {
|
|
@@ -2525,11 +2435,11 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
2525
2435
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2526
2436
|
} | undefined;
|
|
2527
2437
|
};
|
|
2528
|
-
requestUid
|
|
2438
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2529
2439
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2530
2440
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2531
|
-
undo: (uid: string) => void;
|
|
2532
|
-
redo: (uid: string) => void;
|
|
2441
|
+
undo: (uid: string & import("zod").BRAND<"example">) => void;
|
|
2442
|
+
redo: (uid: string & import("zod").BRAND<"example">) => void;
|
|
2533
2443
|
reset: () => void;
|
|
2534
2444
|
};
|
|
2535
2445
|
requestHistory: import("vue").Reactive<RequestEvent[]>;
|
|
@@ -2537,14 +2447,14 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
2537
2447
|
rawAdd: (item: {
|
|
2538
2448
|
type: "apiKey";
|
|
2539
2449
|
value: string;
|
|
2540
|
-
uid: string
|
|
2450
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2541
2451
|
name: string;
|
|
2542
2452
|
nameKey: string;
|
|
2543
|
-
in: "
|
|
2453
|
+
in: "cookie" | "query" | "header";
|
|
2544
2454
|
description?: string | undefined;
|
|
2545
2455
|
} | {
|
|
2546
2456
|
type: "http";
|
|
2547
|
-
uid: string
|
|
2457
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2548
2458
|
nameKey: string;
|
|
2549
2459
|
scheme: "basic" | "bearer";
|
|
2550
2460
|
bearerFormat: string;
|
|
@@ -2554,13 +2464,13 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
2554
2464
|
description?: string | undefined;
|
|
2555
2465
|
} | {
|
|
2556
2466
|
type: "openIdConnect";
|
|
2557
|
-
uid: string
|
|
2467
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2558
2468
|
nameKey: string;
|
|
2559
2469
|
openIdConnectUrl: string;
|
|
2560
2470
|
description?: string | undefined;
|
|
2561
2471
|
} | {
|
|
2562
2472
|
type: "oauth2";
|
|
2563
|
-
uid: string
|
|
2473
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2564
2474
|
nameKey: string;
|
|
2565
2475
|
flows: {
|
|
2566
2476
|
password?: {
|
|
@@ -2611,17 +2521,17 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
2611
2521
|
};
|
|
2612
2522
|
description?: string | undefined;
|
|
2613
2523
|
}) => void;
|
|
2614
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").SecuritySchemePayload, collectionUid:
|
|
2524
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
|
|
2615
2525
|
type: "apiKey";
|
|
2616
2526
|
value: string;
|
|
2617
|
-
uid: string
|
|
2527
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2618
2528
|
name: string;
|
|
2619
2529
|
nameKey: string;
|
|
2620
|
-
in: "
|
|
2530
|
+
in: "cookie" | "query" | "header";
|
|
2621
2531
|
description?: string | undefined;
|
|
2622
2532
|
} | {
|
|
2623
2533
|
type: "http";
|
|
2624
|
-
uid: string
|
|
2534
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2625
2535
|
nameKey: string;
|
|
2626
2536
|
scheme: "basic" | "bearer";
|
|
2627
2537
|
bearerFormat: string;
|
|
@@ -2631,13 +2541,13 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
2631
2541
|
description?: string | undefined;
|
|
2632
2542
|
} | {
|
|
2633
2543
|
type: "openIdConnect";
|
|
2634
|
-
uid: string
|
|
2544
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2635
2545
|
nameKey: string;
|
|
2636
2546
|
openIdConnectUrl: string;
|
|
2637
2547
|
description?: string | undefined;
|
|
2638
2548
|
} | {
|
|
2639
2549
|
type: "oauth2";
|
|
2640
|
-
uid: string
|
|
2550
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2641
2551
|
nameKey: string;
|
|
2642
2552
|
flows: {
|
|
2643
2553
|
password?: {
|
|
@@ -2688,18 +2598,18 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
2688
2598
|
};
|
|
2689
2599
|
description?: string | undefined;
|
|
2690
2600
|
};
|
|
2691
|
-
delete: (schemeUid:
|
|
2601
|
+
delete: (schemeUid: SecurityScheme["uid"]) => void;
|
|
2692
2602
|
set: (item: {
|
|
2693
2603
|
type: "apiKey";
|
|
2694
2604
|
value: string;
|
|
2695
|
-
uid: string
|
|
2605
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2696
2606
|
name: string;
|
|
2697
2607
|
nameKey: string;
|
|
2698
|
-
in: "
|
|
2608
|
+
in: "cookie" | "query" | "header";
|
|
2699
2609
|
description?: string | undefined;
|
|
2700
2610
|
} | {
|
|
2701
2611
|
type: "http";
|
|
2702
|
-
uid: string
|
|
2612
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2703
2613
|
nameKey: string;
|
|
2704
2614
|
scheme: "basic" | "bearer";
|
|
2705
2615
|
bearerFormat: string;
|
|
@@ -2709,13 +2619,13 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
2709
2619
|
description?: string | undefined;
|
|
2710
2620
|
} | {
|
|
2711
2621
|
type: "openIdConnect";
|
|
2712
|
-
uid: string
|
|
2622
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2713
2623
|
nameKey: string;
|
|
2714
2624
|
openIdConnectUrl: string;
|
|
2715
2625
|
description?: string | undefined;
|
|
2716
2626
|
} | {
|
|
2717
2627
|
type: "oauth2";
|
|
2718
|
-
uid: string
|
|
2628
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2719
2629
|
nameKey: string;
|
|
2720
2630
|
flows: {
|
|
2721
2631
|
password?: {
|
|
@@ -2766,33 +2676,33 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
2766
2676
|
};
|
|
2767
2677
|
description?: string | undefined;
|
|
2768
2678
|
}) => void;
|
|
2769
|
-
edit: <P extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "value" | "password" | "token" | "username" | "flows.implicit" | "flows.password" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.x-scalar-redirect-uri" | "flows.implicit.x-scalar-client-id" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.authorizationUrl" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.password.type" | "flows.password.password" | "flows.password.token" | "flows.password.x-scalar-client-id" | "flows.password.username" | "flows.password.tokenUrl" | "flows.password.clientSecret" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.x-usePkce" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.authorizationUrl" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}`>(uid: string, path: P, value: (P extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? {
|
|
2679
|
+
edit: <P extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "value" | "password" | "token" | "username" | "flows.implicit" | "flows.password" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.x-scalar-redirect-uri" | "flows.implicit.x-scalar-client-id" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.authorizationUrl" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.password.type" | "flows.password.password" | "flows.password.token" | "flows.password.x-scalar-client-id" | "flows.password.username" | "flows.password.tokenUrl" | "flows.password.clientSecret" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.x-usePkce" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.authorizationUrl" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}`>(uid: (string & import("zod").BRAND<"securityScheme">) | null | undefined, path: P, value: (P extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? {
|
|
2770
2680
|
type: "apiKey";
|
|
2771
2681
|
value: string;
|
|
2772
|
-
uid: string
|
|
2682
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2773
2683
|
name: string;
|
|
2774
2684
|
nameKey: string;
|
|
2775
|
-
in: "
|
|
2685
|
+
in: "cookie" | "query" | "header";
|
|
2776
2686
|
description?: string | undefined;
|
|
2777
2687
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? R extends Path<{
|
|
2778
2688
|
type: "apiKey";
|
|
2779
2689
|
value: string;
|
|
2780
|
-
uid: string
|
|
2690
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2781
2691
|
name: string;
|
|
2782
2692
|
nameKey: string;
|
|
2783
|
-
in: "
|
|
2693
|
+
in: "cookie" | "query" | "header";
|
|
2784
2694
|
description?: string | undefined;
|
|
2785
2695
|
}[K]> ? PathValue<{
|
|
2786
2696
|
type: "apiKey";
|
|
2787
2697
|
value: string;
|
|
2788
|
-
uid: string
|
|
2698
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2789
2699
|
name: string;
|
|
2790
2700
|
nameKey: string;
|
|
2791
|
-
in: "
|
|
2701
|
+
in: "cookie" | "query" | "header";
|
|
2792
2702
|
description?: string | undefined;
|
|
2793
2703
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? {
|
|
2794
2704
|
type: "http";
|
|
2795
|
-
uid: string
|
|
2705
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2796
2706
|
nameKey: string;
|
|
2797
2707
|
scheme: "basic" | "bearer";
|
|
2798
2708
|
bearerFormat: string;
|
|
@@ -2802,7 +2712,7 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
2802
2712
|
description?: string | undefined;
|
|
2803
2713
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? R extends Path<{
|
|
2804
2714
|
type: "http";
|
|
2805
|
-
uid: string
|
|
2715
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2806
2716
|
nameKey: string;
|
|
2807
2717
|
scheme: "basic" | "bearer";
|
|
2808
2718
|
bearerFormat: string;
|
|
@@ -2812,7 +2722,7 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
2812
2722
|
description?: string | undefined;
|
|
2813
2723
|
}[K]> ? PathValue<{
|
|
2814
2724
|
type: "http";
|
|
2815
|
-
uid: string
|
|
2725
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2816
2726
|
nameKey: string;
|
|
2817
2727
|
scheme: "basic" | "bearer";
|
|
2818
2728
|
bearerFormat: string;
|
|
@@ -2822,25 +2732,25 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
2822
2732
|
description?: string | undefined;
|
|
2823
2733
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? {
|
|
2824
2734
|
type: "openIdConnect";
|
|
2825
|
-
uid: string
|
|
2735
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2826
2736
|
nameKey: string;
|
|
2827
2737
|
openIdConnectUrl: string;
|
|
2828
2738
|
description?: string | undefined;
|
|
2829
2739
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? R extends Path<{
|
|
2830
2740
|
type: "openIdConnect";
|
|
2831
|
-
uid: string
|
|
2741
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2832
2742
|
nameKey: string;
|
|
2833
2743
|
openIdConnectUrl: string;
|
|
2834
2744
|
description?: string | undefined;
|
|
2835
2745
|
}[K]> ? PathValue<{
|
|
2836
2746
|
type: "openIdConnect";
|
|
2837
|
-
uid: string
|
|
2747
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2838
2748
|
nameKey: string;
|
|
2839
2749
|
openIdConnectUrl: string;
|
|
2840
2750
|
description?: string | undefined;
|
|
2841
2751
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
2842
2752
|
type: "oauth2";
|
|
2843
|
-
uid: string
|
|
2753
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2844
2754
|
nameKey: string;
|
|
2845
2755
|
flows: {
|
|
2846
2756
|
password?: {
|
|
@@ -2892,7 +2802,7 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
2892
2802
|
description?: string | undefined;
|
|
2893
2803
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "flows" ? R extends Path<{
|
|
2894
2804
|
type: "oauth2";
|
|
2895
|
-
uid: string
|
|
2805
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2896
2806
|
nameKey: string;
|
|
2897
2807
|
flows: {
|
|
2898
2808
|
password?: {
|
|
@@ -2944,7 +2854,7 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
2944
2854
|
description?: string | undefined;
|
|
2945
2855
|
}[K]> ? PathValue<{
|
|
2946
2856
|
type: "oauth2";
|
|
2947
|
-
uid: string
|
|
2857
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2948
2858
|
nameKey: string;
|
|
2949
2859
|
flows: {
|
|
2950
2860
|
password?: {
|
|
@@ -2995,33 +2905,33 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
2995
2905
|
};
|
|
2996
2906
|
description?: string | undefined;
|
|
2997
2907
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
2998
|
-
untrackedEdit: <P extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "value" | "password" | "token" | "username" | "flows.implicit" | "flows.password" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.x-scalar-redirect-uri" | "flows.implicit.x-scalar-client-id" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.authorizationUrl" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.password.type" | "flows.password.password" | "flows.password.token" | "flows.password.x-scalar-client-id" | "flows.password.username" | "flows.password.tokenUrl" | "flows.password.clientSecret" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.x-usePkce" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.authorizationUrl" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}`>(uid: string
|
|
2908
|
+
untrackedEdit: <P extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "value" | "password" | "token" | "username" | "flows.implicit" | "flows.password" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.x-scalar-redirect-uri" | "flows.implicit.x-scalar-client-id" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.authorizationUrl" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.password.type" | "flows.password.password" | "flows.password.token" | "flows.password.x-scalar-client-id" | "flows.password.username" | "flows.password.tokenUrl" | "flows.password.clientSecret" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.x-usePkce" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.authorizationUrl" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}`>(uid: string & import("zod").BRAND<"securityScheme">, path: P, value: (P extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? {
|
|
2999
2909
|
type: "apiKey";
|
|
3000
2910
|
value: string;
|
|
3001
|
-
uid: string
|
|
2911
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3002
2912
|
name: string;
|
|
3003
2913
|
nameKey: string;
|
|
3004
|
-
in: "
|
|
2914
|
+
in: "cookie" | "query" | "header";
|
|
3005
2915
|
description?: string | undefined;
|
|
3006
2916
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? R extends Path<{
|
|
3007
2917
|
type: "apiKey";
|
|
3008
2918
|
value: string;
|
|
3009
|
-
uid: string
|
|
2919
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3010
2920
|
name: string;
|
|
3011
2921
|
nameKey: string;
|
|
3012
|
-
in: "
|
|
2922
|
+
in: "cookie" | "query" | "header";
|
|
3013
2923
|
description?: string | undefined;
|
|
3014
2924
|
}[K]> ? PathValue<{
|
|
3015
2925
|
type: "apiKey";
|
|
3016
2926
|
value: string;
|
|
3017
|
-
uid: string
|
|
2927
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3018
2928
|
name: string;
|
|
3019
2929
|
nameKey: string;
|
|
3020
|
-
in: "
|
|
2930
|
+
in: "cookie" | "query" | "header";
|
|
3021
2931
|
description?: string | undefined;
|
|
3022
2932
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? {
|
|
3023
2933
|
type: "http";
|
|
3024
|
-
uid: string
|
|
2934
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3025
2935
|
nameKey: string;
|
|
3026
2936
|
scheme: "basic" | "bearer";
|
|
3027
2937
|
bearerFormat: string;
|
|
@@ -3031,7 +2941,7 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3031
2941
|
description?: string | undefined;
|
|
3032
2942
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? R extends Path<{
|
|
3033
2943
|
type: "http";
|
|
3034
|
-
uid: string
|
|
2944
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3035
2945
|
nameKey: string;
|
|
3036
2946
|
scheme: "basic" | "bearer";
|
|
3037
2947
|
bearerFormat: string;
|
|
@@ -3041,7 +2951,7 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3041
2951
|
description?: string | undefined;
|
|
3042
2952
|
}[K]> ? PathValue<{
|
|
3043
2953
|
type: "http";
|
|
3044
|
-
uid: string
|
|
2954
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3045
2955
|
nameKey: string;
|
|
3046
2956
|
scheme: "basic" | "bearer";
|
|
3047
2957
|
bearerFormat: string;
|
|
@@ -3051,25 +2961,25 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3051
2961
|
description?: string | undefined;
|
|
3052
2962
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? {
|
|
3053
2963
|
type: "openIdConnect";
|
|
3054
|
-
uid: string
|
|
2964
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3055
2965
|
nameKey: string;
|
|
3056
2966
|
openIdConnectUrl: string;
|
|
3057
2967
|
description?: string | undefined;
|
|
3058
2968
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? R extends Path<{
|
|
3059
2969
|
type: "openIdConnect";
|
|
3060
|
-
uid: string
|
|
2970
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3061
2971
|
nameKey: string;
|
|
3062
2972
|
openIdConnectUrl: string;
|
|
3063
2973
|
description?: string | undefined;
|
|
3064
2974
|
}[K]> ? PathValue<{
|
|
3065
2975
|
type: "openIdConnect";
|
|
3066
|
-
uid: string
|
|
2976
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3067
2977
|
nameKey: string;
|
|
3068
2978
|
openIdConnectUrl: string;
|
|
3069
2979
|
description?: string | undefined;
|
|
3070
2980
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
3071
2981
|
type: "oauth2";
|
|
3072
|
-
uid: string
|
|
2982
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3073
2983
|
nameKey: string;
|
|
3074
2984
|
flows: {
|
|
3075
2985
|
password?: {
|
|
@@ -3121,7 +3031,7 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3121
3031
|
description?: string | undefined;
|
|
3122
3032
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "flows" ? R extends Path<{
|
|
3123
3033
|
type: "oauth2";
|
|
3124
|
-
uid: string
|
|
3034
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3125
3035
|
nameKey: string;
|
|
3126
3036
|
flows: {
|
|
3127
3037
|
password?: {
|
|
@@ -3173,7 +3083,7 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3173
3083
|
description?: string | undefined;
|
|
3174
3084
|
}[K]> ? PathValue<{
|
|
3175
3085
|
type: "oauth2";
|
|
3176
|
-
uid: string
|
|
3086
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3177
3087
|
nameKey: string;
|
|
3178
3088
|
flows: {
|
|
3179
3089
|
password?: {
|
|
@@ -3224,13 +3134,13 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3224
3134
|
};
|
|
3225
3135
|
description?: string | undefined;
|
|
3226
3136
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3227
|
-
undo: (uid: string) => void;
|
|
3228
|
-
redo: (uid: string) => void;
|
|
3137
|
+
undo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|
|
3138
|
+
redo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|
|
3229
3139
|
reset: () => void;
|
|
3230
3140
|
};
|
|
3231
3141
|
serverMutators: {
|
|
3232
3142
|
rawAdd: (item: {
|
|
3233
|
-
uid: string
|
|
3143
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3234
3144
|
url: string;
|
|
3235
3145
|
description?: string | undefined;
|
|
3236
3146
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3239,7 +3149,7 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3239
3149
|
}> | undefined;
|
|
3240
3150
|
}) => void;
|
|
3241
3151
|
add: (payload: import("@scalar/oas-utils/entities/spec").ServerPayload, parentUid: string) => {
|
|
3242
|
-
uid: string
|
|
3152
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3243
3153
|
url: string;
|
|
3244
3154
|
description?: string | undefined;
|
|
3245
3155
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3247,9 +3157,9 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3247
3157
|
value?: string;
|
|
3248
3158
|
}> | undefined;
|
|
3249
3159
|
};
|
|
3250
|
-
delete: (serverUid:
|
|
3160
|
+
delete: (serverUid: import("@scalar/oas-utils/entities/spec").Server["uid"], collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
3251
3161
|
set: (item: {
|
|
3252
|
-
uid: string
|
|
3162
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3253
3163
|
url: string;
|
|
3254
3164
|
description?: string | undefined;
|
|
3255
3165
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3257,8 +3167,8 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3257
3167
|
value?: string;
|
|
3258
3168
|
}> | undefined;
|
|
3259
3169
|
}) => void;
|
|
3260
|
-
edit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
|
|
3261
|
-
uid: string
|
|
3170
|
+
edit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: (string & import("zod").BRAND<"server">) | null | undefined, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
|
|
3171
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3262
3172
|
url: string;
|
|
3263
3173
|
description?: string | undefined;
|
|
3264
3174
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3266,7 +3176,7 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3266
3176
|
value?: string;
|
|
3267
3177
|
}> | undefined;
|
|
3268
3178
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends Path<{
|
|
3269
|
-
uid: string
|
|
3179
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3270
3180
|
url: string;
|
|
3271
3181
|
description?: string | undefined;
|
|
3272
3182
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3274,7 +3184,7 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3274
3184
|
value?: string;
|
|
3275
3185
|
}> | undefined;
|
|
3276
3186
|
}[K]> ? PathValue<{
|
|
3277
|
-
uid: string
|
|
3187
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3278
3188
|
url: string;
|
|
3279
3189
|
description?: string | undefined;
|
|
3280
3190
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3282,8 +3192,8 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3282
3192
|
value?: string;
|
|
3283
3193
|
}> | undefined;
|
|
3284
3194
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3285
|
-
untrackedEdit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string
|
|
3286
|
-
uid: string
|
|
3195
|
+
untrackedEdit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string & import("zod").BRAND<"server">, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
|
|
3196
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3287
3197
|
url: string;
|
|
3288
3198
|
description?: string | undefined;
|
|
3289
3199
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3291,7 +3201,7 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3291
3201
|
value?: string;
|
|
3292
3202
|
}> | undefined;
|
|
3293
3203
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends Path<{
|
|
3294
|
-
uid: string
|
|
3204
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3295
3205
|
url: string;
|
|
3296
3206
|
description?: string | undefined;
|
|
3297
3207
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3299,7 +3209,7 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3299
3209
|
value?: string;
|
|
3300
3210
|
}> | undefined;
|
|
3301
3211
|
}[K]> ? PathValue<{
|
|
3302
|
-
uid: string
|
|
3212
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3303
3213
|
url: string;
|
|
3304
3214
|
description?: string | undefined;
|
|
3305
3215
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3307,16 +3217,16 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3307
3217
|
value?: string;
|
|
3308
3218
|
}> | undefined;
|
|
3309
3219
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3310
|
-
undo: (uid: string) => void;
|
|
3311
|
-
redo: (uid: string) => void;
|
|
3220
|
+
undo: (uid: string & import("zod").BRAND<"server">) => void;
|
|
3221
|
+
redo: (uid: string & import("zod").BRAND<"server">) => void;
|
|
3312
3222
|
reset: () => void;
|
|
3313
3223
|
};
|
|
3314
3224
|
tagMutators: {
|
|
3315
3225
|
rawAdd: (item: {
|
|
3316
3226
|
type: "tag";
|
|
3317
|
-
uid: string
|
|
3227
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3318
3228
|
name: string;
|
|
3319
|
-
children: string[];
|
|
3229
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3320
3230
|
description?: string | undefined;
|
|
3321
3231
|
externalDocs?: {
|
|
3322
3232
|
url: string;
|
|
@@ -3328,11 +3238,11 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3328
3238
|
'x-internal'?: boolean | undefined;
|
|
3329
3239
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3330
3240
|
}) => void;
|
|
3331
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").TagPayload, collectionUid:
|
|
3241
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").TagPayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void | {
|
|
3332
3242
|
type: "tag";
|
|
3333
|
-
uid: string
|
|
3243
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3334
3244
|
name: string;
|
|
3335
|
-
children: string[];
|
|
3245
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3336
3246
|
description?: string | undefined;
|
|
3337
3247
|
externalDocs?: {
|
|
3338
3248
|
url: string;
|
|
@@ -3344,12 +3254,12 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3344
3254
|
'x-internal'?: boolean | undefined;
|
|
3345
3255
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3346
3256
|
};
|
|
3347
|
-
delete: (tag: import("@scalar/oas-utils/entities/spec").Tag, collectionUid:
|
|
3257
|
+
delete: (tag: import("@scalar/oas-utils/entities/spec").Tag, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
3348
3258
|
set: (item: {
|
|
3349
3259
|
type: "tag";
|
|
3350
|
-
uid: string
|
|
3260
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3351
3261
|
name: string;
|
|
3352
|
-
children: string[];
|
|
3262
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3353
3263
|
description?: string | undefined;
|
|
3354
3264
|
externalDocs?: {
|
|
3355
3265
|
url: string;
|
|
@@ -3361,11 +3271,11 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3361
3271
|
'x-internal'?: boolean | undefined;
|
|
3362
3272
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3363
3273
|
}) => void;
|
|
3364
|
-
edit: <P extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "externalDocs.description" | "externalDocs.url" | `children.${number}` | "x-scalar-children" | `x-scalar-children.${number}` | `x-scalar-children.${number}.tagName`>(uid: string, path: P, value: P extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? {
|
|
3274
|
+
edit: <P extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "externalDocs.description" | "externalDocs.url" | `children.${number}` | "x-scalar-children" | `x-scalar-children.${number}` | `x-scalar-children.${number}.tagName`>(uid: (string & import("zod").BRAND<"tag">) | null | undefined, path: P, value: P extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? {
|
|
3365
3275
|
type: "tag";
|
|
3366
|
-
uid: string
|
|
3276
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3367
3277
|
name: string;
|
|
3368
|
-
children: string[];
|
|
3278
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3369
3279
|
description?: string | undefined;
|
|
3370
3280
|
externalDocs?: {
|
|
3371
3281
|
url: string;
|
|
@@ -3378,9 +3288,9 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3378
3288
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3379
3289
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? R extends Path<{
|
|
3380
3290
|
type: "tag";
|
|
3381
|
-
uid: string
|
|
3291
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3382
3292
|
name: string;
|
|
3383
|
-
children: string[];
|
|
3293
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3384
3294
|
description?: string | undefined;
|
|
3385
3295
|
externalDocs?: {
|
|
3386
3296
|
url: string;
|
|
@@ -3393,9 +3303,9 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3393
3303
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3394
3304
|
}[K]> ? PathValue<{
|
|
3395
3305
|
type: "tag";
|
|
3396
|
-
uid: string
|
|
3306
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3397
3307
|
name: string;
|
|
3398
|
-
children: string[];
|
|
3308
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3399
3309
|
description?: string | undefined;
|
|
3400
3310
|
externalDocs?: {
|
|
3401
3311
|
url: string;
|
|
@@ -3407,11 +3317,11 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3407
3317
|
'x-internal'?: boolean | undefined;
|
|
3408
3318
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3409
3319
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3410
|
-
untrackedEdit: <P extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "externalDocs.description" | "externalDocs.url" | `children.${number}` | "x-scalar-children" | `x-scalar-children.${number}` | `x-scalar-children.${number}.tagName`>(uid: string
|
|
3320
|
+
untrackedEdit: <P extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "externalDocs.description" | "externalDocs.url" | `children.${number}` | "x-scalar-children" | `x-scalar-children.${number}` | `x-scalar-children.${number}.tagName`>(uid: string & import("zod").BRAND<"tag">, path: P, value: P extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? {
|
|
3411
3321
|
type: "tag";
|
|
3412
|
-
uid: string
|
|
3322
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3413
3323
|
name: string;
|
|
3414
|
-
children: string[];
|
|
3324
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3415
3325
|
description?: string | undefined;
|
|
3416
3326
|
externalDocs?: {
|
|
3417
3327
|
url: string;
|
|
@@ -3424,9 +3334,9 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3424
3334
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3425
3335
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "externalDocs" | "x-internal" | "x-scalar-ignore" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? R extends Path<{
|
|
3426
3336
|
type: "tag";
|
|
3427
|
-
uid: string
|
|
3337
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3428
3338
|
name: string;
|
|
3429
|
-
children: string[];
|
|
3339
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3430
3340
|
description?: string | undefined;
|
|
3431
3341
|
externalDocs?: {
|
|
3432
3342
|
url: string;
|
|
@@ -3439,9 +3349,9 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3439
3349
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3440
3350
|
}[K]> ? PathValue<{
|
|
3441
3351
|
type: "tag";
|
|
3442
|
-
uid: string
|
|
3352
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3443
3353
|
name: string;
|
|
3444
|
-
children: string[];
|
|
3354
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3445
3355
|
description?: string | undefined;
|
|
3446
3356
|
externalDocs?: {
|
|
3447
3357
|
url: string;
|
|
@@ -3453,19 +3363,19 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3453
3363
|
'x-internal'?: boolean | undefined;
|
|
3454
3364
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3455
3365
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3456
|
-
undo: (uid: string) => void;
|
|
3457
|
-
redo: (uid: string) => void;
|
|
3366
|
+
undo: (uid: string & import("zod").BRAND<"tag">) => void;
|
|
3367
|
+
redo: (uid: string & import("zod").BRAND<"tag">) => void;
|
|
3458
3368
|
reset: () => void;
|
|
3459
3369
|
};
|
|
3460
3370
|
workspaceMutators: {
|
|
3461
3371
|
rawAdd: (item: {
|
|
3462
|
-
uid: string
|
|
3372
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3463
3373
|
name: string;
|
|
3464
3374
|
description: string;
|
|
3465
|
-
collections: string[];
|
|
3375
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3466
3376
|
environments: Record<string, string>;
|
|
3467
3377
|
activeEnvironmentId: string;
|
|
3468
|
-
cookies: string[];
|
|
3378
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3469
3379
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3470
3380
|
selectedHttpClient: {
|
|
3471
3381
|
targetKey: string;
|
|
@@ -3481,13 +3391,13 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3481
3391
|
proxyUrl?: string | undefined;
|
|
3482
3392
|
}) => void;
|
|
3483
3393
|
add: (payload?: Partial<import("@scalar/oas-utils/entities").Workspace>) => {
|
|
3484
|
-
uid: string
|
|
3394
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3485
3395
|
name: string;
|
|
3486
3396
|
description: string;
|
|
3487
|
-
collections: string[];
|
|
3397
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3488
3398
|
environments: Record<string, string>;
|
|
3489
3399
|
activeEnvironmentId: string;
|
|
3490
|
-
cookies: string[];
|
|
3400
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3491
3401
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3492
3402
|
selectedHttpClient: {
|
|
3493
3403
|
targetKey: string;
|
|
@@ -3502,15 +3412,15 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3502
3412
|
} | undefined;
|
|
3503
3413
|
proxyUrl?: string | undefined;
|
|
3504
3414
|
};
|
|
3505
|
-
delete: (uid:
|
|
3415
|
+
delete: (uid: import("@scalar/oas-utils/entities").Workspace["uid"]) => void;
|
|
3506
3416
|
set: (item: {
|
|
3507
|
-
uid: string
|
|
3417
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3508
3418
|
name: string;
|
|
3509
3419
|
description: string;
|
|
3510
|
-
collections: string[];
|
|
3420
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3511
3421
|
environments: Record<string, string>;
|
|
3512
3422
|
activeEnvironmentId: string;
|
|
3513
|
-
cookies: string[];
|
|
3423
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3514
3424
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3515
3425
|
selectedHttpClient: {
|
|
3516
3426
|
targetKey: string;
|
|
@@ -3525,14 +3435,14 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3525
3435
|
} | undefined;
|
|
3526
3436
|
proxyUrl?: string | undefined;
|
|
3527
3437
|
}) => void;
|
|
3528
|
-
edit: <P extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" | `cookies.${number}` | `collections.${number}` | `environments.${string}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey" | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "hotKeyConfig.hotKeys.*" | "hotKeyConfig.hotKeys.+" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys.F1" | "hotKeyConfig.hotKeys.F2" | "hotKeyConfig.hotKeys.F3" | "hotKeyConfig.hotKeys.F4" | "hotKeyConfig.hotKeys.F5" | "hotKeyConfig.hotKeys.F6" | "hotKeyConfig.hotKeys.F7" | "hotKeyConfig.hotKeys.F8" | "hotKeyConfig.hotKeys.F9" | "hotKeyConfig.hotKeys.F10" | "hotKeyConfig.hotKeys.F11" | "hotKeyConfig.hotKeys.F12" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.," | "hotKeyConfig.hotKeys.`" | "hotKeyConfig.hotKeys.[" | "hotKeyConfig.hotKeys.\\" | "hotKeyConfig.hotKeys.]" | "hotKeyConfig.hotKeys..modifiers" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys..event" | "hotKeyConfig.hotKeys./.modifiers" | `hotKeyConfig.hotKeys./.modifiers.${number}` | "hotKeyConfig.hotKeys./.event" | "hotKeyConfig.hotKeys.Space.modifiers" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.event" | "hotKeyConfig.hotKeys.Backspace.modifiers" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.event" | "hotKeyConfig.hotKeys.Tab.modifiers" | `hotKeyConfig.hotKeys.Tab.modifiers.${number}` | "hotKeyConfig.hotKeys.Tab.event" | "hotKeyConfig.hotKeys.Enter.modifiers" | `hotKeyConfig.hotKeys.Enter.modifiers.${number}` | "hotKeyConfig.hotKeys.Enter.event" | "hotKeyConfig.hotKeys.Escape.modifiers" | `hotKeyConfig.hotKeys.Escape.modifiers.${number}` | "hotKeyConfig.hotKeys.Escape.event" | "hotKeyConfig.hotKeys.ArrowDown.modifiers" | `hotKeyConfig.hotKeys.ArrowDown.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowDown.event" | "hotKeyConfig.hotKeys.ArrowLeft.modifiers" | `hotKeyConfig.hotKeys.ArrowLeft.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowLeft.event" | "hotKeyConfig.hotKeys.ArrowRight.modifiers" | `hotKeyConfig.hotKeys.ArrowRight.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowRight.event" | "hotKeyConfig.hotKeys.ArrowUp.modifiers" | `hotKeyConfig.hotKeys.ArrowUp.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowUp.event" | "hotKeyConfig.hotKeys.End.modifiers" | `hotKeyConfig.hotKeys.End.modifiers.${number}` | "hotKeyConfig.hotKeys.End.event" | "hotKeyConfig.hotKeys.Home.modifiers" | `hotKeyConfig.hotKeys.Home.modifiers.${number}` | "hotKeyConfig.hotKeys.Home.event" | "hotKeyConfig.hotKeys.PageDown.modifiers" | `hotKeyConfig.hotKeys.PageDown.modifiers.${number}` | "hotKeyConfig.hotKeys.PageDown.event" | "hotKeyConfig.hotKeys.PageUp.modifiers" | `hotKeyConfig.hotKeys.PageUp.modifiers.${number}` | "hotKeyConfig.hotKeys.PageUp.event" | "hotKeyConfig.hotKeys.Delete.modifiers" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.event" | "hotKeyConfig.hotKeys.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.event" | "hotKeyConfig.hotKeys.1.modifiers" | `hotKeyConfig.hotKeys.1.modifiers.${number}` | "hotKeyConfig.hotKeys.1.event" | "hotKeyConfig.hotKeys.2.modifiers" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.2.event" | "hotKeyConfig.hotKeys.3.modifiers" | `hotKeyConfig.hotKeys.3.modifiers.${number}` | "hotKeyConfig.hotKeys.3.event" | "hotKeyConfig.hotKeys.4.modifiers" | `hotKeyConfig.hotKeys.4.modifiers.${number}` | "hotKeyConfig.hotKeys.4.event" | "hotKeyConfig.hotKeys.5.modifiers" | `hotKeyConfig.hotKeys.5.modifiers.${number}` | "hotKeyConfig.hotKeys.5.event" | "hotKeyConfig.hotKeys.6.modifiers" | `hotKeyConfig.hotKeys.6.modifiers.${number}` | "hotKeyConfig.hotKeys.6.event" | "hotKeyConfig.hotKeys.7.modifiers" | `hotKeyConfig.hotKeys.7.modifiers.${number}` | "hotKeyConfig.hotKeys.7.event" | "hotKeyConfig.hotKeys.8.modifiers" | `hotKeyConfig.hotKeys.8.modifiers.${number}` | "hotKeyConfig.hotKeys.8.event" | "hotKeyConfig.hotKeys.9.modifiers" | `hotKeyConfig.hotKeys.9.modifiers.${number}` | "hotKeyConfig.hotKeys.9.event" | "hotKeyConfig.hotKeys.a.modifiers" | `hotKeyConfig.hotKeys.a.modifiers.${number}` | "hotKeyConfig.hotKeys.a.event" | "hotKeyConfig.hotKeys.b.modifiers" | `hotKeyConfig.hotKeys.b.modifiers.${number}` | "hotKeyConfig.hotKeys.b.event" | "hotKeyConfig.hotKeys.c.modifiers" | `hotKeyConfig.hotKeys.c.modifiers.${number}` | "hotKeyConfig.hotKeys.c.event" | "hotKeyConfig.hotKeys.d.modifiers" | `hotKeyConfig.hotKeys.d.modifiers.${number}` | "hotKeyConfig.hotKeys.d.event" | "hotKeyConfig.hotKeys.e.modifiers" | `hotKeyConfig.hotKeys.e.modifiers.${number}` | "hotKeyConfig.hotKeys.e.event" | "hotKeyConfig.hotKeys.f.modifiers" | `hotKeyConfig.hotKeys.f.modifiers.${number}` | "hotKeyConfig.hotKeys.f.event" | "hotKeyConfig.hotKeys.g.modifiers" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.g.event" | "hotKeyConfig.hotKeys.h.modifiers" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.h.event" | "hotKeyConfig.hotKeys.i.modifiers" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.i.event" | "hotKeyConfig.hotKeys.j.modifiers" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.j.event" | "hotKeyConfig.hotKeys.k.modifiers" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.k.event" | "hotKeyConfig.hotKeys.l.modifiers" | `hotKeyConfig.hotKeys.l.modifiers.${number}` | "hotKeyConfig.hotKeys.l.event" | "hotKeyConfig.hotKeys.m.modifiers" | `hotKeyConfig.hotKeys.m.modifiers.${number}` | "hotKeyConfig.hotKeys.m.event" | "hotKeyConfig.hotKeys.n.modifiers" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.n.event" | "hotKeyConfig.hotKeys.o.modifiers" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.o.event" | "hotKeyConfig.hotKeys.p.modifiers" | `hotKeyConfig.hotKeys.p.modifiers.${number}` | "hotKeyConfig.hotKeys.p.event" | "hotKeyConfig.hotKeys.q.modifiers" | `hotKeyConfig.hotKeys.q.modifiers.${number}` | "hotKeyConfig.hotKeys.q.event" | "hotKeyConfig.hotKeys.r.modifiers" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.r.event" | "hotKeyConfig.hotKeys.s.modifiers" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.s.event" | "hotKeyConfig.hotKeys.t.modifiers" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.t.event" | "hotKeyConfig.hotKeys.u.modifiers" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.u.event" | "hotKeyConfig.hotKeys.v.modifiers" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.v.event" | "hotKeyConfig.hotKeys.w.modifiers" | `hotKeyConfig.hotKeys.w.modifiers.${number}` | "hotKeyConfig.hotKeys.w.event" | "hotKeyConfig.hotKeys.x.modifiers" | `hotKeyConfig.hotKeys.x.modifiers.${number}` | "hotKeyConfig.hotKeys.x.event" | "hotKeyConfig.hotKeys.y.modifiers" | `hotKeyConfig.hotKeys.y.modifiers.${number}` | "hotKeyConfig.hotKeys.y.event" | "hotKeyConfig.hotKeys.z.modifiers" | `hotKeyConfig.hotKeys.z.modifiers.${number}` | "hotKeyConfig.hotKeys.z.event" | "hotKeyConfig.hotKeys.*.modifiers" | `hotKeyConfig.hotKeys.*.modifiers.${number}` | "hotKeyConfig.hotKeys.*.event" | "hotKeyConfig.hotKeys.+.modifiers" | `hotKeyConfig.hotKeys.+.modifiers.${number}` | "hotKeyConfig.hotKeys.+.event" | "hotKeyConfig.hotKeys.-.modifiers" | `hotKeyConfig.hotKeys.-.modifiers.${number}` | "hotKeyConfig.hotKeys.-.event" | "hotKeyConfig.hotKeys...modifiers" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys...event" | "hotKeyConfig.hotKeys.F1.modifiers" | `hotKeyConfig.hotKeys.F1.modifiers.${number}` | "hotKeyConfig.hotKeys.F1.event" | "hotKeyConfig.hotKeys.F2.modifiers" | `hotKeyConfig.hotKeys.F2.modifiers.${number}` | "hotKeyConfig.hotKeys.F2.event" | "hotKeyConfig.hotKeys.F3.modifiers" | `hotKeyConfig.hotKeys.F3.modifiers.${number}` | "hotKeyConfig.hotKeys.F3.event" | "hotKeyConfig.hotKeys.F4.modifiers" | `hotKeyConfig.hotKeys.F4.modifiers.${number}` | "hotKeyConfig.hotKeys.F4.event" | "hotKeyConfig.hotKeys.F5.modifiers" | `hotKeyConfig.hotKeys.F5.modifiers.${number}` | "hotKeyConfig.hotKeys.F5.event" | "hotKeyConfig.hotKeys.F6.modifiers" | `hotKeyConfig.hotKeys.F6.modifiers.${number}` | "hotKeyConfig.hotKeys.F6.event" | "hotKeyConfig.hotKeys.F7.modifiers" | `hotKeyConfig.hotKeys.F7.modifiers.${number}` | "hotKeyConfig.hotKeys.F7.event" | "hotKeyConfig.hotKeys.F8.modifiers" | `hotKeyConfig.hotKeys.F8.modifiers.${number}` | "hotKeyConfig.hotKeys.F8.event" | "hotKeyConfig.hotKeys.F9.modifiers" | `hotKeyConfig.hotKeys.F9.modifiers.${number}` | "hotKeyConfig.hotKeys.F9.event" | "hotKeyConfig.hotKeys.F10.modifiers" | `hotKeyConfig.hotKeys.F10.modifiers.${number}` | "hotKeyConfig.hotKeys.F10.event" | "hotKeyConfig.hotKeys.F11.modifiers" | `hotKeyConfig.hotKeys.F11.modifiers.${number}` | "hotKeyConfig.hotKeys.F11.event" | "hotKeyConfig.hotKeys.F12.modifiers" | `hotKeyConfig.hotKeys.F12.modifiers.${number}` | "hotKeyConfig.hotKeys.F12.event" | "hotKeyConfig.hotKeys.;.modifiers" | `hotKeyConfig.hotKeys.;.modifiers.${number}` | "hotKeyConfig.hotKeys.;.event" | "hotKeyConfig.hotKeys.=.modifiers" | `hotKeyConfig.hotKeys.=.modifiers.${number}` | "hotKeyConfig.hotKeys.=.event" | "hotKeyConfig.hotKeys.,.modifiers" | `hotKeyConfig.hotKeys.,.modifiers.${number}` | "hotKeyConfig.hotKeys.,.event" | "hotKeyConfig.hotKeys.`.modifiers" | `hotKeyConfig.hotKeys.\`.modifiers.${number}` | "hotKeyConfig.hotKeys.`.event" | "hotKeyConfig.hotKeys.[.modifiers" | `hotKeyConfig.hotKeys.[.modifiers.${number}` | "hotKeyConfig.hotKeys.[.event" | "hotKeyConfig.hotKeys.\\.modifiers" | `hotKeyConfig.hotKeys.\\.modifiers.${number}` | "hotKeyConfig.hotKeys.\\.event" | "hotKeyConfig.hotKeys.].modifiers" | `hotKeyConfig.hotKeys.].modifiers.${number}` | "hotKeyConfig.hotKeys.].event">(uid: string, path: P, value: P extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? {
|
|
3529
|
-
uid: string
|
|
3438
|
+
edit: <P extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" | `cookies.${number}` | `collections.${number}` | `environments.${string}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey" | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "hotKeyConfig.hotKeys.*" | "hotKeyConfig.hotKeys.+" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys.F1" | "hotKeyConfig.hotKeys.F2" | "hotKeyConfig.hotKeys.F3" | "hotKeyConfig.hotKeys.F4" | "hotKeyConfig.hotKeys.F5" | "hotKeyConfig.hotKeys.F6" | "hotKeyConfig.hotKeys.F7" | "hotKeyConfig.hotKeys.F8" | "hotKeyConfig.hotKeys.F9" | "hotKeyConfig.hotKeys.F10" | "hotKeyConfig.hotKeys.F11" | "hotKeyConfig.hotKeys.F12" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.," | "hotKeyConfig.hotKeys.`" | "hotKeyConfig.hotKeys.[" | "hotKeyConfig.hotKeys.\\" | "hotKeyConfig.hotKeys.]" | "hotKeyConfig.hotKeys..modifiers" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys..event" | "hotKeyConfig.hotKeys./.modifiers" | `hotKeyConfig.hotKeys./.modifiers.${number}` | "hotKeyConfig.hotKeys./.event" | "hotKeyConfig.hotKeys.Space.modifiers" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.event" | "hotKeyConfig.hotKeys.Backspace.modifiers" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.event" | "hotKeyConfig.hotKeys.Tab.modifiers" | `hotKeyConfig.hotKeys.Tab.modifiers.${number}` | "hotKeyConfig.hotKeys.Tab.event" | "hotKeyConfig.hotKeys.Enter.modifiers" | `hotKeyConfig.hotKeys.Enter.modifiers.${number}` | "hotKeyConfig.hotKeys.Enter.event" | "hotKeyConfig.hotKeys.Escape.modifiers" | `hotKeyConfig.hotKeys.Escape.modifiers.${number}` | "hotKeyConfig.hotKeys.Escape.event" | "hotKeyConfig.hotKeys.ArrowDown.modifiers" | `hotKeyConfig.hotKeys.ArrowDown.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowDown.event" | "hotKeyConfig.hotKeys.ArrowLeft.modifiers" | `hotKeyConfig.hotKeys.ArrowLeft.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowLeft.event" | "hotKeyConfig.hotKeys.ArrowRight.modifiers" | `hotKeyConfig.hotKeys.ArrowRight.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowRight.event" | "hotKeyConfig.hotKeys.ArrowUp.modifiers" | `hotKeyConfig.hotKeys.ArrowUp.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowUp.event" | "hotKeyConfig.hotKeys.End.modifiers" | `hotKeyConfig.hotKeys.End.modifiers.${number}` | "hotKeyConfig.hotKeys.End.event" | "hotKeyConfig.hotKeys.Home.modifiers" | `hotKeyConfig.hotKeys.Home.modifiers.${number}` | "hotKeyConfig.hotKeys.Home.event" | "hotKeyConfig.hotKeys.PageDown.modifiers" | `hotKeyConfig.hotKeys.PageDown.modifiers.${number}` | "hotKeyConfig.hotKeys.PageDown.event" | "hotKeyConfig.hotKeys.PageUp.modifiers" | `hotKeyConfig.hotKeys.PageUp.modifiers.${number}` | "hotKeyConfig.hotKeys.PageUp.event" | "hotKeyConfig.hotKeys.Delete.modifiers" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.event" | "hotKeyConfig.hotKeys.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.event" | "hotKeyConfig.hotKeys.1.modifiers" | `hotKeyConfig.hotKeys.1.modifiers.${number}` | "hotKeyConfig.hotKeys.1.event" | "hotKeyConfig.hotKeys.2.modifiers" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.2.event" | "hotKeyConfig.hotKeys.3.modifiers" | `hotKeyConfig.hotKeys.3.modifiers.${number}` | "hotKeyConfig.hotKeys.3.event" | "hotKeyConfig.hotKeys.4.modifiers" | `hotKeyConfig.hotKeys.4.modifiers.${number}` | "hotKeyConfig.hotKeys.4.event" | "hotKeyConfig.hotKeys.5.modifiers" | `hotKeyConfig.hotKeys.5.modifiers.${number}` | "hotKeyConfig.hotKeys.5.event" | "hotKeyConfig.hotKeys.6.modifiers" | `hotKeyConfig.hotKeys.6.modifiers.${number}` | "hotKeyConfig.hotKeys.6.event" | "hotKeyConfig.hotKeys.7.modifiers" | `hotKeyConfig.hotKeys.7.modifiers.${number}` | "hotKeyConfig.hotKeys.7.event" | "hotKeyConfig.hotKeys.8.modifiers" | `hotKeyConfig.hotKeys.8.modifiers.${number}` | "hotKeyConfig.hotKeys.8.event" | "hotKeyConfig.hotKeys.9.modifiers" | `hotKeyConfig.hotKeys.9.modifiers.${number}` | "hotKeyConfig.hotKeys.9.event" | "hotKeyConfig.hotKeys.a.modifiers" | `hotKeyConfig.hotKeys.a.modifiers.${number}` | "hotKeyConfig.hotKeys.a.event" | "hotKeyConfig.hotKeys.b.modifiers" | `hotKeyConfig.hotKeys.b.modifiers.${number}` | "hotKeyConfig.hotKeys.b.event" | "hotKeyConfig.hotKeys.c.modifiers" | `hotKeyConfig.hotKeys.c.modifiers.${number}` | "hotKeyConfig.hotKeys.c.event" | "hotKeyConfig.hotKeys.d.modifiers" | `hotKeyConfig.hotKeys.d.modifiers.${number}` | "hotKeyConfig.hotKeys.d.event" | "hotKeyConfig.hotKeys.e.modifiers" | `hotKeyConfig.hotKeys.e.modifiers.${number}` | "hotKeyConfig.hotKeys.e.event" | "hotKeyConfig.hotKeys.f.modifiers" | `hotKeyConfig.hotKeys.f.modifiers.${number}` | "hotKeyConfig.hotKeys.f.event" | "hotKeyConfig.hotKeys.g.modifiers" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.g.event" | "hotKeyConfig.hotKeys.h.modifiers" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.h.event" | "hotKeyConfig.hotKeys.i.modifiers" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.i.event" | "hotKeyConfig.hotKeys.j.modifiers" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.j.event" | "hotKeyConfig.hotKeys.k.modifiers" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.k.event" | "hotKeyConfig.hotKeys.l.modifiers" | `hotKeyConfig.hotKeys.l.modifiers.${number}` | "hotKeyConfig.hotKeys.l.event" | "hotKeyConfig.hotKeys.m.modifiers" | `hotKeyConfig.hotKeys.m.modifiers.${number}` | "hotKeyConfig.hotKeys.m.event" | "hotKeyConfig.hotKeys.n.modifiers" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.n.event" | "hotKeyConfig.hotKeys.o.modifiers" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.o.event" | "hotKeyConfig.hotKeys.p.modifiers" | `hotKeyConfig.hotKeys.p.modifiers.${number}` | "hotKeyConfig.hotKeys.p.event" | "hotKeyConfig.hotKeys.q.modifiers" | `hotKeyConfig.hotKeys.q.modifiers.${number}` | "hotKeyConfig.hotKeys.q.event" | "hotKeyConfig.hotKeys.r.modifiers" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.r.event" | "hotKeyConfig.hotKeys.s.modifiers" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.s.event" | "hotKeyConfig.hotKeys.t.modifiers" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.t.event" | "hotKeyConfig.hotKeys.u.modifiers" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.u.event" | "hotKeyConfig.hotKeys.v.modifiers" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.v.event" | "hotKeyConfig.hotKeys.w.modifiers" | `hotKeyConfig.hotKeys.w.modifiers.${number}` | "hotKeyConfig.hotKeys.w.event" | "hotKeyConfig.hotKeys.x.modifiers" | `hotKeyConfig.hotKeys.x.modifiers.${number}` | "hotKeyConfig.hotKeys.x.event" | "hotKeyConfig.hotKeys.y.modifiers" | `hotKeyConfig.hotKeys.y.modifiers.${number}` | "hotKeyConfig.hotKeys.y.event" | "hotKeyConfig.hotKeys.z.modifiers" | `hotKeyConfig.hotKeys.z.modifiers.${number}` | "hotKeyConfig.hotKeys.z.event" | "hotKeyConfig.hotKeys.*.modifiers" | `hotKeyConfig.hotKeys.*.modifiers.${number}` | "hotKeyConfig.hotKeys.*.event" | "hotKeyConfig.hotKeys.+.modifiers" | `hotKeyConfig.hotKeys.+.modifiers.${number}` | "hotKeyConfig.hotKeys.+.event" | "hotKeyConfig.hotKeys.-.modifiers" | `hotKeyConfig.hotKeys.-.modifiers.${number}` | "hotKeyConfig.hotKeys.-.event" | "hotKeyConfig.hotKeys...modifiers" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys...event" | "hotKeyConfig.hotKeys.F1.modifiers" | `hotKeyConfig.hotKeys.F1.modifiers.${number}` | "hotKeyConfig.hotKeys.F1.event" | "hotKeyConfig.hotKeys.F2.modifiers" | `hotKeyConfig.hotKeys.F2.modifiers.${number}` | "hotKeyConfig.hotKeys.F2.event" | "hotKeyConfig.hotKeys.F3.modifiers" | `hotKeyConfig.hotKeys.F3.modifiers.${number}` | "hotKeyConfig.hotKeys.F3.event" | "hotKeyConfig.hotKeys.F4.modifiers" | `hotKeyConfig.hotKeys.F4.modifiers.${number}` | "hotKeyConfig.hotKeys.F4.event" | "hotKeyConfig.hotKeys.F5.modifiers" | `hotKeyConfig.hotKeys.F5.modifiers.${number}` | "hotKeyConfig.hotKeys.F5.event" | "hotKeyConfig.hotKeys.F6.modifiers" | `hotKeyConfig.hotKeys.F6.modifiers.${number}` | "hotKeyConfig.hotKeys.F6.event" | "hotKeyConfig.hotKeys.F7.modifiers" | `hotKeyConfig.hotKeys.F7.modifiers.${number}` | "hotKeyConfig.hotKeys.F7.event" | "hotKeyConfig.hotKeys.F8.modifiers" | `hotKeyConfig.hotKeys.F8.modifiers.${number}` | "hotKeyConfig.hotKeys.F8.event" | "hotKeyConfig.hotKeys.F9.modifiers" | `hotKeyConfig.hotKeys.F9.modifiers.${number}` | "hotKeyConfig.hotKeys.F9.event" | "hotKeyConfig.hotKeys.F10.modifiers" | `hotKeyConfig.hotKeys.F10.modifiers.${number}` | "hotKeyConfig.hotKeys.F10.event" | "hotKeyConfig.hotKeys.F11.modifiers" | `hotKeyConfig.hotKeys.F11.modifiers.${number}` | "hotKeyConfig.hotKeys.F11.event" | "hotKeyConfig.hotKeys.F12.modifiers" | `hotKeyConfig.hotKeys.F12.modifiers.${number}` | "hotKeyConfig.hotKeys.F12.event" | "hotKeyConfig.hotKeys.;.modifiers" | `hotKeyConfig.hotKeys.;.modifiers.${number}` | "hotKeyConfig.hotKeys.;.event" | "hotKeyConfig.hotKeys.=.modifiers" | `hotKeyConfig.hotKeys.=.modifiers.${number}` | "hotKeyConfig.hotKeys.=.event" | "hotKeyConfig.hotKeys.,.modifiers" | `hotKeyConfig.hotKeys.,.modifiers.${number}` | "hotKeyConfig.hotKeys.,.event" | "hotKeyConfig.hotKeys.`.modifiers" | `hotKeyConfig.hotKeys.\`.modifiers.${number}` | "hotKeyConfig.hotKeys.`.event" | "hotKeyConfig.hotKeys.[.modifiers" | `hotKeyConfig.hotKeys.[.modifiers.${number}` | "hotKeyConfig.hotKeys.[.event" | "hotKeyConfig.hotKeys.\\.modifiers" | `hotKeyConfig.hotKeys.\\.modifiers.${number}` | "hotKeyConfig.hotKeys.\\.event" | "hotKeyConfig.hotKeys.].modifiers" | `hotKeyConfig.hotKeys.].modifiers.${number}` | "hotKeyConfig.hotKeys.].event">(uid: (string & import("zod").BRAND<"workspace">) | null | undefined, path: P, value: P extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? {
|
|
3439
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3530
3440
|
name: string;
|
|
3531
3441
|
description: string;
|
|
3532
|
-
collections: string[];
|
|
3442
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3533
3443
|
environments: Record<string, string>;
|
|
3534
3444
|
activeEnvironmentId: string;
|
|
3535
|
-
cookies: string[];
|
|
3445
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3536
3446
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3537
3447
|
selectedHttpClient: {
|
|
3538
3448
|
targetKey: string;
|
|
@@ -3547,13 +3457,13 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3547
3457
|
} | undefined;
|
|
3548
3458
|
proxyUrl?: string | undefined;
|
|
3549
3459
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? R extends Path<{
|
|
3550
|
-
uid: string
|
|
3460
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3551
3461
|
name: string;
|
|
3552
3462
|
description: string;
|
|
3553
|
-
collections: string[];
|
|
3463
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3554
3464
|
environments: Record<string, string>;
|
|
3555
3465
|
activeEnvironmentId: string;
|
|
3556
|
-
cookies: string[];
|
|
3466
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3557
3467
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3558
3468
|
selectedHttpClient: {
|
|
3559
3469
|
targetKey: string;
|
|
@@ -3568,13 +3478,13 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3568
3478
|
} | undefined;
|
|
3569
3479
|
proxyUrl?: string | undefined;
|
|
3570
3480
|
}[K]> ? PathValue<{
|
|
3571
|
-
uid: string
|
|
3481
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3572
3482
|
name: string;
|
|
3573
3483
|
description: string;
|
|
3574
|
-
collections: string[];
|
|
3484
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3575
3485
|
environments: Record<string, string>;
|
|
3576
3486
|
activeEnvironmentId: string;
|
|
3577
|
-
cookies: string[];
|
|
3487
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3578
3488
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3579
3489
|
selectedHttpClient: {
|
|
3580
3490
|
targetKey: string;
|
|
@@ -3589,14 +3499,14 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3589
3499
|
} | undefined;
|
|
3590
3500
|
proxyUrl?: string | undefined;
|
|
3591
3501
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3592
|
-
untrackedEdit: <P extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" | `cookies.${number}` | `collections.${number}` | `environments.${string}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey" | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "hotKeyConfig.hotKeys.*" | "hotKeyConfig.hotKeys.+" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys.F1" | "hotKeyConfig.hotKeys.F2" | "hotKeyConfig.hotKeys.F3" | "hotKeyConfig.hotKeys.F4" | "hotKeyConfig.hotKeys.F5" | "hotKeyConfig.hotKeys.F6" | "hotKeyConfig.hotKeys.F7" | "hotKeyConfig.hotKeys.F8" | "hotKeyConfig.hotKeys.F9" | "hotKeyConfig.hotKeys.F10" | "hotKeyConfig.hotKeys.F11" | "hotKeyConfig.hotKeys.F12" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.," | "hotKeyConfig.hotKeys.`" | "hotKeyConfig.hotKeys.[" | "hotKeyConfig.hotKeys.\\" | "hotKeyConfig.hotKeys.]" | "hotKeyConfig.hotKeys..modifiers" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys..event" | "hotKeyConfig.hotKeys./.modifiers" | `hotKeyConfig.hotKeys./.modifiers.${number}` | "hotKeyConfig.hotKeys./.event" | "hotKeyConfig.hotKeys.Space.modifiers" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.event" | "hotKeyConfig.hotKeys.Backspace.modifiers" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.event" | "hotKeyConfig.hotKeys.Tab.modifiers" | `hotKeyConfig.hotKeys.Tab.modifiers.${number}` | "hotKeyConfig.hotKeys.Tab.event" | "hotKeyConfig.hotKeys.Enter.modifiers" | `hotKeyConfig.hotKeys.Enter.modifiers.${number}` | "hotKeyConfig.hotKeys.Enter.event" | "hotKeyConfig.hotKeys.Escape.modifiers" | `hotKeyConfig.hotKeys.Escape.modifiers.${number}` | "hotKeyConfig.hotKeys.Escape.event" | "hotKeyConfig.hotKeys.ArrowDown.modifiers" | `hotKeyConfig.hotKeys.ArrowDown.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowDown.event" | "hotKeyConfig.hotKeys.ArrowLeft.modifiers" | `hotKeyConfig.hotKeys.ArrowLeft.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowLeft.event" | "hotKeyConfig.hotKeys.ArrowRight.modifiers" | `hotKeyConfig.hotKeys.ArrowRight.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowRight.event" | "hotKeyConfig.hotKeys.ArrowUp.modifiers" | `hotKeyConfig.hotKeys.ArrowUp.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowUp.event" | "hotKeyConfig.hotKeys.End.modifiers" | `hotKeyConfig.hotKeys.End.modifiers.${number}` | "hotKeyConfig.hotKeys.End.event" | "hotKeyConfig.hotKeys.Home.modifiers" | `hotKeyConfig.hotKeys.Home.modifiers.${number}` | "hotKeyConfig.hotKeys.Home.event" | "hotKeyConfig.hotKeys.PageDown.modifiers" | `hotKeyConfig.hotKeys.PageDown.modifiers.${number}` | "hotKeyConfig.hotKeys.PageDown.event" | "hotKeyConfig.hotKeys.PageUp.modifiers" | `hotKeyConfig.hotKeys.PageUp.modifiers.${number}` | "hotKeyConfig.hotKeys.PageUp.event" | "hotKeyConfig.hotKeys.Delete.modifiers" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.event" | "hotKeyConfig.hotKeys.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.event" | "hotKeyConfig.hotKeys.1.modifiers" | `hotKeyConfig.hotKeys.1.modifiers.${number}` | "hotKeyConfig.hotKeys.1.event" | "hotKeyConfig.hotKeys.2.modifiers" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.2.event" | "hotKeyConfig.hotKeys.3.modifiers" | `hotKeyConfig.hotKeys.3.modifiers.${number}` | "hotKeyConfig.hotKeys.3.event" | "hotKeyConfig.hotKeys.4.modifiers" | `hotKeyConfig.hotKeys.4.modifiers.${number}` | "hotKeyConfig.hotKeys.4.event" | "hotKeyConfig.hotKeys.5.modifiers" | `hotKeyConfig.hotKeys.5.modifiers.${number}` | "hotKeyConfig.hotKeys.5.event" | "hotKeyConfig.hotKeys.6.modifiers" | `hotKeyConfig.hotKeys.6.modifiers.${number}` | "hotKeyConfig.hotKeys.6.event" | "hotKeyConfig.hotKeys.7.modifiers" | `hotKeyConfig.hotKeys.7.modifiers.${number}` | "hotKeyConfig.hotKeys.7.event" | "hotKeyConfig.hotKeys.8.modifiers" | `hotKeyConfig.hotKeys.8.modifiers.${number}` | "hotKeyConfig.hotKeys.8.event" | "hotKeyConfig.hotKeys.9.modifiers" | `hotKeyConfig.hotKeys.9.modifiers.${number}` | "hotKeyConfig.hotKeys.9.event" | "hotKeyConfig.hotKeys.a.modifiers" | `hotKeyConfig.hotKeys.a.modifiers.${number}` | "hotKeyConfig.hotKeys.a.event" | "hotKeyConfig.hotKeys.b.modifiers" | `hotKeyConfig.hotKeys.b.modifiers.${number}` | "hotKeyConfig.hotKeys.b.event" | "hotKeyConfig.hotKeys.c.modifiers" | `hotKeyConfig.hotKeys.c.modifiers.${number}` | "hotKeyConfig.hotKeys.c.event" | "hotKeyConfig.hotKeys.d.modifiers" | `hotKeyConfig.hotKeys.d.modifiers.${number}` | "hotKeyConfig.hotKeys.d.event" | "hotKeyConfig.hotKeys.e.modifiers" | `hotKeyConfig.hotKeys.e.modifiers.${number}` | "hotKeyConfig.hotKeys.e.event" | "hotKeyConfig.hotKeys.f.modifiers" | `hotKeyConfig.hotKeys.f.modifiers.${number}` | "hotKeyConfig.hotKeys.f.event" | "hotKeyConfig.hotKeys.g.modifiers" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.g.event" | "hotKeyConfig.hotKeys.h.modifiers" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.h.event" | "hotKeyConfig.hotKeys.i.modifiers" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.i.event" | "hotKeyConfig.hotKeys.j.modifiers" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.j.event" | "hotKeyConfig.hotKeys.k.modifiers" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.k.event" | "hotKeyConfig.hotKeys.l.modifiers" | `hotKeyConfig.hotKeys.l.modifiers.${number}` | "hotKeyConfig.hotKeys.l.event" | "hotKeyConfig.hotKeys.m.modifiers" | `hotKeyConfig.hotKeys.m.modifiers.${number}` | "hotKeyConfig.hotKeys.m.event" | "hotKeyConfig.hotKeys.n.modifiers" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.n.event" | "hotKeyConfig.hotKeys.o.modifiers" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.o.event" | "hotKeyConfig.hotKeys.p.modifiers" | `hotKeyConfig.hotKeys.p.modifiers.${number}` | "hotKeyConfig.hotKeys.p.event" | "hotKeyConfig.hotKeys.q.modifiers" | `hotKeyConfig.hotKeys.q.modifiers.${number}` | "hotKeyConfig.hotKeys.q.event" | "hotKeyConfig.hotKeys.r.modifiers" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.r.event" | "hotKeyConfig.hotKeys.s.modifiers" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.s.event" | "hotKeyConfig.hotKeys.t.modifiers" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.t.event" | "hotKeyConfig.hotKeys.u.modifiers" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.u.event" | "hotKeyConfig.hotKeys.v.modifiers" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.v.event" | "hotKeyConfig.hotKeys.w.modifiers" | `hotKeyConfig.hotKeys.w.modifiers.${number}` | "hotKeyConfig.hotKeys.w.event" | "hotKeyConfig.hotKeys.x.modifiers" | `hotKeyConfig.hotKeys.x.modifiers.${number}` | "hotKeyConfig.hotKeys.x.event" | "hotKeyConfig.hotKeys.y.modifiers" | `hotKeyConfig.hotKeys.y.modifiers.${number}` | "hotKeyConfig.hotKeys.y.event" | "hotKeyConfig.hotKeys.z.modifiers" | `hotKeyConfig.hotKeys.z.modifiers.${number}` | "hotKeyConfig.hotKeys.z.event" | "hotKeyConfig.hotKeys.*.modifiers" | `hotKeyConfig.hotKeys.*.modifiers.${number}` | "hotKeyConfig.hotKeys.*.event" | "hotKeyConfig.hotKeys.+.modifiers" | `hotKeyConfig.hotKeys.+.modifiers.${number}` | "hotKeyConfig.hotKeys.+.event" | "hotKeyConfig.hotKeys.-.modifiers" | `hotKeyConfig.hotKeys.-.modifiers.${number}` | "hotKeyConfig.hotKeys.-.event" | "hotKeyConfig.hotKeys...modifiers" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys...event" | "hotKeyConfig.hotKeys.F1.modifiers" | `hotKeyConfig.hotKeys.F1.modifiers.${number}` | "hotKeyConfig.hotKeys.F1.event" | "hotKeyConfig.hotKeys.F2.modifiers" | `hotKeyConfig.hotKeys.F2.modifiers.${number}` | "hotKeyConfig.hotKeys.F2.event" | "hotKeyConfig.hotKeys.F3.modifiers" | `hotKeyConfig.hotKeys.F3.modifiers.${number}` | "hotKeyConfig.hotKeys.F3.event" | "hotKeyConfig.hotKeys.F4.modifiers" | `hotKeyConfig.hotKeys.F4.modifiers.${number}` | "hotKeyConfig.hotKeys.F4.event" | "hotKeyConfig.hotKeys.F5.modifiers" | `hotKeyConfig.hotKeys.F5.modifiers.${number}` | "hotKeyConfig.hotKeys.F5.event" | "hotKeyConfig.hotKeys.F6.modifiers" | `hotKeyConfig.hotKeys.F6.modifiers.${number}` | "hotKeyConfig.hotKeys.F6.event" | "hotKeyConfig.hotKeys.F7.modifiers" | `hotKeyConfig.hotKeys.F7.modifiers.${number}` | "hotKeyConfig.hotKeys.F7.event" | "hotKeyConfig.hotKeys.F8.modifiers" | `hotKeyConfig.hotKeys.F8.modifiers.${number}` | "hotKeyConfig.hotKeys.F8.event" | "hotKeyConfig.hotKeys.F9.modifiers" | `hotKeyConfig.hotKeys.F9.modifiers.${number}` | "hotKeyConfig.hotKeys.F9.event" | "hotKeyConfig.hotKeys.F10.modifiers" | `hotKeyConfig.hotKeys.F10.modifiers.${number}` | "hotKeyConfig.hotKeys.F10.event" | "hotKeyConfig.hotKeys.F11.modifiers" | `hotKeyConfig.hotKeys.F11.modifiers.${number}` | "hotKeyConfig.hotKeys.F11.event" | "hotKeyConfig.hotKeys.F12.modifiers" | `hotKeyConfig.hotKeys.F12.modifiers.${number}` | "hotKeyConfig.hotKeys.F12.event" | "hotKeyConfig.hotKeys.;.modifiers" | `hotKeyConfig.hotKeys.;.modifiers.${number}` | "hotKeyConfig.hotKeys.;.event" | "hotKeyConfig.hotKeys.=.modifiers" | `hotKeyConfig.hotKeys.=.modifiers.${number}` | "hotKeyConfig.hotKeys.=.event" | "hotKeyConfig.hotKeys.,.modifiers" | `hotKeyConfig.hotKeys.,.modifiers.${number}` | "hotKeyConfig.hotKeys.,.event" | "hotKeyConfig.hotKeys.`.modifiers" | `hotKeyConfig.hotKeys.\`.modifiers.${number}` | "hotKeyConfig.hotKeys.`.event" | "hotKeyConfig.hotKeys.[.modifiers" | `hotKeyConfig.hotKeys.[.modifiers.${number}` | "hotKeyConfig.hotKeys.[.event" | "hotKeyConfig.hotKeys.\\.modifiers" | `hotKeyConfig.hotKeys.\\.modifiers.${number}` | "hotKeyConfig.hotKeys.\\.event" | "hotKeyConfig.hotKeys.].modifiers" | `hotKeyConfig.hotKeys.].modifiers.${number}` | "hotKeyConfig.hotKeys.].event">(uid: string, path: P, value: P extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? {
|
|
3593
|
-
uid: string
|
|
3502
|
+
untrackedEdit: <P extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" | `cookies.${number}` | `collections.${number}` | `environments.${string}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey" | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "hotKeyConfig.hotKeys.*" | "hotKeyConfig.hotKeys.+" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys.F1" | "hotKeyConfig.hotKeys.F2" | "hotKeyConfig.hotKeys.F3" | "hotKeyConfig.hotKeys.F4" | "hotKeyConfig.hotKeys.F5" | "hotKeyConfig.hotKeys.F6" | "hotKeyConfig.hotKeys.F7" | "hotKeyConfig.hotKeys.F8" | "hotKeyConfig.hotKeys.F9" | "hotKeyConfig.hotKeys.F10" | "hotKeyConfig.hotKeys.F11" | "hotKeyConfig.hotKeys.F12" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.," | "hotKeyConfig.hotKeys.`" | "hotKeyConfig.hotKeys.[" | "hotKeyConfig.hotKeys.\\" | "hotKeyConfig.hotKeys.]" | "hotKeyConfig.hotKeys..modifiers" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys..event" | "hotKeyConfig.hotKeys./.modifiers" | `hotKeyConfig.hotKeys./.modifiers.${number}` | "hotKeyConfig.hotKeys./.event" | "hotKeyConfig.hotKeys.Space.modifiers" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.event" | "hotKeyConfig.hotKeys.Backspace.modifiers" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.event" | "hotKeyConfig.hotKeys.Tab.modifiers" | `hotKeyConfig.hotKeys.Tab.modifiers.${number}` | "hotKeyConfig.hotKeys.Tab.event" | "hotKeyConfig.hotKeys.Enter.modifiers" | `hotKeyConfig.hotKeys.Enter.modifiers.${number}` | "hotKeyConfig.hotKeys.Enter.event" | "hotKeyConfig.hotKeys.Escape.modifiers" | `hotKeyConfig.hotKeys.Escape.modifiers.${number}` | "hotKeyConfig.hotKeys.Escape.event" | "hotKeyConfig.hotKeys.ArrowDown.modifiers" | `hotKeyConfig.hotKeys.ArrowDown.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowDown.event" | "hotKeyConfig.hotKeys.ArrowLeft.modifiers" | `hotKeyConfig.hotKeys.ArrowLeft.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowLeft.event" | "hotKeyConfig.hotKeys.ArrowRight.modifiers" | `hotKeyConfig.hotKeys.ArrowRight.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowRight.event" | "hotKeyConfig.hotKeys.ArrowUp.modifiers" | `hotKeyConfig.hotKeys.ArrowUp.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowUp.event" | "hotKeyConfig.hotKeys.End.modifiers" | `hotKeyConfig.hotKeys.End.modifiers.${number}` | "hotKeyConfig.hotKeys.End.event" | "hotKeyConfig.hotKeys.Home.modifiers" | `hotKeyConfig.hotKeys.Home.modifiers.${number}` | "hotKeyConfig.hotKeys.Home.event" | "hotKeyConfig.hotKeys.PageDown.modifiers" | `hotKeyConfig.hotKeys.PageDown.modifiers.${number}` | "hotKeyConfig.hotKeys.PageDown.event" | "hotKeyConfig.hotKeys.PageUp.modifiers" | `hotKeyConfig.hotKeys.PageUp.modifiers.${number}` | "hotKeyConfig.hotKeys.PageUp.event" | "hotKeyConfig.hotKeys.Delete.modifiers" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.event" | "hotKeyConfig.hotKeys.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.event" | "hotKeyConfig.hotKeys.1.modifiers" | `hotKeyConfig.hotKeys.1.modifiers.${number}` | "hotKeyConfig.hotKeys.1.event" | "hotKeyConfig.hotKeys.2.modifiers" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.2.event" | "hotKeyConfig.hotKeys.3.modifiers" | `hotKeyConfig.hotKeys.3.modifiers.${number}` | "hotKeyConfig.hotKeys.3.event" | "hotKeyConfig.hotKeys.4.modifiers" | `hotKeyConfig.hotKeys.4.modifiers.${number}` | "hotKeyConfig.hotKeys.4.event" | "hotKeyConfig.hotKeys.5.modifiers" | `hotKeyConfig.hotKeys.5.modifiers.${number}` | "hotKeyConfig.hotKeys.5.event" | "hotKeyConfig.hotKeys.6.modifiers" | `hotKeyConfig.hotKeys.6.modifiers.${number}` | "hotKeyConfig.hotKeys.6.event" | "hotKeyConfig.hotKeys.7.modifiers" | `hotKeyConfig.hotKeys.7.modifiers.${number}` | "hotKeyConfig.hotKeys.7.event" | "hotKeyConfig.hotKeys.8.modifiers" | `hotKeyConfig.hotKeys.8.modifiers.${number}` | "hotKeyConfig.hotKeys.8.event" | "hotKeyConfig.hotKeys.9.modifiers" | `hotKeyConfig.hotKeys.9.modifiers.${number}` | "hotKeyConfig.hotKeys.9.event" | "hotKeyConfig.hotKeys.a.modifiers" | `hotKeyConfig.hotKeys.a.modifiers.${number}` | "hotKeyConfig.hotKeys.a.event" | "hotKeyConfig.hotKeys.b.modifiers" | `hotKeyConfig.hotKeys.b.modifiers.${number}` | "hotKeyConfig.hotKeys.b.event" | "hotKeyConfig.hotKeys.c.modifiers" | `hotKeyConfig.hotKeys.c.modifiers.${number}` | "hotKeyConfig.hotKeys.c.event" | "hotKeyConfig.hotKeys.d.modifiers" | `hotKeyConfig.hotKeys.d.modifiers.${number}` | "hotKeyConfig.hotKeys.d.event" | "hotKeyConfig.hotKeys.e.modifiers" | `hotKeyConfig.hotKeys.e.modifiers.${number}` | "hotKeyConfig.hotKeys.e.event" | "hotKeyConfig.hotKeys.f.modifiers" | `hotKeyConfig.hotKeys.f.modifiers.${number}` | "hotKeyConfig.hotKeys.f.event" | "hotKeyConfig.hotKeys.g.modifiers" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.g.event" | "hotKeyConfig.hotKeys.h.modifiers" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.h.event" | "hotKeyConfig.hotKeys.i.modifiers" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.i.event" | "hotKeyConfig.hotKeys.j.modifiers" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.j.event" | "hotKeyConfig.hotKeys.k.modifiers" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.k.event" | "hotKeyConfig.hotKeys.l.modifiers" | `hotKeyConfig.hotKeys.l.modifiers.${number}` | "hotKeyConfig.hotKeys.l.event" | "hotKeyConfig.hotKeys.m.modifiers" | `hotKeyConfig.hotKeys.m.modifiers.${number}` | "hotKeyConfig.hotKeys.m.event" | "hotKeyConfig.hotKeys.n.modifiers" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.n.event" | "hotKeyConfig.hotKeys.o.modifiers" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.o.event" | "hotKeyConfig.hotKeys.p.modifiers" | `hotKeyConfig.hotKeys.p.modifiers.${number}` | "hotKeyConfig.hotKeys.p.event" | "hotKeyConfig.hotKeys.q.modifiers" | `hotKeyConfig.hotKeys.q.modifiers.${number}` | "hotKeyConfig.hotKeys.q.event" | "hotKeyConfig.hotKeys.r.modifiers" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.r.event" | "hotKeyConfig.hotKeys.s.modifiers" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.s.event" | "hotKeyConfig.hotKeys.t.modifiers" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.t.event" | "hotKeyConfig.hotKeys.u.modifiers" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.u.event" | "hotKeyConfig.hotKeys.v.modifiers" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.v.event" | "hotKeyConfig.hotKeys.w.modifiers" | `hotKeyConfig.hotKeys.w.modifiers.${number}` | "hotKeyConfig.hotKeys.w.event" | "hotKeyConfig.hotKeys.x.modifiers" | `hotKeyConfig.hotKeys.x.modifiers.${number}` | "hotKeyConfig.hotKeys.x.event" | "hotKeyConfig.hotKeys.y.modifiers" | `hotKeyConfig.hotKeys.y.modifiers.${number}` | "hotKeyConfig.hotKeys.y.event" | "hotKeyConfig.hotKeys.z.modifiers" | `hotKeyConfig.hotKeys.z.modifiers.${number}` | "hotKeyConfig.hotKeys.z.event" | "hotKeyConfig.hotKeys.*.modifiers" | `hotKeyConfig.hotKeys.*.modifiers.${number}` | "hotKeyConfig.hotKeys.*.event" | "hotKeyConfig.hotKeys.+.modifiers" | `hotKeyConfig.hotKeys.+.modifiers.${number}` | "hotKeyConfig.hotKeys.+.event" | "hotKeyConfig.hotKeys.-.modifiers" | `hotKeyConfig.hotKeys.-.modifiers.${number}` | "hotKeyConfig.hotKeys.-.event" | "hotKeyConfig.hotKeys...modifiers" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys...event" | "hotKeyConfig.hotKeys.F1.modifiers" | `hotKeyConfig.hotKeys.F1.modifiers.${number}` | "hotKeyConfig.hotKeys.F1.event" | "hotKeyConfig.hotKeys.F2.modifiers" | `hotKeyConfig.hotKeys.F2.modifiers.${number}` | "hotKeyConfig.hotKeys.F2.event" | "hotKeyConfig.hotKeys.F3.modifiers" | `hotKeyConfig.hotKeys.F3.modifiers.${number}` | "hotKeyConfig.hotKeys.F3.event" | "hotKeyConfig.hotKeys.F4.modifiers" | `hotKeyConfig.hotKeys.F4.modifiers.${number}` | "hotKeyConfig.hotKeys.F4.event" | "hotKeyConfig.hotKeys.F5.modifiers" | `hotKeyConfig.hotKeys.F5.modifiers.${number}` | "hotKeyConfig.hotKeys.F5.event" | "hotKeyConfig.hotKeys.F6.modifiers" | `hotKeyConfig.hotKeys.F6.modifiers.${number}` | "hotKeyConfig.hotKeys.F6.event" | "hotKeyConfig.hotKeys.F7.modifiers" | `hotKeyConfig.hotKeys.F7.modifiers.${number}` | "hotKeyConfig.hotKeys.F7.event" | "hotKeyConfig.hotKeys.F8.modifiers" | `hotKeyConfig.hotKeys.F8.modifiers.${number}` | "hotKeyConfig.hotKeys.F8.event" | "hotKeyConfig.hotKeys.F9.modifiers" | `hotKeyConfig.hotKeys.F9.modifiers.${number}` | "hotKeyConfig.hotKeys.F9.event" | "hotKeyConfig.hotKeys.F10.modifiers" | `hotKeyConfig.hotKeys.F10.modifiers.${number}` | "hotKeyConfig.hotKeys.F10.event" | "hotKeyConfig.hotKeys.F11.modifiers" | `hotKeyConfig.hotKeys.F11.modifiers.${number}` | "hotKeyConfig.hotKeys.F11.event" | "hotKeyConfig.hotKeys.F12.modifiers" | `hotKeyConfig.hotKeys.F12.modifiers.${number}` | "hotKeyConfig.hotKeys.F12.event" | "hotKeyConfig.hotKeys.;.modifiers" | `hotKeyConfig.hotKeys.;.modifiers.${number}` | "hotKeyConfig.hotKeys.;.event" | "hotKeyConfig.hotKeys.=.modifiers" | `hotKeyConfig.hotKeys.=.modifiers.${number}` | "hotKeyConfig.hotKeys.=.event" | "hotKeyConfig.hotKeys.,.modifiers" | `hotKeyConfig.hotKeys.,.modifiers.${number}` | "hotKeyConfig.hotKeys.,.event" | "hotKeyConfig.hotKeys.`.modifiers" | `hotKeyConfig.hotKeys.\`.modifiers.${number}` | "hotKeyConfig.hotKeys.`.event" | "hotKeyConfig.hotKeys.[.modifiers" | `hotKeyConfig.hotKeys.[.modifiers.${number}` | "hotKeyConfig.hotKeys.[.event" | "hotKeyConfig.hotKeys.\\.modifiers" | `hotKeyConfig.hotKeys.\\.modifiers.${number}` | "hotKeyConfig.hotKeys.\\.event" | "hotKeyConfig.hotKeys.].modifiers" | `hotKeyConfig.hotKeys.].modifiers.${number}` | "hotKeyConfig.hotKeys.].event">(uid: string & import("zod").BRAND<"workspace">, path: P, value: P extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? {
|
|
3503
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3594
3504
|
name: string;
|
|
3595
3505
|
description: string;
|
|
3596
|
-
collections: string[];
|
|
3506
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3597
3507
|
environments: Record<string, string>;
|
|
3598
3508
|
activeEnvironmentId: string;
|
|
3599
|
-
cookies: string[];
|
|
3509
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3600
3510
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3601
3511
|
selectedHttpClient: {
|
|
3602
3512
|
targetKey: string;
|
|
@@ -3611,13 +3521,13 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3611
3521
|
} | undefined;
|
|
3612
3522
|
proxyUrl?: string | undefined;
|
|
3613
3523
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? R extends Path<{
|
|
3614
|
-
uid: string
|
|
3524
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3615
3525
|
name: string;
|
|
3616
3526
|
description: string;
|
|
3617
|
-
collections: string[];
|
|
3527
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3618
3528
|
environments: Record<string, string>;
|
|
3619
3529
|
activeEnvironmentId: string;
|
|
3620
|
-
cookies: string[];
|
|
3530
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3621
3531
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3622
3532
|
selectedHttpClient: {
|
|
3623
3533
|
targetKey: string;
|
|
@@ -3632,13 +3542,13 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3632
3542
|
} | undefined;
|
|
3633
3543
|
proxyUrl?: string | undefined;
|
|
3634
3544
|
}[K]> ? PathValue<{
|
|
3635
|
-
uid: string
|
|
3545
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3636
3546
|
name: string;
|
|
3637
3547
|
description: string;
|
|
3638
|
-
collections: string[];
|
|
3548
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3639
3549
|
environments: Record<string, string>;
|
|
3640
3550
|
activeEnvironmentId: string;
|
|
3641
|
-
cookies: string[];
|
|
3551
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3642
3552
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3643
3553
|
selectedHttpClient: {
|
|
3644
3554
|
targetKey: string;
|
|
@@ -3653,12 +3563,12 @@ export declare const createWorkspaceStore: ({ useLocalStorage, showSidebar, prox
|
|
|
3653
3563
|
} | undefined;
|
|
3654
3564
|
proxyUrl?: string | undefined;
|
|
3655
3565
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3656
|
-
undo: (uid: string) => void;
|
|
3657
|
-
redo: (uid: string) => void;
|
|
3566
|
+
undo: (uid: string & import("zod").BRAND<"workspace">) => void;
|
|
3567
|
+
redo: (uid: string & import("zod").BRAND<"workspace">) => void;
|
|
3658
3568
|
reset: () => void;
|
|
3659
3569
|
};
|
|
3660
|
-
addCollectionEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid:
|
|
3661
|
-
removeCollectionEnvironment: (environmentName: string, collectionUid:
|
|
3570
|
+
addCollectionEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
3571
|
+
removeCollectionEnvironment: (environmentName: string, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
3662
3572
|
};
|
|
3663
3573
|
export type WorkspaceStore = ReturnType<typeof createWorkspaceStore>;
|
|
3664
3574
|
export declare const WORKSPACE_SYMBOL: InjectionKey<WorkspaceStore>;
|