PreloadData Type — astro Architecture
Architecture documentation for the PreloadData type/interface in types.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 52230afc_a98d_c4f8_7d52_736afb5e3f09["PreloadData"] 0414cf8f_0404_f03b_316f_0d732aa66968["types.ts"] 52230afc_a98d_c4f8_7d52_736afb5e3f09 -->|defined in| 0414cf8f_0404_f03b_316f_0d732aa66968 style 52230afc_a98d_c4f8_7d52_736afb5e3f09 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/assets/fonts/types.ts lines 203–215
export interface PreloadData {
/**
* Absolute link to a font file, eg. /_astro/fonts/abc.woff
*/
url: string;
/**
* A font type, eg. woff2, woff, ttf...
*/
type: FontType;
weight: string | undefined;
style: string | undefined;
subset: string | undefined;
}
Defined In
Source
Frequently Asked Questions
What is the PreloadData type?
PreloadData is a type/interface in the astro codebase, defined in packages/astro/src/assets/fonts/types.ts.
Where is PreloadData defined?
PreloadData is defined in packages/astro/src/assets/fonts/types.ts at line 203.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free