@scalar/api-client-react 1.0.87 → 1.0.88
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 +9 -0
- package/dist/index.d.ts +312 -146
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import { PathValue } from '@scalar/object-utils/nested';
|
|
|
14
14
|
import { PropsWithChildren } from 'react';
|
|
15
15
|
import { Reactive } from 'vue';
|
|
16
16
|
import { Ref } from 'vue';
|
|
17
|
-
import { ReferenceConfiguration } from '@scalar/types
|
|
17
|
+
import { ReferenceConfiguration } from '@scalar/types';
|
|
18
18
|
import { Request as Request_2 } from '@scalar/oas-utils/entities/spec';
|
|
19
19
|
import { RequestEvent } from '@scalar/oas-utils/entities/spec';
|
|
20
20
|
import { RequestExample } from '@scalar/oas-utils/entities/spec';
|
|
@@ -23,7 +23,7 @@ import { RequestStatus } from '@scalar/api-client/libs';
|
|
|
23
23
|
import { Router } from 'vue-router';
|
|
24
24
|
import { SecuritySchemePayload } from '@scalar/oas-utils/entities/spec';
|
|
25
25
|
import { ServerPayload } from '@scalar/oas-utils/entities/spec';
|
|
26
|
-
import { SpecConfiguration } from '@scalar/types
|
|
26
|
+
import { SpecConfiguration } from '@scalar/types';
|
|
27
27
|
import { Tag } from '@scalar/oas-utils/entities/spec';
|
|
28
28
|
import { TagPayload } from '@scalar/oas-utils/entities/spec';
|
|
29
29
|
import { Workspace } from '@scalar/oas-utils/entities';
|
|
@@ -148,6 +148,19 @@ export declare const useApiClientModal: () => {
|
|
|
148
148
|
} | undefined;
|
|
149
149
|
components?: Record<string, unknown> | undefined;
|
|
150
150
|
webhooks?: Record<string, unknown> | undefined;
|
|
151
|
+
"x-scalar-environment"?: string | undefined;
|
|
152
|
+
"x-scalar-environments"?: Record<string, {
|
|
153
|
+
variables: Record<string, string | {
|
|
154
|
+
default: string;
|
|
155
|
+
description?: string | undefined;
|
|
156
|
+
}>;
|
|
157
|
+
description?: string | undefined;
|
|
158
|
+
color?: string | undefined;
|
|
159
|
+
}> | undefined;
|
|
160
|
+
"x-scalar-secrets"?: Record<string, {
|
|
161
|
+
description?: string | undefined;
|
|
162
|
+
example?: string | undefined;
|
|
163
|
+
}> | undefined;
|
|
151
164
|
documentUrl?: string | undefined;
|
|
152
165
|
integration?: string | null | undefined;
|
|
153
166
|
}>;
|
|
@@ -155,15 +168,15 @@ export declare const useApiClientModal: () => {
|
|
|
155
168
|
type: "tag";
|
|
156
169
|
uid: string;
|
|
157
170
|
name: string;
|
|
158
|
-
"x-scalar-children": {
|
|
159
|
-
tagName: string;
|
|
160
|
-
}[];
|
|
161
171
|
children: string[];
|
|
162
172
|
description?: string | undefined;
|
|
163
173
|
externalDocs?: {
|
|
164
174
|
url: string;
|
|
165
175
|
description?: string | undefined;
|
|
166
176
|
} | undefined;
|
|
177
|
+
"x-scalar-children"?: {
|
|
178
|
+
tagName: string;
|
|
179
|
+
}[] | undefined;
|
|
167
180
|
}>;
|
|
168
181
|
cookies: Record<string, {
|
|
169
182
|
value: string;
|
|
@@ -190,7 +203,7 @@ export declare const useApiClientModal: () => {
|
|
|
190
203
|
uid: string;
|
|
191
204
|
name: string;
|
|
192
205
|
body: {
|
|
193
|
-
activeBody: "formData" | "
|
|
206
|
+
activeBody: "formData" | "binary" | "raw";
|
|
194
207
|
formData?: {
|
|
195
208
|
value: {
|
|
196
209
|
value: string;
|
|
@@ -205,16 +218,15 @@ export declare const useApiClientModal: () => {
|
|
|
205
218
|
enum?: string[] | undefined;
|
|
206
219
|
format?: string | undefined;
|
|
207
220
|
file?: any;
|
|
208
|
-
refUid?: string | undefined;
|
|
209
221
|
nullable?: boolean | undefined;
|
|
210
222
|
}[];
|
|
211
223
|
encoding: "form-data" | "urlencoded";
|
|
212
224
|
} | undefined;
|
|
225
|
+
binary?: Blob | undefined;
|
|
213
226
|
raw?: {
|
|
214
227
|
value: string;
|
|
215
228
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
216
229
|
} | undefined;
|
|
217
|
-
binary?: Blob | undefined;
|
|
218
230
|
};
|
|
219
231
|
requestUid: string;
|
|
220
232
|
parameters: {
|
|
@@ -231,7 +243,6 @@ export declare const useApiClientModal: () => {
|
|
|
231
243
|
enum?: string[] | undefined;
|
|
232
244
|
format?: string | undefined;
|
|
233
245
|
file?: any;
|
|
234
|
-
refUid?: string | undefined;
|
|
235
246
|
nullable?: boolean | undefined;
|
|
236
247
|
}[];
|
|
237
248
|
cookies: {
|
|
@@ -247,7 +258,6 @@ export declare const useApiClientModal: () => {
|
|
|
247
258
|
enum?: string[] | undefined;
|
|
248
259
|
format?: string | undefined;
|
|
249
260
|
file?: any;
|
|
250
|
-
refUid?: string | undefined;
|
|
251
261
|
nullable?: boolean | undefined;
|
|
252
262
|
}[];
|
|
253
263
|
query: {
|
|
@@ -263,7 +273,6 @@ export declare const useApiClientModal: () => {
|
|
|
263
273
|
enum?: string[] | undefined;
|
|
264
274
|
format?: string | undefined;
|
|
265
275
|
file?: any;
|
|
266
|
-
refUid?: string | undefined;
|
|
267
276
|
nullable?: boolean | undefined;
|
|
268
277
|
}[];
|
|
269
278
|
headers: {
|
|
@@ -279,7 +288,6 @@ export declare const useApiClientModal: () => {
|
|
|
279
288
|
enum?: string[] | undefined;
|
|
280
289
|
format?: string | undefined;
|
|
281
290
|
file?: any;
|
|
282
|
-
refUid?: string | undefined;
|
|
283
291
|
nullable?: boolean | undefined;
|
|
284
292
|
}[];
|
|
285
293
|
};
|
|
@@ -310,10 +318,10 @@ export declare const useApiClientModal: () => {
|
|
|
310
318
|
in: "path" | "query" | "header" | "cookie";
|
|
311
319
|
deprecated: boolean;
|
|
312
320
|
description?: string | undefined;
|
|
321
|
+
example?: unknown;
|
|
313
322
|
schema?: unknown;
|
|
314
323
|
content?: unknown;
|
|
315
324
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
316
|
-
example?: unknown;
|
|
317
325
|
examples?: Record<string, {
|
|
318
326
|
value?: unknown;
|
|
319
327
|
summary?: string | undefined;
|
|
@@ -452,6 +460,19 @@ export declare const useApiClientModal: () => {
|
|
|
452
460
|
} | undefined;
|
|
453
461
|
components?: Record<string, unknown> | undefined;
|
|
454
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;
|
|
455
476
|
documentUrl?: string | undefined;
|
|
456
477
|
integration?: string | null | undefined;
|
|
457
478
|
} | undefined>;
|
|
@@ -461,7 +482,7 @@ export declare const useApiClientModal: () => {
|
|
|
461
482
|
uid: string;
|
|
462
483
|
name: string;
|
|
463
484
|
body: {
|
|
464
|
-
activeBody: "formData" | "
|
|
485
|
+
activeBody: "formData" | "binary" | "raw";
|
|
465
486
|
formData?: {
|
|
466
487
|
value: {
|
|
467
488
|
value: string;
|
|
@@ -476,16 +497,15 @@ export declare const useApiClientModal: () => {
|
|
|
476
497
|
enum?: string[] | undefined;
|
|
477
498
|
format?: string | undefined;
|
|
478
499
|
file?: any;
|
|
479
|
-
refUid?: string | undefined;
|
|
480
500
|
nullable?: boolean | undefined;
|
|
481
501
|
}[];
|
|
482
502
|
encoding: "form-data" | "urlencoded";
|
|
483
503
|
} | undefined;
|
|
504
|
+
binary?: Blob | undefined;
|
|
484
505
|
raw?: {
|
|
485
506
|
value: string;
|
|
486
507
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
487
508
|
} | undefined;
|
|
488
|
-
binary?: Blob | undefined;
|
|
489
509
|
};
|
|
490
510
|
requestUid: string;
|
|
491
511
|
parameters: {
|
|
@@ -502,7 +522,6 @@ export declare const useApiClientModal: () => {
|
|
|
502
522
|
enum?: string[] | undefined;
|
|
503
523
|
format?: string | undefined;
|
|
504
524
|
file?: any;
|
|
505
|
-
refUid?: string | undefined;
|
|
506
525
|
nullable?: boolean | undefined;
|
|
507
526
|
}[];
|
|
508
527
|
cookies: {
|
|
@@ -518,7 +537,6 @@ export declare const useApiClientModal: () => {
|
|
|
518
537
|
enum?: string[] | undefined;
|
|
519
538
|
format?: string | undefined;
|
|
520
539
|
file?: any;
|
|
521
|
-
refUid?: string | undefined;
|
|
522
540
|
nullable?: boolean | undefined;
|
|
523
541
|
}[];
|
|
524
542
|
query: {
|
|
@@ -534,7 +552,6 @@ export declare const useApiClientModal: () => {
|
|
|
534
552
|
enum?: string[] | undefined;
|
|
535
553
|
format?: string | undefined;
|
|
536
554
|
file?: any;
|
|
537
|
-
refUid?: string | undefined;
|
|
538
555
|
nullable?: boolean | undefined;
|
|
539
556
|
}[];
|
|
540
557
|
headers: {
|
|
@@ -550,7 +567,6 @@ export declare const useApiClientModal: () => {
|
|
|
550
567
|
enum?: string[] | undefined;
|
|
551
568
|
format?: string | undefined;
|
|
552
569
|
file?: any;
|
|
553
|
-
refUid?: string | undefined;
|
|
554
570
|
nullable?: boolean | undefined;
|
|
555
571
|
}[];
|
|
556
572
|
};
|
|
@@ -581,10 +597,10 @@ export declare const useApiClientModal: () => {
|
|
|
581
597
|
in: "path" | "query" | "header" | "cookie";
|
|
582
598
|
deprecated: boolean;
|
|
583
599
|
description?: string | undefined;
|
|
600
|
+
example?: unknown;
|
|
584
601
|
schema?: unknown;
|
|
585
602
|
content?: unknown;
|
|
586
603
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
587
|
-
example?: unknown;
|
|
588
604
|
examples?: Record<string, {
|
|
589
605
|
value?: unknown;
|
|
590
606
|
summary?: string | undefined;
|
|
@@ -704,6 +720,19 @@ export declare const useApiClientModal: () => {
|
|
|
704
720
|
} | undefined;
|
|
705
721
|
components?: Record<string, unknown> | undefined;
|
|
706
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;
|
|
707
736
|
documentUrl?: string | undefined;
|
|
708
737
|
integration?: string | null | undefined;
|
|
709
738
|
}[]>;
|
|
@@ -770,6 +799,19 @@ export declare const useApiClientModal: () => {
|
|
|
770
799
|
components?: Record<string, unknown> | undefined;
|
|
771
800
|
webhooks?: Record<string, unknown> | undefined;
|
|
772
801
|
"x-scalar-icon"?: string | undefined;
|
|
802
|
+
"x-scalar-environment"?: string | undefined;
|
|
803
|
+
"x-scalar-environments"?: Record<string, {
|
|
804
|
+
variables: Record<string, string | {
|
|
805
|
+
default?: string | undefined;
|
|
806
|
+
description?: string | undefined;
|
|
807
|
+
}>;
|
|
808
|
+
description?: string | undefined;
|
|
809
|
+
color?: string | undefined;
|
|
810
|
+
}> | undefined;
|
|
811
|
+
"x-scalar-secrets"?: Record<string, {
|
|
812
|
+
description?: string | undefined;
|
|
813
|
+
example?: string | undefined;
|
|
814
|
+
}> | undefined;
|
|
773
815
|
securitySchemes?: string[] | undefined;
|
|
774
816
|
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
775
817
|
selectedServerUid?: string | undefined;
|
|
@@ -875,6 +917,19 @@ export declare const useApiClientModal: () => {
|
|
|
875
917
|
} | undefined;
|
|
876
918
|
components?: Record<string, unknown> | undefined;
|
|
877
919
|
webhooks?: Record<string, unknown> | undefined;
|
|
920
|
+
"x-scalar-environment"?: string | undefined;
|
|
921
|
+
"x-scalar-environments"?: Record<string, {
|
|
922
|
+
variables: Record<string, string | {
|
|
923
|
+
default: string;
|
|
924
|
+
description?: string | undefined;
|
|
925
|
+
}>;
|
|
926
|
+
description?: string | undefined;
|
|
927
|
+
color?: string | undefined;
|
|
928
|
+
}> | undefined;
|
|
929
|
+
"x-scalar-secrets"?: Record<string, {
|
|
930
|
+
description?: string | undefined;
|
|
931
|
+
example?: string | undefined;
|
|
932
|
+
}> | undefined;
|
|
878
933
|
documentUrl?: string | undefined;
|
|
879
934
|
integration?: string | null | undefined;
|
|
880
935
|
} | undefined>;
|
|
@@ -909,6 +964,19 @@ export declare const useApiClientModal: () => {
|
|
|
909
964
|
components?: Record<string, unknown> | undefined;
|
|
910
965
|
webhooks?: Record<string, unknown> | undefined;
|
|
911
966
|
"x-scalar-icon"?: string | undefined;
|
|
967
|
+
"x-scalar-environment"?: string | undefined;
|
|
968
|
+
"x-scalar-environments"?: Record<string, {
|
|
969
|
+
variables: Record<string, string | {
|
|
970
|
+
default?: string | undefined;
|
|
971
|
+
description?: string | undefined;
|
|
972
|
+
}>;
|
|
973
|
+
description?: string | undefined;
|
|
974
|
+
color?: string | undefined;
|
|
975
|
+
}> | undefined;
|
|
976
|
+
"x-scalar-secrets"?: Record<string, {
|
|
977
|
+
description?: string | undefined;
|
|
978
|
+
example?: string | undefined;
|
|
979
|
+
}> | undefined;
|
|
912
980
|
securitySchemes?: string[] | undefined;
|
|
913
981
|
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
914
982
|
selectedServerUid?: string | undefined;
|
|
@@ -979,6 +1047,19 @@ export declare const useApiClientModal: () => {
|
|
|
979
1047
|
components?: Record<string, unknown> | undefined;
|
|
980
1048
|
webhooks?: Record<string, unknown> | undefined;
|
|
981
1049
|
"x-scalar-icon"?: string | undefined;
|
|
1050
|
+
"x-scalar-environment"?: string | undefined;
|
|
1051
|
+
"x-scalar-environments"?: Record<string, {
|
|
1052
|
+
variables: Record<string, string | {
|
|
1053
|
+
default?: string | undefined;
|
|
1054
|
+
description?: string | undefined;
|
|
1055
|
+
}>;
|
|
1056
|
+
description?: string | undefined;
|
|
1057
|
+
color?: string | undefined;
|
|
1058
|
+
}> | undefined;
|
|
1059
|
+
"x-scalar-secrets"?: Record<string, {
|
|
1060
|
+
description?: string | undefined;
|
|
1061
|
+
example?: string | undefined;
|
|
1062
|
+
}> | undefined;
|
|
982
1063
|
securitySchemes?: string[] | undefined;
|
|
983
1064
|
selectedSecuritySchemeUids?: (string | undefined)[] | undefined;
|
|
984
1065
|
selectedServerUid?: string | undefined;
|
|
@@ -1084,6 +1165,19 @@ export declare const useApiClientModal: () => {
|
|
|
1084
1165
|
} | undefined;
|
|
1085
1166
|
components?: Record<string, unknown> | undefined;
|
|
1086
1167
|
webhooks?: Record<string, unknown> | undefined;
|
|
1168
|
+
"x-scalar-environment"?: string | undefined;
|
|
1169
|
+
"x-scalar-environments"?: Record<string, {
|
|
1170
|
+
variables: Record<string, string | {
|
|
1171
|
+
default: string;
|
|
1172
|
+
description?: string | undefined;
|
|
1173
|
+
}>;
|
|
1174
|
+
description?: string | undefined;
|
|
1175
|
+
color?: string | undefined;
|
|
1176
|
+
}> | undefined;
|
|
1177
|
+
"x-scalar-secrets"?: Record<string, {
|
|
1178
|
+
description?: string | undefined;
|
|
1179
|
+
example?: string | undefined;
|
|
1180
|
+
}> | undefined;
|
|
1087
1181
|
documentUrl?: string | undefined;
|
|
1088
1182
|
integration?: string | null | undefined;
|
|
1089
1183
|
} | undefined>>>>>;
|
|
@@ -1115,7 +1209,7 @@ export declare const useApiClientModal: () => {
|
|
|
1115
1209
|
partitioned?: boolean | undefined;
|
|
1116
1210
|
secure?: boolean | undefined;
|
|
1117
1211
|
}) => void;
|
|
1118
|
-
edit: <P extends "
|
|
1212
|
+
edit: <P extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure">(uid: string, path: P, value: P extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? {
|
|
1119
1213
|
value: string;
|
|
1120
1214
|
uid: string;
|
|
1121
1215
|
name: string;
|
|
@@ -1127,7 +1221,7 @@ export declare const useApiClientModal: () => {
|
|
|
1127
1221
|
maxAge?: number | undefined;
|
|
1128
1222
|
partitioned?: boolean | undefined;
|
|
1129
1223
|
secure?: boolean | undefined;
|
|
1130
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
1224
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? R extends Path< {
|
|
1131
1225
|
value: string;
|
|
1132
1226
|
uid: string;
|
|
1133
1227
|
name: string;
|
|
@@ -1152,7 +1246,7 @@ export declare const useApiClientModal: () => {
|
|
|
1152
1246
|
partitioned?: boolean | undefined;
|
|
1153
1247
|
secure?: boolean | undefined;
|
|
1154
1248
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1155
|
-
untrackedEdit: <P extends "
|
|
1249
|
+
untrackedEdit: <P extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure">(uid: string, path: P, value: P extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? {
|
|
1156
1250
|
value: string;
|
|
1157
1251
|
uid: string;
|
|
1158
1252
|
name: string;
|
|
@@ -1164,7 +1258,7 @@ export declare const useApiClientModal: () => {
|
|
|
1164
1258
|
maxAge?: number | undefined;
|
|
1165
1259
|
partitioned?: boolean | undefined;
|
|
1166
1260
|
secure?: boolean | undefined;
|
|
1167
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
1261
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? R extends Path< {
|
|
1168
1262
|
value: string;
|
|
1169
1263
|
uid: string;
|
|
1170
1264
|
name: string;
|
|
@@ -1260,6 +1354,19 @@ export declare const useApiClientModal: () => {
|
|
|
1260
1354
|
} | undefined;
|
|
1261
1355
|
components?: Record<string, unknown> | undefined;
|
|
1262
1356
|
webhooks?: Record<string, unknown> | undefined;
|
|
1357
|
+
"x-scalar-environment"?: string | undefined;
|
|
1358
|
+
"x-scalar-environments"?: Record<string, {
|
|
1359
|
+
variables: Record<string, string | {
|
|
1360
|
+
default: string;
|
|
1361
|
+
description?: string | undefined;
|
|
1362
|
+
}>;
|
|
1363
|
+
description?: string | undefined;
|
|
1364
|
+
color?: string | undefined;
|
|
1365
|
+
}> | undefined;
|
|
1366
|
+
"x-scalar-secrets"?: Record<string, {
|
|
1367
|
+
description?: string | undefined;
|
|
1368
|
+
example?: string | undefined;
|
|
1369
|
+
}> | undefined;
|
|
1263
1370
|
documentUrl?: string | undefined;
|
|
1264
1371
|
integration?: string | null | undefined;
|
|
1265
1372
|
}) => void;
|
|
@@ -1329,6 +1436,19 @@ export declare const useApiClientModal: () => {
|
|
|
1329
1436
|
} | undefined;
|
|
1330
1437
|
components?: Record<string, unknown> | undefined;
|
|
1331
1438
|
webhooks?: Record<string, unknown> | undefined;
|
|
1439
|
+
"x-scalar-environment"?: string | undefined;
|
|
1440
|
+
"x-scalar-environments"?: Record<string, {
|
|
1441
|
+
variables: Record<string, string | {
|
|
1442
|
+
default: string;
|
|
1443
|
+
description?: string | undefined;
|
|
1444
|
+
}>;
|
|
1445
|
+
description?: string | undefined;
|
|
1446
|
+
color?: string | undefined;
|
|
1447
|
+
}> | undefined;
|
|
1448
|
+
"x-scalar-secrets"?: Record<string, {
|
|
1449
|
+
description?: string | undefined;
|
|
1450
|
+
example?: string | undefined;
|
|
1451
|
+
}> | undefined;
|
|
1332
1452
|
documentUrl?: string | undefined;
|
|
1333
1453
|
integration?: string | null | undefined;
|
|
1334
1454
|
};
|
|
@@ -1399,10 +1519,23 @@ export declare const useApiClientModal: () => {
|
|
|
1399
1519
|
} | undefined;
|
|
1400
1520
|
components?: Record<string, unknown> | undefined;
|
|
1401
1521
|
webhooks?: Record<string, unknown> | undefined;
|
|
1522
|
+
"x-scalar-environment"?: string | undefined;
|
|
1523
|
+
"x-scalar-environments"?: Record<string, {
|
|
1524
|
+
variables: Record<string, string | {
|
|
1525
|
+
default: string;
|
|
1526
|
+
description?: string | undefined;
|
|
1527
|
+
}>;
|
|
1528
|
+
description?: string | undefined;
|
|
1529
|
+
color?: string | undefined;
|
|
1530
|
+
}> | undefined;
|
|
1531
|
+
"x-scalar-secrets"?: Record<string, {
|
|
1532
|
+
description?: string | undefined;
|
|
1533
|
+
example?: string | undefined;
|
|
1534
|
+
}> | undefined;
|
|
1402
1535
|
documentUrl?: string | undefined;
|
|
1403
1536
|
integration?: string | null | undefined;
|
|
1404
1537
|
}) => void;
|
|
1405
|
-
edit: <P extends "
|
|
1538
|
+
edit: <P extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "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" | `children.${number}` | "info.summary" | "info.title" | "info.description" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.email" | "info.contact.url" | "info.license.name" | "info.license.url" | "info.license.identifier" | `auth.${string}` | `securitySchemes.${number}` | `requests.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-environments.${string}` | `x-scalar-secrets.${string}`>(uid: string, path: P, value: P extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? {
|
|
1406
1539
|
type: "collection";
|
|
1407
1540
|
uid: string;
|
|
1408
1541
|
children: string[];
|
|
@@ -1468,9 +1601,22 @@ export declare const useApiClientModal: () => {
|
|
|
1468
1601
|
} | undefined;
|
|
1469
1602
|
components?: Record<string, unknown> | undefined;
|
|
1470
1603
|
webhooks?: Record<string, unknown> | undefined;
|
|
1604
|
+
"x-scalar-environment"?: string | undefined;
|
|
1605
|
+
"x-scalar-environments"?: Record<string, {
|
|
1606
|
+
variables: Record<string, string | {
|
|
1607
|
+
default: string;
|
|
1608
|
+
description?: string | undefined;
|
|
1609
|
+
}>;
|
|
1610
|
+
description?: string | undefined;
|
|
1611
|
+
color?: string | undefined;
|
|
1612
|
+
}> | undefined;
|
|
1613
|
+
"x-scalar-secrets"?: Record<string, {
|
|
1614
|
+
description?: string | undefined;
|
|
1615
|
+
example?: string | undefined;
|
|
1616
|
+
}> | undefined;
|
|
1471
1617
|
documentUrl?: string | undefined;
|
|
1472
1618
|
integration?: string | null | undefined;
|
|
1473
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
1619
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? R extends Path< {
|
|
1474
1620
|
type: "collection";
|
|
1475
1621
|
uid: string;
|
|
1476
1622
|
children: string[];
|
|
@@ -1536,6 +1682,19 @@ export declare const useApiClientModal: () => {
|
|
|
1536
1682
|
} | undefined;
|
|
1537
1683
|
components?: Record<string, unknown> | undefined;
|
|
1538
1684
|
webhooks?: Record<string, unknown> | undefined;
|
|
1685
|
+
"x-scalar-environment"?: string | undefined;
|
|
1686
|
+
"x-scalar-environments"?: Record<string, {
|
|
1687
|
+
variables: Record<string, string | {
|
|
1688
|
+
default: string;
|
|
1689
|
+
description?: string | undefined;
|
|
1690
|
+
}>;
|
|
1691
|
+
description?: string | undefined;
|
|
1692
|
+
color?: string | undefined;
|
|
1693
|
+
}> | undefined;
|
|
1694
|
+
"x-scalar-secrets"?: Record<string, {
|
|
1695
|
+
description?: string | undefined;
|
|
1696
|
+
example?: string | undefined;
|
|
1697
|
+
}> | undefined;
|
|
1539
1698
|
documentUrl?: string | undefined;
|
|
1540
1699
|
integration?: string | null | undefined;
|
|
1541
1700
|
}[K]> ? PathValue< {
|
|
@@ -1604,10 +1763,23 @@ export declare const useApiClientModal: () => {
|
|
|
1604
1763
|
} | undefined;
|
|
1605
1764
|
components?: Record<string, unknown> | undefined;
|
|
1606
1765
|
webhooks?: Record<string, unknown> | undefined;
|
|
1766
|
+
"x-scalar-environment"?: string | undefined;
|
|
1767
|
+
"x-scalar-environments"?: Record<string, {
|
|
1768
|
+
variables: Record<string, string | {
|
|
1769
|
+
default: string;
|
|
1770
|
+
description?: string | undefined;
|
|
1771
|
+
}>;
|
|
1772
|
+
description?: string | undefined;
|
|
1773
|
+
color?: string | undefined;
|
|
1774
|
+
}> | undefined;
|
|
1775
|
+
"x-scalar-secrets"?: Record<string, {
|
|
1776
|
+
description?: string | undefined;
|
|
1777
|
+
example?: string | undefined;
|
|
1778
|
+
}> | undefined;
|
|
1607
1779
|
documentUrl?: string | undefined;
|
|
1608
1780
|
integration?: string | null | undefined;
|
|
1609
1781
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1610
|
-
untrackedEdit: <P extends "
|
|
1782
|
+
untrackedEdit: <P extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "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" | `children.${number}` | "info.summary" | "info.title" | "info.description" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.email" | "info.contact.url" | "info.license.name" | "info.license.url" | "info.license.identifier" | `auth.${string}` | `securitySchemes.${number}` | `requests.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-environments.${string}` | `x-scalar-secrets.${string}`>(uid: string, path: P, value: P extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? {
|
|
1611
1783
|
type: "collection";
|
|
1612
1784
|
uid: string;
|
|
1613
1785
|
children: string[];
|
|
@@ -1673,9 +1845,22 @@ export declare const useApiClientModal: () => {
|
|
|
1673
1845
|
} | undefined;
|
|
1674
1846
|
components?: Record<string, unknown> | undefined;
|
|
1675
1847
|
webhooks?: Record<string, unknown> | undefined;
|
|
1848
|
+
"x-scalar-environment"?: string | undefined;
|
|
1849
|
+
"x-scalar-environments"?: Record<string, {
|
|
1850
|
+
variables: Record<string, string | {
|
|
1851
|
+
default: string;
|
|
1852
|
+
description?: string | undefined;
|
|
1853
|
+
}>;
|
|
1854
|
+
description?: string | undefined;
|
|
1855
|
+
color?: string | undefined;
|
|
1856
|
+
}> | undefined;
|
|
1857
|
+
"x-scalar-secrets"?: Record<string, {
|
|
1858
|
+
description?: string | undefined;
|
|
1859
|
+
example?: string | undefined;
|
|
1860
|
+
}> | undefined;
|
|
1676
1861
|
documentUrl?: string | undefined;
|
|
1677
1862
|
integration?: string | null | undefined;
|
|
1678
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
1863
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? R extends Path< {
|
|
1679
1864
|
type: "collection";
|
|
1680
1865
|
uid: string;
|
|
1681
1866
|
children: string[];
|
|
@@ -1741,6 +1926,19 @@ export declare const useApiClientModal: () => {
|
|
|
1741
1926
|
} | undefined;
|
|
1742
1927
|
components?: Record<string, unknown> | undefined;
|
|
1743
1928
|
webhooks?: Record<string, unknown> | undefined;
|
|
1929
|
+
"x-scalar-environment"?: string | undefined;
|
|
1930
|
+
"x-scalar-environments"?: Record<string, {
|
|
1931
|
+
variables: Record<string, string | {
|
|
1932
|
+
default: string;
|
|
1933
|
+
description?: string | undefined;
|
|
1934
|
+
}>;
|
|
1935
|
+
description?: string | undefined;
|
|
1936
|
+
color?: string | undefined;
|
|
1937
|
+
}> | undefined;
|
|
1938
|
+
"x-scalar-secrets"?: Record<string, {
|
|
1939
|
+
description?: string | undefined;
|
|
1940
|
+
example?: string | undefined;
|
|
1941
|
+
}> | undefined;
|
|
1744
1942
|
documentUrl?: string | undefined;
|
|
1745
1943
|
integration?: string | null | undefined;
|
|
1746
1944
|
}[K]> ? PathValue< {
|
|
@@ -1809,6 +2007,19 @@ export declare const useApiClientModal: () => {
|
|
|
1809
2007
|
} | undefined;
|
|
1810
2008
|
components?: Record<string, unknown> | undefined;
|
|
1811
2009
|
webhooks?: Record<string, unknown> | undefined;
|
|
2010
|
+
"x-scalar-environment"?: string | undefined;
|
|
2011
|
+
"x-scalar-environments"?: Record<string, {
|
|
2012
|
+
variables: Record<string, string | {
|
|
2013
|
+
default: string;
|
|
2014
|
+
description?: string | undefined;
|
|
2015
|
+
}>;
|
|
2016
|
+
description?: string | undefined;
|
|
2017
|
+
color?: string | undefined;
|
|
2018
|
+
}> | undefined;
|
|
2019
|
+
"x-scalar-secrets"?: Record<string, {
|
|
2020
|
+
description?: string | undefined;
|
|
2021
|
+
example?: string | undefined;
|
|
2022
|
+
}> | undefined;
|
|
1812
2023
|
documentUrl?: string | undefined;
|
|
1813
2024
|
integration?: string | null | undefined;
|
|
1814
2025
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
@@ -1832,13 +2043,13 @@ export declare const useApiClientModal: () => {
|
|
|
1832
2043
|
color: string;
|
|
1833
2044
|
isDefault?: boolean | undefined;
|
|
1834
2045
|
}) => void;
|
|
1835
|
-
edit: <P extends "
|
|
2046
|
+
edit: <P extends "name" | "value" | "uid" | "color" | "isDefault">(uid: string, path: P, value: P extends "name" | "value" | "uid" | "color" | "isDefault" ? {
|
|
1836
2047
|
value: string;
|
|
1837
2048
|
uid: string;
|
|
1838
2049
|
name: string;
|
|
1839
2050
|
color: string;
|
|
1840
2051
|
isDefault?: boolean | undefined;
|
|
1841
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
2052
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "value" | "uid" | "color" | "isDefault" ? R extends Path< {
|
|
1842
2053
|
value: string;
|
|
1843
2054
|
uid: string;
|
|
1844
2055
|
name: string;
|
|
@@ -1851,13 +2062,13 @@ export declare const useApiClientModal: () => {
|
|
|
1851
2062
|
color: string;
|
|
1852
2063
|
isDefault?: boolean | undefined;
|
|
1853
2064
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1854
|
-
untrackedEdit: <P extends "
|
|
2065
|
+
untrackedEdit: <P extends "name" | "value" | "uid" | "color" | "isDefault">(uid: string, path: P, value: P extends "name" | "value" | "uid" | "color" | "isDefault" ? {
|
|
1855
2066
|
value: string;
|
|
1856
2067
|
uid: string;
|
|
1857
2068
|
name: string;
|
|
1858
2069
|
color: string;
|
|
1859
2070
|
isDefault?: boolean | undefined;
|
|
1860
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
2071
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "value" | "uid" | "color" | "isDefault" ? R extends Path< {
|
|
1861
2072
|
value: string;
|
|
1862
2073
|
uid: string;
|
|
1863
2074
|
name: string;
|
|
@@ -1900,10 +2111,10 @@ export declare const useApiClientModal: () => {
|
|
|
1900
2111
|
in: "path" | "query" | "header" | "cookie";
|
|
1901
2112
|
deprecated: boolean;
|
|
1902
2113
|
description?: string | undefined;
|
|
2114
|
+
example?: unknown;
|
|
1903
2115
|
schema?: unknown;
|
|
1904
2116
|
content?: unknown;
|
|
1905
2117
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1906
|
-
example?: unknown;
|
|
1907
2118
|
examples?: Record<string, {
|
|
1908
2119
|
value?: unknown;
|
|
1909
2120
|
summary?: string | undefined;
|
|
@@ -1937,10 +2148,10 @@ export declare const useApiClientModal: () => {
|
|
|
1937
2148
|
in: "path" | "query" | "header" | "cookie";
|
|
1938
2149
|
deprecated: boolean;
|
|
1939
2150
|
description?: string | undefined;
|
|
2151
|
+
example?: unknown;
|
|
1940
2152
|
schema?: unknown;
|
|
1941
2153
|
content?: unknown;
|
|
1942
2154
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1943
|
-
example?: unknown;
|
|
1944
2155
|
examples?: Record<string, {
|
|
1945
2156
|
value?: unknown;
|
|
1946
2157
|
summary?: string | undefined;
|
|
@@ -1975,10 +2186,10 @@ export declare const useApiClientModal: () => {
|
|
|
1975
2186
|
in: "path" | "query" | "header" | "cookie";
|
|
1976
2187
|
deprecated: boolean;
|
|
1977
2188
|
description?: string | undefined;
|
|
2189
|
+
example?: unknown;
|
|
1978
2190
|
schema?: unknown;
|
|
1979
2191
|
content?: unknown;
|
|
1980
2192
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
1981
|
-
example?: unknown;
|
|
1982
2193
|
examples?: Record<string, {
|
|
1983
2194
|
value?: unknown;
|
|
1984
2195
|
summary?: string | undefined;
|
|
@@ -1987,7 +2198,7 @@ export declare const useApiClientModal: () => {
|
|
|
1987
2198
|
requestBody?: any;
|
|
1988
2199
|
responses?: Record<string, any> | undefined;
|
|
1989
2200
|
}) => void;
|
|
1990
|
-
edit: <P extends "summary" | "type" | "method" | "path" | "
|
|
2201
|
+
edit: <P extends "summary" | "type" | "method" | "path" | "tags" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "servers" | "uid" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | `requestBody.${string}` | `parameters.${number}` | `parameters.${number}.required` | `parameters.${number}.description` | `parameters.${number}.style` | `parameters.${number}.name` | `parameters.${number}.deprecated` | `parameters.${number}.in` | `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 "summary" | "type" | "method" | "path" | "tags" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "servers" | "uid" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" ? {
|
|
1991
2202
|
path: string;
|
|
1992
2203
|
type: "request";
|
|
1993
2204
|
uid: string;
|
|
@@ -2012,10 +2223,10 @@ export declare const useApiClientModal: () => {
|
|
|
2012
2223
|
in: "path" | "query" | "header" | "cookie";
|
|
2013
2224
|
deprecated: boolean;
|
|
2014
2225
|
description?: string | undefined;
|
|
2226
|
+
example?: unknown;
|
|
2015
2227
|
schema?: unknown;
|
|
2016
2228
|
content?: unknown;
|
|
2017
2229
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
2018
|
-
example?: unknown;
|
|
2019
2230
|
examples?: Record<string, {
|
|
2020
2231
|
value?: unknown;
|
|
2021
2232
|
summary?: string | undefined;
|
|
@@ -2023,7 +2234,7 @@ export declare const useApiClientModal: () => {
|
|
|
2023
2234
|
}[] | undefined;
|
|
2024
2235
|
requestBody?: any;
|
|
2025
2236
|
responses?: Record<string, any> | undefined;
|
|
2026
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "summary" | "type" | "method" | "path" | "
|
|
2237
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "summary" | "type" | "method" | "path" | "tags" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "servers" | "uid" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" ? R extends Path< {
|
|
2027
2238
|
path: string;
|
|
2028
2239
|
type: "request";
|
|
2029
2240
|
uid: string;
|
|
@@ -2048,10 +2259,10 @@ export declare const useApiClientModal: () => {
|
|
|
2048
2259
|
in: "path" | "query" | "header" | "cookie";
|
|
2049
2260
|
deprecated: boolean;
|
|
2050
2261
|
description?: string | undefined;
|
|
2262
|
+
example?: unknown;
|
|
2051
2263
|
schema?: unknown;
|
|
2052
2264
|
content?: unknown;
|
|
2053
2265
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
2054
|
-
example?: unknown;
|
|
2055
2266
|
examples?: Record<string, {
|
|
2056
2267
|
value?: unknown;
|
|
2057
2268
|
summary?: string | undefined;
|
|
@@ -2084,10 +2295,10 @@ export declare const useApiClientModal: () => {
|
|
|
2084
2295
|
in: "path" | "query" | "header" | "cookie";
|
|
2085
2296
|
deprecated: boolean;
|
|
2086
2297
|
description?: string | undefined;
|
|
2298
|
+
example?: unknown;
|
|
2087
2299
|
schema?: unknown;
|
|
2088
2300
|
content?: unknown;
|
|
2089
2301
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
2090
|
-
example?: unknown;
|
|
2091
2302
|
examples?: Record<string, {
|
|
2092
2303
|
value?: unknown;
|
|
2093
2304
|
summary?: string | undefined;
|
|
@@ -2096,7 +2307,7 @@ export declare const useApiClientModal: () => {
|
|
|
2096
2307
|
requestBody?: any;
|
|
2097
2308
|
responses?: Record<string, any> | undefined;
|
|
2098
2309
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2099
|
-
untrackedEdit: <P extends "summary" | "type" | "method" | "path" | "
|
|
2310
|
+
untrackedEdit: <P extends "summary" | "type" | "method" | "path" | "tags" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "servers" | "uid" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | `requestBody.${string}` | `parameters.${number}` | `parameters.${number}.required` | `parameters.${number}.description` | `parameters.${number}.style` | `parameters.${number}.name` | `parameters.${number}.deprecated` | `parameters.${number}.in` | `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 "summary" | "type" | "method" | "path" | "tags" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "servers" | "uid" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" ? {
|
|
2100
2311
|
path: string;
|
|
2101
2312
|
type: "request";
|
|
2102
2313
|
uid: string;
|
|
@@ -2121,10 +2332,10 @@ export declare const useApiClientModal: () => {
|
|
|
2121
2332
|
in: "path" | "query" | "header" | "cookie";
|
|
2122
2333
|
deprecated: boolean;
|
|
2123
2334
|
description?: string | undefined;
|
|
2335
|
+
example?: unknown;
|
|
2124
2336
|
schema?: unknown;
|
|
2125
2337
|
content?: unknown;
|
|
2126
2338
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
2127
|
-
example?: unknown;
|
|
2128
2339
|
examples?: Record<string, {
|
|
2129
2340
|
value?: unknown;
|
|
2130
2341
|
summary?: string | undefined;
|
|
@@ -2132,7 +2343,7 @@ export declare const useApiClientModal: () => {
|
|
|
2132
2343
|
}[] | undefined;
|
|
2133
2344
|
requestBody?: any;
|
|
2134
2345
|
responses?: Record<string, any> | undefined;
|
|
2135
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "summary" | "type" | "method" | "path" | "
|
|
2346
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "summary" | "type" | "method" | "path" | "tags" | "description" | "operationId" | "security" | "requestBody" | "parameters" | "externalDocs" | "deprecated" | "responses" | "servers" | "uid" | "selectedSecuritySchemeUids" | "examples" | "selectedServerUid" ? R extends Path< {
|
|
2136
2347
|
path: string;
|
|
2137
2348
|
type: "request";
|
|
2138
2349
|
uid: string;
|
|
@@ -2157,10 +2368,10 @@ export declare const useApiClientModal: () => {
|
|
|
2157
2368
|
in: "path" | "query" | "header" | "cookie";
|
|
2158
2369
|
deprecated: boolean;
|
|
2159
2370
|
description?: string | undefined;
|
|
2371
|
+
example?: unknown;
|
|
2160
2372
|
schema?: unknown;
|
|
2161
2373
|
content?: unknown;
|
|
2162
2374
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
2163
|
-
example?: unknown;
|
|
2164
2375
|
examples?: Record<string, {
|
|
2165
2376
|
value?: unknown;
|
|
2166
2377
|
summary?: string | undefined;
|
|
@@ -2193,10 +2404,10 @@ export declare const useApiClientModal: () => {
|
|
|
2193
2404
|
in: "path" | "query" | "header" | "cookie";
|
|
2194
2405
|
deprecated: boolean;
|
|
2195
2406
|
description?: string | undefined;
|
|
2407
|
+
example?: unknown;
|
|
2196
2408
|
schema?: unknown;
|
|
2197
2409
|
content?: unknown;
|
|
2198
2410
|
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
2199
|
-
example?: unknown;
|
|
2200
2411
|
examples?: Record<string, {
|
|
2201
2412
|
value?: unknown;
|
|
2202
2413
|
summary?: string | undefined;
|
|
@@ -2216,7 +2427,7 @@ export declare const useApiClientModal: () => {
|
|
|
2216
2427
|
uid: string;
|
|
2217
2428
|
name: string;
|
|
2218
2429
|
body: {
|
|
2219
|
-
activeBody: "formData" | "
|
|
2430
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2220
2431
|
formData?: {
|
|
2221
2432
|
value: {
|
|
2222
2433
|
value: string;
|
|
@@ -2231,16 +2442,15 @@ export declare const useApiClientModal: () => {
|
|
|
2231
2442
|
enum?: string[] | undefined;
|
|
2232
2443
|
format?: string | undefined;
|
|
2233
2444
|
file?: any;
|
|
2234
|
-
refUid?: string | undefined;
|
|
2235
2445
|
nullable?: boolean | undefined;
|
|
2236
2446
|
}[];
|
|
2237
2447
|
encoding: "form-data" | "urlencoded";
|
|
2238
2448
|
} | undefined;
|
|
2449
|
+
binary?: Blob | undefined;
|
|
2239
2450
|
raw?: {
|
|
2240
2451
|
value: string;
|
|
2241
2452
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2242
2453
|
} | undefined;
|
|
2243
|
-
binary?: Blob | undefined;
|
|
2244
2454
|
};
|
|
2245
2455
|
requestUid: string;
|
|
2246
2456
|
parameters: {
|
|
@@ -2257,7 +2467,6 @@ export declare const useApiClientModal: () => {
|
|
|
2257
2467
|
enum?: string[] | undefined;
|
|
2258
2468
|
format?: string | undefined;
|
|
2259
2469
|
file?: any;
|
|
2260
|
-
refUid?: string | undefined;
|
|
2261
2470
|
nullable?: boolean | undefined;
|
|
2262
2471
|
}[];
|
|
2263
2472
|
cookies: {
|
|
@@ -2273,7 +2482,6 @@ export declare const useApiClientModal: () => {
|
|
|
2273
2482
|
enum?: string[] | undefined;
|
|
2274
2483
|
format?: string | undefined;
|
|
2275
2484
|
file?: any;
|
|
2276
|
-
refUid?: string | undefined;
|
|
2277
2485
|
nullable?: boolean | undefined;
|
|
2278
2486
|
}[];
|
|
2279
2487
|
query: {
|
|
@@ -2289,7 +2497,6 @@ export declare const useApiClientModal: () => {
|
|
|
2289
2497
|
enum?: string[] | undefined;
|
|
2290
2498
|
format?: string | undefined;
|
|
2291
2499
|
file?: any;
|
|
2292
|
-
refUid?: string | undefined;
|
|
2293
2500
|
nullable?: boolean | undefined;
|
|
2294
2501
|
}[];
|
|
2295
2502
|
headers: {
|
|
@@ -2305,7 +2512,6 @@ export declare const useApiClientModal: () => {
|
|
|
2305
2512
|
enum?: string[] | undefined;
|
|
2306
2513
|
format?: string | undefined;
|
|
2307
2514
|
file?: any;
|
|
2308
|
-
refUid?: string | undefined;
|
|
2309
2515
|
nullable?: boolean | undefined;
|
|
2310
2516
|
}[];
|
|
2311
2517
|
};
|
|
@@ -2316,7 +2522,7 @@ export declare const useApiClientModal: () => {
|
|
|
2316
2522
|
uid: string;
|
|
2317
2523
|
name: string;
|
|
2318
2524
|
body: {
|
|
2319
|
-
activeBody: "formData" | "
|
|
2525
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2320
2526
|
formData?: {
|
|
2321
2527
|
value: {
|
|
2322
2528
|
value: string;
|
|
@@ -2331,16 +2537,15 @@ export declare const useApiClientModal: () => {
|
|
|
2331
2537
|
enum?: string[] | undefined;
|
|
2332
2538
|
format?: string | undefined;
|
|
2333
2539
|
file?: any;
|
|
2334
|
-
refUid?: string | undefined;
|
|
2335
2540
|
nullable?: boolean | undefined;
|
|
2336
2541
|
}[];
|
|
2337
2542
|
encoding: "form-data" | "urlencoded";
|
|
2338
2543
|
} | undefined;
|
|
2544
|
+
binary?: Blob | undefined;
|
|
2339
2545
|
raw?: {
|
|
2340
2546
|
value: string;
|
|
2341
2547
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2342
2548
|
} | undefined;
|
|
2343
|
-
binary?: Blob | undefined;
|
|
2344
2549
|
};
|
|
2345
2550
|
requestUid: string;
|
|
2346
2551
|
parameters: {
|
|
@@ -2357,7 +2562,6 @@ export declare const useApiClientModal: () => {
|
|
|
2357
2562
|
enum?: string[] | undefined;
|
|
2358
2563
|
format?: string | undefined;
|
|
2359
2564
|
file?: any;
|
|
2360
|
-
refUid?: string | undefined;
|
|
2361
2565
|
nullable?: boolean | undefined;
|
|
2362
2566
|
}[];
|
|
2363
2567
|
cookies: {
|
|
@@ -2373,7 +2577,6 @@ export declare const useApiClientModal: () => {
|
|
|
2373
2577
|
enum?: string[] | undefined;
|
|
2374
2578
|
format?: string | undefined;
|
|
2375
2579
|
file?: any;
|
|
2376
|
-
refUid?: string | undefined;
|
|
2377
2580
|
nullable?: boolean | undefined;
|
|
2378
2581
|
}[];
|
|
2379
2582
|
query: {
|
|
@@ -2389,7 +2592,6 @@ export declare const useApiClientModal: () => {
|
|
|
2389
2592
|
enum?: string[] | undefined;
|
|
2390
2593
|
format?: string | undefined;
|
|
2391
2594
|
file?: any;
|
|
2392
|
-
refUid?: string | undefined;
|
|
2393
2595
|
nullable?: boolean | undefined;
|
|
2394
2596
|
}[];
|
|
2395
2597
|
headers: {
|
|
@@ -2405,7 +2607,6 @@ export declare const useApiClientModal: () => {
|
|
|
2405
2607
|
enum?: string[] | undefined;
|
|
2406
2608
|
format?: string | undefined;
|
|
2407
2609
|
file?: any;
|
|
2408
|
-
refUid?: string | undefined;
|
|
2409
2610
|
nullable?: boolean | undefined;
|
|
2410
2611
|
}[];
|
|
2411
2612
|
};
|
|
@@ -2417,7 +2618,7 @@ export declare const useApiClientModal: () => {
|
|
|
2417
2618
|
uid: string;
|
|
2418
2619
|
name: string;
|
|
2419
2620
|
body: {
|
|
2420
|
-
activeBody: "formData" | "
|
|
2621
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2421
2622
|
formData?: {
|
|
2422
2623
|
value: {
|
|
2423
2624
|
value: string;
|
|
@@ -2432,16 +2633,15 @@ export declare const useApiClientModal: () => {
|
|
|
2432
2633
|
enum?: string[] | undefined;
|
|
2433
2634
|
format?: string | undefined;
|
|
2434
2635
|
file?: any;
|
|
2435
|
-
refUid?: string | undefined;
|
|
2436
2636
|
nullable?: boolean | undefined;
|
|
2437
2637
|
}[];
|
|
2438
2638
|
encoding: "form-data" | "urlencoded";
|
|
2439
2639
|
} | undefined;
|
|
2640
|
+
binary?: Blob | undefined;
|
|
2440
2641
|
raw?: {
|
|
2441
2642
|
value: string;
|
|
2442
2643
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2443
2644
|
} | undefined;
|
|
2444
|
-
binary?: Blob | undefined;
|
|
2445
2645
|
};
|
|
2446
2646
|
requestUid: string;
|
|
2447
2647
|
parameters: {
|
|
@@ -2458,7 +2658,6 @@ export declare const useApiClientModal: () => {
|
|
|
2458
2658
|
enum?: string[] | undefined;
|
|
2459
2659
|
format?: string | undefined;
|
|
2460
2660
|
file?: any;
|
|
2461
|
-
refUid?: string | undefined;
|
|
2462
2661
|
nullable?: boolean | undefined;
|
|
2463
2662
|
}[];
|
|
2464
2663
|
cookies: {
|
|
@@ -2474,7 +2673,6 @@ export declare const useApiClientModal: () => {
|
|
|
2474
2673
|
enum?: string[] | undefined;
|
|
2475
2674
|
format?: string | undefined;
|
|
2476
2675
|
file?: any;
|
|
2477
|
-
refUid?: string | undefined;
|
|
2478
2676
|
nullable?: boolean | undefined;
|
|
2479
2677
|
}[];
|
|
2480
2678
|
query: {
|
|
@@ -2490,7 +2688,6 @@ export declare const useApiClientModal: () => {
|
|
|
2490
2688
|
enum?: string[] | undefined;
|
|
2491
2689
|
format?: string | undefined;
|
|
2492
2690
|
file?: any;
|
|
2493
|
-
refUid?: string | undefined;
|
|
2494
2691
|
nullable?: boolean | undefined;
|
|
2495
2692
|
}[];
|
|
2496
2693
|
headers: {
|
|
@@ -2506,18 +2703,17 @@ export declare const useApiClientModal: () => {
|
|
|
2506
2703
|
enum?: string[] | undefined;
|
|
2507
2704
|
format?: string | undefined;
|
|
2508
2705
|
file?: any;
|
|
2509
|
-
refUid?: string | undefined;
|
|
2510
2706
|
nullable?: boolean | undefined;
|
|
2511
2707
|
}[];
|
|
2512
2708
|
};
|
|
2513
2709
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2514
2710
|
}) => void;
|
|
2515
|
-
edit: <P extends "body" | "name" | "type" | "parameters" | "uid" | "requestUid" | "serverVariables" | "body.binary" | "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}.
|
|
2711
|
+
edit: <P extends "body" | "name" | "type" | "parameters" | "uid" | "requestUid" | "serverVariables" | "body.binary" | "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}.required` | `body.formData.value.${number}.type` | `body.formData.value.${number}.value` | `body.formData.value.${number}.file` | `body.formData.value.${number}.key` | `body.formData.value.${number}.default` | `body.formData.value.${number}.description` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.format` | `body.formData.value.${number}.file.${string}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.enum.${number}` | "body.binary.size" | "body.binary.type" | "body.binary.arrayBuffer" | "body.binary.slice" | "body.binary.stream" | "body.binary.text" | "parameters.cookies" | "parameters.path" | "parameters.headers" | "parameters.query" | `parameters.cookies.${number}` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.file.${string}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.enum.${number}` | `parameters.path.${number}` | `parameters.path.${number}.required` | `parameters.path.${number}.type` | `parameters.path.${number}.value` | `parameters.path.${number}.file` | `parameters.path.${number}.key` | `parameters.path.${number}.default` | `parameters.path.${number}.description` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.enabled` | `parameters.path.${number}.minimum` | `parameters.path.${number}.maximum` | `parameters.path.${number}.format` | `parameters.path.${number}.file.${string}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.enum.${number}` | `parameters.headers.${number}` | `parameters.headers.${number}.required` | `parameters.headers.${number}.type` | `parameters.headers.${number}.value` | `parameters.headers.${number}.file` | `parameters.headers.${number}.key` | `parameters.headers.${number}.default` | `parameters.headers.${number}.description` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.format` | `parameters.headers.${number}.file.${string}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.enum.${number}` | `parameters.query.${number}` | `parameters.query.${number}.required` | `parameters.query.${number}.type` | `parameters.query.${number}.value` | `parameters.query.${number}.file` | `parameters.query.${number}.key` | `parameters.query.${number}.default` | `parameters.query.${number}.description` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.enabled` | `parameters.query.${number}.minimum` | `parameters.query.${number}.maximum` | `parameters.query.${number}.format` | `parameters.query.${number}.file.${string}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.enum.${number}` | `serverVariables.${string}`>(uid: string, path: P, value: P extends "body" | "name" | "type" | "parameters" | "uid" | "requestUid" | "serverVariables" ? {
|
|
2516
2712
|
type: "requestExample";
|
|
2517
2713
|
uid: string;
|
|
2518
2714
|
name: string;
|
|
2519
2715
|
body: {
|
|
2520
|
-
activeBody: "formData" | "
|
|
2716
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2521
2717
|
formData?: {
|
|
2522
2718
|
value: {
|
|
2523
2719
|
value: string;
|
|
@@ -2532,16 +2728,15 @@ export declare const useApiClientModal: () => {
|
|
|
2532
2728
|
enum?: string[] | undefined;
|
|
2533
2729
|
format?: string | undefined;
|
|
2534
2730
|
file?: any;
|
|
2535
|
-
refUid?: string | undefined;
|
|
2536
2731
|
nullable?: boolean | undefined;
|
|
2537
2732
|
}[];
|
|
2538
2733
|
encoding: "form-data" | "urlencoded";
|
|
2539
2734
|
} | undefined;
|
|
2735
|
+
binary?: Blob | undefined;
|
|
2540
2736
|
raw?: {
|
|
2541
2737
|
value: string;
|
|
2542
2738
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2543
2739
|
} | undefined;
|
|
2544
|
-
binary?: Blob | undefined;
|
|
2545
2740
|
};
|
|
2546
2741
|
requestUid: string;
|
|
2547
2742
|
parameters: {
|
|
@@ -2558,7 +2753,6 @@ export declare const useApiClientModal: () => {
|
|
|
2558
2753
|
enum?: string[] | undefined;
|
|
2559
2754
|
format?: string | undefined;
|
|
2560
2755
|
file?: any;
|
|
2561
|
-
refUid?: string | undefined;
|
|
2562
2756
|
nullable?: boolean | undefined;
|
|
2563
2757
|
}[];
|
|
2564
2758
|
cookies: {
|
|
@@ -2574,7 +2768,6 @@ export declare const useApiClientModal: () => {
|
|
|
2574
2768
|
enum?: string[] | undefined;
|
|
2575
2769
|
format?: string | undefined;
|
|
2576
2770
|
file?: any;
|
|
2577
|
-
refUid?: string | undefined;
|
|
2578
2771
|
nullable?: boolean | undefined;
|
|
2579
2772
|
}[];
|
|
2580
2773
|
query: {
|
|
@@ -2590,7 +2783,6 @@ export declare const useApiClientModal: () => {
|
|
|
2590
2783
|
enum?: string[] | undefined;
|
|
2591
2784
|
format?: string | undefined;
|
|
2592
2785
|
file?: any;
|
|
2593
|
-
refUid?: string | undefined;
|
|
2594
2786
|
nullable?: boolean | undefined;
|
|
2595
2787
|
}[];
|
|
2596
2788
|
headers: {
|
|
@@ -2606,7 +2798,6 @@ export declare const useApiClientModal: () => {
|
|
|
2606
2798
|
enum?: string[] | undefined;
|
|
2607
2799
|
format?: string | undefined;
|
|
2608
2800
|
file?: any;
|
|
2609
|
-
refUid?: string | undefined;
|
|
2610
2801
|
nullable?: boolean | undefined;
|
|
2611
2802
|
}[];
|
|
2612
2803
|
};
|
|
@@ -2616,7 +2807,7 @@ export declare const useApiClientModal: () => {
|
|
|
2616
2807
|
uid: string;
|
|
2617
2808
|
name: string;
|
|
2618
2809
|
body: {
|
|
2619
|
-
activeBody: "formData" | "
|
|
2810
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2620
2811
|
formData?: {
|
|
2621
2812
|
value: {
|
|
2622
2813
|
value: string;
|
|
@@ -2631,16 +2822,15 @@ export declare const useApiClientModal: () => {
|
|
|
2631
2822
|
enum?: string[] | undefined;
|
|
2632
2823
|
format?: string | undefined;
|
|
2633
2824
|
file?: any;
|
|
2634
|
-
refUid?: string | undefined;
|
|
2635
2825
|
nullable?: boolean | undefined;
|
|
2636
2826
|
}[];
|
|
2637
2827
|
encoding: "form-data" | "urlencoded";
|
|
2638
2828
|
} | undefined;
|
|
2829
|
+
binary?: Blob | undefined;
|
|
2639
2830
|
raw?: {
|
|
2640
2831
|
value: string;
|
|
2641
2832
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2642
2833
|
} | undefined;
|
|
2643
|
-
binary?: Blob | undefined;
|
|
2644
2834
|
};
|
|
2645
2835
|
requestUid: string;
|
|
2646
2836
|
parameters: {
|
|
@@ -2657,7 +2847,6 @@ export declare const useApiClientModal: () => {
|
|
|
2657
2847
|
enum?: string[] | undefined;
|
|
2658
2848
|
format?: string | undefined;
|
|
2659
2849
|
file?: any;
|
|
2660
|
-
refUid?: string | undefined;
|
|
2661
2850
|
nullable?: boolean | undefined;
|
|
2662
2851
|
}[];
|
|
2663
2852
|
cookies: {
|
|
@@ -2673,7 +2862,6 @@ export declare const useApiClientModal: () => {
|
|
|
2673
2862
|
enum?: string[] | undefined;
|
|
2674
2863
|
format?: string | undefined;
|
|
2675
2864
|
file?: any;
|
|
2676
|
-
refUid?: string | undefined;
|
|
2677
2865
|
nullable?: boolean | undefined;
|
|
2678
2866
|
}[];
|
|
2679
2867
|
query: {
|
|
@@ -2689,7 +2877,6 @@ export declare const useApiClientModal: () => {
|
|
|
2689
2877
|
enum?: string[] | undefined;
|
|
2690
2878
|
format?: string | undefined;
|
|
2691
2879
|
file?: any;
|
|
2692
|
-
refUid?: string | undefined;
|
|
2693
2880
|
nullable?: boolean | undefined;
|
|
2694
2881
|
}[];
|
|
2695
2882
|
headers: {
|
|
@@ -2705,7 +2892,6 @@ export declare const useApiClientModal: () => {
|
|
|
2705
2892
|
enum?: string[] | undefined;
|
|
2706
2893
|
format?: string | undefined;
|
|
2707
2894
|
file?: any;
|
|
2708
|
-
refUid?: string | undefined;
|
|
2709
2895
|
nullable?: boolean | undefined;
|
|
2710
2896
|
}[];
|
|
2711
2897
|
};
|
|
@@ -2715,7 +2901,7 @@ export declare const useApiClientModal: () => {
|
|
|
2715
2901
|
uid: string;
|
|
2716
2902
|
name: string;
|
|
2717
2903
|
body: {
|
|
2718
|
-
activeBody: "formData" | "
|
|
2904
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2719
2905
|
formData?: {
|
|
2720
2906
|
value: {
|
|
2721
2907
|
value: string;
|
|
@@ -2730,16 +2916,15 @@ export declare const useApiClientModal: () => {
|
|
|
2730
2916
|
enum?: string[] | undefined;
|
|
2731
2917
|
format?: string | undefined;
|
|
2732
2918
|
file?: any;
|
|
2733
|
-
refUid?: string | undefined;
|
|
2734
2919
|
nullable?: boolean | undefined;
|
|
2735
2920
|
}[];
|
|
2736
2921
|
encoding: "form-data" | "urlencoded";
|
|
2737
2922
|
} | undefined;
|
|
2923
|
+
binary?: Blob | undefined;
|
|
2738
2924
|
raw?: {
|
|
2739
2925
|
value: string;
|
|
2740
2926
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2741
2927
|
} | undefined;
|
|
2742
|
-
binary?: Blob | undefined;
|
|
2743
2928
|
};
|
|
2744
2929
|
requestUid: string;
|
|
2745
2930
|
parameters: {
|
|
@@ -2756,7 +2941,6 @@ export declare const useApiClientModal: () => {
|
|
|
2756
2941
|
enum?: string[] | undefined;
|
|
2757
2942
|
format?: string | undefined;
|
|
2758
2943
|
file?: any;
|
|
2759
|
-
refUid?: string | undefined;
|
|
2760
2944
|
nullable?: boolean | undefined;
|
|
2761
2945
|
}[];
|
|
2762
2946
|
cookies: {
|
|
@@ -2772,7 +2956,6 @@ export declare const useApiClientModal: () => {
|
|
|
2772
2956
|
enum?: string[] | undefined;
|
|
2773
2957
|
format?: string | undefined;
|
|
2774
2958
|
file?: any;
|
|
2775
|
-
refUid?: string | undefined;
|
|
2776
2959
|
nullable?: boolean | undefined;
|
|
2777
2960
|
}[];
|
|
2778
2961
|
query: {
|
|
@@ -2788,7 +2971,6 @@ export declare const useApiClientModal: () => {
|
|
|
2788
2971
|
enum?: string[] | undefined;
|
|
2789
2972
|
format?: string | undefined;
|
|
2790
2973
|
file?: any;
|
|
2791
|
-
refUid?: string | undefined;
|
|
2792
2974
|
nullable?: boolean | undefined;
|
|
2793
2975
|
}[];
|
|
2794
2976
|
headers: {
|
|
@@ -2804,18 +2986,17 @@ export declare const useApiClientModal: () => {
|
|
|
2804
2986
|
enum?: string[] | undefined;
|
|
2805
2987
|
format?: string | undefined;
|
|
2806
2988
|
file?: any;
|
|
2807
|
-
refUid?: string | undefined;
|
|
2808
2989
|
nullable?: boolean | undefined;
|
|
2809
2990
|
}[];
|
|
2810
2991
|
};
|
|
2811
2992
|
serverVariables?: Record<string, string[]> | undefined;
|
|
2812
2993
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
2813
|
-
untrackedEdit: <P extends "body" | "name" | "type" | "parameters" | "uid" | "requestUid" | "serverVariables" | "body.binary" | "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}.
|
|
2994
|
+
untrackedEdit: <P extends "body" | "name" | "type" | "parameters" | "uid" | "requestUid" | "serverVariables" | "body.binary" | "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}.required` | `body.formData.value.${number}.type` | `body.formData.value.${number}.value` | `body.formData.value.${number}.file` | `body.formData.value.${number}.key` | `body.formData.value.${number}.default` | `body.formData.value.${number}.description` | `body.formData.value.${number}.enum` | `body.formData.value.${number}.nullable` | `body.formData.value.${number}.enabled` | `body.formData.value.${number}.minimum` | `body.formData.value.${number}.maximum` | `body.formData.value.${number}.format` | `body.formData.value.${number}.file.${string}` | `body.formData.value.${number}.default.${string}` | `body.formData.value.${number}.enum.${number}` | "body.binary.size" | "body.binary.type" | "body.binary.arrayBuffer" | "body.binary.slice" | "body.binary.stream" | "body.binary.text" | "parameters.cookies" | "parameters.path" | "parameters.headers" | "parameters.query" | `parameters.cookies.${number}` | `parameters.cookies.${number}.required` | `parameters.cookies.${number}.type` | `parameters.cookies.${number}.value` | `parameters.cookies.${number}.file` | `parameters.cookies.${number}.key` | `parameters.cookies.${number}.default` | `parameters.cookies.${number}.description` | `parameters.cookies.${number}.enum` | `parameters.cookies.${number}.nullable` | `parameters.cookies.${number}.enabled` | `parameters.cookies.${number}.minimum` | `parameters.cookies.${number}.maximum` | `parameters.cookies.${number}.format` | `parameters.cookies.${number}.file.${string}` | `parameters.cookies.${number}.default.${string}` | `parameters.cookies.${number}.enum.${number}` | `parameters.path.${number}` | `parameters.path.${number}.required` | `parameters.path.${number}.type` | `parameters.path.${number}.value` | `parameters.path.${number}.file` | `parameters.path.${number}.key` | `parameters.path.${number}.default` | `parameters.path.${number}.description` | `parameters.path.${number}.enum` | `parameters.path.${number}.nullable` | `parameters.path.${number}.enabled` | `parameters.path.${number}.minimum` | `parameters.path.${number}.maximum` | `parameters.path.${number}.format` | `parameters.path.${number}.file.${string}` | `parameters.path.${number}.default.${string}` | `parameters.path.${number}.enum.${number}` | `parameters.headers.${number}` | `parameters.headers.${number}.required` | `parameters.headers.${number}.type` | `parameters.headers.${number}.value` | `parameters.headers.${number}.file` | `parameters.headers.${number}.key` | `parameters.headers.${number}.default` | `parameters.headers.${number}.description` | `parameters.headers.${number}.enum` | `parameters.headers.${number}.nullable` | `parameters.headers.${number}.enabled` | `parameters.headers.${number}.minimum` | `parameters.headers.${number}.maximum` | `parameters.headers.${number}.format` | `parameters.headers.${number}.file.${string}` | `parameters.headers.${number}.default.${string}` | `parameters.headers.${number}.enum.${number}` | `parameters.query.${number}` | `parameters.query.${number}.required` | `parameters.query.${number}.type` | `parameters.query.${number}.value` | `parameters.query.${number}.file` | `parameters.query.${number}.key` | `parameters.query.${number}.default` | `parameters.query.${number}.description` | `parameters.query.${number}.enum` | `parameters.query.${number}.nullable` | `parameters.query.${number}.enabled` | `parameters.query.${number}.minimum` | `parameters.query.${number}.maximum` | `parameters.query.${number}.format` | `parameters.query.${number}.file.${string}` | `parameters.query.${number}.default.${string}` | `parameters.query.${number}.enum.${number}` | `serverVariables.${string}`>(uid: string, path: P, value: P extends "body" | "name" | "type" | "parameters" | "uid" | "requestUid" | "serverVariables" ? {
|
|
2814
2995
|
type: "requestExample";
|
|
2815
2996
|
uid: string;
|
|
2816
2997
|
name: string;
|
|
2817
2998
|
body: {
|
|
2818
|
-
activeBody: "formData" | "
|
|
2999
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2819
3000
|
formData?: {
|
|
2820
3001
|
value: {
|
|
2821
3002
|
value: string;
|
|
@@ -2830,16 +3011,15 @@ export declare const useApiClientModal: () => {
|
|
|
2830
3011
|
enum?: string[] | undefined;
|
|
2831
3012
|
format?: string | undefined;
|
|
2832
3013
|
file?: any;
|
|
2833
|
-
refUid?: string | undefined;
|
|
2834
3014
|
nullable?: boolean | undefined;
|
|
2835
3015
|
}[];
|
|
2836
3016
|
encoding: "form-data" | "urlencoded";
|
|
2837
3017
|
} | undefined;
|
|
3018
|
+
binary?: Blob | undefined;
|
|
2838
3019
|
raw?: {
|
|
2839
3020
|
value: string;
|
|
2840
3021
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2841
3022
|
} | undefined;
|
|
2842
|
-
binary?: Blob | undefined;
|
|
2843
3023
|
};
|
|
2844
3024
|
requestUid: string;
|
|
2845
3025
|
parameters: {
|
|
@@ -2856,7 +3036,6 @@ export declare const useApiClientModal: () => {
|
|
|
2856
3036
|
enum?: string[] | undefined;
|
|
2857
3037
|
format?: string | undefined;
|
|
2858
3038
|
file?: any;
|
|
2859
|
-
refUid?: string | undefined;
|
|
2860
3039
|
nullable?: boolean | undefined;
|
|
2861
3040
|
}[];
|
|
2862
3041
|
cookies: {
|
|
@@ -2872,7 +3051,6 @@ export declare const useApiClientModal: () => {
|
|
|
2872
3051
|
enum?: string[] | undefined;
|
|
2873
3052
|
format?: string | undefined;
|
|
2874
3053
|
file?: any;
|
|
2875
|
-
refUid?: string | undefined;
|
|
2876
3054
|
nullable?: boolean | undefined;
|
|
2877
3055
|
}[];
|
|
2878
3056
|
query: {
|
|
@@ -2888,7 +3066,6 @@ export declare const useApiClientModal: () => {
|
|
|
2888
3066
|
enum?: string[] | undefined;
|
|
2889
3067
|
format?: string | undefined;
|
|
2890
3068
|
file?: any;
|
|
2891
|
-
refUid?: string | undefined;
|
|
2892
3069
|
nullable?: boolean | undefined;
|
|
2893
3070
|
}[];
|
|
2894
3071
|
headers: {
|
|
@@ -2904,7 +3081,6 @@ export declare const useApiClientModal: () => {
|
|
|
2904
3081
|
enum?: string[] | undefined;
|
|
2905
3082
|
format?: string | undefined;
|
|
2906
3083
|
file?: any;
|
|
2907
|
-
refUid?: string | undefined;
|
|
2908
3084
|
nullable?: boolean | undefined;
|
|
2909
3085
|
}[];
|
|
2910
3086
|
};
|
|
@@ -2914,7 +3090,7 @@ export declare const useApiClientModal: () => {
|
|
|
2914
3090
|
uid: string;
|
|
2915
3091
|
name: string;
|
|
2916
3092
|
body: {
|
|
2917
|
-
activeBody: "formData" | "
|
|
3093
|
+
activeBody: "formData" | "binary" | "raw";
|
|
2918
3094
|
formData?: {
|
|
2919
3095
|
value: {
|
|
2920
3096
|
value: string;
|
|
@@ -2929,16 +3105,15 @@ export declare const useApiClientModal: () => {
|
|
|
2929
3105
|
enum?: string[] | undefined;
|
|
2930
3106
|
format?: string | undefined;
|
|
2931
3107
|
file?: any;
|
|
2932
|
-
refUid?: string | undefined;
|
|
2933
3108
|
nullable?: boolean | undefined;
|
|
2934
3109
|
}[];
|
|
2935
3110
|
encoding: "form-data" | "urlencoded";
|
|
2936
3111
|
} | undefined;
|
|
3112
|
+
binary?: Blob | undefined;
|
|
2937
3113
|
raw?: {
|
|
2938
3114
|
value: string;
|
|
2939
3115
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
2940
3116
|
} | undefined;
|
|
2941
|
-
binary?: Blob | undefined;
|
|
2942
3117
|
};
|
|
2943
3118
|
requestUid: string;
|
|
2944
3119
|
parameters: {
|
|
@@ -2955,7 +3130,6 @@ export declare const useApiClientModal: () => {
|
|
|
2955
3130
|
enum?: string[] | undefined;
|
|
2956
3131
|
format?: string | undefined;
|
|
2957
3132
|
file?: any;
|
|
2958
|
-
refUid?: string | undefined;
|
|
2959
3133
|
nullable?: boolean | undefined;
|
|
2960
3134
|
}[];
|
|
2961
3135
|
cookies: {
|
|
@@ -2971,7 +3145,6 @@ export declare const useApiClientModal: () => {
|
|
|
2971
3145
|
enum?: string[] | undefined;
|
|
2972
3146
|
format?: string | undefined;
|
|
2973
3147
|
file?: any;
|
|
2974
|
-
refUid?: string | undefined;
|
|
2975
3148
|
nullable?: boolean | undefined;
|
|
2976
3149
|
}[];
|
|
2977
3150
|
query: {
|
|
@@ -2987,7 +3160,6 @@ export declare const useApiClientModal: () => {
|
|
|
2987
3160
|
enum?: string[] | undefined;
|
|
2988
3161
|
format?: string | undefined;
|
|
2989
3162
|
file?: any;
|
|
2990
|
-
refUid?: string | undefined;
|
|
2991
3163
|
nullable?: boolean | undefined;
|
|
2992
3164
|
}[];
|
|
2993
3165
|
headers: {
|
|
@@ -3003,7 +3175,6 @@ export declare const useApiClientModal: () => {
|
|
|
3003
3175
|
enum?: string[] | undefined;
|
|
3004
3176
|
format?: string | undefined;
|
|
3005
3177
|
file?: any;
|
|
3006
|
-
refUid?: string | undefined;
|
|
3007
3178
|
nullable?: boolean | undefined;
|
|
3008
3179
|
}[];
|
|
3009
3180
|
};
|
|
@@ -3013,7 +3184,7 @@ export declare const useApiClientModal: () => {
|
|
|
3013
3184
|
uid: string;
|
|
3014
3185
|
name: string;
|
|
3015
3186
|
body: {
|
|
3016
|
-
activeBody: "formData" | "
|
|
3187
|
+
activeBody: "formData" | "binary" | "raw";
|
|
3017
3188
|
formData?: {
|
|
3018
3189
|
value: {
|
|
3019
3190
|
value: string;
|
|
@@ -3028,16 +3199,15 @@ export declare const useApiClientModal: () => {
|
|
|
3028
3199
|
enum?: string[] | undefined;
|
|
3029
3200
|
format?: string | undefined;
|
|
3030
3201
|
file?: any;
|
|
3031
|
-
refUid?: string | undefined;
|
|
3032
3202
|
nullable?: boolean | undefined;
|
|
3033
3203
|
}[];
|
|
3034
3204
|
encoding: "form-data" | "urlencoded";
|
|
3035
3205
|
} | undefined;
|
|
3206
|
+
binary?: Blob | undefined;
|
|
3036
3207
|
raw?: {
|
|
3037
3208
|
value: string;
|
|
3038
3209
|
encoding: "xml" | "text" | "json" | "html" | "javascript" | "yaml" | "edn";
|
|
3039
3210
|
} | undefined;
|
|
3040
|
-
binary?: Blob | undefined;
|
|
3041
3211
|
};
|
|
3042
3212
|
requestUid: string;
|
|
3043
3213
|
parameters: {
|
|
@@ -3054,7 +3224,6 @@ export declare const useApiClientModal: () => {
|
|
|
3054
3224
|
enum?: string[] | undefined;
|
|
3055
3225
|
format?: string | undefined;
|
|
3056
3226
|
file?: any;
|
|
3057
|
-
refUid?: string | undefined;
|
|
3058
3227
|
nullable?: boolean | undefined;
|
|
3059
3228
|
}[];
|
|
3060
3229
|
cookies: {
|
|
@@ -3070,7 +3239,6 @@ export declare const useApiClientModal: () => {
|
|
|
3070
3239
|
enum?: string[] | undefined;
|
|
3071
3240
|
format?: string | undefined;
|
|
3072
3241
|
file?: any;
|
|
3073
|
-
refUid?: string | undefined;
|
|
3074
3242
|
nullable?: boolean | undefined;
|
|
3075
3243
|
}[];
|
|
3076
3244
|
query: {
|
|
@@ -3086,7 +3254,6 @@ export declare const useApiClientModal: () => {
|
|
|
3086
3254
|
enum?: string[] | undefined;
|
|
3087
3255
|
format?: string | undefined;
|
|
3088
3256
|
file?: any;
|
|
3089
|
-
refUid?: string | undefined;
|
|
3090
3257
|
nullable?: boolean | undefined;
|
|
3091
3258
|
}[];
|
|
3092
3259
|
headers: {
|
|
@@ -3102,7 +3269,6 @@ export declare const useApiClientModal: () => {
|
|
|
3102
3269
|
enum?: string[] | undefined;
|
|
3103
3270
|
format?: string | undefined;
|
|
3104
3271
|
file?: any;
|
|
3105
|
-
refUid?: string | undefined;
|
|
3106
3272
|
nullable?: boolean | undefined;
|
|
3107
3273
|
}[];
|
|
3108
3274
|
};
|
|
@@ -3645,14 +3811,14 @@ export declare const useApiClientModal: () => {
|
|
|
3645
3811
|
enum?: [string, ...string[]];
|
|
3646
3812
|
}> | undefined;
|
|
3647
3813
|
}) => void;
|
|
3648
|
-
edit: <P extends "
|
|
3814
|
+
edit: <P extends "description" | "url" | "uid" | "variables" | `variables.${string}`>(uid: string, path: P, value: P extends "description" | "url" | "uid" | "variables" ? {
|
|
3649
3815
|
uid: string;
|
|
3650
3816
|
url: string;
|
|
3651
3817
|
description?: string | undefined;
|
|
3652
3818
|
variables?: Record<string, Omit<OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
3653
3819
|
enum?: [string, ...string[]];
|
|
3654
3820
|
}> | undefined;
|
|
3655
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
3821
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "url" | "uid" | "variables" ? R extends Path< {
|
|
3656
3822
|
uid: string;
|
|
3657
3823
|
url: string;
|
|
3658
3824
|
description?: string | undefined;
|
|
@@ -3667,14 +3833,14 @@ export declare const useApiClientModal: () => {
|
|
|
3667
3833
|
enum?: [string, ...string[]];
|
|
3668
3834
|
}> | undefined;
|
|
3669
3835
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3670
|
-
untrackedEdit: <P extends "
|
|
3836
|
+
untrackedEdit: <P extends "description" | "url" | "uid" | "variables" | `variables.${string}`>(uid: string, path: P, value: P extends "description" | "url" | "uid" | "variables" ? {
|
|
3671
3837
|
uid: string;
|
|
3672
3838
|
url: string;
|
|
3673
3839
|
description?: string | undefined;
|
|
3674
3840
|
variables?: Record<string, Omit<OpenAPIV3_1.ServerVariableObject, "enum"> & {
|
|
3675
3841
|
enum?: [string, ...string[]];
|
|
3676
3842
|
}> | undefined;
|
|
3677
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "
|
|
3843
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "url" | "uid" | "variables" ? R extends Path< {
|
|
3678
3844
|
uid: string;
|
|
3679
3845
|
url: string;
|
|
3680
3846
|
description?: string | undefined;
|
|
@@ -3698,124 +3864,124 @@ export declare const useApiClientModal: () => {
|
|
|
3698
3864
|
type: "tag";
|
|
3699
3865
|
uid: string;
|
|
3700
3866
|
name: string;
|
|
3701
|
-
"x-scalar-children": {
|
|
3702
|
-
tagName: string;
|
|
3703
|
-
}[];
|
|
3704
3867
|
children: string[];
|
|
3705
3868
|
description?: string | undefined;
|
|
3706
3869
|
externalDocs?: {
|
|
3707
3870
|
url: string;
|
|
3708
3871
|
description?: string | undefined;
|
|
3709
3872
|
} | undefined;
|
|
3873
|
+
"x-scalar-children"?: {
|
|
3874
|
+
tagName: string;
|
|
3875
|
+
}[] | undefined;
|
|
3710
3876
|
}) => void;
|
|
3711
3877
|
add: (payload: TagPayload, collectionUid: string) => void | {
|
|
3712
3878
|
type: "tag";
|
|
3713
3879
|
uid: string;
|
|
3714
3880
|
name: string;
|
|
3715
|
-
"x-scalar-children": {
|
|
3716
|
-
tagName: string;
|
|
3717
|
-
}[];
|
|
3718
3881
|
children: string[];
|
|
3719
3882
|
description?: string | undefined;
|
|
3720
3883
|
externalDocs?: {
|
|
3721
3884
|
url: string;
|
|
3722
3885
|
description?: string | undefined;
|
|
3723
3886
|
} | undefined;
|
|
3887
|
+
"x-scalar-children"?: {
|
|
3888
|
+
tagName: string;
|
|
3889
|
+
}[] | undefined;
|
|
3724
3890
|
};
|
|
3725
3891
|
delete: (tag: Tag, collectionUid: string) => void;
|
|
3726
3892
|
set: (item: {
|
|
3727
3893
|
type: "tag";
|
|
3728
3894
|
uid: string;
|
|
3729
3895
|
name: string;
|
|
3730
|
-
"x-scalar-children": {
|
|
3731
|
-
tagName: string;
|
|
3732
|
-
}[];
|
|
3733
3896
|
children: string[];
|
|
3734
3897
|
description?: string | undefined;
|
|
3735
3898
|
externalDocs?: {
|
|
3736
3899
|
url: string;
|
|
3737
3900
|
description?: string | undefined;
|
|
3738
3901
|
} | undefined;
|
|
3902
|
+
"x-scalar-children"?: {
|
|
3903
|
+
tagName: string;
|
|
3904
|
+
}[] | undefined;
|
|
3739
3905
|
}) => void;
|
|
3740
|
-
edit: <P extends "name" | "type" | "children" | "description" | "
|
|
3906
|
+
edit: <P extends "name" | "type" | "children" | "description" | "externalDocs" | "uid" | "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 "name" | "type" | "children" | "description" | "externalDocs" | "uid" | "x-scalar-children" ? {
|
|
3741
3907
|
type: "tag";
|
|
3742
3908
|
uid: string;
|
|
3743
3909
|
name: string;
|
|
3744
|
-
"x-scalar-children": {
|
|
3745
|
-
tagName: string;
|
|
3746
|
-
}[];
|
|
3747
3910
|
children: string[];
|
|
3748
3911
|
description?: string | undefined;
|
|
3749
3912
|
externalDocs?: {
|
|
3750
3913
|
url: string;
|
|
3751
3914
|
description?: string | undefined;
|
|
3752
3915
|
} | undefined;
|
|
3753
|
-
|
|
3916
|
+
"x-scalar-children"?: {
|
|
3917
|
+
tagName: string;
|
|
3918
|
+
}[] | undefined;
|
|
3919
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "type" | "children" | "description" | "externalDocs" | "uid" | "x-scalar-children" ? R extends Path< {
|
|
3754
3920
|
type: "tag";
|
|
3755
3921
|
uid: string;
|
|
3756
3922
|
name: string;
|
|
3757
|
-
"x-scalar-children": {
|
|
3758
|
-
tagName: string;
|
|
3759
|
-
}[];
|
|
3760
3923
|
children: string[];
|
|
3761
3924
|
description?: string | undefined;
|
|
3762
3925
|
externalDocs?: {
|
|
3763
3926
|
url: string;
|
|
3764
3927
|
description?: string | undefined;
|
|
3765
3928
|
} | undefined;
|
|
3929
|
+
"x-scalar-children"?: {
|
|
3930
|
+
tagName: string;
|
|
3931
|
+
}[] | undefined;
|
|
3766
3932
|
}[K]> ? PathValue< {
|
|
3767
3933
|
type: "tag";
|
|
3768
3934
|
uid: string;
|
|
3769
3935
|
name: string;
|
|
3770
|
-
"x-scalar-children": {
|
|
3771
|
-
tagName: string;
|
|
3772
|
-
}[];
|
|
3773
3936
|
children: string[];
|
|
3774
3937
|
description?: string | undefined;
|
|
3775
3938
|
externalDocs?: {
|
|
3776
3939
|
url: string;
|
|
3777
3940
|
description?: string | undefined;
|
|
3778
3941
|
} | undefined;
|
|
3942
|
+
"x-scalar-children"?: {
|
|
3943
|
+
tagName: string;
|
|
3944
|
+
}[] | undefined;
|
|
3779
3945
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3780
|
-
untrackedEdit: <P extends "name" | "type" | "children" | "description" | "
|
|
3946
|
+
untrackedEdit: <P extends "name" | "type" | "children" | "description" | "externalDocs" | "uid" | "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 "name" | "type" | "children" | "description" | "externalDocs" | "uid" | "x-scalar-children" ? {
|
|
3781
3947
|
type: "tag";
|
|
3782
3948
|
uid: string;
|
|
3783
3949
|
name: string;
|
|
3784
|
-
"x-scalar-children": {
|
|
3785
|
-
tagName: string;
|
|
3786
|
-
}[];
|
|
3787
3950
|
children: string[];
|
|
3788
3951
|
description?: string | undefined;
|
|
3789
3952
|
externalDocs?: {
|
|
3790
3953
|
url: string;
|
|
3791
3954
|
description?: string | undefined;
|
|
3792
3955
|
} | undefined;
|
|
3793
|
-
|
|
3956
|
+
"x-scalar-children"?: {
|
|
3957
|
+
tagName: string;
|
|
3958
|
+
}[] | undefined;
|
|
3959
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "type" | "children" | "description" | "externalDocs" | "uid" | "x-scalar-children" ? R extends Path< {
|
|
3794
3960
|
type: "tag";
|
|
3795
3961
|
uid: string;
|
|
3796
3962
|
name: string;
|
|
3797
|
-
"x-scalar-children": {
|
|
3798
|
-
tagName: string;
|
|
3799
|
-
}[];
|
|
3800
3963
|
children: string[];
|
|
3801
3964
|
description?: string | undefined;
|
|
3802
3965
|
externalDocs?: {
|
|
3803
3966
|
url: string;
|
|
3804
3967
|
description?: string | undefined;
|
|
3805
3968
|
} | undefined;
|
|
3969
|
+
"x-scalar-children"?: {
|
|
3970
|
+
tagName: string;
|
|
3971
|
+
}[] | undefined;
|
|
3806
3972
|
}[K]> ? PathValue< {
|
|
3807
3973
|
type: "tag";
|
|
3808
3974
|
uid: string;
|
|
3809
3975
|
name: string;
|
|
3810
|
-
"x-scalar-children": {
|
|
3811
|
-
tagName: string;
|
|
3812
|
-
}[];
|
|
3813
3976
|
children: string[];
|
|
3814
3977
|
description?: string | undefined;
|
|
3815
3978
|
externalDocs?: {
|
|
3816
3979
|
url: string;
|
|
3817
3980
|
description?: string | undefined;
|
|
3818
3981
|
} | undefined;
|
|
3982
|
+
"x-scalar-children"?: {
|
|
3983
|
+
tagName: string;
|
|
3984
|
+
}[] | undefined;
|
|
3819
3985
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
3820
3986
|
undo: (uid: string) => void;
|
|
3821
3987
|
redo: (uid: string) => void;
|