@redocly/replay 0.13.0 → 0.14.0-next.0
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/dist/replay-index-0TDx5r96.js +208 -0
- package/dist/replay-index-BE0wxVQi.js +70803 -0
- package/dist/replay-index-BNiti45t.js +3523 -0
- package/dist/replay-index-CjAA5tk1.js +1 -0
- package/dist/replay-tauri-path-BqTiscu_.js +16 -0
- package/dist/replay-tauri-path-D4jDrv8y.js +1 -0
- package/dist/replay.cjs +1 -3476
- package/dist/replay.d.ts +413 -22
- package/dist/replay.js +6 -69529
- package/package.json +9 -6
package/dist/replay.d.ts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import { FileResponse } from '@tauri-apps/plugin-dialog';
|
|
2
1
|
import { ImmutableObject } from '@redocly/hookstate-core';
|
|
3
2
|
import { JSX } from 'react/jsx-runtime';
|
|
4
3
|
import { NamedExoticComponent } from 'react';
|
|
5
4
|
import { ReactElement } from 'react';
|
|
6
5
|
|
|
6
|
+
declare type ApiPath = {
|
|
7
|
+
path: string;
|
|
8
|
+
method: string;
|
|
9
|
+
};
|
|
10
|
+
|
|
7
11
|
declare type AuthorizationCodeOAuthFlowsObject = {
|
|
8
12
|
authorizationUrl: string;
|
|
9
13
|
tokenUrl: string;
|
|
@@ -19,7 +23,7 @@ declare type Certificate = {
|
|
|
19
23
|
};
|
|
20
24
|
|
|
21
25
|
declare type ChangedOperation = {
|
|
22
|
-
|
|
26
|
+
apiPath: ApiPath;
|
|
23
27
|
requestValues: {
|
|
24
28
|
cookie?: {
|
|
25
29
|
[key: string]: string;
|
|
@@ -45,11 +49,13 @@ declare type ClientCredentialsOAuthFlowsObject = {
|
|
|
45
49
|
scopes: Record<string, string>;
|
|
46
50
|
};
|
|
47
51
|
|
|
48
|
-
declare type ConvertOperationFunction = (path: string, method: string, openAPI: any) =>
|
|
52
|
+
declare type ConvertOperationFunction = (path: string, method: string, openAPI: any) => OpenAPIOperation_2 | undefined;
|
|
49
53
|
|
|
50
54
|
export declare function EmbeddedReplay(props: ReplayAppProps): JSX.Element;
|
|
51
55
|
|
|
52
|
-
declare
|
|
56
|
+
declare function getAbsoluteProjectDir(projectSlug: string): Promise<string>;
|
|
57
|
+
|
|
58
|
+
declare type GetOperationURLFunction = (operationId?: string) => string | undefined;
|
|
53
59
|
|
|
54
60
|
declare type ImplicitOAuthFlowsObject = {
|
|
55
61
|
authorizationUrl?: string;
|
|
@@ -60,7 +66,6 @@ declare type InputSettings = {
|
|
|
60
66
|
corsProxyUrl?: string;
|
|
61
67
|
mockServer?: MockServer;
|
|
62
68
|
disableCollectionsTab?: boolean;
|
|
63
|
-
disableWorkflowTab?: boolean;
|
|
64
69
|
disableDraft?: boolean;
|
|
65
70
|
oAuth2RedirectURI?: string | null;
|
|
66
71
|
inline?: boolean;
|
|
@@ -118,9 +123,151 @@ declare type OAuthFlowsObject = {
|
|
|
118
123
|
authorizationCode?: AuthorizationCodeOAuthFlowsObject;
|
|
119
124
|
};
|
|
120
125
|
|
|
121
|
-
declare
|
|
126
|
+
declare interface OpenAPICallback {
|
|
127
|
+
[name: string]: OpenAPIPath;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
declare interface OpenAPIComponents {
|
|
131
|
+
schemas?: {
|
|
132
|
+
[name: string]: Referenced<OpenAPISchema>;
|
|
133
|
+
};
|
|
134
|
+
responses?: {
|
|
135
|
+
[name: string]: Referenced<OpenAPIResponse>;
|
|
136
|
+
};
|
|
137
|
+
parameters?: {
|
|
138
|
+
[name: string]: Referenced<OpenAPIParameter>;
|
|
139
|
+
};
|
|
140
|
+
examples?: {
|
|
141
|
+
[name: string]: Referenced<OpenAPIExample>;
|
|
142
|
+
};
|
|
143
|
+
requestBodies?: {
|
|
144
|
+
[name: string]: Referenced<OpenAPIRequestBody>;
|
|
145
|
+
};
|
|
146
|
+
headers?: {
|
|
147
|
+
[name: string]: Referenced<OpenAPIHeader>;
|
|
148
|
+
};
|
|
149
|
+
securitySchemes?: {
|
|
150
|
+
[name: string]: Referenced<OpenAPISecurityScheme>;
|
|
151
|
+
};
|
|
152
|
+
links?: {
|
|
153
|
+
[name: string]: Referenced<OpenAPILink>;
|
|
154
|
+
};
|
|
155
|
+
callbacks?: {
|
|
156
|
+
[name: string]: Referenced<OpenAPICallback>;
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
declare interface OpenAPIContact {
|
|
161
|
+
name?: string;
|
|
162
|
+
url?: string;
|
|
163
|
+
email?: string;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
declare interface OpenAPIDefinition {
|
|
167
|
+
openapi: string;
|
|
168
|
+
info: OpenAPIInfo;
|
|
169
|
+
servers?: OpenAPIServer[];
|
|
170
|
+
paths: OpenAPIPaths;
|
|
171
|
+
components?: OpenAPIComponents;
|
|
172
|
+
security?: OpenAPISecurityRequirement[];
|
|
173
|
+
tags?: OpenAPITag[];
|
|
174
|
+
externalDocs?: OpenAPIExternalDocumentation;
|
|
175
|
+
webhooks?: OpenAPIPaths;
|
|
176
|
+
'x-webhooks'?: OpenAPIPaths;
|
|
177
|
+
'x-tagGroups'?: Array<{
|
|
178
|
+
name: string;
|
|
179
|
+
tags: Array<string>;
|
|
180
|
+
}>;
|
|
181
|
+
'x-feedback'?: any;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
declare interface OpenAPIDiscriminator {
|
|
185
|
+
propertyName: string;
|
|
186
|
+
mapping?: {
|
|
187
|
+
[name: string]: string;
|
|
188
|
+
};
|
|
189
|
+
'x-explicitMappingOnly'?: boolean;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
declare interface OpenAPIEncoding {
|
|
193
|
+
contentType: string;
|
|
194
|
+
headers?: {
|
|
195
|
+
[name: string]: Referenced<OpenAPIHeader>;
|
|
196
|
+
};
|
|
197
|
+
style: OpenAPIParameterStyle;
|
|
198
|
+
explode: boolean;
|
|
199
|
+
allowReserved: boolean;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
declare interface OpenAPIExample extends ParsedDescriptionWithSummary {
|
|
203
|
+
value: any;
|
|
204
|
+
summary?: string;
|
|
205
|
+
description?: string;
|
|
206
|
+
externalValue?: string;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
declare interface OpenAPIExternalDocumentation extends ParsedDescription {
|
|
210
|
+
description?: string;
|
|
211
|
+
url: string;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
declare type OpenAPIHeader = Omit<OpenAPIParameter, 'in' | 'name'>;
|
|
215
|
+
|
|
216
|
+
declare interface OpenAPIInfo extends ParsedDescriptionWithSummary {
|
|
217
|
+
title: string;
|
|
218
|
+
version: string;
|
|
219
|
+
description?: string;
|
|
220
|
+
summary?: string;
|
|
221
|
+
termsOfService?: string;
|
|
222
|
+
contact?: OpenAPIContact;
|
|
223
|
+
license?: OpenAPILicense;
|
|
224
|
+
'x-logo'?: XLogo;
|
|
225
|
+
'x-metadata'?: XMetadata;
|
|
226
|
+
'x-seo'?: XSEO;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
declare interface OpenAPILicense {
|
|
230
|
+
name: string;
|
|
231
|
+
url?: string;
|
|
232
|
+
identifier?: string;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
declare interface OpenAPILink {
|
|
236
|
+
$ref?: string;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
declare interface OpenAPIMediaType {
|
|
240
|
+
schema?: Referenced<OpenAPISchema>;
|
|
241
|
+
example?: any;
|
|
242
|
+
examples?: {
|
|
243
|
+
[name: string]: Referenced<OpenAPIExample>;
|
|
244
|
+
};
|
|
245
|
+
encoding?: {
|
|
246
|
+
[field: string]: OpenAPIEncoding;
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
declare interface OpenAPIOperation extends ParsedDescriptionWithSummary {
|
|
251
|
+
tags?: string[];
|
|
252
|
+
summary?: string;
|
|
253
|
+
description?: string;
|
|
254
|
+
externalDocs?: OpenAPIExternalDocumentation;
|
|
255
|
+
operationId?: string;
|
|
256
|
+
parameters?: Array<Referenced<OpenAPIParameter>>;
|
|
257
|
+
requestBody?: Referenced<OpenAPIRequestBody>;
|
|
258
|
+
responses: OpenAPIResponses;
|
|
259
|
+
callbacks?: {
|
|
260
|
+
[name: string]: Referenced<OpenAPICallback>;
|
|
261
|
+
};
|
|
262
|
+
deprecated?: boolean;
|
|
263
|
+
security?: OpenAPISecurityRequirement[];
|
|
264
|
+
servers?: OpenAPIServer[];
|
|
265
|
+
'x-badges'?: OpenAPIXBadges[];
|
|
266
|
+
'x-hideReplay'?: boolean;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
declare type OpenAPIOperation_2 = {
|
|
122
270
|
id: string;
|
|
123
|
-
sourceId?: string;
|
|
124
271
|
name: string;
|
|
125
272
|
method: string;
|
|
126
273
|
path: string;
|
|
@@ -137,11 +284,231 @@ declare type OpenAPIOperation = {
|
|
|
137
284
|
response?: Response_2 | null;
|
|
138
285
|
};
|
|
139
286
|
|
|
287
|
+
declare interface OpenAPIParameter extends ParsedDescription {
|
|
288
|
+
name: string;
|
|
289
|
+
in?: OpenAPIParameterLocation;
|
|
290
|
+
description?: string;
|
|
291
|
+
required?: boolean;
|
|
292
|
+
deprecated?: boolean;
|
|
293
|
+
allowEmptyValue?: boolean;
|
|
294
|
+
style?: OpenAPIParameterStyle;
|
|
295
|
+
explode?: boolean;
|
|
296
|
+
allowReserved?: boolean;
|
|
297
|
+
schema?: Referenced<OpenAPISchema>;
|
|
298
|
+
example?: any;
|
|
299
|
+
examples?: {
|
|
300
|
+
[media: string]: Referenced<OpenAPIExample>;
|
|
301
|
+
};
|
|
302
|
+
content?: {
|
|
303
|
+
[media: string]: OpenAPIMediaType;
|
|
304
|
+
};
|
|
305
|
+
encoding?: Record<string, OpenAPIEncoding>;
|
|
306
|
+
const?: any;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
declare type OpenAPIParameterLocation = 'query' | 'header' | 'path' | 'cookie';
|
|
310
|
+
|
|
311
|
+
declare type OpenAPIParameterStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
|
|
312
|
+
|
|
313
|
+
declare interface OpenAPIPath extends Partial<OpenAPIRef>, ParsedDescriptionWithSummary {
|
|
314
|
+
summary?: string;
|
|
315
|
+
description?: string;
|
|
316
|
+
get?: OpenAPIOperation;
|
|
317
|
+
put?: OpenAPIOperation;
|
|
318
|
+
post?: OpenAPIOperation;
|
|
319
|
+
delete?: OpenAPIOperation;
|
|
320
|
+
options?: OpenAPIOperation;
|
|
321
|
+
head?: OpenAPIOperation;
|
|
322
|
+
patch?: OpenAPIOperation;
|
|
323
|
+
trace?: OpenAPIOperation;
|
|
324
|
+
servers?: OpenAPIServer[];
|
|
325
|
+
parameters?: Array<Referenced<OpenAPIParameter>>;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
declare interface OpenAPIPaths {
|
|
329
|
+
[path: string]: OpenAPIPath;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
declare interface OpenAPIRef extends ParsedDescriptionWithSummary {
|
|
333
|
+
$ref: string;
|
|
334
|
+
'x-refsStack'?: string[];
|
|
335
|
+
summary?: string;
|
|
336
|
+
description?: string;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
declare interface OpenAPIRequestBody extends ParsedDescription {
|
|
340
|
+
description?: string;
|
|
341
|
+
required?: boolean;
|
|
342
|
+
content: {
|
|
343
|
+
[mime: string]: OpenAPIMediaType;
|
|
344
|
+
};
|
|
345
|
+
'x-examples'?: {
|
|
346
|
+
[mime: string]: {
|
|
347
|
+
[name: string]: Referenced<OpenAPIExample>;
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
'x-example'?: {
|
|
351
|
+
[mime: string]: any;
|
|
352
|
+
};
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
declare interface OpenAPIResponse extends ParsedDescription {
|
|
356
|
+
description?: string;
|
|
357
|
+
headers?: {
|
|
358
|
+
[name: string]: Referenced<OpenAPIHeader>;
|
|
359
|
+
};
|
|
360
|
+
content?: {
|
|
361
|
+
[mime: string]: OpenAPIMediaType;
|
|
362
|
+
};
|
|
363
|
+
links?: {
|
|
364
|
+
[name: string]: Referenced<OpenAPILink>;
|
|
365
|
+
};
|
|
366
|
+
'x-examples'?: {
|
|
367
|
+
[mime: string]: {
|
|
368
|
+
[name: string]: Referenced<OpenAPIExample>;
|
|
369
|
+
};
|
|
370
|
+
};
|
|
371
|
+
'x-example'?: {
|
|
372
|
+
[mime: string]: any;
|
|
373
|
+
};
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
declare interface OpenAPIResponses {
|
|
377
|
+
[code: string]: OpenAPIResponse;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
declare interface OpenAPISchema extends ParsedDescription {
|
|
381
|
+
$ref?: string;
|
|
382
|
+
type?: string | string[];
|
|
383
|
+
properties?: {
|
|
384
|
+
[name: string]: OpenAPISchema;
|
|
385
|
+
};
|
|
386
|
+
patternProperties?: {
|
|
387
|
+
[name: string]: OpenAPISchema;
|
|
388
|
+
};
|
|
389
|
+
additionalProperties?: boolean | OpenAPISchema;
|
|
390
|
+
unevaluatedProperties?: boolean | OpenAPISchema;
|
|
391
|
+
description?: string;
|
|
392
|
+
default?: any;
|
|
393
|
+
items?: OpenAPISchema | OpenAPISchema[] | boolean;
|
|
394
|
+
required?: string[];
|
|
395
|
+
readOnly?: boolean;
|
|
396
|
+
writeOnly?: boolean;
|
|
397
|
+
deprecated?: boolean;
|
|
398
|
+
format?: string;
|
|
399
|
+
externalDocs?: OpenAPIExternalDocumentation;
|
|
400
|
+
discriminator?: OpenAPIDiscriminator;
|
|
401
|
+
nullable?: boolean;
|
|
402
|
+
oneOf?: OpenAPISchema[];
|
|
403
|
+
anyOf?: OpenAPISchema[];
|
|
404
|
+
allOf?: OpenAPISchema[];
|
|
405
|
+
not?: OpenAPISchema;
|
|
406
|
+
title?: string;
|
|
407
|
+
multipleOf?: number;
|
|
408
|
+
maximum?: number;
|
|
409
|
+
exclusiveMaximum?: boolean | number;
|
|
410
|
+
minimum?: number;
|
|
411
|
+
exclusiveMinimum?: boolean | number;
|
|
412
|
+
maxLength?: number;
|
|
413
|
+
minLength?: number;
|
|
414
|
+
pattern?: string;
|
|
415
|
+
maxItems?: number;
|
|
416
|
+
minItems?: number;
|
|
417
|
+
uniqueItems?: boolean;
|
|
418
|
+
maxProperties?: number;
|
|
419
|
+
minProperties?: number;
|
|
420
|
+
enum?: any[];
|
|
421
|
+
example?: any;
|
|
422
|
+
examples?: any[];
|
|
423
|
+
const?: string;
|
|
424
|
+
contentEncoding?: string;
|
|
425
|
+
contentMediaType?: string;
|
|
426
|
+
if?: OpenAPISchema;
|
|
427
|
+
else?: OpenAPISchema;
|
|
428
|
+
then?: OpenAPISchema;
|
|
429
|
+
prefixItems?: OpenAPISchema[];
|
|
430
|
+
additionalItems?: OpenAPISchema | boolean;
|
|
431
|
+
xml?: XMLObject;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
declare interface OpenAPISecurityRequirement {
|
|
435
|
+
[name: string]: string[];
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
declare interface OpenAPISecurityScheme extends ParsedDescription {
|
|
439
|
+
type: 'apiKey' | 'http' | 'oauth2' | 'openIdConnect';
|
|
440
|
+
description?: string;
|
|
441
|
+
name?: string;
|
|
442
|
+
in?: 'query' | 'header' | 'cookie';
|
|
443
|
+
scheme?: string;
|
|
444
|
+
bearerFormat: string;
|
|
445
|
+
'x-defaultClientId'?: string;
|
|
446
|
+
flows: {
|
|
447
|
+
implicit?: {
|
|
448
|
+
refreshUrl?: string;
|
|
449
|
+
scopes: Record<string, string>;
|
|
450
|
+
authorizationUrl: string;
|
|
451
|
+
'x-defaultClientId'?: string;
|
|
452
|
+
};
|
|
453
|
+
password?: {
|
|
454
|
+
refreshUrl?: string;
|
|
455
|
+
scopes: Record<string, string>;
|
|
456
|
+
tokenUrl: string;
|
|
457
|
+
'x-defaultClientId'?: string;
|
|
458
|
+
};
|
|
459
|
+
clientCredentials?: {
|
|
460
|
+
refreshUrl?: string;
|
|
461
|
+
scopes: Record<string, string>;
|
|
462
|
+
tokenUrl: string;
|
|
463
|
+
'x-defaultClientId'?: string;
|
|
464
|
+
'x-assertionType'?: 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer';
|
|
465
|
+
};
|
|
466
|
+
authorizationCode?: {
|
|
467
|
+
refreshUrl?: string;
|
|
468
|
+
scopes: Record<string, string>;
|
|
469
|
+
authorizationUrl: string;
|
|
470
|
+
tokenUrl: string;
|
|
471
|
+
'x-defaultClientId'?: string;
|
|
472
|
+
};
|
|
473
|
+
};
|
|
474
|
+
openIdConnectUrl?: string;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
declare interface OpenAPIServer extends ParsedDescription {
|
|
478
|
+
url: string;
|
|
479
|
+
description?: string;
|
|
480
|
+
variables?: OpenAPIServerVariables;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
declare interface OpenAPIServerVariable extends ParsedDescription {
|
|
484
|
+
enum?: string[];
|
|
485
|
+
default: string;
|
|
486
|
+
description?: string;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
declare interface OpenAPIServerVariables {
|
|
490
|
+
[name: string]: OpenAPIServerVariable;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
declare interface OpenAPITag extends ParsedDescription {
|
|
494
|
+
name: string;
|
|
495
|
+
description?: string;
|
|
496
|
+
externalDocs?: OpenAPIExternalDocumentation;
|
|
497
|
+
'x-displayName'?: string;
|
|
498
|
+
'x-rbac'?: Record<string, unknown>;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
declare interface OpenAPIXBadges {
|
|
502
|
+
name: string;
|
|
503
|
+
color?: string;
|
|
504
|
+
position?: 'before' | 'after';
|
|
505
|
+
}
|
|
506
|
+
|
|
140
507
|
declare function openFile({ name, extensions, multiple, }: {
|
|
141
508
|
name: string;
|
|
142
509
|
extensions: string[];
|
|
143
510
|
multiple: boolean;
|
|
144
|
-
}): Promise<
|
|
511
|
+
}): Promise<string[] | string | null>;
|
|
145
512
|
|
|
146
513
|
declare type OperationIn = 'query' | 'header' | 'path' | 'cookie';
|
|
147
514
|
|
|
@@ -183,16 +550,26 @@ export declare type OperationSecurity = {
|
|
|
183
550
|
'x-defaultPassword'?: string;
|
|
184
551
|
};
|
|
185
552
|
|
|
553
|
+
declare interface ParsedDescription {
|
|
554
|
+
'x-parsed-md-description'?: GenericObject;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
declare interface ParsedDescriptionWithSummary extends ParsedDescription {
|
|
558
|
+
'x-parsed-md-summary'?: GenericObject;
|
|
559
|
+
}
|
|
560
|
+
|
|
186
561
|
declare type PasswordOAuthFlowsObject = {
|
|
187
562
|
tokenUrl: string;
|
|
188
563
|
scopes: Record<string, string>;
|
|
189
564
|
};
|
|
190
565
|
|
|
566
|
+
declare type Referenced<T> = T | OpenAPIRef;
|
|
567
|
+
|
|
191
568
|
export declare function Replay(props: ReplayAppProps): JSX.Element;
|
|
192
569
|
|
|
193
570
|
declare type ReplayAppProps = {
|
|
194
571
|
activeOperationId?: string;
|
|
195
|
-
|
|
572
|
+
api?: OpenAPIDefinition;
|
|
196
573
|
settings: InputSettings;
|
|
197
574
|
};
|
|
198
575
|
|
|
@@ -205,7 +582,7 @@ export declare type ReplayOnChangeParams = {
|
|
|
205
582
|
}>;
|
|
206
583
|
};
|
|
207
584
|
|
|
208
|
-
export declare function ReplayOverlay(
|
|
585
|
+
export declare function ReplayOverlay(props: ReplayOverlayProps): JSX.Element;
|
|
209
586
|
|
|
210
587
|
declare type ReplayOverlayProps = {
|
|
211
588
|
onClose: () => void;
|
|
@@ -216,6 +593,7 @@ declare type ReplayOverlayProps = {
|
|
|
216
593
|
declare type Response_2 = ImmutableObject<{
|
|
217
594
|
headers: [string, string][];
|
|
218
595
|
cookies: [string, string][];
|
|
596
|
+
bodyNotStored?: boolean;
|
|
219
597
|
body: string;
|
|
220
598
|
duration: number;
|
|
221
599
|
size: number;
|
|
@@ -238,22 +616,35 @@ declare type ServerVariable = {
|
|
|
238
616
|
description?: string;
|
|
239
617
|
};
|
|
240
618
|
|
|
241
|
-
declare type Source = {
|
|
242
|
-
id: string;
|
|
243
|
-
type: 'openapi' | 'arazzo';
|
|
244
|
-
path?: string;
|
|
245
|
-
data: Record<string, any>;
|
|
246
|
-
};
|
|
247
|
-
|
|
248
|
-
declare type SourcePath = {
|
|
249
|
-
path: string;
|
|
250
|
-
method: string;
|
|
251
|
-
};
|
|
252
|
-
|
|
253
619
|
export declare const utils: {
|
|
254
620
|
openFile: typeof openFile;
|
|
621
|
+
getAbsoluteProjectDir: typeof getAbsoluteProjectDir;
|
|
255
622
|
};
|
|
256
623
|
|
|
624
|
+
declare interface XLogo {
|
|
625
|
+
url?: string;
|
|
626
|
+
backgroundColor?: string;
|
|
627
|
+
altText?: string;
|
|
628
|
+
href?: string;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
declare interface XMetadata {
|
|
632
|
+
apiId?: string;
|
|
633
|
+
[key: string]: unknown;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
declare interface XMLObject {
|
|
637
|
+
name?: string;
|
|
638
|
+
namespace?: string;
|
|
639
|
+
prefix?: string;
|
|
640
|
+
attribute?: boolean;
|
|
641
|
+
wrapped?: boolean;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
declare interface XSEO {
|
|
645
|
+
title?: string;
|
|
646
|
+
}
|
|
647
|
+
|
|
257
648
|
export { }
|
|
258
649
|
|
|
259
650
|
declare global {
|