Buckets:
| use serde::Deserialize; | |
| use turbo_rcstr::RcStr; | |
| /// The top-most structure encoded into the query param in requests to | |
| /// `next/font/google` generated by the next/font swc transform. e.g. | |
| /// `next/font/google/target.css?{"path": "index.js", "import": "Inter"...` | |
| pub(super) struct NextFontRequest { | |
| pub import: RcStr, | |
| pub arguments: Vec<NextFontRequestArguments>, | |
| } | |
| pub(super) struct NextFontRequestArguments { | |
| pub weight: Option<OneOrManyStrings>, | |
| pub subsets: Option<Vec<RcStr>>, | |
| pub style: Option<OneOrManyStrings>, | |
| pub display: Option<RcStr>, | |
| pub preload: Option<bool>, | |
| pub axes: Option<Vec<RcStr>>, | |
| pub fallback: Option<Vec<RcStr>>, | |
| pub adjust_font_fallback: Option<bool>, | |
| pub variable: Option<RcStr>, | |
| } | |
| pub(super) enum OneOrManyStrings { | |
| One(RcStr), | |
| Many(Vec<RcStr>), | |
| } | |
Xet Storage Details
- Size:
- 1 kB
- Xet hash:
- d5d69b4006bd04f0d71284508b9ff43a8e756f49be8f9795190429e69b0d7732
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.