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