@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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type ClientLayout } from '../hooks/useLayout';
|
|
2
2
|
import { type WorkspaceStore } from '../store/store';
|
|
3
3
|
import type { SecurityScheme } from '@scalar/oas-utils/entities/spec';
|
|
4
|
+
import { type Workspace } from '@scalar/oas-utils/entities/workspace';
|
|
4
5
|
import type { Path, PathValue } from '@scalar/object-utils/nested';
|
|
5
6
|
import type { OpenAPI, ReferenceConfiguration, SpecConfiguration } from '@scalar/types/legacy';
|
|
6
7
|
import { type Component } from 'vue';
|
|
@@ -105,13 +106,13 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
105
106
|
};
|
|
106
107
|
store: {
|
|
107
108
|
workspaces: Record<string, {
|
|
108
|
-
uid: string
|
|
109
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
109
110
|
name: string;
|
|
110
111
|
description: string;
|
|
111
|
-
collections: string[];
|
|
112
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
112
113
|
environments: Record<string, string>;
|
|
113
114
|
activeEnvironmentId: string;
|
|
114
|
-
cookies: string[];
|
|
115
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
115
116
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
116
117
|
selectedHttpClient: {
|
|
117
118
|
targetKey: string;
|
|
@@ -128,17 +129,16 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
128
129
|
}>;
|
|
129
130
|
collections: Record<string, {
|
|
130
131
|
type: "collection";
|
|
131
|
-
uid: string
|
|
132
|
-
children: string[];
|
|
132
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
133
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
133
134
|
openapi: string;
|
|
134
135
|
security: Record<string, string[]>[];
|
|
135
136
|
'x-scalar-icon': string;
|
|
136
137
|
securitySchemes: string[];
|
|
137
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
tags: string[];
|
|
138
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
139
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
140
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
141
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
142
142
|
watchMode: boolean;
|
|
143
143
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
144
144
|
externalDocs?: {
|
|
@@ -175,17 +175,18 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
175
175
|
color?: string | undefined;
|
|
176
176
|
}> | undefined;
|
|
177
177
|
'x-scalar-secrets'?: Record<string, {
|
|
178
|
-
description?: string | undefined;
|
|
179
178
|
example?: string | undefined;
|
|
179
|
+
description?: string | undefined;
|
|
180
180
|
}> | undefined;
|
|
181
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
181
182
|
documentUrl?: string | undefined;
|
|
182
183
|
integration?: string | null | undefined;
|
|
183
184
|
}>;
|
|
184
185
|
tags: Record<string, {
|
|
185
186
|
type: "tag";
|
|
186
|
-
uid: string
|
|
187
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
187
188
|
name: string;
|
|
188
|
-
children: string[];
|
|
189
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
189
190
|
description?: string | undefined;
|
|
190
191
|
externalDocs?: {
|
|
191
192
|
url: string;
|
|
@@ -199,21 +200,21 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
199
200
|
}>;
|
|
200
201
|
cookies: Record<string, {
|
|
201
202
|
value: string;
|
|
202
|
-
uid: string
|
|
203
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
203
204
|
name: string;
|
|
204
205
|
path?: string | undefined;
|
|
205
206
|
domain?: string | undefined;
|
|
206
207
|
}>;
|
|
207
208
|
environments: Record<string, {
|
|
208
209
|
value: string;
|
|
209
|
-
uid: string
|
|
210
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
210
211
|
name: string;
|
|
211
212
|
color: string;
|
|
212
213
|
isDefault?: boolean | undefined;
|
|
213
214
|
}>;
|
|
214
215
|
requestExamples: Record<string, {
|
|
215
216
|
type: "requestExample";
|
|
216
|
-
uid: string
|
|
217
|
+
uid: string & import("zod").BRAND<"example">;
|
|
217
218
|
name: string;
|
|
218
219
|
parameters: {
|
|
219
220
|
path: {
|
|
@@ -308,17 +309,17 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
308
309
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
309
310
|
} | undefined;
|
|
310
311
|
};
|
|
311
|
-
requestUid
|
|
312
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
312
313
|
serverVariables?: Record<string, string[]> | undefined;
|
|
313
314
|
}>;
|
|
314
315
|
requests: Record<string, {
|
|
315
316
|
path: string;
|
|
316
317
|
type: "request";
|
|
317
|
-
uid: string
|
|
318
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
319
|
-
selectedServerUid: string;
|
|
320
|
-
servers: string[];
|
|
321
|
-
examples: string[];
|
|
318
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
319
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
320
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
321
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
322
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
322
323
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
323
324
|
description?: string | undefined;
|
|
324
325
|
summary?: string | undefined;
|
|
@@ -335,10 +336,10 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
335
336
|
parameters?: {
|
|
336
337
|
required: boolean;
|
|
337
338
|
name: string;
|
|
338
|
-
in: "path" | "
|
|
339
|
+
in: "path" | "cookie" | "query" | "header";
|
|
339
340
|
deprecated: boolean;
|
|
340
|
-
description?: string | undefined;
|
|
341
341
|
example?: unknown;
|
|
342
|
+
description?: string | undefined;
|
|
342
343
|
schema?: unknown;
|
|
343
344
|
content?: unknown;
|
|
344
345
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -351,7 +352,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
351
352
|
responses?: Record<string, any> | undefined;
|
|
352
353
|
}>;
|
|
353
354
|
servers: Record<string, {
|
|
354
|
-
uid: string
|
|
355
|
+
uid: string & import("zod").BRAND<"server">;
|
|
355
356
|
url: string;
|
|
356
357
|
description?: string | undefined;
|
|
357
358
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -362,14 +363,14 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
362
363
|
securitySchemes: Record<string, {
|
|
363
364
|
type: "apiKey";
|
|
364
365
|
value: string;
|
|
365
|
-
uid: string
|
|
366
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
366
367
|
name: string;
|
|
367
368
|
nameKey: string;
|
|
368
|
-
in: "
|
|
369
|
+
in: "cookie" | "query" | "header";
|
|
369
370
|
description?: string | undefined;
|
|
370
371
|
} | {
|
|
371
372
|
type: "http";
|
|
372
|
-
uid: string
|
|
373
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
373
374
|
nameKey: string;
|
|
374
375
|
scheme: "basic" | "bearer";
|
|
375
376
|
bearerFormat: string;
|
|
@@ -379,13 +380,13 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
379
380
|
description?: string | undefined;
|
|
380
381
|
} | {
|
|
381
382
|
type: "openIdConnect";
|
|
382
|
-
uid: string
|
|
383
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
383
384
|
nameKey: string;
|
|
384
385
|
openIdConnectUrl: string;
|
|
385
386
|
description?: string | undefined;
|
|
386
387
|
} | {
|
|
387
388
|
type: "oauth2";
|
|
388
|
-
uid: string
|
|
389
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
389
390
|
nameKey: string;
|
|
390
391
|
flows: {
|
|
391
392
|
password?: {
|
|
@@ -463,7 +464,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
463
464
|
description?: string | undefined;
|
|
464
465
|
url?: string | undefined;
|
|
465
466
|
} | undefined;
|
|
466
|
-
children?:
|
|
467
|
+
children?: string[] | undefined;
|
|
467
468
|
openapi?: string | undefined;
|
|
468
469
|
jsonSchemaDialect?: string | undefined;
|
|
469
470
|
info?: {
|
|
@@ -497,15 +498,15 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
497
498
|
color?: string | undefined;
|
|
498
499
|
}> | undefined;
|
|
499
500
|
'x-scalar-secrets'?: Record<string, {
|
|
500
|
-
description?: string | undefined;
|
|
501
501
|
example?: string | undefined;
|
|
502
|
+
description?: string | undefined;
|
|
502
503
|
}> | undefined;
|
|
503
504
|
securitySchemes?: string[] | undefined;
|
|
504
|
-
selectedSecuritySchemeUids?: (string |
|
|
505
|
+
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
505
506
|
selectedServerUid?: string | undefined;
|
|
506
|
-
servers?:
|
|
507
|
-
requests?:
|
|
508
|
-
tags?:
|
|
507
|
+
servers?: string[] | undefined;
|
|
508
|
+
requests?: string[] | undefined;
|
|
509
|
+
tags?: string[] | undefined;
|
|
509
510
|
documentUrl?: string | undefined;
|
|
510
511
|
watchMode?: boolean | undefined;
|
|
511
512
|
integration?: string | null | undefined;
|
|
@@ -514,59 +515,14 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
514
515
|
setCollectionSecurity?: boolean;
|
|
515
516
|
shouldLoad?: boolean;
|
|
516
517
|
} & Pick<ReferenceConfiguration, "servers">) => Promise<{
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
selectedServerUid: string;
|
|
526
|
-
servers: string[];
|
|
527
|
-
requests: string[];
|
|
528
|
-
tags: string[];
|
|
529
|
-
watchMode: boolean;
|
|
530
|
-
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
531
|
-
externalDocs?: {
|
|
532
|
-
url: string;
|
|
533
|
-
description?: string | undefined;
|
|
534
|
-
} | undefined;
|
|
535
|
-
jsonSchemaDialect?: string | undefined;
|
|
536
|
-
info?: {
|
|
537
|
-
title: string;
|
|
538
|
-
version: string;
|
|
539
|
-
description?: string | undefined;
|
|
540
|
-
summary?: string | undefined;
|
|
541
|
-
termsOfService?: string | undefined;
|
|
542
|
-
contact?: {
|
|
543
|
-
name?: string | undefined;
|
|
544
|
-
url?: string | undefined;
|
|
545
|
-
email?: string | undefined;
|
|
546
|
-
} | undefined;
|
|
547
|
-
license?: {
|
|
548
|
-
name: string;
|
|
549
|
-
identifier?: string | undefined;
|
|
550
|
-
url?: string | undefined;
|
|
551
|
-
} | undefined;
|
|
552
|
-
} | undefined;
|
|
553
|
-
components?: Record<string, unknown> | undefined;
|
|
554
|
-
webhooks?: Record<string, unknown> | undefined;
|
|
555
|
-
'x-scalar-active-environment'?: string | undefined;
|
|
556
|
-
'x-scalar-environments'?: Record<string, {
|
|
557
|
-
variables: Record<string, string | {
|
|
558
|
-
default: string;
|
|
559
|
-
description?: string | undefined;
|
|
560
|
-
}>;
|
|
561
|
-
description?: string | undefined;
|
|
562
|
-
color?: string | undefined;
|
|
563
|
-
}> | undefined;
|
|
564
|
-
'x-scalar-secrets'?: Record<string, {
|
|
565
|
-
description?: string | undefined;
|
|
566
|
-
example?: string | undefined;
|
|
567
|
-
}> | undefined;
|
|
568
|
-
documentUrl?: string | undefined;
|
|
569
|
-
integration?: string | null | undefined;
|
|
518
|
+
error: false;
|
|
519
|
+
collection: import("@scalar/oas-utils/entities/spec").Collection;
|
|
520
|
+
requests: import("@scalar/oas-utils/entities/spec").Request[];
|
|
521
|
+
schema: import("@scalar/openapi-types").OpenAPIV3_1.Document;
|
|
522
|
+
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
523
|
+
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
524
|
+
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
525
|
+
securitySchemes: SecurityScheme[];
|
|
570
526
|
} | undefined>;
|
|
571
527
|
importSpecFromUrl: (url: string, workspaceUid: string, { proxyUrl, ...options }?: Omit<Pick<{
|
|
572
528
|
type?: "collection" | undefined;
|
|
@@ -575,7 +531,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
575
531
|
description?: string | undefined;
|
|
576
532
|
url?: string | undefined;
|
|
577
533
|
} | undefined;
|
|
578
|
-
children?:
|
|
534
|
+
children?: string[] | undefined;
|
|
579
535
|
openapi?: string | undefined;
|
|
580
536
|
jsonSchemaDialect?: string | undefined;
|
|
581
537
|
info?: {
|
|
@@ -609,15 +565,15 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
609
565
|
color?: string | undefined;
|
|
610
566
|
}> | undefined;
|
|
611
567
|
'x-scalar-secrets'?: Record<string, {
|
|
612
|
-
description?: string | undefined;
|
|
613
568
|
example?: string | undefined;
|
|
569
|
+
description?: string | undefined;
|
|
614
570
|
}> | undefined;
|
|
615
571
|
securitySchemes?: string[] | undefined;
|
|
616
|
-
selectedSecuritySchemeUids?: (string |
|
|
572
|
+
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
617
573
|
selectedServerUid?: string | undefined;
|
|
618
|
-
servers?:
|
|
619
|
-
requests?:
|
|
620
|
-
tags?:
|
|
574
|
+
servers?: string[] | undefined;
|
|
575
|
+
requests?: string[] | undefined;
|
|
576
|
+
tags?: string[] | undefined;
|
|
621
577
|
documentUrl?: string | undefined;
|
|
622
578
|
watchMode?: boolean | undefined;
|
|
623
579
|
integration?: string | null | undefined;
|
|
@@ -632,7 +588,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
632
588
|
description?: string | undefined;
|
|
633
589
|
url?: string | undefined;
|
|
634
590
|
} | undefined;
|
|
635
|
-
children?:
|
|
591
|
+
children?: string[] | undefined;
|
|
636
592
|
openapi?: string | undefined;
|
|
637
593
|
jsonSchemaDialect?: string | undefined;
|
|
638
594
|
info?: {
|
|
@@ -666,15 +622,15 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
666
622
|
color?: string | undefined;
|
|
667
623
|
}> | undefined;
|
|
668
624
|
'x-scalar-secrets'?: Record<string, {
|
|
669
|
-
description?: string | undefined;
|
|
670
625
|
example?: string | undefined;
|
|
626
|
+
description?: string | undefined;
|
|
671
627
|
}> | undefined;
|
|
672
628
|
securitySchemes?: string[] | undefined;
|
|
673
|
-
selectedSecuritySchemeUids?: (string |
|
|
629
|
+
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
674
630
|
selectedServerUid?: string | undefined;
|
|
675
|
-
servers?:
|
|
676
|
-
requests?:
|
|
677
|
-
tags?:
|
|
631
|
+
servers?: string[] | undefined;
|
|
632
|
+
requests?: string[] | undefined;
|
|
633
|
+
tags?: string[] | undefined;
|
|
678
634
|
documentUrl?: string | undefined;
|
|
679
635
|
watchMode?: boolean | undefined;
|
|
680
636
|
integration?: string | null | undefined;
|
|
@@ -683,132 +639,86 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
683
639
|
setCollectionSecurity?: boolean;
|
|
684
640
|
shouldLoad?: boolean;
|
|
685
641
|
} & Pick<ReferenceConfiguration, "servers">) => Promise<{
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
selectedServerUid: string;
|
|
695
|
-
servers: string[];
|
|
696
|
-
requests: string[];
|
|
697
|
-
tags: string[];
|
|
698
|
-
watchMode: boolean;
|
|
699
|
-
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
700
|
-
externalDocs?: {
|
|
701
|
-
url: string;
|
|
702
|
-
description?: string | undefined;
|
|
703
|
-
} | undefined;
|
|
704
|
-
jsonSchemaDialect?: string | undefined;
|
|
705
|
-
info?: {
|
|
706
|
-
title: string;
|
|
707
|
-
version: string;
|
|
708
|
-
description?: string | undefined;
|
|
709
|
-
summary?: string | undefined;
|
|
710
|
-
termsOfService?: string | undefined;
|
|
711
|
-
contact?: {
|
|
712
|
-
name?: string | undefined;
|
|
713
|
-
url?: string | undefined;
|
|
714
|
-
email?: string | undefined;
|
|
715
|
-
} | undefined;
|
|
716
|
-
license?: {
|
|
717
|
-
name: string;
|
|
718
|
-
identifier?: string | undefined;
|
|
719
|
-
url?: string | undefined;
|
|
720
|
-
} | undefined;
|
|
721
|
-
} | undefined;
|
|
722
|
-
components?: Record<string, unknown> | undefined;
|
|
723
|
-
webhooks?: Record<string, unknown> | undefined;
|
|
724
|
-
'x-scalar-active-environment'?: string | undefined;
|
|
725
|
-
'x-scalar-environments'?: Record<string, {
|
|
726
|
-
variables: Record<string, string | {
|
|
727
|
-
default: string;
|
|
728
|
-
description?: string | undefined;
|
|
729
|
-
}>;
|
|
730
|
-
description?: string | undefined;
|
|
731
|
-
color?: string | undefined;
|
|
732
|
-
}> | undefined;
|
|
733
|
-
'x-scalar-secrets'?: Record<string, {
|
|
734
|
-
description?: string | undefined;
|
|
735
|
-
example?: string | undefined;
|
|
736
|
-
}> | undefined;
|
|
737
|
-
documentUrl?: string | undefined;
|
|
738
|
-
integration?: string | null | undefined;
|
|
642
|
+
error: false;
|
|
643
|
+
collection: import("@scalar/oas-utils/entities/spec").Collection;
|
|
644
|
+
requests: import("@scalar/oas-utils/entities/spec").Request[];
|
|
645
|
+
schema: import("@scalar/openapi-types").OpenAPIV3_1.Document;
|
|
646
|
+
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
647
|
+
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
648
|
+
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
649
|
+
securitySchemes: SecurityScheme[];
|
|
739
650
|
} | undefined>>>>>;
|
|
740
651
|
cookieMutators: {
|
|
741
652
|
add: (item: {
|
|
742
653
|
value: string;
|
|
743
|
-
uid: string
|
|
654
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
744
655
|
name: string;
|
|
745
656
|
path?: string | undefined;
|
|
746
657
|
domain?: string | undefined;
|
|
747
658
|
}) => void;
|
|
748
|
-
delete: (uid: string) => void;
|
|
659
|
+
delete: (uid: (string & import("zod").BRAND<"cookie">) | null | undefined) => void;
|
|
749
660
|
set: (item: {
|
|
750
661
|
value: string;
|
|
751
|
-
uid: string
|
|
662
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
752
663
|
name: string;
|
|
753
664
|
path?: string | undefined;
|
|
754
665
|
domain?: string | undefined;
|
|
755
666
|
}) => void;
|
|
756
|
-
edit: <P extends "name" | "uid" | "path" | "value" | "domain">(uid: string, path: P, value: P extends "name" | "uid" | "path" | "value" | "domain" ? {
|
|
667
|
+
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" ? {
|
|
757
668
|
value: string;
|
|
758
|
-
uid: string
|
|
669
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
759
670
|
name: string;
|
|
760
671
|
path?: string | undefined;
|
|
761
672
|
domain?: string | undefined;
|
|
762
673
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "path" | "value" | "domain" ? R extends Path<{
|
|
763
674
|
value: string;
|
|
764
|
-
uid: string
|
|
675
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
765
676
|
name: string;
|
|
766
677
|
path?: string | undefined;
|
|
767
678
|
domain?: string | undefined;
|
|
768
679
|
}[K]> ? PathValue<{
|
|
769
680
|
value: string;
|
|
770
|
-
uid: string
|
|
681
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
771
682
|
name: string;
|
|
772
683
|
path?: string | undefined;
|
|
773
684
|
domain?: string | undefined;
|
|
774
685
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
775
|
-
untrackedEdit: <P extends "name" | "uid" | "path" | "value" | "domain">(uid: string
|
|
686
|
+
untrackedEdit: <P extends "name" | "uid" | "path" | "value" | "domain">(uid: string & import("zod").BRAND<"cookie">, path: P, value: P extends "name" | "uid" | "path" | "value" | "domain" ? {
|
|
776
687
|
value: string;
|
|
777
|
-
uid: string
|
|
688
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
778
689
|
name: string;
|
|
779
690
|
path?: string | undefined;
|
|
780
691
|
domain?: string | undefined;
|
|
781
692
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "path" | "value" | "domain" ? R extends Path<{
|
|
782
693
|
value: string;
|
|
783
|
-
uid: string
|
|
694
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
784
695
|
name: string;
|
|
785
696
|
path?: string | undefined;
|
|
786
697
|
domain?: string | undefined;
|
|
787
698
|
}[K]> ? PathValue<{
|
|
788
699
|
value: string;
|
|
789
|
-
uid: string
|
|
700
|
+
uid: string & import("zod").BRAND<"cookie">;
|
|
790
701
|
name: string;
|
|
791
702
|
path?: string | undefined;
|
|
792
703
|
domain?: string | undefined;
|
|
793
704
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
794
|
-
undo: (uid: string) => void;
|
|
795
|
-
redo: (uid: string) => void;
|
|
705
|
+
undo: (uid: string & import("zod").BRAND<"cookie">) => void;
|
|
706
|
+
redo: (uid: string & import("zod").BRAND<"cookie">) => void;
|
|
796
707
|
reset: () => void;
|
|
797
708
|
};
|
|
798
709
|
collectionMutators: {
|
|
799
710
|
rawAdd: (item: {
|
|
800
711
|
type: "collection";
|
|
801
|
-
uid: string
|
|
802
|
-
children: string[];
|
|
712
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
713
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
803
714
|
openapi: string;
|
|
804
715
|
security: Record<string, string[]>[];
|
|
805
716
|
'x-scalar-icon': string;
|
|
806
717
|
securitySchemes: string[];
|
|
807
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
tags: string[];
|
|
718
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
719
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
720
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
721
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
812
722
|
watchMode: boolean;
|
|
813
723
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
814
724
|
externalDocs?: {
|
|
@@ -845,25 +755,25 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
845
755
|
color?: string | undefined;
|
|
846
756
|
}> | undefined;
|
|
847
757
|
'x-scalar-secrets'?: Record<string, {
|
|
848
|
-
description?: string | undefined;
|
|
849
758
|
example?: string | undefined;
|
|
759
|
+
description?: string | undefined;
|
|
850
760
|
}> | undefined;
|
|
761
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
851
762
|
documentUrl?: string | undefined;
|
|
852
763
|
integration?: string | null | undefined;
|
|
853
764
|
}) => void;
|
|
854
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid:
|
|
765
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid: Workspace["uid"]) => {
|
|
855
766
|
type: "collection";
|
|
856
|
-
uid: string
|
|
857
|
-
children: string[];
|
|
767
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
768
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
858
769
|
openapi: string;
|
|
859
770
|
security: Record<string, string[]>[];
|
|
860
771
|
'x-scalar-icon': string;
|
|
861
772
|
securitySchemes: string[];
|
|
862
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
tags: string[];
|
|
773
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
774
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
775
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
776
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
867
777
|
watchMode: boolean;
|
|
868
778
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
869
779
|
externalDocs?: {
|
|
@@ -900,28 +810,28 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
900
810
|
color?: string | undefined;
|
|
901
811
|
}> | undefined;
|
|
902
812
|
'x-scalar-secrets'?: Record<string, {
|
|
903
|
-
description?: string | undefined;
|
|
904
813
|
example?: string | undefined;
|
|
814
|
+
description?: string | undefined;
|
|
905
815
|
}> | undefined;
|
|
816
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
906
817
|
documentUrl?: string | undefined;
|
|
907
818
|
integration?: string | null | undefined;
|
|
908
819
|
};
|
|
909
|
-
delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace:
|
|
910
|
-
addEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid:
|
|
911
|
-
removeEnvironment: (environmentName: string, collectionUid:
|
|
820
|
+
delete: (collection: import("@scalar/oas-utils/entities/spec").Collection, workspace: Workspace) => void;
|
|
821
|
+
addEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
822
|
+
removeEnvironment: (environmentName: string, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
912
823
|
set: (item: {
|
|
913
824
|
type: "collection";
|
|
914
|
-
uid: string
|
|
915
|
-
children: string[];
|
|
825
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
826
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
916
827
|
openapi: string;
|
|
917
828
|
security: Record<string, string[]>[];
|
|
918
829
|
'x-scalar-icon': string;
|
|
919
830
|
securitySchemes: string[];
|
|
920
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
tags: string[];
|
|
831
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
832
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
833
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
834
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
925
835
|
watchMode: boolean;
|
|
926
836
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
927
837
|
externalDocs?: {
|
|
@@ -958,25 +868,25 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
958
868
|
color?: string | undefined;
|
|
959
869
|
}> | undefined;
|
|
960
870
|
'x-scalar-secrets'?: Record<string, {
|
|
961
|
-
description?: string | undefined;
|
|
962
871
|
example?: string | undefined;
|
|
872
|
+
description?: string | undefined;
|
|
963
873
|
}> | undefined;
|
|
874
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
964
875
|
documentUrl?: string | undefined;
|
|
965
876
|
integration?: string | null | undefined;
|
|
966
877
|
}) => void;
|
|
967
|
-
edit: <P extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "
|
|
878
|
+
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" ? {
|
|
968
879
|
type: "collection";
|
|
969
|
-
uid: string
|
|
970
|
-
children: string[];
|
|
880
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
881
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
971
882
|
openapi: string;
|
|
972
883
|
security: Record<string, string[]>[];
|
|
973
884
|
'x-scalar-icon': string;
|
|
974
885
|
securitySchemes: string[];
|
|
975
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
tags: string[];
|
|
886
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
887
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
888
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
889
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
980
890
|
watchMode: boolean;
|
|
981
891
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
982
892
|
externalDocs?: {
|
|
@@ -1013,24 +923,24 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1013
923
|
color?: string | undefined;
|
|
1014
924
|
}> | undefined;
|
|
1015
925
|
'x-scalar-secrets'?: Record<string, {
|
|
1016
|
-
description?: string | undefined;
|
|
1017
926
|
example?: string | undefined;
|
|
927
|
+
description?: string | undefined;
|
|
1018
928
|
}> | undefined;
|
|
929
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1019
930
|
documentUrl?: string | undefined;
|
|
1020
931
|
integration?: string | null | undefined;
|
|
1021
|
-
}[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" | "
|
|
932
|
+
}[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<{
|
|
1022
933
|
type: "collection";
|
|
1023
|
-
uid: string
|
|
1024
|
-
children: string[];
|
|
934
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
935
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
1025
936
|
openapi: string;
|
|
1026
937
|
security: Record<string, string[]>[];
|
|
1027
938
|
'x-scalar-icon': string;
|
|
1028
939
|
securitySchemes: string[];
|
|
1029
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
tags: string[];
|
|
940
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
941
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
942
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
943
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1034
944
|
watchMode: boolean;
|
|
1035
945
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1036
946
|
externalDocs?: {
|
|
@@ -1067,24 +977,24 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1067
977
|
color?: string | undefined;
|
|
1068
978
|
}> | undefined;
|
|
1069
979
|
'x-scalar-secrets'?: Record<string, {
|
|
1070
|
-
description?: string | undefined;
|
|
1071
980
|
example?: string | undefined;
|
|
981
|
+
description?: string | undefined;
|
|
1072
982
|
}> | undefined;
|
|
983
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1073
984
|
documentUrl?: string | undefined;
|
|
1074
985
|
integration?: string | null | undefined;
|
|
1075
986
|
}[K]> ? PathValue<{
|
|
1076
987
|
type: "collection";
|
|
1077
|
-
uid: string
|
|
1078
|
-
children: string[];
|
|
988
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
989
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
1079
990
|
openapi: string;
|
|
1080
991
|
security: Record<string, string[]>[];
|
|
1081
992
|
'x-scalar-icon': string;
|
|
1082
993
|
securitySchemes: string[];
|
|
1083
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
tags: string[];
|
|
994
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
995
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
996
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
997
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1088
998
|
watchMode: boolean;
|
|
1089
999
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1090
1000
|
externalDocs?: {
|
|
@@ -1121,25 +1031,25 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1121
1031
|
color?: string | undefined;
|
|
1122
1032
|
}> | undefined;
|
|
1123
1033
|
'x-scalar-secrets'?: Record<string, {
|
|
1124
|
-
description?: string | undefined;
|
|
1125
1034
|
example?: string | undefined;
|
|
1035
|
+
description?: string | undefined;
|
|
1126
1036
|
}> | undefined;
|
|
1037
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1127
1038
|
documentUrl?: string | undefined;
|
|
1128
1039
|
integration?: string | null | undefined;
|
|
1129
1040
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1130
|
-
untrackedEdit: <P extends "servers" | "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "
|
|
1041
|
+
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" ? {
|
|
1131
1042
|
type: "collection";
|
|
1132
|
-
uid: string
|
|
1133
|
-
children: string[];
|
|
1043
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
1044
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
1134
1045
|
openapi: string;
|
|
1135
1046
|
security: Record<string, string[]>[];
|
|
1136
1047
|
'x-scalar-icon': string;
|
|
1137
1048
|
securitySchemes: string[];
|
|
1138
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
tags: string[];
|
|
1049
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1050
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1051
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
1052
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1143
1053
|
watchMode: boolean;
|
|
1144
1054
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1145
1055
|
externalDocs?: {
|
|
@@ -1176,24 +1086,24 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1176
1086
|
color?: string | undefined;
|
|
1177
1087
|
}> | undefined;
|
|
1178
1088
|
'x-scalar-secrets'?: Record<string, {
|
|
1179
|
-
description?: string | undefined;
|
|
1180
1089
|
example?: string | undefined;
|
|
1090
|
+
description?: string | undefined;
|
|
1181
1091
|
}> | undefined;
|
|
1092
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1182
1093
|
documentUrl?: string | undefined;
|
|
1183
1094
|
integration?: string | null | undefined;
|
|
1184
|
-
}[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" | "
|
|
1095
|
+
}[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<{
|
|
1185
1096
|
type: "collection";
|
|
1186
|
-
uid: string
|
|
1187
|
-
children: string[];
|
|
1097
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
1098
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
1188
1099
|
openapi: string;
|
|
1189
1100
|
security: Record<string, string[]>[];
|
|
1190
1101
|
'x-scalar-icon': string;
|
|
1191
1102
|
securitySchemes: string[];
|
|
1192
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
tags: string[];
|
|
1103
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1104
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1105
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
1106
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1197
1107
|
watchMode: boolean;
|
|
1198
1108
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1199
1109
|
externalDocs?: {
|
|
@@ -1230,24 +1140,24 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1230
1140
|
color?: string | undefined;
|
|
1231
1141
|
}> | undefined;
|
|
1232
1142
|
'x-scalar-secrets'?: Record<string, {
|
|
1233
|
-
description?: string | undefined;
|
|
1234
1143
|
example?: string | undefined;
|
|
1144
|
+
description?: string | undefined;
|
|
1235
1145
|
}> | undefined;
|
|
1146
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1236
1147
|
documentUrl?: string | undefined;
|
|
1237
1148
|
integration?: string | null | undefined;
|
|
1238
1149
|
}[K]> ? PathValue<{
|
|
1239
1150
|
type: "collection";
|
|
1240
|
-
uid: string
|
|
1241
|
-
children: string[];
|
|
1151
|
+
uid: string & import("zod").BRAND<"collection">;
|
|
1152
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
1242
1153
|
openapi: string;
|
|
1243
1154
|
security: Record<string, string[]>[];
|
|
1244
1155
|
'x-scalar-icon': string;
|
|
1245
1156
|
securitySchemes: string[];
|
|
1246
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
tags: string[];
|
|
1157
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1158
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1159
|
+
requests: (string & import("zod").BRAND<"operation">)[];
|
|
1160
|
+
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1251
1161
|
watchMode: boolean;
|
|
1252
1162
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1253
1163
|
externalDocs?: {
|
|
@@ -1284,83 +1194,84 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1284
1194
|
color?: string | undefined;
|
|
1285
1195
|
}> | undefined;
|
|
1286
1196
|
'x-scalar-secrets'?: Record<string, {
|
|
1287
|
-
description?: string | undefined;
|
|
1288
1197
|
example?: string | undefined;
|
|
1198
|
+
description?: string | undefined;
|
|
1289
1199
|
}> | undefined;
|
|
1200
|
+
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1290
1201
|
documentUrl?: string | undefined;
|
|
1291
1202
|
integration?: string | null | undefined;
|
|
1292
1203
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1293
|
-
undo: (uid: string) => void;
|
|
1294
|
-
redo: (uid: string) => void;
|
|
1204
|
+
undo: (uid: string & import("zod").BRAND<"collection">) => void;
|
|
1205
|
+
redo: (uid: string & import("zod").BRAND<"collection">) => void;
|
|
1295
1206
|
reset: () => void;
|
|
1296
1207
|
};
|
|
1297
1208
|
environmentMutators: {
|
|
1298
|
-
delete: (uid:
|
|
1209
|
+
delete: (uid: import("@scalar/oas-utils/entities/environment").Environment["uid"]) => void;
|
|
1299
1210
|
add: (item: {
|
|
1300
1211
|
value: string;
|
|
1301
|
-
uid: string
|
|
1212
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1302
1213
|
name: string;
|
|
1303
1214
|
color: string;
|
|
1304
1215
|
isDefault?: boolean | undefined;
|
|
1305
1216
|
}) => void;
|
|
1306
1217
|
set: (item: {
|
|
1307
1218
|
value: string;
|
|
1308
|
-
uid: string
|
|
1219
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1309
1220
|
name: string;
|
|
1310
1221
|
color: string;
|
|
1311
1222
|
isDefault?: boolean | undefined;
|
|
1312
1223
|
}) => void;
|
|
1313
|
-
edit: <P extends "name" | "uid" | "color" | "
|
|
1224
|
+
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" ? {
|
|
1314
1225
|
value: string;
|
|
1315
|
-
uid: string
|
|
1226
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1316
1227
|
name: string;
|
|
1317
1228
|
color: string;
|
|
1318
1229
|
isDefault?: boolean | undefined;
|
|
1319
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "color" | "
|
|
1230
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "color" | "value" | "isDefault" ? R extends Path<{
|
|
1320
1231
|
value: string;
|
|
1321
|
-
uid: string
|
|
1232
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1322
1233
|
name: string;
|
|
1323
1234
|
color: string;
|
|
1324
1235
|
isDefault?: boolean | undefined;
|
|
1325
1236
|
}[K]> ? PathValue<{
|
|
1326
1237
|
value: string;
|
|
1327
|
-
uid: string
|
|
1238
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1328
1239
|
name: string;
|
|
1329
1240
|
color: string;
|
|
1330
1241
|
isDefault?: boolean | undefined;
|
|
1331
1242
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1332
|
-
untrackedEdit: <P extends "name" | "uid" | "color" | "
|
|
1243
|
+
untrackedEdit: <P extends "name" | "uid" | "color" | "value" | "isDefault">(uid: string & import("zod").BRAND<"environment">, path: P, value: P extends "name" | "uid" | "color" | "value" | "isDefault" ? {
|
|
1333
1244
|
value: string;
|
|
1334
|
-
uid: string
|
|
1245
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1335
1246
|
name: string;
|
|
1336
1247
|
color: string;
|
|
1337
1248
|
isDefault?: boolean | undefined;
|
|
1338
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "color" | "
|
|
1249
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "color" | "value" | "isDefault" ? R extends Path<{
|
|
1339
1250
|
value: string;
|
|
1340
|
-
uid: string
|
|
1251
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1341
1252
|
name: string;
|
|
1342
1253
|
color: string;
|
|
1343
1254
|
isDefault?: boolean | undefined;
|
|
1344
1255
|
}[K]> ? PathValue<{
|
|
1345
1256
|
value: string;
|
|
1346
|
-
uid: string
|
|
1257
|
+
uid: string & import("zod").BRAND<"environment">;
|
|
1347
1258
|
name: string;
|
|
1348
1259
|
color: string;
|
|
1349
1260
|
isDefault?: boolean | undefined;
|
|
1350
1261
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1351
|
-
undo: (uid: string) => void;
|
|
1352
|
-
redo: (uid: string) => void;
|
|
1262
|
+
undo: (uid: string & import("zod").BRAND<"environment">) => void;
|
|
1263
|
+
redo: (uid: string & import("zod").BRAND<"environment">) => void;
|
|
1353
1264
|
reset: () => void;
|
|
1354
1265
|
};
|
|
1355
1266
|
requestMutators: {
|
|
1356
1267
|
rawAdd: (item: {
|
|
1357
1268
|
path: string;
|
|
1358
1269
|
type: "request";
|
|
1359
|
-
uid: string
|
|
1360
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1361
|
-
selectedServerUid: string;
|
|
1362
|
-
servers: string[];
|
|
1363
|
-
examples: string[];
|
|
1270
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1271
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1272
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1273
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1274
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1364
1275
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1365
1276
|
description?: string | undefined;
|
|
1366
1277
|
summary?: string | undefined;
|
|
@@ -1377,10 +1288,10 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1377
1288
|
parameters?: {
|
|
1378
1289
|
required: boolean;
|
|
1379
1290
|
name: string;
|
|
1380
|
-
in: "path" | "
|
|
1291
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1381
1292
|
deprecated: boolean;
|
|
1382
|
-
description?: string | undefined;
|
|
1383
1293
|
example?: unknown;
|
|
1294
|
+
description?: string | undefined;
|
|
1384
1295
|
schema?: unknown;
|
|
1385
1296
|
content?: unknown;
|
|
1386
1297
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1392,14 +1303,14 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1392
1303
|
requestBody?: any;
|
|
1393
1304
|
responses?: Record<string, any> | undefined;
|
|
1394
1305
|
}) => void;
|
|
1395
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").RequestPayload, collectionUid:
|
|
1306
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").RequestPayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void | {
|
|
1396
1307
|
path: string;
|
|
1397
1308
|
type: "request";
|
|
1398
|
-
uid: string
|
|
1399
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1400
|
-
selectedServerUid: string;
|
|
1401
|
-
servers: string[];
|
|
1402
|
-
examples: string[];
|
|
1309
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1310
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1311
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1312
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1313
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1403
1314
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1404
1315
|
description?: string | undefined;
|
|
1405
1316
|
summary?: string | undefined;
|
|
@@ -1416,10 +1327,10 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1416
1327
|
parameters?: {
|
|
1417
1328
|
required: boolean;
|
|
1418
1329
|
name: string;
|
|
1419
|
-
in: "path" | "
|
|
1330
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1420
1331
|
deprecated: boolean;
|
|
1421
|
-
description?: string | undefined;
|
|
1422
1332
|
example?: unknown;
|
|
1333
|
+
description?: string | undefined;
|
|
1423
1334
|
schema?: unknown;
|
|
1424
1335
|
content?: unknown;
|
|
1425
1336
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1431,15 +1342,15 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1431
1342
|
requestBody?: any;
|
|
1432
1343
|
responses?: Record<string, any> | undefined;
|
|
1433
1344
|
};
|
|
1434
|
-
delete: (request: import("@scalar/oas-utils/entities/spec").Request, collectionUid:
|
|
1345
|
+
delete: (request: import("@scalar/oas-utils/entities/spec").Request, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
1435
1346
|
set: (item: {
|
|
1436
1347
|
path: string;
|
|
1437
1348
|
type: "request";
|
|
1438
|
-
uid: string
|
|
1439
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1440
|
-
selectedServerUid: string;
|
|
1441
|
-
servers: string[];
|
|
1442
|
-
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">)[];
|
|
1443
1354
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1444
1355
|
description?: string | undefined;
|
|
1445
1356
|
summary?: string | undefined;
|
|
@@ -1456,10 +1367,10 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1456
1367
|
parameters?: {
|
|
1457
1368
|
required: boolean;
|
|
1458
1369
|
name: string;
|
|
1459
|
-
in: "path" | "
|
|
1370
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1460
1371
|
deprecated: boolean;
|
|
1461
|
-
description?: string | undefined;
|
|
1462
1372
|
example?: unknown;
|
|
1373
|
+
description?: string | undefined;
|
|
1463
1374
|
schema?: unknown;
|
|
1464
1375
|
content?: unknown;
|
|
1465
1376
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1471,14 +1382,14 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1471
1382
|
requestBody?: any;
|
|
1472
1383
|
responses?: Record<string, any> | undefined;
|
|
1473
1384
|
}) => void;
|
|
1474
|
-
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" ? {
|
|
1385
|
+
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" ? {
|
|
1475
1386
|
path: string;
|
|
1476
1387
|
type: "request";
|
|
1477
|
-
uid: string
|
|
1478
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1479
|
-
selectedServerUid: string;
|
|
1480
|
-
servers: string[];
|
|
1481
|
-
examples: string[];
|
|
1388
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1389
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1390
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1391
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1392
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1482
1393
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1483
1394
|
description?: string | undefined;
|
|
1484
1395
|
summary?: string | undefined;
|
|
@@ -1495,10 +1406,10 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1495
1406
|
parameters?: {
|
|
1496
1407
|
required: boolean;
|
|
1497
1408
|
name: string;
|
|
1498
|
-
in: "path" | "
|
|
1409
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1499
1410
|
deprecated: boolean;
|
|
1500
|
-
description?: string | undefined;
|
|
1501
1411
|
example?: unknown;
|
|
1412
|
+
description?: string | undefined;
|
|
1502
1413
|
schema?: unknown;
|
|
1503
1414
|
content?: unknown;
|
|
1504
1415
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1512,11 +1423,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1512
1423
|
}[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<{
|
|
1513
1424
|
path: string;
|
|
1514
1425
|
type: "request";
|
|
1515
|
-
uid: string
|
|
1516
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1517
|
-
selectedServerUid: string;
|
|
1518
|
-
servers: string[];
|
|
1519
|
-
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">)[];
|
|
1520
1431
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1521
1432
|
description?: string | undefined;
|
|
1522
1433
|
summary?: string | undefined;
|
|
@@ -1533,10 +1444,10 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1533
1444
|
parameters?: {
|
|
1534
1445
|
required: boolean;
|
|
1535
1446
|
name: string;
|
|
1536
|
-
in: "path" | "
|
|
1447
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1537
1448
|
deprecated: boolean;
|
|
1538
|
-
description?: string | undefined;
|
|
1539
1449
|
example?: unknown;
|
|
1450
|
+
description?: string | undefined;
|
|
1540
1451
|
schema?: unknown;
|
|
1541
1452
|
content?: unknown;
|
|
1542
1453
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1550,11 +1461,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1550
1461
|
}[K]> ? PathValue<{
|
|
1551
1462
|
path: string;
|
|
1552
1463
|
type: "request";
|
|
1553
|
-
uid: string
|
|
1554
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1555
|
-
selectedServerUid: string;
|
|
1556
|
-
servers: string[];
|
|
1557
|
-
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">)[];
|
|
1558
1469
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1559
1470
|
description?: string | undefined;
|
|
1560
1471
|
summary?: string | undefined;
|
|
@@ -1571,10 +1482,10 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1571
1482
|
parameters?: {
|
|
1572
1483
|
required: boolean;
|
|
1573
1484
|
name: string;
|
|
1574
|
-
in: "path" | "
|
|
1485
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1575
1486
|
deprecated: boolean;
|
|
1576
|
-
description?: string | undefined;
|
|
1577
1487
|
example?: unknown;
|
|
1488
|
+
description?: string | undefined;
|
|
1578
1489
|
schema?: unknown;
|
|
1579
1490
|
content?: unknown;
|
|
1580
1491
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1586,14 +1497,14 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1586
1497
|
requestBody?: any;
|
|
1587
1498
|
responses?: Record<string, any> | undefined;
|
|
1588
1499
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1589
|
-
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
|
|
1500
|
+
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" ? {
|
|
1590
1501
|
path: string;
|
|
1591
1502
|
type: "request";
|
|
1592
|
-
uid: string
|
|
1593
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1594
|
-
selectedServerUid: string;
|
|
1595
|
-
servers: string[];
|
|
1596
|
-
examples: string[];
|
|
1503
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1504
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1505
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1506
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1507
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1597
1508
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1598
1509
|
description?: string | undefined;
|
|
1599
1510
|
summary?: string | undefined;
|
|
@@ -1610,10 +1521,10 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1610
1521
|
parameters?: {
|
|
1611
1522
|
required: boolean;
|
|
1612
1523
|
name: string;
|
|
1613
|
-
in: "path" | "
|
|
1524
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1614
1525
|
deprecated: boolean;
|
|
1615
|
-
description?: string | undefined;
|
|
1616
1526
|
example?: unknown;
|
|
1527
|
+
description?: string | undefined;
|
|
1617
1528
|
schema?: unknown;
|
|
1618
1529
|
content?: unknown;
|
|
1619
1530
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1627,11 +1538,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1627
1538
|
}[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<{
|
|
1628
1539
|
path: string;
|
|
1629
1540
|
type: "request";
|
|
1630
|
-
uid: string
|
|
1631
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1632
|
-
selectedServerUid: string;
|
|
1633
|
-
servers: string[];
|
|
1634
|
-
examples: string[];
|
|
1541
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1542
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1543
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1544
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1545
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1635
1546
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1636
1547
|
description?: string | undefined;
|
|
1637
1548
|
summary?: string | undefined;
|
|
@@ -1648,10 +1559,10 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1648
1559
|
parameters?: {
|
|
1649
1560
|
required: boolean;
|
|
1650
1561
|
name: string;
|
|
1651
|
-
in: "path" | "
|
|
1562
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1652
1563
|
deprecated: boolean;
|
|
1653
|
-
description?: string | undefined;
|
|
1654
1564
|
example?: unknown;
|
|
1565
|
+
description?: string | undefined;
|
|
1655
1566
|
schema?: unknown;
|
|
1656
1567
|
content?: unknown;
|
|
1657
1568
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1665,11 +1576,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1665
1576
|
}[K]> ? PathValue<{
|
|
1666
1577
|
path: string;
|
|
1667
1578
|
type: "request";
|
|
1668
|
-
uid: string
|
|
1669
|
-
selectedSecuritySchemeUids: (string | string[])[];
|
|
1670
|
-
selectedServerUid: string;
|
|
1671
|
-
servers: string[];
|
|
1672
|
-
examples: string[];
|
|
1579
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1580
|
+
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1581
|
+
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1582
|
+
servers: (string & import("zod").BRAND<"server">)[];
|
|
1583
|
+
examples: (string & import("zod").BRAND<"example">)[];
|
|
1673
1584
|
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
1674
1585
|
description?: string | undefined;
|
|
1675
1586
|
summary?: string | undefined;
|
|
@@ -1686,10 +1597,10 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1686
1597
|
parameters?: {
|
|
1687
1598
|
required: boolean;
|
|
1688
1599
|
name: string;
|
|
1689
|
-
in: "path" | "
|
|
1600
|
+
in: "path" | "cookie" | "query" | "header";
|
|
1690
1601
|
deprecated: boolean;
|
|
1691
|
-
description?: string | undefined;
|
|
1692
1602
|
example?: unknown;
|
|
1603
|
+
description?: string | undefined;
|
|
1693
1604
|
schema?: unknown;
|
|
1694
1605
|
content?: unknown;
|
|
1695
1606
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1701,15 +1612,15 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1701
1612
|
requestBody?: any;
|
|
1702
1613
|
responses?: Record<string, any> | undefined;
|
|
1703
1614
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1704
|
-
undo: (uid: string) => void;
|
|
1705
|
-
redo: (uid: string) => void;
|
|
1615
|
+
undo: (uid: string & import("zod").BRAND<"operation">) => void;
|
|
1616
|
+
redo: (uid: string & import("zod").BRAND<"operation">) => void;
|
|
1706
1617
|
reset: () => void;
|
|
1707
1618
|
};
|
|
1708
1619
|
findRequestParents: (r: import("@scalar/oas-utils/entities/spec").Request) => string[];
|
|
1709
1620
|
requestExampleMutators: {
|
|
1710
1621
|
rawAdd: (item: {
|
|
1711
1622
|
type: "requestExample";
|
|
1712
|
-
uid: string
|
|
1623
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1713
1624
|
name: string;
|
|
1714
1625
|
parameters: {
|
|
1715
1626
|
path: {
|
|
@@ -1804,12 +1715,12 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1804
1715
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
1805
1716
|
} | undefined;
|
|
1806
1717
|
};
|
|
1807
|
-
requestUid
|
|
1718
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1808
1719
|
serverVariables?: Record<string, string[]> | undefined;
|
|
1809
1720
|
}) => void;
|
|
1810
1721
|
add: (request: import("@scalar/oas-utils/entities/spec").Request, _name?: string) => {
|
|
1811
1722
|
type: "requestExample";
|
|
1812
|
-
uid: string
|
|
1723
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1813
1724
|
name: string;
|
|
1814
1725
|
parameters: {
|
|
1815
1726
|
path: {
|
|
@@ -1904,13 +1815,13 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
1904
1815
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
1905
1816
|
} | undefined;
|
|
1906
1817
|
};
|
|
1907
|
-
requestUid
|
|
1818
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1908
1819
|
serverVariables?: Record<string, string[]> | undefined;
|
|
1909
1820
|
};
|
|
1910
1821
|
delete: (requestExample: import("@scalar/oas-utils/entities/spec").RequestExample) => void;
|
|
1911
1822
|
set: (item: {
|
|
1912
1823
|
type: "requestExample";
|
|
1913
|
-
uid: string
|
|
1824
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1914
1825
|
name: string;
|
|
1915
1826
|
parameters: {
|
|
1916
1827
|
path: {
|
|
@@ -2005,12 +1916,12 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2005
1916
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2006
1917
|
} | undefined;
|
|
2007
1918
|
};
|
|
2008
|
-
requestUid
|
|
1919
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2009
1920
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2010
1921
|
}) => void;
|
|
2011
|
-
edit: <P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" | "body.
|
|
1922
|
+
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" ? {
|
|
2012
1923
|
type: "requestExample";
|
|
2013
|
-
uid: string
|
|
1924
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2014
1925
|
name: string;
|
|
2015
1926
|
parameters: {
|
|
2016
1927
|
path: {
|
|
@@ -2105,11 +2016,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2105
2016
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2106
2017
|
} | undefined;
|
|
2107
2018
|
};
|
|
2108
|
-
requestUid
|
|
2019
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2109
2020
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2110
2021
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? R extends Path<{
|
|
2111
2022
|
type: "requestExample";
|
|
2112
|
-
uid: string
|
|
2023
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2113
2024
|
name: string;
|
|
2114
2025
|
parameters: {
|
|
2115
2026
|
path: {
|
|
@@ -2204,11 +2115,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2204
2115
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2205
2116
|
} | undefined;
|
|
2206
2117
|
};
|
|
2207
|
-
requestUid
|
|
2118
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2208
2119
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2209
2120
|
}[K]> ? PathValue<{
|
|
2210
2121
|
type: "requestExample";
|
|
2211
|
-
uid: string
|
|
2122
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2212
2123
|
name: string;
|
|
2213
2124
|
parameters: {
|
|
2214
2125
|
path: {
|
|
@@ -2303,12 +2214,12 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2303
2214
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2304
2215
|
} | undefined;
|
|
2305
2216
|
};
|
|
2306
|
-
requestUid
|
|
2217
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2307
2218
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2308
2219
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2309
|
-
untrackedEdit: <P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" | "body.
|
|
2220
|
+
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" ? {
|
|
2310
2221
|
type: "requestExample";
|
|
2311
|
-
uid: string
|
|
2222
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2312
2223
|
name: string;
|
|
2313
2224
|
parameters: {
|
|
2314
2225
|
path: {
|
|
@@ -2403,11 +2314,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2403
2314
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2404
2315
|
} | undefined;
|
|
2405
2316
|
};
|
|
2406
|
-
requestUid
|
|
2317
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2407
2318
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2408
2319
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? R extends Path<{
|
|
2409
2320
|
type: "requestExample";
|
|
2410
|
-
uid: string
|
|
2321
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2411
2322
|
name: string;
|
|
2412
2323
|
parameters: {
|
|
2413
2324
|
path: {
|
|
@@ -2502,11 +2413,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2502
2413
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2503
2414
|
} | undefined;
|
|
2504
2415
|
};
|
|
2505
|
-
requestUid
|
|
2416
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2506
2417
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2507
2418
|
}[K]> ? PathValue<{
|
|
2508
2419
|
type: "requestExample";
|
|
2509
|
-
uid: string
|
|
2420
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2510
2421
|
name: string;
|
|
2511
2422
|
parameters: {
|
|
2512
2423
|
path: {
|
|
@@ -2601,11 +2512,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2601
2512
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2602
2513
|
} | undefined;
|
|
2603
2514
|
};
|
|
2604
|
-
requestUid
|
|
2515
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2605
2516
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2606
2517
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2607
|
-
undo: (uid: string) => void;
|
|
2608
|
-
redo: (uid: string) => void;
|
|
2518
|
+
undo: (uid: string & import("zod").BRAND<"example">) => void;
|
|
2519
|
+
redo: (uid: string & import("zod").BRAND<"example">) => void;
|
|
2609
2520
|
reset: () => void;
|
|
2610
2521
|
};
|
|
2611
2522
|
requestHistory: import("vue").Reactive<import("@scalar/oas-utils/entities/spec").RequestEvent[]>;
|
|
@@ -2613,14 +2524,14 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2613
2524
|
rawAdd: (item: {
|
|
2614
2525
|
type: "apiKey";
|
|
2615
2526
|
value: string;
|
|
2616
|
-
uid: string
|
|
2527
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2617
2528
|
name: string;
|
|
2618
2529
|
nameKey: string;
|
|
2619
|
-
in: "
|
|
2530
|
+
in: "cookie" | "query" | "header";
|
|
2620
2531
|
description?: string | undefined;
|
|
2621
2532
|
} | {
|
|
2622
2533
|
type: "http";
|
|
2623
|
-
uid: string
|
|
2534
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2624
2535
|
nameKey: string;
|
|
2625
2536
|
scheme: "basic" | "bearer";
|
|
2626
2537
|
bearerFormat: string;
|
|
@@ -2630,13 +2541,13 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2630
2541
|
description?: string | undefined;
|
|
2631
2542
|
} | {
|
|
2632
2543
|
type: "openIdConnect";
|
|
2633
|
-
uid: string
|
|
2544
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2634
2545
|
nameKey: string;
|
|
2635
2546
|
openIdConnectUrl: string;
|
|
2636
2547
|
description?: string | undefined;
|
|
2637
2548
|
} | {
|
|
2638
2549
|
type: "oauth2";
|
|
2639
|
-
uid: string
|
|
2550
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2640
2551
|
nameKey: string;
|
|
2641
2552
|
flows: {
|
|
2642
2553
|
password?: {
|
|
@@ -2687,17 +2598,17 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2687
2598
|
};
|
|
2688
2599
|
description?: string | undefined;
|
|
2689
2600
|
}) => void;
|
|
2690
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").SecuritySchemePayload, collectionUid:
|
|
2601
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
|
|
2691
2602
|
type: "apiKey";
|
|
2692
2603
|
value: string;
|
|
2693
|
-
uid: string
|
|
2604
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2694
2605
|
name: string;
|
|
2695
2606
|
nameKey: string;
|
|
2696
|
-
in: "
|
|
2607
|
+
in: "cookie" | "query" | "header";
|
|
2697
2608
|
description?: string | undefined;
|
|
2698
2609
|
} | {
|
|
2699
2610
|
type: "http";
|
|
2700
|
-
uid: string
|
|
2611
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2701
2612
|
nameKey: string;
|
|
2702
2613
|
scheme: "basic" | "bearer";
|
|
2703
2614
|
bearerFormat: string;
|
|
@@ -2707,13 +2618,13 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2707
2618
|
description?: string | undefined;
|
|
2708
2619
|
} | {
|
|
2709
2620
|
type: "openIdConnect";
|
|
2710
|
-
uid: string
|
|
2621
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2711
2622
|
nameKey: string;
|
|
2712
2623
|
openIdConnectUrl: string;
|
|
2713
2624
|
description?: string | undefined;
|
|
2714
2625
|
} | {
|
|
2715
2626
|
type: "oauth2";
|
|
2716
|
-
uid: string
|
|
2627
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2717
2628
|
nameKey: string;
|
|
2718
2629
|
flows: {
|
|
2719
2630
|
password?: {
|
|
@@ -2764,18 +2675,18 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2764
2675
|
};
|
|
2765
2676
|
description?: string | undefined;
|
|
2766
2677
|
};
|
|
2767
|
-
delete: (schemeUid:
|
|
2678
|
+
delete: (schemeUid: SecurityScheme["uid"]) => void;
|
|
2768
2679
|
set: (item: {
|
|
2769
2680
|
type: "apiKey";
|
|
2770
2681
|
value: string;
|
|
2771
|
-
uid: string
|
|
2682
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2772
2683
|
name: string;
|
|
2773
2684
|
nameKey: string;
|
|
2774
|
-
in: "
|
|
2685
|
+
in: "cookie" | "query" | "header";
|
|
2775
2686
|
description?: string | undefined;
|
|
2776
2687
|
} | {
|
|
2777
2688
|
type: "http";
|
|
2778
|
-
uid: string
|
|
2689
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2779
2690
|
nameKey: string;
|
|
2780
2691
|
scheme: "basic" | "bearer";
|
|
2781
2692
|
bearerFormat: string;
|
|
@@ -2785,13 +2696,13 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2785
2696
|
description?: string | undefined;
|
|
2786
2697
|
} | {
|
|
2787
2698
|
type: "openIdConnect";
|
|
2788
|
-
uid: string
|
|
2699
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2789
2700
|
nameKey: string;
|
|
2790
2701
|
openIdConnectUrl: string;
|
|
2791
2702
|
description?: string | undefined;
|
|
2792
2703
|
} | {
|
|
2793
2704
|
type: "oauth2";
|
|
2794
|
-
uid: string
|
|
2705
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2795
2706
|
nameKey: string;
|
|
2796
2707
|
flows: {
|
|
2797
2708
|
password?: {
|
|
@@ -2842,33 +2753,33 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2842
2753
|
};
|
|
2843
2754
|
description?: string | undefined;
|
|
2844
2755
|
}) => void;
|
|
2845
|
-
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" ? {
|
|
2756
|
+
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" ? {
|
|
2846
2757
|
type: "apiKey";
|
|
2847
2758
|
value: string;
|
|
2848
|
-
uid: string
|
|
2759
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2849
2760
|
name: string;
|
|
2850
2761
|
nameKey: string;
|
|
2851
|
-
in: "
|
|
2762
|
+
in: "cookie" | "query" | "header";
|
|
2852
2763
|
description?: string | undefined;
|
|
2853
2764
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? R extends Path<{
|
|
2854
2765
|
type: "apiKey";
|
|
2855
2766
|
value: string;
|
|
2856
|
-
uid: string
|
|
2767
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2857
2768
|
name: string;
|
|
2858
2769
|
nameKey: string;
|
|
2859
|
-
in: "
|
|
2770
|
+
in: "cookie" | "query" | "header";
|
|
2860
2771
|
description?: string | undefined;
|
|
2861
2772
|
}[K]> ? PathValue<{
|
|
2862
2773
|
type: "apiKey";
|
|
2863
2774
|
value: string;
|
|
2864
|
-
uid: string
|
|
2775
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2865
2776
|
name: string;
|
|
2866
2777
|
nameKey: string;
|
|
2867
|
-
in: "
|
|
2778
|
+
in: "cookie" | "query" | "header";
|
|
2868
2779
|
description?: string | undefined;
|
|
2869
2780
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? {
|
|
2870
2781
|
type: "http";
|
|
2871
|
-
uid: string
|
|
2782
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2872
2783
|
nameKey: string;
|
|
2873
2784
|
scheme: "basic" | "bearer";
|
|
2874
2785
|
bearerFormat: string;
|
|
@@ -2878,7 +2789,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2878
2789
|
description?: string | undefined;
|
|
2879
2790
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? R extends Path<{
|
|
2880
2791
|
type: "http";
|
|
2881
|
-
uid: string
|
|
2792
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2882
2793
|
nameKey: string;
|
|
2883
2794
|
scheme: "basic" | "bearer";
|
|
2884
2795
|
bearerFormat: string;
|
|
@@ -2888,7 +2799,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2888
2799
|
description?: string | undefined;
|
|
2889
2800
|
}[K]> ? PathValue<{
|
|
2890
2801
|
type: "http";
|
|
2891
|
-
uid: string
|
|
2802
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2892
2803
|
nameKey: string;
|
|
2893
2804
|
scheme: "basic" | "bearer";
|
|
2894
2805
|
bearerFormat: string;
|
|
@@ -2898,25 +2809,25 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2898
2809
|
description?: string | undefined;
|
|
2899
2810
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? {
|
|
2900
2811
|
type: "openIdConnect";
|
|
2901
|
-
uid: string
|
|
2812
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2902
2813
|
nameKey: string;
|
|
2903
2814
|
openIdConnectUrl: string;
|
|
2904
2815
|
description?: string | undefined;
|
|
2905
2816
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? R extends Path<{
|
|
2906
2817
|
type: "openIdConnect";
|
|
2907
|
-
uid: string
|
|
2818
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2908
2819
|
nameKey: string;
|
|
2909
2820
|
openIdConnectUrl: string;
|
|
2910
2821
|
description?: string | undefined;
|
|
2911
2822
|
}[K]> ? PathValue<{
|
|
2912
2823
|
type: "openIdConnect";
|
|
2913
|
-
uid: string
|
|
2824
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2914
2825
|
nameKey: string;
|
|
2915
2826
|
openIdConnectUrl: string;
|
|
2916
2827
|
description?: string | undefined;
|
|
2917
2828
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
2918
2829
|
type: "oauth2";
|
|
2919
|
-
uid: string
|
|
2830
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2920
2831
|
nameKey: string;
|
|
2921
2832
|
flows: {
|
|
2922
2833
|
password?: {
|
|
@@ -2968,7 +2879,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
2968
2879
|
description?: string | undefined;
|
|
2969
2880
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "flows" ? R extends Path<{
|
|
2970
2881
|
type: "oauth2";
|
|
2971
|
-
uid: string
|
|
2882
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2972
2883
|
nameKey: string;
|
|
2973
2884
|
flows: {
|
|
2974
2885
|
password?: {
|
|
@@ -3020,7 +2931,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3020
2931
|
description?: string | undefined;
|
|
3021
2932
|
}[K]> ? PathValue<{
|
|
3022
2933
|
type: "oauth2";
|
|
3023
|
-
uid: string
|
|
2934
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3024
2935
|
nameKey: string;
|
|
3025
2936
|
flows: {
|
|
3026
2937
|
password?: {
|
|
@@ -3071,33 +2982,33 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3071
2982
|
};
|
|
3072
2983
|
description?: string | undefined;
|
|
3073
2984
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3074
|
-
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
|
|
2985
|
+
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" ? {
|
|
3075
2986
|
type: "apiKey";
|
|
3076
2987
|
value: string;
|
|
3077
|
-
uid: string
|
|
2988
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3078
2989
|
name: string;
|
|
3079
2990
|
nameKey: string;
|
|
3080
|
-
in: "
|
|
2991
|
+
in: "cookie" | "query" | "header";
|
|
3081
2992
|
description?: string | undefined;
|
|
3082
2993
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? R extends Path<{
|
|
3083
2994
|
type: "apiKey";
|
|
3084
2995
|
value: string;
|
|
3085
|
-
uid: string
|
|
2996
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3086
2997
|
name: string;
|
|
3087
2998
|
nameKey: string;
|
|
3088
|
-
in: "
|
|
2999
|
+
in: "cookie" | "query" | "header";
|
|
3089
3000
|
description?: string | undefined;
|
|
3090
3001
|
}[K]> ? PathValue<{
|
|
3091
3002
|
type: "apiKey";
|
|
3092
3003
|
value: string;
|
|
3093
|
-
uid: string
|
|
3004
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3094
3005
|
name: string;
|
|
3095
3006
|
nameKey: string;
|
|
3096
|
-
in: "
|
|
3007
|
+
in: "cookie" | "query" | "header";
|
|
3097
3008
|
description?: string | undefined;
|
|
3098
3009
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? {
|
|
3099
3010
|
type: "http";
|
|
3100
|
-
uid: string
|
|
3011
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3101
3012
|
nameKey: string;
|
|
3102
3013
|
scheme: "basic" | "bearer";
|
|
3103
3014
|
bearerFormat: string;
|
|
@@ -3107,7 +3018,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3107
3018
|
description?: string | undefined;
|
|
3108
3019
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? R extends Path<{
|
|
3109
3020
|
type: "http";
|
|
3110
|
-
uid: string
|
|
3021
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3111
3022
|
nameKey: string;
|
|
3112
3023
|
scheme: "basic" | "bearer";
|
|
3113
3024
|
bearerFormat: string;
|
|
@@ -3117,7 +3028,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3117
3028
|
description?: string | undefined;
|
|
3118
3029
|
}[K]> ? PathValue<{
|
|
3119
3030
|
type: "http";
|
|
3120
|
-
uid: string
|
|
3031
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3121
3032
|
nameKey: string;
|
|
3122
3033
|
scheme: "basic" | "bearer";
|
|
3123
3034
|
bearerFormat: string;
|
|
@@ -3127,25 +3038,25 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3127
3038
|
description?: string | undefined;
|
|
3128
3039
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? {
|
|
3129
3040
|
type: "openIdConnect";
|
|
3130
|
-
uid: string
|
|
3041
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3131
3042
|
nameKey: string;
|
|
3132
3043
|
openIdConnectUrl: string;
|
|
3133
3044
|
description?: string | undefined;
|
|
3134
3045
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? R extends Path<{
|
|
3135
3046
|
type: "openIdConnect";
|
|
3136
|
-
uid: string
|
|
3047
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3137
3048
|
nameKey: string;
|
|
3138
3049
|
openIdConnectUrl: string;
|
|
3139
3050
|
description?: string | undefined;
|
|
3140
3051
|
}[K]> ? PathValue<{
|
|
3141
3052
|
type: "openIdConnect";
|
|
3142
|
-
uid: string
|
|
3053
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3143
3054
|
nameKey: string;
|
|
3144
3055
|
openIdConnectUrl: string;
|
|
3145
3056
|
description?: string | undefined;
|
|
3146
3057
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
3147
3058
|
type: "oauth2";
|
|
3148
|
-
uid: string
|
|
3059
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3149
3060
|
nameKey: string;
|
|
3150
3061
|
flows: {
|
|
3151
3062
|
password?: {
|
|
@@ -3197,7 +3108,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3197
3108
|
description?: string | undefined;
|
|
3198
3109
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "flows" ? R extends Path<{
|
|
3199
3110
|
type: "oauth2";
|
|
3200
|
-
uid: string
|
|
3111
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3201
3112
|
nameKey: string;
|
|
3202
3113
|
flows: {
|
|
3203
3114
|
password?: {
|
|
@@ -3249,7 +3160,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3249
3160
|
description?: string | undefined;
|
|
3250
3161
|
}[K]> ? PathValue<{
|
|
3251
3162
|
type: "oauth2";
|
|
3252
|
-
uid: string
|
|
3163
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3253
3164
|
nameKey: string;
|
|
3254
3165
|
flows: {
|
|
3255
3166
|
password?: {
|
|
@@ -3300,13 +3211,13 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3300
3211
|
};
|
|
3301
3212
|
description?: string | undefined;
|
|
3302
3213
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3303
|
-
undo: (uid: string) => void;
|
|
3304
|
-
redo: (uid: string) => void;
|
|
3214
|
+
undo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|
|
3215
|
+
redo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|
|
3305
3216
|
reset: () => void;
|
|
3306
3217
|
};
|
|
3307
3218
|
serverMutators: {
|
|
3308
3219
|
rawAdd: (item: {
|
|
3309
|
-
uid: string
|
|
3220
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3310
3221
|
url: string;
|
|
3311
3222
|
description?: string | undefined;
|
|
3312
3223
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3315,7 +3226,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3315
3226
|
}> | undefined;
|
|
3316
3227
|
}) => void;
|
|
3317
3228
|
add: (payload: import("@scalar/oas-utils/entities/spec").ServerPayload, parentUid: string) => {
|
|
3318
|
-
uid: string
|
|
3229
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3319
3230
|
url: string;
|
|
3320
3231
|
description?: string | undefined;
|
|
3321
3232
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3323,9 +3234,9 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3323
3234
|
value?: string;
|
|
3324
3235
|
}> | undefined;
|
|
3325
3236
|
};
|
|
3326
|
-
delete: (serverUid:
|
|
3237
|
+
delete: (serverUid: import("@scalar/oas-utils/entities/spec").Server["uid"], collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
3327
3238
|
set: (item: {
|
|
3328
|
-
uid: string
|
|
3239
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3329
3240
|
url: string;
|
|
3330
3241
|
description?: string | undefined;
|
|
3331
3242
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3333,8 +3244,8 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3333
3244
|
value?: string;
|
|
3334
3245
|
}> | undefined;
|
|
3335
3246
|
}) => void;
|
|
3336
|
-
edit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
|
|
3337
|
-
uid: string
|
|
3247
|
+
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" ? {
|
|
3248
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3338
3249
|
url: string;
|
|
3339
3250
|
description?: string | undefined;
|
|
3340
3251
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3342,7 +3253,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3342
3253
|
value?: string;
|
|
3343
3254
|
}> | undefined;
|
|
3344
3255
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends Path<{
|
|
3345
|
-
uid: string
|
|
3256
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3346
3257
|
url: string;
|
|
3347
3258
|
description?: string | undefined;
|
|
3348
3259
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3350,7 +3261,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3350
3261
|
value?: string;
|
|
3351
3262
|
}> | undefined;
|
|
3352
3263
|
}[K]> ? PathValue<{
|
|
3353
|
-
uid: string
|
|
3264
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3354
3265
|
url: string;
|
|
3355
3266
|
description?: string | undefined;
|
|
3356
3267
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3358,8 +3269,8 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3358
3269
|
value?: string;
|
|
3359
3270
|
}> | undefined;
|
|
3360
3271
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3361
|
-
untrackedEdit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string
|
|
3362
|
-
uid: string
|
|
3272
|
+
untrackedEdit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string & import("zod").BRAND<"server">, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
|
|
3273
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3363
3274
|
url: string;
|
|
3364
3275
|
description?: string | undefined;
|
|
3365
3276
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3367,7 +3278,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3367
3278
|
value?: string;
|
|
3368
3279
|
}> | undefined;
|
|
3369
3280
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends Path<{
|
|
3370
|
-
uid: string
|
|
3281
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3371
3282
|
url: string;
|
|
3372
3283
|
description?: string | undefined;
|
|
3373
3284
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3375,7 +3286,7 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3375
3286
|
value?: string;
|
|
3376
3287
|
}> | undefined;
|
|
3377
3288
|
}[K]> ? PathValue<{
|
|
3378
|
-
uid: string
|
|
3289
|
+
uid: string & import("zod").BRAND<"server">;
|
|
3379
3290
|
url: string;
|
|
3380
3291
|
description?: string | undefined;
|
|
3381
3292
|
variables?: Record<string, Omit<import("@scalar/openapi-types").OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
@@ -3383,16 +3294,16 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3383
3294
|
value?: string;
|
|
3384
3295
|
}> | undefined;
|
|
3385
3296
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3386
|
-
undo: (uid: string) => void;
|
|
3387
|
-
redo: (uid: string) => void;
|
|
3297
|
+
undo: (uid: string & import("zod").BRAND<"server">) => void;
|
|
3298
|
+
redo: (uid: string & import("zod").BRAND<"server">) => void;
|
|
3388
3299
|
reset: () => void;
|
|
3389
3300
|
};
|
|
3390
3301
|
tagMutators: {
|
|
3391
3302
|
rawAdd: (item: {
|
|
3392
3303
|
type: "tag";
|
|
3393
|
-
uid: string
|
|
3304
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3394
3305
|
name: string;
|
|
3395
|
-
children: string[];
|
|
3306
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3396
3307
|
description?: string | undefined;
|
|
3397
3308
|
externalDocs?: {
|
|
3398
3309
|
url: string;
|
|
@@ -3404,11 +3315,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3404
3315
|
'x-internal'?: boolean | undefined;
|
|
3405
3316
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3406
3317
|
}) => void;
|
|
3407
|
-
add: (payload: import("@scalar/oas-utils/entities/spec").TagPayload, collectionUid:
|
|
3318
|
+
add: (payload: import("@scalar/oas-utils/entities/spec").TagPayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void | {
|
|
3408
3319
|
type: "tag";
|
|
3409
|
-
uid: string
|
|
3320
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3410
3321
|
name: string;
|
|
3411
|
-
children: string[];
|
|
3322
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3412
3323
|
description?: string | undefined;
|
|
3413
3324
|
externalDocs?: {
|
|
3414
3325
|
url: string;
|
|
@@ -3420,12 +3331,12 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3420
3331
|
'x-internal'?: boolean | undefined;
|
|
3421
3332
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3422
3333
|
};
|
|
3423
|
-
delete: (tag: import("@scalar/oas-utils/entities/spec").Tag, collectionUid:
|
|
3334
|
+
delete: (tag: import("@scalar/oas-utils/entities/spec").Tag, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
3424
3335
|
set: (item: {
|
|
3425
3336
|
type: "tag";
|
|
3426
|
-
uid: string
|
|
3337
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3427
3338
|
name: string;
|
|
3428
|
-
children: string[];
|
|
3339
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3429
3340
|
description?: string | undefined;
|
|
3430
3341
|
externalDocs?: {
|
|
3431
3342
|
url: string;
|
|
@@ -3437,11 +3348,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3437
3348
|
'x-internal'?: boolean | undefined;
|
|
3438
3349
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3439
3350
|
}) => void;
|
|
3440
|
-
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" ? {
|
|
3351
|
+
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" ? {
|
|
3441
3352
|
type: "tag";
|
|
3442
|
-
uid: string
|
|
3353
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3443
3354
|
name: string;
|
|
3444
|
-
children: string[];
|
|
3355
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3445
3356
|
description?: string | undefined;
|
|
3446
3357
|
externalDocs?: {
|
|
3447
3358
|
url: string;
|
|
@@ -3454,9 +3365,9 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3454
3365
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3455
3366
|
}[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<{
|
|
3456
3367
|
type: "tag";
|
|
3457
|
-
uid: string
|
|
3368
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3458
3369
|
name: string;
|
|
3459
|
-
children: string[];
|
|
3370
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3460
3371
|
description?: string | undefined;
|
|
3461
3372
|
externalDocs?: {
|
|
3462
3373
|
url: string;
|
|
@@ -3469,9 +3380,9 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3469
3380
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3470
3381
|
}[K]> ? PathValue<{
|
|
3471
3382
|
type: "tag";
|
|
3472
|
-
uid: string
|
|
3383
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3473
3384
|
name: string;
|
|
3474
|
-
children: string[];
|
|
3385
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3475
3386
|
description?: string | undefined;
|
|
3476
3387
|
externalDocs?: {
|
|
3477
3388
|
url: string;
|
|
@@ -3483,11 +3394,11 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3483
3394
|
'x-internal'?: boolean | undefined;
|
|
3484
3395
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3485
3396
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3486
|
-
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
|
|
3397
|
+
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" ? {
|
|
3487
3398
|
type: "tag";
|
|
3488
|
-
uid: string
|
|
3399
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3489
3400
|
name: string;
|
|
3490
|
-
children: string[];
|
|
3401
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3491
3402
|
description?: string | undefined;
|
|
3492
3403
|
externalDocs?: {
|
|
3493
3404
|
url: string;
|
|
@@ -3500,9 +3411,9 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3500
3411
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3501
3412
|
}[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<{
|
|
3502
3413
|
type: "tag";
|
|
3503
|
-
uid: string
|
|
3414
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3504
3415
|
name: string;
|
|
3505
|
-
children: string[];
|
|
3416
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3506
3417
|
description?: string | undefined;
|
|
3507
3418
|
externalDocs?: {
|
|
3508
3419
|
url: string;
|
|
@@ -3515,9 +3426,9 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3515
3426
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3516
3427
|
}[K]> ? PathValue<{
|
|
3517
3428
|
type: "tag";
|
|
3518
|
-
uid: string
|
|
3429
|
+
uid: string & import("zod").BRAND<"tag">;
|
|
3519
3430
|
name: string;
|
|
3520
|
-
children: string[];
|
|
3431
|
+
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3521
3432
|
description?: string | undefined;
|
|
3522
3433
|
externalDocs?: {
|
|
3523
3434
|
url: string;
|
|
@@ -3529,19 +3440,19 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3529
3440
|
'x-internal'?: boolean | undefined;
|
|
3530
3441
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3531
3442
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3532
|
-
undo: (uid: string) => void;
|
|
3533
|
-
redo: (uid: string) => void;
|
|
3443
|
+
undo: (uid: string & import("zod").BRAND<"tag">) => void;
|
|
3444
|
+
redo: (uid: string & import("zod").BRAND<"tag">) => void;
|
|
3534
3445
|
reset: () => void;
|
|
3535
3446
|
};
|
|
3536
3447
|
workspaceMutators: {
|
|
3537
3448
|
rawAdd: (item: {
|
|
3538
|
-
uid: string
|
|
3449
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3539
3450
|
name: string;
|
|
3540
3451
|
description: string;
|
|
3541
|
-
collections: string[];
|
|
3452
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3542
3453
|
environments: Record<string, string>;
|
|
3543
3454
|
activeEnvironmentId: string;
|
|
3544
|
-
cookies: string[];
|
|
3455
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3545
3456
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3546
3457
|
selectedHttpClient: {
|
|
3547
3458
|
targetKey: string;
|
|
@@ -3556,14 +3467,14 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3556
3467
|
} | undefined;
|
|
3557
3468
|
proxyUrl?: string | undefined;
|
|
3558
3469
|
}) => void;
|
|
3559
|
-
add: (payload?: Partial<
|
|
3560
|
-
uid: string
|
|
3470
|
+
add: (payload?: Partial<Workspace>) => {
|
|
3471
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3561
3472
|
name: string;
|
|
3562
3473
|
description: string;
|
|
3563
|
-
collections: string[];
|
|
3474
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3564
3475
|
environments: Record<string, string>;
|
|
3565
3476
|
activeEnvironmentId: string;
|
|
3566
|
-
cookies: string[];
|
|
3477
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3567
3478
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3568
3479
|
selectedHttpClient: {
|
|
3569
3480
|
targetKey: string;
|
|
@@ -3578,15 +3489,15 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3578
3489
|
} | undefined;
|
|
3579
3490
|
proxyUrl?: string | undefined;
|
|
3580
3491
|
};
|
|
3581
|
-
delete: (uid:
|
|
3492
|
+
delete: (uid: Workspace["uid"]) => void;
|
|
3582
3493
|
set: (item: {
|
|
3583
|
-
uid: string
|
|
3494
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3584
3495
|
name: string;
|
|
3585
3496
|
description: string;
|
|
3586
|
-
collections: string[];
|
|
3497
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3587
3498
|
environments: Record<string, string>;
|
|
3588
3499
|
activeEnvironmentId: string;
|
|
3589
|
-
cookies: string[];
|
|
3500
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3590
3501
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3591
3502
|
selectedHttpClient: {
|
|
3592
3503
|
targetKey: string;
|
|
@@ -3601,14 +3512,14 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3601
3512
|
} | undefined;
|
|
3602
3513
|
proxyUrl?: string | undefined;
|
|
3603
3514
|
}) => void;
|
|
3604
|
-
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" ? {
|
|
3605
|
-
uid: string
|
|
3515
|
+
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" ? {
|
|
3516
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3606
3517
|
name: string;
|
|
3607
3518
|
description: string;
|
|
3608
|
-
collections: string[];
|
|
3519
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3609
3520
|
environments: Record<string, string>;
|
|
3610
3521
|
activeEnvironmentId: string;
|
|
3611
|
-
cookies: string[];
|
|
3522
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3612
3523
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3613
3524
|
selectedHttpClient: {
|
|
3614
3525
|
targetKey: string;
|
|
@@ -3623,13 +3534,13 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3623
3534
|
} | undefined;
|
|
3624
3535
|
proxyUrl?: string | undefined;
|
|
3625
3536
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? R extends Path<{
|
|
3626
|
-
uid: string
|
|
3537
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3627
3538
|
name: string;
|
|
3628
3539
|
description: string;
|
|
3629
|
-
collections: string[];
|
|
3540
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3630
3541
|
environments: Record<string, string>;
|
|
3631
3542
|
activeEnvironmentId: string;
|
|
3632
|
-
cookies: string[];
|
|
3543
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3633
3544
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3634
3545
|
selectedHttpClient: {
|
|
3635
3546
|
targetKey: string;
|
|
@@ -3644,13 +3555,13 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3644
3555
|
} | undefined;
|
|
3645
3556
|
proxyUrl?: string | undefined;
|
|
3646
3557
|
}[K]> ? PathValue<{
|
|
3647
|
-
uid: string
|
|
3558
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3648
3559
|
name: string;
|
|
3649
3560
|
description: string;
|
|
3650
|
-
collections: string[];
|
|
3561
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3651
3562
|
environments: Record<string, string>;
|
|
3652
3563
|
activeEnvironmentId: string;
|
|
3653
|
-
cookies: string[];
|
|
3564
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3654
3565
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3655
3566
|
selectedHttpClient: {
|
|
3656
3567
|
targetKey: string;
|
|
@@ -3665,14 +3576,14 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3665
3576
|
} | undefined;
|
|
3666
3577
|
proxyUrl?: string | undefined;
|
|
3667
3578
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3668
|
-
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" ? {
|
|
3669
|
-
uid: string
|
|
3579
|
+
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" ? {
|
|
3580
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3670
3581
|
name: string;
|
|
3671
3582
|
description: string;
|
|
3672
|
-
collections: string[];
|
|
3583
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3673
3584
|
environments: Record<string, string>;
|
|
3674
3585
|
activeEnvironmentId: string;
|
|
3675
|
-
cookies: string[];
|
|
3586
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3676
3587
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3677
3588
|
selectedHttpClient: {
|
|
3678
3589
|
targetKey: string;
|
|
@@ -3687,13 +3598,13 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3687
3598
|
} | undefined;
|
|
3688
3599
|
proxyUrl?: string | undefined;
|
|
3689
3600
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? R extends Path<{
|
|
3690
|
-
uid: string
|
|
3601
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3691
3602
|
name: string;
|
|
3692
3603
|
description: string;
|
|
3693
|
-
collections: string[];
|
|
3604
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3694
3605
|
environments: Record<string, string>;
|
|
3695
3606
|
activeEnvironmentId: string;
|
|
3696
|
-
cookies: string[];
|
|
3607
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3697
3608
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3698
3609
|
selectedHttpClient: {
|
|
3699
3610
|
targetKey: string;
|
|
@@ -3708,13 +3619,13 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3708
3619
|
} | undefined;
|
|
3709
3620
|
proxyUrl?: string | undefined;
|
|
3710
3621
|
}[K]> ? PathValue<{
|
|
3711
|
-
uid: string
|
|
3622
|
+
uid: string & import("zod").BRAND<"workspace">;
|
|
3712
3623
|
name: string;
|
|
3713
3624
|
description: string;
|
|
3714
|
-
collections: string[];
|
|
3625
|
+
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3715
3626
|
environments: Record<string, string>;
|
|
3716
3627
|
activeEnvironmentId: string;
|
|
3717
|
-
cookies: string[];
|
|
3628
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3718
3629
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3719
3630
|
selectedHttpClient: {
|
|
3720
3631
|
targetKey: string;
|
|
@@ -3729,12 +3640,12 @@ export declare const createApiClient: ({ el, appComponent, configuration, isRead
|
|
|
3729
3640
|
} | undefined;
|
|
3730
3641
|
proxyUrl?: string | undefined;
|
|
3731
3642
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3732
|
-
undo: (uid: string) => void;
|
|
3733
|
-
redo: (uid: string) => void;
|
|
3643
|
+
undo: (uid: string & import("zod").BRAND<"workspace">) => void;
|
|
3644
|
+
redo: (uid: string & import("zod").BRAND<"workspace">) => void;
|
|
3734
3645
|
reset: () => void;
|
|
3735
3646
|
};
|
|
3736
|
-
addCollectionEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid:
|
|
3737
|
-
removeCollectionEnvironment: (environmentName: string, collectionUid:
|
|
3647
|
+
addCollectionEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
3648
|
+
removeCollectionEnvironment: (environmentName: string, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
3738
3649
|
};
|
|
3739
3650
|
/** Update the currently selected example */
|
|
3740
3651
|
updateExample: (exampleKey: string, operationId: string) => void;
|