@gitbook/react-openapi 1.5.1 → 1.5.2

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.
Files changed (81) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/InteractiveSection.js +59 -0
  3. package/dist/Markdown.js +10 -0
  4. package/dist/OpenAPICodeSample.js +219 -0
  5. package/dist/OpenAPICodeSampleInteractive.js +66 -0
  6. package/dist/OpenAPICodeSampleSelector.js +45 -0
  7. package/dist/OpenAPICopyButton.js +39 -0
  8. package/dist/OpenAPIDisclosure.js +30 -0
  9. package/dist/OpenAPIDisclosureGroup.js +75 -0
  10. package/dist/OpenAPIExample.js +41 -0
  11. package/dist/OpenAPIMediaType.js +58 -0
  12. package/dist/OpenAPIOperation.d.ts +15 -0
  13. package/dist/OpenAPIOperation.js +30 -0
  14. package/dist/OpenAPIOperationContext.d.ts +20 -0
  15. package/dist/OpenAPIOperationContext.js +30 -0
  16. package/dist/OpenAPIPath.js +51 -0
  17. package/dist/OpenAPIPrefillContextProvider.d.ts +26 -0
  18. package/dist/OpenAPIPrefillContextProvider.js +25 -0
  19. package/dist/OpenAPIRequestBody.js +28 -0
  20. package/dist/OpenAPIRequestBodyHeaderType.js +23 -0
  21. package/dist/OpenAPIResponse.js +39 -0
  22. package/dist/OpenAPIResponseExample.js +75 -0
  23. package/dist/OpenAPIResponseExampleContent.js +61 -0
  24. package/dist/OpenAPIResponses.js +61 -0
  25. package/dist/OpenAPISchema.js +373 -0
  26. package/dist/OpenAPISchemaName.js +45 -0
  27. package/dist/OpenAPISchemaServer.js +13 -0
  28. package/dist/OpenAPISecurities.js +124 -0
  29. package/dist/OpenAPISelect.js +45 -0
  30. package/dist/OpenAPISpec.js +73 -0
  31. package/dist/OpenAPIWebhook.d.ts +15 -0
  32. package/dist/OpenAPIWebhook.js +28 -0
  33. package/dist/OpenAPIWebhookExample.js +40 -0
  34. package/dist/ScalarApiButton.js +87 -0
  35. package/dist/StaticSection.js +37 -0
  36. package/dist/code-samples.js +275 -0
  37. package/dist/common/OpenAPIColumnSpec.js +23 -0
  38. package/dist/common/OpenAPIOperationDescription.js +18 -0
  39. package/dist/common/OpenAPIStability.js +17 -0
  40. package/dist/common/OpenAPISummary.js +27 -0
  41. package/dist/contentTypeChecks.js +34 -0
  42. package/dist/context.d.ts +71 -0
  43. package/dist/context.js +29 -0
  44. package/dist/decycle.js +41 -0
  45. package/dist/dereference.js +24 -0
  46. package/dist/generateSchemaExample.js +198 -0
  47. package/dist/getDisclosureLabel.js +17 -0
  48. package/dist/getOrCreateStoreByKey.js +22 -0
  49. package/dist/index.d.ts +11 -662
  50. package/dist/index.js +9 -3871
  51. package/dist/json2xml.js +12 -0
  52. package/dist/resolveOpenAPIOperation.d.ts +15 -0
  53. package/dist/resolveOpenAPIOperation.js +102 -0
  54. package/dist/resolveOpenAPIWebhook.d.ts +15 -0
  55. package/dist/resolveOpenAPIWebhook.js +52 -0
  56. package/dist/schemas/OpenAPISchemaItem.js +26 -0
  57. package/dist/schemas/OpenAPISchemas.d.ts +19 -0
  58. package/dist/schemas/OpenAPISchemas.js +57 -0
  59. package/dist/schemas/resolveOpenAPISchemas.d.ts +15 -0
  60. package/dist/schemas/resolveOpenAPISchemas.js +17 -0
  61. package/dist/stringifyOpenAPI.js +14 -0
  62. package/dist/translate.js +43 -0
  63. package/dist/translations/de.js +48 -0
  64. package/dist/translations/en.d.ts +47 -0
  65. package/dist/translations/en.js +48 -0
  66. package/dist/translations/es.js +48 -0
  67. package/dist/translations/fr.js +48 -0
  68. package/dist/translations/index.d.ts +408 -0
  69. package/dist/translations/index.js +31 -0
  70. package/dist/translations/ja.js +48 -0
  71. package/dist/translations/nl.js +48 -0
  72. package/dist/translations/no.js +48 -0
  73. package/dist/translations/pt-br.js +48 -0
  74. package/dist/translations/types.d.ts +7 -0
  75. package/dist/translations/zh.js +48 -0
  76. package/dist/types.d.ts +37 -0
  77. package/dist/util/example.js +84 -0
  78. package/dist/util/server.js +38 -0
  79. package/dist/util/tryit-prefill.js +143 -0
  80. package/dist/utils.js +163 -0
  81. package/package.json +10 -7
package/dist/index.d.ts CHANGED
@@ -1,663 +1,12 @@
1
- import * as react2 from "react";
2
- import { Filesystem, OpenAPICustomOperationProperties, OpenAPICustomPrefillProperties, OpenAPICustomSpecProperties, OpenAPISchema, OpenAPIV3, OpenAPIV3xDocument } from "@gitbook/openapi-parser";
3
- import "flatted";
4
-
5
- //#region src/translations/en.d.ts
6
- declare const en: {
7
- required: string;
8
- deprecated: string;
9
- deprecated_and_sunset_on: string;
10
- stability_experimental: string;
11
- stability_alpha: string;
12
- stability_beta: string;
13
- discriminator: string;
14
- copy_to_clipboard: string;
15
- copied: string;
16
- no_content: string;
17
- unresolved_reference: string;
18
- circular_reference: string;
19
- read_only: string;
20
- write_only: string;
21
- optional: string;
22
- min: string;
23
- max: string;
24
- nullable: string;
25
- body: string;
26
- payload: string;
27
- headers: string;
28
- header: string;
29
- authorizations: string;
30
- responses: string;
31
- response: string;
32
- path_parameters: string;
33
- query_parameters: string;
34
- header_parameters: string;
35
- attributes: string;
36
- test_it: string;
37
- information: string;
38
- success: string;
39
- redirect: string;
40
- error: string;
41
- show: string;
42
- hide: string;
43
- available_items: string;
44
- required_scopes: string;
45
- possible_values: string;
46
- properties: string;
47
- or: string;
48
- and: string;
49
- };
50
- //#endregion
51
- //#region src/translations/types.d.ts
52
- type TranslationKey = keyof typeof en;
53
- type Translation = { [key in TranslationKey]: string };
54
- //#endregion
55
- //#region src/translations/index.d.ts
56
- declare const translations: {
57
- en: {
58
- required: string;
59
- deprecated: string;
60
- deprecated_and_sunset_on: string;
61
- stability_experimental: string;
62
- stability_alpha: string;
63
- stability_beta: string;
64
- discriminator: string;
65
- copy_to_clipboard: string;
66
- copied: string;
67
- no_content: string;
68
- unresolved_reference: string;
69
- circular_reference: string;
70
- read_only: string;
71
- write_only: string;
72
- optional: string;
73
- min: string;
74
- max: string;
75
- nullable: string;
76
- body: string;
77
- payload: string;
78
- headers: string;
79
- header: string;
80
- authorizations: string;
81
- responses: string;
82
- response: string;
83
- path_parameters: string;
84
- query_parameters: string;
85
- header_parameters: string;
86
- attributes: string;
87
- test_it: string;
88
- information: string;
89
- success: string;
90
- redirect: string;
91
- error: string;
92
- show: string;
93
- hide: string;
94
- available_items: string;
95
- required_scopes: string;
96
- possible_values: string;
97
- properties: string;
98
- or: string;
99
- and: string;
100
- };
101
- de: {
102
- required: string;
103
- deprecated: string;
104
- deprecated_and_sunset_on: string;
105
- stability_experimental: string;
106
- stability_alpha: string;
107
- stability_beta: string;
108
- discriminator: string;
109
- copy_to_clipboard: string;
110
- copied: string;
111
- no_content: string;
112
- unresolved_reference: string;
113
- circular_reference: string;
114
- read_only: string;
115
- write_only: string;
116
- optional: string;
117
- min: string;
118
- max: string;
119
- nullable: string;
120
- body: string;
121
- payload: string;
122
- headers: string;
123
- header: string;
124
- authorizations: string;
125
- responses: string;
126
- response: string;
127
- path_parameters: string;
128
- query_parameters: string;
129
- header_parameters: string;
130
- attributes: string;
131
- test_it: string;
132
- information: string;
133
- success: string;
134
- redirect: string;
135
- error: string;
136
- show: string;
137
- hide: string;
138
- available_items: string;
139
- required_scopes: string;
140
- properties: string;
141
- or: string;
142
- and: string;
143
- possible_values: string;
144
- };
145
- es: {
146
- required: string;
147
- deprecated: string;
148
- deprecated_and_sunset_on: string;
149
- stability_experimental: string;
150
- stability_alpha: string;
151
- stability_beta: string;
152
- discriminator: string;
153
- copy_to_clipboard: string;
154
- copied: string;
155
- no_content: string;
156
- unresolved_reference: string;
157
- circular_reference: string;
158
- read_only: string;
159
- write_only: string;
160
- optional: string;
161
- min: string;
162
- max: string;
163
- nullable: string;
164
- body: string;
165
- payload: string;
166
- headers: string;
167
- header: string;
168
- authorizations: string;
169
- responses: string;
170
- response: string;
171
- path_parameters: string;
172
- query_parameters: string;
173
- header_parameters: string;
174
- attributes: string;
175
- test_it: string;
176
- information: string;
177
- success: string;
178
- redirect: string;
179
- error: string;
180
- show: string;
181
- hide: string;
182
- available_items: string;
183
- required_scopes: string;
184
- properties: string;
185
- or: string;
186
- and: string;
187
- possible_values: string;
188
- };
189
- fr: {
190
- required: string;
191
- deprecated: string;
192
- deprecated_and_sunset_on: string;
193
- stability_experimental: string;
194
- stability_alpha: string;
195
- stability_beta: string;
196
- discriminator: string;
197
- copy_to_clipboard: string;
198
- copied: string;
199
- no_content: string;
200
- unresolved_reference: string;
201
- circular_reference: string;
202
- read_only: string;
203
- write_only: string;
204
- optional: string;
205
- min: string;
206
- max: string;
207
- nullable: string;
208
- body: string;
209
- payload: string;
210
- headers: string;
211
- header: string;
212
- authorizations: string;
213
- responses: string;
214
- response: string;
215
- path_parameters: string;
216
- query_parameters: string;
217
- header_parameters: string;
218
- attributes: string;
219
- test_it: string;
220
- information: string;
221
- success: string;
222
- redirect: string;
223
- error: string;
224
- show: string;
225
- hide: string;
226
- available_items: string;
227
- required_scopes: string;
228
- properties: string;
229
- or: string;
230
- and: string;
231
- possible_values: string;
232
- };
233
- ja: {
234
- required: string;
235
- deprecated: string;
236
- deprecated_and_sunset_on: string;
237
- stability_experimental: string;
238
- stability_alpha: string;
239
- stability_beta: string;
240
- discriminator: string;
241
- copy_to_clipboard: string;
242
- copied: string;
243
- no_content: string;
244
- unresolved_reference: string;
245
- circular_reference: string;
246
- read_only: string;
247
- write_only: string;
248
- optional: string;
249
- min: string;
250
- max: string;
251
- nullable: string;
252
- body: string;
253
- payload: string;
254
- headers: string;
255
- header: string;
256
- authorizations: string;
257
- responses: string;
258
- response: string;
259
- path_parameters: string;
260
- query_parameters: string;
261
- header_parameters: string;
262
- attributes: string;
263
- test_it: string;
264
- information: string;
265
- success: string;
266
- redirect: string;
267
- error: string;
268
- show: string;
269
- hide: string;
270
- available_items: string;
271
- required_scopes: string;
272
- properties: string;
273
- or: string;
274
- and: string;
275
- possible_values: string;
276
- };
277
- nl: {
278
- required: string;
279
- deprecated: string;
280
- deprecated_and_sunset_on: string;
281
- stability_experimental: string;
282
- stability_alpha: string;
283
- stability_beta: string;
284
- discriminator: string;
285
- copy_to_clipboard: string;
286
- copied: string;
287
- no_content: string;
288
- unresolved_reference: string;
289
- circular_reference: string;
290
- read_only: string;
291
- write_only: string;
292
- optional: string;
293
- min: string;
294
- max: string;
295
- nullable: string;
296
- body: string;
297
- payload: string;
298
- headers: string;
299
- header: string;
300
- authorizations: string;
301
- responses: string;
302
- response: string;
303
- path_parameters: string;
304
- query_parameters: string;
305
- header_parameters: string;
306
- attributes: string;
307
- test_it: string;
308
- information: string;
309
- success: string;
310
- redirect: string;
311
- error: string;
312
- show: string;
313
- hide: string;
314
- available_items: string;
315
- required_scopes: string;
316
- properties: string;
317
- or: string;
318
- and: string;
319
- possible_values: string;
320
- };
321
- no: {
322
- required: string;
323
- deprecated: string;
324
- deprecated_and_sunset_on: string;
325
- stability_experimental: string;
326
- stability_alpha: string;
327
- stability_beta: string;
328
- discriminator: string;
329
- copy_to_clipboard: string;
330
- copied: string;
331
- no_content: string;
332
- unresolved_reference: string;
333
- circular_reference: string;
334
- read_only: string;
335
- write_only: string;
336
- optional: string;
337
- min: string;
338
- max: string;
339
- nullable: string;
340
- body: string;
341
- payload: string;
342
- headers: string;
343
- header: string;
344
- authorizations: string;
345
- responses: string;
346
- response: string;
347
- path_parameters: string;
348
- query_parameters: string;
349
- header_parameters: string;
350
- attributes: string;
351
- test_it: string;
352
- information: string;
353
- success: string;
354
- redirect: string;
355
- error: string;
356
- show: string;
357
- hide: string;
358
- available_items: string;
359
- required_scopes: string;
360
- properties: string;
361
- or: string;
362
- and: string;
363
- possible_values: string;
364
- };
365
- 'pt-br': {
366
- required: string;
367
- deprecated: string;
368
- deprecated_and_sunset_on: string;
369
- stability_experimental: string;
370
- stability_alpha: string;
371
- stability_beta: string;
372
- discriminator: string;
373
- copy_to_clipboard: string;
374
- copied: string;
375
- no_content: string;
376
- unresolved_reference: string;
377
- circular_reference: string;
378
- read_only: string;
379
- write_only: string;
380
- optional: string;
381
- min: string;
382
- max: string;
383
- nullable: string;
384
- body: string;
385
- payload: string;
386
- headers: string;
387
- header: string;
388
- authorizations: string;
389
- responses: string;
390
- response: string;
391
- path_parameters: string;
392
- query_parameters: string;
393
- header_parameters: string;
394
- attributes: string;
395
- test_it: string;
396
- information: string;
397
- success: string;
398
- redirect: string;
399
- error: string;
400
- show: string;
401
- hide: string;
402
- available_items: string;
403
- required_scopes: string;
404
- properties: string;
405
- or: string;
406
- and: string;
407
- possible_values: string;
408
- };
409
- zh: {
410
- required: string;
411
- deprecated: string;
412
- deprecated_and_sunset_on: string;
413
- stability_experimental: string;
414
- stability_alpha: string;
415
- stability_beta: string;
416
- discriminator: string;
417
- copy_to_clipboard: string;
418
- copied: string;
419
- no_content: string;
420
- unresolved_reference: string;
421
- circular_reference: string;
422
- read_only: string;
423
- write_only: string;
424
- optional: string;
425
- min: string;
426
- max: string;
427
- nullable: string;
428
- body: string;
429
- payload: string;
430
- headers: string;
431
- header: string;
432
- authorizations: string;
433
- responses: string;
434
- response: string;
435
- path_parameters: string;
436
- query_parameters: string;
437
- header_parameters: string;
438
- attributes: string;
439
- test_it: string;
440
- information: string;
441
- success: string;
442
- redirect: string;
443
- error: string;
444
- show: string;
445
- hide: string;
446
- available_items: string;
447
- required_scopes: string;
448
- properties: string;
449
- or: string;
450
- and: string;
451
- possible_values: string;
452
- };
453
- };
454
- type TranslationLocale = keyof typeof translations;
455
- /**
456
- * Check if the locale is valid.
457
- */
458
- declare function checkIsValidLocale(locale: string): locale is TranslationLocale;
459
- //#endregion
460
- //#region src/context.d.ts
461
- interface OpenAPIClientContext {
462
- /**
463
- * The translation language to use.
464
- */
465
- translation: Translation;
466
- /**
467
- * Icons used in the block.
468
- */
469
- icons: {
470
- chevronDown: React.ReactNode;
471
- chevronRight: React.ReactNode;
472
- plus: React.ReactNode;
473
- };
474
- /**
475
- * Force all sections to be opened by default.
476
- * @default false
477
- */
478
- defaultInteractiveOpened?: boolean;
479
- /**
480
- * The key of the block
481
- */
482
- blockKey?: string;
483
- /**
484
- * Optional id attached to the heading and used as an anchor.
485
- */
486
- id?: string;
487
- /**
488
- * Mark the context as a client context.
489
- */
490
- $$isClientContext$$: true;
491
- }
492
- interface OpenAPIContext extends Omit<OpenAPIClientContext, '$$isClientContext$$'> {
493
- /**
494
- * Render a code block.
495
- */
496
- renderCodeBlock: (props: {
497
- code: string;
498
- syntax: string;
499
- }) => React.ReactNode;
500
- /**
501
- * Render the heading of the operation.
502
- */
503
- renderHeading: (props: {
504
- deprecated: boolean;
505
- title: string;
506
- stability?: string;
507
- }) => React.ReactNode;
508
- /**
509
- * Render the document of the operation.
510
- */
511
- renderDocument: (props: {
512
- document: object;
513
- }) => React.ReactNode;
514
- /**
515
- * Specification URL.
516
- */
517
- specUrl: string;
518
- }
519
- interface OpenAPIContextInput extends Omit<OpenAPIContext, 'translation'> {
520
- /**
521
- * The translation language to use.
522
- * @default 'en'
523
- */
524
- locale?: TranslationLocale | undefined;
525
- }
526
- //#endregion
527
- //#region src/schemas/OpenAPISchemas.d.ts
528
- /**
529
- * OpenAPI Schemas component.
530
- */
531
- declare function OpenAPISchemas(props: {
532
- className?: string;
533
- schemas: OpenAPISchema[];
534
- context: OpenAPIContextInput;
535
- /**
536
- * Whether to show the schema directly if there is only one.
537
- */
538
- grouped?: boolean;
539
- }): react2.JSX.Element | null;
540
- //#endregion
541
- //#region src/schemas/resolveOpenAPISchemas.d.ts
542
- /**
543
- * Resolve an OpenAPI schemas from a file and compile it to a more usable format.
544
- * Schemas are extracted from the OpenAPI components.schemas
545
- */
546
- declare function resolveOpenAPISchemas(filesystem: Filesystem<OpenAPIV3xDocument>, options: {
547
- schemas: string[];
548
- }): Promise<{
549
- schemas: OpenAPISchema[];
550
- } | null>;
551
- //#endregion
552
- //#region src/types.d.ts
553
- type OpenAPIServerVariableWithCustomProperties = OpenAPIV3.ServerVariableObject & OpenAPICustomPrefillProperties;
554
- /**
555
- * OpenAPI ServerObject type extended to provide x-gitbook prefill custom properties at the variable level.
556
- */
557
- type OpenAPIServerWithCustomProperties = Omit<OpenAPIV3.ServerObject, 'variables'> & {
558
- variables?: {
559
- [variable: string]: OpenAPIServerVariableWithCustomProperties;
560
- };
561
- } & OpenAPICustomPrefillProperties;
562
- type OpenAPISecurityScope = [string, string | undefined];
563
- type OpenAPICustomSecurityScheme = OpenAPIV3.SecuritySchemeObject & OpenAPICustomPrefillProperties & {
564
- required?: boolean;
565
- scopes?: OpenAPISecurityScope[] | null;
566
- };
567
- interface OpenAPIOperationData extends OpenAPICustomSpecProperties {
568
- path: string;
569
- method: string;
570
- /** Servers to be used for this operation */
571
- servers: OpenAPIServerWithCustomProperties[];
572
- /** Spec of the operation */
573
- operation: OpenAPIV3.OperationObject<OpenAPICustomOperationProperties>;
574
- /** Securities that should be used for this operation */
575
- securities: [string, OpenAPICustomSecurityScheme][];
576
- }
577
- interface OpenAPIWebhookData extends OpenAPICustomSpecProperties {
578
- name: string;
579
- method: string;
580
- /** Servers to be used for this operation */
581
- servers: OpenAPIV3.ServerObject[];
582
- /** Spec of the webhook */
583
- operation: OpenAPIV3.OperationObject<OpenAPICustomOperationProperties>;
584
- }
585
- //#endregion
586
- //#region src/OpenAPIOperation.d.ts
587
- /**
588
- * Display an interactive OpenAPI operation.
589
- */
590
- declare function OpenAPIOperation(props: {
591
- className?: string;
592
- data: OpenAPIOperationData;
593
- context: OpenAPIContextInput;
594
- }): react2.JSX.Element;
595
- //#endregion
596
- //#region src/OpenAPIWebhook.d.ts
597
- /**
598
- * Display an interactive OpenAPI webhook.
599
- */
600
- declare function OpenAPIWebhook(props: {
601
- className?: string;
602
- data: OpenAPIWebhookData;
603
- context: OpenAPIContextInput;
604
- }): react2.JSX.Element;
605
- //#endregion
606
- //#region src/OpenAPIOperationContext.d.ts
607
- interface OpenAPIOperationPointer {
608
- path: string;
609
- method: string;
610
- }
611
- interface OpenAPIOperationContextValue {
612
- onOpenClient: (pointer: OpenAPIOperationPointer) => void;
613
- }
614
- /**
615
- * Provider for the OpenAPIOperationContext.
616
- */
617
- declare function OpenAPIOperationContextProvider(props: React.PropsWithChildren<Partial<OpenAPIOperationContextValue>>): react2.JSX.Element;
618
- /**
619
- * Hook to access the OpenAPIOperationContext.
620
- */
621
- declare function useOpenAPIOperationContext(): OpenAPIOperationContextValue;
622
- //#endregion
623
- //#region src/OpenAPIPrefillContextProvider.d.ts
624
- /**
625
- * Prefill data that can be used to dynamically inject info into OpenAPI operation blocks.
626
- *
627
- * This is typically dynamic input context, such as visitor data or environment info.
628
- */
629
- type PrefillInputContextData = Record<string, unknown>;
630
- /**
631
- * Context value is function that returns prefill data.
632
- */
633
- type PrefillContextValue = () => PrefillInputContextData | null;
634
- /**
635
- * Provide context to help prefill dynamic info like visitor data in OpenAPI blocks.
636
- */
637
- declare function OpenAPIPrefillContextProvider(props: react2.PropsWithChildren<{
638
- getPrefillInputContextData: () => PrefillInputContextData | null;
639
- }>): react2.JSX.Element;
640
- /**
641
- * Hook to access the prefill context function.
642
- */
643
- declare function useOpenAPIPrefillContext(): PrefillContextValue;
644
- //#endregion
645
- //#region src/resolveOpenAPIOperation.d.ts
646
- /**
647
- * Resolve an OpenAPI operation in a file and compile it to a more usable format.
648
- */
649
- declare function resolveOpenAPIOperation(filesystem: Filesystem<OpenAPIV3xDocument>, operationDescriptor: {
650
- path: string;
651
- method: string;
652
- }): Promise<OpenAPIOperationData | null>;
653
- //#endregion
654
- //#region src/resolveOpenAPIWebhook.d.ts
655
- /**
656
- * Resolve an OpenAPI webhook in a file and compile it to a more usable format.
657
- */
658
- declare function resolveOpenAPIWebhook(filesystem: Filesystem<OpenAPIV3xDocument>, webhookDescriptor: {
659
- name: string;
660
- method: string;
661
- }): Promise<OpenAPIWebhookData | null>;
662
- //#endregion
1
+ import { checkIsValidLocale } from "./translations/index.js";
2
+ import { OpenAPIContextInput } from "./context.js";
3
+ import { OpenAPISchemas } from "./schemas/OpenAPISchemas.js";
4
+ import { resolveOpenAPISchemas } from "./schemas/resolveOpenAPISchemas.js";
5
+ import { OpenAPIOperationData, OpenAPIWebhookData } from "./types.js";
6
+ import { OpenAPIOperation } from "./OpenAPIOperation.js";
7
+ import { OpenAPIWebhook } from "./OpenAPIWebhook.js";
8
+ import { OpenAPIOperationContextProvider, useOpenAPIOperationContext } from "./OpenAPIOperationContext.js";
9
+ import { OpenAPIPrefillContextProvider, PrefillInputContextData, useOpenAPIPrefillContext } from "./OpenAPIPrefillContextProvider.js";
10
+ import { resolveOpenAPIOperation } from "./resolveOpenAPIOperation.js";
11
+ import { resolveOpenAPIWebhook } from "./resolveOpenAPIWebhook.js";
663
12
  export { type OpenAPIContextInput, OpenAPIOperation, OpenAPIOperationContextProvider, type OpenAPIOperationData, OpenAPIPrefillContextProvider, OpenAPISchemas, OpenAPIWebhook, type OpenAPIWebhookData, PrefillInputContextData, checkIsValidLocale, resolveOpenAPIOperation, resolveOpenAPISchemas, resolveOpenAPIWebhook, useOpenAPIOperationContext, useOpenAPIPrefillContext };