@scalar/types 0.1.15 → 0.2.1

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.
@@ -64,14 +64,14 @@ export declare const specConfigurationSchema: z.ZodObject<{
64
64
  */
65
65
  slug: z.ZodOptional<z.ZodString>;
66
66
  }, "strip", z.ZodTypeAny, {
67
+ title?: string | undefined;
67
68
  url?: string | undefined;
68
69
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
69
- title?: string | undefined;
70
70
  slug?: string | undefined;
71
71
  }, {
72
+ title?: string | undefined;
72
73
  url?: string | undefined;
73
74
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
74
- title?: string | undefined;
75
75
  slug?: string | undefined;
76
76
  }>;
77
77
  export type SpecConfiguration = z.infer<typeof specConfigurationSchema>;
@@ -172,14 +172,14 @@ export declare const apiClientConfigurationSchema: z.ZodObject<{
172
172
  */
173
173
  slug: z.ZodOptional<z.ZodString>;
174
174
  }, "strip", z.ZodTypeAny, {
175
+ title?: string | undefined;
175
176
  url?: string | undefined;
176
177
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
177
- title?: string | undefined;
178
178
  slug?: string | undefined;
179
179
  }, {
180
+ title?: string | undefined;
180
181
  url?: string | undefined;
181
182
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
182
- title?: string | undefined;
183
183
  slug?: string | undefined;
184
184
  }>>;
185
185
  /** Prefill authentication */
@@ -210,19 +210,140 @@ export declare const apiClientConfigurationSchema: z.ZodObject<{
210
210
  onRequestSent: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodVoid>>;
211
211
  /** Whether to persist auth to local storage */
212
212
  persistAuth: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
213
+ /** Plugins for the API client */
214
+ plugins: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodObject<{
215
+ name: z.ZodString;
216
+ views: z.ZodObject<{
217
+ 'request.section': z.ZodArray<z.ZodObject<{
218
+ title: z.ZodOptional<z.ZodString>;
219
+ component: z.ZodUnknown;
220
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
221
+ }, "strip", z.ZodTypeAny, {
222
+ title?: string | undefined;
223
+ component?: unknown;
224
+ props?: Record<string, any> | undefined;
225
+ }, {
226
+ title?: string | undefined;
227
+ component?: unknown;
228
+ props?: Record<string, any> | undefined;
229
+ }>, "many">;
230
+ 'response.section': z.ZodArray<z.ZodObject<{
231
+ title: z.ZodOptional<z.ZodString>;
232
+ component: z.ZodUnknown;
233
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
234
+ }, "strip", z.ZodTypeAny, {
235
+ title?: string | undefined;
236
+ component?: unknown;
237
+ props?: Record<string, any> | undefined;
238
+ }, {
239
+ title?: string | undefined;
240
+ component?: unknown;
241
+ props?: Record<string, any> | undefined;
242
+ }>, "many">;
243
+ }, "strip", z.ZodTypeAny, {
244
+ 'request.section': {
245
+ title?: string | undefined;
246
+ component?: unknown;
247
+ props?: Record<string, any> | undefined;
248
+ }[];
249
+ 'response.section': {
250
+ title?: string | undefined;
251
+ component?: unknown;
252
+ props?: Record<string, any> | undefined;
253
+ }[];
254
+ }, {
255
+ 'request.section': {
256
+ title?: string | undefined;
257
+ component?: unknown;
258
+ props?: Record<string, any> | undefined;
259
+ }[];
260
+ 'response.section': {
261
+ title?: string | undefined;
262
+ component?: unknown;
263
+ props?: Record<string, any> | undefined;
264
+ }[];
265
+ }>;
266
+ hooks: z.ZodObject<{
267
+ onBeforeRequest: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodVoid, z.ZodPromise<z.ZodVoid>]>>;
268
+ onResponseReceived: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
269
+ response: z.ZodType<Response, z.ZodTypeDef, Response>;
270
+ operation: z.ZodRecord<z.ZodString, z.ZodAny>;
271
+ }, "strip", z.ZodTypeAny, {
272
+ response: Response;
273
+ operation: Record<string, any>;
274
+ }, {
275
+ response: Response;
276
+ operation: Record<string, any>;
277
+ }>], z.ZodUnknown>, z.ZodUnion<[z.ZodVoid, z.ZodPromise<z.ZodVoid>]>>;
278
+ }, "strip", z.ZodTypeAny, {
279
+ onBeforeRequest: (...args: unknown[]) => void | Promise<void>;
280
+ onResponseReceived: (args_0: {
281
+ response: Response;
282
+ operation: Record<string, any>;
283
+ }, ...args: unknown[]) => void | Promise<void>;
284
+ }, {
285
+ onBeforeRequest: (...args: unknown[]) => void | Promise<void>;
286
+ onResponseReceived: (args_0: {
287
+ response: Response;
288
+ operation: Record<string, any>;
289
+ }, ...args: unknown[]) => void | Promise<void>;
290
+ }>;
291
+ }, "strip", z.ZodTypeAny, {
292
+ name: string;
293
+ views: {
294
+ 'request.section': {
295
+ title?: string | undefined;
296
+ component?: unknown;
297
+ props?: Record<string, any> | undefined;
298
+ }[];
299
+ 'response.section': {
300
+ title?: string | undefined;
301
+ component?: unknown;
302
+ props?: Record<string, any> | undefined;
303
+ }[];
304
+ };
305
+ hooks: {
306
+ onBeforeRequest: (...args: unknown[]) => void | Promise<void>;
307
+ onResponseReceived: (args_0: {
308
+ response: Response;
309
+ operation: Record<string, any>;
310
+ }, ...args: unknown[]) => void | Promise<void>;
311
+ };
312
+ }, {
313
+ name: string;
314
+ views: {
315
+ 'request.section': {
316
+ title?: string | undefined;
317
+ component?: unknown;
318
+ props?: Record<string, any> | undefined;
319
+ }[];
320
+ 'response.section': {
321
+ title?: string | undefined;
322
+ component?: unknown;
323
+ props?: Record<string, any> | undefined;
324
+ }[];
325
+ };
326
+ hooks: {
327
+ onBeforeRequest: (...args: unknown[]) => void | Promise<void>;
328
+ onResponseReceived: (args_0: {
329
+ response: Response;
330
+ operation: Record<string, any>;
331
+ }, ...args: unknown[]) => void | Promise<void>;
332
+ };
333
+ }>>, "many">>;
213
334
  }, "strip", z.ZodTypeAny, {
214
335
  hideClientButton: boolean;
215
336
  showSidebar: boolean;
216
337
  theme: "alternate" | "default" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "laserwave" | "none";
217
338
  persistAuth: boolean;
339
+ title?: string | undefined;
218
340
  url?: string | undefined;
219
341
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
220
- title?: string | undefined;
221
342
  slug?: string | undefined;
222
343
  spec?: {
344
+ title?: string | undefined;
223
345
  url?: string | undefined;
224
346
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
225
- title?: string | undefined;
226
347
  slug?: string | undefined;
227
348
  } | undefined;
228
349
  authentication?: any;
@@ -232,15 +353,37 @@ export declare const apiClientConfigurationSchema: z.ZodObject<{
232
353
  servers?: any[] | undefined;
233
354
  _integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
234
355
  onRequestSent?: ((args_0: string, ...args: unknown[]) => void) | undefined;
356
+ plugins?: ((...args: unknown[]) => {
357
+ name: string;
358
+ views: {
359
+ 'request.section': {
360
+ title?: string | undefined;
361
+ component?: unknown;
362
+ props?: Record<string, any> | undefined;
363
+ }[];
364
+ 'response.section': {
365
+ title?: string | undefined;
366
+ component?: unknown;
367
+ props?: Record<string, any> | undefined;
368
+ }[];
369
+ };
370
+ hooks: {
371
+ onBeforeRequest: (...args: unknown[]) => void | Promise<void>;
372
+ onResponseReceived: (args_0: {
373
+ response: Response;
374
+ operation: Record<string, any>;
375
+ }, ...args: unknown[]) => void | Promise<void>;
376
+ };
377
+ })[] | undefined;
235
378
  }, {
379
+ title?: string | undefined;
236
380
  url?: string | undefined;
237
381
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
238
- title?: string | undefined;
239
382
  slug?: string | undefined;
240
383
  spec?: {
384
+ title?: string | undefined;
241
385
  url?: string | undefined;
242
386
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
243
- title?: string | undefined;
244
387
  slug?: string | undefined;
245
388
  } | undefined;
246
389
  authentication?: any;
@@ -254,6 +397,28 @@ export declare const apiClientConfigurationSchema: z.ZodObject<{
254
397
  _integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
255
398
  onRequestSent?: ((args_0: string, ...args: unknown[]) => void) | undefined;
256
399
  persistAuth?: unknown;
400
+ plugins?: ((...args: unknown[]) => {
401
+ name: string;
402
+ views: {
403
+ 'request.section': {
404
+ title?: string | undefined;
405
+ component?: unknown;
406
+ props?: Record<string, any> | undefined;
407
+ }[];
408
+ 'response.section': {
409
+ title?: string | undefined;
410
+ component?: unknown;
411
+ props?: Record<string, any> | undefined;
412
+ }[];
413
+ };
414
+ hooks: {
415
+ onBeforeRequest: (...args: unknown[]) => void | Promise<void>;
416
+ onResponseReceived: (args_0: {
417
+ response: Response;
418
+ operation: Record<string, any>;
419
+ }, ...args: unknown[]) => void | Promise<void>;
420
+ };
421
+ })[] | undefined;
257
422
  }>;
258
423
  export type ApiClientConfiguration = z.infer<typeof apiClientConfigurationSchema>;
259
424
  /** Configuration for the Api Client without the transform since it cannot be merged */
@@ -353,14 +518,14 @@ declare const _apiReferenceConfigurationSchema: z.ZodObject<z.objectUtil.extendS
353
518
  */
354
519
  slug: z.ZodOptional<z.ZodString>;
355
520
  }, "strip", z.ZodTypeAny, {
521
+ title?: string | undefined;
356
522
  url?: string | undefined;
357
523
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
358
- title?: string | undefined;
359
524
  slug?: string | undefined;
360
525
  }, {
526
+ title?: string | undefined;
361
527
  url?: string | undefined;
362
528
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
363
- title?: string | undefined;
364
529
  slug?: string | undefined;
365
530
  }>>;
366
531
  /** Prefill authentication */
@@ -391,6 +556,127 @@ declare const _apiReferenceConfigurationSchema: z.ZodObject<z.objectUtil.extendS
391
556
  onRequestSent: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodVoid>>;
392
557
  /** Whether to persist auth to local storage */
393
558
  persistAuth: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
559
+ /** Plugins for the API client */
560
+ plugins: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodObject<{
561
+ name: z.ZodString;
562
+ views: z.ZodObject<{
563
+ 'request.section': z.ZodArray<z.ZodObject<{
564
+ title: z.ZodOptional<z.ZodString>;
565
+ component: z.ZodUnknown;
566
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
567
+ }, "strip", z.ZodTypeAny, {
568
+ title?: string | undefined;
569
+ component?: unknown;
570
+ props?: Record<string, any> | undefined;
571
+ }, {
572
+ title?: string | undefined;
573
+ component?: unknown;
574
+ props?: Record<string, any> | undefined;
575
+ }>, "many">;
576
+ 'response.section': z.ZodArray<z.ZodObject<{
577
+ title: z.ZodOptional<z.ZodString>;
578
+ component: z.ZodUnknown;
579
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
580
+ }, "strip", z.ZodTypeAny, {
581
+ title?: string | undefined;
582
+ component?: unknown;
583
+ props?: Record<string, any> | undefined;
584
+ }, {
585
+ title?: string | undefined;
586
+ component?: unknown;
587
+ props?: Record<string, any> | undefined;
588
+ }>, "many">;
589
+ }, "strip", z.ZodTypeAny, {
590
+ 'request.section': {
591
+ title?: string | undefined;
592
+ component?: unknown;
593
+ props?: Record<string, any> | undefined;
594
+ }[];
595
+ 'response.section': {
596
+ title?: string | undefined;
597
+ component?: unknown;
598
+ props?: Record<string, any> | undefined;
599
+ }[];
600
+ }, {
601
+ 'request.section': {
602
+ title?: string | undefined;
603
+ component?: unknown;
604
+ props?: Record<string, any> | undefined;
605
+ }[];
606
+ 'response.section': {
607
+ title?: string | undefined;
608
+ component?: unknown;
609
+ props?: Record<string, any> | undefined;
610
+ }[];
611
+ }>;
612
+ hooks: z.ZodObject<{
613
+ onBeforeRequest: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodVoid, z.ZodPromise<z.ZodVoid>]>>;
614
+ onResponseReceived: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
615
+ response: z.ZodType<Response, z.ZodTypeDef, Response>;
616
+ operation: z.ZodRecord<z.ZodString, z.ZodAny>;
617
+ }, "strip", z.ZodTypeAny, {
618
+ response: Response;
619
+ operation: Record<string, any>;
620
+ }, {
621
+ response: Response;
622
+ operation: Record<string, any>;
623
+ }>], z.ZodUnknown>, z.ZodUnion<[z.ZodVoid, z.ZodPromise<z.ZodVoid>]>>;
624
+ }, "strip", z.ZodTypeAny, {
625
+ onBeforeRequest: (...args: unknown[]) => void | Promise<void>;
626
+ onResponseReceived: (args_0: {
627
+ response: Response;
628
+ operation: Record<string, any>;
629
+ }, ...args: unknown[]) => void | Promise<void>;
630
+ }, {
631
+ onBeforeRequest: (...args: unknown[]) => void | Promise<void>;
632
+ onResponseReceived: (args_0: {
633
+ response: Response;
634
+ operation: Record<string, any>;
635
+ }, ...args: unknown[]) => void | Promise<void>;
636
+ }>;
637
+ }, "strip", z.ZodTypeAny, {
638
+ name: string;
639
+ views: {
640
+ 'request.section': {
641
+ title?: string | undefined;
642
+ component?: unknown;
643
+ props?: Record<string, any> | undefined;
644
+ }[];
645
+ 'response.section': {
646
+ title?: string | undefined;
647
+ component?: unknown;
648
+ props?: Record<string, any> | undefined;
649
+ }[];
650
+ };
651
+ hooks: {
652
+ onBeforeRequest: (...args: unknown[]) => void | Promise<void>;
653
+ onResponseReceived: (args_0: {
654
+ response: Response;
655
+ operation: Record<string, any>;
656
+ }, ...args: unknown[]) => void | Promise<void>;
657
+ };
658
+ }, {
659
+ name: string;
660
+ views: {
661
+ 'request.section': {
662
+ title?: string | undefined;
663
+ component?: unknown;
664
+ props?: Record<string, any> | undefined;
665
+ }[];
666
+ 'response.section': {
667
+ title?: string | undefined;
668
+ component?: unknown;
669
+ props?: Record<string, any> | undefined;
670
+ }[];
671
+ };
672
+ hooks: {
673
+ onBeforeRequest: (...args: unknown[]) => void | Promise<void>;
674
+ onResponseReceived: (args_0: {
675
+ response: Response;
676
+ operation: Record<string, any>;
677
+ }, ...args: unknown[]) => void | Promise<void>;
678
+ };
679
+ }>>, "many">>;
394
680
  }, {
395
681
  /**
396
682
  * The layout to use for the references
@@ -664,14 +950,14 @@ declare const _apiReferenceConfigurationSchema: z.ZodObject<z.objectUtil.extendS
664
950
  hideSearch: boolean;
665
951
  hideDarkModeToggle: boolean;
666
952
  withDefaultFonts: boolean;
953
+ title?: string | undefined;
667
954
  url?: string | undefined;
668
955
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
669
- title?: string | undefined;
670
956
  slug?: string | undefined;
671
957
  spec?: {
958
+ title?: string | undefined;
672
959
  url?: string | undefined;
673
960
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
674
- title?: string | undefined;
675
961
  slug?: string | undefined;
676
962
  } | undefined;
677
963
  authentication?: any;
@@ -681,7 +967,6 @@ declare const _apiReferenceConfigurationSchema: z.ZodObject<z.objectUtil.extendS
681
967
  servers?: any[] | undefined;
682
968
  _integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
683
969
  onRequestSent?: ((args_0: string, ...args: unknown[]) => void) | undefined;
684
- proxy?: string | undefined;
685
970
  plugins?: ((...args: unknown[]) => {
686
971
  name: string;
687
972
  extensions: {
@@ -690,6 +975,7 @@ declare const _apiReferenceConfigurationSchema: z.ZodObject<z.objectUtil.extendS
690
975
  renderer?: unknown;
691
976
  }[];
692
977
  })[] | undefined;
978
+ proxy?: string | undefined;
693
979
  darkMode?: boolean | undefined;
694
980
  forceDarkModeState?: "dark" | "light" | undefined;
695
981
  metaData?: any;
@@ -733,14 +1019,14 @@ declare const _apiReferenceConfigurationSchema: z.ZodObject<z.objectUtil.extendS
733
1019
  tagsSorter?: "alpha" | ((args_0: any, args_1: any, ...args: unknown[]) => number) | undefined;
734
1020
  operationsSorter?: "method" | "alpha" | ((args_0: any, args_1: any, ...args: unknown[]) => number) | undefined;
735
1021
  }, {
1022
+ title?: string | undefined;
736
1023
  url?: string | undefined;
737
1024
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
738
- title?: string | undefined;
739
1025
  slug?: string | undefined;
740
1026
  spec?: {
1027
+ title?: string | undefined;
741
1028
  url?: string | undefined;
742
1029
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
743
- title?: string | undefined;
744
1030
  slug?: string | undefined;
745
1031
  } | undefined;
746
1032
  authentication?: any;
@@ -754,8 +1040,6 @@ declare const _apiReferenceConfigurationSchema: z.ZodObject<z.objectUtil.extendS
754
1040
  _integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
755
1041
  onRequestSent?: ((args_0: string, ...args: unknown[]) => void) | undefined;
756
1042
  persistAuth?: unknown;
757
- layout?: unknown;
758
- proxy?: string | undefined;
759
1043
  plugins?: ((...args: unknown[]) => {
760
1044
  name: string;
761
1045
  extensions: {
@@ -764,6 +1048,8 @@ declare const _apiReferenceConfigurationSchema: z.ZodObject<z.objectUtil.extendS
764
1048
  renderer?: unknown;
765
1049
  }[];
766
1050
  })[] | undefined;
1051
+ layout?: unknown;
1052
+ proxy?: string | undefined;
767
1053
  isEditable?: unknown;
768
1054
  isLoading?: unknown;
769
1055
  hideModels?: unknown;
@@ -912,14 +1198,14 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
912
1198
  */
913
1199
  slug: z.ZodOptional<z.ZodString>;
914
1200
  }, "strip", z.ZodTypeAny, {
1201
+ title?: string | undefined;
915
1202
  url?: string | undefined;
916
1203
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
917
- title?: string | undefined;
918
1204
  slug?: string | undefined;
919
1205
  }, {
1206
+ title?: string | undefined;
920
1207
  url?: string | undefined;
921
1208
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
922
- title?: string | undefined;
923
1209
  slug?: string | undefined;
924
1210
  }>>;
925
1211
  /** Prefill authentication */
@@ -950,6 +1236,127 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
950
1236
  onRequestSent: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodVoid>>;
951
1237
  /** Whether to persist auth to local storage */
952
1238
  persistAuth: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
1239
+ /** Plugins for the API client */
1240
+ plugins: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodObject<{
1241
+ name: z.ZodString;
1242
+ views: z.ZodObject<{
1243
+ 'request.section': z.ZodArray<z.ZodObject<{
1244
+ title: z.ZodOptional<z.ZodString>;
1245
+ component: z.ZodUnknown;
1246
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1247
+ }, "strip", z.ZodTypeAny, {
1248
+ title?: string | undefined;
1249
+ component?: unknown;
1250
+ props?: Record<string, any> | undefined;
1251
+ }, {
1252
+ title?: string | undefined;
1253
+ component?: unknown;
1254
+ props?: Record<string, any> | undefined;
1255
+ }>, "many">;
1256
+ 'response.section': z.ZodArray<z.ZodObject<{
1257
+ title: z.ZodOptional<z.ZodString>;
1258
+ component: z.ZodUnknown;
1259
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1260
+ }, "strip", z.ZodTypeAny, {
1261
+ title?: string | undefined;
1262
+ component?: unknown;
1263
+ props?: Record<string, any> | undefined;
1264
+ }, {
1265
+ title?: string | undefined;
1266
+ component?: unknown;
1267
+ props?: Record<string, any> | undefined;
1268
+ }>, "many">;
1269
+ }, "strip", z.ZodTypeAny, {
1270
+ 'request.section': {
1271
+ title?: string | undefined;
1272
+ component?: unknown;
1273
+ props?: Record<string, any> | undefined;
1274
+ }[];
1275
+ 'response.section': {
1276
+ title?: string | undefined;
1277
+ component?: unknown;
1278
+ props?: Record<string, any> | undefined;
1279
+ }[];
1280
+ }, {
1281
+ 'request.section': {
1282
+ title?: string | undefined;
1283
+ component?: unknown;
1284
+ props?: Record<string, any> | undefined;
1285
+ }[];
1286
+ 'response.section': {
1287
+ title?: string | undefined;
1288
+ component?: unknown;
1289
+ props?: Record<string, any> | undefined;
1290
+ }[];
1291
+ }>;
1292
+ hooks: z.ZodObject<{
1293
+ onBeforeRequest: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodVoid, z.ZodPromise<z.ZodVoid>]>>;
1294
+ onResponseReceived: z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1295
+ response: z.ZodType<Response, z.ZodTypeDef, Response>;
1296
+ operation: z.ZodRecord<z.ZodString, z.ZodAny>;
1297
+ }, "strip", z.ZodTypeAny, {
1298
+ response: Response;
1299
+ operation: Record<string, any>;
1300
+ }, {
1301
+ response: Response;
1302
+ operation: Record<string, any>;
1303
+ }>], z.ZodUnknown>, z.ZodUnion<[z.ZodVoid, z.ZodPromise<z.ZodVoid>]>>;
1304
+ }, "strip", z.ZodTypeAny, {
1305
+ onBeforeRequest: (...args: unknown[]) => void | Promise<void>;
1306
+ onResponseReceived: (args_0: {
1307
+ response: Response;
1308
+ operation: Record<string, any>;
1309
+ }, ...args: unknown[]) => void | Promise<void>;
1310
+ }, {
1311
+ onBeforeRequest: (...args: unknown[]) => void | Promise<void>;
1312
+ onResponseReceived: (args_0: {
1313
+ response: Response;
1314
+ operation: Record<string, any>;
1315
+ }, ...args: unknown[]) => void | Promise<void>;
1316
+ }>;
1317
+ }, "strip", z.ZodTypeAny, {
1318
+ name: string;
1319
+ views: {
1320
+ 'request.section': {
1321
+ title?: string | undefined;
1322
+ component?: unknown;
1323
+ props?: Record<string, any> | undefined;
1324
+ }[];
1325
+ 'response.section': {
1326
+ title?: string | undefined;
1327
+ component?: unknown;
1328
+ props?: Record<string, any> | undefined;
1329
+ }[];
1330
+ };
1331
+ hooks: {
1332
+ onBeforeRequest: (...args: unknown[]) => void | Promise<void>;
1333
+ onResponseReceived: (args_0: {
1334
+ response: Response;
1335
+ operation: Record<string, any>;
1336
+ }, ...args: unknown[]) => void | Promise<void>;
1337
+ };
1338
+ }, {
1339
+ name: string;
1340
+ views: {
1341
+ 'request.section': {
1342
+ title?: string | undefined;
1343
+ component?: unknown;
1344
+ props?: Record<string, any> | undefined;
1345
+ }[];
1346
+ 'response.section': {
1347
+ title?: string | undefined;
1348
+ component?: unknown;
1349
+ props?: Record<string, any> | undefined;
1350
+ }[];
1351
+ };
1352
+ hooks: {
1353
+ onBeforeRequest: (...args: unknown[]) => void | Promise<void>;
1354
+ onResponseReceived: (args_0: {
1355
+ response: Response;
1356
+ operation: Record<string, any>;
1357
+ }, ...args: unknown[]) => void | Promise<void>;
1358
+ };
1359
+ }>>, "many">>;
953
1360
  }, {
954
1361
  /**
955
1362
  * The layout to use for the references
@@ -1223,14 +1630,14 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
1223
1630
  hideSearch: boolean;
1224
1631
  hideDarkModeToggle: boolean;
1225
1632
  withDefaultFonts: boolean;
1633
+ title?: string | undefined;
1226
1634
  url?: string | undefined;
1227
1635
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
1228
- title?: string | undefined;
1229
1636
  slug?: string | undefined;
1230
1637
  spec?: {
1638
+ title?: string | undefined;
1231
1639
  url?: string | undefined;
1232
1640
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
1233
- title?: string | undefined;
1234
1641
  slug?: string | undefined;
1235
1642
  } | undefined;
1236
1643
  authentication?: any;
@@ -1240,7 +1647,6 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
1240
1647
  servers?: any[] | undefined;
1241
1648
  _integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
1242
1649
  onRequestSent?: ((args_0: string, ...args: unknown[]) => void) | undefined;
1243
- proxy?: string | undefined;
1244
1650
  plugins?: ((...args: unknown[]) => {
1245
1651
  name: string;
1246
1652
  extensions: {
@@ -1249,6 +1655,7 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
1249
1655
  renderer?: unknown;
1250
1656
  }[];
1251
1657
  })[] | undefined;
1658
+ proxy?: string | undefined;
1252
1659
  darkMode?: boolean | undefined;
1253
1660
  forceDarkModeState?: "dark" | "light" | undefined;
1254
1661
  metaData?: any;
@@ -1292,14 +1699,14 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
1292
1699
  tagsSorter?: "alpha" | ((args_0: any, args_1: any, ...args: unknown[]) => number) | undefined;
1293
1700
  operationsSorter?: "method" | "alpha" | ((args_0: any, args_1: any, ...args: unknown[]) => number) | undefined;
1294
1701
  }, {
1702
+ title?: string | undefined;
1295
1703
  url?: string | undefined;
1296
1704
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
1297
- title?: string | undefined;
1298
1705
  slug?: string | undefined;
1299
1706
  spec?: {
1707
+ title?: string | undefined;
1300
1708
  url?: string | undefined;
1301
1709
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
1302
- title?: string | undefined;
1303
1710
  slug?: string | undefined;
1304
1711
  } | undefined;
1305
1712
  authentication?: any;
@@ -1313,8 +1720,6 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
1313
1720
  _integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
1314
1721
  onRequestSent?: ((args_0: string, ...args: unknown[]) => void) | undefined;
1315
1722
  persistAuth?: unknown;
1316
- layout?: unknown;
1317
- proxy?: string | undefined;
1318
1723
  plugins?: ((...args: unknown[]) => {
1319
1724
  name: string;
1320
1725
  extensions: {
@@ -1323,6 +1728,8 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
1323
1728
  renderer?: unknown;
1324
1729
  }[];
1325
1730
  })[] | undefined;
1731
+ layout?: unknown;
1732
+ proxy?: string | undefined;
1326
1733
  isEditable?: unknown;
1327
1734
  isLoading?: unknown;
1328
1735
  hideModels?: unknown;
@@ -1387,14 +1794,14 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
1387
1794
  hideSearch: boolean;
1388
1795
  hideDarkModeToggle: boolean;
1389
1796
  withDefaultFonts: boolean;
1797
+ title?: string | undefined;
1390
1798
  url?: string | undefined;
1391
1799
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
1392
- title?: string | undefined;
1393
1800
  slug?: string | undefined;
1394
1801
  spec?: {
1802
+ title?: string | undefined;
1395
1803
  url?: string | undefined;
1396
1804
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
1397
- title?: string | undefined;
1398
1805
  slug?: string | undefined;
1399
1806
  } | undefined;
1400
1807
  authentication?: any;
@@ -1404,7 +1811,6 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
1404
1811
  servers?: any[] | undefined;
1405
1812
  _integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
1406
1813
  onRequestSent?: ((args_0: string, ...args: unknown[]) => void) | undefined;
1407
- proxy?: string | undefined;
1408
1814
  plugins?: ((...args: unknown[]) => {
1409
1815
  name: string;
1410
1816
  extensions: {
@@ -1413,6 +1819,7 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
1413
1819
  renderer?: unknown;
1414
1820
  }[];
1415
1821
  })[] | undefined;
1822
+ proxy?: string | undefined;
1416
1823
  darkMode?: boolean | undefined;
1417
1824
  forceDarkModeState?: "dark" | "light" | undefined;
1418
1825
  metaData?: any;
@@ -1456,14 +1863,14 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
1456
1863
  tagsSorter?: "alpha" | ((args_0: any, args_1: any, ...args: unknown[]) => number) | undefined;
1457
1864
  operationsSorter?: "method" | "alpha" | ((args_0: any, args_1: any, ...args: unknown[]) => number) | undefined;
1458
1865
  }, {
1866
+ title?: string | undefined;
1459
1867
  url?: string | undefined;
1460
1868
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
1461
- title?: string | undefined;
1462
1869
  slug?: string | undefined;
1463
1870
  spec?: {
1871
+ title?: string | undefined;
1464
1872
  url?: string | undefined;
1465
1873
  content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
1466
- title?: string | undefined;
1467
1874
  slug?: string | undefined;
1468
1875
  } | undefined;
1469
1876
  authentication?: any;
@@ -1477,8 +1884,6 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
1477
1884
  _integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
1478
1885
  onRequestSent?: ((args_0: string, ...args: unknown[]) => void) | undefined;
1479
1886
  persistAuth?: unknown;
1480
- layout?: unknown;
1481
- proxy?: string | undefined;
1482
1887
  plugins?: ((...args: unknown[]) => {
1483
1888
  name: string;
1484
1889
  extensions: {
@@ -1487,6 +1892,8 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
1487
1892
  renderer?: unknown;
1488
1893
  }[];
1489
1894
  })[] | undefined;
1895
+ layout?: unknown;
1896
+ proxy?: string | undefined;
1490
1897
  isEditable?: unknown;
1491
1898
  isLoading?: unknown;
1492
1899
  hideModels?: unknown;