zudoku 0.39.3 → 0.39.4

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 (60) hide show
  1. package/dist/config/validators/common.d.ts +871 -23
  2. package/dist/config/validators/common.js +44 -1
  3. package/dist/config/validators/common.js.map +1 -1
  4. package/dist/config/validators/validate.d.ts +280 -9
  5. package/dist/lib/components/Footer.d.ts +1 -0
  6. package/dist/lib/components/Footer.js +32 -0
  7. package/dist/lib/components/Footer.js.map +1 -0
  8. package/dist/lib/components/Layout.js +2 -1
  9. package/dist/lib/components/Layout.js.map +1 -1
  10. package/dist/lib/components/Pagination.d.ts +2 -1
  11. package/dist/lib/components/Pagination.js +2 -2
  12. package/dist/lib/components/Pagination.js.map +1 -1
  13. package/dist/lib/components/navigation/Sidebar.js +1 -10
  14. package/dist/lib/components/navigation/Sidebar.js.map +1 -1
  15. package/dist/lib/components/navigation/SidebarWrapper.d.ts +2 -3
  16. package/dist/lib/components/navigation/SidebarWrapper.js +12 -3
  17. package/dist/lib/components/navigation/SidebarWrapper.js.map +1 -1
  18. package/dist/lib/core/ZudokuContext.d.ts +4 -2
  19. package/dist/lib/core/ZudokuContext.js.map +1 -1
  20. package/dist/lib/plugins/api-catalog/Catalog.js +1 -1
  21. package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -1
  22. package/dist/lib/plugins/markdown/MdxPage.js +1 -1
  23. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  24. package/dist/lib/plugins/openapi/OperationList.js +1 -1
  25. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  26. package/dist/lib/plugins/openapi/OperationListItem.js +1 -1
  27. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  28. package/lib/{MdxPage-JscVnWM8.js → MdxPage-Vw_dc9Yz.js} +24 -23
  29. package/lib/MdxPage-Vw_dc9Yz.js.map +1 -0
  30. package/lib/{OasProvider-C4T5TU8Z.js → OasProvider-CjXTP-nz.js} +2 -2
  31. package/lib/{OasProvider-C4T5TU8Z.js.map → OasProvider-CjXTP-nz.js.map} +1 -1
  32. package/lib/{OperationList-C-gBHUou.js → OperationList-BYemrDYk.js} +17 -15
  33. package/lib/{OperationList-C-gBHUou.js.map → OperationList-BYemrDYk.js.map} +1 -1
  34. package/lib/{Pagination-DCCvGq0m.js → Pagination-SdlocK96.js} +14 -12
  35. package/lib/Pagination-SdlocK96.js.map +1 -0
  36. package/lib/{SchemaList-DuN6ThXR.js → SchemaList-CAeKy9pV.js} +2 -2
  37. package/lib/{SchemaList-DuN6ThXR.js.map → SchemaList-CAeKy9pV.js.map} +1 -1
  38. package/lib/{index-DsdAaiwx.js → index-C1OzjGUK.js} +4 -4
  39. package/lib/{index-DsdAaiwx.js.map → index-C1OzjGUK.js.map} +1 -1
  40. package/lib/{index-D6ktNq4i.js → index-D48iOQvJ.js} +433 -323
  41. package/lib/index-D48iOQvJ.js.map +1 -0
  42. package/lib/zudoku.components.js +1 -1
  43. package/lib/zudoku.plugin-api-catalog.js +48 -55
  44. package/lib/zudoku.plugin-api-catalog.js.map +1 -1
  45. package/lib/zudoku.plugin-markdown.js +1 -1
  46. package/lib/zudoku.plugin-openapi.js +1 -1
  47. package/package.json +3 -3
  48. package/src/lib/components/Footer.tsx +136 -0
  49. package/src/lib/components/Layout.tsx +2 -0
  50. package/src/lib/components/Pagination.tsx +4 -1
  51. package/src/lib/components/navigation/Sidebar.tsx +26 -38
  52. package/src/lib/components/navigation/SidebarWrapper.tsx +12 -5
  53. package/src/lib/core/ZudokuContext.ts +7 -2
  54. package/src/lib/plugins/api-catalog/Catalog.tsx +1 -4
  55. package/src/lib/plugins/markdown/MdxPage.tsx +3 -2
  56. package/src/lib/plugins/openapi/OperationList.tsx +8 -6
  57. package/src/lib/plugins/openapi/OperationListItem.tsx +2 -2
  58. package/lib/MdxPage-JscVnWM8.js.map +0 -1
  59. package/lib/Pagination-DCCvGq0m.js.map +0 -1
  60. package/lib/index-D6ktNq4i.js.map +0 -1
@@ -220,6 +220,141 @@ declare const ApiSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
220
220
  label: string;
221
221
  }[] | undefined;
222
222
  }>]>;
223
+ export declare const FooterSocialIcons: readonly ["reddit", "discord", "github", "x", "linkedin", "facebook", "instagram", "youtube", "tiktok", "twitch", "pinterest", "snapchat", "whatsapp", "telegram"];
224
+ export declare const FooterSocialSchema: z.ZodObject<{
225
+ label: z.ZodOptional<z.ZodString>;
226
+ href: z.ZodString;
227
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["reddit", "discord", "github", "x", "linkedin", "facebook", "instagram", "youtube", "tiktok", "twitch", "pinterest", "snapchat", "whatsapp", "telegram"]>, z.ZodType<ReactNode, z.ZodTypeDef, ReactNode>]>>;
228
+ }, "strip", z.ZodTypeAny, {
229
+ href: string;
230
+ label?: string | undefined;
231
+ icon?: ReactNode;
232
+ }, {
233
+ href: string;
234
+ label?: string | undefined;
235
+ icon?: ReactNode;
236
+ }>;
237
+ export declare const FooterSchema: z.ZodOptional<z.ZodObject<{
238
+ columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
239
+ position: z.ZodOptional<z.ZodEnum<["start", "center", "end"]>>;
240
+ title: z.ZodString;
241
+ links: z.ZodArray<z.ZodObject<{
242
+ label: z.ZodString;
243
+ href: z.ZodString;
244
+ }, "strip", z.ZodTypeAny, {
245
+ label: string;
246
+ href: string;
247
+ }, {
248
+ label: string;
249
+ href: string;
250
+ }>, "many">;
251
+ }, "strip", z.ZodTypeAny, {
252
+ title: string;
253
+ links: {
254
+ label: string;
255
+ href: string;
256
+ }[];
257
+ position?: "start" | "end" | "center" | undefined;
258
+ }, {
259
+ title: string;
260
+ links: {
261
+ label: string;
262
+ href: string;
263
+ }[];
264
+ position?: "start" | "end" | "center" | undefined;
265
+ }>, "many">>;
266
+ social: z.ZodOptional<z.ZodArray<z.ZodObject<{
267
+ label: z.ZodOptional<z.ZodString>;
268
+ href: z.ZodString;
269
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["reddit", "discord", "github", "x", "linkedin", "facebook", "instagram", "youtube", "tiktok", "twitch", "pinterest", "snapchat", "whatsapp", "telegram"]>, z.ZodType<ReactNode, z.ZodTypeDef, ReactNode>]>>;
270
+ }, "strip", z.ZodTypeAny, {
271
+ href: string;
272
+ label?: string | undefined;
273
+ icon?: ReactNode;
274
+ }, {
275
+ href: string;
276
+ label?: string | undefined;
277
+ icon?: ReactNode;
278
+ }>, "many">>;
279
+ copyright: z.ZodOptional<z.ZodString>;
280
+ logo: z.ZodOptional<z.ZodObject<{
281
+ src: z.ZodObject<{
282
+ light: z.ZodString;
283
+ dark: z.ZodString;
284
+ }, "strip", z.ZodTypeAny, {
285
+ dark: string;
286
+ light: string;
287
+ }, {
288
+ dark: string;
289
+ light: string;
290
+ }>;
291
+ alt: z.ZodOptional<z.ZodString>;
292
+ width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
293
+ }, "strip", z.ZodTypeAny, {
294
+ src: {
295
+ dark: string;
296
+ light: string;
297
+ };
298
+ width?: string | number | undefined;
299
+ alt?: string | undefined;
300
+ }, {
301
+ src: {
302
+ dark: string;
303
+ light: string;
304
+ };
305
+ width?: string | number | undefined;
306
+ alt?: string | undefined;
307
+ }>>;
308
+ position: z.ZodOptional<z.ZodEnum<["start", "center", "end"]>>;
309
+ }, "strip", z.ZodTypeAny, {
310
+ columns?: {
311
+ title: string;
312
+ links: {
313
+ label: string;
314
+ href: string;
315
+ }[];
316
+ position?: "start" | "end" | "center" | undefined;
317
+ }[] | undefined;
318
+ copyright?: string | undefined;
319
+ logo?: {
320
+ src: {
321
+ dark: string;
322
+ light: string;
323
+ };
324
+ width?: string | number | undefined;
325
+ alt?: string | undefined;
326
+ } | undefined;
327
+ position?: "start" | "end" | "center" | undefined;
328
+ social?: {
329
+ href: string;
330
+ label?: string | undefined;
331
+ icon?: ReactNode;
332
+ }[] | undefined;
333
+ }, {
334
+ columns?: {
335
+ title: string;
336
+ links: {
337
+ label: string;
338
+ href: string;
339
+ }[];
340
+ position?: "start" | "end" | "center" | undefined;
341
+ }[] | undefined;
342
+ copyright?: string | undefined;
343
+ logo?: {
344
+ src: {
345
+ dark: string;
346
+ light: string;
347
+ };
348
+ width?: string | number | undefined;
349
+ alt?: string | undefined;
350
+ } | undefined;
351
+ position?: "start" | "end" | "center" | undefined;
352
+ social?: {
353
+ href: string;
354
+ label?: string | undefined;
355
+ icon?: ReactNode;
356
+ }[] | undefined;
357
+ }>>;
223
358
  declare const SiteMapSchema: z.ZodOptional<z.ZodObject<{
224
359
  /**
225
360
  * Base url of your website
@@ -385,20 +520,20 @@ export declare const CommonConfigSchema: z.ZodObject<{
385
520
  light: string;
386
521
  }>;
387
522
  alt: z.ZodOptional<z.ZodString>;
388
- width: z.ZodOptional<z.ZodString>;
523
+ width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
389
524
  }, "strip", z.ZodTypeAny, {
390
525
  src: {
391
526
  dark: string;
392
527
  light: string;
393
528
  };
394
- width?: string | undefined;
529
+ width?: string | number | undefined;
395
530
  alt?: string | undefined;
396
531
  }, {
397
532
  src: {
398
533
  dark: string;
399
534
  light: string;
400
535
  };
401
- width?: string | undefined;
536
+ width?: string | number | undefined;
402
537
  alt?: string | undefined;
403
538
  }>>;
404
539
  showPoweredBy: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
@@ -415,7 +550,153 @@ export declare const CommonConfigSchema: z.ZodObject<{
415
550
  color?: string | (string & {}) | undefined;
416
551
  dismissible?: boolean | undefined;
417
552
  }>>;
553
+ footer: z.ZodOptional<z.ZodOptional<z.ZodObject<{
554
+ columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
555
+ position: z.ZodOptional<z.ZodEnum<["start", "center", "end"]>>;
556
+ title: z.ZodString;
557
+ links: z.ZodArray<z.ZodObject<{
558
+ label: z.ZodString;
559
+ href: z.ZodString;
560
+ }, "strip", z.ZodTypeAny, {
561
+ label: string;
562
+ href: string;
563
+ }, {
564
+ label: string;
565
+ href: string;
566
+ }>, "many">;
567
+ }, "strip", z.ZodTypeAny, {
568
+ title: string;
569
+ links: {
570
+ label: string;
571
+ href: string;
572
+ }[];
573
+ position?: "start" | "end" | "center" | undefined;
574
+ }, {
575
+ title: string;
576
+ links: {
577
+ label: string;
578
+ href: string;
579
+ }[];
580
+ position?: "start" | "end" | "center" | undefined;
581
+ }>, "many">>;
582
+ social: z.ZodOptional<z.ZodArray<z.ZodObject<{
583
+ label: z.ZodOptional<z.ZodString>;
584
+ href: z.ZodString;
585
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["reddit", "discord", "github", "x", "linkedin", "facebook", "instagram", "youtube", "tiktok", "twitch", "pinterest", "snapchat", "whatsapp", "telegram"]>, z.ZodType<ReactNode, z.ZodTypeDef, ReactNode>]>>;
586
+ }, "strip", z.ZodTypeAny, {
587
+ href: string;
588
+ label?: string | undefined;
589
+ icon?: ReactNode;
590
+ }, {
591
+ href: string;
592
+ label?: string | undefined;
593
+ icon?: ReactNode;
594
+ }>, "many">>;
595
+ copyright: z.ZodOptional<z.ZodString>;
596
+ logo: z.ZodOptional<z.ZodObject<{
597
+ src: z.ZodObject<{
598
+ light: z.ZodString;
599
+ dark: z.ZodString;
600
+ }, "strip", z.ZodTypeAny, {
601
+ dark: string;
602
+ light: string;
603
+ }, {
604
+ dark: string;
605
+ light: string;
606
+ }>;
607
+ alt: z.ZodOptional<z.ZodString>;
608
+ width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
609
+ }, "strip", z.ZodTypeAny, {
610
+ src: {
611
+ dark: string;
612
+ light: string;
613
+ };
614
+ width?: string | number | undefined;
615
+ alt?: string | undefined;
616
+ }, {
617
+ src: {
618
+ dark: string;
619
+ light: string;
620
+ };
621
+ width?: string | number | undefined;
622
+ alt?: string | undefined;
623
+ }>>;
624
+ position: z.ZodOptional<z.ZodEnum<["start", "center", "end"]>>;
625
+ }, "strip", z.ZodTypeAny, {
626
+ columns?: {
627
+ title: string;
628
+ links: {
629
+ label: string;
630
+ href: string;
631
+ }[];
632
+ position?: "start" | "end" | "center" | undefined;
633
+ }[] | undefined;
634
+ copyright?: string | undefined;
635
+ logo?: {
636
+ src: {
637
+ dark: string;
638
+ light: string;
639
+ };
640
+ width?: string | number | undefined;
641
+ alt?: string | undefined;
642
+ } | undefined;
643
+ position?: "start" | "end" | "center" | undefined;
644
+ social?: {
645
+ href: string;
646
+ label?: string | undefined;
647
+ icon?: ReactNode;
648
+ }[] | undefined;
649
+ }, {
650
+ columns?: {
651
+ title: string;
652
+ links: {
653
+ label: string;
654
+ href: string;
655
+ }[];
656
+ position?: "start" | "end" | "center" | undefined;
657
+ }[] | undefined;
658
+ copyright?: string | undefined;
659
+ logo?: {
660
+ src: {
661
+ dark: string;
662
+ light: string;
663
+ };
664
+ width?: string | number | undefined;
665
+ alt?: string | undefined;
666
+ } | undefined;
667
+ position?: "start" | "end" | "center" | undefined;
668
+ social?: {
669
+ href: string;
670
+ label?: string | undefined;
671
+ icon?: ReactNode;
672
+ }[] | undefined;
673
+ }>>>;
418
674
  }, "strip", z.ZodTypeAny, {
675
+ footer?: {
676
+ columns?: {
677
+ title: string;
678
+ links: {
679
+ label: string;
680
+ href: string;
681
+ }[];
682
+ position?: "start" | "end" | "center" | undefined;
683
+ }[] | undefined;
684
+ copyright?: string | undefined;
685
+ logo?: {
686
+ src: {
687
+ dark: string;
688
+ light: string;
689
+ };
690
+ width?: string | number | undefined;
691
+ alt?: string | undefined;
692
+ } | undefined;
693
+ position?: "start" | "end" | "center" | undefined;
694
+ social?: {
695
+ href: string;
696
+ label?: string | undefined;
697
+ icon?: ReactNode;
698
+ }[] | undefined;
699
+ } | undefined;
419
700
  banner?: {
420
701
  message: NonNullable<ReactNode>;
421
702
  color?: string | (string & {}) | undefined;
@@ -428,11 +709,36 @@ export declare const CommonConfigSchema: z.ZodObject<{
428
709
  dark: string;
429
710
  light: string;
430
711
  };
431
- width?: string | undefined;
712
+ width?: string | number | undefined;
432
713
  alt?: string | undefined;
433
714
  } | undefined;
434
715
  showPoweredBy?: boolean | undefined;
435
716
  }, {
717
+ footer?: {
718
+ columns?: {
719
+ title: string;
720
+ links: {
721
+ label: string;
722
+ href: string;
723
+ }[];
724
+ position?: "start" | "end" | "center" | undefined;
725
+ }[] | undefined;
726
+ copyright?: string | undefined;
727
+ logo?: {
728
+ src: {
729
+ dark: string;
730
+ light: string;
731
+ };
732
+ width?: string | number | undefined;
733
+ alt?: string | undefined;
734
+ } | undefined;
735
+ position?: "start" | "end" | "center" | undefined;
736
+ social?: {
737
+ href: string;
738
+ label?: string | undefined;
739
+ icon?: ReactNode;
740
+ }[] | undefined;
741
+ } | undefined;
436
742
  banner?: {
437
743
  message: NonNullable<ReactNode>;
438
744
  color?: string | (string & {}) | undefined;
@@ -445,7 +751,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
445
751
  dark: string;
446
752
  light: string;
447
753
  };
448
- width?: string | undefined;
754
+ width?: string | number | undefined;
449
755
  alt?: string | undefined;
450
756
  } | undefined;
451
757
  showPoweredBy?: boolean | undefined;
@@ -1739,6 +2045,31 @@ export declare const CommonConfigSchema: z.ZodObject<{
1739
2045
  } | undefined;
1740
2046
  };
1741
2047
  page: {
2048
+ footer?: {
2049
+ columns?: {
2050
+ title: string;
2051
+ links: {
2052
+ label: string;
2053
+ href: string;
2054
+ }[];
2055
+ position?: "start" | "end" | "center" | undefined;
2056
+ }[] | undefined;
2057
+ copyright?: string | undefined;
2058
+ logo?: {
2059
+ src: {
2060
+ dark: string;
2061
+ light: string;
2062
+ };
2063
+ width?: string | number | undefined;
2064
+ alt?: string | undefined;
2065
+ } | undefined;
2066
+ position?: "start" | "end" | "center" | undefined;
2067
+ social?: {
2068
+ href: string;
2069
+ label?: string | undefined;
2070
+ icon?: ReactNode;
2071
+ }[] | undefined;
2072
+ } | undefined;
1742
2073
  banner?: {
1743
2074
  message: NonNullable<ReactNode>;
1744
2075
  color?: string | (string & {}) | undefined;
@@ -1751,7 +2082,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
1751
2082
  dark: string;
1752
2083
  light: string;
1753
2084
  };
1754
- width?: string | undefined;
2085
+ width?: string | number | undefined;
1755
2086
  alt?: string | undefined;
1756
2087
  } | undefined;
1757
2088
  showPoweredBy?: boolean | undefined;
@@ -2072,6 +2403,31 @@ export declare const CommonConfigSchema: z.ZodObject<{
2072
2403
  } | undefined;
2073
2404
  };
2074
2405
  page: {
2406
+ footer?: {
2407
+ columns?: {
2408
+ title: string;
2409
+ links: {
2410
+ label: string;
2411
+ href: string;
2412
+ }[];
2413
+ position?: "start" | "end" | "center" | undefined;
2414
+ }[] | undefined;
2415
+ copyright?: string | undefined;
2416
+ logo?: {
2417
+ src: {
2418
+ dark: string;
2419
+ light: string;
2420
+ };
2421
+ width?: string | number | undefined;
2422
+ alt?: string | undefined;
2423
+ } | undefined;
2424
+ position?: "start" | "end" | "center" | undefined;
2425
+ social?: {
2426
+ href: string;
2427
+ label?: string | undefined;
2428
+ icon?: ReactNode;
2429
+ }[] | undefined;
2430
+ } | undefined;
2075
2431
  banner?: {
2076
2432
  message: NonNullable<ReactNode>;
2077
2433
  color?: string | (string & {}) | undefined;
@@ -2084,7 +2440,7 @@ export declare const CommonConfigSchema: z.ZodObject<{
2084
2440
  dark: string;
2085
2441
  light: string;
2086
2442
  };
2087
- width?: string | undefined;
2443
+ width?: string | number | undefined;
2088
2444
  alt?: string | undefined;
2089
2445
  } | undefined;
2090
2446
  showPoweredBy?: boolean | undefined;
@@ -2336,20 +2692,20 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
2336
2692
  light: string;
2337
2693
  }>;
2338
2694
  alt: z.ZodOptional<z.ZodString>;
2339
- width: z.ZodOptional<z.ZodString>;
2695
+ width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
2340
2696
  }, "strip", z.ZodTypeAny, {
2341
2697
  src: {
2342
2698
  dark: string;
2343
2699
  light: string;
2344
2700
  };
2345
- width?: string | undefined;
2701
+ width?: string | number | undefined;
2346
2702
  alt?: string | undefined;
2347
2703
  }, {
2348
2704
  src: {
2349
2705
  dark: string;
2350
2706
  light: string;
2351
2707
  };
2352
- width?: string | undefined;
2708
+ width?: string | number | undefined;
2353
2709
  alt?: string | undefined;
2354
2710
  }>>;
2355
2711
  showPoweredBy: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
@@ -2366,7 +2722,153 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
2366
2722
  color?: string | (string & {}) | undefined;
2367
2723
  dismissible?: boolean | undefined;
2368
2724
  }>>;
2725
+ footer: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2726
+ columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
2727
+ position: z.ZodOptional<z.ZodEnum<["start", "center", "end"]>>;
2728
+ title: z.ZodString;
2729
+ links: z.ZodArray<z.ZodObject<{
2730
+ label: z.ZodString;
2731
+ href: z.ZodString;
2732
+ }, "strip", z.ZodTypeAny, {
2733
+ label: string;
2734
+ href: string;
2735
+ }, {
2736
+ label: string;
2737
+ href: string;
2738
+ }>, "many">;
2739
+ }, "strip", z.ZodTypeAny, {
2740
+ title: string;
2741
+ links: {
2742
+ label: string;
2743
+ href: string;
2744
+ }[];
2745
+ position?: "start" | "end" | "center" | undefined;
2746
+ }, {
2747
+ title: string;
2748
+ links: {
2749
+ label: string;
2750
+ href: string;
2751
+ }[];
2752
+ position?: "start" | "end" | "center" | undefined;
2753
+ }>, "many">>;
2754
+ social: z.ZodOptional<z.ZodArray<z.ZodObject<{
2755
+ label: z.ZodOptional<z.ZodString>;
2756
+ href: z.ZodString;
2757
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["reddit", "discord", "github", "x", "linkedin", "facebook", "instagram", "youtube", "tiktok", "twitch", "pinterest", "snapchat", "whatsapp", "telegram"]>, z.ZodType<ReactNode, z.ZodTypeDef, ReactNode>]>>;
2758
+ }, "strip", z.ZodTypeAny, {
2759
+ href: string;
2760
+ label?: string | undefined;
2761
+ icon?: ReactNode;
2762
+ }, {
2763
+ href: string;
2764
+ label?: string | undefined;
2765
+ icon?: ReactNode;
2766
+ }>, "many">>;
2767
+ copyright: z.ZodOptional<z.ZodString>;
2768
+ logo: z.ZodOptional<z.ZodObject<{
2769
+ src: z.ZodObject<{
2770
+ light: z.ZodString;
2771
+ dark: z.ZodString;
2772
+ }, "strip", z.ZodTypeAny, {
2773
+ dark: string;
2774
+ light: string;
2775
+ }, {
2776
+ dark: string;
2777
+ light: string;
2778
+ }>;
2779
+ alt: z.ZodOptional<z.ZodString>;
2780
+ width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
2781
+ }, "strip", z.ZodTypeAny, {
2782
+ src: {
2783
+ dark: string;
2784
+ light: string;
2785
+ };
2786
+ width?: string | number | undefined;
2787
+ alt?: string | undefined;
2788
+ }, {
2789
+ src: {
2790
+ dark: string;
2791
+ light: string;
2792
+ };
2793
+ width?: string | number | undefined;
2794
+ alt?: string | undefined;
2795
+ }>>;
2796
+ position: z.ZodOptional<z.ZodEnum<["start", "center", "end"]>>;
2797
+ }, "strip", z.ZodTypeAny, {
2798
+ columns?: {
2799
+ title: string;
2800
+ links: {
2801
+ label: string;
2802
+ href: string;
2803
+ }[];
2804
+ position?: "start" | "end" | "center" | undefined;
2805
+ }[] | undefined;
2806
+ copyright?: string | undefined;
2807
+ logo?: {
2808
+ src: {
2809
+ dark: string;
2810
+ light: string;
2811
+ };
2812
+ width?: string | number | undefined;
2813
+ alt?: string | undefined;
2814
+ } | undefined;
2815
+ position?: "start" | "end" | "center" | undefined;
2816
+ social?: {
2817
+ href: string;
2818
+ label?: string | undefined;
2819
+ icon?: ReactNode;
2820
+ }[] | undefined;
2821
+ }, {
2822
+ columns?: {
2823
+ title: string;
2824
+ links: {
2825
+ label: string;
2826
+ href: string;
2827
+ }[];
2828
+ position?: "start" | "end" | "center" | undefined;
2829
+ }[] | undefined;
2830
+ copyright?: string | undefined;
2831
+ logo?: {
2832
+ src: {
2833
+ dark: string;
2834
+ light: string;
2835
+ };
2836
+ width?: string | number | undefined;
2837
+ alt?: string | undefined;
2838
+ } | undefined;
2839
+ position?: "start" | "end" | "center" | undefined;
2840
+ social?: {
2841
+ href: string;
2842
+ label?: string | undefined;
2843
+ icon?: ReactNode;
2844
+ }[] | undefined;
2845
+ }>>>;
2369
2846
  }, "strip", z.ZodTypeAny, {
2847
+ footer?: {
2848
+ columns?: {
2849
+ title: string;
2850
+ links: {
2851
+ label: string;
2852
+ href: string;
2853
+ }[];
2854
+ position?: "start" | "end" | "center" | undefined;
2855
+ }[] | undefined;
2856
+ copyright?: string | undefined;
2857
+ logo?: {
2858
+ src: {
2859
+ dark: string;
2860
+ light: string;
2861
+ };
2862
+ width?: string | number | undefined;
2863
+ alt?: string | undefined;
2864
+ } | undefined;
2865
+ position?: "start" | "end" | "center" | undefined;
2866
+ social?: {
2867
+ href: string;
2868
+ label?: string | undefined;
2869
+ icon?: ReactNode;
2870
+ }[] | undefined;
2871
+ } | undefined;
2370
2872
  banner?: {
2371
2873
  message: NonNullable<ReactNode>;
2372
2874
  color?: string | (string & {}) | undefined;
@@ -2379,11 +2881,36 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
2379
2881
  dark: string;
2380
2882
  light: string;
2381
2883
  };
2382
- width?: string | undefined;
2884
+ width?: string | number | undefined;
2383
2885
  alt?: string | undefined;
2384
2886
  } | undefined;
2385
2887
  showPoweredBy?: boolean | undefined;
2386
2888
  }, {
2889
+ footer?: {
2890
+ columns?: {
2891
+ title: string;
2892
+ links: {
2893
+ label: string;
2894
+ href: string;
2895
+ }[];
2896
+ position?: "start" | "end" | "center" | undefined;
2897
+ }[] | undefined;
2898
+ copyright?: string | undefined;
2899
+ logo?: {
2900
+ src: {
2901
+ dark: string;
2902
+ light: string;
2903
+ };
2904
+ width?: string | number | undefined;
2905
+ alt?: string | undefined;
2906
+ } | undefined;
2907
+ position?: "start" | "end" | "center" | undefined;
2908
+ social?: {
2909
+ href: string;
2910
+ label?: string | undefined;
2911
+ icon?: ReactNode;
2912
+ }[] | undefined;
2913
+ } | undefined;
2387
2914
  banner?: {
2388
2915
  message: NonNullable<ReactNode>;
2389
2916
  color?: string | (string & {}) | undefined;
@@ -2396,7 +2923,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
2396
2923
  dark: string;
2397
2924
  light: string;
2398
2925
  };
2399
- width?: string | undefined;
2926
+ width?: string | number | undefined;
2400
2927
  alt?: string | undefined;
2401
2928
  } | undefined;
2402
2929
  showPoweredBy?: boolean | undefined;
@@ -3726,6 +4253,31 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
3726
4253
  ca?: string | undefined;
3727
4254
  } | undefined;
3728
4255
  page?: {
4256
+ footer?: {
4257
+ columns?: {
4258
+ title: string;
4259
+ links: {
4260
+ label: string;
4261
+ href: string;
4262
+ }[];
4263
+ position?: "start" | "end" | "center" | undefined;
4264
+ }[] | undefined;
4265
+ copyright?: string | undefined;
4266
+ logo?: {
4267
+ src: {
4268
+ dark: string;
4269
+ light: string;
4270
+ };
4271
+ width?: string | number | undefined;
4272
+ alt?: string | undefined;
4273
+ } | undefined;
4274
+ position?: "start" | "end" | "center" | undefined;
4275
+ social?: {
4276
+ href: string;
4277
+ label?: string | undefined;
4278
+ icon?: ReactNode;
4279
+ }[] | undefined;
4280
+ } | undefined;
3729
4281
  banner?: {
3730
4282
  message: NonNullable<ReactNode>;
3731
4283
  color?: string | (string & {}) | undefined;
@@ -3738,7 +4290,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
3738
4290
  dark: string;
3739
4291
  light: string;
3740
4292
  };
3741
- width?: string | undefined;
4293
+ width?: string | number | undefined;
3742
4294
  alt?: string | undefined;
3743
4295
  } | undefined;
3744
4296
  showPoweredBy?: boolean | undefined;
@@ -4059,6 +4611,31 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
4059
4611
  ca?: string | undefined;
4060
4612
  } | undefined;
4061
4613
  page?: {
4614
+ footer?: {
4615
+ columns?: {
4616
+ title: string;
4617
+ links: {
4618
+ label: string;
4619
+ href: string;
4620
+ }[];
4621
+ position?: "start" | "end" | "center" | undefined;
4622
+ }[] | undefined;
4623
+ copyright?: string | undefined;
4624
+ logo?: {
4625
+ src: {
4626
+ dark: string;
4627
+ light: string;
4628
+ };
4629
+ width?: string | number | undefined;
4630
+ alt?: string | undefined;
4631
+ } | undefined;
4632
+ position?: "start" | "end" | "center" | undefined;
4633
+ social?: {
4634
+ href: string;
4635
+ label?: string | undefined;
4636
+ icon?: ReactNode;
4637
+ }[] | undefined;
4638
+ } | undefined;
4062
4639
  banner?: {
4063
4640
  message: NonNullable<ReactNode>;
4064
4641
  color?: string | (string & {}) | undefined;
@@ -4071,7 +4648,7 @@ declare const CommonConfigSchemaPartial: z.ZodObject<{
4071
4648
  dark: string;
4072
4649
  light: string;
4073
4650
  };
4074
- width?: string | undefined;
4651
+ width?: string | number | undefined;
4075
4652
  alt?: string | undefined;
4076
4653
  } | undefined;
4077
4654
  showPoweredBy?: boolean | undefined;
@@ -4286,20 +4863,20 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
4286
4863
  light: string;
4287
4864
  }>;
4288
4865
  alt: z.ZodOptional<z.ZodString>;
4289
- width: z.ZodOptional<z.ZodString>;
4866
+ width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
4290
4867
  }, "strip", z.ZodTypeAny, {
4291
4868
  src: {
4292
4869
  dark: string;
4293
4870
  light: string;
4294
4871
  };
4295
- width?: string | undefined;
4872
+ width?: string | number | undefined;
4296
4873
  alt?: string | undefined;
4297
4874
  }, {
4298
4875
  src: {
4299
4876
  dark: string;
4300
4877
  light: string;
4301
4878
  };
4302
- width?: string | undefined;
4879
+ width?: string | number | undefined;
4303
4880
  alt?: string | undefined;
4304
4881
  }>>;
4305
4882
  showPoweredBy: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
@@ -4316,7 +4893,153 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
4316
4893
  color?: string | (string & {}) | undefined;
4317
4894
  dismissible?: boolean | undefined;
4318
4895
  }>>;
4896
+ footer: z.ZodOptional<z.ZodOptional<z.ZodObject<{
4897
+ columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
4898
+ position: z.ZodOptional<z.ZodEnum<["start", "center", "end"]>>;
4899
+ title: z.ZodString;
4900
+ links: z.ZodArray<z.ZodObject<{
4901
+ label: z.ZodString;
4902
+ href: z.ZodString;
4903
+ }, "strip", z.ZodTypeAny, {
4904
+ label: string;
4905
+ href: string;
4906
+ }, {
4907
+ label: string;
4908
+ href: string;
4909
+ }>, "many">;
4910
+ }, "strip", z.ZodTypeAny, {
4911
+ title: string;
4912
+ links: {
4913
+ label: string;
4914
+ href: string;
4915
+ }[];
4916
+ position?: "start" | "end" | "center" | undefined;
4917
+ }, {
4918
+ title: string;
4919
+ links: {
4920
+ label: string;
4921
+ href: string;
4922
+ }[];
4923
+ position?: "start" | "end" | "center" | undefined;
4924
+ }>, "many">>;
4925
+ social: z.ZodOptional<z.ZodArray<z.ZodObject<{
4926
+ label: z.ZodOptional<z.ZodString>;
4927
+ href: z.ZodString;
4928
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["reddit", "discord", "github", "x", "linkedin", "facebook", "instagram", "youtube", "tiktok", "twitch", "pinterest", "snapchat", "whatsapp", "telegram"]>, z.ZodType<ReactNode, z.ZodTypeDef, ReactNode>]>>;
4929
+ }, "strip", z.ZodTypeAny, {
4930
+ href: string;
4931
+ label?: string | undefined;
4932
+ icon?: ReactNode;
4933
+ }, {
4934
+ href: string;
4935
+ label?: string | undefined;
4936
+ icon?: ReactNode;
4937
+ }>, "many">>;
4938
+ copyright: z.ZodOptional<z.ZodString>;
4939
+ logo: z.ZodOptional<z.ZodObject<{
4940
+ src: z.ZodObject<{
4941
+ light: z.ZodString;
4942
+ dark: z.ZodString;
4943
+ }, "strip", z.ZodTypeAny, {
4944
+ dark: string;
4945
+ light: string;
4946
+ }, {
4947
+ dark: string;
4948
+ light: string;
4949
+ }>;
4950
+ alt: z.ZodOptional<z.ZodString>;
4951
+ width: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
4952
+ }, "strip", z.ZodTypeAny, {
4953
+ src: {
4954
+ dark: string;
4955
+ light: string;
4956
+ };
4957
+ width?: string | number | undefined;
4958
+ alt?: string | undefined;
4959
+ }, {
4960
+ src: {
4961
+ dark: string;
4962
+ light: string;
4963
+ };
4964
+ width?: string | number | undefined;
4965
+ alt?: string | undefined;
4966
+ }>>;
4967
+ position: z.ZodOptional<z.ZodEnum<["start", "center", "end"]>>;
4968
+ }, "strip", z.ZodTypeAny, {
4969
+ columns?: {
4970
+ title: string;
4971
+ links: {
4972
+ label: string;
4973
+ href: string;
4974
+ }[];
4975
+ position?: "start" | "end" | "center" | undefined;
4976
+ }[] | undefined;
4977
+ copyright?: string | undefined;
4978
+ logo?: {
4979
+ src: {
4980
+ dark: string;
4981
+ light: string;
4982
+ };
4983
+ width?: string | number | undefined;
4984
+ alt?: string | undefined;
4985
+ } | undefined;
4986
+ position?: "start" | "end" | "center" | undefined;
4987
+ social?: {
4988
+ href: string;
4989
+ label?: string | undefined;
4990
+ icon?: ReactNode;
4991
+ }[] | undefined;
4992
+ }, {
4993
+ columns?: {
4994
+ title: string;
4995
+ links: {
4996
+ label: string;
4997
+ href: string;
4998
+ }[];
4999
+ position?: "start" | "end" | "center" | undefined;
5000
+ }[] | undefined;
5001
+ copyright?: string | undefined;
5002
+ logo?: {
5003
+ src: {
5004
+ dark: string;
5005
+ light: string;
5006
+ };
5007
+ width?: string | number | undefined;
5008
+ alt?: string | undefined;
5009
+ } | undefined;
5010
+ position?: "start" | "end" | "center" | undefined;
5011
+ social?: {
5012
+ href: string;
5013
+ label?: string | undefined;
5014
+ icon?: ReactNode;
5015
+ }[] | undefined;
5016
+ }>>>;
4319
5017
  }, "strip", z.ZodTypeAny, {
5018
+ footer?: {
5019
+ columns?: {
5020
+ title: string;
5021
+ links: {
5022
+ label: string;
5023
+ href: string;
5024
+ }[];
5025
+ position?: "start" | "end" | "center" | undefined;
5026
+ }[] | undefined;
5027
+ copyright?: string | undefined;
5028
+ logo?: {
5029
+ src: {
5030
+ dark: string;
5031
+ light: string;
5032
+ };
5033
+ width?: string | number | undefined;
5034
+ alt?: string | undefined;
5035
+ } | undefined;
5036
+ position?: "start" | "end" | "center" | undefined;
5037
+ social?: {
5038
+ href: string;
5039
+ label?: string | undefined;
5040
+ icon?: ReactNode;
5041
+ }[] | undefined;
5042
+ } | undefined;
4320
5043
  banner?: {
4321
5044
  message: NonNullable<ReactNode>;
4322
5045
  color?: string | (string & {}) | undefined;
@@ -4329,11 +5052,36 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
4329
5052
  dark: string;
4330
5053
  light: string;
4331
5054
  };
4332
- width?: string | undefined;
5055
+ width?: string | number | undefined;
4333
5056
  alt?: string | undefined;
4334
5057
  } | undefined;
4335
5058
  showPoweredBy?: boolean | undefined;
4336
5059
  }, {
5060
+ footer?: {
5061
+ columns?: {
5062
+ title: string;
5063
+ links: {
5064
+ label: string;
5065
+ href: string;
5066
+ }[];
5067
+ position?: "start" | "end" | "center" | undefined;
5068
+ }[] | undefined;
5069
+ copyright?: string | undefined;
5070
+ logo?: {
5071
+ src: {
5072
+ dark: string;
5073
+ light: string;
5074
+ };
5075
+ width?: string | number | undefined;
5076
+ alt?: string | undefined;
5077
+ } | undefined;
5078
+ position?: "start" | "end" | "center" | undefined;
5079
+ social?: {
5080
+ href: string;
5081
+ label?: string | undefined;
5082
+ icon?: ReactNode;
5083
+ }[] | undefined;
5084
+ } | undefined;
4337
5085
  banner?: {
4338
5086
  message: NonNullable<ReactNode>;
4339
5087
  color?: string | (string & {}) | undefined;
@@ -4346,7 +5094,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
4346
5094
  dark: string;
4347
5095
  light: string;
4348
5096
  };
4349
- width?: string | undefined;
5097
+ width?: string | number | undefined;
4350
5098
  alt?: string | undefined;
4351
5099
  } | undefined;
4352
5100
  showPoweredBy?: boolean | undefined;
@@ -5676,6 +6424,31 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
5676
6424
  ca?: string | undefined;
5677
6425
  } | undefined;
5678
6426
  page?: {
6427
+ footer?: {
6428
+ columns?: {
6429
+ title: string;
6430
+ links: {
6431
+ label: string;
6432
+ href: string;
6433
+ }[];
6434
+ position?: "start" | "end" | "center" | undefined;
6435
+ }[] | undefined;
6436
+ copyright?: string | undefined;
6437
+ logo?: {
6438
+ src: {
6439
+ dark: string;
6440
+ light: string;
6441
+ };
6442
+ width?: string | number | undefined;
6443
+ alt?: string | undefined;
6444
+ } | undefined;
6445
+ position?: "start" | "end" | "center" | undefined;
6446
+ social?: {
6447
+ href: string;
6448
+ label?: string | undefined;
6449
+ icon?: ReactNode;
6450
+ }[] | undefined;
6451
+ } | undefined;
5679
6452
  banner?: {
5680
6453
  message: NonNullable<ReactNode>;
5681
6454
  color?: string | (string & {}) | undefined;
@@ -5688,7 +6461,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
5688
6461
  dark: string;
5689
6462
  light: string;
5690
6463
  };
5691
- width?: string | undefined;
6464
+ width?: string | number | undefined;
5692
6465
  alt?: string | undefined;
5693
6466
  } | undefined;
5694
6467
  showPoweredBy?: boolean | undefined;
@@ -6009,6 +6782,31 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
6009
6782
  ca?: string | undefined;
6010
6783
  } | undefined;
6011
6784
  page?: {
6785
+ footer?: {
6786
+ columns?: {
6787
+ title: string;
6788
+ links: {
6789
+ label: string;
6790
+ href: string;
6791
+ }[];
6792
+ position?: "start" | "end" | "center" | undefined;
6793
+ }[] | undefined;
6794
+ copyright?: string | undefined;
6795
+ logo?: {
6796
+ src: {
6797
+ dark: string;
6798
+ light: string;
6799
+ };
6800
+ width?: string | number | undefined;
6801
+ alt?: string | undefined;
6802
+ } | undefined;
6803
+ position?: "start" | "end" | "center" | undefined;
6804
+ social?: {
6805
+ href: string;
6806
+ label?: string | undefined;
6807
+ icon?: ReactNode;
6808
+ }[] | undefined;
6809
+ } | undefined;
6012
6810
  banner?: {
6013
6811
  message: NonNullable<ReactNode>;
6014
6812
  color?: string | (string & {}) | undefined;
@@ -6021,7 +6819,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
6021
6819
  dark: string;
6022
6820
  light: string;
6023
6821
  };
6024
- width?: string | undefined;
6822
+ width?: string | number | undefined;
6025
6823
  alt?: string | undefined;
6026
6824
  } | undefined;
6027
6825
  showPoweredBy?: boolean | undefined;
@@ -6342,6 +7140,31 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
6342
7140
  ca?: string | undefined;
6343
7141
  } | undefined;
6344
7142
  page?: {
7143
+ footer?: {
7144
+ columns?: {
7145
+ title: string;
7146
+ links: {
7147
+ label: string;
7148
+ href: string;
7149
+ }[];
7150
+ position?: "start" | "end" | "center" | undefined;
7151
+ }[] | undefined;
7152
+ copyright?: string | undefined;
7153
+ logo?: {
7154
+ src: {
7155
+ dark: string;
7156
+ light: string;
7157
+ };
7158
+ width?: string | number | undefined;
7159
+ alt?: string | undefined;
7160
+ } | undefined;
7161
+ position?: "start" | "end" | "center" | undefined;
7162
+ social?: {
7163
+ href: string;
7164
+ label?: string | undefined;
7165
+ icon?: ReactNode;
7166
+ }[] | undefined;
7167
+ } | undefined;
6345
7168
  banner?: {
6346
7169
  message: NonNullable<ReactNode>;
6347
7170
  color?: string | (string & {}) | undefined;
@@ -6354,7 +7177,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
6354
7177
  dark: string;
6355
7178
  light: string;
6356
7179
  };
6357
- width?: string | undefined;
7180
+ width?: string | number | undefined;
6358
7181
  alt?: string | undefined;
6359
7182
  } | undefined;
6360
7183
  showPoweredBy?: boolean | undefined;
@@ -6675,6 +7498,31 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
6675
7498
  ca?: string | undefined;
6676
7499
  } | undefined;
6677
7500
  page?: {
7501
+ footer?: {
7502
+ columns?: {
7503
+ title: string;
7504
+ links: {
7505
+ label: string;
7506
+ href: string;
7507
+ }[];
7508
+ position?: "start" | "end" | "center" | undefined;
7509
+ }[] | undefined;
7510
+ copyright?: string | undefined;
7511
+ logo?: {
7512
+ src: {
7513
+ dark: string;
7514
+ light: string;
7515
+ };
7516
+ width?: string | number | undefined;
7517
+ alt?: string | undefined;
7518
+ } | undefined;
7519
+ position?: "start" | "end" | "center" | undefined;
7520
+ social?: {
7521
+ href: string;
7522
+ label?: string | undefined;
7523
+ icon?: ReactNode;
7524
+ }[] | undefined;
7525
+ } | undefined;
6678
7526
  banner?: {
6679
7527
  message: NonNullable<ReactNode>;
6680
7528
  color?: string | (string & {}) | undefined;
@@ -6687,7 +7535,7 @@ export declare const CommonConfig: z.ZodEffects<z.ZodObject<{
6687
7535
  dark: string;
6688
7536
  light: string;
6689
7537
  };
6690
- width?: string | undefined;
7538
+ width?: string | number | undefined;
6691
7539
  alt?: string | undefined;
6692
7540
  } | undefined;
6693
7541
  showPoweredBy?: boolean | undefined;