@scalar/api-client 2.3.8 → 2.3.10
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 +30 -0
- package/dist/components/CodeInput/CodeInput.vue.d.ts +1 -1
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.js +2 -2
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +8 -8
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/ScalarHotkey.vue.d.ts +1 -1
- package/dist/components/ScalarHotkey.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.d.ts.map +1 -1
- package/dist/components/Server/ServerDropdownItem.vue.js +2 -2
- package/dist/components/ViewLayout/ViewLayoutSection.test.d.ts +2 -0
- package/dist/components/ViewLayout/ViewLayoutSection.test.d.ts.map +1 -0
- package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
- package/dist/components/ViewLayout/ViewLayoutSection.vue.js +8 -8
- package/dist/layouts/App/create-api-client-app.d.ts +658 -473
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +1337 -967
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.js +4 -4
- package/dist/layouts/Web/create-api-client-web.d.ts +658 -473
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +651 -466
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +18 -20
- package/dist/libs/find-request.d.ts +4 -4
- package/dist/libs/find-request.d.ts.map +1 -1
- package/dist/libs/hot-keys.d.ts +2 -2
- package/dist/libs/send-request/build-request-security.d.ts +2 -2
- package/dist/libs/send-request/create-request-operation.test.d.ts +49 -47
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
- package/dist/store/active-entities.d.ts +67 -61
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/collections.d.ts +44 -34
- package/dist/store/collections.d.ts.map +1 -1
- package/dist/store/cookies.d.ts +18 -18
- package/dist/store/environment.d.ts +9 -9
- package/dist/store/import-spec.d.ts +154 -2
- package/dist/store/import-spec.d.ts.map +1 -1
- package/dist/store/request-example.d.ts +272 -272
- package/dist/store/request-example.d.ts.map +1 -1
- package/dist/store/requests.d.ts +44 -44
- package/dist/store/requests.d.ts.map +1 -1
- package/dist/store/security-schemes.d.ts +10 -10
- package/dist/store/security-schemes.d.ts.map +1 -1
- package/dist/store/servers.d.ts +50 -30
- package/dist/store/servers.d.ts.map +1 -1
- package/dist/store/store.d.ts +655 -470
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/tags.d.ts +10 -10
- package/dist/store/workspace.d.ts +44 -44
- package/dist/style.css +1 -1
- package/dist/views/Collection/CollectionAuthentication.vue.d.ts +1 -1
- package/dist/views/Collection/CollectionAuthentication.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionAuthentication.vue.js +5 -2
- package/dist/views/Collection/CollectionAuthentication.vue2.js +52 -11
- package/dist/views/Collection/CollectionNavigation.vue.js +34 -34
- package/dist/views/Collection/CollectionServerForm.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionSettings.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionSettings.vue.js +2 -2
- package/dist/views/Collection/CollectionSettings.vue2.js +1 -1
- package/dist/views/Request/Request.vue.d.ts +2 -0
- 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 +71 -75
- package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestRoot.vue.js +1 -1
- package/dist/views/Request/RequestRoot.vue2.js +49 -46
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +24 -24
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthTab.vue.d.ts +1 -1
- 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/RequestBody.vue.d.ts +1 -1
- 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/RequestCodeExample.vue.d.ts +1 -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/RequestPathParams.vue.d.ts +1 -1
- package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestSection.test.d.ts +2 -0
- package/dist/views/Request/RequestSection/RequestSection.test.d.ts.map +1 -0
- package/dist/views/Request/RequestSection/RequestSection.vue.d.ts +1 -1
- 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 +26 -19
- package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +1 -1
- 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 +191 -193
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.test.d.ts +2 -0
- package/dist/views/Request/ResponseSection/ResponseSection.test.d.ts.map +1 -0
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +2 -2
- package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +50 -47
- package/package.json +13 -13
|
@@ -104,27 +104,27 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
104
104
|
uid: string & import("zod").BRAND<"workspace">;
|
|
105
105
|
name: string;
|
|
106
106
|
description: string;
|
|
107
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
107
108
|
collections: (string & import("zod").BRAND<"collection">)[];
|
|
108
109
|
environments: Record<string, string>;
|
|
109
110
|
activeEnvironmentId: string;
|
|
110
|
-
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
111
111
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
112
112
|
selectedHttpClient: {
|
|
113
113
|
targetKey: string;
|
|
114
114
|
clientKey: string;
|
|
115
115
|
};
|
|
116
116
|
hotKeyConfig?: {
|
|
117
|
-
modifiers: ("
|
|
118
|
-
hotKeys?: Partial<Record<"" | "
|
|
117
|
+
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
118
|
+
hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
119
119
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
120
|
-
modifiers?: ("
|
|
120
|
+
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
121
121
|
}>> | undefined;
|
|
122
122
|
} | undefined;
|
|
123
123
|
proxyUrl?: string | undefined;
|
|
124
124
|
}>;
|
|
125
125
|
collections: Record<string, {
|
|
126
|
-
type: "collection";
|
|
127
126
|
uid: string & import("zod").BRAND<"collection">;
|
|
127
|
+
type: "collection";
|
|
128
128
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
129
129
|
openapi: string;
|
|
130
130
|
info: {
|
|
@@ -152,6 +152,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
152
152
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
153
153
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
154
154
|
watchMode: boolean;
|
|
155
|
+
useCollectionSecurity: boolean;
|
|
155
156
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
156
157
|
externalDocs?: {
|
|
157
158
|
url: string;
|
|
@@ -166,21 +167,21 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
166
167
|
default: string;
|
|
167
168
|
description?: string | undefined;
|
|
168
169
|
}>;
|
|
169
|
-
description?: string | undefined;
|
|
170
170
|
color?: string | undefined;
|
|
171
|
+
description?: string | undefined;
|
|
171
172
|
}> | undefined;
|
|
172
173
|
'x-scalar-secrets'?: Record<string, {
|
|
173
|
-
example?: string | undefined;
|
|
174
174
|
description?: string | undefined;
|
|
175
|
+
example?: string | undefined;
|
|
175
176
|
}> | undefined;
|
|
176
177
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
177
178
|
documentUrl?: string | undefined;
|
|
178
179
|
integration?: string | null | undefined;
|
|
179
180
|
}>;
|
|
180
181
|
tags: Record<string, {
|
|
181
|
-
type: "tag";
|
|
182
182
|
uid: string & import("zod").BRAND<"tag">;
|
|
183
183
|
name: string;
|
|
184
|
+
type: "tag";
|
|
184
185
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
185
186
|
description?: string | undefined;
|
|
186
187
|
externalDocs?: {
|
|
@@ -194,23 +195,51 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
194
195
|
'x-scalar-ignore'?: boolean | undefined;
|
|
195
196
|
}>;
|
|
196
197
|
cookies: Record<string, {
|
|
197
|
-
value: string;
|
|
198
198
|
uid: string & import("zod").BRAND<"cookie">;
|
|
199
199
|
name: string;
|
|
200
|
-
|
|
200
|
+
value: string;
|
|
201
201
|
domain?: string | undefined;
|
|
202
|
+
path?: string | undefined;
|
|
202
203
|
}>;
|
|
203
204
|
environments: Record<string, {
|
|
204
|
-
value: string;
|
|
205
205
|
uid: string & import("zod").BRAND<"environment">;
|
|
206
206
|
name: string;
|
|
207
|
+
value: string;
|
|
207
208
|
color: string;
|
|
208
209
|
isDefault?: boolean | undefined;
|
|
209
210
|
}>;
|
|
210
211
|
requestExamples: Record<string, {
|
|
211
|
-
type: "requestExample";
|
|
212
212
|
uid: string & import("zod").BRAND<"example">;
|
|
213
213
|
name: string;
|
|
214
|
+
type: "requestExample";
|
|
215
|
+
body: {
|
|
216
|
+
activeBody: "formData" | "binary" | "raw";
|
|
217
|
+
formData?: {
|
|
218
|
+
value: {
|
|
219
|
+
value: string;
|
|
220
|
+
key: string;
|
|
221
|
+
enabled: boolean;
|
|
222
|
+
minimum?: number | undefined;
|
|
223
|
+
type?: string | string[] | undefined;
|
|
224
|
+
maximum?: number | undefined;
|
|
225
|
+
description?: string | undefined;
|
|
226
|
+
default?: any;
|
|
227
|
+
required?: boolean | undefined;
|
|
228
|
+
examples?: string[] | undefined;
|
|
229
|
+
format?: string | undefined;
|
|
230
|
+
enum?: string[] | undefined;
|
|
231
|
+
file?: any;
|
|
232
|
+
nullable?: boolean | undefined;
|
|
233
|
+
}[];
|
|
234
|
+
encoding: "form-data" | "urlencoded";
|
|
235
|
+
} | undefined;
|
|
236
|
+
binary?: Blob | undefined;
|
|
237
|
+
raw?: {
|
|
238
|
+
value: string;
|
|
239
|
+
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
240
|
+
mimeType?: string | undefined;
|
|
241
|
+
} | undefined;
|
|
242
|
+
};
|
|
214
243
|
parameters: {
|
|
215
244
|
path: {
|
|
216
245
|
value: string;
|
|
@@ -219,99 +248,71 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
219
248
|
minimum?: number | undefined;
|
|
220
249
|
type?: string | string[] | undefined;
|
|
221
250
|
maximum?: number | undefined;
|
|
251
|
+
description?: string | undefined;
|
|
222
252
|
default?: any;
|
|
223
253
|
required?: boolean | undefined;
|
|
224
|
-
description?: string | undefined;
|
|
225
|
-
enum?: string[] | undefined;
|
|
226
254
|
examples?: string[] | undefined;
|
|
227
255
|
format?: string | undefined;
|
|
256
|
+
enum?: string[] | undefined;
|
|
228
257
|
file?: any;
|
|
229
258
|
nullable?: boolean | undefined;
|
|
230
259
|
}[];
|
|
231
|
-
|
|
260
|
+
query: {
|
|
232
261
|
value: string;
|
|
233
262
|
key: string;
|
|
234
263
|
enabled: boolean;
|
|
235
264
|
minimum?: number | undefined;
|
|
236
265
|
type?: string | string[] | undefined;
|
|
237
266
|
maximum?: number | undefined;
|
|
267
|
+
description?: string | undefined;
|
|
238
268
|
default?: any;
|
|
239
269
|
required?: boolean | undefined;
|
|
240
|
-
description?: string | undefined;
|
|
241
|
-
enum?: string[] | undefined;
|
|
242
270
|
examples?: string[] | undefined;
|
|
243
271
|
format?: string | undefined;
|
|
272
|
+
enum?: string[] | undefined;
|
|
244
273
|
file?: any;
|
|
245
274
|
nullable?: boolean | undefined;
|
|
246
275
|
}[];
|
|
247
|
-
|
|
276
|
+
headers: {
|
|
248
277
|
value: string;
|
|
249
278
|
key: string;
|
|
250
279
|
enabled: boolean;
|
|
251
280
|
minimum?: number | undefined;
|
|
252
281
|
type?: string | string[] | undefined;
|
|
253
282
|
maximum?: number | undefined;
|
|
283
|
+
description?: string | undefined;
|
|
254
284
|
default?: any;
|
|
255
285
|
required?: boolean | undefined;
|
|
256
|
-
description?: string | undefined;
|
|
257
|
-
enum?: string[] | undefined;
|
|
258
286
|
examples?: string[] | undefined;
|
|
259
287
|
format?: string | undefined;
|
|
288
|
+
enum?: string[] | undefined;
|
|
260
289
|
file?: any;
|
|
261
290
|
nullable?: boolean | undefined;
|
|
262
291
|
}[];
|
|
263
|
-
|
|
292
|
+
cookies: {
|
|
264
293
|
value: string;
|
|
265
294
|
key: string;
|
|
266
295
|
enabled: boolean;
|
|
267
296
|
minimum?: number | undefined;
|
|
268
297
|
type?: string | string[] | undefined;
|
|
269
298
|
maximum?: number | undefined;
|
|
299
|
+
description?: string | undefined;
|
|
270
300
|
default?: any;
|
|
271
301
|
required?: boolean | undefined;
|
|
272
|
-
description?: string | undefined;
|
|
273
|
-
enum?: string[] | undefined;
|
|
274
302
|
examples?: string[] | undefined;
|
|
275
303
|
format?: string | undefined;
|
|
304
|
+
enum?: string[] | undefined;
|
|
276
305
|
file?: any;
|
|
277
306
|
nullable?: boolean | undefined;
|
|
278
307
|
}[];
|
|
279
308
|
};
|
|
280
|
-
body: {
|
|
281
|
-
activeBody: "binary" | "formData" | "raw";
|
|
282
|
-
binary?: Blob | undefined;
|
|
283
|
-
formData?: {
|
|
284
|
-
value: {
|
|
285
|
-
value: string;
|
|
286
|
-
key: string;
|
|
287
|
-
enabled: boolean;
|
|
288
|
-
minimum?: number | undefined;
|
|
289
|
-
type?: string | string[] | undefined;
|
|
290
|
-
maximum?: number | undefined;
|
|
291
|
-
default?: any;
|
|
292
|
-
required?: boolean | undefined;
|
|
293
|
-
description?: string | undefined;
|
|
294
|
-
enum?: string[] | undefined;
|
|
295
|
-
examples?: string[] | undefined;
|
|
296
|
-
format?: string | undefined;
|
|
297
|
-
file?: any;
|
|
298
|
-
nullable?: boolean | undefined;
|
|
299
|
-
}[];
|
|
300
|
-
encoding: "form-data" | "urlencoded";
|
|
301
|
-
} | undefined;
|
|
302
|
-
raw?: {
|
|
303
|
-
value: string;
|
|
304
|
-
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
305
|
-
mimeType?: string | undefined;
|
|
306
|
-
} | undefined;
|
|
307
|
-
};
|
|
308
309
|
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
309
310
|
serverVariables?: Record<string, string[]> | undefined;
|
|
310
311
|
}>;
|
|
311
312
|
requests: Record<string, {
|
|
313
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
312
314
|
path: string;
|
|
313
315
|
type: "request";
|
|
314
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
315
316
|
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
316
317
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
317
318
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
@@ -330,12 +331,12 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
330
331
|
deprecated?: boolean | undefined;
|
|
331
332
|
operationId?: string | undefined;
|
|
332
333
|
parameters?: {
|
|
333
|
-
required: boolean;
|
|
334
334
|
name: string;
|
|
335
|
-
|
|
335
|
+
required: boolean;
|
|
336
|
+
in: "cookie" | "path" | "query" | "header";
|
|
336
337
|
deprecated: boolean;
|
|
337
|
-
example?: unknown;
|
|
338
338
|
description?: string | undefined;
|
|
339
|
+
example?: unknown;
|
|
339
340
|
schema?: unknown;
|
|
340
341
|
content?: unknown;
|
|
341
342
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -352,17 +353,19 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
352
353
|
uid: string & import("zod").BRAND<"server">;
|
|
353
354
|
url: string;
|
|
354
355
|
description?: string | undefined;
|
|
355
|
-
variables?: Record<string,
|
|
356
|
-
|
|
357
|
-
|
|
356
|
+
variables?: Record<string, {
|
|
357
|
+
value?: string | undefined;
|
|
358
|
+
description?: string | undefined;
|
|
359
|
+
default?: string | undefined;
|
|
360
|
+
enum?: string[] | undefined;
|
|
358
361
|
}> | undefined;
|
|
359
362
|
}>;
|
|
360
363
|
securitySchemes: Record<string, {
|
|
361
364
|
type: "apiKey";
|
|
362
365
|
value: string;
|
|
363
366
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
364
|
-
name: string;
|
|
365
367
|
nameKey: string;
|
|
368
|
+
name: string;
|
|
366
369
|
in: "cookie" | "query" | "header";
|
|
367
370
|
description?: string | undefined;
|
|
368
371
|
} | {
|
|
@@ -456,8 +459,8 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
456
459
|
showSidebar: boolean;
|
|
457
460
|
integration: "elysiajs" | "fastify" | "vue" | "html" | "go" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | null | undefined;
|
|
458
461
|
importSpecFile: (_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
459
|
-
type?: "collection" | undefined;
|
|
460
462
|
uid?: string | undefined;
|
|
463
|
+
type?: "collection" | undefined;
|
|
461
464
|
externalDocs?: {
|
|
462
465
|
url: string;
|
|
463
466
|
description?: unknown;
|
|
@@ -473,15 +476,15 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
473
476
|
'x-scalar-active-environment'?: string | undefined;
|
|
474
477
|
'x-scalar-environments'?: Record<string, {
|
|
475
478
|
variables: Record<string, string | {
|
|
476
|
-
default?: string | undefined;
|
|
477
479
|
description?: string | undefined;
|
|
480
|
+
default?: string | undefined;
|
|
478
481
|
}>;
|
|
479
|
-
description?: string | undefined;
|
|
480
482
|
color?: string | undefined;
|
|
483
|
+
description?: string | undefined;
|
|
481
484
|
}> | undefined;
|
|
482
485
|
'x-scalar-secrets'?: Record<string, {
|
|
483
|
-
example?: string | undefined;
|
|
484
486
|
description?: string | undefined;
|
|
487
|
+
example?: string | undefined;
|
|
485
488
|
}> | undefined;
|
|
486
489
|
securitySchemes?: string[] | undefined;
|
|
487
490
|
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
@@ -492,9 +495,10 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
492
495
|
documentUrl?: string | undefined;
|
|
493
496
|
watchMode?: boolean | undefined;
|
|
494
497
|
integration?: string | null | undefined;
|
|
498
|
+
useCollectionSecurity?: boolean | undefined;
|
|
495
499
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
496
500
|
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
497
|
-
|
|
501
|
+
useCollectionSecurity?: boolean;
|
|
498
502
|
shouldLoad?: boolean;
|
|
499
503
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
500
504
|
error: false;
|
|
@@ -504,11 +508,87 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
504
508
|
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
505
509
|
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
506
510
|
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
507
|
-
securitySchemes:
|
|
511
|
+
securitySchemes: ({
|
|
512
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
513
|
+
name: string;
|
|
514
|
+
value: string;
|
|
515
|
+
type: "apiKey";
|
|
516
|
+
in: "cookie" | "query" | "header";
|
|
517
|
+
nameKey: string;
|
|
518
|
+
description?: string | undefined;
|
|
519
|
+
} | {
|
|
520
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
521
|
+
type: "http";
|
|
522
|
+
password: string;
|
|
523
|
+
nameKey: string;
|
|
524
|
+
scheme: "basic" | "bearer";
|
|
525
|
+
bearerFormat: string;
|
|
526
|
+
username: string;
|
|
527
|
+
token: string;
|
|
528
|
+
description?: string | undefined;
|
|
529
|
+
} | {
|
|
530
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
531
|
+
type: "openIdConnect";
|
|
532
|
+
nameKey: string;
|
|
533
|
+
openIdConnectUrl: string;
|
|
534
|
+
description?: string | undefined;
|
|
535
|
+
} | {
|
|
536
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
537
|
+
type: "oauth2";
|
|
538
|
+
nameKey: string;
|
|
539
|
+
flows: {
|
|
540
|
+
password?: {
|
|
541
|
+
type: "password";
|
|
542
|
+
password: string;
|
|
543
|
+
username: string;
|
|
544
|
+
token: string;
|
|
545
|
+
refreshUrl: string;
|
|
546
|
+
scopes: Record<string, string>;
|
|
547
|
+
selectedScopes: string[];
|
|
548
|
+
"x-scalar-client-id": string;
|
|
549
|
+
tokenUrl: string;
|
|
550
|
+
clientSecret: string;
|
|
551
|
+
} | undefined;
|
|
552
|
+
implicit?: {
|
|
553
|
+
type: "implicit";
|
|
554
|
+
token: string;
|
|
555
|
+
refreshUrl: string;
|
|
556
|
+
scopes: Record<string, string>;
|
|
557
|
+
selectedScopes: string[];
|
|
558
|
+
"x-scalar-client-id": string;
|
|
559
|
+
authorizationUrl: string;
|
|
560
|
+
"x-scalar-redirect-uri": string;
|
|
561
|
+
} | undefined;
|
|
562
|
+
clientCredentials?: {
|
|
563
|
+
type: "clientCredentials";
|
|
564
|
+
token: string;
|
|
565
|
+
refreshUrl: string;
|
|
566
|
+
scopes: Record<string, string>;
|
|
567
|
+
selectedScopes: string[];
|
|
568
|
+
"x-scalar-client-id": string;
|
|
569
|
+
tokenUrl: string;
|
|
570
|
+
clientSecret: string;
|
|
571
|
+
} | undefined;
|
|
572
|
+
authorizationCode?: {
|
|
573
|
+
type: "authorizationCode";
|
|
574
|
+
token: string;
|
|
575
|
+
refreshUrl: string;
|
|
576
|
+
scopes: Record<string, string>;
|
|
577
|
+
selectedScopes: string[];
|
|
578
|
+
"x-scalar-client-id": string;
|
|
579
|
+
authorizationUrl: string;
|
|
580
|
+
"x-scalar-redirect-uri": string;
|
|
581
|
+
tokenUrl: string;
|
|
582
|
+
clientSecret: string;
|
|
583
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
584
|
+
} | undefined;
|
|
585
|
+
};
|
|
586
|
+
description?: string | undefined;
|
|
587
|
+
})[];
|
|
508
588
|
} | undefined>;
|
|
509
589
|
importSpecFromUrl: (url: string, workspaceUid: string, { proxyUrl, ...options }?: Omit<Pick<{
|
|
510
|
-
type?: "collection" | undefined;
|
|
511
590
|
uid?: string | undefined;
|
|
591
|
+
type?: "collection" | undefined;
|
|
512
592
|
externalDocs?: {
|
|
513
593
|
url: string;
|
|
514
594
|
description?: unknown;
|
|
@@ -524,15 +604,15 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
524
604
|
'x-scalar-active-environment'?: string | undefined;
|
|
525
605
|
'x-scalar-environments'?: Record<string, {
|
|
526
606
|
variables: Record<string, string | {
|
|
527
|
-
default?: string | undefined;
|
|
528
607
|
description?: string | undefined;
|
|
608
|
+
default?: string | undefined;
|
|
529
609
|
}>;
|
|
530
|
-
description?: string | undefined;
|
|
531
610
|
color?: string | undefined;
|
|
611
|
+
description?: string | undefined;
|
|
532
612
|
}> | undefined;
|
|
533
613
|
'x-scalar-secrets'?: Record<string, {
|
|
534
|
-
example?: string | undefined;
|
|
535
614
|
description?: string | undefined;
|
|
615
|
+
example?: string | undefined;
|
|
536
616
|
}> | undefined;
|
|
537
617
|
securitySchemes?: string[] | undefined;
|
|
538
618
|
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
@@ -543,13 +623,14 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
543
623
|
documentUrl?: string | undefined;
|
|
544
624
|
watchMode?: boolean | undefined;
|
|
545
625
|
integration?: string | null | undefined;
|
|
626
|
+
useCollectionSecurity?: boolean | undefined;
|
|
546
627
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
547
628
|
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
548
|
-
|
|
629
|
+
useCollectionSecurity?: boolean;
|
|
549
630
|
shouldLoad?: boolean;
|
|
550
631
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("./errors").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
551
|
-
type?: "collection" | undefined;
|
|
552
632
|
uid?: string | undefined;
|
|
633
|
+
type?: "collection" | undefined;
|
|
553
634
|
externalDocs?: {
|
|
554
635
|
url: string;
|
|
555
636
|
description?: unknown;
|
|
@@ -565,15 +646,15 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
565
646
|
'x-scalar-active-environment'?: string | undefined;
|
|
566
647
|
'x-scalar-environments'?: Record<string, {
|
|
567
648
|
variables: Record<string, string | {
|
|
568
|
-
default?: string | undefined;
|
|
569
649
|
description?: string | undefined;
|
|
650
|
+
default?: string | undefined;
|
|
570
651
|
}>;
|
|
571
|
-
description?: string | undefined;
|
|
572
652
|
color?: string | undefined;
|
|
653
|
+
description?: string | undefined;
|
|
573
654
|
}> | undefined;
|
|
574
655
|
'x-scalar-secrets'?: Record<string, {
|
|
575
|
-
example?: string | undefined;
|
|
576
656
|
description?: string | undefined;
|
|
657
|
+
example?: string | undefined;
|
|
577
658
|
}> | undefined;
|
|
578
659
|
securitySchemes?: string[] | undefined;
|
|
579
660
|
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
@@ -584,9 +665,10 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
584
665
|
documentUrl?: string | undefined;
|
|
585
666
|
watchMode?: boolean | undefined;
|
|
586
667
|
integration?: string | null | undefined;
|
|
668
|
+
useCollectionSecurity?: boolean | undefined;
|
|
587
669
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
588
670
|
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
589
|
-
|
|
671
|
+
useCollectionSecurity?: boolean;
|
|
590
672
|
shouldLoad?: boolean;
|
|
591
673
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
592
674
|
error: false;
|
|
@@ -596,61 +678,137 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
596
678
|
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
597
679
|
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
598
680
|
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
599
|
-
securitySchemes:
|
|
681
|
+
securitySchemes: ({
|
|
682
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
683
|
+
name: string;
|
|
684
|
+
value: string;
|
|
685
|
+
type: "apiKey";
|
|
686
|
+
in: "cookie" | "query" | "header";
|
|
687
|
+
nameKey: string;
|
|
688
|
+
description?: string | undefined;
|
|
689
|
+
} | {
|
|
690
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
691
|
+
type: "http";
|
|
692
|
+
password: string;
|
|
693
|
+
nameKey: string;
|
|
694
|
+
scheme: "basic" | "bearer";
|
|
695
|
+
bearerFormat: string;
|
|
696
|
+
username: string;
|
|
697
|
+
token: string;
|
|
698
|
+
description?: string | undefined;
|
|
699
|
+
} | {
|
|
700
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
701
|
+
type: "openIdConnect";
|
|
702
|
+
nameKey: string;
|
|
703
|
+
openIdConnectUrl: string;
|
|
704
|
+
description?: string | undefined;
|
|
705
|
+
} | {
|
|
706
|
+
uid: string & import("zod").BRAND<"securityScheme">;
|
|
707
|
+
type: "oauth2";
|
|
708
|
+
nameKey: string;
|
|
709
|
+
flows: {
|
|
710
|
+
password?: {
|
|
711
|
+
type: "password";
|
|
712
|
+
password: string;
|
|
713
|
+
username: string;
|
|
714
|
+
token: string;
|
|
715
|
+
refreshUrl: string;
|
|
716
|
+
scopes: Record<string, string>;
|
|
717
|
+
selectedScopes: string[];
|
|
718
|
+
"x-scalar-client-id": string;
|
|
719
|
+
tokenUrl: string;
|
|
720
|
+
clientSecret: string;
|
|
721
|
+
} | undefined;
|
|
722
|
+
implicit?: {
|
|
723
|
+
type: "implicit";
|
|
724
|
+
token: string;
|
|
725
|
+
refreshUrl: string;
|
|
726
|
+
scopes: Record<string, string>;
|
|
727
|
+
selectedScopes: string[];
|
|
728
|
+
"x-scalar-client-id": string;
|
|
729
|
+
authorizationUrl: string;
|
|
730
|
+
"x-scalar-redirect-uri": string;
|
|
731
|
+
} | undefined;
|
|
732
|
+
clientCredentials?: {
|
|
733
|
+
type: "clientCredentials";
|
|
734
|
+
token: string;
|
|
735
|
+
refreshUrl: string;
|
|
736
|
+
scopes: Record<string, string>;
|
|
737
|
+
selectedScopes: string[];
|
|
738
|
+
"x-scalar-client-id": string;
|
|
739
|
+
tokenUrl: string;
|
|
740
|
+
clientSecret: string;
|
|
741
|
+
} | undefined;
|
|
742
|
+
authorizationCode?: {
|
|
743
|
+
type: "authorizationCode";
|
|
744
|
+
token: string;
|
|
745
|
+
refreshUrl: string;
|
|
746
|
+
scopes: Record<string, string>;
|
|
747
|
+
selectedScopes: string[];
|
|
748
|
+
"x-scalar-client-id": string;
|
|
749
|
+
authorizationUrl: string;
|
|
750
|
+
"x-scalar-redirect-uri": string;
|
|
751
|
+
tokenUrl: string;
|
|
752
|
+
clientSecret: string;
|
|
753
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
754
|
+
} | undefined;
|
|
755
|
+
};
|
|
756
|
+
description?: string | undefined;
|
|
757
|
+
})[];
|
|
600
758
|
} | undefined>>>>>;
|
|
601
759
|
cookieMutators: {
|
|
602
760
|
add: (item: {
|
|
603
|
-
value: string;
|
|
604
761
|
uid: string & import("zod").BRAND<"cookie">;
|
|
605
762
|
name: string;
|
|
606
|
-
|
|
763
|
+
value: string;
|
|
607
764
|
domain?: string | undefined;
|
|
765
|
+
path?: string | undefined;
|
|
608
766
|
}) => void;
|
|
609
767
|
delete: (uid: (string & import("zod").BRAND<"cookie">) | null | undefined) => void;
|
|
610
768
|
set: (item: {
|
|
611
|
-
value: string;
|
|
612
769
|
uid: string & import("zod").BRAND<"cookie">;
|
|
613
770
|
name: string;
|
|
614
|
-
|
|
771
|
+
value: string;
|
|
615
772
|
domain?: string | undefined;
|
|
773
|
+
path?: string | undefined;
|
|
616
774
|
}) => void;
|
|
617
775
|
edit: <P extends "value" | "path" | "name" | "uid" | "domain">(uid: (string & import("zod").BRAND<"cookie">) | null | undefined, path: P, value: P extends "value" | "path" | "name" | "uid" | "domain" ? {
|
|
618
|
-
value: string;
|
|
619
776
|
uid: string & import("zod").BRAND<"cookie">;
|
|
620
777
|
name: string;
|
|
621
|
-
|
|
778
|
+
value: string;
|
|
622
779
|
domain?: string | undefined;
|
|
780
|
+
path?: string | undefined;
|
|
623
781
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "path" | "name" | "uid" | "domain" ? R extends Path<{
|
|
624
|
-
value: string;
|
|
625
782
|
uid: string & import("zod").BRAND<"cookie">;
|
|
626
783
|
name: string;
|
|
627
|
-
|
|
784
|
+
value: string;
|
|
628
785
|
domain?: string | undefined;
|
|
786
|
+
path?: string | undefined;
|
|
629
787
|
}[K]> ? PathValue<{
|
|
630
|
-
value: string;
|
|
631
788
|
uid: string & import("zod").BRAND<"cookie">;
|
|
632
789
|
name: string;
|
|
633
|
-
|
|
790
|
+
value: string;
|
|
634
791
|
domain?: string | undefined;
|
|
792
|
+
path?: string | undefined;
|
|
635
793
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
636
794
|
untrackedEdit: <P extends "value" | "path" | "name" | "uid" | "domain">(uid: string & import("zod").BRAND<"cookie">, path: P, value: P extends "value" | "path" | "name" | "uid" | "domain" ? {
|
|
637
|
-
value: string;
|
|
638
795
|
uid: string & import("zod").BRAND<"cookie">;
|
|
639
796
|
name: string;
|
|
640
|
-
|
|
797
|
+
value: string;
|
|
641
798
|
domain?: string | undefined;
|
|
799
|
+
path?: string | undefined;
|
|
642
800
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "path" | "name" | "uid" | "domain" ? R extends Path<{
|
|
643
|
-
value: string;
|
|
644
801
|
uid: string & import("zod").BRAND<"cookie">;
|
|
645
802
|
name: string;
|
|
646
|
-
|
|
803
|
+
value: string;
|
|
647
804
|
domain?: string | undefined;
|
|
805
|
+
path?: string | undefined;
|
|
648
806
|
}[K]> ? PathValue<{
|
|
649
|
-
value: string;
|
|
650
807
|
uid: string & import("zod").BRAND<"cookie">;
|
|
651
808
|
name: string;
|
|
652
|
-
|
|
809
|
+
value: string;
|
|
653
810
|
domain?: string | undefined;
|
|
811
|
+
path?: string | undefined;
|
|
654
812
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
655
813
|
undo: (uid: string & import("zod").BRAND<"cookie">) => void;
|
|
656
814
|
redo: (uid: string & import("zod").BRAND<"cookie">) => void;
|
|
@@ -658,8 +816,8 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
658
816
|
};
|
|
659
817
|
collectionMutators: {
|
|
660
818
|
rawAdd: (item: {
|
|
661
|
-
type: "collection";
|
|
662
819
|
uid: string & import("zod").BRAND<"collection">;
|
|
820
|
+
type: "collection";
|
|
663
821
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
664
822
|
openapi: string;
|
|
665
823
|
info: {
|
|
@@ -687,6 +845,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
687
845
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
688
846
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
689
847
|
watchMode: boolean;
|
|
848
|
+
useCollectionSecurity: boolean;
|
|
690
849
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
691
850
|
externalDocs?: {
|
|
692
851
|
url: string;
|
|
@@ -701,20 +860,20 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
701
860
|
default: string;
|
|
702
861
|
description?: string | undefined;
|
|
703
862
|
}>;
|
|
704
|
-
description?: string | undefined;
|
|
705
863
|
color?: string | undefined;
|
|
864
|
+
description?: string | undefined;
|
|
706
865
|
}> | undefined;
|
|
707
866
|
'x-scalar-secrets'?: Record<string, {
|
|
708
|
-
example?: string | undefined;
|
|
709
867
|
description?: string | undefined;
|
|
868
|
+
example?: string | undefined;
|
|
710
869
|
}> | undefined;
|
|
711
870
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
712
871
|
documentUrl?: string | undefined;
|
|
713
872
|
integration?: string | null | undefined;
|
|
714
873
|
}) => void;
|
|
715
874
|
add: (payload: import("@scalar/oas-utils/entities/spec").CollectionPayload, workspaceUid: Workspace["uid"]) => {
|
|
716
|
-
type: "collection";
|
|
717
875
|
uid: string & import("zod").BRAND<"collection">;
|
|
876
|
+
type: "collection";
|
|
718
877
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
719
878
|
openapi: string;
|
|
720
879
|
info: {
|
|
@@ -742,6 +901,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
742
901
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
743
902
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
744
903
|
watchMode: boolean;
|
|
904
|
+
useCollectionSecurity: boolean;
|
|
745
905
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
746
906
|
externalDocs?: {
|
|
747
907
|
url: string;
|
|
@@ -756,12 +916,12 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
756
916
|
default: string;
|
|
757
917
|
description?: string | undefined;
|
|
758
918
|
}>;
|
|
759
|
-
description?: string | undefined;
|
|
760
919
|
color?: string | undefined;
|
|
920
|
+
description?: string | undefined;
|
|
761
921
|
}> | undefined;
|
|
762
922
|
'x-scalar-secrets'?: Record<string, {
|
|
763
|
-
example?: string | undefined;
|
|
764
923
|
description?: string | undefined;
|
|
924
|
+
example?: string | undefined;
|
|
765
925
|
}> | undefined;
|
|
766
926
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
767
927
|
documentUrl?: string | undefined;
|
|
@@ -771,8 +931,8 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
771
931
|
addEnvironment: (environmentName: string, environment: import("@scalar/oas-utils/entities/spec").XScalarEnvironment, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
772
932
|
removeEnvironment: (environmentName: string, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
773
933
|
set: (item: {
|
|
774
|
-
type: "collection";
|
|
775
934
|
uid: string & import("zod").BRAND<"collection">;
|
|
935
|
+
type: "collection";
|
|
776
936
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
777
937
|
openapi: string;
|
|
778
938
|
info: {
|
|
@@ -800,6 +960,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
800
960
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
801
961
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
802
962
|
watchMode: boolean;
|
|
963
|
+
useCollectionSecurity: boolean;
|
|
803
964
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
804
965
|
externalDocs?: {
|
|
805
966
|
url: string;
|
|
@@ -814,20 +975,20 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
814
975
|
default: string;
|
|
815
976
|
description?: string | undefined;
|
|
816
977
|
}>;
|
|
817
|
-
description?: string | undefined;
|
|
818
978
|
color?: string | undefined;
|
|
979
|
+
description?: string | undefined;
|
|
819
980
|
}> | undefined;
|
|
820
981
|
'x-scalar-secrets'?: Record<string, {
|
|
821
|
-
example?: string | undefined;
|
|
822
982
|
description?: string | undefined;
|
|
983
|
+
example?: string | undefined;
|
|
823
984
|
}> | undefined;
|
|
824
985
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
825
986
|
documentUrl?: string | undefined;
|
|
826
987
|
integration?: string | null | undefined;
|
|
827
988
|
}) => void;
|
|
828
|
-
edit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${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" | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: (string & import("zod").BRAND<"collection">) | null | undefined, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
|
|
829
|
-
type: "collection";
|
|
989
|
+
edit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${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" | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: (string & import("zod").BRAND<"collection">) | null | undefined, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
|
|
830
990
|
uid: string & import("zod").BRAND<"collection">;
|
|
991
|
+
type: "collection";
|
|
831
992
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
832
993
|
openapi: string;
|
|
833
994
|
info: {
|
|
@@ -855,6 +1016,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
855
1016
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
856
1017
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
857
1018
|
watchMode: boolean;
|
|
1019
|
+
useCollectionSecurity: boolean;
|
|
858
1020
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
859
1021
|
externalDocs?: {
|
|
860
1022
|
url: string;
|
|
@@ -869,19 +1031,19 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
869
1031
|
default: string;
|
|
870
1032
|
description?: string | undefined;
|
|
871
1033
|
}>;
|
|
872
|
-
description?: string | undefined;
|
|
873
1034
|
color?: string | undefined;
|
|
1035
|
+
description?: string | undefined;
|
|
874
1036
|
}> | undefined;
|
|
875
1037
|
'x-scalar-secrets'?: Record<string, {
|
|
876
|
-
example?: string | undefined;
|
|
877
1038
|
description?: string | undefined;
|
|
1039
|
+
example?: string | undefined;
|
|
878
1040
|
}> | undefined;
|
|
879
1041
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
880
1042
|
documentUrl?: string | undefined;
|
|
881
1043
|
integration?: string | null | undefined;
|
|
882
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends Path<{
|
|
883
|
-
type: "collection";
|
|
1044
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends Path<{
|
|
884
1045
|
uid: string & import("zod").BRAND<"collection">;
|
|
1046
|
+
type: "collection";
|
|
885
1047
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
886
1048
|
openapi: string;
|
|
887
1049
|
info: {
|
|
@@ -909,6 +1071,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
909
1071
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
910
1072
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
911
1073
|
watchMode: boolean;
|
|
1074
|
+
useCollectionSecurity: boolean;
|
|
912
1075
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
913
1076
|
externalDocs?: {
|
|
914
1077
|
url: string;
|
|
@@ -923,19 +1086,19 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
923
1086
|
default: string;
|
|
924
1087
|
description?: string | undefined;
|
|
925
1088
|
}>;
|
|
926
|
-
description?: string | undefined;
|
|
927
1089
|
color?: string | undefined;
|
|
1090
|
+
description?: string | undefined;
|
|
928
1091
|
}> | undefined;
|
|
929
1092
|
'x-scalar-secrets'?: Record<string, {
|
|
930
|
-
example?: string | undefined;
|
|
931
1093
|
description?: string | undefined;
|
|
1094
|
+
example?: string | undefined;
|
|
932
1095
|
}> | undefined;
|
|
933
1096
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
934
1097
|
documentUrl?: string | undefined;
|
|
935
1098
|
integration?: string | null | undefined;
|
|
936
1099
|
}[K]> ? PathValue<{
|
|
937
|
-
type: "collection";
|
|
938
1100
|
uid: string & import("zod").BRAND<"collection">;
|
|
1101
|
+
type: "collection";
|
|
939
1102
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
940
1103
|
openapi: string;
|
|
941
1104
|
info: {
|
|
@@ -963,6 +1126,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
963
1126
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
964
1127
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
965
1128
|
watchMode: boolean;
|
|
1129
|
+
useCollectionSecurity: boolean;
|
|
966
1130
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
967
1131
|
externalDocs?: {
|
|
968
1132
|
url: string;
|
|
@@ -977,20 +1141,20 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
977
1141
|
default: string;
|
|
978
1142
|
description?: string | undefined;
|
|
979
1143
|
}>;
|
|
980
|
-
description?: string | undefined;
|
|
981
1144
|
color?: string | undefined;
|
|
1145
|
+
description?: string | undefined;
|
|
982
1146
|
}> | undefined;
|
|
983
1147
|
'x-scalar-secrets'?: Record<string, {
|
|
984
|
-
example?: string | undefined;
|
|
985
1148
|
description?: string | undefined;
|
|
1149
|
+
example?: string | undefined;
|
|
986
1150
|
}> | undefined;
|
|
987
1151
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
988
1152
|
documentUrl?: string | undefined;
|
|
989
1153
|
integration?: string | null | undefined;
|
|
990
1154
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
991
|
-
untrackedEdit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${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" | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: string & import("zod").BRAND<"collection">, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
|
|
992
|
-
type: "collection";
|
|
1155
|
+
untrackedEdit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${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" | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: string & import("zod").BRAND<"collection">, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
|
|
993
1156
|
uid: string & import("zod").BRAND<"collection">;
|
|
1157
|
+
type: "collection";
|
|
994
1158
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
995
1159
|
openapi: string;
|
|
996
1160
|
info: {
|
|
@@ -1018,6 +1182,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1018
1182
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
1019
1183
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1020
1184
|
watchMode: boolean;
|
|
1185
|
+
useCollectionSecurity: boolean;
|
|
1021
1186
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1022
1187
|
externalDocs?: {
|
|
1023
1188
|
url: string;
|
|
@@ -1032,19 +1197,19 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1032
1197
|
default: string;
|
|
1033
1198
|
description?: string | undefined;
|
|
1034
1199
|
}>;
|
|
1035
|
-
description?: string | undefined;
|
|
1036
1200
|
color?: string | undefined;
|
|
1201
|
+
description?: string | undefined;
|
|
1037
1202
|
}> | undefined;
|
|
1038
1203
|
'x-scalar-secrets'?: Record<string, {
|
|
1039
|
-
example?: string | undefined;
|
|
1040
1204
|
description?: string | undefined;
|
|
1205
|
+
example?: string | undefined;
|
|
1041
1206
|
}> | undefined;
|
|
1042
1207
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1043
1208
|
documentUrl?: string | undefined;
|
|
1044
1209
|
integration?: string | null | undefined;
|
|
1045
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends Path<{
|
|
1046
|
-
type: "collection";
|
|
1210
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends Path<{
|
|
1047
1211
|
uid: string & import("zod").BRAND<"collection">;
|
|
1212
|
+
type: "collection";
|
|
1048
1213
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
1049
1214
|
openapi: string;
|
|
1050
1215
|
info: {
|
|
@@ -1072,6 +1237,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1072
1237
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
1073
1238
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1074
1239
|
watchMode: boolean;
|
|
1240
|
+
useCollectionSecurity: boolean;
|
|
1075
1241
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1076
1242
|
externalDocs?: {
|
|
1077
1243
|
url: string;
|
|
@@ -1086,19 +1252,19 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1086
1252
|
default: string;
|
|
1087
1253
|
description?: string | undefined;
|
|
1088
1254
|
}>;
|
|
1089
|
-
description?: string | undefined;
|
|
1090
1255
|
color?: string | undefined;
|
|
1256
|
+
description?: string | undefined;
|
|
1091
1257
|
}> | undefined;
|
|
1092
1258
|
'x-scalar-secrets'?: Record<string, {
|
|
1093
|
-
example?: string | undefined;
|
|
1094
1259
|
description?: string | undefined;
|
|
1260
|
+
example?: string | undefined;
|
|
1095
1261
|
}> | undefined;
|
|
1096
1262
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1097
1263
|
documentUrl?: string | undefined;
|
|
1098
1264
|
integration?: string | null | undefined;
|
|
1099
1265
|
}[K]> ? PathValue<{
|
|
1100
|
-
type: "collection";
|
|
1101
1266
|
uid: string & import("zod").BRAND<"collection">;
|
|
1267
|
+
type: "collection";
|
|
1102
1268
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
1103
1269
|
openapi: string;
|
|
1104
1270
|
info: {
|
|
@@ -1126,6 +1292,7 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1126
1292
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
1127
1293
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1128
1294
|
watchMode: boolean;
|
|
1295
|
+
useCollectionSecurity: boolean;
|
|
1129
1296
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1130
1297
|
externalDocs?: {
|
|
1131
1298
|
url: string;
|
|
@@ -1140,12 +1307,12 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1140
1307
|
default: string;
|
|
1141
1308
|
description?: string | undefined;
|
|
1142
1309
|
}>;
|
|
1143
|
-
description?: string | undefined;
|
|
1144
1310
|
color?: string | undefined;
|
|
1311
|
+
description?: string | undefined;
|
|
1145
1312
|
}> | undefined;
|
|
1146
1313
|
'x-scalar-secrets'?: Record<string, {
|
|
1147
|
-
example?: string | undefined;
|
|
1148
1314
|
description?: string | undefined;
|
|
1315
|
+
example?: string | undefined;
|
|
1149
1316
|
}> | undefined;
|
|
1150
1317
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1151
1318
|
documentUrl?: string | undefined;
|
|
@@ -1158,54 +1325,54 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1158
1325
|
environmentMutators: {
|
|
1159
1326
|
delete: (uid: import("@scalar/oas-utils/entities/environment").Environment["uid"]) => void;
|
|
1160
1327
|
add: (item: {
|
|
1161
|
-
value: string;
|
|
1162
1328
|
uid: string & import("zod").BRAND<"environment">;
|
|
1163
1329
|
name: string;
|
|
1330
|
+
value: string;
|
|
1164
1331
|
color: string;
|
|
1165
1332
|
isDefault?: boolean | undefined;
|
|
1166
1333
|
}) => void;
|
|
1167
1334
|
set: (item: {
|
|
1168
|
-
value: string;
|
|
1169
1335
|
uid: string & import("zod").BRAND<"environment">;
|
|
1170
1336
|
name: string;
|
|
1337
|
+
value: string;
|
|
1171
1338
|
color: string;
|
|
1172
1339
|
isDefault?: boolean | undefined;
|
|
1173
1340
|
}) => void;
|
|
1174
1341
|
edit: <P extends "value" | "name" | "uid" | "color" | "isDefault">(uid: (string & import("zod").BRAND<"environment">) | null | undefined, path: P, value: P extends "value" | "name" | "uid" | "color" | "isDefault" ? {
|
|
1175
|
-
value: string;
|
|
1176
1342
|
uid: string & import("zod").BRAND<"environment">;
|
|
1177
1343
|
name: string;
|
|
1344
|
+
value: string;
|
|
1178
1345
|
color: string;
|
|
1179
1346
|
isDefault?: boolean | undefined;
|
|
1180
1347
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "name" | "uid" | "color" | "isDefault" ? R extends Path<{
|
|
1181
|
-
value: string;
|
|
1182
1348
|
uid: string & import("zod").BRAND<"environment">;
|
|
1183
1349
|
name: string;
|
|
1350
|
+
value: string;
|
|
1184
1351
|
color: string;
|
|
1185
1352
|
isDefault?: boolean | undefined;
|
|
1186
1353
|
}[K]> ? PathValue<{
|
|
1187
|
-
value: string;
|
|
1188
1354
|
uid: string & import("zod").BRAND<"environment">;
|
|
1189
1355
|
name: string;
|
|
1356
|
+
value: string;
|
|
1190
1357
|
color: string;
|
|
1191
1358
|
isDefault?: boolean | undefined;
|
|
1192
1359
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1193
1360
|
untrackedEdit: <P extends "value" | "name" | "uid" | "color" | "isDefault">(uid: string & import("zod").BRAND<"environment">, path: P, value: P extends "value" | "name" | "uid" | "color" | "isDefault" ? {
|
|
1194
|
-
value: string;
|
|
1195
1361
|
uid: string & import("zod").BRAND<"environment">;
|
|
1196
1362
|
name: string;
|
|
1363
|
+
value: string;
|
|
1197
1364
|
color: string;
|
|
1198
1365
|
isDefault?: boolean | undefined;
|
|
1199
1366
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "name" | "uid" | "color" | "isDefault" ? R extends Path<{
|
|
1200
|
-
value: string;
|
|
1201
1367
|
uid: string & import("zod").BRAND<"environment">;
|
|
1202
1368
|
name: string;
|
|
1369
|
+
value: string;
|
|
1203
1370
|
color: string;
|
|
1204
1371
|
isDefault?: boolean | undefined;
|
|
1205
1372
|
}[K]> ? PathValue<{
|
|
1206
|
-
value: string;
|
|
1207
1373
|
uid: string & import("zod").BRAND<"environment">;
|
|
1208
1374
|
name: string;
|
|
1375
|
+
value: string;
|
|
1209
1376
|
color: string;
|
|
1210
1377
|
isDefault?: boolean | undefined;
|
|
1211
1378
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
@@ -1215,9 +1382,9 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1215
1382
|
};
|
|
1216
1383
|
requestMutators: {
|
|
1217
1384
|
rawAdd: (item: {
|
|
1385
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1218
1386
|
path: string;
|
|
1219
1387
|
type: "request";
|
|
1220
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
1221
1388
|
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1222
1389
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1223
1390
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
@@ -1236,12 +1403,12 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1236
1403
|
deprecated?: boolean | undefined;
|
|
1237
1404
|
operationId?: string | undefined;
|
|
1238
1405
|
parameters?: {
|
|
1239
|
-
required: boolean;
|
|
1240
1406
|
name: string;
|
|
1241
|
-
|
|
1407
|
+
required: boolean;
|
|
1408
|
+
in: "cookie" | "path" | "query" | "header";
|
|
1242
1409
|
deprecated: boolean;
|
|
1243
|
-
example?: unknown;
|
|
1244
1410
|
description?: string | undefined;
|
|
1411
|
+
example?: unknown;
|
|
1245
1412
|
schema?: unknown;
|
|
1246
1413
|
content?: unknown;
|
|
1247
1414
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1255,9 +1422,9 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1255
1422
|
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1256
1423
|
}) => void;
|
|
1257
1424
|
add: (payload: import("@scalar/oas-utils/entities/spec").RequestPayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void | {
|
|
1425
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1258
1426
|
path: string;
|
|
1259
1427
|
type: "request";
|
|
1260
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
1261
1428
|
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1262
1429
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1263
1430
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
@@ -1276,12 +1443,12 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1276
1443
|
deprecated?: boolean | undefined;
|
|
1277
1444
|
operationId?: string | undefined;
|
|
1278
1445
|
parameters?: {
|
|
1279
|
-
required: boolean;
|
|
1280
1446
|
name: string;
|
|
1281
|
-
|
|
1447
|
+
required: boolean;
|
|
1448
|
+
in: "cookie" | "path" | "query" | "header";
|
|
1282
1449
|
deprecated: boolean;
|
|
1283
|
-
example?: unknown;
|
|
1284
1450
|
description?: string | undefined;
|
|
1451
|
+
example?: unknown;
|
|
1285
1452
|
schema?: unknown;
|
|
1286
1453
|
content?: unknown;
|
|
1287
1454
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1296,9 +1463,9 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1296
1463
|
};
|
|
1297
1464
|
delete: (request: import("@scalar/oas-utils/entities/spec").Request, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
1298
1465
|
set: (item: {
|
|
1466
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1299
1467
|
path: string;
|
|
1300
1468
|
type: "request";
|
|
1301
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
1302
1469
|
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1303
1470
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1304
1471
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
@@ -1317,12 +1484,12 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1317
1484
|
deprecated?: boolean | undefined;
|
|
1318
1485
|
operationId?: string | undefined;
|
|
1319
1486
|
parameters?: {
|
|
1320
|
-
required: boolean;
|
|
1321
1487
|
name: string;
|
|
1322
|
-
|
|
1488
|
+
required: boolean;
|
|
1489
|
+
in: "cookie" | "path" | "query" | "header";
|
|
1323
1490
|
deprecated: boolean;
|
|
1324
|
-
example?: unknown;
|
|
1325
1491
|
description?: string | undefined;
|
|
1492
|
+
example?: unknown;
|
|
1326
1493
|
schema?: unknown;
|
|
1327
1494
|
content?: unknown;
|
|
1328
1495
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1336,9 +1503,9 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1336
1503
|
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1337
1504
|
}) => void;
|
|
1338
1505
|
edit: <P extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "servers" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | "examples" | `requestBody.${string}` | `examples.${number}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.deprecated` | `parameters.${number}.example` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.style` | `parameters.${number}.examples` | `parameters.${number}.content` | `parameters.${number}.required` | `parameters.${number}.schema` | `parameters.${number}.examples.${number}` | `parameters.${number}.examples.${string}` | `responses.${string}`>(uid: (string & import("zod").BRAND<"operation">) | null | undefined, path: P, value: P extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "servers" | "selectedServerUid" | "examples" ? {
|
|
1506
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1339
1507
|
path: string;
|
|
1340
1508
|
type: "request";
|
|
1341
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
1342
1509
|
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1343
1510
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1344
1511
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
@@ -1357,12 +1524,12 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1357
1524
|
deprecated?: boolean | undefined;
|
|
1358
1525
|
operationId?: string | undefined;
|
|
1359
1526
|
parameters?: {
|
|
1360
|
-
required: boolean;
|
|
1361
1527
|
name: string;
|
|
1362
|
-
|
|
1528
|
+
required: boolean;
|
|
1529
|
+
in: "cookie" | "path" | "query" | "header";
|
|
1363
1530
|
deprecated: boolean;
|
|
1364
|
-
example?: unknown;
|
|
1365
1531
|
description?: string | undefined;
|
|
1532
|
+
example?: unknown;
|
|
1366
1533
|
schema?: unknown;
|
|
1367
1534
|
content?: unknown;
|
|
1368
1535
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1375,9 +1542,9 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1375
1542
|
responses?: Record<string, any> | undefined;
|
|
1376
1543
|
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1377
1544
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "servers" | "selectedServerUid" | "examples" ? R extends Path<{
|
|
1545
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1378
1546
|
path: string;
|
|
1379
1547
|
type: "request";
|
|
1380
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
1381
1548
|
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1382
1549
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1383
1550
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
@@ -1396,12 +1563,12 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1396
1563
|
deprecated?: boolean | undefined;
|
|
1397
1564
|
operationId?: string | undefined;
|
|
1398
1565
|
parameters?: {
|
|
1399
|
-
required: boolean;
|
|
1400
1566
|
name: string;
|
|
1401
|
-
|
|
1567
|
+
required: boolean;
|
|
1568
|
+
in: "cookie" | "path" | "query" | "header";
|
|
1402
1569
|
deprecated: boolean;
|
|
1403
|
-
example?: unknown;
|
|
1404
1570
|
description?: string | undefined;
|
|
1571
|
+
example?: unknown;
|
|
1405
1572
|
schema?: unknown;
|
|
1406
1573
|
content?: unknown;
|
|
1407
1574
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1414,9 +1581,9 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1414
1581
|
responses?: Record<string, any> | undefined;
|
|
1415
1582
|
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1416
1583
|
}[K]> ? PathValue<{
|
|
1584
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1417
1585
|
path: string;
|
|
1418
1586
|
type: "request";
|
|
1419
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
1420
1587
|
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1421
1588
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1422
1589
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
@@ -1435,12 +1602,12 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1435
1602
|
deprecated?: boolean | undefined;
|
|
1436
1603
|
operationId?: string | undefined;
|
|
1437
1604
|
parameters?: {
|
|
1438
|
-
required: boolean;
|
|
1439
1605
|
name: string;
|
|
1440
|
-
|
|
1606
|
+
required: boolean;
|
|
1607
|
+
in: "cookie" | "path" | "query" | "header";
|
|
1441
1608
|
deprecated: boolean;
|
|
1442
|
-
example?: unknown;
|
|
1443
1609
|
description?: string | undefined;
|
|
1610
|
+
example?: unknown;
|
|
1444
1611
|
schema?: unknown;
|
|
1445
1612
|
content?: unknown;
|
|
1446
1613
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1454,9 +1621,9 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1454
1621
|
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1455
1622
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1456
1623
|
untrackedEdit: <P extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "servers" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | "examples" | `requestBody.${string}` | `examples.${number}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.deprecated` | `parameters.${number}.example` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.style` | `parameters.${number}.examples` | `parameters.${number}.content` | `parameters.${number}.required` | `parameters.${number}.schema` | `parameters.${number}.examples.${number}` | `parameters.${number}.examples.${string}` | `responses.${string}`>(uid: string & import("zod").BRAND<"operation">, path: P, value: P extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "servers" | "selectedServerUid" | "examples" ? {
|
|
1624
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1457
1625
|
path: string;
|
|
1458
1626
|
type: "request";
|
|
1459
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
1460
1627
|
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1461
1628
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1462
1629
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
@@ -1475,12 +1642,12 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1475
1642
|
deprecated?: boolean | undefined;
|
|
1476
1643
|
operationId?: string | undefined;
|
|
1477
1644
|
parameters?: {
|
|
1478
|
-
required: boolean;
|
|
1479
1645
|
name: string;
|
|
1480
|
-
|
|
1646
|
+
required: boolean;
|
|
1647
|
+
in: "cookie" | "path" | "query" | "header";
|
|
1481
1648
|
deprecated: boolean;
|
|
1482
|
-
example?: unknown;
|
|
1483
1649
|
description?: string | undefined;
|
|
1650
|
+
example?: unknown;
|
|
1484
1651
|
schema?: unknown;
|
|
1485
1652
|
content?: unknown;
|
|
1486
1653
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1493,9 +1660,9 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1493
1660
|
responses?: Record<string, any> | undefined;
|
|
1494
1661
|
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1495
1662
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "x-internal" | "x-scalar-ignore" | "x-scalar-stability" | "path" | "method" | "type" | "uid" | "selectedSecuritySchemeUids" | "servers" | "selectedServerUid" | "examples" ? R extends Path<{
|
|
1663
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1496
1664
|
path: string;
|
|
1497
1665
|
type: "request";
|
|
1498
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
1499
1666
|
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1500
1667
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1501
1668
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
@@ -1514,12 +1681,12 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1514
1681
|
deprecated?: boolean | undefined;
|
|
1515
1682
|
operationId?: string | undefined;
|
|
1516
1683
|
parameters?: {
|
|
1517
|
-
required: boolean;
|
|
1518
1684
|
name: string;
|
|
1519
|
-
|
|
1685
|
+
required: boolean;
|
|
1686
|
+
in: "cookie" | "path" | "query" | "header";
|
|
1520
1687
|
deprecated: boolean;
|
|
1521
|
-
example?: unknown;
|
|
1522
1688
|
description?: string | undefined;
|
|
1689
|
+
example?: unknown;
|
|
1523
1690
|
schema?: unknown;
|
|
1524
1691
|
content?: unknown;
|
|
1525
1692
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1532,9 +1699,9 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1532
1699
|
responses?: Record<string, any> | undefined;
|
|
1533
1700
|
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
1534
1701
|
}[K]> ? PathValue<{
|
|
1702
|
+
uid: string & import("zod").BRAND<"operation">;
|
|
1535
1703
|
path: string;
|
|
1536
1704
|
type: "request";
|
|
1537
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
1538
1705
|
selectedSecuritySchemeUids: ((string & import("zod").BRAND<"securityScheme">) | (string & import("zod").BRAND<"securityScheme">)[])[];
|
|
1539
1706
|
selectedServerUid: (string & import("zod").BRAND<"server">) | null;
|
|
1540
1707
|
servers: (string & import("zod").BRAND<"server">)[];
|
|
@@ -1553,12 +1720,12 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1553
1720
|
deprecated?: boolean | undefined;
|
|
1554
1721
|
operationId?: string | undefined;
|
|
1555
1722
|
parameters?: {
|
|
1556
|
-
required: boolean;
|
|
1557
1723
|
name: string;
|
|
1558
|
-
|
|
1724
|
+
required: boolean;
|
|
1725
|
+
in: "cookie" | "path" | "query" | "header";
|
|
1559
1726
|
deprecated: boolean;
|
|
1560
|
-
example?: unknown;
|
|
1561
1727
|
description?: string | undefined;
|
|
1728
|
+
example?: unknown;
|
|
1562
1729
|
schema?: unknown;
|
|
1563
1730
|
content?: unknown;
|
|
1564
1731
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
@@ -1578,9 +1745,37 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1578
1745
|
findRequestParents: (r: import("@scalar/oas-utils/entities/spec").Request) => string[];
|
|
1579
1746
|
requestExampleMutators: {
|
|
1580
1747
|
rawAdd: (item: {
|
|
1581
|
-
type: "requestExample";
|
|
1582
1748
|
uid: string & import("zod").BRAND<"example">;
|
|
1583
1749
|
name: string;
|
|
1750
|
+
type: "requestExample";
|
|
1751
|
+
body: {
|
|
1752
|
+
activeBody: "formData" | "binary" | "raw";
|
|
1753
|
+
formData?: {
|
|
1754
|
+
value: {
|
|
1755
|
+
value: string;
|
|
1756
|
+
key: string;
|
|
1757
|
+
enabled: boolean;
|
|
1758
|
+
minimum?: number | undefined;
|
|
1759
|
+
type?: string | string[] | undefined;
|
|
1760
|
+
maximum?: number | undefined;
|
|
1761
|
+
description?: string | undefined;
|
|
1762
|
+
default?: any;
|
|
1763
|
+
required?: boolean | undefined;
|
|
1764
|
+
examples?: string[] | undefined;
|
|
1765
|
+
format?: string | undefined;
|
|
1766
|
+
enum?: string[] | undefined;
|
|
1767
|
+
file?: any;
|
|
1768
|
+
nullable?: boolean | undefined;
|
|
1769
|
+
}[];
|
|
1770
|
+
encoding: "form-data" | "urlencoded";
|
|
1771
|
+
} | undefined;
|
|
1772
|
+
binary?: Blob | undefined;
|
|
1773
|
+
raw?: {
|
|
1774
|
+
value: string;
|
|
1775
|
+
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
1776
|
+
mimeType?: string | undefined;
|
|
1777
|
+
} | undefined;
|
|
1778
|
+
};
|
|
1584
1779
|
parameters: {
|
|
1585
1780
|
path: {
|
|
1586
1781
|
value: string;
|
|
@@ -1589,67 +1784,73 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1589
1784
|
minimum?: number | undefined;
|
|
1590
1785
|
type?: string | string[] | undefined;
|
|
1591
1786
|
maximum?: number | undefined;
|
|
1787
|
+
description?: string | undefined;
|
|
1592
1788
|
default?: any;
|
|
1593
1789
|
required?: boolean | undefined;
|
|
1594
|
-
description?: string | undefined;
|
|
1595
|
-
enum?: string[] | undefined;
|
|
1596
1790
|
examples?: string[] | undefined;
|
|
1597
1791
|
format?: string | undefined;
|
|
1792
|
+
enum?: string[] | undefined;
|
|
1598
1793
|
file?: any;
|
|
1599
1794
|
nullable?: boolean | undefined;
|
|
1600
1795
|
}[];
|
|
1601
|
-
|
|
1796
|
+
query: {
|
|
1602
1797
|
value: string;
|
|
1603
1798
|
key: string;
|
|
1604
1799
|
enabled: boolean;
|
|
1605
1800
|
minimum?: number | undefined;
|
|
1606
1801
|
type?: string | string[] | undefined;
|
|
1607
1802
|
maximum?: number | undefined;
|
|
1803
|
+
description?: string | undefined;
|
|
1608
1804
|
default?: any;
|
|
1609
1805
|
required?: boolean | undefined;
|
|
1610
|
-
description?: string | undefined;
|
|
1611
|
-
enum?: string[] | undefined;
|
|
1612
1806
|
examples?: string[] | undefined;
|
|
1613
1807
|
format?: string | undefined;
|
|
1808
|
+
enum?: string[] | undefined;
|
|
1614
1809
|
file?: any;
|
|
1615
1810
|
nullable?: boolean | undefined;
|
|
1616
1811
|
}[];
|
|
1617
|
-
|
|
1812
|
+
headers: {
|
|
1618
1813
|
value: string;
|
|
1619
1814
|
key: string;
|
|
1620
1815
|
enabled: boolean;
|
|
1621
1816
|
minimum?: number | undefined;
|
|
1622
1817
|
type?: string | string[] | undefined;
|
|
1623
1818
|
maximum?: number | undefined;
|
|
1819
|
+
description?: string | undefined;
|
|
1624
1820
|
default?: any;
|
|
1625
1821
|
required?: boolean | undefined;
|
|
1626
|
-
description?: string | undefined;
|
|
1627
|
-
enum?: string[] | undefined;
|
|
1628
1822
|
examples?: string[] | undefined;
|
|
1629
1823
|
format?: string | undefined;
|
|
1824
|
+
enum?: string[] | undefined;
|
|
1630
1825
|
file?: any;
|
|
1631
1826
|
nullable?: boolean | undefined;
|
|
1632
1827
|
}[];
|
|
1633
|
-
|
|
1828
|
+
cookies: {
|
|
1634
1829
|
value: string;
|
|
1635
1830
|
key: string;
|
|
1636
1831
|
enabled: boolean;
|
|
1637
1832
|
minimum?: number | undefined;
|
|
1638
1833
|
type?: string | string[] | undefined;
|
|
1639
1834
|
maximum?: number | undefined;
|
|
1835
|
+
description?: string | undefined;
|
|
1640
1836
|
default?: any;
|
|
1641
1837
|
required?: boolean | undefined;
|
|
1642
|
-
description?: string | undefined;
|
|
1643
|
-
enum?: string[] | undefined;
|
|
1644
1838
|
examples?: string[] | undefined;
|
|
1645
1839
|
format?: string | undefined;
|
|
1840
|
+
enum?: string[] | undefined;
|
|
1646
1841
|
file?: any;
|
|
1647
1842
|
nullable?: boolean | undefined;
|
|
1648
1843
|
}[];
|
|
1649
1844
|
};
|
|
1845
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1846
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
1847
|
+
}) => void;
|
|
1848
|
+
add: (request: import("@scalar/oas-utils/entities/spec").Request, _name?: string) => {
|
|
1849
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1850
|
+
name: string;
|
|
1851
|
+
type: "requestExample";
|
|
1650
1852
|
body: {
|
|
1651
|
-
activeBody: "
|
|
1652
|
-
binary?: Blob | undefined;
|
|
1853
|
+
activeBody: "formData" | "binary" | "raw";
|
|
1653
1854
|
formData?: {
|
|
1654
1855
|
value: {
|
|
1655
1856
|
value: string;
|
|
@@ -1658,30 +1859,24 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1658
1859
|
minimum?: number | undefined;
|
|
1659
1860
|
type?: string | string[] | undefined;
|
|
1660
1861
|
maximum?: number | undefined;
|
|
1862
|
+
description?: string | undefined;
|
|
1661
1863
|
default?: any;
|
|
1662
1864
|
required?: boolean | undefined;
|
|
1663
|
-
description?: string | undefined;
|
|
1664
|
-
enum?: string[] | undefined;
|
|
1665
1865
|
examples?: string[] | undefined;
|
|
1666
1866
|
format?: string | undefined;
|
|
1867
|
+
enum?: string[] | undefined;
|
|
1667
1868
|
file?: any;
|
|
1668
1869
|
nullable?: boolean | undefined;
|
|
1669
1870
|
}[];
|
|
1670
1871
|
encoding: "form-data" | "urlencoded";
|
|
1671
1872
|
} | undefined;
|
|
1873
|
+
binary?: Blob | undefined;
|
|
1672
1874
|
raw?: {
|
|
1673
1875
|
value: string;
|
|
1674
1876
|
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
1675
1877
|
mimeType?: string | undefined;
|
|
1676
1878
|
} | undefined;
|
|
1677
1879
|
};
|
|
1678
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1679
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
1680
|
-
}) => void;
|
|
1681
|
-
add: (request: import("@scalar/oas-utils/entities/spec").Request, _name?: string) => {
|
|
1682
|
-
type: "requestExample";
|
|
1683
|
-
uid: string & import("zod").BRAND<"example">;
|
|
1684
|
-
name: string;
|
|
1685
1880
|
parameters: {
|
|
1686
1881
|
path: {
|
|
1687
1882
|
value: string;
|
|
@@ -1690,67 +1885,74 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1690
1885
|
minimum?: number | undefined;
|
|
1691
1886
|
type?: string | string[] | undefined;
|
|
1692
1887
|
maximum?: number | undefined;
|
|
1888
|
+
description?: string | undefined;
|
|
1693
1889
|
default?: any;
|
|
1694
1890
|
required?: boolean | undefined;
|
|
1695
|
-
description?: string | undefined;
|
|
1696
|
-
enum?: string[] | undefined;
|
|
1697
1891
|
examples?: string[] | undefined;
|
|
1698
1892
|
format?: string | undefined;
|
|
1893
|
+
enum?: string[] | undefined;
|
|
1699
1894
|
file?: any;
|
|
1700
1895
|
nullable?: boolean | undefined;
|
|
1701
1896
|
}[];
|
|
1702
|
-
|
|
1897
|
+
query: {
|
|
1703
1898
|
value: string;
|
|
1704
1899
|
key: string;
|
|
1705
1900
|
enabled: boolean;
|
|
1706
1901
|
minimum?: number | undefined;
|
|
1707
1902
|
type?: string | string[] | undefined;
|
|
1708
1903
|
maximum?: number | undefined;
|
|
1904
|
+
description?: string | undefined;
|
|
1709
1905
|
default?: any;
|
|
1710
1906
|
required?: boolean | undefined;
|
|
1711
|
-
description?: string | undefined;
|
|
1712
|
-
enum?: string[] | undefined;
|
|
1713
1907
|
examples?: string[] | undefined;
|
|
1714
1908
|
format?: string | undefined;
|
|
1909
|
+
enum?: string[] | undefined;
|
|
1715
1910
|
file?: any;
|
|
1716
1911
|
nullable?: boolean | undefined;
|
|
1717
1912
|
}[];
|
|
1718
|
-
|
|
1913
|
+
headers: {
|
|
1719
1914
|
value: string;
|
|
1720
1915
|
key: string;
|
|
1721
1916
|
enabled: boolean;
|
|
1722
1917
|
minimum?: number | undefined;
|
|
1723
1918
|
type?: string | string[] | undefined;
|
|
1724
1919
|
maximum?: number | undefined;
|
|
1920
|
+
description?: string | undefined;
|
|
1725
1921
|
default?: any;
|
|
1726
1922
|
required?: boolean | undefined;
|
|
1727
|
-
description?: string | undefined;
|
|
1728
|
-
enum?: string[] | undefined;
|
|
1729
1923
|
examples?: string[] | undefined;
|
|
1730
1924
|
format?: string | undefined;
|
|
1925
|
+
enum?: string[] | undefined;
|
|
1731
1926
|
file?: any;
|
|
1732
1927
|
nullable?: boolean | undefined;
|
|
1733
1928
|
}[];
|
|
1734
|
-
|
|
1929
|
+
cookies: {
|
|
1735
1930
|
value: string;
|
|
1736
1931
|
key: string;
|
|
1737
1932
|
enabled: boolean;
|
|
1738
1933
|
minimum?: number | undefined;
|
|
1739
1934
|
type?: string | string[] | undefined;
|
|
1740
1935
|
maximum?: number | undefined;
|
|
1936
|
+
description?: string | undefined;
|
|
1741
1937
|
default?: any;
|
|
1742
1938
|
required?: boolean | undefined;
|
|
1743
|
-
description?: string | undefined;
|
|
1744
|
-
enum?: string[] | undefined;
|
|
1745
1939
|
examples?: string[] | undefined;
|
|
1746
1940
|
format?: string | undefined;
|
|
1941
|
+
enum?: string[] | undefined;
|
|
1747
1942
|
file?: any;
|
|
1748
1943
|
nullable?: boolean | undefined;
|
|
1749
1944
|
}[];
|
|
1750
1945
|
};
|
|
1946
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1947
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
1948
|
+
};
|
|
1949
|
+
delete: (requestExample: import("@scalar/oas-utils/entities/spec").RequestExample) => void;
|
|
1950
|
+
set: (item: {
|
|
1951
|
+
uid: string & import("zod").BRAND<"example">;
|
|
1952
|
+
name: string;
|
|
1953
|
+
type: "requestExample";
|
|
1751
1954
|
body: {
|
|
1752
|
-
activeBody: "
|
|
1753
|
-
binary?: Blob | undefined;
|
|
1955
|
+
activeBody: "formData" | "binary" | "raw";
|
|
1754
1956
|
formData?: {
|
|
1755
1957
|
value: {
|
|
1756
1958
|
value: string;
|
|
@@ -1759,31 +1961,24 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1759
1961
|
minimum?: number | undefined;
|
|
1760
1962
|
type?: string | string[] | undefined;
|
|
1761
1963
|
maximum?: number | undefined;
|
|
1964
|
+
description?: string | undefined;
|
|
1762
1965
|
default?: any;
|
|
1763
1966
|
required?: boolean | undefined;
|
|
1764
|
-
description?: string | undefined;
|
|
1765
|
-
enum?: string[] | undefined;
|
|
1766
1967
|
examples?: string[] | undefined;
|
|
1767
1968
|
format?: string | undefined;
|
|
1969
|
+
enum?: string[] | undefined;
|
|
1768
1970
|
file?: any;
|
|
1769
1971
|
nullable?: boolean | undefined;
|
|
1770
1972
|
}[];
|
|
1771
1973
|
encoding: "form-data" | "urlencoded";
|
|
1772
1974
|
} | undefined;
|
|
1975
|
+
binary?: Blob | undefined;
|
|
1773
1976
|
raw?: {
|
|
1774
1977
|
value: string;
|
|
1775
1978
|
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
1776
1979
|
mimeType?: string | undefined;
|
|
1777
1980
|
} | undefined;
|
|
1778
1981
|
};
|
|
1779
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1780
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
1781
|
-
};
|
|
1782
|
-
delete: (requestExample: import("@scalar/oas-utils/entities/spec").RequestExample) => void;
|
|
1783
|
-
set: (item: {
|
|
1784
|
-
type: "requestExample";
|
|
1785
|
-
uid: string & import("zod").BRAND<"example">;
|
|
1786
|
-
name: string;
|
|
1787
1982
|
parameters: {
|
|
1788
1983
|
path: {
|
|
1789
1984
|
value: string;
|
|
@@ -1792,67 +1987,73 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1792
1987
|
minimum?: number | undefined;
|
|
1793
1988
|
type?: string | string[] | undefined;
|
|
1794
1989
|
maximum?: number | undefined;
|
|
1990
|
+
description?: string | undefined;
|
|
1795
1991
|
default?: any;
|
|
1796
1992
|
required?: boolean | undefined;
|
|
1797
|
-
description?: string | undefined;
|
|
1798
|
-
enum?: string[] | undefined;
|
|
1799
1993
|
examples?: string[] | undefined;
|
|
1800
1994
|
format?: string | undefined;
|
|
1995
|
+
enum?: string[] | undefined;
|
|
1801
1996
|
file?: any;
|
|
1802
1997
|
nullable?: boolean | undefined;
|
|
1803
1998
|
}[];
|
|
1804
|
-
|
|
1999
|
+
query: {
|
|
1805
2000
|
value: string;
|
|
1806
2001
|
key: string;
|
|
1807
2002
|
enabled: boolean;
|
|
1808
2003
|
minimum?: number | undefined;
|
|
1809
2004
|
type?: string | string[] | undefined;
|
|
1810
2005
|
maximum?: number | undefined;
|
|
2006
|
+
description?: string | undefined;
|
|
1811
2007
|
default?: any;
|
|
1812
2008
|
required?: boolean | undefined;
|
|
1813
|
-
description?: string | undefined;
|
|
1814
|
-
enum?: string[] | undefined;
|
|
1815
2009
|
examples?: string[] | undefined;
|
|
1816
2010
|
format?: string | undefined;
|
|
2011
|
+
enum?: string[] | undefined;
|
|
1817
2012
|
file?: any;
|
|
1818
2013
|
nullable?: boolean | undefined;
|
|
1819
2014
|
}[];
|
|
1820
|
-
|
|
2015
|
+
headers: {
|
|
1821
2016
|
value: string;
|
|
1822
2017
|
key: string;
|
|
1823
2018
|
enabled: boolean;
|
|
1824
2019
|
minimum?: number | undefined;
|
|
1825
2020
|
type?: string | string[] | undefined;
|
|
1826
2021
|
maximum?: number | undefined;
|
|
2022
|
+
description?: string | undefined;
|
|
1827
2023
|
default?: any;
|
|
1828
2024
|
required?: boolean | undefined;
|
|
1829
|
-
description?: string | undefined;
|
|
1830
|
-
enum?: string[] | undefined;
|
|
1831
2025
|
examples?: string[] | undefined;
|
|
1832
2026
|
format?: string | undefined;
|
|
2027
|
+
enum?: string[] | undefined;
|
|
1833
2028
|
file?: any;
|
|
1834
2029
|
nullable?: boolean | undefined;
|
|
1835
2030
|
}[];
|
|
1836
|
-
|
|
2031
|
+
cookies: {
|
|
1837
2032
|
value: string;
|
|
1838
2033
|
key: string;
|
|
1839
2034
|
enabled: boolean;
|
|
1840
2035
|
minimum?: number | undefined;
|
|
1841
2036
|
type?: string | string[] | undefined;
|
|
1842
2037
|
maximum?: number | undefined;
|
|
2038
|
+
description?: string | undefined;
|
|
1843
2039
|
default?: any;
|
|
1844
2040
|
required?: boolean | undefined;
|
|
1845
|
-
description?: string | undefined;
|
|
1846
|
-
enum?: string[] | undefined;
|
|
1847
2041
|
examples?: string[] | undefined;
|
|
1848
2042
|
format?: string | undefined;
|
|
2043
|
+
enum?: string[] | undefined;
|
|
1849
2044
|
file?: any;
|
|
1850
2045
|
nullable?: boolean | undefined;
|
|
1851
2046
|
}[];
|
|
1852
2047
|
};
|
|
2048
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2049
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2050
|
+
}) => void;
|
|
2051
|
+
edit: <P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" | "parameters.path" | "parameters.query" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.headers" | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.examples` | `parameters.path.${number}.required` | `parameters.path.${number}.examples.${number}` | `parameters.path.${number}.value` | `parameters.path.${number}.type` | `parameters.path.${number}.default` | `parameters.path.${number}.key` | `parameters.path.${number}.file` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.format` | `parameters.path.${number}.maximum` | `parameters.path.${number}.minimum` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.enabled` | `parameters.path.${number}.type.${number}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.file.${string}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.examples` | `parameters.query.${number}.required` | `parameters.query.${number}.examples.${number}` | `parameters.query.${number}.value` | `parameters.query.${number}.type` | `parameters.query.${number}.default` | `parameters.query.${number}.key` | `parameters.query.${number}.file` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.format` | `parameters.query.${number}.maximum` | `parameters.query.${number}.minimum` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.enabled` | `parameters.query.${number}.type.${number}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.file.${string}` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.examples` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.examples.${number}` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.type.${number}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.file.${string}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.examples` | `parameters.headers.${number}.required` | `parameters.headers.${number}.examples.${number}` | `parameters.headers.${number}.value` | `parameters.headers.${number}.type` | `parameters.headers.${number}.default` | `parameters.headers.${number}.key` | `parameters.headers.${number}.file` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.format` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.type.${number}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.file.${string}` | "body.formData" | "body.binary" | "body.raw" | "body.activeBody" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.examples` | `body.formData.value.${number}.required` | `body.formData.value.${number}.examples.${number}` | `body.formData.value.${number}.value` | `body.formData.value.${number}.type` | `body.formData.value.${number}.default` | `body.formData.value.${number}.key` | `body.formData.value.${number}.file` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.format` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.type.${number}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.file.${string}` | "body.binary.size" | "body.binary.type" | "body.binary.slice" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | "body.raw.value" | "body.raw.encoding" | "body.raw.mimeType" | `serverVariables.${string}`>(uid: (string & import("zod").BRAND<"example">) | null | undefined, path: P, value: P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? {
|
|
2052
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2053
|
+
name: string;
|
|
2054
|
+
type: "requestExample";
|
|
1853
2055
|
body: {
|
|
1854
|
-
activeBody: "
|
|
1855
|
-
binary?: Blob | undefined;
|
|
2056
|
+
activeBody: "formData" | "binary" | "raw";
|
|
1856
2057
|
formData?: {
|
|
1857
2058
|
value: {
|
|
1858
2059
|
value: string;
|
|
@@ -1861,30 +2062,24 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1861
2062
|
minimum?: number | undefined;
|
|
1862
2063
|
type?: string | string[] | undefined;
|
|
1863
2064
|
maximum?: number | undefined;
|
|
2065
|
+
description?: string | undefined;
|
|
1864
2066
|
default?: any;
|
|
1865
2067
|
required?: boolean | undefined;
|
|
1866
|
-
description?: string | undefined;
|
|
1867
|
-
enum?: string[] | undefined;
|
|
1868
2068
|
examples?: string[] | undefined;
|
|
1869
2069
|
format?: string | undefined;
|
|
2070
|
+
enum?: string[] | undefined;
|
|
1870
2071
|
file?: any;
|
|
1871
2072
|
nullable?: boolean | undefined;
|
|
1872
2073
|
}[];
|
|
1873
2074
|
encoding: "form-data" | "urlencoded";
|
|
1874
2075
|
} | undefined;
|
|
2076
|
+
binary?: Blob | undefined;
|
|
1875
2077
|
raw?: {
|
|
1876
2078
|
value: string;
|
|
1877
2079
|
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
1878
2080
|
mimeType?: string | undefined;
|
|
1879
2081
|
} | undefined;
|
|
1880
2082
|
};
|
|
1881
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1882
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
1883
|
-
}) => void;
|
|
1884
|
-
edit: <P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" | "parameters.path" | "parameters.query" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.headers" | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.examples` | `parameters.path.${number}.required` | `parameters.path.${number}.examples.${number}` | `parameters.path.${number}.value` | `parameters.path.${number}.type` | `parameters.path.${number}.default` | `parameters.path.${number}.key` | `parameters.path.${number}.file` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.format` | `parameters.path.${number}.maximum` | `parameters.path.${number}.minimum` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.enabled` | `parameters.path.${number}.type.${number}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.file.${string}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.examples` | `parameters.query.${number}.required` | `parameters.query.${number}.examples.${number}` | `parameters.query.${number}.value` | `parameters.query.${number}.type` | `parameters.query.${number}.default` | `parameters.query.${number}.key` | `parameters.query.${number}.file` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.format` | `parameters.query.${number}.maximum` | `parameters.query.${number}.minimum` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.enabled` | `parameters.query.${number}.type.${number}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.file.${string}` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.examples` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.examples.${number}` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.type.${number}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.file.${string}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.examples` | `parameters.headers.${number}.required` | `parameters.headers.${number}.examples.${number}` | `parameters.headers.${number}.value` | `parameters.headers.${number}.type` | `parameters.headers.${number}.default` | `parameters.headers.${number}.key` | `parameters.headers.${number}.file` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.format` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.type.${number}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.file.${string}` | "body.binary" | "body.formData" | "body.raw" | "body.activeBody" | "body.binary.size" | "body.binary.type" | "body.binary.slice" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.examples` | `body.formData.value.${number}.required` | `body.formData.value.${number}.examples.${number}` | `body.formData.value.${number}.value` | `body.formData.value.${number}.type` | `body.formData.value.${number}.default` | `body.formData.value.${number}.key` | `body.formData.value.${number}.file` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.format` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.type.${number}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.file.${string}` | "body.raw.value" | "body.raw.encoding" | "body.raw.mimeType" | `serverVariables.${string}`>(uid: (string & import("zod").BRAND<"example">) | null | undefined, path: P, value: P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? {
|
|
1885
|
-
type: "requestExample";
|
|
1886
|
-
uid: string & import("zod").BRAND<"example">;
|
|
1887
|
-
name: string;
|
|
1888
2083
|
parameters: {
|
|
1889
2084
|
path: {
|
|
1890
2085
|
value: string;
|
|
@@ -1893,67 +2088,72 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1893
2088
|
minimum?: number | undefined;
|
|
1894
2089
|
type?: string | string[] | undefined;
|
|
1895
2090
|
maximum?: number | undefined;
|
|
2091
|
+
description?: string | undefined;
|
|
1896
2092
|
default?: any;
|
|
1897
2093
|
required?: boolean | undefined;
|
|
1898
|
-
description?: string | undefined;
|
|
1899
|
-
enum?: string[] | undefined;
|
|
1900
2094
|
examples?: string[] | undefined;
|
|
1901
2095
|
format?: string | undefined;
|
|
2096
|
+
enum?: string[] | undefined;
|
|
1902
2097
|
file?: any;
|
|
1903
2098
|
nullable?: boolean | undefined;
|
|
1904
2099
|
}[];
|
|
1905
|
-
|
|
2100
|
+
query: {
|
|
1906
2101
|
value: string;
|
|
1907
2102
|
key: string;
|
|
1908
2103
|
enabled: boolean;
|
|
1909
2104
|
minimum?: number | undefined;
|
|
1910
2105
|
type?: string | string[] | undefined;
|
|
1911
2106
|
maximum?: number | undefined;
|
|
2107
|
+
description?: string | undefined;
|
|
1912
2108
|
default?: any;
|
|
1913
2109
|
required?: boolean | undefined;
|
|
1914
|
-
description?: string | undefined;
|
|
1915
|
-
enum?: string[] | undefined;
|
|
1916
2110
|
examples?: string[] | undefined;
|
|
1917
2111
|
format?: string | undefined;
|
|
2112
|
+
enum?: string[] | undefined;
|
|
1918
2113
|
file?: any;
|
|
1919
2114
|
nullable?: boolean | undefined;
|
|
1920
2115
|
}[];
|
|
1921
|
-
|
|
2116
|
+
headers: {
|
|
1922
2117
|
value: string;
|
|
1923
2118
|
key: string;
|
|
1924
2119
|
enabled: boolean;
|
|
1925
2120
|
minimum?: number | undefined;
|
|
1926
2121
|
type?: string | string[] | undefined;
|
|
1927
2122
|
maximum?: number | undefined;
|
|
2123
|
+
description?: string | undefined;
|
|
1928
2124
|
default?: any;
|
|
1929
2125
|
required?: boolean | undefined;
|
|
1930
|
-
description?: string | undefined;
|
|
1931
|
-
enum?: string[] | undefined;
|
|
1932
2126
|
examples?: string[] | undefined;
|
|
1933
2127
|
format?: string | undefined;
|
|
2128
|
+
enum?: string[] | undefined;
|
|
1934
2129
|
file?: any;
|
|
1935
2130
|
nullable?: boolean | undefined;
|
|
1936
2131
|
}[];
|
|
1937
|
-
|
|
2132
|
+
cookies: {
|
|
1938
2133
|
value: string;
|
|
1939
2134
|
key: string;
|
|
1940
2135
|
enabled: boolean;
|
|
1941
2136
|
minimum?: number | undefined;
|
|
1942
2137
|
type?: string | string[] | undefined;
|
|
1943
2138
|
maximum?: number | undefined;
|
|
2139
|
+
description?: string | undefined;
|
|
1944
2140
|
default?: any;
|
|
1945
2141
|
required?: boolean | undefined;
|
|
1946
|
-
description?: string | undefined;
|
|
1947
|
-
enum?: string[] | undefined;
|
|
1948
2142
|
examples?: string[] | undefined;
|
|
1949
2143
|
format?: string | undefined;
|
|
2144
|
+
enum?: string[] | undefined;
|
|
1950
2145
|
file?: any;
|
|
1951
2146
|
nullable?: boolean | undefined;
|
|
1952
2147
|
}[];
|
|
1953
2148
|
};
|
|
2149
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2150
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2151
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? R extends Path<{
|
|
2152
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2153
|
+
name: string;
|
|
2154
|
+
type: "requestExample";
|
|
1954
2155
|
body: {
|
|
1955
|
-
activeBody: "
|
|
1956
|
-
binary?: Blob | undefined;
|
|
2156
|
+
activeBody: "formData" | "binary" | "raw";
|
|
1957
2157
|
formData?: {
|
|
1958
2158
|
value: {
|
|
1959
2159
|
value: string;
|
|
@@ -1962,29 +2162,24 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1962
2162
|
minimum?: number | undefined;
|
|
1963
2163
|
type?: string | string[] | undefined;
|
|
1964
2164
|
maximum?: number | undefined;
|
|
2165
|
+
description?: string | undefined;
|
|
1965
2166
|
default?: any;
|
|
1966
2167
|
required?: boolean | undefined;
|
|
1967
|
-
description?: string | undefined;
|
|
1968
|
-
enum?: string[] | undefined;
|
|
1969
2168
|
examples?: string[] | undefined;
|
|
1970
2169
|
format?: string | undefined;
|
|
2170
|
+
enum?: string[] | undefined;
|
|
1971
2171
|
file?: any;
|
|
1972
2172
|
nullable?: boolean | undefined;
|
|
1973
2173
|
}[];
|
|
1974
2174
|
encoding: "form-data" | "urlencoded";
|
|
1975
2175
|
} | undefined;
|
|
2176
|
+
binary?: Blob | undefined;
|
|
1976
2177
|
raw?: {
|
|
1977
2178
|
value: string;
|
|
1978
2179
|
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
1979
2180
|
mimeType?: string | undefined;
|
|
1980
2181
|
} | undefined;
|
|
1981
2182
|
};
|
|
1982
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
1983
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
1984
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? R extends Path<{
|
|
1985
|
-
type: "requestExample";
|
|
1986
|
-
uid: string & import("zod").BRAND<"example">;
|
|
1987
|
-
name: string;
|
|
1988
2183
|
parameters: {
|
|
1989
2184
|
path: {
|
|
1990
2185
|
value: string;
|
|
@@ -1993,67 +2188,72 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
1993
2188
|
minimum?: number | undefined;
|
|
1994
2189
|
type?: string | string[] | undefined;
|
|
1995
2190
|
maximum?: number | undefined;
|
|
2191
|
+
description?: string | undefined;
|
|
1996
2192
|
default?: any;
|
|
1997
2193
|
required?: boolean | undefined;
|
|
1998
|
-
description?: string | undefined;
|
|
1999
|
-
enum?: string[] | undefined;
|
|
2000
2194
|
examples?: string[] | undefined;
|
|
2001
2195
|
format?: string | undefined;
|
|
2196
|
+
enum?: string[] | undefined;
|
|
2002
2197
|
file?: any;
|
|
2003
2198
|
nullable?: boolean | undefined;
|
|
2004
2199
|
}[];
|
|
2005
|
-
|
|
2200
|
+
query: {
|
|
2006
2201
|
value: string;
|
|
2007
2202
|
key: string;
|
|
2008
2203
|
enabled: boolean;
|
|
2009
2204
|
minimum?: number | undefined;
|
|
2010
2205
|
type?: string | string[] | undefined;
|
|
2011
2206
|
maximum?: number | undefined;
|
|
2207
|
+
description?: string | undefined;
|
|
2012
2208
|
default?: any;
|
|
2013
2209
|
required?: boolean | undefined;
|
|
2014
|
-
description?: string | undefined;
|
|
2015
|
-
enum?: string[] | undefined;
|
|
2016
2210
|
examples?: string[] | undefined;
|
|
2017
2211
|
format?: string | undefined;
|
|
2212
|
+
enum?: string[] | undefined;
|
|
2018
2213
|
file?: any;
|
|
2019
2214
|
nullable?: boolean | undefined;
|
|
2020
2215
|
}[];
|
|
2021
|
-
|
|
2216
|
+
headers: {
|
|
2022
2217
|
value: string;
|
|
2023
2218
|
key: string;
|
|
2024
2219
|
enabled: boolean;
|
|
2025
2220
|
minimum?: number | undefined;
|
|
2026
2221
|
type?: string | string[] | undefined;
|
|
2027
2222
|
maximum?: number | undefined;
|
|
2223
|
+
description?: string | undefined;
|
|
2028
2224
|
default?: any;
|
|
2029
2225
|
required?: boolean | undefined;
|
|
2030
|
-
description?: string | undefined;
|
|
2031
|
-
enum?: string[] | undefined;
|
|
2032
2226
|
examples?: string[] | undefined;
|
|
2033
2227
|
format?: string | undefined;
|
|
2228
|
+
enum?: string[] | undefined;
|
|
2034
2229
|
file?: any;
|
|
2035
2230
|
nullable?: boolean | undefined;
|
|
2036
2231
|
}[];
|
|
2037
|
-
|
|
2232
|
+
cookies: {
|
|
2038
2233
|
value: string;
|
|
2039
2234
|
key: string;
|
|
2040
2235
|
enabled: boolean;
|
|
2041
2236
|
minimum?: number | undefined;
|
|
2042
2237
|
type?: string | string[] | undefined;
|
|
2043
2238
|
maximum?: number | undefined;
|
|
2239
|
+
description?: string | undefined;
|
|
2044
2240
|
default?: any;
|
|
2045
2241
|
required?: boolean | undefined;
|
|
2046
|
-
description?: string | undefined;
|
|
2047
|
-
enum?: string[] | undefined;
|
|
2048
2242
|
examples?: string[] | undefined;
|
|
2049
2243
|
format?: string | undefined;
|
|
2244
|
+
enum?: string[] | undefined;
|
|
2050
2245
|
file?: any;
|
|
2051
2246
|
nullable?: boolean | undefined;
|
|
2052
2247
|
}[];
|
|
2053
2248
|
};
|
|
2249
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2250
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2251
|
+
}[K]> ? PathValue<{
|
|
2252
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2253
|
+
name: string;
|
|
2254
|
+
type: "requestExample";
|
|
2054
2255
|
body: {
|
|
2055
|
-
activeBody: "
|
|
2056
|
-
binary?: Blob | undefined;
|
|
2256
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2057
2257
|
formData?: {
|
|
2058
2258
|
value: {
|
|
2059
2259
|
value: string;
|
|
@@ -2062,29 +2262,24 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2062
2262
|
minimum?: number | undefined;
|
|
2063
2263
|
type?: string | string[] | undefined;
|
|
2064
2264
|
maximum?: number | undefined;
|
|
2265
|
+
description?: string | undefined;
|
|
2065
2266
|
default?: any;
|
|
2066
2267
|
required?: boolean | undefined;
|
|
2067
|
-
description?: string | undefined;
|
|
2068
|
-
enum?: string[] | undefined;
|
|
2069
2268
|
examples?: string[] | undefined;
|
|
2070
2269
|
format?: string | undefined;
|
|
2270
|
+
enum?: string[] | undefined;
|
|
2071
2271
|
file?: any;
|
|
2072
2272
|
nullable?: boolean | undefined;
|
|
2073
2273
|
}[];
|
|
2074
2274
|
encoding: "form-data" | "urlencoded";
|
|
2075
2275
|
} | undefined;
|
|
2276
|
+
binary?: Blob | undefined;
|
|
2076
2277
|
raw?: {
|
|
2077
2278
|
value: string;
|
|
2078
2279
|
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
2079
2280
|
mimeType?: string | undefined;
|
|
2080
2281
|
} | undefined;
|
|
2081
2282
|
};
|
|
2082
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2083
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2084
|
-
}[K]> ? PathValue<{
|
|
2085
|
-
type: "requestExample";
|
|
2086
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2087
|
-
name: string;
|
|
2088
2283
|
parameters: {
|
|
2089
2284
|
path: {
|
|
2090
2285
|
value: string;
|
|
@@ -2093,67 +2288,73 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2093
2288
|
minimum?: number | undefined;
|
|
2094
2289
|
type?: string | string[] | undefined;
|
|
2095
2290
|
maximum?: number | undefined;
|
|
2291
|
+
description?: string | undefined;
|
|
2096
2292
|
default?: any;
|
|
2097
2293
|
required?: boolean | undefined;
|
|
2098
|
-
description?: string | undefined;
|
|
2099
|
-
enum?: string[] | undefined;
|
|
2100
2294
|
examples?: string[] | undefined;
|
|
2101
2295
|
format?: string | undefined;
|
|
2296
|
+
enum?: string[] | undefined;
|
|
2102
2297
|
file?: any;
|
|
2103
2298
|
nullable?: boolean | undefined;
|
|
2104
2299
|
}[];
|
|
2105
|
-
|
|
2300
|
+
query: {
|
|
2106
2301
|
value: string;
|
|
2107
2302
|
key: string;
|
|
2108
2303
|
enabled: boolean;
|
|
2109
2304
|
minimum?: number | undefined;
|
|
2110
2305
|
type?: string | string[] | undefined;
|
|
2111
2306
|
maximum?: number | undefined;
|
|
2307
|
+
description?: string | undefined;
|
|
2112
2308
|
default?: any;
|
|
2113
2309
|
required?: boolean | undefined;
|
|
2114
|
-
description?: string | undefined;
|
|
2115
|
-
enum?: string[] | undefined;
|
|
2116
2310
|
examples?: string[] | undefined;
|
|
2117
2311
|
format?: string | undefined;
|
|
2312
|
+
enum?: string[] | undefined;
|
|
2118
2313
|
file?: any;
|
|
2119
2314
|
nullable?: boolean | undefined;
|
|
2120
2315
|
}[];
|
|
2121
|
-
|
|
2316
|
+
headers: {
|
|
2122
2317
|
value: string;
|
|
2123
2318
|
key: string;
|
|
2124
2319
|
enabled: boolean;
|
|
2125
2320
|
minimum?: number | undefined;
|
|
2126
2321
|
type?: string | string[] | undefined;
|
|
2127
2322
|
maximum?: number | undefined;
|
|
2323
|
+
description?: string | undefined;
|
|
2128
2324
|
default?: any;
|
|
2129
2325
|
required?: boolean | undefined;
|
|
2130
|
-
description?: string | undefined;
|
|
2131
|
-
enum?: string[] | undefined;
|
|
2132
2326
|
examples?: string[] | undefined;
|
|
2133
2327
|
format?: string | undefined;
|
|
2328
|
+
enum?: string[] | undefined;
|
|
2134
2329
|
file?: any;
|
|
2135
2330
|
nullable?: boolean | undefined;
|
|
2136
2331
|
}[];
|
|
2137
|
-
|
|
2332
|
+
cookies: {
|
|
2138
2333
|
value: string;
|
|
2139
2334
|
key: string;
|
|
2140
2335
|
enabled: boolean;
|
|
2141
2336
|
minimum?: number | undefined;
|
|
2142
2337
|
type?: string | string[] | undefined;
|
|
2143
2338
|
maximum?: number | undefined;
|
|
2339
|
+
description?: string | undefined;
|
|
2144
2340
|
default?: any;
|
|
2145
2341
|
required?: boolean | undefined;
|
|
2146
|
-
description?: string | undefined;
|
|
2147
|
-
enum?: string[] | undefined;
|
|
2148
2342
|
examples?: string[] | undefined;
|
|
2149
2343
|
format?: string | undefined;
|
|
2344
|
+
enum?: string[] | undefined;
|
|
2150
2345
|
file?: any;
|
|
2151
2346
|
nullable?: boolean | undefined;
|
|
2152
2347
|
}[];
|
|
2153
2348
|
};
|
|
2349
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2350
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2351
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2352
|
+
untrackedEdit: <P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" | "parameters.path" | "parameters.query" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.headers" | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.examples` | `parameters.path.${number}.required` | `parameters.path.${number}.examples.${number}` | `parameters.path.${number}.value` | `parameters.path.${number}.type` | `parameters.path.${number}.default` | `parameters.path.${number}.key` | `parameters.path.${number}.file` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.format` | `parameters.path.${number}.maximum` | `parameters.path.${number}.minimum` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.enabled` | `parameters.path.${number}.type.${number}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.file.${string}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.examples` | `parameters.query.${number}.required` | `parameters.query.${number}.examples.${number}` | `parameters.query.${number}.value` | `parameters.query.${number}.type` | `parameters.query.${number}.default` | `parameters.query.${number}.key` | `parameters.query.${number}.file` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.format` | `parameters.query.${number}.maximum` | `parameters.query.${number}.minimum` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.enabled` | `parameters.query.${number}.type.${number}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.file.${string}` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.examples` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.examples.${number}` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.type.${number}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.file.${string}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.examples` | `parameters.headers.${number}.required` | `parameters.headers.${number}.examples.${number}` | `parameters.headers.${number}.value` | `parameters.headers.${number}.type` | `parameters.headers.${number}.default` | `parameters.headers.${number}.key` | `parameters.headers.${number}.file` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.format` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.type.${number}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.file.${string}` | "body.formData" | "body.binary" | "body.raw" | "body.activeBody" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.examples` | `body.formData.value.${number}.required` | `body.formData.value.${number}.examples.${number}` | `body.formData.value.${number}.value` | `body.formData.value.${number}.type` | `body.formData.value.${number}.default` | `body.formData.value.${number}.key` | `body.formData.value.${number}.file` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.format` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.type.${number}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.file.${string}` | "body.binary.size" | "body.binary.type" | "body.binary.slice" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | "body.raw.value" | "body.raw.encoding" | "body.raw.mimeType" | `serverVariables.${string}`>(uid: string & import("zod").BRAND<"example">, path: P, value: P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? {
|
|
2353
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2354
|
+
name: string;
|
|
2355
|
+
type: "requestExample";
|
|
2154
2356
|
body: {
|
|
2155
|
-
activeBody: "
|
|
2156
|
-
binary?: Blob | undefined;
|
|
2357
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2157
2358
|
formData?: {
|
|
2158
2359
|
value: {
|
|
2159
2360
|
value: string;
|
|
@@ -2162,30 +2363,24 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2162
2363
|
minimum?: number | undefined;
|
|
2163
2364
|
type?: string | string[] | undefined;
|
|
2164
2365
|
maximum?: number | undefined;
|
|
2366
|
+
description?: string | undefined;
|
|
2165
2367
|
default?: any;
|
|
2166
2368
|
required?: boolean | undefined;
|
|
2167
|
-
description?: string | undefined;
|
|
2168
|
-
enum?: string[] | undefined;
|
|
2169
2369
|
examples?: string[] | undefined;
|
|
2170
2370
|
format?: string | undefined;
|
|
2371
|
+
enum?: string[] | undefined;
|
|
2171
2372
|
file?: any;
|
|
2172
2373
|
nullable?: boolean | undefined;
|
|
2173
2374
|
}[];
|
|
2174
2375
|
encoding: "form-data" | "urlencoded";
|
|
2175
2376
|
} | undefined;
|
|
2377
|
+
binary?: Blob | undefined;
|
|
2176
2378
|
raw?: {
|
|
2177
2379
|
value: string;
|
|
2178
2380
|
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
2179
2381
|
mimeType?: string | undefined;
|
|
2180
2382
|
} | undefined;
|
|
2181
2383
|
};
|
|
2182
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2183
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2184
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2185
|
-
untrackedEdit: <P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" | "parameters.path" | "parameters.query" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.headers" | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.examples` | `parameters.path.${number}.required` | `parameters.path.${number}.examples.${number}` | `parameters.path.${number}.value` | `parameters.path.${number}.type` | `parameters.path.${number}.default` | `parameters.path.${number}.key` | `parameters.path.${number}.file` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.format` | `parameters.path.${number}.maximum` | `parameters.path.${number}.minimum` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.enabled` | `parameters.path.${number}.type.${number}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.file.${string}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.examples` | `parameters.query.${number}.required` | `parameters.query.${number}.examples.${number}` | `parameters.query.${number}.value` | `parameters.query.${number}.type` | `parameters.query.${number}.default` | `parameters.query.${number}.key` | `parameters.query.${number}.file` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.format` | `parameters.query.${number}.maximum` | `parameters.query.${number}.minimum` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.enabled` | `parameters.query.${number}.type.${number}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.file.${string}` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.examples` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.examples.${number}` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.type.${number}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.file.${string}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.examples` | `parameters.headers.${number}.required` | `parameters.headers.${number}.examples.${number}` | `parameters.headers.${number}.value` | `parameters.headers.${number}.type` | `parameters.headers.${number}.default` | `parameters.headers.${number}.key` | `parameters.headers.${number}.file` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.format` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.type.${number}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.file.${string}` | "body.binary" | "body.formData" | "body.raw" | "body.activeBody" | "body.binary.size" | "body.binary.type" | "body.binary.slice" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.examples` | `body.formData.value.${number}.required` | `body.formData.value.${number}.examples.${number}` | `body.formData.value.${number}.value` | `body.formData.value.${number}.type` | `body.formData.value.${number}.default` | `body.formData.value.${number}.key` | `body.formData.value.${number}.file` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.format` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.type.${number}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.file.${string}` | "body.raw.value" | "body.raw.encoding" | "body.raw.mimeType" | `serverVariables.${string}`>(uid: string & import("zod").BRAND<"example">, path: P, value: P extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? {
|
|
2186
|
-
type: "requestExample";
|
|
2187
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2188
|
-
name: string;
|
|
2189
2384
|
parameters: {
|
|
2190
2385
|
path: {
|
|
2191
2386
|
value: string;
|
|
@@ -2194,67 +2389,72 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2194
2389
|
minimum?: number | undefined;
|
|
2195
2390
|
type?: string | string[] | undefined;
|
|
2196
2391
|
maximum?: number | undefined;
|
|
2392
|
+
description?: string | undefined;
|
|
2197
2393
|
default?: any;
|
|
2198
2394
|
required?: boolean | undefined;
|
|
2199
|
-
description?: string | undefined;
|
|
2200
|
-
enum?: string[] | undefined;
|
|
2201
2395
|
examples?: string[] | undefined;
|
|
2202
2396
|
format?: string | undefined;
|
|
2397
|
+
enum?: string[] | undefined;
|
|
2203
2398
|
file?: any;
|
|
2204
2399
|
nullable?: boolean | undefined;
|
|
2205
2400
|
}[];
|
|
2206
|
-
|
|
2401
|
+
query: {
|
|
2207
2402
|
value: string;
|
|
2208
2403
|
key: string;
|
|
2209
2404
|
enabled: boolean;
|
|
2210
2405
|
minimum?: number | undefined;
|
|
2211
2406
|
type?: string | string[] | undefined;
|
|
2212
2407
|
maximum?: number | undefined;
|
|
2408
|
+
description?: string | undefined;
|
|
2213
2409
|
default?: any;
|
|
2214
2410
|
required?: boolean | undefined;
|
|
2215
|
-
description?: string | undefined;
|
|
2216
|
-
enum?: string[] | undefined;
|
|
2217
2411
|
examples?: string[] | undefined;
|
|
2218
2412
|
format?: string | undefined;
|
|
2413
|
+
enum?: string[] | undefined;
|
|
2219
2414
|
file?: any;
|
|
2220
2415
|
nullable?: boolean | undefined;
|
|
2221
2416
|
}[];
|
|
2222
|
-
|
|
2417
|
+
headers: {
|
|
2223
2418
|
value: string;
|
|
2224
2419
|
key: string;
|
|
2225
2420
|
enabled: boolean;
|
|
2226
2421
|
minimum?: number | undefined;
|
|
2227
2422
|
type?: string | string[] | undefined;
|
|
2228
2423
|
maximum?: number | undefined;
|
|
2424
|
+
description?: string | undefined;
|
|
2229
2425
|
default?: any;
|
|
2230
2426
|
required?: boolean | undefined;
|
|
2231
|
-
description?: string | undefined;
|
|
2232
|
-
enum?: string[] | undefined;
|
|
2233
2427
|
examples?: string[] | undefined;
|
|
2234
2428
|
format?: string | undefined;
|
|
2429
|
+
enum?: string[] | undefined;
|
|
2235
2430
|
file?: any;
|
|
2236
2431
|
nullable?: boolean | undefined;
|
|
2237
2432
|
}[];
|
|
2238
|
-
|
|
2433
|
+
cookies: {
|
|
2239
2434
|
value: string;
|
|
2240
2435
|
key: string;
|
|
2241
2436
|
enabled: boolean;
|
|
2242
2437
|
minimum?: number | undefined;
|
|
2243
2438
|
type?: string | string[] | undefined;
|
|
2244
2439
|
maximum?: number | undefined;
|
|
2440
|
+
description?: string | undefined;
|
|
2245
2441
|
default?: any;
|
|
2246
2442
|
required?: boolean | undefined;
|
|
2247
|
-
description?: string | undefined;
|
|
2248
|
-
enum?: string[] | undefined;
|
|
2249
2443
|
examples?: string[] | undefined;
|
|
2250
2444
|
format?: string | undefined;
|
|
2445
|
+
enum?: string[] | undefined;
|
|
2251
2446
|
file?: any;
|
|
2252
2447
|
nullable?: boolean | undefined;
|
|
2253
2448
|
}[];
|
|
2254
2449
|
};
|
|
2450
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2451
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2452
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? R extends Path<{
|
|
2453
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2454
|
+
name: string;
|
|
2455
|
+
type: "requestExample";
|
|
2255
2456
|
body: {
|
|
2256
|
-
activeBody: "
|
|
2257
|
-
binary?: Blob | undefined;
|
|
2457
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2258
2458
|
formData?: {
|
|
2259
2459
|
value: {
|
|
2260
2460
|
value: string;
|
|
@@ -2263,29 +2463,24 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2263
2463
|
minimum?: number | undefined;
|
|
2264
2464
|
type?: string | string[] | undefined;
|
|
2265
2465
|
maximum?: number | undefined;
|
|
2466
|
+
description?: string | undefined;
|
|
2266
2467
|
default?: any;
|
|
2267
2468
|
required?: boolean | undefined;
|
|
2268
|
-
description?: string | undefined;
|
|
2269
|
-
enum?: string[] | undefined;
|
|
2270
2469
|
examples?: string[] | undefined;
|
|
2271
2470
|
format?: string | undefined;
|
|
2471
|
+
enum?: string[] | undefined;
|
|
2272
2472
|
file?: any;
|
|
2273
2473
|
nullable?: boolean | undefined;
|
|
2274
2474
|
}[];
|
|
2275
2475
|
encoding: "form-data" | "urlencoded";
|
|
2276
2476
|
} | undefined;
|
|
2477
|
+
binary?: Blob | undefined;
|
|
2277
2478
|
raw?: {
|
|
2278
2479
|
value: string;
|
|
2279
2480
|
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
2280
2481
|
mimeType?: string | undefined;
|
|
2281
2482
|
} | undefined;
|
|
2282
2483
|
};
|
|
2283
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2284
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2285
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "requestUid" | "type" | "name" | "uid" | "body" | "serverVariables" ? R extends Path<{
|
|
2286
|
-
type: "requestExample";
|
|
2287
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2288
|
-
name: string;
|
|
2289
2484
|
parameters: {
|
|
2290
2485
|
path: {
|
|
2291
2486
|
value: string;
|
|
@@ -2294,67 +2489,72 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2294
2489
|
minimum?: number | undefined;
|
|
2295
2490
|
type?: string | string[] | undefined;
|
|
2296
2491
|
maximum?: number | undefined;
|
|
2492
|
+
description?: string | undefined;
|
|
2297
2493
|
default?: any;
|
|
2298
2494
|
required?: boolean | undefined;
|
|
2299
|
-
description?: string | undefined;
|
|
2300
|
-
enum?: string[] | undefined;
|
|
2301
2495
|
examples?: string[] | undefined;
|
|
2302
2496
|
format?: string | undefined;
|
|
2497
|
+
enum?: string[] | undefined;
|
|
2303
2498
|
file?: any;
|
|
2304
2499
|
nullable?: boolean | undefined;
|
|
2305
2500
|
}[];
|
|
2306
|
-
|
|
2501
|
+
query: {
|
|
2307
2502
|
value: string;
|
|
2308
2503
|
key: string;
|
|
2309
2504
|
enabled: boolean;
|
|
2310
2505
|
minimum?: number | undefined;
|
|
2311
2506
|
type?: string | string[] | undefined;
|
|
2312
2507
|
maximum?: number | undefined;
|
|
2508
|
+
description?: string | undefined;
|
|
2313
2509
|
default?: any;
|
|
2314
2510
|
required?: boolean | undefined;
|
|
2315
|
-
description?: string | undefined;
|
|
2316
|
-
enum?: string[] | undefined;
|
|
2317
2511
|
examples?: string[] | undefined;
|
|
2318
2512
|
format?: string | undefined;
|
|
2513
|
+
enum?: string[] | undefined;
|
|
2319
2514
|
file?: any;
|
|
2320
2515
|
nullable?: boolean | undefined;
|
|
2321
2516
|
}[];
|
|
2322
|
-
|
|
2517
|
+
headers: {
|
|
2323
2518
|
value: string;
|
|
2324
2519
|
key: string;
|
|
2325
2520
|
enabled: boolean;
|
|
2326
2521
|
minimum?: number | undefined;
|
|
2327
2522
|
type?: string | string[] | undefined;
|
|
2328
2523
|
maximum?: number | undefined;
|
|
2524
|
+
description?: string | undefined;
|
|
2329
2525
|
default?: any;
|
|
2330
2526
|
required?: boolean | undefined;
|
|
2331
|
-
description?: string | undefined;
|
|
2332
|
-
enum?: string[] | undefined;
|
|
2333
2527
|
examples?: string[] | undefined;
|
|
2334
2528
|
format?: string | undefined;
|
|
2529
|
+
enum?: string[] | undefined;
|
|
2335
2530
|
file?: any;
|
|
2336
2531
|
nullable?: boolean | undefined;
|
|
2337
2532
|
}[];
|
|
2338
|
-
|
|
2533
|
+
cookies: {
|
|
2339
2534
|
value: string;
|
|
2340
2535
|
key: string;
|
|
2341
2536
|
enabled: boolean;
|
|
2342
2537
|
minimum?: number | undefined;
|
|
2343
2538
|
type?: string | string[] | undefined;
|
|
2344
2539
|
maximum?: number | undefined;
|
|
2540
|
+
description?: string | undefined;
|
|
2345
2541
|
default?: any;
|
|
2346
2542
|
required?: boolean | undefined;
|
|
2347
|
-
description?: string | undefined;
|
|
2348
|
-
enum?: string[] | undefined;
|
|
2349
2543
|
examples?: string[] | undefined;
|
|
2350
2544
|
format?: string | undefined;
|
|
2545
|
+
enum?: string[] | undefined;
|
|
2351
2546
|
file?: any;
|
|
2352
2547
|
nullable?: boolean | undefined;
|
|
2353
2548
|
}[];
|
|
2354
2549
|
};
|
|
2550
|
+
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2551
|
+
serverVariables?: Record<string, string[]> | undefined;
|
|
2552
|
+
}[K]> ? PathValue<{
|
|
2553
|
+
uid: string & import("zod").BRAND<"example">;
|
|
2554
|
+
name: string;
|
|
2555
|
+
type: "requestExample";
|
|
2355
2556
|
body: {
|
|
2356
|
-
activeBody: "
|
|
2357
|
-
binary?: Blob | undefined;
|
|
2557
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2358
2558
|
formData?: {
|
|
2359
2559
|
value: {
|
|
2360
2560
|
value: string;
|
|
@@ -2363,29 +2563,24 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2363
2563
|
minimum?: number | undefined;
|
|
2364
2564
|
type?: string | string[] | undefined;
|
|
2365
2565
|
maximum?: number | undefined;
|
|
2566
|
+
description?: string | undefined;
|
|
2366
2567
|
default?: any;
|
|
2367
2568
|
required?: boolean | undefined;
|
|
2368
|
-
description?: string | undefined;
|
|
2369
|
-
enum?: string[] | undefined;
|
|
2370
2569
|
examples?: string[] | undefined;
|
|
2371
2570
|
format?: string | undefined;
|
|
2571
|
+
enum?: string[] | undefined;
|
|
2372
2572
|
file?: any;
|
|
2373
2573
|
nullable?: boolean | undefined;
|
|
2374
2574
|
}[];
|
|
2375
2575
|
encoding: "form-data" | "urlencoded";
|
|
2376
2576
|
} | undefined;
|
|
2577
|
+
binary?: Blob | undefined;
|
|
2377
2578
|
raw?: {
|
|
2378
2579
|
value: string;
|
|
2379
2580
|
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
2380
2581
|
mimeType?: string | undefined;
|
|
2381
2582
|
} | undefined;
|
|
2382
2583
|
};
|
|
2383
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2384
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
2385
|
-
}[K]> ? PathValue<{
|
|
2386
|
-
type: "requestExample";
|
|
2387
|
-
uid: string & import("zod").BRAND<"example">;
|
|
2388
|
-
name: string;
|
|
2389
2584
|
parameters: {
|
|
2390
2585
|
path: {
|
|
2391
2586
|
value: string;
|
|
@@ -2394,92 +2589,64 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2394
2589
|
minimum?: number | undefined;
|
|
2395
2590
|
type?: string | string[] | undefined;
|
|
2396
2591
|
maximum?: number | undefined;
|
|
2592
|
+
description?: string | undefined;
|
|
2397
2593
|
default?: any;
|
|
2398
2594
|
required?: boolean | undefined;
|
|
2399
|
-
description?: string | undefined;
|
|
2400
|
-
enum?: string[] | undefined;
|
|
2401
2595
|
examples?: string[] | undefined;
|
|
2402
2596
|
format?: string | undefined;
|
|
2597
|
+
enum?: string[] | undefined;
|
|
2403
2598
|
file?: any;
|
|
2404
2599
|
nullable?: boolean | undefined;
|
|
2405
2600
|
}[];
|
|
2406
|
-
|
|
2601
|
+
query: {
|
|
2407
2602
|
value: string;
|
|
2408
2603
|
key: string;
|
|
2409
2604
|
enabled: boolean;
|
|
2410
2605
|
minimum?: number | undefined;
|
|
2411
2606
|
type?: string | string[] | undefined;
|
|
2412
2607
|
maximum?: number | undefined;
|
|
2608
|
+
description?: string | undefined;
|
|
2413
2609
|
default?: any;
|
|
2414
2610
|
required?: boolean | undefined;
|
|
2415
|
-
description?: string | undefined;
|
|
2416
|
-
enum?: string[] | undefined;
|
|
2417
2611
|
examples?: string[] | undefined;
|
|
2418
2612
|
format?: string | undefined;
|
|
2613
|
+
enum?: string[] | undefined;
|
|
2419
2614
|
file?: any;
|
|
2420
2615
|
nullable?: boolean | undefined;
|
|
2421
2616
|
}[];
|
|
2422
|
-
|
|
2617
|
+
headers: {
|
|
2423
2618
|
value: string;
|
|
2424
2619
|
key: string;
|
|
2425
2620
|
enabled: boolean;
|
|
2426
2621
|
minimum?: number | undefined;
|
|
2427
2622
|
type?: string | string[] | undefined;
|
|
2428
2623
|
maximum?: number | undefined;
|
|
2624
|
+
description?: string | undefined;
|
|
2429
2625
|
default?: any;
|
|
2430
2626
|
required?: boolean | undefined;
|
|
2431
|
-
description?: string | undefined;
|
|
2432
|
-
enum?: string[] | undefined;
|
|
2433
2627
|
examples?: string[] | undefined;
|
|
2434
2628
|
format?: string | undefined;
|
|
2629
|
+
enum?: string[] | undefined;
|
|
2435
2630
|
file?: any;
|
|
2436
2631
|
nullable?: boolean | undefined;
|
|
2437
2632
|
}[];
|
|
2438
|
-
|
|
2633
|
+
cookies: {
|
|
2439
2634
|
value: string;
|
|
2440
2635
|
key: string;
|
|
2441
2636
|
enabled: boolean;
|
|
2442
2637
|
minimum?: number | undefined;
|
|
2443
2638
|
type?: string | string[] | undefined;
|
|
2444
2639
|
maximum?: number | undefined;
|
|
2640
|
+
description?: string | undefined;
|
|
2445
2641
|
default?: any;
|
|
2446
2642
|
required?: boolean | undefined;
|
|
2447
|
-
description?: string | undefined;
|
|
2448
|
-
enum?: string[] | undefined;
|
|
2449
2643
|
examples?: string[] | undefined;
|
|
2450
2644
|
format?: string | undefined;
|
|
2645
|
+
enum?: string[] | undefined;
|
|
2451
2646
|
file?: any;
|
|
2452
2647
|
nullable?: boolean | undefined;
|
|
2453
2648
|
}[];
|
|
2454
2649
|
};
|
|
2455
|
-
body: {
|
|
2456
|
-
activeBody: "binary" | "formData" | "raw";
|
|
2457
|
-
binary?: Blob | undefined;
|
|
2458
|
-
formData?: {
|
|
2459
|
-
value: {
|
|
2460
|
-
value: string;
|
|
2461
|
-
key: string;
|
|
2462
|
-
enabled: boolean;
|
|
2463
|
-
minimum?: number | undefined;
|
|
2464
|
-
type?: string | string[] | undefined;
|
|
2465
|
-
maximum?: number | undefined;
|
|
2466
|
-
default?: any;
|
|
2467
|
-
required?: boolean | undefined;
|
|
2468
|
-
description?: string | undefined;
|
|
2469
|
-
enum?: string[] | undefined;
|
|
2470
|
-
examples?: string[] | undefined;
|
|
2471
|
-
format?: string | undefined;
|
|
2472
|
-
file?: any;
|
|
2473
|
-
nullable?: boolean | undefined;
|
|
2474
|
-
}[];
|
|
2475
|
-
encoding: "form-data" | "urlencoded";
|
|
2476
|
-
} | undefined;
|
|
2477
|
-
raw?: {
|
|
2478
|
-
value: string;
|
|
2479
|
-
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
2480
|
-
mimeType?: string | undefined;
|
|
2481
|
-
} | undefined;
|
|
2482
|
-
};
|
|
2483
2650
|
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
2484
2651
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2485
2652
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
@@ -2493,8 +2660,8 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2493
2660
|
type: "apiKey";
|
|
2494
2661
|
value: string;
|
|
2495
2662
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2496
|
-
name: string;
|
|
2497
2663
|
nameKey: string;
|
|
2664
|
+
name: string;
|
|
2498
2665
|
in: "cookie" | "query" | "header";
|
|
2499
2666
|
description?: string | undefined;
|
|
2500
2667
|
} | {
|
|
@@ -2566,12 +2733,12 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2566
2733
|
};
|
|
2567
2734
|
description?: string | undefined;
|
|
2568
2735
|
}) => void;
|
|
2569
|
-
add: (payload: import("@scalar/
|
|
2736
|
+
add: (payload: import("@scalar/types/entities").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
|
|
2570
2737
|
type: "apiKey";
|
|
2571
2738
|
value: string;
|
|
2572
2739
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2573
|
-
name: string;
|
|
2574
2740
|
nameKey: string;
|
|
2741
|
+
name: string;
|
|
2575
2742
|
in: "cookie" | "query" | "header";
|
|
2576
2743
|
description?: string | undefined;
|
|
2577
2744
|
} | {
|
|
@@ -2648,8 +2815,8 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2648
2815
|
type: "apiKey";
|
|
2649
2816
|
value: string;
|
|
2650
2817
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2651
|
-
name: string;
|
|
2652
2818
|
nameKey: string;
|
|
2819
|
+
name: string;
|
|
2653
2820
|
in: "cookie" | "query" | "header";
|
|
2654
2821
|
description?: string | undefined;
|
|
2655
2822
|
} | {
|
|
@@ -2725,24 +2892,24 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2725
2892
|
type: "apiKey";
|
|
2726
2893
|
value: string;
|
|
2727
2894
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2728
|
-
name: string;
|
|
2729
2895
|
nameKey: string;
|
|
2896
|
+
name: string;
|
|
2730
2897
|
in: "cookie" | "query" | "header";
|
|
2731
2898
|
description?: string | undefined;
|
|
2732
2899
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? R extends Path<{
|
|
2733
2900
|
type: "apiKey";
|
|
2734
2901
|
value: string;
|
|
2735
2902
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2736
|
-
name: string;
|
|
2737
2903
|
nameKey: string;
|
|
2904
|
+
name: string;
|
|
2738
2905
|
in: "cookie" | "query" | "header";
|
|
2739
2906
|
description?: string | undefined;
|
|
2740
2907
|
}[K]> ? PathValue<{
|
|
2741
2908
|
type: "apiKey";
|
|
2742
2909
|
value: string;
|
|
2743
2910
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2744
|
-
name: string;
|
|
2745
2911
|
nameKey: string;
|
|
2912
|
+
name: string;
|
|
2746
2913
|
in: "cookie" | "query" | "header";
|
|
2747
2914
|
description?: string | undefined;
|
|
2748
2915
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "username" | "token" ? {
|
|
@@ -2954,24 +3121,24 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
2954
3121
|
type: "apiKey";
|
|
2955
3122
|
value: string;
|
|
2956
3123
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2957
|
-
name: string;
|
|
2958
3124
|
nameKey: string;
|
|
3125
|
+
name: string;
|
|
2959
3126
|
in: "cookie" | "query" | "header";
|
|
2960
3127
|
description?: string | undefined;
|
|
2961
3128
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? R extends Path<{
|
|
2962
3129
|
type: "apiKey";
|
|
2963
3130
|
value: string;
|
|
2964
3131
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2965
|
-
name: string;
|
|
2966
3132
|
nameKey: string;
|
|
3133
|
+
name: string;
|
|
2967
3134
|
in: "cookie" | "query" | "header";
|
|
2968
3135
|
description?: string | undefined;
|
|
2969
3136
|
}[K]> ? PathValue<{
|
|
2970
3137
|
type: "apiKey";
|
|
2971
3138
|
value: string;
|
|
2972
3139
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2973
|
-
name: string;
|
|
2974
3140
|
nameKey: string;
|
|
3141
|
+
name: string;
|
|
2975
3142
|
in: "cookie" | "query" | "header";
|
|
2976
3143
|
description?: string | undefined;
|
|
2977
3144
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "username" | "token" ? {
|
|
@@ -3188,18 +3355,22 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3188
3355
|
uid: string & import("zod").BRAND<"server">;
|
|
3189
3356
|
url: string;
|
|
3190
3357
|
description?: string | undefined;
|
|
3191
|
-
variables?: Record<string,
|
|
3192
|
-
|
|
3193
|
-
|
|
3358
|
+
variables?: Record<string, {
|
|
3359
|
+
value?: string | undefined;
|
|
3360
|
+
description?: string | undefined;
|
|
3361
|
+
default?: string | undefined;
|
|
3362
|
+
enum?: string[] | undefined;
|
|
3194
3363
|
}> | undefined;
|
|
3195
3364
|
}) => void;
|
|
3196
3365
|
add: (payload: import("@scalar/oas-utils/entities/spec").ServerPayload, parentUid: string) => {
|
|
3197
3366
|
uid: string & import("zod").BRAND<"server">;
|
|
3198
3367
|
url: string;
|
|
3199
3368
|
description?: string | undefined;
|
|
3200
|
-
variables?: Record<string,
|
|
3201
|
-
|
|
3202
|
-
|
|
3369
|
+
variables?: Record<string, {
|
|
3370
|
+
value?: string | undefined;
|
|
3371
|
+
description?: string | undefined;
|
|
3372
|
+
default?: string | undefined;
|
|
3373
|
+
enum?: string[] | undefined;
|
|
3203
3374
|
}> | undefined;
|
|
3204
3375
|
};
|
|
3205
3376
|
delete: (serverUid: import("@scalar/oas-utils/entities/spec").Server["uid"], collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
@@ -3207,59 +3378,73 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3207
3378
|
uid: string & import("zod").BRAND<"server">;
|
|
3208
3379
|
url: string;
|
|
3209
3380
|
description?: string | undefined;
|
|
3210
|
-
variables?: Record<string,
|
|
3211
|
-
|
|
3212
|
-
|
|
3381
|
+
variables?: Record<string, {
|
|
3382
|
+
value?: string | undefined;
|
|
3383
|
+
description?: string | undefined;
|
|
3384
|
+
default?: string | undefined;
|
|
3385
|
+
enum?: string[] | undefined;
|
|
3213
3386
|
}> | undefined;
|
|
3214
3387
|
}) => void;
|
|
3215
3388
|
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" ? {
|
|
3216
3389
|
uid: string & import("zod").BRAND<"server">;
|
|
3217
3390
|
url: string;
|
|
3218
3391
|
description?: string | undefined;
|
|
3219
|
-
variables?: Record<string,
|
|
3220
|
-
|
|
3221
|
-
|
|
3392
|
+
variables?: Record<string, {
|
|
3393
|
+
value?: string | undefined;
|
|
3394
|
+
description?: string | undefined;
|
|
3395
|
+
default?: string | undefined;
|
|
3396
|
+
enum?: string[] | undefined;
|
|
3222
3397
|
}> | undefined;
|
|
3223
3398
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends Path<{
|
|
3224
3399
|
uid: string & import("zod").BRAND<"server">;
|
|
3225
3400
|
url: string;
|
|
3226
3401
|
description?: string | undefined;
|
|
3227
|
-
variables?: Record<string,
|
|
3228
|
-
|
|
3229
|
-
|
|
3402
|
+
variables?: Record<string, {
|
|
3403
|
+
value?: string | undefined;
|
|
3404
|
+
description?: string | undefined;
|
|
3405
|
+
default?: string | undefined;
|
|
3406
|
+
enum?: string[] | undefined;
|
|
3230
3407
|
}> | undefined;
|
|
3231
3408
|
}[K]> ? PathValue<{
|
|
3232
3409
|
uid: string & import("zod").BRAND<"server">;
|
|
3233
3410
|
url: string;
|
|
3234
3411
|
description?: string | undefined;
|
|
3235
|
-
variables?: Record<string,
|
|
3236
|
-
|
|
3237
|
-
|
|
3412
|
+
variables?: Record<string, {
|
|
3413
|
+
value?: string | undefined;
|
|
3414
|
+
description?: string | undefined;
|
|
3415
|
+
default?: string | undefined;
|
|
3416
|
+
enum?: string[] | undefined;
|
|
3238
3417
|
}> | undefined;
|
|
3239
3418
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3240
3419
|
untrackedEdit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string & import("zod").BRAND<"server">, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
|
|
3241
3420
|
uid: string & import("zod").BRAND<"server">;
|
|
3242
3421
|
url: string;
|
|
3243
3422
|
description?: string | undefined;
|
|
3244
|
-
variables?: Record<string,
|
|
3245
|
-
|
|
3246
|
-
|
|
3423
|
+
variables?: Record<string, {
|
|
3424
|
+
value?: string | undefined;
|
|
3425
|
+
description?: string | undefined;
|
|
3426
|
+
default?: string | undefined;
|
|
3427
|
+
enum?: string[] | undefined;
|
|
3247
3428
|
}> | undefined;
|
|
3248
3429
|
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends Path<{
|
|
3249
3430
|
uid: string & import("zod").BRAND<"server">;
|
|
3250
3431
|
url: string;
|
|
3251
3432
|
description?: string | undefined;
|
|
3252
|
-
variables?: Record<string,
|
|
3253
|
-
|
|
3254
|
-
|
|
3433
|
+
variables?: Record<string, {
|
|
3434
|
+
value?: string | undefined;
|
|
3435
|
+
description?: string | undefined;
|
|
3436
|
+
default?: string | undefined;
|
|
3437
|
+
enum?: string[] | undefined;
|
|
3255
3438
|
}> | undefined;
|
|
3256
3439
|
}[K]> ? PathValue<{
|
|
3257
3440
|
uid: string & import("zod").BRAND<"server">;
|
|
3258
3441
|
url: string;
|
|
3259
3442
|
description?: string | undefined;
|
|
3260
|
-
variables?: Record<string,
|
|
3261
|
-
|
|
3262
|
-
|
|
3443
|
+
variables?: Record<string, {
|
|
3444
|
+
value?: string | undefined;
|
|
3445
|
+
description?: string | undefined;
|
|
3446
|
+
default?: string | undefined;
|
|
3447
|
+
enum?: string[] | undefined;
|
|
3263
3448
|
}> | undefined;
|
|
3264
3449
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3265
3450
|
undo: (uid: string & import("zod").BRAND<"server">) => void;
|
|
@@ -3268,9 +3453,9 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3268
3453
|
};
|
|
3269
3454
|
tagMutators: {
|
|
3270
3455
|
rawAdd: (item: {
|
|
3271
|
-
type: "tag";
|
|
3272
3456
|
uid: string & import("zod").BRAND<"tag">;
|
|
3273
3457
|
name: string;
|
|
3458
|
+
type: "tag";
|
|
3274
3459
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3275
3460
|
description?: string | undefined;
|
|
3276
3461
|
externalDocs?: {
|
|
@@ -3284,9 +3469,9 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3284
3469
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3285
3470
|
}) => void;
|
|
3286
3471
|
add: (payload: import("@scalar/oas-utils/entities/spec").TagPayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void | {
|
|
3287
|
-
type: "tag";
|
|
3288
3472
|
uid: string & import("zod").BRAND<"tag">;
|
|
3289
3473
|
name: string;
|
|
3474
|
+
type: "tag";
|
|
3290
3475
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3291
3476
|
description?: string | undefined;
|
|
3292
3477
|
externalDocs?: {
|
|
@@ -3301,9 +3486,9 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3301
3486
|
};
|
|
3302
3487
|
delete: (tag: import("@scalar/oas-utils/entities/spec").Tag, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => void;
|
|
3303
3488
|
set: (item: {
|
|
3304
|
-
type: "tag";
|
|
3305
3489
|
uid: string & import("zod").BRAND<"tag">;
|
|
3306
3490
|
name: string;
|
|
3491
|
+
type: "tag";
|
|
3307
3492
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3308
3493
|
description?: string | undefined;
|
|
3309
3494
|
externalDocs?: {
|
|
@@ -3317,9 +3502,9 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3317
3502
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3318
3503
|
}) => void;
|
|
3319
3504
|
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" ? {
|
|
3320
|
-
type: "tag";
|
|
3321
3505
|
uid: string & import("zod").BRAND<"tag">;
|
|
3322
3506
|
name: string;
|
|
3507
|
+
type: "tag";
|
|
3323
3508
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3324
3509
|
description?: string | undefined;
|
|
3325
3510
|
externalDocs?: {
|
|
@@ -3332,9 +3517,9 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3332
3517
|
'x-internal'?: boolean | undefined;
|
|
3333
3518
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3334
3519
|
}[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<{
|
|
3335
|
-
type: "tag";
|
|
3336
3520
|
uid: string & import("zod").BRAND<"tag">;
|
|
3337
3521
|
name: string;
|
|
3522
|
+
type: "tag";
|
|
3338
3523
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3339
3524
|
description?: string | undefined;
|
|
3340
3525
|
externalDocs?: {
|
|
@@ -3347,9 +3532,9 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3347
3532
|
'x-internal'?: boolean | undefined;
|
|
3348
3533
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3349
3534
|
}[K]> ? PathValue<{
|
|
3350
|
-
type: "tag";
|
|
3351
3535
|
uid: string & import("zod").BRAND<"tag">;
|
|
3352
3536
|
name: string;
|
|
3537
|
+
type: "tag";
|
|
3353
3538
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3354
3539
|
description?: string | undefined;
|
|
3355
3540
|
externalDocs?: {
|
|
@@ -3363,9 +3548,9 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3363
3548
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3364
3549
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3365
3550
|
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" ? {
|
|
3366
|
-
type: "tag";
|
|
3367
3551
|
uid: string & import("zod").BRAND<"tag">;
|
|
3368
3552
|
name: string;
|
|
3553
|
+
type: "tag";
|
|
3369
3554
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3370
3555
|
description?: string | undefined;
|
|
3371
3556
|
externalDocs?: {
|
|
@@ -3378,9 +3563,9 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3378
3563
|
'x-internal'?: boolean | undefined;
|
|
3379
3564
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3380
3565
|
}[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<{
|
|
3381
|
-
type: "tag";
|
|
3382
3566
|
uid: string & import("zod").BRAND<"tag">;
|
|
3383
3567
|
name: string;
|
|
3568
|
+
type: "tag";
|
|
3384
3569
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3385
3570
|
description?: string | undefined;
|
|
3386
3571
|
externalDocs?: {
|
|
@@ -3393,9 +3578,9 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3393
3578
|
'x-internal'?: boolean | undefined;
|
|
3394
3579
|
'x-scalar-ignore'?: boolean | undefined;
|
|
3395
3580
|
}[K]> ? PathValue<{
|
|
3396
|
-
type: "tag";
|
|
3397
3581
|
uid: string & import("zod").BRAND<"tag">;
|
|
3398
3582
|
name: string;
|
|
3583
|
+
type: "tag";
|
|
3399
3584
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
3400
3585
|
description?: string | undefined;
|
|
3401
3586
|
externalDocs?: {
|
|
@@ -3417,20 +3602,20 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3417
3602
|
uid: string & import("zod").BRAND<"workspace">;
|
|
3418
3603
|
name: string;
|
|
3419
3604
|
description: string;
|
|
3605
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3420
3606
|
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3421
3607
|
environments: Record<string, string>;
|
|
3422
3608
|
activeEnvironmentId: string;
|
|
3423
|
-
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3424
3609
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3425
3610
|
selectedHttpClient: {
|
|
3426
3611
|
targetKey: string;
|
|
3427
3612
|
clientKey: string;
|
|
3428
3613
|
};
|
|
3429
3614
|
hotKeyConfig?: {
|
|
3430
|
-
modifiers: ("
|
|
3431
|
-
hotKeys?: Partial<Record<"" | "
|
|
3615
|
+
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3616
|
+
hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3432
3617
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3433
|
-
modifiers?: ("
|
|
3618
|
+
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3434
3619
|
}>> | undefined;
|
|
3435
3620
|
} | undefined;
|
|
3436
3621
|
proxyUrl?: string | undefined;
|
|
@@ -3439,20 +3624,20 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3439
3624
|
uid: string & import("zod").BRAND<"workspace">;
|
|
3440
3625
|
name: string;
|
|
3441
3626
|
description: string;
|
|
3627
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3442
3628
|
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3443
3629
|
environments: Record<string, string>;
|
|
3444
3630
|
activeEnvironmentId: string;
|
|
3445
|
-
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3446
3631
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3447
3632
|
selectedHttpClient: {
|
|
3448
3633
|
targetKey: string;
|
|
3449
3634
|
clientKey: string;
|
|
3450
3635
|
};
|
|
3451
3636
|
hotKeyConfig?: {
|
|
3452
|
-
modifiers: ("
|
|
3453
|
-
hotKeys?: Partial<Record<"" | "
|
|
3637
|
+
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3638
|
+
hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3454
3639
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3455
|
-
modifiers?: ("
|
|
3640
|
+
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3456
3641
|
}>> | undefined;
|
|
3457
3642
|
} | undefined;
|
|
3458
3643
|
proxyUrl?: string | undefined;
|
|
@@ -3462,63 +3647,63 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3462
3647
|
uid: string & import("zod").BRAND<"workspace">;
|
|
3463
3648
|
name: string;
|
|
3464
3649
|
description: string;
|
|
3650
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3465
3651
|
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3466
3652
|
environments: Record<string, string>;
|
|
3467
3653
|
activeEnvironmentId: string;
|
|
3468
|
-
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3469
3654
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3470
3655
|
selectedHttpClient: {
|
|
3471
3656
|
targetKey: string;
|
|
3472
3657
|
clientKey: string;
|
|
3473
3658
|
};
|
|
3474
3659
|
hotKeyConfig?: {
|
|
3475
|
-
modifiers: ("
|
|
3476
|
-
hotKeys?: Partial<Record<"" | "
|
|
3660
|
+
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3661
|
+
hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3477
3662
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3478
|
-
modifiers?: ("
|
|
3663
|
+
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3479
3664
|
}>> | undefined;
|
|
3480
3665
|
} | undefined;
|
|
3481
3666
|
proxyUrl?: string | undefined;
|
|
3482
3667
|
}) => void;
|
|
3483
|
-
edit: <P extends "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "cookies" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" | `collections.${number}` | `environments.${string}` | `cookies.${number}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey" | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.0" | "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.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.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.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.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 "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "cookies" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? {
|
|
3668
|
+
edit: <P extends "description" | "name" | "uid" | "collections" | "cookies" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" | `collections.${number}` | `cookies.${number}` | `environments.${string}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey" | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys.0" | "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.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./" | "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.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.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.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./.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 "description" | "name" | "uid" | "collections" | "cookies" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? {
|
|
3484
3669
|
uid: string & import("zod").BRAND<"workspace">;
|
|
3485
3670
|
name: string;
|
|
3486
3671
|
description: string;
|
|
3672
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3487
3673
|
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3488
3674
|
environments: Record<string, string>;
|
|
3489
3675
|
activeEnvironmentId: string;
|
|
3490
|
-
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3491
3676
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3492
3677
|
selectedHttpClient: {
|
|
3493
3678
|
targetKey: string;
|
|
3494
3679
|
clientKey: string;
|
|
3495
3680
|
};
|
|
3496
3681
|
hotKeyConfig?: {
|
|
3497
|
-
modifiers: ("
|
|
3498
|
-
hotKeys?: Partial<Record<"" | "
|
|
3682
|
+
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3683
|
+
hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3499
3684
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3500
|
-
modifiers?: ("
|
|
3685
|
+
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3501
3686
|
}>> | undefined;
|
|
3502
3687
|
} | undefined;
|
|
3503
3688
|
proxyUrl?: string | undefined;
|
|
3504
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "name" | "uid" | "collections" | "
|
|
3689
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "name" | "uid" | "collections" | "cookies" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? R extends Path<{
|
|
3505
3690
|
uid: string & import("zod").BRAND<"workspace">;
|
|
3506
3691
|
name: string;
|
|
3507
3692
|
description: string;
|
|
3693
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3508
3694
|
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3509
3695
|
environments: Record<string, string>;
|
|
3510
3696
|
activeEnvironmentId: string;
|
|
3511
|
-
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3512
3697
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3513
3698
|
selectedHttpClient: {
|
|
3514
3699
|
targetKey: string;
|
|
3515
3700
|
clientKey: string;
|
|
3516
3701
|
};
|
|
3517
3702
|
hotKeyConfig?: {
|
|
3518
|
-
modifiers: ("
|
|
3519
|
-
hotKeys?: Partial<Record<"" | "
|
|
3703
|
+
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3704
|
+
hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3520
3705
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3521
|
-
modifiers?: ("
|
|
3706
|
+
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3522
3707
|
}>> | undefined;
|
|
3523
3708
|
} | undefined;
|
|
3524
3709
|
proxyUrl?: string | undefined;
|
|
@@ -3526,63 +3711,63 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3526
3711
|
uid: string & import("zod").BRAND<"workspace">;
|
|
3527
3712
|
name: string;
|
|
3528
3713
|
description: string;
|
|
3714
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3529
3715
|
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3530
3716
|
environments: Record<string, string>;
|
|
3531
3717
|
activeEnvironmentId: string;
|
|
3532
|
-
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3533
3718
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3534
3719
|
selectedHttpClient: {
|
|
3535
3720
|
targetKey: string;
|
|
3536
3721
|
clientKey: string;
|
|
3537
3722
|
};
|
|
3538
3723
|
hotKeyConfig?: {
|
|
3539
|
-
modifiers: ("
|
|
3540
|
-
hotKeys?: Partial<Record<"" | "
|
|
3724
|
+
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3725
|
+
hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3541
3726
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3542
|
-
modifiers?: ("
|
|
3727
|
+
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3543
3728
|
}>> | undefined;
|
|
3544
3729
|
} | undefined;
|
|
3545
3730
|
proxyUrl?: string | undefined;
|
|
3546
3731
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3547
|
-
untrackedEdit: <P extends "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "cookies" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" | `collections.${number}` | `environments.${string}` | `cookies.${number}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey" | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.0" | "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.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.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.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.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 "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "cookies" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? {
|
|
3732
|
+
untrackedEdit: <P extends "description" | "name" | "uid" | "collections" | "cookies" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" | `collections.${number}` | `cookies.${number}` | `environments.${string}` | "selectedHttpClient.targetKey" | "selectedHttpClient.clientKey" | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys.0" | "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.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./" | "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.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.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.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./.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 "description" | "name" | "uid" | "collections" | "cookies" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? {
|
|
3548
3733
|
uid: string & import("zod").BRAND<"workspace">;
|
|
3549
3734
|
name: string;
|
|
3550
3735
|
description: string;
|
|
3736
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3551
3737
|
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3552
3738
|
environments: Record<string, string>;
|
|
3553
3739
|
activeEnvironmentId: string;
|
|
3554
|
-
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3555
3740
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3556
3741
|
selectedHttpClient: {
|
|
3557
3742
|
targetKey: string;
|
|
3558
3743
|
clientKey: string;
|
|
3559
3744
|
};
|
|
3560
3745
|
hotKeyConfig?: {
|
|
3561
|
-
modifiers: ("
|
|
3562
|
-
hotKeys?: Partial<Record<"" | "
|
|
3746
|
+
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3747
|
+
hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3563
3748
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3564
|
-
modifiers?: ("
|
|
3749
|
+
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3565
3750
|
}>> | undefined;
|
|
3566
3751
|
} | undefined;
|
|
3567
3752
|
proxyUrl?: string | undefined;
|
|
3568
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "name" | "uid" | "collections" | "
|
|
3753
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "name" | "uid" | "collections" | "cookies" | "environments" | "activeEnvironmentId" | "themeId" | "selectedHttpClient" | "hotKeyConfig" | "proxyUrl" ? R extends Path<{
|
|
3569
3754
|
uid: string & import("zod").BRAND<"workspace">;
|
|
3570
3755
|
name: string;
|
|
3571
3756
|
description: string;
|
|
3757
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3572
3758
|
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3573
3759
|
environments: Record<string, string>;
|
|
3574
3760
|
activeEnvironmentId: string;
|
|
3575
|
-
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3576
3761
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3577
3762
|
selectedHttpClient: {
|
|
3578
3763
|
targetKey: string;
|
|
3579
3764
|
clientKey: string;
|
|
3580
3765
|
};
|
|
3581
3766
|
hotKeyConfig?: {
|
|
3582
|
-
modifiers: ("
|
|
3583
|
-
hotKeys?: Partial<Record<"" | "
|
|
3767
|
+
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3768
|
+
hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3584
3769
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3585
|
-
modifiers?: ("
|
|
3770
|
+
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3586
3771
|
}>> | undefined;
|
|
3587
3772
|
} | undefined;
|
|
3588
3773
|
proxyUrl?: string | undefined;
|
|
@@ -3590,20 +3775,20 @@ export declare const createApiClient: ({ el, appComponent, configuration: _confi
|
|
|
3590
3775
|
uid: string & import("zod").BRAND<"workspace">;
|
|
3591
3776
|
name: string;
|
|
3592
3777
|
description: string;
|
|
3778
|
+
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3593
3779
|
collections: (string & import("zod").BRAND<"collection">)[];
|
|
3594
3780
|
environments: Record<string, string>;
|
|
3595
3781
|
activeEnvironmentId: string;
|
|
3596
|
-
cookies: (string & import("zod").BRAND<"cookie">)[];
|
|
3597
3782
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
3598
3783
|
selectedHttpClient: {
|
|
3599
3784
|
targetKey: string;
|
|
3600
3785
|
clientKey: string;
|
|
3601
3786
|
};
|
|
3602
3787
|
hotKeyConfig?: {
|
|
3603
|
-
modifiers: ("
|
|
3604
|
-
hotKeys?: Partial<Record<"" | "
|
|
3788
|
+
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
3789
|
+
hotKeys?: Partial<Record<"" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
3605
3790
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
3606
|
-
modifiers?: ("
|
|
3791
|
+
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
3607
3792
|
}>> | undefined;
|
|
3608
3793
|
} | undefined;
|
|
3609
3794
|
proxyUrl?: string | undefined;
|