astro 5.16.13 → 5.16.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Font.astro +4 -4
- package/dist/assets/fonts/config.d.ts +19 -236
- package/dist/assets/fonts/config.js +7 -23
- package/dist/assets/fonts/constants.d.ts +0 -1
- package/dist/assets/fonts/constants.js +0 -2
- package/dist/assets/fonts/core/collect-component-data.d.ts +9 -0
- package/dist/assets/fonts/core/collect-component-data.js +47 -0
- package/dist/assets/fonts/core/collect-font-assets-from-faces.d.ts +17 -0
- package/dist/assets/fonts/core/collect-font-assets-from-faces.js +71 -0
- package/dist/assets/fonts/core/collect-font-data.d.ts +4 -0
- package/dist/assets/fonts/core/collect-font-data.js +23 -0
- package/dist/assets/fonts/core/compute-font-families-assets.d.ts +20 -0
- package/dist/assets/fonts/core/compute-font-families-assets.js +67 -0
- package/dist/assets/fonts/core/filter-and-transform-font-faces.d.ts +20 -0
- package/dist/assets/fonts/core/filter-and-transform-font-faces.js +39 -0
- package/dist/assets/fonts/core/get-or-create-font-family-assets.d.ts +8 -0
- package/dist/assets/fonts/core/get-or-create-font-family-assets.js +34 -0
- package/dist/assets/fonts/core/optimize-fallbacks.d.ts +2 -3
- package/dist/assets/fonts/core/optimize-fallbacks.js +2 -3
- package/dist/assets/fonts/core/resolve-family.d.ts +6 -0
- package/dist/assets/fonts/core/resolve-family.js +23 -0
- package/dist/assets/fonts/definitions.d.ts +6 -28
- package/dist/assets/fonts/infra/build-font-file-id-generator.d.ts +13 -0
- package/dist/assets/fonts/infra/{build-url-proxy-hash-resolver.js → build-font-file-id-generator.js} +3 -6
- package/dist/assets/fonts/infra/build-url-resolver.d.ts +1 -1
- package/dist/assets/fonts/infra/build-url-resolver.js +4 -4
- package/dist/assets/fonts/infra/cached-font-fetcher.d.ts +1 -1
- package/dist/assets/fonts/infra/cached-font-fetcher.js +11 -3
- package/dist/assets/fonts/infra/capsize-font-metrics-resolver.d.ts +2 -2
- package/dist/assets/fonts/infra/dev-font-file-id-generator.d.ts +16 -0
- package/dist/assets/fonts/infra/{dev-url-proxy-hash-resolver.js → dev-font-file-id-generator.js} +8 -8
- package/dist/assets/fonts/infra/dev-url-resolver.d.ts +1 -1
- package/dist/assets/fonts/infra/dev-url-resolver.js +2 -2
- package/dist/assets/fonts/infra/fs-font-file-content-resolver.d.ts +10 -0
- package/dist/assets/fonts/infra/fs-font-file-content-resolver.js +21 -0
- package/dist/assets/fonts/infra/minifiable-css-renderer.d.ts +2 -1
- package/dist/assets/fonts/infra/{font-type-extractor.d.ts → node-font-type-extractor.d.ts} +1 -1
- package/dist/assets/fonts/infra/{font-type-extractor.js → node-font-type-extractor.js} +2 -2
- package/dist/assets/fonts/infra/unifont-font-resolver.d.ts +5 -3
- package/dist/assets/fonts/infra/unifont-font-resolver.js +14 -17
- package/dist/assets/fonts/providers/index.d.ts +6 -1
- package/dist/assets/fonts/providers/index.js +9 -1
- package/dist/assets/fonts/providers/local.d.ts +41 -8
- package/dist/assets/fonts/providers/local.js +65 -48
- package/dist/assets/fonts/runtime/client.d.ts +1 -1
- package/dist/assets/fonts/runtime/client.js +1 -1
- package/dist/assets/fonts/runtime/server.d.ts +1 -1
- package/dist/assets/fonts/runtime/server.js +1 -1
- package/dist/assets/fonts/types.d.ts +61 -110
- package/dist/assets/fonts/utils.d.ts +1 -7
- package/dist/assets/fonts/utils.js +1 -15
- package/dist/assets/fonts/vite-plugin-fonts.js +149 -141
- package/dist/cli/add/index.js +39 -0
- package/dist/cli/infra/build-time-astro-version-provider.js +1 -1
- package/dist/config/index.d.ts +1 -2
- package/dist/content/content-layer.js +3 -3
- package/dist/core/config/schemas/base.d.ts +58 -429
- package/dist/core/config/schemas/base.js +2 -2
- package/dist/core/config/schemas/relative.d.ts +76 -541
- package/dist/core/constants.js +1 -1
- package/dist/core/dev/dev.js +1 -1
- package/dist/core/errors/errors-data.d.ts +1 -1
- package/dist/core/errors/errors-data.js +1 -1
- package/dist/core/messages.js +2 -2
- package/dist/types/public/config.d.ts +3 -4
- package/package.json +5 -5
- package/dist/assets/fonts/core/normalize-remote-font-faces.d.ts +0 -7
- package/dist/assets/fonts/core/normalize-remote-font-faces.js +0 -41
- package/dist/assets/fonts/core/resolve-families.d.ts +0 -16
- package/dist/assets/fonts/core/resolve-families.js +0 -63
- package/dist/assets/fonts/infra/build-url-proxy-hash-resolver.d.ts +0 -15
- package/dist/assets/fonts/infra/data-collector.d.ts +0 -10
- package/dist/assets/fonts/infra/data-collector.js +0 -35
- package/dist/assets/fonts/infra/dev-url-proxy-hash-resolver.d.ts +0 -15
- package/dist/assets/fonts/infra/local-url-proxy-content-resolver.d.ts +0 -4
- package/dist/assets/fonts/infra/local-url-proxy-content-resolver.js +0 -14
- package/dist/assets/fonts/infra/remote-url-proxy-content-resolver.d.ts +0 -4
- package/dist/assets/fonts/infra/remote-url-proxy-content-resolver.js +0 -9
- package/dist/assets/fonts/infra/require-local-provider-url-resolver.d.ts +0 -9
- package/dist/assets/fonts/infra/require-local-provider-url-resolver.js +0 -30
- package/dist/assets/fonts/infra/url-proxy.d.ts +0 -16
- package/dist/assets/fonts/infra/url-proxy.js +0 -50
- package/dist/assets/fonts/orchestrate.d.ts +0 -42
- 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,171 +602,8 @@ 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.
|
|
606
|
-
provider: z.
|
|
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<{
|
|
735
|
-
provider: z.ZodObject<{
|
|
736
|
-
name: z.ZodString;
|
|
737
|
-
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
738
|
-
init: z.ZodOptional<z.ZodType<((context: import("../../../assets/fonts/types.js").FontProviderInitContext) => void | Promise<void>) | undefined, z.ZodTypeDef, ((context: import("../../../assets/fonts/types.js").FontProviderInitContext) => void | Promise<void>) | undefined>>;
|
|
739
|
-
resolveFont: z.ZodType<(options: import("../../../assets/fonts/types.js").ResolveFontOptions<never>) => {
|
|
740
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
741
|
-
} | Promise<{
|
|
742
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
743
|
-
} | undefined> | undefined, z.ZodTypeDef, (options: import("../../../assets/fonts/types.js").ResolveFontOptions<never>) => {
|
|
744
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
745
|
-
} | Promise<{
|
|
746
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
747
|
-
} | undefined> | undefined>;
|
|
748
|
-
listFonts: z.ZodOptional<z.ZodType<(() => string[] | Promise<string[] | undefined> | undefined) | undefined, z.ZodTypeDef, (() => string[] | Promise<string[] | undefined> | undefined) | undefined>>;
|
|
749
|
-
}, "strict", z.ZodTypeAny, {
|
|
750
|
-
name: string;
|
|
751
|
-
resolveFont: (options: import("../../../assets/fonts/types.js").ResolveFontOptions<never>) => {
|
|
752
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
753
|
-
} | Promise<{
|
|
754
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
755
|
-
} | undefined> | undefined;
|
|
756
|
-
config?: Record<string, any> | undefined;
|
|
757
|
-
init?: ((context: import("../../../assets/fonts/types.js").FontProviderInitContext) => void | Promise<void>) | undefined;
|
|
758
|
-
listFonts?: (() => string[] | Promise<string[] | undefined> | undefined) | undefined;
|
|
759
|
-
}, {
|
|
760
|
-
name: string;
|
|
761
|
-
resolveFont: (options: import("../../../assets/fonts/types.js").ResolveFontOptions<never>) => {
|
|
762
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
763
|
-
} | Promise<{
|
|
764
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
765
|
-
} | undefined> | undefined;
|
|
766
|
-
config?: Record<string, any> | undefined;
|
|
767
|
-
init?: ((context: import("../../../assets/fonts/types.js").FontProviderInitContext) => void | Promise<void>) | undefined;
|
|
768
|
-
listFonts?: (() => string[] | Promise<string[] | undefined> | undefined) | undefined;
|
|
769
|
-
}>;
|
|
605
|
+
fonts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
606
|
+
provider: z.ZodType<import("../../../index.js").FontProvider<never>, z.ZodTypeDef, import("../../../index.js").FontProvider<never>>;
|
|
770
607
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
771
608
|
weights: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "atleastone">>;
|
|
772
609
|
styles: z.ZodOptional<z.ZodArray<z.ZodEnum<["normal", "italic", "oblique"]>, "atleastone">>;
|
|
@@ -784,56 +621,36 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
784
621
|
}, "strict", z.ZodTypeAny, {
|
|
785
622
|
name: string;
|
|
786
623
|
cssVariable: string;
|
|
787
|
-
provider:
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
config?: Record<string, any> | undefined;
|
|
795
|
-
init?: ((context: import("../../../assets/fonts/types.js").FontProviderInitContext) => void | Promise<void>) | undefined;
|
|
796
|
-
listFonts?: (() => string[] | Promise<string[] | undefined> | undefined) | undefined;
|
|
797
|
-
};
|
|
798
|
-
options?: Record<string, any> | undefined;
|
|
624
|
+
provider: import("../../../index.js").FontProvider<never>;
|
|
625
|
+
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
626
|
+
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
627
|
+
subsets?: [string, ...string[]] | undefined;
|
|
628
|
+
fallbacks?: string[] | undefined;
|
|
629
|
+
optimizedFallbacks?: boolean | undefined;
|
|
630
|
+
formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
|
|
799
631
|
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
800
632
|
stretch?: string | undefined;
|
|
801
633
|
featureSettings?: string | undefined;
|
|
802
634
|
variationSettings?: string | undefined;
|
|
803
635
|
unicodeRange?: [string, ...string[]] | undefined;
|
|
804
|
-
|
|
805
|
-
|
|
636
|
+
options?: Record<string, any> | undefined;
|
|
637
|
+
}, {
|
|
638
|
+
name: string;
|
|
639
|
+
cssVariable: string;
|
|
640
|
+
provider: import("../../../index.js").FontProvider<never>;
|
|
806
641
|
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
807
642
|
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
808
643
|
subsets?: [string, ...string[]] | undefined;
|
|
644
|
+
fallbacks?: string[] | undefined;
|
|
645
|
+
optimizedFallbacks?: boolean | undefined;
|
|
809
646
|
formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
|
|
810
|
-
}, {
|
|
811
|
-
name: string;
|
|
812
|
-
cssVariable: string;
|
|
813
|
-
provider: {
|
|
814
|
-
name: string;
|
|
815
|
-
resolveFont: (options: import("../../../assets/fonts/types.js").ResolveFontOptions<never>) => {
|
|
816
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
817
|
-
} | Promise<{
|
|
818
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
819
|
-
} | undefined> | undefined;
|
|
820
|
-
config?: Record<string, any> | undefined;
|
|
821
|
-
init?: ((context: import("../../../assets/fonts/types.js").FontProviderInitContext) => void | Promise<void>) | undefined;
|
|
822
|
-
listFonts?: (() => string[] | Promise<string[] | undefined> | undefined) | undefined;
|
|
823
|
-
};
|
|
824
|
-
options?: Record<string, any> | undefined;
|
|
825
647
|
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
826
648
|
stretch?: string | undefined;
|
|
827
649
|
featureSettings?: string | undefined;
|
|
828
650
|
variationSettings?: string | undefined;
|
|
829
651
|
unicodeRange?: [string, ...string[]] | undefined;
|
|
830
|
-
|
|
831
|
-
|
|
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">>;
|
|
652
|
+
options?: Record<string, any> | undefined;
|
|
653
|
+
}>, "many">>;
|
|
837
654
|
liveContentCollections: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
838
655
|
csp: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodDefault<z.ZodOptional<z.ZodBoolean>>, z.ZodObject<{
|
|
839
656
|
algorithm: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SHA-256", "SHA-384", "SHA-512"]>>>;
|
|
@@ -913,135 +730,41 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
913
730
|
chromeDevtoolsWorkspace: boolean;
|
|
914
731
|
failOnPrerenderConflict: boolean;
|
|
915
732
|
svgo: boolean | import("svgo").Config;
|
|
916
|
-
fonts?:
|
|
733
|
+
fonts?: {
|
|
917
734
|
name: string;
|
|
918
735
|
cssVariable: string;
|
|
919
|
-
provider: "
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
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
|
-
}[]];
|
|
736
|
+
provider: import("../../../index.js").FontProvider<never>;
|
|
737
|
+
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
738
|
+
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
739
|
+
subsets?: [string, ...string[]] | undefined;
|
|
951
740
|
fallbacks?: string[] | undefined;
|
|
952
741
|
optimizedFallbacks?: boolean | undefined;
|
|
953
|
-
|
|
954
|
-
name: string;
|
|
955
|
-
cssVariable: string;
|
|
956
|
-
provider: {
|
|
957
|
-
name: string;
|
|
958
|
-
resolveFont: (options: import("../../../assets/fonts/types.js").ResolveFontOptions<never>) => {
|
|
959
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
960
|
-
} | Promise<{
|
|
961
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
962
|
-
} | undefined> | undefined;
|
|
963
|
-
config?: Record<string, any> | undefined;
|
|
964
|
-
init?: ((context: import("../../../assets/fonts/types.js").FontProviderInitContext) => void | Promise<void>) | undefined;
|
|
965
|
-
listFonts?: (() => string[] | Promise<string[] | undefined> | undefined) | undefined;
|
|
966
|
-
};
|
|
967
|
-
options?: Record<string, any> | undefined;
|
|
742
|
+
formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
|
|
968
743
|
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
969
744
|
stretch?: string | undefined;
|
|
970
745
|
featureSettings?: string | undefined;
|
|
971
746
|
variationSettings?: string | undefined;
|
|
972
747
|
unicodeRange?: [string, ...string[]] | undefined;
|
|
973
|
-
|
|
974
|
-
|
|
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;
|
|
748
|
+
options?: Record<string, any> | undefined;
|
|
749
|
+
}[] | undefined;
|
|
980
750
|
}, {
|
|
981
|
-
fonts?:
|
|
751
|
+
fonts?: {
|
|
982
752
|
name: string;
|
|
983
753
|
cssVariable: string;
|
|
984
|
-
provider: "
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
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
|
-
}[]];
|
|
754
|
+
provider: import("../../../index.js").FontProvider<never>;
|
|
755
|
+
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
756
|
+
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
757
|
+
subsets?: [string, ...string[]] | undefined;
|
|
1016
758
|
fallbacks?: string[] | undefined;
|
|
1017
759
|
optimizedFallbacks?: boolean | undefined;
|
|
1018
|
-
|
|
1019
|
-
name: string;
|
|
1020
|
-
cssVariable: string;
|
|
1021
|
-
provider: {
|
|
1022
|
-
name: string;
|
|
1023
|
-
resolveFont: (options: import("../../../assets/fonts/types.js").ResolveFontOptions<never>) => {
|
|
1024
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
1025
|
-
} | Promise<{
|
|
1026
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
1027
|
-
} | undefined> | undefined;
|
|
1028
|
-
config?: Record<string, any> | undefined;
|
|
1029
|
-
init?: ((context: import("../../../assets/fonts/types.js").FontProviderInitContext) => void | Promise<void>) | undefined;
|
|
1030
|
-
listFonts?: (() => string[] | Promise<string[] | undefined> | undefined) | undefined;
|
|
1031
|
-
};
|
|
1032
|
-
options?: Record<string, any> | undefined;
|
|
760
|
+
formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
|
|
1033
761
|
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1034
762
|
stretch?: string | undefined;
|
|
1035
763
|
featureSettings?: string | undefined;
|
|
1036
764
|
variationSettings?: string | undefined;
|
|
1037
765
|
unicodeRange?: [string, ...string[]] | undefined;
|
|
1038
|
-
|
|
1039
|
-
|
|
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;
|
|
766
|
+
options?: Record<string, any> | undefined;
|
|
767
|
+
}[] | undefined;
|
|
1045
768
|
clientPrerender?: boolean | undefined;
|
|
1046
769
|
contentIntellisense?: boolean | undefined;
|
|
1047
770
|
headingIdCompat?: boolean | undefined;
|
|
@@ -1310,70 +1033,23 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1310
1033
|
chromeDevtoolsWorkspace: boolean;
|
|
1311
1034
|
failOnPrerenderConflict: boolean;
|
|
1312
1035
|
svgo: boolean | import("svgo").Config;
|
|
1313
|
-
fonts?:
|
|
1036
|
+
fonts?: {
|
|
1314
1037
|
name: string;
|
|
1315
1038
|
cssVariable: string;
|
|
1316
|
-
provider: "
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
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
|
-
}[]];
|
|
1039
|
+
provider: import("../../../index.js").FontProvider<never>;
|
|
1040
|
+
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
1041
|
+
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
1042
|
+
subsets?: [string, ...string[]] | undefined;
|
|
1348
1043
|
fallbacks?: string[] | undefined;
|
|
1349
1044
|
optimizedFallbacks?: boolean | undefined;
|
|
1350
|
-
|
|
1351
|
-
name: string;
|
|
1352
|
-
cssVariable: string;
|
|
1353
|
-
provider: {
|
|
1354
|
-
name: string;
|
|
1355
|
-
resolveFont: (options: import("../../../assets/fonts/types.js").ResolveFontOptions<never>) => {
|
|
1356
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
1357
|
-
} | Promise<{
|
|
1358
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
1359
|
-
} | undefined> | undefined;
|
|
1360
|
-
config?: Record<string, any> | undefined;
|
|
1361
|
-
init?: ((context: import("../../../assets/fonts/types.js").FontProviderInitContext) => void | Promise<void>) | undefined;
|
|
1362
|
-
listFonts?: (() => string[] | Promise<string[] | undefined> | undefined) | undefined;
|
|
1363
|
-
};
|
|
1364
|
-
options?: Record<string, any> | undefined;
|
|
1045
|
+
formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
|
|
1365
1046
|
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1366
1047
|
stretch?: string | undefined;
|
|
1367
1048
|
featureSettings?: string | undefined;
|
|
1368
1049
|
variationSettings?: string | undefined;
|
|
1369
1050
|
unicodeRange?: [string, ...string[]] | undefined;
|
|
1370
|
-
|
|
1371
|
-
|
|
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;
|
|
1051
|
+
options?: Record<string, any> | undefined;
|
|
1052
|
+
}[] | undefined;
|
|
1377
1053
|
};
|
|
1378
1054
|
legacy: {
|
|
1379
1055
|
collections: boolean;
|
|
@@ -1382,8 +1058,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1382
1058
|
options?: Record<string, any> | undefined;
|
|
1383
1059
|
driver?: string | undefined;
|
|
1384
1060
|
cookie?: {
|
|
1385
|
-
path?: string | undefined;
|
|
1386
1061
|
name?: string | undefined;
|
|
1062
|
+
path?: string | undefined;
|
|
1387
1063
|
domain?: string | undefined;
|
|
1388
1064
|
maxAge?: number | undefined;
|
|
1389
1065
|
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
@@ -1461,8 +1137,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1461
1137
|
options?: Record<string, any> | undefined;
|
|
1462
1138
|
driver?: string | undefined;
|
|
1463
1139
|
cookie?: string | {
|
|
1464
|
-
path?: string | undefined;
|
|
1465
1140
|
name?: string | undefined;
|
|
1141
|
+
path?: string | undefined;
|
|
1466
1142
|
domain?: string | undefined;
|
|
1467
1143
|
maxAge?: number | undefined;
|
|
1468
1144
|
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
@@ -1579,70 +1255,23 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1579
1255
|
}[] | undefined;
|
|
1580
1256
|
} | undefined;
|
|
1581
1257
|
experimental?: {
|
|
1582
|
-
fonts?:
|
|
1258
|
+
fonts?: {
|
|
1583
1259
|
name: string;
|
|
1584
1260
|
cssVariable: string;
|
|
1585
|
-
provider: "
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
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
|
-
}[]];
|
|
1261
|
+
provider: import("../../../index.js").FontProvider<never>;
|
|
1262
|
+
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
1263
|
+
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
1264
|
+
subsets?: [string, ...string[]] | undefined;
|
|
1617
1265
|
fallbacks?: string[] | undefined;
|
|
1618
1266
|
optimizedFallbacks?: boolean | undefined;
|
|
1619
|
-
|
|
1620
|
-
name: string;
|
|
1621
|
-
cssVariable: string;
|
|
1622
|
-
provider: {
|
|
1623
|
-
name: string;
|
|
1624
|
-
resolveFont: (options: import("../../../assets/fonts/types.js").ResolveFontOptions<never>) => {
|
|
1625
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
1626
|
-
} | Promise<{
|
|
1627
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
1628
|
-
} | undefined> | undefined;
|
|
1629
|
-
config?: Record<string, any> | undefined;
|
|
1630
|
-
init?: ((context: import("../../../assets/fonts/types.js").FontProviderInitContext) => void | Promise<void>) | undefined;
|
|
1631
|
-
listFonts?: (() => string[] | Promise<string[] | undefined> | undefined) | undefined;
|
|
1632
|
-
};
|
|
1633
|
-
options?: Record<string, any> | undefined;
|
|
1267
|
+
formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
|
|
1634
1268
|
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1635
1269
|
stretch?: string | undefined;
|
|
1636
1270
|
featureSettings?: string | undefined;
|
|
1637
1271
|
variationSettings?: string | undefined;
|
|
1638
1272
|
unicodeRange?: [string, ...string[]] | undefined;
|
|
1639
|
-
|
|
1640
|
-
|
|
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;
|
|
1273
|
+
options?: Record<string, any> | undefined;
|
|
1274
|
+
}[] | undefined;
|
|
1646
1275
|
clientPrerender?: boolean | undefined;
|
|
1647
1276
|
contentIntellisense?: boolean | undefined;
|
|
1648
1277
|
headingIdCompat?: boolean | undefined;
|
|
@@ -1830,70 +1459,23 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1830
1459
|
chromeDevtoolsWorkspace: boolean;
|
|
1831
1460
|
failOnPrerenderConflict: boolean;
|
|
1832
1461
|
svgo: boolean | import("svgo").Config;
|
|
1833
|
-
fonts?:
|
|
1462
|
+
fonts?: {
|
|
1834
1463
|
name: string;
|
|
1835
1464
|
cssVariable: string;
|
|
1836
|
-
provider: "
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
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
|
-
}[]];
|
|
1465
|
+
provider: import("../../../index.js").FontProvider<never>;
|
|
1466
|
+
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
1467
|
+
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
1468
|
+
subsets?: [string, ...string[]] | undefined;
|
|
1868
1469
|
fallbacks?: string[] | undefined;
|
|
1869
1470
|
optimizedFallbacks?: boolean | undefined;
|
|
1870
|
-
|
|
1871
|
-
name: string;
|
|
1872
|
-
cssVariable: string;
|
|
1873
|
-
provider: {
|
|
1874
|
-
name: string;
|
|
1875
|
-
resolveFont: (options: import("../../../assets/fonts/types.js").ResolveFontOptions<never>) => {
|
|
1876
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
1877
|
-
} | Promise<{
|
|
1878
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
1879
|
-
} | undefined> | undefined;
|
|
1880
|
-
config?: Record<string, any> | undefined;
|
|
1881
|
-
init?: ((context: import("../../../assets/fonts/types.js").FontProviderInitContext) => void | Promise<void>) | undefined;
|
|
1882
|
-
listFonts?: (() => string[] | Promise<string[] | undefined> | undefined) | undefined;
|
|
1883
|
-
};
|
|
1884
|
-
options?: Record<string, any> | undefined;
|
|
1471
|
+
formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
|
|
1885
1472
|
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
1886
1473
|
stretch?: string | undefined;
|
|
1887
1474
|
featureSettings?: string | undefined;
|
|
1888
1475
|
variationSettings?: string | undefined;
|
|
1889
1476
|
unicodeRange?: [string, ...string[]] | undefined;
|
|
1890
|
-
|
|
1891
|
-
|
|
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;
|
|
1477
|
+
options?: Record<string, any> | undefined;
|
|
1478
|
+
}[] | undefined;
|
|
1897
1479
|
};
|
|
1898
1480
|
legacy: {
|
|
1899
1481
|
collections: boolean;
|
|
@@ -1902,8 +1484,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1902
1484
|
options?: Record<string, any> | undefined;
|
|
1903
1485
|
driver?: string | undefined;
|
|
1904
1486
|
cookie?: {
|
|
1905
|
-
path?: string | undefined;
|
|
1906
1487
|
name?: string | undefined;
|
|
1488
|
+
path?: string | undefined;
|
|
1907
1489
|
domain?: string | undefined;
|
|
1908
1490
|
maxAge?: number | undefined;
|
|
1909
1491
|
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
@@ -1981,8 +1563,8 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1981
1563
|
options?: Record<string, any> | undefined;
|
|
1982
1564
|
driver?: string | undefined;
|
|
1983
1565
|
cookie?: string | {
|
|
1984
|
-
path?: string | undefined;
|
|
1985
1566
|
name?: string | undefined;
|
|
1567
|
+
path?: string | undefined;
|
|
1986
1568
|
domain?: string | undefined;
|
|
1987
1569
|
maxAge?: number | undefined;
|
|
1988
1570
|
sameSite?: boolean | "strict" | "none" | "lax" | undefined;
|
|
@@ -2099,70 +1681,23 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
2099
1681
|
}[] | undefined;
|
|
2100
1682
|
} | undefined;
|
|
2101
1683
|
experimental?: {
|
|
2102
|
-
fonts?:
|
|
1684
|
+
fonts?: {
|
|
2103
1685
|
name: string;
|
|
2104
1686
|
cssVariable: string;
|
|
2105
|
-
provider: "
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
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
|
-
}[]];
|
|
1687
|
+
provider: import("../../../index.js").FontProvider<never>;
|
|
1688
|
+
weights?: [string | number, ...(string | number)[]] | undefined;
|
|
1689
|
+
styles?: ["normal" | "italic" | "oblique", ...("normal" | "italic" | "oblique")[]] | undefined;
|
|
1690
|
+
subsets?: [string, ...string[]] | undefined;
|
|
2137
1691
|
fallbacks?: string[] | undefined;
|
|
2138
1692
|
optimizedFallbacks?: boolean | undefined;
|
|
2139
|
-
|
|
2140
|
-
name: string;
|
|
2141
|
-
cssVariable: string;
|
|
2142
|
-
provider: {
|
|
2143
|
-
name: string;
|
|
2144
|
-
resolveFont: (options: import("../../../assets/fonts/types.js").ResolveFontOptions<never>) => {
|
|
2145
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
2146
|
-
} | Promise<{
|
|
2147
|
-
fonts: Array<import("unifont").FontFaceData>;
|
|
2148
|
-
} | undefined> | undefined;
|
|
2149
|
-
config?: Record<string, any> | undefined;
|
|
2150
|
-
init?: ((context: import("../../../assets/fonts/types.js").FontProviderInitContext) => void | Promise<void>) | undefined;
|
|
2151
|
-
listFonts?: (() => string[] | Promise<string[] | undefined> | undefined) | undefined;
|
|
2152
|
-
};
|
|
2153
|
-
options?: Record<string, any> | undefined;
|
|
1693
|
+
formats?: ["woff2" | "woff" | "otf" | "ttf" | "eot", ...("woff2" | "woff" | "otf" | "ttf" | "eot")[]] | undefined;
|
|
2154
1694
|
display?: "auto" | "block" | "swap" | "fallback" | "optional" | undefined;
|
|
2155
1695
|
stretch?: string | undefined;
|
|
2156
1696
|
featureSettings?: string | undefined;
|
|
2157
1697
|
variationSettings?: string | undefined;
|
|
2158
1698
|
unicodeRange?: [string, ...string[]] | undefined;
|
|
2159
|
-
|
|
2160
|
-
|
|
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;
|
|
1699
|
+
options?: Record<string, any> | undefined;
|
|
1700
|
+
}[] | undefined;
|
|
2166
1701
|
clientPrerender?: boolean | undefined;
|
|
2167
1702
|
contentIntellisense?: boolean | undefined;
|
|
2168
1703
|
headingIdCompat?: boolean | undefined;
|