astro 5.16.13 → 5.16.14

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 (84) hide show
  1. package/components/Font.astro +4 -4
  2. package/dist/assets/fonts/config.d.ts +15 -145
  3. package/dist/assets/fonts/config.js +3 -22
  4. package/dist/assets/fonts/constants.d.ts +0 -1
  5. package/dist/assets/fonts/constants.js +0 -2
  6. package/dist/assets/fonts/core/collect-component-data.d.ts +9 -0
  7. package/dist/assets/fonts/core/collect-component-data.js +47 -0
  8. package/dist/assets/fonts/core/collect-font-assets-from-faces.d.ts +17 -0
  9. package/dist/assets/fonts/core/collect-font-assets-from-faces.js +71 -0
  10. package/dist/assets/fonts/core/collect-font-data.d.ts +4 -0
  11. package/dist/assets/fonts/core/collect-font-data.js +23 -0
  12. package/dist/assets/fonts/core/compute-font-families-assets.d.ts +20 -0
  13. package/dist/assets/fonts/core/compute-font-families-assets.js +67 -0
  14. package/dist/assets/fonts/core/filter-and-transform-font-faces.d.ts +20 -0
  15. package/dist/assets/fonts/core/filter-and-transform-font-faces.js +39 -0
  16. package/dist/assets/fonts/core/get-or-create-font-family-assets.d.ts +8 -0
  17. package/dist/assets/fonts/core/get-or-create-font-family-assets.js +34 -0
  18. package/dist/assets/fonts/core/optimize-fallbacks.d.ts +2 -3
  19. package/dist/assets/fonts/core/optimize-fallbacks.js +2 -3
  20. package/dist/assets/fonts/core/resolve-family.d.ts +6 -0
  21. package/dist/assets/fonts/core/resolve-family.js +23 -0
  22. package/dist/assets/fonts/definitions.d.ts +6 -28
  23. package/dist/assets/fonts/infra/build-font-file-id-generator.d.ts +13 -0
  24. package/dist/assets/fonts/infra/{build-url-proxy-hash-resolver.js → build-font-file-id-generator.js} +3 -6
  25. package/dist/assets/fonts/infra/build-url-resolver.d.ts +1 -1
  26. package/dist/assets/fonts/infra/build-url-resolver.js +4 -4
  27. package/dist/assets/fonts/infra/cached-font-fetcher.d.ts +1 -1
  28. package/dist/assets/fonts/infra/cached-font-fetcher.js +11 -3
  29. package/dist/assets/fonts/infra/capsize-font-metrics-resolver.d.ts +2 -2
  30. package/dist/assets/fonts/infra/dev-font-file-id-generator.d.ts +16 -0
  31. package/dist/assets/fonts/infra/{dev-url-proxy-hash-resolver.js → dev-font-file-id-generator.js} +8 -8
  32. package/dist/assets/fonts/infra/dev-url-resolver.d.ts +1 -1
  33. package/dist/assets/fonts/infra/dev-url-resolver.js +2 -2
  34. package/dist/assets/fonts/infra/fs-font-file-content-resolver.d.ts +10 -0
  35. package/dist/assets/fonts/infra/fs-font-file-content-resolver.js +21 -0
  36. package/dist/assets/fonts/infra/minifiable-css-renderer.d.ts +2 -1
  37. package/dist/assets/fonts/infra/{font-type-extractor.d.ts → node-font-type-extractor.d.ts} +1 -1
  38. package/dist/assets/fonts/infra/{font-type-extractor.js → node-font-type-extractor.js} +2 -2
  39. package/dist/assets/fonts/infra/unifont-font-resolver.d.ts +5 -3
  40. package/dist/assets/fonts/infra/unifont-font-resolver.js +14 -17
  41. package/dist/assets/fonts/providers/index.d.ts +6 -1
  42. package/dist/assets/fonts/providers/index.js +9 -1
  43. package/dist/assets/fonts/providers/local.d.ts +41 -8
  44. package/dist/assets/fonts/providers/local.js +65 -48
  45. package/dist/assets/fonts/runtime/client.d.ts +1 -1
  46. package/dist/assets/fonts/runtime/client.js +1 -1
  47. package/dist/assets/fonts/runtime/server.d.ts +1 -1
  48. package/dist/assets/fonts/runtime/server.js +1 -1
  49. package/dist/assets/fonts/types.d.ts +61 -110
  50. package/dist/assets/fonts/utils.d.ts +1 -7
  51. package/dist/assets/fonts/utils.js +1 -15
  52. package/dist/assets/fonts/vite-plugin-fonts.js +149 -141
  53. package/dist/cli/add/index.js +39 -0
  54. package/dist/cli/infra/build-time-astro-version-provider.js +1 -1
  55. package/dist/config/index.d.ts +1 -2
  56. package/dist/content/content-layer.js +3 -3
  57. package/dist/core/config/schemas/base.d.ts +60 -337
  58. package/dist/core/config/schemas/base.js +2 -2
  59. package/dist/core/config/schemas/relative.d.ts +80 -431
  60. package/dist/core/constants.js +1 -1
  61. package/dist/core/dev/dev.js +1 -1
  62. package/dist/core/errors/errors-data.d.ts +1 -1
  63. package/dist/core/errors/errors-data.js +1 -1
  64. package/dist/core/messages.js +2 -2
  65. package/dist/types/public/config.d.ts +3 -4
  66. package/package.json +5 -5
  67. package/dist/assets/fonts/core/normalize-remote-font-faces.d.ts +0 -7
  68. package/dist/assets/fonts/core/normalize-remote-font-faces.js +0 -41
  69. package/dist/assets/fonts/core/resolve-families.d.ts +0 -16
  70. package/dist/assets/fonts/core/resolve-families.js +0 -63
  71. package/dist/assets/fonts/infra/build-url-proxy-hash-resolver.d.ts +0 -15
  72. package/dist/assets/fonts/infra/data-collector.d.ts +0 -10
  73. package/dist/assets/fonts/infra/data-collector.js +0 -35
  74. package/dist/assets/fonts/infra/dev-url-proxy-hash-resolver.d.ts +0 -15
  75. package/dist/assets/fonts/infra/local-url-proxy-content-resolver.d.ts +0 -4
  76. package/dist/assets/fonts/infra/local-url-proxy-content-resolver.js +0 -14
  77. package/dist/assets/fonts/infra/remote-url-proxy-content-resolver.d.ts +0 -4
  78. package/dist/assets/fonts/infra/remote-url-proxy-content-resolver.js +0 -9
  79. package/dist/assets/fonts/infra/require-local-provider-url-resolver.d.ts +0 -9
  80. package/dist/assets/fonts/infra/require-local-provider-url-resolver.js +0 -30
  81. package/dist/assets/fonts/infra/url-proxy.d.ts +0 -16
  82. package/dist/assets/fonts/infra/url-proxy.js +0 -50
  83. package/dist/assets/fonts/orchestrate.d.ts +0 -42
  84. package/dist/assets/fonts/orchestrate.js +0 -173
@@ -543,29 +543,29 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
543
543
  sameSite: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["strict", "lax", "none"]>, z.ZodBoolean]>>;
544
544
  secure: z.ZodOptional<z.ZodBoolean>;
545
545
  }, "strip", z.ZodTypeAny, {
546
- path?: string | undefined;
547
546
  name?: string | undefined;
547
+ path?: string | undefined;
548
548
  domain?: string | undefined;
549
549
  maxAge?: number | undefined;
550
550
  sameSite?: boolean | "strict" | "none" | "lax" | undefined;
551
551
  secure?: boolean | undefined;
552
552
  }, {
553
- path?: string | undefined;
554
553
  name?: string | undefined;
554
+ path?: string | undefined;
555
555
  domain?: string | undefined;
556
556
  maxAge?: number | undefined;
557
557
  sameSite?: boolean | "strict" | "none" | "lax" | undefined;
558
558
  secure?: boolean | undefined;
559
559
  }>, z.ZodString]>, {
560
- path?: string | undefined;
561
560
  name?: string | undefined;
561
+ path?: string | undefined;
562
562
  domain?: string | undefined;
563
563
  maxAge?: number | undefined;
564
564
  sameSite?: boolean | "strict" | "none" | "lax" | undefined;
565
565
  secure?: boolean | undefined;
566
566
  }, string | {
567
- path?: string | undefined;
568
567
  name?: string | undefined;
568
+ path?: string | undefined;
569
569
  domain?: string | undefined;
570
570
  maxAge?: number | undefined;
571
571
  sameSite?: boolean | "strict" | "none" | "lax" | undefined;
@@ -576,8 +576,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
576
576
  options?: Record<string, any> | undefined;
577
577
  driver?: string | undefined;
578
578
  cookie?: {
579
- path?: string | undefined;
580
579
  name?: string | undefined;
580
+ path?: string | undefined;
581
581
  domain?: string | undefined;
582
582
  maxAge?: number | undefined;
583
583
  sameSite?: boolean | "strict" | "none" | "lax" | undefined;
@@ -588,8 +588,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
588
588
  options?: Record<string, any> | undefined;
589
589
  driver?: string | undefined;
590
590
  cookie?: string | {
591
- path?: string | undefined;
592
591
  name?: string | undefined;
592
+ path?: string | undefined;
593
593
  domain?: string | undefined;
594
594
  maxAge?: number | undefined;
595
595
  sameSite?: boolean | "strict" | "none" | "lax" | undefined;
@@ -602,136 +602,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
602
602
  contentIntellisense: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
603
603
  headingIdCompat: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
604
604
  preserveScriptOrder: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
605
- fonts: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
606
- provider: z.ZodLiteral<"local">;
607
- variants: z.ZodArray<z.ZodObject<{
608
- src: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<URL, z.ZodTypeDef, URL>]>, z.ZodObject<{
609
- url: z.ZodUnion<[z.ZodString, z.ZodType<URL, z.ZodTypeDef, URL>]>;
610
- tech: z.ZodOptional<z.ZodString>;
611
- }, "strict", z.ZodTypeAny, {
612
- url: string | URL;
613
- tech?: string | undefined;
614
- }, {
615
- url: string | URL;
616
- tech?: string | undefined;
617
- }>]>, "atleastone">;
618
- weight: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
619
- style: z.ZodOptional<z.ZodEnum<["normal", "italic", "oblique"]>>;
620
- display: z.ZodOptional<z.ZodEnum<["auto", "block", "swap", "fallback", "optional"]>>;
621
- stretch: z.ZodOptional<z.ZodString>;
622
- featureSettings: z.ZodOptional<z.ZodString>;
623
- variationSettings: z.ZodOptional<z.ZodString>;
624
- unicodeRange: z.ZodOptional<z.ZodArray<z.ZodString, "atleastone">>;
625
- }, "strict", z.ZodTypeAny, {
626
- src: [string | URL | {
627
- url: string | URL;
628
- tech?: string | undefined;
629
- }, ...(string | URL | {
630
- url: string | URL;
631
- tech?: string | undefined;
632
- })[]];
633
- weight?: string | number | undefined;
634
- style?: "normal" | "italic" | "oblique" | undefined;
635
- display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
636
- stretch?: string | undefined;
637
- featureSettings?: string | undefined;
638
- variationSettings?: string | undefined;
639
- unicodeRange?: [string, ...string[]] | undefined;
640
- }, {
641
- src: [string | URL | {
642
- url: string | URL;
643
- tech?: string | undefined;
644
- }, ...(string | URL | {
645
- url: string | URL;
646
- tech?: string | undefined;
647
- })[]];
648
- weight?: string | number | undefined;
649
- style?: "normal" | "italic" | "oblique" | undefined;
650
- display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
651
- stretch?: string | undefined;
652
- featureSettings?: string | undefined;
653
- variationSettings?: string | undefined;
654
- unicodeRange?: [string, ...string[]] | undefined;
655
- }>, "atleastone">;
656
- fallbacks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
657
- optimizedFallbacks: z.ZodOptional<z.ZodBoolean>;
658
- name: z.ZodString;
659
- cssVariable: z.ZodString;
660
- }, "strict", z.ZodTypeAny, {
661
- name: string;
662
- cssVariable: string;
663
- provider: "local";
664
- variants: [{
665
- src: [string | URL | {
666
- url: string | URL;
667
- tech?: string | undefined;
668
- }, ...(string | URL | {
669
- url: string | URL;
670
- tech?: string | undefined;
671
- })[]];
672
- weight?: string | number | undefined;
673
- style?: "normal" | "italic" | "oblique" | undefined;
674
- display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
675
- stretch?: string | undefined;
676
- featureSettings?: string | undefined;
677
- variationSettings?: string | undefined;
678
- unicodeRange?: [string, ...string[]] | undefined;
679
- }, ...{
680
- src: [string | URL | {
681
- url: string | URL;
682
- tech?: string | undefined;
683
- }, ...(string | URL | {
684
- url: string | URL;
685
- tech?: string | undefined;
686
- })[]];
687
- weight?: string | number | undefined;
688
- style?: "normal" | "italic" | "oblique" | undefined;
689
- display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
690
- stretch?: string | undefined;
691
- featureSettings?: string | undefined;
692
- variationSettings?: string | undefined;
693
- unicodeRange?: [string, ...string[]] | undefined;
694
- }[]];
695
- fallbacks?: string[] | undefined;
696
- optimizedFallbacks?: boolean | undefined;
697
- }, {
698
- name: string;
699
- cssVariable: string;
700
- provider: "local";
701
- variants: [{
702
- src: [string | URL | {
703
- url: string | URL;
704
- tech?: string | undefined;
705
- }, ...(string | URL | {
706
- url: string | URL;
707
- tech?: string | undefined;
708
- })[]];
709
- weight?: string | number | undefined;
710
- style?: "normal" | "italic" | "oblique" | undefined;
711
- display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
712
- stretch?: string | undefined;
713
- featureSettings?: string | undefined;
714
- variationSettings?: string | undefined;
715
- unicodeRange?: [string, ...string[]] | undefined;
716
- }, ...{
717
- src: [string | URL | {
718
- url: string | URL;
719
- tech?: string | undefined;
720
- }, ...(string | URL | {
721
- url: string | URL;
722
- tech?: string | undefined;
723
- })[]];
724
- weight?: string | number | undefined;
725
- style?: "normal" | "italic" | "oblique" | undefined;
726
- display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
727
- stretch?: string | undefined;
728
- featureSettings?: string | undefined;
729
- variationSettings?: string | undefined;
730
- unicodeRange?: [string, ...string[]] | undefined;
731
- }[]];
732
- fallbacks?: string[] | undefined;
733
- optimizedFallbacks?: boolean | undefined;
734
- }>, z.ZodObject<{
605
+ fonts: z.ZodOptional<z.ZodArray<z.ZodObject<{
735
606
  provider: z.ZodObject<{
736
607
  name: z.ZodString;
737
608
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -795,18 +666,18 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
795
666
  init?: ((context: import("../../../assets/fonts/types.js").FontProviderInitContext) => void | Promise<void>) | undefined;
796
667
  listFonts?: (() => string[] | Promise<string[] | undefined> | undefined) | undefined;
797
668
  };
798
- options?: Record<string, any> | undefined;
669
+ weights?: [string | number, ...(string | number)[]] | undefined;
670
+ styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
671
+ subsets?: [string, ...string[]] | undefined;
672
+ fallbacks?: string[] | undefined;
673
+ optimizedFallbacks?: boolean | undefined;
674
+ formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
799
675
  display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
800
676
  stretch?: string | undefined;
801
677
  featureSettings?: string | undefined;
802
678
  variationSettings?: string | undefined;
803
679
  unicodeRange?: [string, ...string[]] | undefined;
804
- fallbacks?: string[] | undefined;
805
- optimizedFallbacks?: boolean | undefined;
806
- weights?: [string | number, ...(string | number)[]] | undefined;
807
- styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
808
- subsets?: [string, ...string[]] | undefined;
809
- formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
680
+ options?: Record<string, any> | undefined;
810
681
  }, {
811
682
  name: string;
812
683
  cssVariable: string;
@@ -821,19 +692,19 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
821
692
  init?: ((context: import("../../../assets/fonts/types.js").FontProviderInitContext) => void | Promise<void>) | undefined;
822
693
  listFonts?: (() => string[] | Promise<string[] | undefined> | undefined) | undefined;
823
694
  };
824
- options?: Record<string, any> | undefined;
695
+ weights?: [string | number, ...(string | number)[]] | undefined;
696
+ styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
697
+ subsets?: [string, ...string[]] | undefined;
698
+ fallbacks?: string[] | undefined;
699
+ optimizedFallbacks?: boolean | undefined;
700
+ formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
825
701
  display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
826
702
  stretch?: string | undefined;
827
703
  featureSettings?: string | undefined;
828
704
  variationSettings?: string | undefined;
829
705
  unicodeRange?: [string, ...string[]] | undefined;
830
- fallbacks?: string[] | undefined;
831
- optimizedFallbacks?: boolean | undefined;
832
- weights?: [string | number, ...(string | number)[]] | undefined;
833
- styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
834
- subsets?: [string, ...string[]] | undefined;
835
- formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
836
- }>]>, "many">>;
706
+ options?: Record<string, any> | undefined;
707
+ }>, "many">>;
837
708
  liveContentCollections: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
838
709
  csp: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodDefault<z.ZodOptional<z.ZodBoolean>>, z.ZodObject<{
839
710
  algorithm: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SHA-256", "SHA-384", "SHA-512"]>>>;
@@ -913,44 +784,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
913
784
  chromeDevtoolsWorkspace: boolean;
914
785
  failOnPrerenderConflict: boolean;
915
786
  svgo: boolean | import("svgo").Config;
916
- fonts?: ({
917
- name: string;
918
- cssVariable: string;
919
- provider: "local";
920
- variants: [{
921
- src: [string | URL | {
922
- url: string | URL;
923
- tech?: string | undefined;
924
- }, ...(string | URL | {
925
- url: string | URL;
926
- tech?: string | undefined;
927
- })[]];
928
- weight?: string | number | undefined;
929
- style?: "normal" | "italic" | "oblique" | undefined;
930
- display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
931
- stretch?: string | undefined;
932
- featureSettings?: string | undefined;
933
- variationSettings?: string | undefined;
934
- unicodeRange?: [string, ...string[]] | undefined;
935
- }, ...{
936
- src: [string | URL | {
937
- url: string | URL;
938
- tech?: string | undefined;
939
- }, ...(string | URL | {
940
- url: string | URL;
941
- tech?: string | undefined;
942
- })[]];
943
- weight?: string | number | undefined;
944
- style?: "normal" | "italic" | "oblique" | undefined;
945
- display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
946
- stretch?: string | undefined;
947
- featureSettings?: string | undefined;
948
- variationSettings?: string | undefined;
949
- unicodeRange?: [string, ...string[]] | undefined;
950
- }[]];
951
- fallbacks?: string[] | undefined;
952
- optimizedFallbacks?: boolean | undefined;
953
- } | {
787
+ fonts?: {
954
788
  name: string;
955
789
  cssVariable: string;
956
790
  provider: {
@@ -964,58 +798,21 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
964
798
  init?: ((context: import("../../../assets/fonts/types.js").FontProviderInitContext) => void | Promise<void>) | undefined;
965
799
  listFonts?: (() => string[] | Promise<string[] | undefined> | undefined) | undefined;
966
800
  };
967
- options?: Record<string, any> | undefined;
801
+ weights?: [string | number, ...(string | number)[]] | undefined;
802
+ styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
803
+ subsets?: [string, ...string[]] | undefined;
804
+ fallbacks?: string[] | undefined;
805
+ optimizedFallbacks?: boolean | undefined;
806
+ formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
968
807
  display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
969
808
  stretch?: string | undefined;
970
809
  featureSettings?: string | undefined;
971
810
  variationSettings?: string | undefined;
972
811
  unicodeRange?: [string, ...string[]] | undefined;
973
- fallbacks?: string[] | undefined;
974
- optimizedFallbacks?: boolean | undefined;
975
- weights?: [string | number, ...(string | number)[]] | undefined;
976
- styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
977
- subsets?: [string, ...string[]] | undefined;
978
- formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
979
- })[] | undefined;
812
+ options?: Record<string, any> | undefined;
813
+ }[] | undefined;
980
814
  }, {
981
- fonts?: ({
982
- name: string;
983
- cssVariable: string;
984
- provider: "local";
985
- variants: [{
986
- src: [string | URL | {
987
- url: string | URL;
988
- tech?: string | undefined;
989
- }, ...(string | URL | {
990
- url: string | URL;
991
- tech?: string | undefined;
992
- })[]];
993
- weight?: string | number | undefined;
994
- style?: "normal" | "italic" | "oblique" | undefined;
995
- display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
996
- stretch?: string | undefined;
997
- featureSettings?: string | undefined;
998
- variationSettings?: string | undefined;
999
- unicodeRange?: [string, ...string[]] | undefined;
1000
- }, ...{
1001
- src: [string | URL | {
1002
- url: string | URL;
1003
- tech?: string | undefined;
1004
- }, ...(string | URL | {
1005
- url: string | URL;
1006
- tech?: string | undefined;
1007
- })[]];
1008
- weight?: string | number | undefined;
1009
- style?: "normal" | "italic" | "oblique" | undefined;
1010
- display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
1011
- stretch?: string | undefined;
1012
- featureSettings?: string | undefined;
1013
- variationSettings?: string | undefined;
1014
- unicodeRange?: [string, ...string[]] | undefined;
1015
- }[]];
1016
- fallbacks?: string[] | undefined;
1017
- optimizedFallbacks?: boolean | undefined;
1018
- } | {
815
+ fonts?: {
1019
816
  name: string;
1020
817
  cssVariable: string;
1021
818
  provider: {
@@ -1029,19 +826,19 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1029
826
  init?: ((context: import("../../../assets/fonts/types.js").FontProviderInitContext) => void | Promise<void>) | undefined;
1030
827
  listFonts?: (() => string[] | Promise<string[] | undefined> | undefined) | undefined;
1031
828
  };
1032
- options?: Record<string, any> | undefined;
829
+ weights?: [string | number, ...(string | number)[]] | undefined;
830
+ styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
831
+ subsets?: [string, ...string[]] | undefined;
832
+ fallbacks?: string[] | undefined;
833
+ optimizedFallbacks?: boolean | undefined;
834
+ formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
1033
835
  display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
1034
836
  stretch?: string | undefined;
1035
837
  featureSettings?: string | undefined;
1036
838
  variationSettings?: string | undefined;
1037
839
  unicodeRange?: [string, ...string[]] | undefined;
1038
- fallbacks?: string[] | undefined;
1039
- optimizedFallbacks?: boolean | undefined;
1040
- weights?: [string | number, ...(string | number)[]] | undefined;
1041
- styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
1042
- subsets?: [string, ...string[]] | undefined;
1043
- formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
1044
- })[] | undefined;
840
+ options?: Record<string, any> | undefined;
841
+ }[] | undefined;
1045
842
  clientPrerender?: boolean | undefined;
1046
843
  contentIntellisense?: boolean | undefined;
1047
844
  headingIdCompat?: boolean | undefined;
@@ -1310,44 +1107,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1310
1107
  chromeDevtoolsWorkspace: boolean;
1311
1108
  failOnPrerenderConflict: boolean;
1312
1109
  svgo: boolean | import("svgo").Config;
1313
- fonts?: ({
1314
- name: string;
1315
- cssVariable: string;
1316
- provider: "local";
1317
- variants: [{
1318
- src: [string | URL | {
1319
- url: string | URL;
1320
- tech?: string | undefined;
1321
- }, ...(string | URL | {
1322
- url: string | URL;
1323
- tech?: string | undefined;
1324
- })[]];
1325
- weight?: string | number | undefined;
1326
- style?: "normal" | "italic" | "oblique" | undefined;
1327
- display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
1328
- stretch?: string | undefined;
1329
- featureSettings?: string | undefined;
1330
- variationSettings?: string | undefined;
1331
- unicodeRange?: [string, ...string[]] | undefined;
1332
- }, ...{
1333
- src: [string | URL | {
1334
- url: string | URL;
1335
- tech?: string | undefined;
1336
- }, ...(string | URL | {
1337
- url: string | URL;
1338
- tech?: string | undefined;
1339
- })[]];
1340
- weight?: string | number | undefined;
1341
- style?: "normal" | "italic" | "oblique" | undefined;
1342
- display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
1343
- stretch?: string | undefined;
1344
- featureSettings?: string | undefined;
1345
- variationSettings?: string | undefined;
1346
- unicodeRange?: [string, ...string[]] | undefined;
1347
- }[]];
1348
- fallbacks?: string[] | undefined;
1349
- optimizedFallbacks?: boolean | undefined;
1350
- } | {
1110
+ fonts?: {
1351
1111
  name: string;
1352
1112
  cssVariable: string;
1353
1113
  provider: {
@@ -1361,19 +1121,19 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1361
1121
  init?: ((context: import("../../../assets/fonts/types.js").FontProviderInitContext) => void | Promise<void>) | undefined;
1362
1122
  listFonts?: (() => string[] | Promise<string[] | undefined> | undefined) | undefined;
1363
1123
  };
1364
- options?: Record<string, any> | undefined;
1124
+ weights?: [string | number, ...(string | number)[]] | undefined;
1125
+ styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
1126
+ subsets?: [string, ...string[]] | undefined;
1127
+ fallbacks?: string[] | undefined;
1128
+ optimizedFallbacks?: boolean | undefined;
1129
+ formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
1365
1130
  display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
1366
1131
  stretch?: string | undefined;
1367
1132
  featureSettings?: string | undefined;
1368
1133
  variationSettings?: string | undefined;
1369
1134
  unicodeRange?: [string, ...string[]] | undefined;
1370
- fallbacks?: string[] | undefined;
1371
- optimizedFallbacks?: boolean | undefined;
1372
- weights?: [string | number, ...(string | number)[]] | undefined;
1373
- styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
1374
- subsets?: [string, ...string[]] | undefined;
1375
- formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
1376
- })[] | undefined;
1135
+ options?: Record<string, any> | undefined;
1136
+ }[] | undefined;
1377
1137
  };
1378
1138
  legacy: {
1379
1139
  collections: boolean;
@@ -1382,8 +1142,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1382
1142
  options?: Record<string, any> | undefined;
1383
1143
  driver?: string | undefined;
1384
1144
  cookie?: {
1385
- path?: string | undefined;
1386
1145
  name?: string | undefined;
1146
+ path?: string | undefined;
1387
1147
  domain?: string | undefined;
1388
1148
  maxAge?: number | undefined;
1389
1149
  sameSite?: boolean | "strict" | "none" | "lax" | undefined;
@@ -1461,8 +1221,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1461
1221
  options?: Record<string, any> | undefined;
1462
1222
  driver?: string | undefined;
1463
1223
  cookie?: string | {
1464
- path?: string | undefined;
1465
1224
  name?: string | undefined;
1225
+ path?: string | undefined;
1466
1226
  domain?: string | undefined;
1467
1227
  maxAge?: number | undefined;
1468
1228
  sameSite?: boolean | "strict" | "none" | "lax" | undefined;
@@ -1579,44 +1339,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1579
1339
  }[] | undefined;
1580
1340
  } | undefined;
1581
1341
  experimental?: {
1582
- fonts?: ({
1583
- name: string;
1584
- cssVariable: string;
1585
- provider: "local";
1586
- variants: [{
1587
- src: [string | URL | {
1588
- url: string | URL;
1589
- tech?: string | undefined;
1590
- }, ...(string | URL | {
1591
- url: string | URL;
1592
- tech?: string | undefined;
1593
- })[]];
1594
- weight?: string | number | undefined;
1595
- style?: "normal" | "italic" | "oblique" | undefined;
1596
- display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
1597
- stretch?: string | undefined;
1598
- featureSettings?: string | undefined;
1599
- variationSettings?: string | undefined;
1600
- unicodeRange?: [string, ...string[]] | undefined;
1601
- }, ...{
1602
- src: [string | URL | {
1603
- url: string | URL;
1604
- tech?: string | undefined;
1605
- }, ...(string | URL | {
1606
- url: string | URL;
1607
- tech?: string | undefined;
1608
- })[]];
1609
- weight?: string | number | undefined;
1610
- style?: "normal" | "italic" | "oblique" | undefined;
1611
- display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
1612
- stretch?: string | undefined;
1613
- featureSettings?: string | undefined;
1614
- variationSettings?: string | undefined;
1615
- unicodeRange?: [string, ...string[]] | undefined;
1616
- }[]];
1617
- fallbacks?: string[] | undefined;
1618
- optimizedFallbacks?: boolean | undefined;
1619
- } | {
1342
+ fonts?: {
1620
1343
  name: string;
1621
1344
  cssVariable: string;
1622
1345
  provider: {
@@ -1630,19 +1353,19 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1630
1353
  init?: ((context: import("../../../assets/fonts/types.js").FontProviderInitContext) => void | Promise<void>) | undefined;
1631
1354
  listFonts?: (() => string[] | Promise<string[] | undefined> | undefined) | undefined;
1632
1355
  };
1633
- options?: Record<string, any> | undefined;
1356
+ weights?: [string | number, ...(string | number)[]] | undefined;
1357
+ styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
1358
+ subsets?: [string, ...string[]] | undefined;
1359
+ fallbacks?: string[] | undefined;
1360
+ optimizedFallbacks?: boolean | undefined;
1361
+ formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
1634
1362
  display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
1635
1363
  stretch?: string | undefined;
1636
1364
  featureSettings?: string | undefined;
1637
1365
  variationSettings?: string | undefined;
1638
1366
  unicodeRange?: [string, ...string[]] | undefined;
1639
- fallbacks?: string[] | undefined;
1640
- optimizedFallbacks?: boolean | undefined;
1641
- weights?: [string | number, ...(string | number)[]] | undefined;
1642
- styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
1643
- subsets?: [string, ...string[]] | undefined;
1644
- formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
1645
- })[] | undefined;
1367
+ options?: Record<string, any> | undefined;
1368
+ }[] | undefined;
1646
1369
  clientPrerender?: boolean | undefined;
1647
1370
  contentIntellisense?: boolean | undefined;
1648
1371
  headingIdCompat?: boolean | undefined;
@@ -1830,44 +1553,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1830
1553
  chromeDevtoolsWorkspace: boolean;
1831
1554
  failOnPrerenderConflict: boolean;
1832
1555
  svgo: boolean | import("svgo").Config;
1833
- fonts?: ({
1834
- name: string;
1835
- cssVariable: string;
1836
- provider: "local";
1837
- variants: [{
1838
- src: [string | URL | {
1839
- url: string | URL;
1840
- tech?: string | undefined;
1841
- }, ...(string | URL | {
1842
- url: string | URL;
1843
- tech?: string | undefined;
1844
- })[]];
1845
- weight?: string | number | undefined;
1846
- style?: "normal" | "italic" | "oblique" | undefined;
1847
- display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
1848
- stretch?: string | undefined;
1849
- featureSettings?: string | undefined;
1850
- variationSettings?: string | undefined;
1851
- unicodeRange?: [string, ...string[]] | undefined;
1852
- }, ...{
1853
- src: [string | URL | {
1854
- url: string | URL;
1855
- tech?: string | undefined;
1856
- }, ...(string | URL | {
1857
- url: string | URL;
1858
- tech?: string | undefined;
1859
- })[]];
1860
- weight?: string | number | undefined;
1861
- style?: "normal" | "italic" | "oblique" | undefined;
1862
- display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
1863
- stretch?: string | undefined;
1864
- featureSettings?: string | undefined;
1865
- variationSettings?: string | undefined;
1866
- unicodeRange?: [string, ...string[]] | undefined;
1867
- }[]];
1868
- fallbacks?: string[] | undefined;
1869
- optimizedFallbacks?: boolean | undefined;
1870
- } | {
1556
+ fonts?: {
1871
1557
  name: string;
1872
1558
  cssVariable: string;
1873
1559
  provider: {
@@ -1881,19 +1567,19 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1881
1567
  init?: ((context: import("../../../assets/fonts/types.js").FontProviderInitContext) => void | Promise<void>) | undefined;
1882
1568
  listFonts?: (() => string[] | Promise<string[] | undefined> | undefined) | undefined;
1883
1569
  };
1884
- options?: Record<string, any> | undefined;
1570
+ weights?: [string | number, ...(string | number)[]] | undefined;
1571
+ styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
1572
+ subsets?: [string, ...string[]] | undefined;
1573
+ fallbacks?: string[] | undefined;
1574
+ optimizedFallbacks?: boolean | undefined;
1575
+ formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
1885
1576
  display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
1886
1577
  stretch?: string | undefined;
1887
1578
  featureSettings?: string | undefined;
1888
1579
  variationSettings?: string | undefined;
1889
1580
  unicodeRange?: [string, ...string[]] | undefined;
1890
- fallbacks?: string[] | undefined;
1891
- optimizedFallbacks?: boolean | undefined;
1892
- weights?: [string | number, ...(string | number)[]] | undefined;
1893
- styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
1894
- subsets?: [string, ...string[]] | undefined;
1895
- formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
1896
- })[] | undefined;
1581
+ options?: Record<string, any> | undefined;
1582
+ }[] | undefined;
1897
1583
  };
1898
1584
  legacy: {
1899
1585
  collections: boolean;
@@ -1902,8 +1588,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1902
1588
  options?: Record<string, any> | undefined;
1903
1589
  driver?: string | undefined;
1904
1590
  cookie?: {
1905
- path?: string | undefined;
1906
1591
  name?: string | undefined;
1592
+ path?: string | undefined;
1907
1593
  domain?: string | undefined;
1908
1594
  maxAge?: number | undefined;
1909
1595
  sameSite?: boolean | "strict" | "none" | "lax" | undefined;
@@ -1981,8 +1667,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1981
1667
  options?: Record<string, any> | undefined;
1982
1668
  driver?: string | undefined;
1983
1669
  cookie?: string | {
1984
- path?: string | undefined;
1985
1670
  name?: string | undefined;
1671
+ path?: string | undefined;
1986
1672
  domain?: string | undefined;
1987
1673
  maxAge?: number | undefined;
1988
1674
  sameSite?: boolean | "strict" | "none" | "lax" | undefined;
@@ -2099,44 +1785,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
2099
1785
  }[] | undefined;
2100
1786
  } | undefined;
2101
1787
  experimental?: {
2102
- fonts?: ({
2103
- name: string;
2104
- cssVariable: string;
2105
- provider: "local";
2106
- variants: [{
2107
- src: [string | URL | {
2108
- url: string | URL;
2109
- tech?: string | undefined;
2110
- }, ...(string | URL | {
2111
- url: string | URL;
2112
- tech?: string | undefined;
2113
- })[]];
2114
- weight?: string | number | undefined;
2115
- style?: "normal" | "italic" | "oblique" | undefined;
2116
- display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
2117
- stretch?: string | undefined;
2118
- featureSettings?: string | undefined;
2119
- variationSettings?: string | undefined;
2120
- unicodeRange?: [string, ...string[]] | undefined;
2121
- }, ...{
2122
- src: [string | URL | {
2123
- url: string | URL;
2124
- tech?: string | undefined;
2125
- }, ...(string | URL | {
2126
- url: string | URL;
2127
- tech?: string | undefined;
2128
- })[]];
2129
- weight?: string | number | undefined;
2130
- style?: "normal" | "italic" | "oblique" | undefined;
2131
- display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
2132
- stretch?: string | undefined;
2133
- featureSettings?: string | undefined;
2134
- variationSettings?: string | undefined;
2135
- unicodeRange?: [string, ...string[]] | undefined;
2136
- }[]];
2137
- fallbacks?: string[] | undefined;
2138
- optimizedFallbacks?: boolean | undefined;
2139
- } | {
1788
+ fonts?: {
2140
1789
  name: string;
2141
1790
  cssVariable: string;
2142
1791
  provider: {
@@ -2150,19 +1799,19 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
2150
1799
  init?: ((context: import("../../../assets/fonts/types.js").FontProviderInitContext) => void | Promise<void>) | undefined;
2151
1800
  listFonts?: (() => string[] | Promise<string[] | undefined> | undefined) | undefined;
2152
1801
  };
2153
- options?: Record<string, any> | undefined;
1802
+ weights?: [string | number, ...(string | number)[]] | undefined;
1803
+ styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
1804
+ subsets?: [string, ...string[]] | undefined;
1805
+ fallbacks?: string[] | undefined;
1806
+ optimizedFallbacks?: boolean | undefined;
1807
+ formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
2154
1808
  display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
2155
1809
  stretch?: string | undefined;
2156
1810
  featureSettings?: string | undefined;
2157
1811
  variationSettings?: string | undefined;
2158
1812
  unicodeRange?: [string, ...string[]] | undefined;
2159
- fallbacks?: string[] | undefined;
2160
- optimizedFallbacks?: boolean | undefined;
2161
- weights?: [string | number, ...(string | number)[]] | undefined;
2162
- styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
2163
- subsets?: [string, ...string[]] | undefined;
2164
- formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
2165
- })[] | undefined;
1813
+ options?: Record<string, any> | undefined;
1814
+ }[] | undefined;
2166
1815
  clientPrerender?: boolean | undefined;
2167
1816
  contentIntellisense?: boolean | undefined;
2168
1817
  headingIdCompat?: boolean | undefined;