@scalar/api-client-react 1.0.90 → 1.0.92
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 +21 -0
- package/dist/index.d.ts +520 -1084
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { ClientConfiguration } from '@scalar/api-client/libs';
|
|
|
3
3
|
import { Collection } from '@scalar/oas-utils/entities/spec';
|
|
4
4
|
import { CollectionPayload } from '@scalar/oas-utils/entities/spec';
|
|
5
5
|
import { CommandPaletteEvent } from 'node_modules/@scalar/api-client/dist/components/CommandPalette/TheCommandPalette.vue';
|
|
6
|
-
import { ComputedRef } from 'vue';
|
|
7
6
|
import { default as default_2 } from 'react';
|
|
8
7
|
import { ErrorResponse } from '@scalar/api-client/libs';
|
|
9
8
|
import { EventBus } from '@scalar/api-client/libs';
|
|
@@ -20,7 +19,7 @@ import { RequestEvent } from '@scalar/oas-utils/entities/spec';
|
|
|
20
19
|
import { RequestExample } from '@scalar/oas-utils/entities/spec';
|
|
21
20
|
import { RequestPayload } from '@scalar/oas-utils/entities/spec';
|
|
22
21
|
import { RequestStatus } from '@scalar/api-client/libs';
|
|
23
|
-
import {
|
|
22
|
+
import { SecurityScheme } from '@scalar/oas-utils/entities/spec';
|
|
24
23
|
import { SecuritySchemePayload } from '@scalar/oas-utils/entities/spec';
|
|
25
24
|
import { ServerPayload } from '@scalar/oas-utils/entities/spec';
|
|
26
25
|
import { SpecConfiguration } from '@scalar/types';
|
|
@@ -49,10 +48,10 @@ export declare const useApiClientModal: () => {
|
|
|
49
48
|
updateConfig(newConfig: ClientConfiguration, mergeConfigs?: boolean): void;
|
|
50
49
|
updateServer: (serverUrl: string) => void;
|
|
51
50
|
onUpdateServer: (callback: (url: string) => void) => void;
|
|
52
|
-
updateAuth: <P extends Path<
|
|
51
|
+
updateAuth: <P extends Path<SecurityScheme>>({ nameKey, propertyKey, value, }: {
|
|
53
52
|
nameKey: string;
|
|
54
53
|
propertyKey: P;
|
|
55
|
-
value: PathValue<
|
|
54
|
+
value: NonNullable<PathValue<SecurityScheme, P>>;
|
|
56
55
|
}) => void;
|
|
57
56
|
route: (params: OpenClientPayload) => void;
|
|
58
57
|
open: (payload?: OpenClientPayload) => void;
|
|
@@ -67,12 +66,11 @@ export declare const useApiClientModal: () => {
|
|
|
67
66
|
uid: string;
|
|
68
67
|
name: string;
|
|
69
68
|
description: string;
|
|
70
|
-
isReadOnly: boolean;
|
|
71
69
|
collections: string[];
|
|
72
70
|
environments: string[];
|
|
73
71
|
activeEnvironmentId: string;
|
|
74
72
|
cookies: string[];
|
|
75
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
73
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
76
74
|
hotKeyConfig?: {
|
|
77
75
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
78
76
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -95,33 +93,6 @@ export declare const useApiClientModal: () => {
|
|
|
95
93
|
servers: string[];
|
|
96
94
|
requests: string[];
|
|
97
95
|
tags: string[];
|
|
98
|
-
auth: Record<string, {
|
|
99
|
-
type: "apiKey";
|
|
100
|
-
value: string;
|
|
101
|
-
name: string;
|
|
102
|
-
} | {
|
|
103
|
-
type: "http";
|
|
104
|
-
username: string;
|
|
105
|
-
password: string;
|
|
106
|
-
token: string;
|
|
107
|
-
} | {
|
|
108
|
-
type: "oauth-implicit";
|
|
109
|
-
token: string;
|
|
110
|
-
} | {
|
|
111
|
-
type: "oauth-password";
|
|
112
|
-
username: string;
|
|
113
|
-
password: string;
|
|
114
|
-
token: string;
|
|
115
|
-
clientSecret: string;
|
|
116
|
-
} | {
|
|
117
|
-
type: "oauth-clientCredentials";
|
|
118
|
-
token: string;
|
|
119
|
-
clientSecret: string;
|
|
120
|
-
} | {
|
|
121
|
-
type: "oauth-authorizationCode";
|
|
122
|
-
token: string;
|
|
123
|
-
clientSecret: string;
|
|
124
|
-
}>;
|
|
125
96
|
watchMode: boolean;
|
|
126
97
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
127
98
|
externalDocs?: {
|
|
@@ -301,7 +272,7 @@ export declare const useApiClientModal: () => {
|
|
|
301
272
|
selectedServerUid: string;
|
|
302
273
|
servers: string[];
|
|
303
274
|
examples: string[];
|
|
304
|
-
method: "options" | "
|
|
275
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
305
276
|
description?: string | undefined;
|
|
306
277
|
summary?: string | undefined;
|
|
307
278
|
externalDocs?: {
|
|
@@ -340,10 +311,11 @@ export declare const useApiClientModal: () => {
|
|
|
340
311
|
}>;
|
|
341
312
|
securitySchemes: Record<string, {
|
|
342
313
|
type: "apiKey";
|
|
314
|
+
value: string;
|
|
343
315
|
uid: string;
|
|
344
316
|
name: string;
|
|
345
|
-
in: "query" | "header" | "cookie";
|
|
346
317
|
nameKey: string;
|
|
318
|
+
in: "query" | "header" | "cookie";
|
|
347
319
|
description?: string | undefined;
|
|
348
320
|
} | {
|
|
349
321
|
type: "http";
|
|
@@ -351,6 +323,9 @@ export declare const useApiClientModal: () => {
|
|
|
351
323
|
nameKey: string;
|
|
352
324
|
scheme: "basic" | "bearer";
|
|
353
325
|
bearerFormat: string;
|
|
326
|
+
username: string;
|
|
327
|
+
password: string;
|
|
328
|
+
token: string;
|
|
354
329
|
description?: string | undefined;
|
|
355
330
|
} | {
|
|
356
331
|
type: "openIdConnect";
|
|
@@ -362,400 +337,60 @@ export declare const useApiClientModal: () => {
|
|
|
362
337
|
type: "oauth2";
|
|
363
338
|
uid: string;
|
|
364
339
|
nameKey: string;
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
340
|
+
flows: {
|
|
341
|
+
password?: {
|
|
342
|
+
type: "password";
|
|
343
|
+
username: string;
|
|
344
|
+
password: string;
|
|
345
|
+
token: string;
|
|
346
|
+
refreshUrl: string;
|
|
347
|
+
scopes: Record<string, string>;
|
|
348
|
+
selectedScopes: string[];
|
|
349
|
+
"x-scalar-client-id": string;
|
|
350
|
+
tokenUrl: string;
|
|
351
|
+
clientSecret: string;
|
|
352
|
+
} | undefined;
|
|
353
|
+
implicit?: {
|
|
354
|
+
type: "implicit";
|
|
355
|
+
token: string;
|
|
356
|
+
refreshUrl: string;
|
|
357
|
+
scopes: Record<string, string>;
|
|
358
|
+
selectedScopes: string[];
|
|
359
|
+
"x-scalar-client-id": string;
|
|
360
|
+
authorizationUrl: string;
|
|
361
|
+
"x-scalar-redirect-uri": string;
|
|
362
|
+
} | undefined;
|
|
363
|
+
clientCredentials?: {
|
|
364
|
+
type: "clientCredentials";
|
|
365
|
+
token: string;
|
|
366
|
+
refreshUrl: string;
|
|
367
|
+
scopes: Record<string, string>;
|
|
368
|
+
selectedScopes: string[];
|
|
369
|
+
"x-scalar-client-id": string;
|
|
370
|
+
tokenUrl: string;
|
|
371
|
+
clientSecret: string;
|
|
372
|
+
} | undefined;
|
|
373
|
+
authorizationCode?: {
|
|
374
|
+
type: "authorizationCode";
|
|
375
|
+
token: string;
|
|
376
|
+
refreshUrl: string;
|
|
377
|
+
scopes: Record<string, string>;
|
|
378
|
+
selectedScopes: string[];
|
|
379
|
+
"x-scalar-client-id": string;
|
|
380
|
+
authorizationUrl: string;
|
|
381
|
+
"x-scalar-redirect-uri": string;
|
|
382
|
+
tokenUrl: string;
|
|
383
|
+
clientSecret: string;
|
|
384
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
385
|
+
} | undefined;
|
|
393
386
|
};
|
|
394
|
-
"x-scalar-client-id": string;
|
|
395
387
|
description?: string | undefined;
|
|
396
388
|
}>;
|
|
397
|
-
activeCollection: ComputedRef< {
|
|
398
|
-
type: "collection";
|
|
399
|
-
uid: string;
|
|
400
|
-
children: string[];
|
|
401
|
-
openapi: string;
|
|
402
|
-
security: Record<string, string[]>[];
|
|
403
|
-
"x-scalar-icon": string;
|
|
404
|
-
securitySchemes: string[];
|
|
405
|
-
selectedSecuritySchemeUids: string[];
|
|
406
|
-
selectedServerUid: string;
|
|
407
|
-
servers: string[];
|
|
408
|
-
requests: string[];
|
|
409
|
-
tags: string[];
|
|
410
|
-
auth: Record<string, {
|
|
411
|
-
type: "apiKey";
|
|
412
|
-
value: string;
|
|
413
|
-
name: string;
|
|
414
|
-
} | {
|
|
415
|
-
type: "http";
|
|
416
|
-
username: string;
|
|
417
|
-
password: string;
|
|
418
|
-
token: string;
|
|
419
|
-
} | {
|
|
420
|
-
type: "oauth-implicit";
|
|
421
|
-
token: string;
|
|
422
|
-
} | {
|
|
423
|
-
type: "oauth-password";
|
|
424
|
-
username: string;
|
|
425
|
-
password: string;
|
|
426
|
-
token: string;
|
|
427
|
-
clientSecret: string;
|
|
428
|
-
} | {
|
|
429
|
-
type: "oauth-clientCredentials";
|
|
430
|
-
token: string;
|
|
431
|
-
clientSecret: string;
|
|
432
|
-
} | {
|
|
433
|
-
type: "oauth-authorizationCode";
|
|
434
|
-
token: string;
|
|
435
|
-
clientSecret: string;
|
|
436
|
-
}>;
|
|
437
|
-
watchMode: boolean;
|
|
438
|
-
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
439
|
-
externalDocs?: {
|
|
440
|
-
url: string;
|
|
441
|
-
description?: string | undefined;
|
|
442
|
-
} | undefined;
|
|
443
|
-
jsonSchemaDialect?: string | undefined;
|
|
444
|
-
info?: {
|
|
445
|
-
title: string;
|
|
446
|
-
version: string;
|
|
447
|
-
description?: string | undefined;
|
|
448
|
-
summary?: string | undefined;
|
|
449
|
-
termsOfService?: string | undefined;
|
|
450
|
-
contact?: {
|
|
451
|
-
name?: string | undefined;
|
|
452
|
-
url?: string | undefined;
|
|
453
|
-
email?: string | undefined;
|
|
454
|
-
} | undefined;
|
|
455
|
-
license?: {
|
|
456
|
-
name: string;
|
|
457
|
-
identifier?: string | undefined;
|
|
458
|
-
url?: string | undefined;
|
|
459
|
-
} | undefined;
|
|
460
|
-
} | undefined;
|
|
461
|
-
components?: Record<string, unknown> | undefined;
|
|
462
|
-
webhooks?: Record<string, unknown> | undefined;
|
|
463
|
-
"x-scalar-environment"?: string | undefined;
|
|
464
|
-
"x-scalar-environments"?: Record<string, {
|
|
465
|
-
variables: Record<string, string | {
|
|
466
|
-
default: string;
|
|
467
|
-
description?: string | undefined;
|
|
468
|
-
}>;
|
|
469
|
-
description?: string | undefined;
|
|
470
|
-
color?: string | undefined;
|
|
471
|
-
}> | undefined;
|
|
472
|
-
"x-scalar-secrets"?: Record<string, {
|
|
473
|
-
description?: string | undefined;
|
|
474
|
-
example?: string | undefined;
|
|
475
|
-
}> | undefined;
|
|
476
|
-
documentUrl?: string | undefined;
|
|
477
|
-
integration?: string | null | undefined;
|
|
478
|
-
} | undefined>;
|
|
479
|
-
activeCookieId: ComputedRef<string | undefined>;
|
|
480
|
-
activeExample: ComputedRef< {
|
|
481
|
-
type: "requestExample";
|
|
482
|
-
uid: string;
|
|
483
|
-
name: string;
|
|
484
|
-
body: {
|
|
485
|
-
activeBody: "formData" | "binary" | "raw";
|
|
486
|
-
formData?: {
|
|
487
|
-
value: {
|
|
488
|
-
value: string;
|
|
489
|
-
key: string;
|
|
490
|
-
enabled: boolean;
|
|
491
|
-
minimum?: number | undefined;
|
|
492
|
-
type?: string | undefined;
|
|
493
|
-
maximum?: number | undefined;
|
|
494
|
-
default?: any;
|
|
495
|
-
required?: boolean | undefined;
|
|
496
|
-
description?: string | undefined;
|
|
497
|
-
enum?: string[] | undefined;
|
|
498
|
-
format?: string | undefined;
|
|
499
|
-
file?: any;
|
|
500
|
-
nullable?: boolean | undefined;
|
|
501
|
-
}[];
|
|
502
|
-
encoding: "form-data" | "urlencoded";
|
|
503
|
-
} | undefined;
|
|
504
|
-
binary?: Blob | undefined;
|
|
505
|
-
raw?: {
|
|
506
|
-
value: string;
|
|
507
|
-
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
508
|
-
} | undefined;
|
|
509
|
-
};
|
|
510
|
-
requestUid: string;
|
|
511
|
-
parameters: {
|
|
512
|
-
path: {
|
|
513
|
-
value: string;
|
|
514
|
-
key: string;
|
|
515
|
-
enabled: boolean;
|
|
516
|
-
minimum?: number | undefined;
|
|
517
|
-
type?: string | undefined;
|
|
518
|
-
maximum?: number | undefined;
|
|
519
|
-
default?: any;
|
|
520
|
-
required?: boolean | undefined;
|
|
521
|
-
description?: string | undefined;
|
|
522
|
-
enum?: string[] | undefined;
|
|
523
|
-
format?: string | undefined;
|
|
524
|
-
file?: any;
|
|
525
|
-
nullable?: boolean | undefined;
|
|
526
|
-
}[];
|
|
527
|
-
cookies: {
|
|
528
|
-
value: string;
|
|
529
|
-
key: string;
|
|
530
|
-
enabled: boolean;
|
|
531
|
-
minimum?: number | undefined;
|
|
532
|
-
type?: string | undefined;
|
|
533
|
-
maximum?: number | undefined;
|
|
534
|
-
default?: any;
|
|
535
|
-
required?: boolean | undefined;
|
|
536
|
-
description?: string | undefined;
|
|
537
|
-
enum?: string[] | undefined;
|
|
538
|
-
format?: string | undefined;
|
|
539
|
-
file?: any;
|
|
540
|
-
nullable?: boolean | undefined;
|
|
541
|
-
}[];
|
|
542
|
-
query: {
|
|
543
|
-
value: string;
|
|
544
|
-
key: string;
|
|
545
|
-
enabled: boolean;
|
|
546
|
-
minimum?: number | undefined;
|
|
547
|
-
type?: string | undefined;
|
|
548
|
-
maximum?: number | undefined;
|
|
549
|
-
default?: any;
|
|
550
|
-
required?: boolean | undefined;
|
|
551
|
-
description?: string | undefined;
|
|
552
|
-
enum?: string[] | undefined;
|
|
553
|
-
format?: string | undefined;
|
|
554
|
-
file?: any;
|
|
555
|
-
nullable?: boolean | undefined;
|
|
556
|
-
}[];
|
|
557
|
-
headers: {
|
|
558
|
-
value: string;
|
|
559
|
-
key: string;
|
|
560
|
-
enabled: boolean;
|
|
561
|
-
minimum?: number | undefined;
|
|
562
|
-
type?: string | undefined;
|
|
563
|
-
maximum?: number | undefined;
|
|
564
|
-
default?: any;
|
|
565
|
-
required?: boolean | undefined;
|
|
566
|
-
description?: string | undefined;
|
|
567
|
-
enum?: string[] | undefined;
|
|
568
|
-
format?: string | undefined;
|
|
569
|
-
file?: any;
|
|
570
|
-
nullable?: boolean | undefined;
|
|
571
|
-
}[];
|
|
572
|
-
};
|
|
573
|
-
serverVariables?: Record<string, string[]> | undefined;
|
|
574
|
-
} | undefined>;
|
|
575
|
-
activeRequest: ComputedRef< {
|
|
576
|
-
path: string;
|
|
577
|
-
type: "request";
|
|
578
|
-
uid: string;
|
|
579
|
-
selectedSecuritySchemeUids: string[];
|
|
580
|
-
selectedServerUid: string;
|
|
581
|
-
servers: string[];
|
|
582
|
-
examples: string[];
|
|
583
|
-
method: "options" | "delete" | "get" | "connect" | "head" | "patch" | "post" | "put" | "trace";
|
|
584
|
-
description?: string | undefined;
|
|
585
|
-
summary?: string | undefined;
|
|
586
|
-
externalDocs?: {
|
|
587
|
-
url: string;
|
|
588
|
-
description?: string | undefined;
|
|
589
|
-
} | undefined;
|
|
590
|
-
security?: Record<string, string[]>[] | undefined;
|
|
591
|
-
tags?: string[] | undefined;
|
|
592
|
-
deprecated?: boolean | undefined;
|
|
593
|
-
operationId?: string | undefined;
|
|
594
|
-
parameters?: {
|
|
595
|
-
required: boolean;
|
|
596
|
-
name: string;
|
|
597
|
-
in: "path" | "query" | "header" | "cookie";
|
|
598
|
-
deprecated: boolean;
|
|
599
|
-
description?: string | undefined;
|
|
600
|
-
example?: unknown;
|
|
601
|
-
schema?: unknown;
|
|
602
|
-
content?: unknown;
|
|
603
|
-
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
604
|
-
examples?: Record<string, {
|
|
605
|
-
value?: unknown;
|
|
606
|
-
summary?: string | undefined;
|
|
607
|
-
}> | undefined;
|
|
608
|
-
}[] | undefined;
|
|
609
|
-
requestBody?: any;
|
|
610
|
-
responses?: Record<string, any> | undefined;
|
|
611
|
-
} | undefined>;
|
|
612
|
-
activeRouterParams: ComputedRef< {
|
|
613
|
-
collection: string;
|
|
614
|
-
environment: string;
|
|
615
|
-
request: string;
|
|
616
|
-
examples: string;
|
|
617
|
-
schema: string;
|
|
618
|
-
cookies: string;
|
|
619
|
-
servers: string;
|
|
620
|
-
workspace: string;
|
|
621
|
-
settings: string;
|
|
622
|
-
}>;
|
|
623
|
-
activeEnvironment: ComputedRef< {
|
|
624
|
-
value: string;
|
|
625
|
-
uid: string;
|
|
626
|
-
name: string;
|
|
627
|
-
color: string;
|
|
628
|
-
isDefault?: boolean | undefined;
|
|
629
|
-
}>;
|
|
630
|
-
activeServer: ComputedRef< {
|
|
631
|
-
uid: string;
|
|
632
|
-
url: string;
|
|
633
|
-
description?: string | undefined;
|
|
634
|
-
variables?: Record<string, Omit<OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
635
|
-
enum?: [string, ...string[]];
|
|
636
|
-
}> | undefined;
|
|
637
|
-
}>;
|
|
638
|
-
activeWorkspace: ComputedRef< {
|
|
639
|
-
uid: string;
|
|
640
|
-
name: string;
|
|
641
|
-
description: string;
|
|
642
|
-
isReadOnly: boolean;
|
|
643
|
-
collections: string[];
|
|
644
|
-
environments: string[];
|
|
645
|
-
activeEnvironmentId: string;
|
|
646
|
-
cookies: string[];
|
|
647
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
648
|
-
hotKeyConfig?: {
|
|
649
|
-
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
650
|
-
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
651
|
-
event: "closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch";
|
|
652
|
-
modifiers?: ("Meta" | "Control" | "Shift" | "Alt" | "default")[] | undefined;
|
|
653
|
-
}>> | undefined;
|
|
654
|
-
} | undefined;
|
|
655
|
-
proxyUrl?: string | undefined;
|
|
656
|
-
}>;
|
|
657
|
-
activeWorkspaceCollections: ComputedRef< {
|
|
658
|
-
type: "collection";
|
|
659
|
-
uid: string;
|
|
660
|
-
children: string[];
|
|
661
|
-
openapi: string;
|
|
662
|
-
security: Record<string, string[]>[];
|
|
663
|
-
"x-scalar-icon": string;
|
|
664
|
-
securitySchemes: string[];
|
|
665
|
-
selectedSecuritySchemeUids: string[];
|
|
666
|
-
selectedServerUid: string;
|
|
667
|
-
servers: string[];
|
|
668
|
-
requests: string[];
|
|
669
|
-
tags: string[];
|
|
670
|
-
auth: Record<string, {
|
|
671
|
-
type: "apiKey";
|
|
672
|
-
value: string;
|
|
673
|
-
name: string;
|
|
674
|
-
} | {
|
|
675
|
-
type: "http";
|
|
676
|
-
username: string;
|
|
677
|
-
password: string;
|
|
678
|
-
token: string;
|
|
679
|
-
} | {
|
|
680
|
-
type: "oauth-implicit";
|
|
681
|
-
token: string;
|
|
682
|
-
} | {
|
|
683
|
-
type: "oauth-password";
|
|
684
|
-
username: string;
|
|
685
|
-
password: string;
|
|
686
|
-
token: string;
|
|
687
|
-
clientSecret: string;
|
|
688
|
-
} | {
|
|
689
|
-
type: "oauth-clientCredentials";
|
|
690
|
-
token: string;
|
|
691
|
-
clientSecret: string;
|
|
692
|
-
} | {
|
|
693
|
-
type: "oauth-authorizationCode";
|
|
694
|
-
token: string;
|
|
695
|
-
clientSecret: string;
|
|
696
|
-
}>;
|
|
697
|
-
watchMode: boolean;
|
|
698
|
-
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
699
|
-
externalDocs?: {
|
|
700
|
-
url: string;
|
|
701
|
-
description?: string | undefined;
|
|
702
|
-
} | undefined;
|
|
703
|
-
jsonSchemaDialect?: string | undefined;
|
|
704
|
-
info?: {
|
|
705
|
-
title: string;
|
|
706
|
-
version: string;
|
|
707
|
-
description?: string | undefined;
|
|
708
|
-
summary?: string | undefined;
|
|
709
|
-
termsOfService?: string | undefined;
|
|
710
|
-
contact?: {
|
|
711
|
-
name?: string | undefined;
|
|
712
|
-
url?: string | undefined;
|
|
713
|
-
email?: string | undefined;
|
|
714
|
-
} | undefined;
|
|
715
|
-
license?: {
|
|
716
|
-
name: string;
|
|
717
|
-
identifier?: string | undefined;
|
|
718
|
-
url?: string | undefined;
|
|
719
|
-
} | undefined;
|
|
720
|
-
} | undefined;
|
|
721
|
-
components?: Record<string, unknown> | undefined;
|
|
722
|
-
webhooks?: Record<string, unknown> | undefined;
|
|
723
|
-
"x-scalar-environment"?: string | undefined;
|
|
724
|
-
"x-scalar-environments"?: Record<string, {
|
|
725
|
-
variables: Record<string, string | {
|
|
726
|
-
default: string;
|
|
727
|
-
description?: string | undefined;
|
|
728
|
-
}>;
|
|
729
|
-
description?: string | undefined;
|
|
730
|
-
color?: string | undefined;
|
|
731
|
-
}> | undefined;
|
|
732
|
-
"x-scalar-secrets"?: Record<string, {
|
|
733
|
-
description?: string | undefined;
|
|
734
|
-
example?: string | undefined;
|
|
735
|
-
}> | undefined;
|
|
736
|
-
documentUrl?: string | undefined;
|
|
737
|
-
integration?: string | null | undefined;
|
|
738
|
-
}[]>;
|
|
739
|
-
activeWorkspaceServers: ComputedRef< {
|
|
740
|
-
uid: string;
|
|
741
|
-
url: string;
|
|
742
|
-
description?: string | undefined;
|
|
743
|
-
variables?: Record<string, Omit<OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
744
|
-
enum?: [string, ...string[]];
|
|
745
|
-
}> | undefined;
|
|
746
|
-
}[]>;
|
|
747
|
-
activeEnvVariables: ComputedRef< {
|
|
748
|
-
key: string;
|
|
749
|
-
value: string;
|
|
750
|
-
}[]>;
|
|
751
|
-
activeWorkspaceRequests: ComputedRef<string[]>;
|
|
752
389
|
modalState: {
|
|
753
390
|
open: boolean;
|
|
754
391
|
show: () => void;
|
|
755
392
|
hide: () => void;
|
|
756
393
|
};
|
|
757
|
-
isReadOnly: ComputedRef<boolean>;
|
|
758
|
-
router: Router;
|
|
759
394
|
events: {
|
|
760
395
|
executeRequest: EventBus<any>;
|
|
761
396
|
cancelRequest: EventBus<any>;
|
|
@@ -763,11 +398,10 @@ export declare const useApiClientModal: () => {
|
|
|
763
398
|
commandPalette: EventBus<CommandPaletteEvent>;
|
|
764
399
|
hotKeys: EventBus<Partial<Record<"closeModal" | "navigateSearchResultsDown" | "selectSearchResult" | "navigateSearchResultsUp" | "openCommandPalette" | "createNew" | "toggleSidebar" | "addTopNav" | "closeTopNav" | "navigateTopNavLeft" | "navigateTopNavRight" | "focusAddressBar" | "jumpToTab" | "jumpToLastTab" | "focusRequestSearch", KeyboardEvent>>>;
|
|
765
400
|
};
|
|
401
|
+
proxyUrl: string | undefined;
|
|
766
402
|
sidebarWidth: Ref<string, string>;
|
|
767
403
|
setSidebarWidth: (width: string) => void;
|
|
768
|
-
|
|
769
|
-
setProxyUrl: (url: string) => void;
|
|
770
|
-
defaultProxyUrl: string | undefined;
|
|
404
|
+
isReadOnly: boolean;
|
|
771
405
|
importSpecFile: (_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
772
406
|
type?: "collection" | undefined;
|
|
773
407
|
uid?: string | undefined;
|
|
@@ -818,33 +452,6 @@ export declare const useApiClientModal: () => {
|
|
|
818
452
|
servers?: (string | undefined)[] | undefined;
|
|
819
453
|
requests?: (string | undefined)[] | undefined;
|
|
820
454
|
tags?: (string | undefined)[] | undefined;
|
|
821
|
-
auth?: Record<string | undefined, {
|
|
822
|
-
type?: "apiKey" | undefined;
|
|
823
|
-
value?: string | undefined;
|
|
824
|
-
name?: string | undefined;
|
|
825
|
-
} | {
|
|
826
|
-
type?: "http" | undefined;
|
|
827
|
-
username?: string | undefined;
|
|
828
|
-
password?: string | undefined;
|
|
829
|
-
token?: string | undefined;
|
|
830
|
-
} | {
|
|
831
|
-
type?: "oauth-implicit" | undefined;
|
|
832
|
-
token?: string | undefined;
|
|
833
|
-
} | {
|
|
834
|
-
type?: "oauth-password" | undefined;
|
|
835
|
-
username?: string | undefined;
|
|
836
|
-
password?: string | undefined;
|
|
837
|
-
token?: string | undefined;
|
|
838
|
-
clientSecret?: string | undefined;
|
|
839
|
-
} | {
|
|
840
|
-
type?: "oauth-clientCredentials" | undefined;
|
|
841
|
-
token?: string | undefined;
|
|
842
|
-
clientSecret?: string | undefined;
|
|
843
|
-
} | {
|
|
844
|
-
type?: "oauth-authorizationCode" | undefined;
|
|
845
|
-
token?: string | undefined;
|
|
846
|
-
clientSecret?: string | undefined;
|
|
847
|
-
}> | undefined;
|
|
848
455
|
documentUrl?: string | undefined;
|
|
849
456
|
watchMode?: boolean | undefined;
|
|
850
457
|
integration?: string | null | undefined;
|
|
@@ -864,33 +471,6 @@ export declare const useApiClientModal: () => {
|
|
|
864
471
|
servers: string[];
|
|
865
472
|
requests: string[];
|
|
866
473
|
tags: string[];
|
|
867
|
-
auth: Record<string, {
|
|
868
|
-
type: "apiKey";
|
|
869
|
-
value: string;
|
|
870
|
-
name: string;
|
|
871
|
-
} | {
|
|
872
|
-
type: "http";
|
|
873
|
-
username: string;
|
|
874
|
-
password: string;
|
|
875
|
-
token: string;
|
|
876
|
-
} | {
|
|
877
|
-
type: "oauth-implicit";
|
|
878
|
-
token: string;
|
|
879
|
-
} | {
|
|
880
|
-
type: "oauth-password";
|
|
881
|
-
username: string;
|
|
882
|
-
password: string;
|
|
883
|
-
token: string;
|
|
884
|
-
clientSecret: string;
|
|
885
|
-
} | {
|
|
886
|
-
type: "oauth-clientCredentials";
|
|
887
|
-
token: string;
|
|
888
|
-
clientSecret: string;
|
|
889
|
-
} | {
|
|
890
|
-
type: "oauth-authorizationCode";
|
|
891
|
-
token: string;
|
|
892
|
-
clientSecret: string;
|
|
893
|
-
}>;
|
|
894
474
|
watchMode: boolean;
|
|
895
475
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
896
476
|
externalDocs?: {
|
|
@@ -983,33 +563,6 @@ export declare const useApiClientModal: () => {
|
|
|
983
563
|
servers?: (string | undefined)[] | undefined;
|
|
984
564
|
requests?: (string | undefined)[] | undefined;
|
|
985
565
|
tags?: (string | undefined)[] | undefined;
|
|
986
|
-
auth?: Record<string | undefined, {
|
|
987
|
-
type?: "apiKey" | undefined;
|
|
988
|
-
value?: string | undefined;
|
|
989
|
-
name?: string | undefined;
|
|
990
|
-
} | {
|
|
991
|
-
type?: "http" | undefined;
|
|
992
|
-
username?: string | undefined;
|
|
993
|
-
password?: string | undefined;
|
|
994
|
-
token?: string | undefined;
|
|
995
|
-
} | {
|
|
996
|
-
type?: "oauth-implicit" | undefined;
|
|
997
|
-
token?: string | undefined;
|
|
998
|
-
} | {
|
|
999
|
-
type?: "oauth-password" | undefined;
|
|
1000
|
-
username?: string | undefined;
|
|
1001
|
-
password?: string | undefined;
|
|
1002
|
-
token?: string | undefined;
|
|
1003
|
-
clientSecret?: string | undefined;
|
|
1004
|
-
} | {
|
|
1005
|
-
type?: "oauth-clientCredentials" | undefined;
|
|
1006
|
-
token?: string | undefined;
|
|
1007
|
-
clientSecret?: string | undefined;
|
|
1008
|
-
} | {
|
|
1009
|
-
type?: "oauth-authorizationCode" | undefined;
|
|
1010
|
-
token?: string | undefined;
|
|
1011
|
-
clientSecret?: string | undefined;
|
|
1012
|
-
}> | undefined;
|
|
1013
566
|
documentUrl?: string | undefined;
|
|
1014
567
|
watchMode?: boolean | undefined;
|
|
1015
568
|
integration?: string | null | undefined;
|
|
@@ -1066,33 +619,6 @@ export declare const useApiClientModal: () => {
|
|
|
1066
619
|
servers?: (string | undefined)[] | undefined;
|
|
1067
620
|
requests?: (string | undefined)[] | undefined;
|
|
1068
621
|
tags?: (string | undefined)[] | undefined;
|
|
1069
|
-
auth?: Record<string | undefined, {
|
|
1070
|
-
type?: "apiKey" | undefined;
|
|
1071
|
-
value?: string | undefined;
|
|
1072
|
-
name?: string | undefined;
|
|
1073
|
-
} | {
|
|
1074
|
-
type?: "http" | undefined;
|
|
1075
|
-
username?: string | undefined;
|
|
1076
|
-
password?: string | undefined;
|
|
1077
|
-
token?: string | undefined;
|
|
1078
|
-
} | {
|
|
1079
|
-
type?: "oauth-implicit" | undefined;
|
|
1080
|
-
token?: string | undefined;
|
|
1081
|
-
} | {
|
|
1082
|
-
type?: "oauth-password" | undefined;
|
|
1083
|
-
username?: string | undefined;
|
|
1084
|
-
password?: string | undefined;
|
|
1085
|
-
token?: string | undefined;
|
|
1086
|
-
clientSecret?: string | undefined;
|
|
1087
|
-
} | {
|
|
1088
|
-
type?: "oauth-clientCredentials" | undefined;
|
|
1089
|
-
token?: string | undefined;
|
|
1090
|
-
clientSecret?: string | undefined;
|
|
1091
|
-
} | {
|
|
1092
|
-
type?: "oauth-authorizationCode" | undefined;
|
|
1093
|
-
token?: string | undefined;
|
|
1094
|
-
clientSecret?: string | undefined;
|
|
1095
|
-
}> | undefined;
|
|
1096
622
|
documentUrl?: string | undefined;
|
|
1097
623
|
watchMode?: boolean | undefined;
|
|
1098
624
|
integration?: string | null | undefined;
|
|
@@ -1112,33 +638,6 @@ export declare const useApiClientModal: () => {
|
|
|
1112
638
|
servers: string[];
|
|
1113
639
|
requests: string[];
|
|
1114
640
|
tags: string[];
|
|
1115
|
-
auth: Record<string, {
|
|
1116
|
-
type: "apiKey";
|
|
1117
|
-
value: string;
|
|
1118
|
-
name: string;
|
|
1119
|
-
} | {
|
|
1120
|
-
type: "http";
|
|
1121
|
-
username: string;
|
|
1122
|
-
password: string;
|
|
1123
|
-
token: string;
|
|
1124
|
-
} | {
|
|
1125
|
-
type: "oauth-implicit";
|
|
1126
|
-
token: string;
|
|
1127
|
-
} | {
|
|
1128
|
-
type: "oauth-password";
|
|
1129
|
-
username: string;
|
|
1130
|
-
password: string;
|
|
1131
|
-
token: string;
|
|
1132
|
-
clientSecret: string;
|
|
1133
|
-
} | {
|
|
1134
|
-
type: "oauth-clientCredentials";
|
|
1135
|
-
token: string;
|
|
1136
|
-
clientSecret: string;
|
|
1137
|
-
} | {
|
|
1138
|
-
type: "oauth-authorizationCode";
|
|
1139
|
-
token: string;
|
|
1140
|
-
clientSecret: string;
|
|
1141
|
-
}>;
|
|
1142
641
|
watchMode: boolean;
|
|
1143
642
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1144
643
|
externalDocs?: {
|
|
@@ -1209,7 +708,7 @@ export declare const useApiClientModal: () => {
|
|
|
1209
708
|
partitioned?: boolean | undefined;
|
|
1210
709
|
secure?: boolean | undefined;
|
|
1211
710
|
}) => void;
|
|
1212
|
-
edit: <P extends "name" | "
|
|
711
|
+
edit: <P extends "name" | "uid" | "path" | "value" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure">(uid: string, path: P, value: P extends "name" | "uid" | "path" | "value" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? {
|
|
1213
712
|
value: string;
|
|
1214
713
|
uid: string;
|
|
1215
714
|
name: string;
|
|
@@ -1221,7 +720,7 @@ export declare const useApiClientModal: () => {
|
|
|
1221
720
|
maxAge?: number | undefined;
|
|
1222
721
|
partitioned?: boolean | undefined;
|
|
1223
722
|
secure?: boolean | undefined;
|
|
1224
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "
|
|
723
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "path" | "value" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? R extends Path< {
|
|
1225
724
|
value: string;
|
|
1226
725
|
uid: string;
|
|
1227
726
|
name: string;
|
|
@@ -1246,7 +745,7 @@ export declare const useApiClientModal: () => {
|
|
|
1246
745
|
partitioned?: boolean | undefined;
|
|
1247
746
|
secure?: boolean | undefined;
|
|
1248
747
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1249
|
-
untrackedEdit: <P extends "name" | "
|
|
748
|
+
untrackedEdit: <P extends "name" | "uid" | "path" | "value" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure">(uid: string, path: P, value: P extends "name" | "uid" | "path" | "value" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? {
|
|
1250
749
|
value: string;
|
|
1251
750
|
uid: string;
|
|
1252
751
|
name: string;
|
|
@@ -1258,7 +757,7 @@ export declare const useApiClientModal: () => {
|
|
|
1258
757
|
maxAge?: number | undefined;
|
|
1259
758
|
partitioned?: boolean | undefined;
|
|
1260
759
|
secure?: boolean | undefined;
|
|
1261
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "
|
|
760
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "path" | "value" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? R extends Path< {
|
|
1262
761
|
value: string;
|
|
1263
762
|
uid: string;
|
|
1264
763
|
name: string;
|
|
@@ -1301,33 +800,6 @@ export declare const useApiClientModal: () => {
|
|
|
1301
800
|
servers: string[];
|
|
1302
801
|
requests: string[];
|
|
1303
802
|
tags: string[];
|
|
1304
|
-
auth: Record<string, {
|
|
1305
|
-
type: "apiKey";
|
|
1306
|
-
value: string;
|
|
1307
|
-
name: string;
|
|
1308
|
-
} | {
|
|
1309
|
-
type: "http";
|
|
1310
|
-
username: string;
|
|
1311
|
-
password: string;
|
|
1312
|
-
token: string;
|
|
1313
|
-
} | {
|
|
1314
|
-
type: "oauth-implicit";
|
|
1315
|
-
token: string;
|
|
1316
|
-
} | {
|
|
1317
|
-
type: "oauth-password";
|
|
1318
|
-
username: string;
|
|
1319
|
-
password: string;
|
|
1320
|
-
token: string;
|
|
1321
|
-
clientSecret: string;
|
|
1322
|
-
} | {
|
|
1323
|
-
type: "oauth-clientCredentials";
|
|
1324
|
-
token: string;
|
|
1325
|
-
clientSecret: string;
|
|
1326
|
-
} | {
|
|
1327
|
-
type: "oauth-authorizationCode";
|
|
1328
|
-
token: string;
|
|
1329
|
-
clientSecret: string;
|
|
1330
|
-
}>;
|
|
1331
803
|
watchMode: boolean;
|
|
1332
804
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1333
805
|
externalDocs?: {
|
|
@@ -1383,33 +855,6 @@ export declare const useApiClientModal: () => {
|
|
|
1383
855
|
servers: string[];
|
|
1384
856
|
requests: string[];
|
|
1385
857
|
tags: string[];
|
|
1386
|
-
auth: Record<string, {
|
|
1387
|
-
type: "apiKey";
|
|
1388
|
-
value: string;
|
|
1389
|
-
name: string;
|
|
1390
|
-
} | {
|
|
1391
|
-
type: "http";
|
|
1392
|
-
username: string;
|
|
1393
|
-
password: string;
|
|
1394
|
-
token: string;
|
|
1395
|
-
} | {
|
|
1396
|
-
type: "oauth-implicit";
|
|
1397
|
-
token: string;
|
|
1398
|
-
} | {
|
|
1399
|
-
type: "oauth-password";
|
|
1400
|
-
username: string;
|
|
1401
|
-
password: string;
|
|
1402
|
-
token: string;
|
|
1403
|
-
clientSecret: string;
|
|
1404
|
-
} | {
|
|
1405
|
-
type: "oauth-clientCredentials";
|
|
1406
|
-
token: string;
|
|
1407
|
-
clientSecret: string;
|
|
1408
|
-
} | {
|
|
1409
|
-
type: "oauth-authorizationCode";
|
|
1410
|
-
token: string;
|
|
1411
|
-
clientSecret: string;
|
|
1412
|
-
}>;
|
|
1413
858
|
watchMode: boolean;
|
|
1414
859
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1415
860
|
externalDocs?: {
|
|
@@ -1466,33 +911,6 @@ export declare const useApiClientModal: () => {
|
|
|
1466
911
|
servers: string[];
|
|
1467
912
|
requests: string[];
|
|
1468
913
|
tags: string[];
|
|
1469
|
-
auth: Record<string, {
|
|
1470
|
-
type: "apiKey";
|
|
1471
|
-
value: string;
|
|
1472
|
-
name: string;
|
|
1473
|
-
} | {
|
|
1474
|
-
type: "http";
|
|
1475
|
-
username: string;
|
|
1476
|
-
password: string;
|
|
1477
|
-
token: string;
|
|
1478
|
-
} | {
|
|
1479
|
-
type: "oauth-implicit";
|
|
1480
|
-
token: string;
|
|
1481
|
-
} | {
|
|
1482
|
-
type: "oauth-password";
|
|
1483
|
-
username: string;
|
|
1484
|
-
password: string;
|
|
1485
|
-
token: string;
|
|
1486
|
-
clientSecret: string;
|
|
1487
|
-
} | {
|
|
1488
|
-
type: "oauth-clientCredentials";
|
|
1489
|
-
token: string;
|
|
1490
|
-
clientSecret: string;
|
|
1491
|
-
} | {
|
|
1492
|
-
type: "oauth-authorizationCode";
|
|
1493
|
-
token: string;
|
|
1494
|
-
clientSecret: string;
|
|
1495
|
-
}>;
|
|
1496
914
|
watchMode: boolean;
|
|
1497
915
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1498
916
|
externalDocs?: {
|
|
@@ -1535,7 +953,7 @@ export declare const useApiClientModal: () => {
|
|
|
1535
953
|
documentUrl?: string | undefined;
|
|
1536
954
|
integration?: string | null | undefined;
|
|
1537
955
|
}) => void;
|
|
1538
|
-
edit: <P extends "
|
|
956
|
+
edit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "children" | "info" | "servers" | "securitySchemes" | "selectedSecuritySchemeUids" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" | `requests.${number}` | `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}` | `components.${string}` | `webhooks.${string}` | `x-scalar-environments.${string}` | `x-scalar-secrets.${string}`>(uid: string, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "children" | "info" | "servers" | "securitySchemes" | "selectedSecuritySchemeUids" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? {
|
|
1539
957
|
type: "collection";
|
|
1540
958
|
uid: string;
|
|
1541
959
|
children: string[];
|
|
@@ -1548,33 +966,6 @@ export declare const useApiClientModal: () => {
|
|
|
1548
966
|
servers: string[];
|
|
1549
967
|
requests: string[];
|
|
1550
968
|
tags: string[];
|
|
1551
|
-
auth: Record<string, {
|
|
1552
|
-
type: "apiKey";
|
|
1553
|
-
value: string;
|
|
1554
|
-
name: string;
|
|
1555
|
-
} | {
|
|
1556
|
-
type: "http";
|
|
1557
|
-
username: string;
|
|
1558
|
-
password: string;
|
|
1559
|
-
token: string;
|
|
1560
|
-
} | {
|
|
1561
|
-
type: "oauth-implicit";
|
|
1562
|
-
token: string;
|
|
1563
|
-
} | {
|
|
1564
|
-
type: "oauth-password";
|
|
1565
|
-
username: string;
|
|
1566
|
-
password: string;
|
|
1567
|
-
token: string;
|
|
1568
|
-
clientSecret: string;
|
|
1569
|
-
} | {
|
|
1570
|
-
type: "oauth-clientCredentials";
|
|
1571
|
-
token: string;
|
|
1572
|
-
clientSecret: string;
|
|
1573
|
-
} | {
|
|
1574
|
-
type: "oauth-authorizationCode";
|
|
1575
|
-
token: string;
|
|
1576
|
-
clientSecret: string;
|
|
1577
|
-
}>;
|
|
1578
969
|
watchMode: boolean;
|
|
1579
970
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1580
971
|
externalDocs?: {
|
|
@@ -1616,7 +1007,7 @@ export declare const useApiClientModal: () => {
|
|
|
1616
1007
|
}> | undefined;
|
|
1617
1008
|
documentUrl?: string | undefined;
|
|
1618
1009
|
integration?: string | null | undefined;
|
|
1619
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
1010
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "children" | "info" | "servers" | "securitySchemes" | "selectedSecuritySchemeUids" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? R extends Path< {
|
|
1620
1011
|
type: "collection";
|
|
1621
1012
|
uid: string;
|
|
1622
1013
|
children: string[];
|
|
@@ -1629,33 +1020,6 @@ export declare const useApiClientModal: () => {
|
|
|
1629
1020
|
servers: string[];
|
|
1630
1021
|
requests: string[];
|
|
1631
1022
|
tags: string[];
|
|
1632
|
-
auth: Record<string, {
|
|
1633
|
-
type: "apiKey";
|
|
1634
|
-
value: string;
|
|
1635
|
-
name: string;
|
|
1636
|
-
} | {
|
|
1637
|
-
type: "http";
|
|
1638
|
-
username: string;
|
|
1639
|
-
password: string;
|
|
1640
|
-
token: string;
|
|
1641
|
-
} | {
|
|
1642
|
-
type: "oauth-implicit";
|
|
1643
|
-
token: string;
|
|
1644
|
-
} | {
|
|
1645
|
-
type: "oauth-password";
|
|
1646
|
-
username: string;
|
|
1647
|
-
password: string;
|
|
1648
|
-
token: string;
|
|
1649
|
-
clientSecret: string;
|
|
1650
|
-
} | {
|
|
1651
|
-
type: "oauth-clientCredentials";
|
|
1652
|
-
token: string;
|
|
1653
|
-
clientSecret: string;
|
|
1654
|
-
} | {
|
|
1655
|
-
type: "oauth-authorizationCode";
|
|
1656
|
-
token: string;
|
|
1657
|
-
clientSecret: string;
|
|
1658
|
-
}>;
|
|
1659
1023
|
watchMode: boolean;
|
|
1660
1024
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1661
1025
|
externalDocs?: {
|
|
@@ -1710,33 +1074,6 @@ export declare const useApiClientModal: () => {
|
|
|
1710
1074
|
servers: string[];
|
|
1711
1075
|
requests: string[];
|
|
1712
1076
|
tags: string[];
|
|
1713
|
-
auth: Record<string, {
|
|
1714
|
-
type: "apiKey";
|
|
1715
|
-
value: string;
|
|
1716
|
-
name: string;
|
|
1717
|
-
} | {
|
|
1718
|
-
type: "http";
|
|
1719
|
-
username: string;
|
|
1720
|
-
password: string;
|
|
1721
|
-
token: string;
|
|
1722
|
-
} | {
|
|
1723
|
-
type: "oauth-implicit";
|
|
1724
|
-
token: string;
|
|
1725
|
-
} | {
|
|
1726
|
-
type: "oauth-password";
|
|
1727
|
-
username: string;
|
|
1728
|
-
password: string;
|
|
1729
|
-
token: string;
|
|
1730
|
-
clientSecret: string;
|
|
1731
|
-
} | {
|
|
1732
|
-
type: "oauth-clientCredentials";
|
|
1733
|
-
token: string;
|
|
1734
|
-
clientSecret: string;
|
|
1735
|
-
} | {
|
|
1736
|
-
type: "oauth-authorizationCode";
|
|
1737
|
-
token: string;
|
|
1738
|
-
clientSecret: string;
|
|
1739
|
-
}>;
|
|
1740
1077
|
watchMode: boolean;
|
|
1741
1078
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1742
1079
|
externalDocs?: {
|
|
@@ -1779,7 +1116,7 @@ export declare const useApiClientModal: () => {
|
|
|
1779
1116
|
documentUrl?: string | undefined;
|
|
1780
1117
|
integration?: string | null | undefined;
|
|
1781
1118
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1782
|
-
untrackedEdit: <P extends "
|
|
1119
|
+
untrackedEdit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "children" | "info" | "servers" | "securitySchemes" | "selectedSecuritySchemeUids" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" | `requests.${number}` | `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}` | `components.${string}` | `webhooks.${string}` | `x-scalar-environments.${string}` | `x-scalar-secrets.${string}`>(uid: string, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "children" | "info" | "servers" | "securitySchemes" | "selectedSecuritySchemeUids" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? {
|
|
1783
1120
|
type: "collection";
|
|
1784
1121
|
uid: string;
|
|
1785
1122
|
children: string[];
|
|
@@ -1792,33 +1129,6 @@ export declare const useApiClientModal: () => {
|
|
|
1792
1129
|
servers: string[];
|
|
1793
1130
|
requests: string[];
|
|
1794
1131
|
tags: string[];
|
|
1795
|
-
auth: Record<string, {
|
|
1796
|
-
type: "apiKey";
|
|
1797
|
-
value: string;
|
|
1798
|
-
name: string;
|
|
1799
|
-
} | {
|
|
1800
|
-
type: "http";
|
|
1801
|
-
username: string;
|
|
1802
|
-
password: string;
|
|
1803
|
-
token: string;
|
|
1804
|
-
} | {
|
|
1805
|
-
type: "oauth-implicit";
|
|
1806
|
-
token: string;
|
|
1807
|
-
} | {
|
|
1808
|
-
type: "oauth-password";
|
|
1809
|
-
username: string;
|
|
1810
|
-
password: string;
|
|
1811
|
-
token: string;
|
|
1812
|
-
clientSecret: string;
|
|
1813
|
-
} | {
|
|
1814
|
-
type: "oauth-clientCredentials";
|
|
1815
|
-
token: string;
|
|
1816
|
-
clientSecret: string;
|
|
1817
|
-
} | {
|
|
1818
|
-
type: "oauth-authorizationCode";
|
|
1819
|
-
token: string;
|
|
1820
|
-
clientSecret: string;
|
|
1821
|
-
}>;
|
|
1822
1132
|
watchMode: boolean;
|
|
1823
1133
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1824
1134
|
externalDocs?: {
|
|
@@ -1860,7 +1170,7 @@ export declare const useApiClientModal: () => {
|
|
|
1860
1170
|
}> | undefined;
|
|
1861
1171
|
documentUrl?: string | undefined;
|
|
1862
1172
|
integration?: string | null | undefined;
|
|
1863
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
1173
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "children" | "info" | "servers" | "securitySchemes" | "selectedSecuritySchemeUids" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? R extends Path< {
|
|
1864
1174
|
type: "collection";
|
|
1865
1175
|
uid: string;
|
|
1866
1176
|
children: string[];
|
|
@@ -1873,33 +1183,6 @@ export declare const useApiClientModal: () => {
|
|
|
1873
1183
|
servers: string[];
|
|
1874
1184
|
requests: string[];
|
|
1875
1185
|
tags: string[];
|
|
1876
|
-
auth: Record<string, {
|
|
1877
|
-
type: "apiKey";
|
|
1878
|
-
value: string;
|
|
1879
|
-
name: string;
|
|
1880
|
-
} | {
|
|
1881
|
-
type: "http";
|
|
1882
|
-
username: string;
|
|
1883
|
-
password: string;
|
|
1884
|
-
token: string;
|
|
1885
|
-
} | {
|
|
1886
|
-
type: "oauth-implicit";
|
|
1887
|
-
token: string;
|
|
1888
|
-
} | {
|
|
1889
|
-
type: "oauth-password";
|
|
1890
|
-
username: string;
|
|
1891
|
-
password: string;
|
|
1892
|
-
token: string;
|
|
1893
|
-
clientSecret: string;
|
|
1894
|
-
} | {
|
|
1895
|
-
type: "oauth-clientCredentials";
|
|
1896
|
-
token: string;
|
|
1897
|
-
clientSecret: string;
|
|
1898
|
-
} | {
|
|
1899
|
-
type: "oauth-authorizationCode";
|
|
1900
|
-
token: string;
|
|
1901
|
-
clientSecret: string;
|
|
1902
|
-
}>;
|
|
1903
1186
|
watchMode: boolean;
|
|
1904
1187
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1905
1188
|
externalDocs?: {
|
|
@@ -1954,33 +1237,6 @@ export declare const useApiClientModal: () => {
|
|
|
1954
1237
|
servers: string[];
|
|
1955
1238
|
requests: string[];
|
|
1956
1239
|
tags: string[];
|
|
1957
|
-
auth: Record<string, {
|
|
1958
|
-
type: "apiKey";
|
|
1959
|
-
value: string;
|
|
1960
|
-
name: string;
|
|
1961
|
-
} | {
|
|
1962
|
-
type: "http";
|
|
1963
|
-
username: string;
|
|
1964
|
-
password: string;
|
|
1965
|
-
token: string;
|
|
1966
|
-
} | {
|
|
1967
|
-
type: "oauth-implicit";
|
|
1968
|
-
token: string;
|
|
1969
|
-
} | {
|
|
1970
|
-
type: "oauth-password";
|
|
1971
|
-
username: string;
|
|
1972
|
-
password: string;
|
|
1973
|
-
token: string;
|
|
1974
|
-
clientSecret: string;
|
|
1975
|
-
} | {
|
|
1976
|
-
type: "oauth-clientCredentials";
|
|
1977
|
-
token: string;
|
|
1978
|
-
clientSecret: string;
|
|
1979
|
-
} | {
|
|
1980
|
-
type: "oauth-authorizationCode";
|
|
1981
|
-
token: string;
|
|
1982
|
-
clientSecret: string;
|
|
1983
|
-
}>;
|
|
1984
1240
|
watchMode: boolean;
|
|
1985
1241
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1986
1242
|
externalDocs?: {
|
|
@@ -2043,13 +1299,13 @@ export declare const useApiClientModal: () => {
|
|
|
2043
1299
|
color: string;
|
|
2044
1300
|
isDefault?: boolean | undefined;
|
|
2045
1301
|
}) => void;
|
|
2046
|
-
edit: <P extends "name" | "
|
|
1302
|
+
edit: <P extends "name" | "uid" | "value" | "color" | "isDefault">(uid: string, path: P, value: P extends "name" | "uid" | "value" | "color" | "isDefault" ? {
|
|
2047
1303
|
value: string;
|
|
2048
1304
|
uid: string;
|
|
2049
1305
|
name: string;
|
|
2050
1306
|
color: string;
|
|
2051
1307
|
isDefault?: boolean | undefined;
|
|
2052
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "
|
|
1308
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "value" | "color" | "isDefault" ? R extends Path< {
|
|
2053
1309
|
value: string;
|
|
2054
1310
|
uid: string;
|
|
2055
1311
|
name: string;
|
|
@@ -2062,13 +1318,13 @@ export declare const useApiClientModal: () => {
|
|
|
2062
1318
|
color: string;
|
|
2063
1319
|
isDefault?: boolean | undefined;
|
|
2064
1320
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2065
|
-
untrackedEdit: <P extends "name" | "
|
|
1321
|
+
untrackedEdit: <P extends "name" | "uid" | "value" | "color" | "isDefault">(uid: string, path: P, value: P extends "name" | "uid" | "value" | "color" | "isDefault" ? {
|
|
2066
1322
|
value: string;
|
|
2067
1323
|
uid: string;
|
|
2068
1324
|
name: string;
|
|
2069
1325
|
color: string;
|
|
2070
1326
|
isDefault?: boolean | undefined;
|
|
2071
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "
|
|
1327
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "value" | "color" | "isDefault" ? R extends Path< {
|
|
2072
1328
|
value: string;
|
|
2073
1329
|
uid: string;
|
|
2074
1330
|
name: string;
|
|
@@ -2094,7 +1350,7 @@ export declare const useApiClientModal: () => {
|
|
|
2094
1350
|
selectedServerUid: string;
|
|
2095
1351
|
servers: string[];
|
|
2096
1352
|
examples: string[];
|
|
2097
|
-
method: "options" | "
|
|
1353
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2098
1354
|
description?: string | undefined;
|
|
2099
1355
|
summary?: string | undefined;
|
|
2100
1356
|
externalDocs?: {
|
|
@@ -2131,7 +1387,7 @@ export declare const useApiClientModal: () => {
|
|
|
2131
1387
|
selectedServerUid: string;
|
|
2132
1388
|
servers: string[];
|
|
2133
1389
|
examples: string[];
|
|
2134
|
-
method: "options" | "
|
|
1390
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2135
1391
|
description?: string | undefined;
|
|
2136
1392
|
summary?: string | undefined;
|
|
2137
1393
|
externalDocs?: {
|
|
@@ -2169,7 +1425,7 @@ export declare const useApiClientModal: () => {
|
|
|
2169
1425
|
selectedServerUid: string;
|
|
2170
1426
|
servers: string[];
|
|
2171
1427
|
examples: string[];
|
|
2172
|
-
method: "options" | "
|
|
1428
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2173
1429
|
description?: string | undefined;
|
|
2174
1430
|
summary?: string | undefined;
|
|
2175
1431
|
externalDocs?: {
|
|
@@ -2198,7 +1454,7 @@ export declare const useApiClientModal: () => {
|
|
|
2198
1454
|
requestBody?: any;
|
|
2199
1455
|
responses?: Record<string, any> | undefined;
|
|
2200
1456
|
}) => void;
|
|
2201
|
-
edit: <P extends "
|
|
1457
|
+
edit: <P extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "type" | "uid" | "method" | "path" | "servers" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | `requestBody.${string}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.required` | `parameters.${number}.deprecated` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.style` | `parameters.${number}.example` | `parameters.${number}.examples` | `parameters.${number}.content` | `parameters.${number}.schema` | `parameters.${number}.examples.${string}` | "externalDocs.description" | "externalDocs.url" | `responses.${string}` | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | `examples.${number}`>(uid: string, path: P, value: P extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "type" | "uid" | "method" | "path" | "servers" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" ? {
|
|
2202
1458
|
path: string;
|
|
2203
1459
|
type: "request";
|
|
2204
1460
|
uid: string;
|
|
@@ -2206,7 +1462,7 @@ export declare const useApiClientModal: () => {
|
|
|
2206
1462
|
selectedServerUid: string;
|
|
2207
1463
|
servers: string[];
|
|
2208
1464
|
examples: string[];
|
|
2209
|
-
method: "options" | "
|
|
1465
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2210
1466
|
description?: string | undefined;
|
|
2211
1467
|
summary?: string | undefined;
|
|
2212
1468
|
externalDocs?: {
|
|
@@ -2234,7 +1490,7 @@ export declare const useApiClientModal: () => {
|
|
|
2234
1490
|
}[] | undefined;
|
|
2235
1491
|
requestBody?: any;
|
|
2236
1492
|
responses?: Record<string, any> | undefined;
|
|
2237
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
1493
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "type" | "uid" | "method" | "path" | "servers" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" ? R extends Path< {
|
|
2238
1494
|
path: string;
|
|
2239
1495
|
type: "request";
|
|
2240
1496
|
uid: string;
|
|
@@ -2242,7 +1498,7 @@ export declare const useApiClientModal: () => {
|
|
|
2242
1498
|
selectedServerUid: string;
|
|
2243
1499
|
servers: string[];
|
|
2244
1500
|
examples: string[];
|
|
2245
|
-
method: "options" | "
|
|
1501
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2246
1502
|
description?: string | undefined;
|
|
2247
1503
|
summary?: string | undefined;
|
|
2248
1504
|
externalDocs?: {
|
|
@@ -2278,7 +1534,7 @@ export declare const useApiClientModal: () => {
|
|
|
2278
1534
|
selectedServerUid: string;
|
|
2279
1535
|
servers: string[];
|
|
2280
1536
|
examples: string[];
|
|
2281
|
-
method: "options" | "
|
|
1537
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2282
1538
|
description?: string | undefined;
|
|
2283
1539
|
summary?: string | undefined;
|
|
2284
1540
|
externalDocs?: {
|
|
@@ -2307,7 +1563,7 @@ export declare const useApiClientModal: () => {
|
|
|
2307
1563
|
requestBody?: any;
|
|
2308
1564
|
responses?: Record<string, any> | undefined;
|
|
2309
1565
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2310
|
-
untrackedEdit: <P extends "
|
|
1566
|
+
untrackedEdit: <P extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "type" | "uid" | "method" | "path" | "servers" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | `requestBody.${string}` | `parameters.${number}` | `parameters.${number}.description` | `parameters.${number}.required` | `parameters.${number}.deprecated` | `parameters.${number}.name` | `parameters.${number}.in` | `parameters.${number}.style` | `parameters.${number}.example` | `parameters.${number}.examples` | `parameters.${number}.content` | `parameters.${number}.schema` | `parameters.${number}.examples.${string}` | "externalDocs.description" | "externalDocs.url" | `responses.${string}` | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | `examples.${number}`>(uid: string, path: P, value: P extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "type" | "uid" | "method" | "path" | "servers" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" ? {
|
|
2311
1567
|
path: string;
|
|
2312
1568
|
type: "request";
|
|
2313
1569
|
uid: string;
|
|
@@ -2315,7 +1571,7 @@ export declare const useApiClientModal: () => {
|
|
|
2315
1571
|
selectedServerUid: string;
|
|
2316
1572
|
servers: string[];
|
|
2317
1573
|
examples: string[];
|
|
2318
|
-
method: "options" | "
|
|
1574
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2319
1575
|
description?: string | undefined;
|
|
2320
1576
|
summary?: string | undefined;
|
|
2321
1577
|
externalDocs?: {
|
|
@@ -2343,7 +1599,7 @@ export declare const useApiClientModal: () => {
|
|
|
2343
1599
|
}[] | undefined;
|
|
2344
1600
|
requestBody?: any;
|
|
2345
1601
|
responses?: Record<string, any> | undefined;
|
|
2346
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
1602
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "summary" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "type" | "uid" | "method" | "path" | "servers" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" ? R extends Path< {
|
|
2347
1603
|
path: string;
|
|
2348
1604
|
type: "request";
|
|
2349
1605
|
uid: string;
|
|
@@ -2351,7 +1607,7 @@ export declare const useApiClientModal: () => {
|
|
|
2351
1607
|
selectedServerUid: string;
|
|
2352
1608
|
servers: string[];
|
|
2353
1609
|
examples: string[];
|
|
2354
|
-
method: "options" | "
|
|
1610
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2355
1611
|
description?: string | undefined;
|
|
2356
1612
|
summary?: string | undefined;
|
|
2357
1613
|
externalDocs?: {
|
|
@@ -2387,7 +1643,7 @@ export declare const useApiClientModal: () => {
|
|
|
2387
1643
|
selectedServerUid: string;
|
|
2388
1644
|
servers: string[];
|
|
2389
1645
|
examples: string[];
|
|
2390
|
-
method: "options" | "
|
|
1646
|
+
method: "options" | "connect" | "delete" | "get" | "head" | "patch" | "post" | "put" | "trace";
|
|
2391
1647
|
description?: string | undefined;
|
|
2392
1648
|
summary?: string | undefined;
|
|
2393
1649
|
externalDocs?: {
|
|
@@ -2708,7 +1964,7 @@ export declare const useApiClientModal: () => {
|
|
|
2708
1964
|
};
|
|
2709
1965
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2710
1966
|
}) => void;
|
|
2711
|
-
edit: <P extends "
|
|
1967
|
+
edit: <P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" | "body.binary" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.path" | "parameters.headers" | "parameters.query" | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.file.${string}` | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.type` | `parameters.path.${number}.default` | `parameters.path.${number}.key` | `parameters.path.${number}.required` | `parameters.path.${number}.value` | `parameters.path.${number}.enum` | `parameters.path.${number}.file` | `parameters.path.${number}.nullable` | `parameters.path.${number}.enabled` | `parameters.path.${number}.minimum` | `parameters.path.${number}.maximum` | `parameters.path.${number}.format` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.file.${string}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.type` | `parameters.headers.${number}.default` | `parameters.headers.${number}.key` | `parameters.headers.${number}.required` | `parameters.headers.${number}.value` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.file` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.format` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.file.${string}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.type` | `parameters.query.${number}.default` | `parameters.query.${number}.key` | `parameters.query.${number}.required` | `parameters.query.${number}.value` | `parameters.query.${number}.enum` | `parameters.query.${number}.file` | `parameters.query.${number}.nullable` | `parameters.query.${number}.enabled` | `parameters.query.${number}.minimum` | `parameters.query.${number}.maximum` | `parameters.query.${number}.format` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.file.${string}` | "body.raw" | "body.formData" | "body.activeBody" | "body.raw.value" | "body.raw.encoding" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.type` | `body.formData.value.${number}.default` | `body.formData.value.${number}.key` | `body.formData.value.${number}.required` | `body.formData.value.${number}.value` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.file` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.format` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.file.${string}` | "body.binary.type" | "body.binary.size" | "body.binary.slice" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | `serverVariables.${string}`>(uid: string, path: P, value: P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? {
|
|
2712
1968
|
type: "requestExample";
|
|
2713
1969
|
uid: string;
|
|
2714
1970
|
name: string;
|
|
@@ -2802,7 +2058,7 @@ export declare const useApiClientModal: () => {
|
|
|
2802
2058
|
}[];
|
|
2803
2059
|
};
|
|
2804
2060
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2805
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
2061
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? R extends Path< {
|
|
2806
2062
|
type: "requestExample";
|
|
2807
2063
|
uid: string;
|
|
2808
2064
|
name: string;
|
|
@@ -2991,7 +2247,7 @@ export declare const useApiClientModal: () => {
|
|
|
2991
2247
|
};
|
|
2992
2248
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2993
2249
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2994
|
-
untrackedEdit: <P extends "
|
|
2250
|
+
untrackedEdit: <P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" | "body.binary" | "parameters.cookies" | `parameters.cookies.${number}` | "parameters.path" | "parameters.headers" | "parameters.query" | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.enum.${number}` | `parameters.cookies.${number}.file.${string}` | `parameters.path.${number}` | `parameters.path.${number}.description` | `parameters.path.${number}.type` | `parameters.path.${number}.default` | `parameters.path.${number}.key` | `parameters.path.${number}.required` | `parameters.path.${number}.value` | `parameters.path.${number}.enum` | `parameters.path.${number}.file` | `parameters.path.${number}.nullable` | `parameters.path.${number}.enabled` | `parameters.path.${number}.minimum` | `parameters.path.${number}.maximum` | `parameters.path.${number}.format` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.enum.${number}` | `parameters.path.${number}.file.${string}` | `parameters.headers.${number}` | `parameters.headers.${number}.description` | `parameters.headers.${number}.type` | `parameters.headers.${number}.default` | `parameters.headers.${number}.key` | `parameters.headers.${number}.required` | `parameters.headers.${number}.value` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.file` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.format` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.enum.${number}` | `parameters.headers.${number}.file.${string}` | `parameters.query.${number}` | `parameters.query.${number}.description` | `parameters.query.${number}.type` | `parameters.query.${number}.default` | `parameters.query.${number}.key` | `parameters.query.${number}.required` | `parameters.query.${number}.value` | `parameters.query.${number}.enum` | `parameters.query.${number}.file` | `parameters.query.${number}.nullable` | `parameters.query.${number}.enabled` | `parameters.query.${number}.minimum` | `parameters.query.${number}.maximum` | `parameters.query.${number}.format` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.enum.${number}` | `parameters.query.${number}.file.${string}` | "body.raw" | "body.formData" | "body.activeBody" | "body.raw.value" | "body.raw.encoding" | "body.formData.value" | "body.formData.encoding" | `body.formData.value.${number}` | `body.formData.value.${number}.description` | `body.formData.value.${number}.type` | `body.formData.value.${number}.default` | `body.formData.value.${number}.key` | `body.formData.value.${number}.required` | `body.formData.value.${number}.value` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.file` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.format` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.enum.${number}` | `body.formData.value.${number}.file.${string}` | "body.binary.type" | "body.binary.size" | "body.binary.slice" | "body.binary.text" | "body.binary.arrayBuffer" | "body.binary.stream" | `serverVariables.${string}`>(uid: string, path: P, value: P extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? {
|
|
2995
2251
|
type: "requestExample";
|
|
2996
2252
|
uid: string;
|
|
2997
2253
|
name: string;
|
|
@@ -3085,7 +2341,7 @@ export declare const useApiClientModal: () => {
|
|
|
3085
2341
|
}[];
|
|
3086
2342
|
};
|
|
3087
2343
|
serverVariables?: Record<string, string[]> | undefined;
|
|
3088
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
2344
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "parameters" | "type" | "name" | "uid" | "body" | "requestUid" | "serverVariables" ? R extends Path< {
|
|
3089
2345
|
type: "requestExample";
|
|
3090
2346
|
uid: string;
|
|
3091
2347
|
name: string;
|
|
@@ -3282,10 +2538,11 @@ export declare const useApiClientModal: () => {
|
|
|
3282
2538
|
securitySchemeMutators: {
|
|
3283
2539
|
rawAdd: (item: {
|
|
3284
2540
|
type: "apiKey";
|
|
2541
|
+
value: string;
|
|
3285
2542
|
uid: string;
|
|
3286
2543
|
name: string;
|
|
3287
|
-
in: "query" | "header" | "cookie";
|
|
3288
2544
|
nameKey: string;
|
|
2545
|
+
in: "query" | "header" | "cookie";
|
|
3289
2546
|
description?: string | undefined;
|
|
3290
2547
|
} | {
|
|
3291
2548
|
type: "http";
|
|
@@ -3293,6 +2550,9 @@ export declare const useApiClientModal: () => {
|
|
|
3293
2550
|
nameKey: string;
|
|
3294
2551
|
scheme: "basic" | "bearer";
|
|
3295
2552
|
bearerFormat: string;
|
|
2553
|
+
username: string;
|
|
2554
|
+
password: string;
|
|
2555
|
+
token: string;
|
|
3296
2556
|
description?: string | undefined;
|
|
3297
2557
|
} | {
|
|
3298
2558
|
type: "openIdConnect";
|
|
@@ -3304,44 +2564,62 @@ export declare const useApiClientModal: () => {
|
|
|
3304
2564
|
type: "oauth2";
|
|
3305
2565
|
uid: string;
|
|
3306
2566
|
nameKey: string;
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
2567
|
+
flows: {
|
|
2568
|
+
password?: {
|
|
2569
|
+
type: "password";
|
|
2570
|
+
username: string;
|
|
2571
|
+
password: string;
|
|
2572
|
+
token: string;
|
|
2573
|
+
refreshUrl: string;
|
|
2574
|
+
scopes: Record<string, string>;
|
|
2575
|
+
selectedScopes: string[];
|
|
2576
|
+
"x-scalar-client-id": string;
|
|
2577
|
+
tokenUrl: string;
|
|
2578
|
+
clientSecret: string;
|
|
2579
|
+
} | undefined;
|
|
2580
|
+
implicit?: {
|
|
2581
|
+
type: "implicit";
|
|
2582
|
+
token: string;
|
|
2583
|
+
refreshUrl: string;
|
|
2584
|
+
scopes: Record<string, string>;
|
|
2585
|
+
selectedScopes: string[];
|
|
2586
|
+
"x-scalar-client-id": string;
|
|
2587
|
+
authorizationUrl: string;
|
|
2588
|
+
"x-scalar-redirect-uri": string;
|
|
2589
|
+
} | undefined;
|
|
2590
|
+
clientCredentials?: {
|
|
2591
|
+
type: "clientCredentials";
|
|
2592
|
+
token: string;
|
|
2593
|
+
refreshUrl: string;
|
|
2594
|
+
scopes: Record<string, string>;
|
|
2595
|
+
selectedScopes: string[];
|
|
2596
|
+
"x-scalar-client-id": string;
|
|
2597
|
+
tokenUrl: string;
|
|
2598
|
+
clientSecret: string;
|
|
2599
|
+
} | undefined;
|
|
2600
|
+
authorizationCode?: {
|
|
2601
|
+
type: "authorizationCode";
|
|
2602
|
+
token: string;
|
|
2603
|
+
refreshUrl: string;
|
|
2604
|
+
scopes: Record<string, string>;
|
|
2605
|
+
selectedScopes: string[];
|
|
2606
|
+
"x-scalar-client-id": string;
|
|
2607
|
+
authorizationUrl: string;
|
|
2608
|
+
"x-scalar-redirect-uri": string;
|
|
2609
|
+
tokenUrl: string;
|
|
2610
|
+
clientSecret: string;
|
|
2611
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2612
|
+
} | undefined;
|
|
3335
2613
|
};
|
|
3336
|
-
"x-scalar-client-id": string;
|
|
3337
2614
|
description?: string | undefined;
|
|
3338
2615
|
}) => void;
|
|
3339
2616
|
add: (payload: SecuritySchemePayload, collectionUid: string) => {
|
|
3340
2617
|
type: "apiKey";
|
|
2618
|
+
value: string;
|
|
3341
2619
|
uid: string;
|
|
3342
2620
|
name: string;
|
|
3343
|
-
in: "query" | "header" | "cookie";
|
|
3344
2621
|
nameKey: string;
|
|
2622
|
+
in: "query" | "header" | "cookie";
|
|
3345
2623
|
description?: string | undefined;
|
|
3346
2624
|
} | {
|
|
3347
2625
|
type: "http";
|
|
@@ -3349,6 +2627,9 @@ export declare const useApiClientModal: () => {
|
|
|
3349
2627
|
nameKey: string;
|
|
3350
2628
|
scheme: "basic" | "bearer";
|
|
3351
2629
|
bearerFormat: string;
|
|
2630
|
+
username: string;
|
|
2631
|
+
password: string;
|
|
2632
|
+
token: string;
|
|
3352
2633
|
description?: string | undefined;
|
|
3353
2634
|
} | {
|
|
3354
2635
|
type: "openIdConnect";
|
|
@@ -3360,45 +2641,63 @@ export declare const useApiClientModal: () => {
|
|
|
3360
2641
|
type: "oauth2";
|
|
3361
2642
|
uid: string;
|
|
3362
2643
|
nameKey: string;
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
2644
|
+
flows: {
|
|
2645
|
+
password?: {
|
|
2646
|
+
type: "password";
|
|
2647
|
+
username: string;
|
|
2648
|
+
password: string;
|
|
2649
|
+
token: string;
|
|
2650
|
+
refreshUrl: string;
|
|
2651
|
+
scopes: Record<string, string>;
|
|
2652
|
+
selectedScopes: string[];
|
|
2653
|
+
"x-scalar-client-id": string;
|
|
2654
|
+
tokenUrl: string;
|
|
2655
|
+
clientSecret: string;
|
|
2656
|
+
} | undefined;
|
|
2657
|
+
implicit?: {
|
|
2658
|
+
type: "implicit";
|
|
2659
|
+
token: string;
|
|
2660
|
+
refreshUrl: string;
|
|
2661
|
+
scopes: Record<string, string>;
|
|
2662
|
+
selectedScopes: string[];
|
|
2663
|
+
"x-scalar-client-id": string;
|
|
2664
|
+
authorizationUrl: string;
|
|
2665
|
+
"x-scalar-redirect-uri": string;
|
|
2666
|
+
} | undefined;
|
|
2667
|
+
clientCredentials?: {
|
|
2668
|
+
type: "clientCredentials";
|
|
2669
|
+
token: string;
|
|
2670
|
+
refreshUrl: string;
|
|
2671
|
+
scopes: Record<string, string>;
|
|
2672
|
+
selectedScopes: string[];
|
|
2673
|
+
"x-scalar-client-id": string;
|
|
2674
|
+
tokenUrl: string;
|
|
2675
|
+
clientSecret: string;
|
|
2676
|
+
} | undefined;
|
|
2677
|
+
authorizationCode?: {
|
|
2678
|
+
type: "authorizationCode";
|
|
2679
|
+
token: string;
|
|
2680
|
+
refreshUrl: string;
|
|
2681
|
+
scopes: Record<string, string>;
|
|
2682
|
+
selectedScopes: string[];
|
|
2683
|
+
"x-scalar-client-id": string;
|
|
2684
|
+
authorizationUrl: string;
|
|
2685
|
+
"x-scalar-redirect-uri": string;
|
|
2686
|
+
tokenUrl: string;
|
|
2687
|
+
clientSecret: string;
|
|
2688
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2689
|
+
} | undefined;
|
|
3391
2690
|
};
|
|
3392
|
-
"x-scalar-client-id": string;
|
|
3393
2691
|
description?: string | undefined;
|
|
3394
|
-
}
|
|
2692
|
+
};
|
|
3395
2693
|
delete: (schemeUid: string) => void;
|
|
3396
2694
|
set: (item: {
|
|
3397
2695
|
type: "apiKey";
|
|
2696
|
+
value: string;
|
|
3398
2697
|
uid: string;
|
|
3399
2698
|
name: string;
|
|
3400
|
-
in: "query" | "header" | "cookie";
|
|
3401
2699
|
nameKey: string;
|
|
2700
|
+
in: "query" | "header" | "cookie";
|
|
3402
2701
|
description?: string | undefined;
|
|
3403
2702
|
} | {
|
|
3404
2703
|
type: "http";
|
|
@@ -3406,6 +2705,9 @@ export declare const useApiClientModal: () => {
|
|
|
3406
2705
|
nameKey: string;
|
|
3407
2706
|
scheme: "basic" | "bearer";
|
|
3408
2707
|
bearerFormat: string;
|
|
2708
|
+
username: string;
|
|
2709
|
+
password: string;
|
|
2710
|
+
token: string;
|
|
3409
2711
|
description?: string | undefined;
|
|
3410
2712
|
} | {
|
|
3411
2713
|
type: "openIdConnect";
|
|
@@ -3417,72 +2719,98 @@ export declare const useApiClientModal: () => {
|
|
|
3417
2719
|
type: "oauth2";
|
|
3418
2720
|
uid: string;
|
|
3419
2721
|
nameKey: string;
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
2722
|
+
flows: {
|
|
2723
|
+
password?: {
|
|
2724
|
+
type: "password";
|
|
2725
|
+
username: string;
|
|
2726
|
+
password: string;
|
|
2727
|
+
token: string;
|
|
2728
|
+
refreshUrl: string;
|
|
2729
|
+
scopes: Record<string, string>;
|
|
2730
|
+
selectedScopes: string[];
|
|
2731
|
+
"x-scalar-client-id": string;
|
|
2732
|
+
tokenUrl: string;
|
|
2733
|
+
clientSecret: string;
|
|
2734
|
+
} | undefined;
|
|
2735
|
+
implicit?: {
|
|
2736
|
+
type: "implicit";
|
|
2737
|
+
token: string;
|
|
2738
|
+
refreshUrl: string;
|
|
2739
|
+
scopes: Record<string, string>;
|
|
2740
|
+
selectedScopes: string[];
|
|
2741
|
+
"x-scalar-client-id": string;
|
|
2742
|
+
authorizationUrl: string;
|
|
2743
|
+
"x-scalar-redirect-uri": string;
|
|
2744
|
+
} | undefined;
|
|
2745
|
+
clientCredentials?: {
|
|
2746
|
+
type: "clientCredentials";
|
|
2747
|
+
token: string;
|
|
2748
|
+
refreshUrl: string;
|
|
2749
|
+
scopes: Record<string, string>;
|
|
2750
|
+
selectedScopes: string[];
|
|
2751
|
+
"x-scalar-client-id": string;
|
|
2752
|
+
tokenUrl: string;
|
|
2753
|
+
clientSecret: string;
|
|
2754
|
+
} | undefined;
|
|
2755
|
+
authorizationCode?: {
|
|
2756
|
+
type: "authorizationCode";
|
|
2757
|
+
token: string;
|
|
2758
|
+
refreshUrl: string;
|
|
2759
|
+
scopes: Record<string, string>;
|
|
2760
|
+
selectedScopes: string[];
|
|
2761
|
+
"x-scalar-client-id": string;
|
|
2762
|
+
authorizationUrl: string;
|
|
2763
|
+
"x-scalar-redirect-uri": string;
|
|
2764
|
+
tokenUrl: string;
|
|
2765
|
+
clientSecret: string;
|
|
2766
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2767
|
+
} | undefined;
|
|
3448
2768
|
};
|
|
3449
|
-
"x-scalar-client-id": string;
|
|
3450
2769
|
description?: string | undefined;
|
|
3451
2770
|
}) => void;
|
|
3452
|
-
edit: <P extends "
|
|
2771
|
+
edit: <P extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "value" | "password" | "token" | "username" | "flows.implicit" | "flows.password" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.x-scalar-redirect-uri" | "flows.implicit.x-scalar-client-id" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.authorizationUrl" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.password.type" | "flows.password.password" | "flows.password.token" | "flows.password.x-scalar-client-id" | "flows.password.username" | "flows.password.tokenUrl" | "flows.password.clientSecret" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.x-usePkce" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.authorizationUrl" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}`>(uid: string, path: P, value: (P extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? {
|
|
3453
2772
|
type: "apiKey";
|
|
2773
|
+
value: string;
|
|
3454
2774
|
uid: string;
|
|
3455
2775
|
name: string;
|
|
3456
|
-
in: "query" | "header" | "cookie";
|
|
3457
2776
|
nameKey: string;
|
|
2777
|
+
in: "query" | "header" | "cookie";
|
|
3458
2778
|
description?: string | undefined;
|
|
3459
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
2779
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? R extends Path< {
|
|
3460
2780
|
type: "apiKey";
|
|
2781
|
+
value: string;
|
|
3461
2782
|
uid: string;
|
|
3462
2783
|
name: string;
|
|
3463
|
-
in: "query" | "header" | "cookie";
|
|
3464
2784
|
nameKey: string;
|
|
2785
|
+
in: "query" | "header" | "cookie";
|
|
3465
2786
|
description?: string | undefined;
|
|
3466
2787
|
}[K]> ? PathValue< {
|
|
3467
2788
|
type: "apiKey";
|
|
2789
|
+
value: string;
|
|
3468
2790
|
uid: string;
|
|
3469
2791
|
name: string;
|
|
3470
|
-
in: "query" | "header" | "cookie";
|
|
3471
2792
|
nameKey: string;
|
|
2793
|
+
in: "query" | "header" | "cookie";
|
|
3472
2794
|
description?: string | undefined;
|
|
3473
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "type" | "
|
|
2795
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? {
|
|
3474
2796
|
type: "http";
|
|
3475
2797
|
uid: string;
|
|
3476
2798
|
nameKey: string;
|
|
3477
2799
|
scheme: "basic" | "bearer";
|
|
3478
2800
|
bearerFormat: string;
|
|
2801
|
+
username: string;
|
|
2802
|
+
password: string;
|
|
2803
|
+
token: string;
|
|
3479
2804
|
description?: string | undefined;
|
|
3480
|
-
}[P] : P extends `${infer K}.${infer R_1}` ? K extends "type" | "
|
|
2805
|
+
}[P] : P extends `${infer K}.${infer R_1}` ? K extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? R_1 extends Path< {
|
|
3481
2806
|
type: "http";
|
|
3482
2807
|
uid: string;
|
|
3483
2808
|
nameKey: string;
|
|
3484
2809
|
scheme: "basic" | "bearer";
|
|
3485
2810
|
bearerFormat: string;
|
|
2811
|
+
username: string;
|
|
2812
|
+
password: string;
|
|
2813
|
+
token: string;
|
|
3486
2814
|
description?: string | undefined;
|
|
3487
2815
|
}[K]> ? PathValue< {
|
|
3488
2816
|
type: "http";
|
|
@@ -3490,14 +2818,17 @@ export declare const useApiClientModal: () => {
|
|
|
3490
2818
|
nameKey: string;
|
|
3491
2819
|
scheme: "basic" | "bearer";
|
|
3492
2820
|
bearerFormat: string;
|
|
2821
|
+
username: string;
|
|
2822
|
+
password: string;
|
|
2823
|
+
token: string;
|
|
3493
2824
|
description?: string | undefined;
|
|
3494
|
-
}[K], R_1> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "
|
|
2825
|
+
}[K], R_1> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? {
|
|
3495
2826
|
type: "openIdConnect";
|
|
3496
2827
|
uid: string;
|
|
3497
2828
|
nameKey: string;
|
|
3498
2829
|
openIdConnectUrl: string;
|
|
3499
2830
|
description?: string | undefined;
|
|
3500
|
-
}[P] : P extends `${infer K}.${infer R_2}` ? K extends "
|
|
2831
|
+
}[P] : P extends `${infer K}.${infer R_2}` ? K extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? R_2 extends Path< {
|
|
3501
2832
|
type: "openIdConnect";
|
|
3502
2833
|
uid: string;
|
|
3503
2834
|
nameKey: string;
|
|
@@ -3509,146 +2840,206 @@ export declare const useApiClientModal: () => {
|
|
|
3509
2840
|
nameKey: string;
|
|
3510
2841
|
openIdConnectUrl: string;
|
|
3511
2842
|
description?: string | undefined;
|
|
3512
|
-
}[K], R_2> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "
|
|
2843
|
+
}[K], R_2> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
3513
2844
|
type: "oauth2";
|
|
3514
2845
|
uid: string;
|
|
3515
2846
|
nameKey: string;
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
2847
|
+
flows: {
|
|
2848
|
+
password?: {
|
|
2849
|
+
type: "password";
|
|
2850
|
+
username: string;
|
|
2851
|
+
password: string;
|
|
2852
|
+
token: string;
|
|
2853
|
+
refreshUrl: string;
|
|
2854
|
+
scopes: Record<string, string>;
|
|
2855
|
+
selectedScopes: string[];
|
|
2856
|
+
"x-scalar-client-id": string;
|
|
2857
|
+
tokenUrl: string;
|
|
2858
|
+
clientSecret: string;
|
|
2859
|
+
} | undefined;
|
|
2860
|
+
implicit?: {
|
|
2861
|
+
type: "implicit";
|
|
2862
|
+
token: string;
|
|
2863
|
+
refreshUrl: string;
|
|
2864
|
+
scopes: Record<string, string>;
|
|
2865
|
+
selectedScopes: string[];
|
|
2866
|
+
"x-scalar-client-id": string;
|
|
2867
|
+
authorizationUrl: string;
|
|
2868
|
+
"x-scalar-redirect-uri": string;
|
|
2869
|
+
} | undefined;
|
|
2870
|
+
clientCredentials?: {
|
|
2871
|
+
type: "clientCredentials";
|
|
2872
|
+
token: string;
|
|
2873
|
+
refreshUrl: string;
|
|
2874
|
+
scopes: Record<string, string>;
|
|
2875
|
+
selectedScopes: string[];
|
|
2876
|
+
"x-scalar-client-id": string;
|
|
2877
|
+
tokenUrl: string;
|
|
2878
|
+
clientSecret: string;
|
|
2879
|
+
} | undefined;
|
|
2880
|
+
authorizationCode?: {
|
|
2881
|
+
type: "authorizationCode";
|
|
2882
|
+
token: string;
|
|
2883
|
+
refreshUrl: string;
|
|
2884
|
+
scopes: Record<string, string>;
|
|
2885
|
+
selectedScopes: string[];
|
|
2886
|
+
"x-scalar-client-id": string;
|
|
2887
|
+
authorizationUrl: string;
|
|
2888
|
+
"x-scalar-redirect-uri": string;
|
|
2889
|
+
tokenUrl: string;
|
|
2890
|
+
clientSecret: string;
|
|
2891
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2892
|
+
} | undefined;
|
|
3544
2893
|
};
|
|
3545
|
-
"x-scalar-client-id": string;
|
|
3546
2894
|
description?: string | undefined;
|
|
3547
|
-
}[P] : P extends `${infer K}.${infer R_3}` ? K extends "
|
|
2895
|
+
}[P] : P extends `${infer K}.${infer R_3}` ? K extends "description" | "type" | "uid" | "nameKey" | "flows" ? R_3 extends Path< {
|
|
3548
2896
|
type: "oauth2";
|
|
3549
2897
|
uid: string;
|
|
3550
2898
|
nameKey: string;
|
|
3551
|
-
|
|
2899
|
+
flows: {
|
|
2900
|
+
password?: {
|
|
2901
|
+
type: "password";
|
|
2902
|
+
username: string;
|
|
2903
|
+
password: string;
|
|
2904
|
+
token: string;
|
|
2905
|
+
refreshUrl: string;
|
|
2906
|
+
scopes: Record<string, string>;
|
|
2907
|
+
selectedScopes: string[];
|
|
2908
|
+
"x-scalar-client-id": string;
|
|
2909
|
+
tokenUrl: string;
|
|
2910
|
+
clientSecret: string;
|
|
2911
|
+
} | undefined;
|
|
2912
|
+
implicit?: {
|
|
3552
2913
|
type: "implicit";
|
|
2914
|
+
token: string;
|
|
3553
2915
|
refreshUrl: string;
|
|
3554
|
-
scopes:
|
|
2916
|
+
scopes: Record<string, string>;
|
|
3555
2917
|
selectedScopes: string[];
|
|
2918
|
+
"x-scalar-client-id": string;
|
|
3556
2919
|
authorizationUrl: string;
|
|
3557
2920
|
"x-scalar-redirect-uri": string;
|
|
3558
|
-
} |
|
|
3559
|
-
|
|
3560
|
-
refreshUrl: string;
|
|
3561
|
-
scopes: Map<string, string | undefined> | Record<string, string | undefined> | {};
|
|
3562
|
-
selectedScopes: string[];
|
|
3563
|
-
tokenUrl: string;
|
|
3564
|
-
} | {
|
|
2921
|
+
} | undefined;
|
|
2922
|
+
clientCredentials?: {
|
|
3565
2923
|
type: "clientCredentials";
|
|
2924
|
+
token: string;
|
|
3566
2925
|
refreshUrl: string;
|
|
3567
|
-
scopes:
|
|
2926
|
+
scopes: Record<string, string>;
|
|
3568
2927
|
selectedScopes: string[];
|
|
2928
|
+
"x-scalar-client-id": string;
|
|
3569
2929
|
tokenUrl: string;
|
|
3570
|
-
|
|
2930
|
+
clientSecret: string;
|
|
2931
|
+
} | undefined;
|
|
2932
|
+
authorizationCode?: {
|
|
3571
2933
|
type: "authorizationCode";
|
|
2934
|
+
token: string;
|
|
3572
2935
|
refreshUrl: string;
|
|
3573
|
-
scopes:
|
|
2936
|
+
scopes: Record<string, string>;
|
|
3574
2937
|
selectedScopes: string[];
|
|
2938
|
+
"x-scalar-client-id": string;
|
|
3575
2939
|
authorizationUrl: string;
|
|
3576
2940
|
"x-scalar-redirect-uri": string;
|
|
3577
2941
|
tokenUrl: string;
|
|
2942
|
+
clientSecret: string;
|
|
3578
2943
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2944
|
+
} | undefined;
|
|
3579
2945
|
};
|
|
3580
|
-
"x-scalar-client-id": string;
|
|
3581
2946
|
description?: string | undefined;
|
|
3582
2947
|
}[K]> ? PathValue< {
|
|
3583
2948
|
type: "oauth2";
|
|
3584
2949
|
uid: string;
|
|
3585
2950
|
nameKey: string;
|
|
3586
|
-
|
|
2951
|
+
flows: {
|
|
2952
|
+
password?: {
|
|
2953
|
+
type: "password";
|
|
2954
|
+
username: string;
|
|
2955
|
+
password: string;
|
|
2956
|
+
token: string;
|
|
2957
|
+
refreshUrl: string;
|
|
2958
|
+
scopes: Record<string, string>;
|
|
2959
|
+
selectedScopes: string[];
|
|
2960
|
+
"x-scalar-client-id": string;
|
|
2961
|
+
tokenUrl: string;
|
|
2962
|
+
clientSecret: string;
|
|
2963
|
+
} | undefined;
|
|
2964
|
+
implicit?: {
|
|
3587
2965
|
type: "implicit";
|
|
2966
|
+
token: string;
|
|
3588
2967
|
refreshUrl: string;
|
|
3589
|
-
scopes:
|
|
2968
|
+
scopes: Record<string, string>;
|
|
3590
2969
|
selectedScopes: string[];
|
|
2970
|
+
"x-scalar-client-id": string;
|
|
3591
2971
|
authorizationUrl: string;
|
|
3592
2972
|
"x-scalar-redirect-uri": string;
|
|
3593
|
-
} |
|
|
3594
|
-
|
|
3595
|
-
refreshUrl: string;
|
|
3596
|
-
scopes: Map<string, string | undefined> | Record<string, string | undefined> | {};
|
|
3597
|
-
selectedScopes: string[];
|
|
3598
|
-
tokenUrl: string;
|
|
3599
|
-
} | {
|
|
2973
|
+
} | undefined;
|
|
2974
|
+
clientCredentials?: {
|
|
3600
2975
|
type: "clientCredentials";
|
|
2976
|
+
token: string;
|
|
3601
2977
|
refreshUrl: string;
|
|
3602
|
-
scopes:
|
|
2978
|
+
scopes: Record<string, string>;
|
|
3603
2979
|
selectedScopes: string[];
|
|
2980
|
+
"x-scalar-client-id": string;
|
|
3604
2981
|
tokenUrl: string;
|
|
3605
|
-
|
|
2982
|
+
clientSecret: string;
|
|
2983
|
+
} | undefined;
|
|
2984
|
+
authorizationCode?: {
|
|
3606
2985
|
type: "authorizationCode";
|
|
2986
|
+
token: string;
|
|
3607
2987
|
refreshUrl: string;
|
|
3608
|
-
scopes:
|
|
2988
|
+
scopes: Record<string, string>;
|
|
3609
2989
|
selectedScopes: string[];
|
|
2990
|
+
"x-scalar-client-id": string;
|
|
3610
2991
|
authorizationUrl: string;
|
|
3611
2992
|
"x-scalar-redirect-uri": string;
|
|
3612
2993
|
tokenUrl: string;
|
|
2994
|
+
clientSecret: string;
|
|
3613
2995
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
2996
|
+
} | undefined;
|
|
3614
2997
|
};
|
|
3615
|
-
"x-scalar-client-id": string;
|
|
3616
2998
|
description?: string | undefined;
|
|
3617
2999
|
}[K], R_3> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3618
|
-
untrackedEdit: <P extends "
|
|
3000
|
+
untrackedEdit: <P extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "value" | "password" | "token" | "username" | "flows.implicit" | "flows.password" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.x-scalar-redirect-uri" | "flows.implicit.x-scalar-client-id" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.authorizationUrl" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.password.type" | "flows.password.password" | "flows.password.token" | "flows.password.x-scalar-client-id" | "flows.password.username" | "flows.password.tokenUrl" | "flows.password.clientSecret" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.x-usePkce" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.authorizationUrl" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}`>(uid: string, path: P, value: (P extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? {
|
|
3619
3001
|
type: "apiKey";
|
|
3002
|
+
value: string;
|
|
3620
3003
|
uid: string;
|
|
3621
3004
|
name: string;
|
|
3622
|
-
in: "query" | "header" | "cookie";
|
|
3623
3005
|
nameKey: string;
|
|
3006
|
+
in: "query" | "header" | "cookie";
|
|
3624
3007
|
description?: string | undefined;
|
|
3625
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
3008
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "name" | "in" | "uid" | "nameKey" | "value" ? R extends Path< {
|
|
3626
3009
|
type: "apiKey";
|
|
3010
|
+
value: string;
|
|
3627
3011
|
uid: string;
|
|
3628
3012
|
name: string;
|
|
3629
|
-
in: "query" | "header" | "cookie";
|
|
3630
3013
|
nameKey: string;
|
|
3014
|
+
in: "query" | "header" | "cookie";
|
|
3631
3015
|
description?: string | undefined;
|
|
3632
3016
|
}[K]> ? PathValue< {
|
|
3633
3017
|
type: "apiKey";
|
|
3018
|
+
value: string;
|
|
3634
3019
|
uid: string;
|
|
3635
3020
|
name: string;
|
|
3636
|
-
in: "query" | "header" | "cookie";
|
|
3637
3021
|
nameKey: string;
|
|
3022
|
+
in: "query" | "header" | "cookie";
|
|
3638
3023
|
description?: string | undefined;
|
|
3639
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "type" | "
|
|
3024
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? {
|
|
3640
3025
|
type: "http";
|
|
3641
3026
|
uid: string;
|
|
3642
3027
|
nameKey: string;
|
|
3643
3028
|
scheme: "basic" | "bearer";
|
|
3644
3029
|
bearerFormat: string;
|
|
3030
|
+
username: string;
|
|
3031
|
+
password: string;
|
|
3032
|
+
token: string;
|
|
3645
3033
|
description?: string | undefined;
|
|
3646
|
-
}[P] : P extends `${infer K}.${infer R_1}` ? K extends "type" | "
|
|
3034
|
+
}[P] : P extends `${infer K}.${infer R_1}` ? K extends "description" | "type" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "password" | "token" | "username" ? R_1 extends Path< {
|
|
3647
3035
|
type: "http";
|
|
3648
3036
|
uid: string;
|
|
3649
3037
|
nameKey: string;
|
|
3650
3038
|
scheme: "basic" | "bearer";
|
|
3651
3039
|
bearerFormat: string;
|
|
3040
|
+
username: string;
|
|
3041
|
+
password: string;
|
|
3042
|
+
token: string;
|
|
3652
3043
|
description?: string | undefined;
|
|
3653
3044
|
}[K]> ? PathValue< {
|
|
3654
3045
|
type: "http";
|
|
@@ -3656,14 +3047,17 @@ export declare const useApiClientModal: () => {
|
|
|
3656
3047
|
nameKey: string;
|
|
3657
3048
|
scheme: "basic" | "bearer";
|
|
3658
3049
|
bearerFormat: string;
|
|
3050
|
+
username: string;
|
|
3051
|
+
password: string;
|
|
3052
|
+
token: string;
|
|
3659
3053
|
description?: string | undefined;
|
|
3660
|
-
}[K], R_1> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "
|
|
3054
|
+
}[K], R_1> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? {
|
|
3661
3055
|
type: "openIdConnect";
|
|
3662
3056
|
uid: string;
|
|
3663
3057
|
nameKey: string;
|
|
3664
3058
|
openIdConnectUrl: string;
|
|
3665
3059
|
description?: string | undefined;
|
|
3666
|
-
}[P] : P extends `${infer K}.${infer R_2}` ? K extends "
|
|
3060
|
+
}[P] : P extends `${infer K}.${infer R_2}` ? K extends "description" | "type" | "uid" | "nameKey" | "openIdConnectUrl" ? R_2 extends Path< {
|
|
3667
3061
|
type: "openIdConnect";
|
|
3668
3062
|
uid: string;
|
|
3669
3063
|
nameKey: string;
|
|
@@ -3675,110 +3069,161 @@ export declare const useApiClientModal: () => {
|
|
|
3675
3069
|
nameKey: string;
|
|
3676
3070
|
openIdConnectUrl: string;
|
|
3677
3071
|
description?: string | undefined;
|
|
3678
|
-
}[K], R_2> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "
|
|
3072
|
+
}[K], R_2> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
3679
3073
|
type: "oauth2";
|
|
3680
3074
|
uid: string;
|
|
3681
3075
|
nameKey: string;
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3076
|
+
flows: {
|
|
3077
|
+
password?: {
|
|
3078
|
+
type: "password";
|
|
3079
|
+
username: string;
|
|
3080
|
+
password: string;
|
|
3081
|
+
token: string;
|
|
3082
|
+
refreshUrl: string;
|
|
3083
|
+
scopes: Record<string, string>;
|
|
3084
|
+
selectedScopes: string[];
|
|
3085
|
+
"x-scalar-client-id": string;
|
|
3086
|
+
tokenUrl: string;
|
|
3087
|
+
clientSecret: string;
|
|
3088
|
+
} | undefined;
|
|
3089
|
+
implicit?: {
|
|
3090
|
+
type: "implicit";
|
|
3091
|
+
token: string;
|
|
3092
|
+
refreshUrl: string;
|
|
3093
|
+
scopes: Record<string, string>;
|
|
3094
|
+
selectedScopes: string[];
|
|
3095
|
+
"x-scalar-client-id": string;
|
|
3096
|
+
authorizationUrl: string;
|
|
3097
|
+
"x-scalar-redirect-uri": string;
|
|
3098
|
+
} | undefined;
|
|
3099
|
+
clientCredentials?: {
|
|
3100
|
+
type: "clientCredentials";
|
|
3101
|
+
token: string;
|
|
3102
|
+
refreshUrl: string;
|
|
3103
|
+
scopes: Record<string, string>;
|
|
3104
|
+
selectedScopes: string[];
|
|
3105
|
+
"x-scalar-client-id": string;
|
|
3106
|
+
tokenUrl: string;
|
|
3107
|
+
clientSecret: string;
|
|
3108
|
+
} | undefined;
|
|
3109
|
+
authorizationCode?: {
|
|
3110
|
+
type: "authorizationCode";
|
|
3111
|
+
token: string;
|
|
3112
|
+
refreshUrl: string;
|
|
3113
|
+
scopes: Record<string, string>;
|
|
3114
|
+
selectedScopes: string[];
|
|
3115
|
+
"x-scalar-client-id": string;
|
|
3116
|
+
authorizationUrl: string;
|
|
3117
|
+
"x-scalar-redirect-uri": string;
|
|
3118
|
+
tokenUrl: string;
|
|
3119
|
+
clientSecret: string;
|
|
3120
|
+
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3121
|
+
} | undefined;
|
|
3710
3122
|
};
|
|
3711
|
-
"x-scalar-client-id": string;
|
|
3712
3123
|
description?: string | undefined;
|
|
3713
|
-
}[P] : P extends `${infer K}.${infer R_3}` ? K extends "
|
|
3124
|
+
}[P] : P extends `${infer K}.${infer R_3}` ? K extends "description" | "type" | "uid" | "nameKey" | "flows" ? R_3 extends Path< {
|
|
3714
3125
|
type: "oauth2";
|
|
3715
3126
|
uid: string;
|
|
3716
3127
|
nameKey: string;
|
|
3717
|
-
|
|
3128
|
+
flows: {
|
|
3129
|
+
password?: {
|
|
3130
|
+
type: "password";
|
|
3131
|
+
username: string;
|
|
3132
|
+
password: string;
|
|
3133
|
+
token: string;
|
|
3134
|
+
refreshUrl: string;
|
|
3135
|
+
scopes: Record<string, string>;
|
|
3136
|
+
selectedScopes: string[];
|
|
3137
|
+
"x-scalar-client-id": string;
|
|
3138
|
+
tokenUrl: string;
|
|
3139
|
+
clientSecret: string;
|
|
3140
|
+
} | undefined;
|
|
3141
|
+
implicit?: {
|
|
3718
3142
|
type: "implicit";
|
|
3143
|
+
token: string;
|
|
3719
3144
|
refreshUrl: string;
|
|
3720
|
-
scopes:
|
|
3145
|
+
scopes: Record<string, string>;
|
|
3721
3146
|
selectedScopes: string[];
|
|
3147
|
+
"x-scalar-client-id": string;
|
|
3722
3148
|
authorizationUrl: string;
|
|
3723
3149
|
"x-scalar-redirect-uri": string;
|
|
3724
|
-
} |
|
|
3725
|
-
|
|
3726
|
-
refreshUrl: string;
|
|
3727
|
-
scopes: Map<string, string | undefined> | Record<string, string | undefined> | {};
|
|
3728
|
-
selectedScopes: string[];
|
|
3729
|
-
tokenUrl: string;
|
|
3730
|
-
} | {
|
|
3150
|
+
} | undefined;
|
|
3151
|
+
clientCredentials?: {
|
|
3731
3152
|
type: "clientCredentials";
|
|
3153
|
+
token: string;
|
|
3732
3154
|
refreshUrl: string;
|
|
3733
|
-
scopes:
|
|
3155
|
+
scopes: Record<string, string>;
|
|
3734
3156
|
selectedScopes: string[];
|
|
3157
|
+
"x-scalar-client-id": string;
|
|
3735
3158
|
tokenUrl: string;
|
|
3736
|
-
|
|
3159
|
+
clientSecret: string;
|
|
3160
|
+
} | undefined;
|
|
3161
|
+
authorizationCode?: {
|
|
3737
3162
|
type: "authorizationCode";
|
|
3163
|
+
token: string;
|
|
3738
3164
|
refreshUrl: string;
|
|
3739
|
-
scopes:
|
|
3165
|
+
scopes: Record<string, string>;
|
|
3740
3166
|
selectedScopes: string[];
|
|
3167
|
+
"x-scalar-client-id": string;
|
|
3741
3168
|
authorizationUrl: string;
|
|
3742
3169
|
"x-scalar-redirect-uri": string;
|
|
3743
3170
|
tokenUrl: string;
|
|
3171
|
+
clientSecret: string;
|
|
3744
3172
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3173
|
+
} | undefined;
|
|
3745
3174
|
};
|
|
3746
|
-
"x-scalar-client-id": string;
|
|
3747
3175
|
description?: string | undefined;
|
|
3748
3176
|
}[K]> ? PathValue< {
|
|
3749
3177
|
type: "oauth2";
|
|
3750
3178
|
uid: string;
|
|
3751
3179
|
nameKey: string;
|
|
3752
|
-
|
|
3180
|
+
flows: {
|
|
3181
|
+
password?: {
|
|
3182
|
+
type: "password";
|
|
3183
|
+
username: string;
|
|
3184
|
+
password: string;
|
|
3185
|
+
token: string;
|
|
3186
|
+
refreshUrl: string;
|
|
3187
|
+
scopes: Record<string, string>;
|
|
3188
|
+
selectedScopes: string[];
|
|
3189
|
+
"x-scalar-client-id": string;
|
|
3190
|
+
tokenUrl: string;
|
|
3191
|
+
clientSecret: string;
|
|
3192
|
+
} | undefined;
|
|
3193
|
+
implicit?: {
|
|
3753
3194
|
type: "implicit";
|
|
3195
|
+
token: string;
|
|
3754
3196
|
refreshUrl: string;
|
|
3755
|
-
scopes:
|
|
3197
|
+
scopes: Record<string, string>;
|
|
3756
3198
|
selectedScopes: string[];
|
|
3199
|
+
"x-scalar-client-id": string;
|
|
3757
3200
|
authorizationUrl: string;
|
|
3758
3201
|
"x-scalar-redirect-uri": string;
|
|
3759
|
-
} |
|
|
3760
|
-
|
|
3761
|
-
refreshUrl: string;
|
|
3762
|
-
scopes: Map<string, string | undefined> | Record<string, string | undefined> | {};
|
|
3763
|
-
selectedScopes: string[];
|
|
3764
|
-
tokenUrl: string;
|
|
3765
|
-
} | {
|
|
3202
|
+
} | undefined;
|
|
3203
|
+
clientCredentials?: {
|
|
3766
3204
|
type: "clientCredentials";
|
|
3205
|
+
token: string;
|
|
3767
3206
|
refreshUrl: string;
|
|
3768
|
-
scopes:
|
|
3207
|
+
scopes: Record<string, string>;
|
|
3769
3208
|
selectedScopes: string[];
|
|
3209
|
+
"x-scalar-client-id": string;
|
|
3770
3210
|
tokenUrl: string;
|
|
3771
|
-
|
|
3211
|
+
clientSecret: string;
|
|
3212
|
+
} | undefined;
|
|
3213
|
+
authorizationCode?: {
|
|
3772
3214
|
type: "authorizationCode";
|
|
3215
|
+
token: string;
|
|
3773
3216
|
refreshUrl: string;
|
|
3774
|
-
scopes:
|
|
3217
|
+
scopes: Record<string, string>;
|
|
3775
3218
|
selectedScopes: string[];
|
|
3219
|
+
"x-scalar-client-id": string;
|
|
3776
3220
|
authorizationUrl: string;
|
|
3777
3221
|
"x-scalar-redirect-uri": string;
|
|
3778
3222
|
tokenUrl: string;
|
|
3223
|
+
clientSecret: string;
|
|
3779
3224
|
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
3225
|
+
} | undefined;
|
|
3780
3226
|
};
|
|
3781
|
-
"x-scalar-client-id": string;
|
|
3782
3227
|
description?: string | undefined;
|
|
3783
3228
|
}[K], R_3> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3784
3229
|
undo: (uid: string) => void;
|
|
@@ -3811,14 +3256,14 @@ export declare const useApiClientModal: () => {
|
|
|
3811
3256
|
enum?: [string, ...string[]];
|
|
3812
3257
|
}> | undefined;
|
|
3813
3258
|
}) => void;
|
|
3814
|
-
edit: <P extends "description" | "
|
|
3259
|
+
edit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
|
|
3815
3260
|
uid: string;
|
|
3816
3261
|
url: string;
|
|
3817
3262
|
description?: string | undefined;
|
|
3818
3263
|
variables?: Record<string, Omit<OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
3819
3264
|
enum?: [string, ...string[]];
|
|
3820
3265
|
}> | undefined;
|
|
3821
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "
|
|
3266
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends Path< {
|
|
3822
3267
|
uid: string;
|
|
3823
3268
|
url: string;
|
|
3824
3269
|
description?: string | undefined;
|
|
@@ -3833,14 +3278,14 @@ export declare const useApiClientModal: () => {
|
|
|
3833
3278
|
enum?: [string, ...string[]];
|
|
3834
3279
|
}> | undefined;
|
|
3835
3280
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3836
|
-
untrackedEdit: <P extends "description" | "
|
|
3281
|
+
untrackedEdit: <P extends "description" | "uid" | "url" | "variables" | `variables.${string}`>(uid: string, path: P, value: P extends "description" | "uid" | "url" | "variables" ? {
|
|
3837
3282
|
uid: string;
|
|
3838
3283
|
url: string;
|
|
3839
3284
|
description?: string | undefined;
|
|
3840
3285
|
variables?: Record<string, Omit<OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
3841
3286
|
enum?: [string, ...string[]];
|
|
3842
3287
|
}> | undefined;
|
|
3843
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "
|
|
3288
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "uid" | "url" | "variables" ? R extends Path< {
|
|
3844
3289
|
uid: string;
|
|
3845
3290
|
url: string;
|
|
3846
3291
|
description?: string | undefined;
|
|
@@ -3903,7 +3348,7 @@ export declare const useApiClientModal: () => {
|
|
|
3903
3348
|
tagName: string;
|
|
3904
3349
|
}[] | undefined;
|
|
3905
3350
|
}) => void;
|
|
3906
|
-
edit: <P extends "
|
|
3351
|
+
edit: <P extends "description" | "externalDocs" | "type" | "name" | "uid" | "children" | "externalDocs.description" | "externalDocs.url" | `children.${number}` | "x-scalar-children" | `x-scalar-children.${number}` | `x-scalar-children.${number}.tagName`>(uid: string, path: P, value: P extends "description" | "externalDocs" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? {
|
|
3907
3352
|
type: "tag";
|
|
3908
3353
|
uid: string;
|
|
3909
3354
|
name: string;
|
|
@@ -3916,7 +3361,7 @@ export declare const useApiClientModal: () => {
|
|
|
3916
3361
|
"x-scalar-children"?: {
|
|
3917
3362
|
tagName: string;
|
|
3918
3363
|
}[] | undefined;
|
|
3919
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
3364
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "externalDocs" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? R extends Path< {
|
|
3920
3365
|
type: "tag";
|
|
3921
3366
|
uid: string;
|
|
3922
3367
|
name: string;
|
|
@@ -3943,7 +3388,7 @@ export declare const useApiClientModal: () => {
|
|
|
3943
3388
|
tagName: string;
|
|
3944
3389
|
}[] | undefined;
|
|
3945
3390
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3946
|
-
untrackedEdit: <P extends "
|
|
3391
|
+
untrackedEdit: <P extends "description" | "externalDocs" | "type" | "name" | "uid" | "children" | "externalDocs.description" | "externalDocs.url" | `children.${number}` | "x-scalar-children" | `x-scalar-children.${number}` | `x-scalar-children.${number}.tagName`>(uid: string, path: P, value: P extends "description" | "externalDocs" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? {
|
|
3947
3392
|
type: "tag";
|
|
3948
3393
|
uid: string;
|
|
3949
3394
|
name: string;
|
|
@@ -3956,7 +3401,7 @@ export declare const useApiClientModal: () => {
|
|
|
3956
3401
|
"x-scalar-children"?: {
|
|
3957
3402
|
tagName: string;
|
|
3958
3403
|
}[] | undefined;
|
|
3959
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
3404
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "externalDocs" | "type" | "name" | "uid" | "children" | "x-scalar-children" ? R extends Path< {
|
|
3960
3405
|
type: "tag";
|
|
3961
3406
|
uid: string;
|
|
3962
3407
|
name: string;
|
|
@@ -3992,12 +3437,11 @@ export declare const useApiClientModal: () => {
|
|
|
3992
3437
|
uid: string;
|
|
3993
3438
|
name: string;
|
|
3994
3439
|
description: string;
|
|
3995
|
-
isReadOnly: boolean;
|
|
3996
3440
|
collections: string[];
|
|
3997
3441
|
environments: string[];
|
|
3998
3442
|
activeEnvironmentId: string;
|
|
3999
3443
|
cookies: string[];
|
|
4000
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3444
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4001
3445
|
hotKeyConfig?: {
|
|
4002
3446
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4003
3447
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4011,12 +3455,11 @@ export declare const useApiClientModal: () => {
|
|
|
4011
3455
|
uid: string;
|
|
4012
3456
|
name: string;
|
|
4013
3457
|
description: string;
|
|
4014
|
-
isReadOnly: boolean;
|
|
4015
3458
|
collections: string[];
|
|
4016
3459
|
environments: string[];
|
|
4017
3460
|
activeEnvironmentId: string;
|
|
4018
3461
|
cookies: string[];
|
|
4019
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3462
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4020
3463
|
hotKeyConfig?: {
|
|
4021
3464
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4022
3465
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4031,12 +3474,11 @@ export declare const useApiClientModal: () => {
|
|
|
4031
3474
|
uid: string;
|
|
4032
3475
|
name: string;
|
|
4033
3476
|
description: string;
|
|
4034
|
-
isReadOnly: boolean;
|
|
4035
3477
|
collections: string[];
|
|
4036
3478
|
environments: string[];
|
|
4037
3479
|
activeEnvironmentId: string;
|
|
4038
3480
|
cookies: string[];
|
|
4039
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3481
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4040
3482
|
hotKeyConfig?: {
|
|
4041
3483
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4042
3484
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4046,16 +3488,15 @@ export declare const useApiClientModal: () => {
|
|
|
4046
3488
|
} | undefined;
|
|
4047
3489
|
proxyUrl?: string | undefined;
|
|
4048
3490
|
}) => void;
|
|
4049
|
-
edit: <P extends "cookies" | "name" | "description" | "uid" | "collections" | "environments" | "isReadOnly" | "activeEnvironmentId" | "themeId" | "hotKeyConfig" | "proxyUrl" | `cookies.${number}` | `collections.${number}` | `environments.${number}` | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "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..modifiers" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys..event" | "hotKeyConfig.hotKeys.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.event" | "hotKeyConfig.hotKeys.1.modifiers" | `hotKeyConfig.hotKeys.1.modifiers.${number}` | "hotKeyConfig.hotKeys.1.event" | "hotKeyConfig.hotKeys.n.modifiers" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.n.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.i.modifiers" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.i.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.s.modifiers" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.s.event" | "hotKeyConfig.hotKeys.u.modifiers" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.u.event" | "hotKeyConfig.hotKeys...modifiers" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys...event" | "hotKeyConfig.hotKeys.g.modifiers" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.g.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.k.modifiers" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.k.event" | "hotKeyConfig.hotKeys.v.modifiers" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.v.event" | "hotKeyConfig.hotKeys.2.modifiers" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.2.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.Delete.modifiers" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.event" | "hotKeyConfig.hotKeys.Backspace.modifiers" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.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.Space.modifiers" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.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.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.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.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.h.modifiers" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.h.event" | "hotKeyConfig.hotKeys.j.modifiers" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.j.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.o.modifiers" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.o.event" | "hotKeyConfig.hotKeys.r.modifiers" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.r.event" | "hotKeyConfig.hotKeys.t.modifiers" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.t.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.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">(uid: string, path: P, value: P extends "cookies" | "name" | "description" | "uid" | "collections" | "environments" | "isReadOnly" | "activeEnvironmentId" | "themeId" | "hotKeyConfig" | "proxyUrl" ? {
|
|
3491
|
+
edit: <P extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "hotKeyConfig" | "proxyUrl" | `cookies.${number}` | `collections.${number}` | `environments.${number}` | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "hotKeyConfig.hotKeys.*" | "hotKeyConfig.hotKeys.+" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys.F1" | "hotKeyConfig.hotKeys.F2" | "hotKeyConfig.hotKeys.F3" | "hotKeyConfig.hotKeys.F4" | "hotKeyConfig.hotKeys.F5" | "hotKeyConfig.hotKeys.F6" | "hotKeyConfig.hotKeys.F7" | "hotKeyConfig.hotKeys.F8" | "hotKeyConfig.hotKeys.F9" | "hotKeyConfig.hotKeys.F10" | "hotKeyConfig.hotKeys.F11" | "hotKeyConfig.hotKeys.F12" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.," | "hotKeyConfig.hotKeys.`" | "hotKeyConfig.hotKeys.[" | "hotKeyConfig.hotKeys.\\" | "hotKeyConfig.hotKeys.]" | "hotKeyConfig.hotKeys..modifiers" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys..event" | "hotKeyConfig.hotKeys./.modifiers" | `hotKeyConfig.hotKeys./.modifiers.${number}` | "hotKeyConfig.hotKeys./.event" | "hotKeyConfig.hotKeys.Space.modifiers" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.event" | "hotKeyConfig.hotKeys.Backspace.modifiers" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.event" | "hotKeyConfig.hotKeys.Tab.modifiers" | `hotKeyConfig.hotKeys.Tab.modifiers.${number}` | "hotKeyConfig.hotKeys.Tab.event" | "hotKeyConfig.hotKeys.Enter.modifiers" | `hotKeyConfig.hotKeys.Enter.modifiers.${number}` | "hotKeyConfig.hotKeys.Enter.event" | "hotKeyConfig.hotKeys.Escape.modifiers" | `hotKeyConfig.hotKeys.Escape.modifiers.${number}` | "hotKeyConfig.hotKeys.Escape.event" | "hotKeyConfig.hotKeys.ArrowDown.modifiers" | `hotKeyConfig.hotKeys.ArrowDown.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowDown.event" | "hotKeyConfig.hotKeys.ArrowLeft.modifiers" | `hotKeyConfig.hotKeys.ArrowLeft.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowLeft.event" | "hotKeyConfig.hotKeys.ArrowRight.modifiers" | `hotKeyConfig.hotKeys.ArrowRight.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowRight.event" | "hotKeyConfig.hotKeys.ArrowUp.modifiers" | `hotKeyConfig.hotKeys.ArrowUp.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowUp.event" | "hotKeyConfig.hotKeys.End.modifiers" | `hotKeyConfig.hotKeys.End.modifiers.${number}` | "hotKeyConfig.hotKeys.End.event" | "hotKeyConfig.hotKeys.Home.modifiers" | `hotKeyConfig.hotKeys.Home.modifiers.${number}` | "hotKeyConfig.hotKeys.Home.event" | "hotKeyConfig.hotKeys.PageDown.modifiers" | `hotKeyConfig.hotKeys.PageDown.modifiers.${number}` | "hotKeyConfig.hotKeys.PageDown.event" | "hotKeyConfig.hotKeys.PageUp.modifiers" | `hotKeyConfig.hotKeys.PageUp.modifiers.${number}` | "hotKeyConfig.hotKeys.PageUp.event" | "hotKeyConfig.hotKeys.Delete.modifiers" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.event" | "hotKeyConfig.hotKeys.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.event" | "hotKeyConfig.hotKeys.1.modifiers" | `hotKeyConfig.hotKeys.1.modifiers.${number}` | "hotKeyConfig.hotKeys.1.event" | "hotKeyConfig.hotKeys.2.modifiers" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.2.event" | "hotKeyConfig.hotKeys.3.modifiers" | `hotKeyConfig.hotKeys.3.modifiers.${number}` | "hotKeyConfig.hotKeys.3.event" | "hotKeyConfig.hotKeys.4.modifiers" | `hotKeyConfig.hotKeys.4.modifiers.${number}` | "hotKeyConfig.hotKeys.4.event" | "hotKeyConfig.hotKeys.5.modifiers" | `hotKeyConfig.hotKeys.5.modifiers.${number}` | "hotKeyConfig.hotKeys.5.event" | "hotKeyConfig.hotKeys.6.modifiers" | `hotKeyConfig.hotKeys.6.modifiers.${number}` | "hotKeyConfig.hotKeys.6.event" | "hotKeyConfig.hotKeys.7.modifiers" | `hotKeyConfig.hotKeys.7.modifiers.${number}` | "hotKeyConfig.hotKeys.7.event" | "hotKeyConfig.hotKeys.8.modifiers" | `hotKeyConfig.hotKeys.8.modifiers.${number}` | "hotKeyConfig.hotKeys.8.event" | "hotKeyConfig.hotKeys.9.modifiers" | `hotKeyConfig.hotKeys.9.modifiers.${number}` | "hotKeyConfig.hotKeys.9.event" | "hotKeyConfig.hotKeys.a.modifiers" | `hotKeyConfig.hotKeys.a.modifiers.${number}` | "hotKeyConfig.hotKeys.a.event" | "hotKeyConfig.hotKeys.b.modifiers" | `hotKeyConfig.hotKeys.b.modifiers.${number}` | "hotKeyConfig.hotKeys.b.event" | "hotKeyConfig.hotKeys.c.modifiers" | `hotKeyConfig.hotKeys.c.modifiers.${number}` | "hotKeyConfig.hotKeys.c.event" | "hotKeyConfig.hotKeys.d.modifiers" | `hotKeyConfig.hotKeys.d.modifiers.${number}` | "hotKeyConfig.hotKeys.d.event" | "hotKeyConfig.hotKeys.e.modifiers" | `hotKeyConfig.hotKeys.e.modifiers.${number}` | "hotKeyConfig.hotKeys.e.event" | "hotKeyConfig.hotKeys.f.modifiers" | `hotKeyConfig.hotKeys.f.modifiers.${number}` | "hotKeyConfig.hotKeys.f.event" | "hotKeyConfig.hotKeys.g.modifiers" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.g.event" | "hotKeyConfig.hotKeys.h.modifiers" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.h.event" | "hotKeyConfig.hotKeys.i.modifiers" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.i.event" | "hotKeyConfig.hotKeys.j.modifiers" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.j.event" | "hotKeyConfig.hotKeys.k.modifiers" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.k.event" | "hotKeyConfig.hotKeys.l.modifiers" | `hotKeyConfig.hotKeys.l.modifiers.${number}` | "hotKeyConfig.hotKeys.l.event" | "hotKeyConfig.hotKeys.m.modifiers" | `hotKeyConfig.hotKeys.m.modifiers.${number}` | "hotKeyConfig.hotKeys.m.event" | "hotKeyConfig.hotKeys.n.modifiers" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.n.event" | "hotKeyConfig.hotKeys.o.modifiers" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.o.event" | "hotKeyConfig.hotKeys.p.modifiers" | `hotKeyConfig.hotKeys.p.modifiers.${number}` | "hotKeyConfig.hotKeys.p.event" | "hotKeyConfig.hotKeys.q.modifiers" | `hotKeyConfig.hotKeys.q.modifiers.${number}` | "hotKeyConfig.hotKeys.q.event" | "hotKeyConfig.hotKeys.r.modifiers" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.r.event" | "hotKeyConfig.hotKeys.s.modifiers" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.s.event" | "hotKeyConfig.hotKeys.t.modifiers" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.t.event" | "hotKeyConfig.hotKeys.u.modifiers" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.u.event" | "hotKeyConfig.hotKeys.v.modifiers" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.v.event" | "hotKeyConfig.hotKeys.w.modifiers" | `hotKeyConfig.hotKeys.w.modifiers.${number}` | "hotKeyConfig.hotKeys.w.event" | "hotKeyConfig.hotKeys.x.modifiers" | `hotKeyConfig.hotKeys.x.modifiers.${number}` | "hotKeyConfig.hotKeys.x.event" | "hotKeyConfig.hotKeys.y.modifiers" | `hotKeyConfig.hotKeys.y.modifiers.${number}` | "hotKeyConfig.hotKeys.y.event" | "hotKeyConfig.hotKeys.z.modifiers" | `hotKeyConfig.hotKeys.z.modifiers.${number}` | "hotKeyConfig.hotKeys.z.event" | "hotKeyConfig.hotKeys.*.modifiers" | `hotKeyConfig.hotKeys.*.modifiers.${number}` | "hotKeyConfig.hotKeys.*.event" | "hotKeyConfig.hotKeys.+.modifiers" | `hotKeyConfig.hotKeys.+.modifiers.${number}` | "hotKeyConfig.hotKeys.+.event" | "hotKeyConfig.hotKeys.-.modifiers" | `hotKeyConfig.hotKeys.-.modifiers.${number}` | "hotKeyConfig.hotKeys.-.event" | "hotKeyConfig.hotKeys...modifiers" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys...event" | "hotKeyConfig.hotKeys.F1.modifiers" | `hotKeyConfig.hotKeys.F1.modifiers.${number}` | "hotKeyConfig.hotKeys.F1.event" | "hotKeyConfig.hotKeys.F2.modifiers" | `hotKeyConfig.hotKeys.F2.modifiers.${number}` | "hotKeyConfig.hotKeys.F2.event" | "hotKeyConfig.hotKeys.F3.modifiers" | `hotKeyConfig.hotKeys.F3.modifiers.${number}` | "hotKeyConfig.hotKeys.F3.event" | "hotKeyConfig.hotKeys.F4.modifiers" | `hotKeyConfig.hotKeys.F4.modifiers.${number}` | "hotKeyConfig.hotKeys.F4.event" | "hotKeyConfig.hotKeys.F5.modifiers" | `hotKeyConfig.hotKeys.F5.modifiers.${number}` | "hotKeyConfig.hotKeys.F5.event" | "hotKeyConfig.hotKeys.F6.modifiers" | `hotKeyConfig.hotKeys.F6.modifiers.${number}` | "hotKeyConfig.hotKeys.F6.event" | "hotKeyConfig.hotKeys.F7.modifiers" | `hotKeyConfig.hotKeys.F7.modifiers.${number}` | "hotKeyConfig.hotKeys.F7.event" | "hotKeyConfig.hotKeys.F8.modifiers" | `hotKeyConfig.hotKeys.F8.modifiers.${number}` | "hotKeyConfig.hotKeys.F8.event" | "hotKeyConfig.hotKeys.F9.modifiers" | `hotKeyConfig.hotKeys.F9.modifiers.${number}` | "hotKeyConfig.hotKeys.F9.event" | "hotKeyConfig.hotKeys.F10.modifiers" | `hotKeyConfig.hotKeys.F10.modifiers.${number}` | "hotKeyConfig.hotKeys.F10.event" | "hotKeyConfig.hotKeys.F11.modifiers" | `hotKeyConfig.hotKeys.F11.modifiers.${number}` | "hotKeyConfig.hotKeys.F11.event" | "hotKeyConfig.hotKeys.F12.modifiers" | `hotKeyConfig.hotKeys.F12.modifiers.${number}` | "hotKeyConfig.hotKeys.F12.event" | "hotKeyConfig.hotKeys.;.modifiers" | `hotKeyConfig.hotKeys.;.modifiers.${number}` | "hotKeyConfig.hotKeys.;.event" | "hotKeyConfig.hotKeys.=.modifiers" | `hotKeyConfig.hotKeys.=.modifiers.${number}` | "hotKeyConfig.hotKeys.=.event" | "hotKeyConfig.hotKeys.,.modifiers" | `hotKeyConfig.hotKeys.,.modifiers.${number}` | "hotKeyConfig.hotKeys.,.event" | "hotKeyConfig.hotKeys.`.modifiers" | `hotKeyConfig.hotKeys.\`.modifiers.${number}` | "hotKeyConfig.hotKeys.`.event" | "hotKeyConfig.hotKeys.[.modifiers" | `hotKeyConfig.hotKeys.[.modifiers.${number}` | "hotKeyConfig.hotKeys.[.event" | "hotKeyConfig.hotKeys.\\.modifiers" | `hotKeyConfig.hotKeys.\\.modifiers.${number}` | "hotKeyConfig.hotKeys.\\.event" | "hotKeyConfig.hotKeys.].modifiers" | `hotKeyConfig.hotKeys.].modifiers.${number}` | "hotKeyConfig.hotKeys.].event">(uid: string, path: P, value: P extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "hotKeyConfig" | "proxyUrl" ? {
|
|
4050
3492
|
uid: string;
|
|
4051
3493
|
name: string;
|
|
4052
3494
|
description: string;
|
|
4053
|
-
isReadOnly: boolean;
|
|
4054
3495
|
collections: string[];
|
|
4055
3496
|
environments: string[];
|
|
4056
3497
|
activeEnvironmentId: string;
|
|
4057
3498
|
cookies: string[];
|
|
4058
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3499
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4059
3500
|
hotKeyConfig?: {
|
|
4060
3501
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4061
3502
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4064,16 +3505,15 @@ export declare const useApiClientModal: () => {
|
|
|
4064
3505
|
}>> | undefined;
|
|
4065
3506
|
} | undefined;
|
|
4066
3507
|
proxyUrl?: string | undefined;
|
|
4067
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "cookies" | "
|
|
3508
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "hotKeyConfig" | "proxyUrl" ? R extends Path< {
|
|
4068
3509
|
uid: string;
|
|
4069
3510
|
name: string;
|
|
4070
3511
|
description: string;
|
|
4071
|
-
isReadOnly: boolean;
|
|
4072
3512
|
collections: string[];
|
|
4073
3513
|
environments: string[];
|
|
4074
3514
|
activeEnvironmentId: string;
|
|
4075
3515
|
cookies: string[];
|
|
4076
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3516
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4077
3517
|
hotKeyConfig?: {
|
|
4078
3518
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4079
3519
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4086,12 +3526,11 @@ export declare const useApiClientModal: () => {
|
|
|
4086
3526
|
uid: string;
|
|
4087
3527
|
name: string;
|
|
4088
3528
|
description: string;
|
|
4089
|
-
isReadOnly: boolean;
|
|
4090
3529
|
collections: string[];
|
|
4091
3530
|
environments: string[];
|
|
4092
3531
|
activeEnvironmentId: string;
|
|
4093
3532
|
cookies: string[];
|
|
4094
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3533
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4095
3534
|
hotKeyConfig?: {
|
|
4096
3535
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4097
3536
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4101,16 +3540,15 @@ export declare const useApiClientModal: () => {
|
|
|
4101
3540
|
} | undefined;
|
|
4102
3541
|
proxyUrl?: string | undefined;
|
|
4103
3542
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
4104
|
-
untrackedEdit: <P extends "cookies" | "name" | "description" | "uid" | "collections" | "environments" | "isReadOnly" | "activeEnvironmentId" | "themeId" | "hotKeyConfig" | "proxyUrl" | `cookies.${number}` | `collections.${number}` | `environments.${number}` | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "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..modifiers" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys..event" | "hotKeyConfig.hotKeys.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.event" | "hotKeyConfig.hotKeys.1.modifiers" | `hotKeyConfig.hotKeys.1.modifiers.${number}` | "hotKeyConfig.hotKeys.1.event" | "hotKeyConfig.hotKeys.n.modifiers" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.n.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.i.modifiers" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.i.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.s.modifiers" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.s.event" | "hotKeyConfig.hotKeys.u.modifiers" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.u.event" | "hotKeyConfig.hotKeys...modifiers" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys...event" | "hotKeyConfig.hotKeys.g.modifiers" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.g.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.k.modifiers" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.k.event" | "hotKeyConfig.hotKeys.v.modifiers" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.v.event" | "hotKeyConfig.hotKeys.2.modifiers" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.2.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.Delete.modifiers" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.event" | "hotKeyConfig.hotKeys.Backspace.modifiers" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.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.Space.modifiers" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.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.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.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.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.h.modifiers" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.h.event" | "hotKeyConfig.hotKeys.j.modifiers" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.j.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.o.modifiers" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.o.event" | "hotKeyConfig.hotKeys.r.modifiers" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.r.event" | "hotKeyConfig.hotKeys.t.modifiers" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.t.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.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">(uid: string, path: P, value: P extends "cookies" | "name" | "description" | "uid" | "collections" | "environments" | "isReadOnly" | "activeEnvironmentId" | "themeId" | "hotKeyConfig" | "proxyUrl" ? {
|
|
3543
|
+
untrackedEdit: <P extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "hotKeyConfig" | "proxyUrl" | `cookies.${number}` | `collections.${number}` | `environments.${number}` | "hotKeyConfig.modifiers" | "hotKeyConfig.hotKeys" | `hotKeyConfig.modifiers.${number}` | "hotKeyConfig.hotKeys." | "hotKeyConfig.hotKeys./" | "hotKeyConfig.hotKeys.Space" | "hotKeyConfig.hotKeys.Backspace" | "hotKeyConfig.hotKeys.Tab" | "hotKeyConfig.hotKeys.Enter" | "hotKeyConfig.hotKeys.Escape" | "hotKeyConfig.hotKeys.ArrowDown" | "hotKeyConfig.hotKeys.ArrowLeft" | "hotKeyConfig.hotKeys.ArrowRight" | "hotKeyConfig.hotKeys.ArrowUp" | "hotKeyConfig.hotKeys.End" | "hotKeyConfig.hotKeys.Home" | "hotKeyConfig.hotKeys.PageDown" | "hotKeyConfig.hotKeys.PageUp" | "hotKeyConfig.hotKeys.Delete" | "hotKeyConfig.hotKeys.0" | "hotKeyConfig.hotKeys.1" | "hotKeyConfig.hotKeys.2" | "hotKeyConfig.hotKeys.3" | "hotKeyConfig.hotKeys.4" | "hotKeyConfig.hotKeys.5" | "hotKeyConfig.hotKeys.6" | "hotKeyConfig.hotKeys.7" | "hotKeyConfig.hotKeys.8" | "hotKeyConfig.hotKeys.9" | "hotKeyConfig.hotKeys.a" | "hotKeyConfig.hotKeys.b" | "hotKeyConfig.hotKeys.c" | "hotKeyConfig.hotKeys.d" | "hotKeyConfig.hotKeys.e" | "hotKeyConfig.hotKeys.f" | "hotKeyConfig.hotKeys.g" | "hotKeyConfig.hotKeys.h" | "hotKeyConfig.hotKeys.i" | "hotKeyConfig.hotKeys.j" | "hotKeyConfig.hotKeys.k" | "hotKeyConfig.hotKeys.l" | "hotKeyConfig.hotKeys.m" | "hotKeyConfig.hotKeys.n" | "hotKeyConfig.hotKeys.o" | "hotKeyConfig.hotKeys.p" | "hotKeyConfig.hotKeys.q" | "hotKeyConfig.hotKeys.r" | "hotKeyConfig.hotKeys.s" | "hotKeyConfig.hotKeys.t" | "hotKeyConfig.hotKeys.u" | "hotKeyConfig.hotKeys.v" | "hotKeyConfig.hotKeys.w" | "hotKeyConfig.hotKeys.x" | "hotKeyConfig.hotKeys.y" | "hotKeyConfig.hotKeys.z" | "hotKeyConfig.hotKeys.*" | "hotKeyConfig.hotKeys.+" | "hotKeyConfig.hotKeys.-" | "hotKeyConfig.hotKeys.." | "hotKeyConfig.hotKeys.F1" | "hotKeyConfig.hotKeys.F2" | "hotKeyConfig.hotKeys.F3" | "hotKeyConfig.hotKeys.F4" | "hotKeyConfig.hotKeys.F5" | "hotKeyConfig.hotKeys.F6" | "hotKeyConfig.hotKeys.F7" | "hotKeyConfig.hotKeys.F8" | "hotKeyConfig.hotKeys.F9" | "hotKeyConfig.hotKeys.F10" | "hotKeyConfig.hotKeys.F11" | "hotKeyConfig.hotKeys.F12" | "hotKeyConfig.hotKeys.;" | "hotKeyConfig.hotKeys.=" | "hotKeyConfig.hotKeys.," | "hotKeyConfig.hotKeys.`" | "hotKeyConfig.hotKeys.[" | "hotKeyConfig.hotKeys.\\" | "hotKeyConfig.hotKeys.]" | "hotKeyConfig.hotKeys..modifiers" | `hotKeyConfig.hotKeys..modifiers.${number}` | "hotKeyConfig.hotKeys..event" | "hotKeyConfig.hotKeys./.modifiers" | `hotKeyConfig.hotKeys./.modifiers.${number}` | "hotKeyConfig.hotKeys./.event" | "hotKeyConfig.hotKeys.Space.modifiers" | `hotKeyConfig.hotKeys.Space.modifiers.${number}` | "hotKeyConfig.hotKeys.Space.event" | "hotKeyConfig.hotKeys.Backspace.modifiers" | `hotKeyConfig.hotKeys.Backspace.modifiers.${number}` | "hotKeyConfig.hotKeys.Backspace.event" | "hotKeyConfig.hotKeys.Tab.modifiers" | `hotKeyConfig.hotKeys.Tab.modifiers.${number}` | "hotKeyConfig.hotKeys.Tab.event" | "hotKeyConfig.hotKeys.Enter.modifiers" | `hotKeyConfig.hotKeys.Enter.modifiers.${number}` | "hotKeyConfig.hotKeys.Enter.event" | "hotKeyConfig.hotKeys.Escape.modifiers" | `hotKeyConfig.hotKeys.Escape.modifiers.${number}` | "hotKeyConfig.hotKeys.Escape.event" | "hotKeyConfig.hotKeys.ArrowDown.modifiers" | `hotKeyConfig.hotKeys.ArrowDown.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowDown.event" | "hotKeyConfig.hotKeys.ArrowLeft.modifiers" | `hotKeyConfig.hotKeys.ArrowLeft.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowLeft.event" | "hotKeyConfig.hotKeys.ArrowRight.modifiers" | `hotKeyConfig.hotKeys.ArrowRight.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowRight.event" | "hotKeyConfig.hotKeys.ArrowUp.modifiers" | `hotKeyConfig.hotKeys.ArrowUp.modifiers.${number}` | "hotKeyConfig.hotKeys.ArrowUp.event" | "hotKeyConfig.hotKeys.End.modifiers" | `hotKeyConfig.hotKeys.End.modifiers.${number}` | "hotKeyConfig.hotKeys.End.event" | "hotKeyConfig.hotKeys.Home.modifiers" | `hotKeyConfig.hotKeys.Home.modifiers.${number}` | "hotKeyConfig.hotKeys.Home.event" | "hotKeyConfig.hotKeys.PageDown.modifiers" | `hotKeyConfig.hotKeys.PageDown.modifiers.${number}` | "hotKeyConfig.hotKeys.PageDown.event" | "hotKeyConfig.hotKeys.PageUp.modifiers" | `hotKeyConfig.hotKeys.PageUp.modifiers.${number}` | "hotKeyConfig.hotKeys.PageUp.event" | "hotKeyConfig.hotKeys.Delete.modifiers" | `hotKeyConfig.hotKeys.Delete.modifiers.${number}` | "hotKeyConfig.hotKeys.Delete.event" | "hotKeyConfig.hotKeys.0.modifiers" | `hotKeyConfig.hotKeys.0.modifiers.${number}` | "hotKeyConfig.hotKeys.0.event" | "hotKeyConfig.hotKeys.1.modifiers" | `hotKeyConfig.hotKeys.1.modifiers.${number}` | "hotKeyConfig.hotKeys.1.event" | "hotKeyConfig.hotKeys.2.modifiers" | `hotKeyConfig.hotKeys.2.modifiers.${number}` | "hotKeyConfig.hotKeys.2.event" | "hotKeyConfig.hotKeys.3.modifiers" | `hotKeyConfig.hotKeys.3.modifiers.${number}` | "hotKeyConfig.hotKeys.3.event" | "hotKeyConfig.hotKeys.4.modifiers" | `hotKeyConfig.hotKeys.4.modifiers.${number}` | "hotKeyConfig.hotKeys.4.event" | "hotKeyConfig.hotKeys.5.modifiers" | `hotKeyConfig.hotKeys.5.modifiers.${number}` | "hotKeyConfig.hotKeys.5.event" | "hotKeyConfig.hotKeys.6.modifiers" | `hotKeyConfig.hotKeys.6.modifiers.${number}` | "hotKeyConfig.hotKeys.6.event" | "hotKeyConfig.hotKeys.7.modifiers" | `hotKeyConfig.hotKeys.7.modifiers.${number}` | "hotKeyConfig.hotKeys.7.event" | "hotKeyConfig.hotKeys.8.modifiers" | `hotKeyConfig.hotKeys.8.modifiers.${number}` | "hotKeyConfig.hotKeys.8.event" | "hotKeyConfig.hotKeys.9.modifiers" | `hotKeyConfig.hotKeys.9.modifiers.${number}` | "hotKeyConfig.hotKeys.9.event" | "hotKeyConfig.hotKeys.a.modifiers" | `hotKeyConfig.hotKeys.a.modifiers.${number}` | "hotKeyConfig.hotKeys.a.event" | "hotKeyConfig.hotKeys.b.modifiers" | `hotKeyConfig.hotKeys.b.modifiers.${number}` | "hotKeyConfig.hotKeys.b.event" | "hotKeyConfig.hotKeys.c.modifiers" | `hotKeyConfig.hotKeys.c.modifiers.${number}` | "hotKeyConfig.hotKeys.c.event" | "hotKeyConfig.hotKeys.d.modifiers" | `hotKeyConfig.hotKeys.d.modifiers.${number}` | "hotKeyConfig.hotKeys.d.event" | "hotKeyConfig.hotKeys.e.modifiers" | `hotKeyConfig.hotKeys.e.modifiers.${number}` | "hotKeyConfig.hotKeys.e.event" | "hotKeyConfig.hotKeys.f.modifiers" | `hotKeyConfig.hotKeys.f.modifiers.${number}` | "hotKeyConfig.hotKeys.f.event" | "hotKeyConfig.hotKeys.g.modifiers" | `hotKeyConfig.hotKeys.g.modifiers.${number}` | "hotKeyConfig.hotKeys.g.event" | "hotKeyConfig.hotKeys.h.modifiers" | `hotKeyConfig.hotKeys.h.modifiers.${number}` | "hotKeyConfig.hotKeys.h.event" | "hotKeyConfig.hotKeys.i.modifiers" | `hotKeyConfig.hotKeys.i.modifiers.${number}` | "hotKeyConfig.hotKeys.i.event" | "hotKeyConfig.hotKeys.j.modifiers" | `hotKeyConfig.hotKeys.j.modifiers.${number}` | "hotKeyConfig.hotKeys.j.event" | "hotKeyConfig.hotKeys.k.modifiers" | `hotKeyConfig.hotKeys.k.modifiers.${number}` | "hotKeyConfig.hotKeys.k.event" | "hotKeyConfig.hotKeys.l.modifiers" | `hotKeyConfig.hotKeys.l.modifiers.${number}` | "hotKeyConfig.hotKeys.l.event" | "hotKeyConfig.hotKeys.m.modifiers" | `hotKeyConfig.hotKeys.m.modifiers.${number}` | "hotKeyConfig.hotKeys.m.event" | "hotKeyConfig.hotKeys.n.modifiers" | `hotKeyConfig.hotKeys.n.modifiers.${number}` | "hotKeyConfig.hotKeys.n.event" | "hotKeyConfig.hotKeys.o.modifiers" | `hotKeyConfig.hotKeys.o.modifiers.${number}` | "hotKeyConfig.hotKeys.o.event" | "hotKeyConfig.hotKeys.p.modifiers" | `hotKeyConfig.hotKeys.p.modifiers.${number}` | "hotKeyConfig.hotKeys.p.event" | "hotKeyConfig.hotKeys.q.modifiers" | `hotKeyConfig.hotKeys.q.modifiers.${number}` | "hotKeyConfig.hotKeys.q.event" | "hotKeyConfig.hotKeys.r.modifiers" | `hotKeyConfig.hotKeys.r.modifiers.${number}` | "hotKeyConfig.hotKeys.r.event" | "hotKeyConfig.hotKeys.s.modifiers" | `hotKeyConfig.hotKeys.s.modifiers.${number}` | "hotKeyConfig.hotKeys.s.event" | "hotKeyConfig.hotKeys.t.modifiers" | `hotKeyConfig.hotKeys.t.modifiers.${number}` | "hotKeyConfig.hotKeys.t.event" | "hotKeyConfig.hotKeys.u.modifiers" | `hotKeyConfig.hotKeys.u.modifiers.${number}` | "hotKeyConfig.hotKeys.u.event" | "hotKeyConfig.hotKeys.v.modifiers" | `hotKeyConfig.hotKeys.v.modifiers.${number}` | "hotKeyConfig.hotKeys.v.event" | "hotKeyConfig.hotKeys.w.modifiers" | `hotKeyConfig.hotKeys.w.modifiers.${number}` | "hotKeyConfig.hotKeys.w.event" | "hotKeyConfig.hotKeys.x.modifiers" | `hotKeyConfig.hotKeys.x.modifiers.${number}` | "hotKeyConfig.hotKeys.x.event" | "hotKeyConfig.hotKeys.y.modifiers" | `hotKeyConfig.hotKeys.y.modifiers.${number}` | "hotKeyConfig.hotKeys.y.event" | "hotKeyConfig.hotKeys.z.modifiers" | `hotKeyConfig.hotKeys.z.modifiers.${number}` | "hotKeyConfig.hotKeys.z.event" | "hotKeyConfig.hotKeys.*.modifiers" | `hotKeyConfig.hotKeys.*.modifiers.${number}` | "hotKeyConfig.hotKeys.*.event" | "hotKeyConfig.hotKeys.+.modifiers" | `hotKeyConfig.hotKeys.+.modifiers.${number}` | "hotKeyConfig.hotKeys.+.event" | "hotKeyConfig.hotKeys.-.modifiers" | `hotKeyConfig.hotKeys.-.modifiers.${number}` | "hotKeyConfig.hotKeys.-.event" | "hotKeyConfig.hotKeys...modifiers" | `hotKeyConfig.hotKeys...modifiers.${number}` | "hotKeyConfig.hotKeys...event" | "hotKeyConfig.hotKeys.F1.modifiers" | `hotKeyConfig.hotKeys.F1.modifiers.${number}` | "hotKeyConfig.hotKeys.F1.event" | "hotKeyConfig.hotKeys.F2.modifiers" | `hotKeyConfig.hotKeys.F2.modifiers.${number}` | "hotKeyConfig.hotKeys.F2.event" | "hotKeyConfig.hotKeys.F3.modifiers" | `hotKeyConfig.hotKeys.F3.modifiers.${number}` | "hotKeyConfig.hotKeys.F3.event" | "hotKeyConfig.hotKeys.F4.modifiers" | `hotKeyConfig.hotKeys.F4.modifiers.${number}` | "hotKeyConfig.hotKeys.F4.event" | "hotKeyConfig.hotKeys.F5.modifiers" | `hotKeyConfig.hotKeys.F5.modifiers.${number}` | "hotKeyConfig.hotKeys.F5.event" | "hotKeyConfig.hotKeys.F6.modifiers" | `hotKeyConfig.hotKeys.F6.modifiers.${number}` | "hotKeyConfig.hotKeys.F6.event" | "hotKeyConfig.hotKeys.F7.modifiers" | `hotKeyConfig.hotKeys.F7.modifiers.${number}` | "hotKeyConfig.hotKeys.F7.event" | "hotKeyConfig.hotKeys.F8.modifiers" | `hotKeyConfig.hotKeys.F8.modifiers.${number}` | "hotKeyConfig.hotKeys.F8.event" | "hotKeyConfig.hotKeys.F9.modifiers" | `hotKeyConfig.hotKeys.F9.modifiers.${number}` | "hotKeyConfig.hotKeys.F9.event" | "hotKeyConfig.hotKeys.F10.modifiers" | `hotKeyConfig.hotKeys.F10.modifiers.${number}` | "hotKeyConfig.hotKeys.F10.event" | "hotKeyConfig.hotKeys.F11.modifiers" | `hotKeyConfig.hotKeys.F11.modifiers.${number}` | "hotKeyConfig.hotKeys.F11.event" | "hotKeyConfig.hotKeys.F12.modifiers" | `hotKeyConfig.hotKeys.F12.modifiers.${number}` | "hotKeyConfig.hotKeys.F12.event" | "hotKeyConfig.hotKeys.;.modifiers" | `hotKeyConfig.hotKeys.;.modifiers.${number}` | "hotKeyConfig.hotKeys.;.event" | "hotKeyConfig.hotKeys.=.modifiers" | `hotKeyConfig.hotKeys.=.modifiers.${number}` | "hotKeyConfig.hotKeys.=.event" | "hotKeyConfig.hotKeys.,.modifiers" | `hotKeyConfig.hotKeys.,.modifiers.${number}` | "hotKeyConfig.hotKeys.,.event" | "hotKeyConfig.hotKeys.`.modifiers" | `hotKeyConfig.hotKeys.\`.modifiers.${number}` | "hotKeyConfig.hotKeys.`.event" | "hotKeyConfig.hotKeys.[.modifiers" | `hotKeyConfig.hotKeys.[.modifiers.${number}` | "hotKeyConfig.hotKeys.[.event" | "hotKeyConfig.hotKeys.\\.modifiers" | `hotKeyConfig.hotKeys.\\.modifiers.${number}` | "hotKeyConfig.hotKeys.\\.event" | "hotKeyConfig.hotKeys.].modifiers" | `hotKeyConfig.hotKeys.].modifiers.${number}` | "hotKeyConfig.hotKeys.].event">(uid: string, path: P, value: P extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "hotKeyConfig" | "proxyUrl" ? {
|
|
4105
3544
|
uid: string;
|
|
4106
3545
|
name: string;
|
|
4107
3546
|
description: string;
|
|
4108
|
-
isReadOnly: boolean;
|
|
4109
3547
|
collections: string[];
|
|
4110
3548
|
environments: string[];
|
|
4111
3549
|
activeEnvironmentId: string;
|
|
4112
3550
|
cookies: string[];
|
|
4113
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3551
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4114
3552
|
hotKeyConfig?: {
|
|
4115
3553
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4116
3554
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4119,16 +3557,15 @@ export declare const useApiClientModal: () => {
|
|
|
4119
3557
|
}>> | undefined;
|
|
4120
3558
|
} | undefined;
|
|
4121
3559
|
proxyUrl?: string | undefined;
|
|
4122
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "cookies" | "
|
|
3560
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "cookies" | "description" | "name" | "uid" | "collections" | "environments" | "activeEnvironmentId" | "themeId" | "hotKeyConfig" | "proxyUrl" ? R extends Path< {
|
|
4123
3561
|
uid: string;
|
|
4124
3562
|
name: string;
|
|
4125
3563
|
description: string;
|
|
4126
|
-
isReadOnly: boolean;
|
|
4127
3564
|
collections: string[];
|
|
4128
3565
|
environments: string[];
|
|
4129
3566
|
activeEnvironmentId: string;
|
|
4130
3567
|
cookies: string[];
|
|
4131
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3568
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4132
3569
|
hotKeyConfig?: {
|
|
4133
3570
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4134
3571
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|
|
@@ -4141,12 +3578,11 @@ export declare const useApiClientModal: () => {
|
|
|
4141
3578
|
uid: string;
|
|
4142
3579
|
name: string;
|
|
4143
3580
|
description: string;
|
|
4144
|
-
isReadOnly: boolean;
|
|
4145
3581
|
collections: string[];
|
|
4146
3582
|
environments: string[];
|
|
4147
3583
|
activeEnvironmentId: string;
|
|
4148
3584
|
cookies: string[];
|
|
4149
|
-
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "mars" | "none";
|
|
3585
|
+
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "none";
|
|
4150
3586
|
hotKeyConfig?: {
|
|
4151
3587
|
modifiers: ("Meta" | "Control" | "Shift" | "Alt" | "default")[];
|
|
4152
3588
|
hotKeys?: Partial<Record<"" | "/" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "*" | "+" | "-" | "." | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]", {
|