@mintlify/validation 0.1.897 → 0.1.899
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/dist/editor-navigation/types.d.ts +2 -4
- package/dist/editor-navigation/types.js +1 -9
- package/dist/mint-config/schemas/v2/index.d.ts +700 -10
- package/dist/mint-config/schemas/v2/properties/fonts/index.d.ts +24 -0
- package/dist/mint-config/schemas/v2/properties/fonts/index.js +7 -8
- package/dist/mint-config/schemas/v2/properties/reusable/divisions.d.ts +2 -0
- package/dist/mint-config/schemas/v2/properties/reusable/divisions.js +9 -0
- package/dist/mint-config/schemas/v2/properties/thumbnails.d.ts +52 -1
- package/dist/mint-config/schemas/v2/properties/thumbnails.js +34 -3
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +70 -1
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +70 -1
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +70 -1
- package/dist/mint-config/schemas/v2/themes/luma.d.ts +70 -1
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +70 -1
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +70 -1
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +70 -1
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +52 -1
- package/dist/mint-config/schemas/v2/themes/sequoia.d.ts +70 -1
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +70 -1
- package/dist/mint-config/validateConfig.d.ts +162 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/userInfo.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1,4 +1,28 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const fontDetailsBaseSchema: z.ZodObject<{
|
|
3
|
+
family: z.ZodString;
|
|
4
|
+
weight: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
source: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6
|
+
format: z.ZodOptional<z.ZodEnum<["woff", "woff2"]>>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
family: string;
|
|
9
|
+
source?: string | undefined;
|
|
10
|
+
weight?: number | undefined;
|
|
11
|
+
format?: "woff" | "woff2" | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
family: string;
|
|
14
|
+
source?: string | undefined;
|
|
15
|
+
weight?: number | undefined;
|
|
16
|
+
format?: "woff" | "woff2" | undefined;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const hasFormatWhenSourceSet: (font: {
|
|
19
|
+
source?: string;
|
|
20
|
+
format?: string;
|
|
21
|
+
}) => boolean;
|
|
22
|
+
export declare const formatRequiredWithSourceError: {
|
|
23
|
+
message: string;
|
|
24
|
+
path: string[];
|
|
25
|
+
};
|
|
2
26
|
export declare const fontDetailsSchema: z.ZodEffects<z.ZodObject<{
|
|
3
27
|
family: z.ZodString;
|
|
4
28
|
weight: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { fontFormats } from '@mintlify/models';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { fontSourceSchema } from './source.js';
|
|
4
|
-
export const
|
|
5
|
-
.object({
|
|
4
|
+
export const fontDetailsBaseSchema = z.object({
|
|
6
5
|
family: z
|
|
7
6
|
.string()
|
|
8
7
|
.describe('The font family name. Any [Google Fonts](https://fonts.google.com/) family works out of the box (e.g. `Inter`, `Open Sans`, `Playfair Display`). For a self-hosted font, set `source` and `format` as well.'),
|
|
@@ -17,13 +16,13 @@ export const fontDetailsSchema = z
|
|
|
17
16
|
.enum(fontFormats)
|
|
18
17
|
.optional()
|
|
19
18
|
.describe('File format of the self-hosted font. Required when `source` is set.'),
|
|
20
|
-
})
|
|
21
|
-
.refine((data) => {
|
|
22
|
-
if (data.source) {
|
|
23
|
-
return !!data.format;
|
|
24
|
-
}
|
|
25
|
-
return true;
|
|
26
19
|
});
|
|
20
|
+
export const hasFormatWhenSourceSet = (font) => !font.source || !!font.format;
|
|
21
|
+
export const formatRequiredWithSourceError = {
|
|
22
|
+
message: '`format` is required when `source` is set',
|
|
23
|
+
path: ['format'],
|
|
24
|
+
};
|
|
25
|
+
export const fontDetailsSchema = fontDetailsBaseSchema.refine(hasFormatWhenSourceSet, formatRequiredWithSourceError);
|
|
27
26
|
export const fontsSchema = z
|
|
28
27
|
.union([
|
|
29
28
|
fontDetailsSchema,
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const divisions: readonly ["anchors", "dropdowns", "languages", "tabs", "versions", "menu", "products"];
|
|
2
2
|
export type Division = (typeof divisions)[number];
|
|
3
|
+
export declare const DIVISION_TYPES: readonly ["tab", "dropdown", "anchor", "language", "product", "version", "item"];
|
|
4
|
+
export type DivisionType = (typeof DIVISION_TYPES)[number];
|
|
3
5
|
export declare const divisionPropertyNameMap: {
|
|
4
6
|
readonly anchors: "anchor";
|
|
5
7
|
readonly dropdowns: "dropdown";
|
|
@@ -7,6 +7,15 @@ export const divisions = [
|
|
|
7
7
|
'menu',
|
|
8
8
|
'products',
|
|
9
9
|
];
|
|
10
|
+
export const DIVISION_TYPES = [
|
|
11
|
+
'tab',
|
|
12
|
+
'dropdown',
|
|
13
|
+
'anchor',
|
|
14
|
+
'language',
|
|
15
|
+
'product',
|
|
16
|
+
'version',
|
|
17
|
+
'item',
|
|
18
|
+
];
|
|
10
19
|
export const divisionPropertyNameMap = {
|
|
11
20
|
anchors: 'anchor',
|
|
12
21
|
dropdowns: 'dropdown',
|
|
@@ -4,26 +4,77 @@ export declare enum ThumbnailAppearance {
|
|
|
4
4
|
Dark = "dark"
|
|
5
5
|
}
|
|
6
6
|
export declare const thumbnailsSchema: z.ZodObject<{
|
|
7
|
+
preset: z.ZodOptional<z.ZodEnum<["classic", "headline", "minimal"]>>;
|
|
7
8
|
appearance: z.ZodOptional<z.ZodEnum<[ThumbnailAppearance.Light, ThumbnailAppearance.Dark]>>;
|
|
9
|
+
surface: z.ZodOptional<z.ZodEnum<["neutral", "brand"]>>;
|
|
8
10
|
background: z.ZodOptional<z.ZodString>;
|
|
9
|
-
fonts: z.ZodOptional<z.ZodObject<{
|
|
11
|
+
fonts: z.ZodOptional<z.ZodEffects<z.ZodObject<Pick<{
|
|
10
12
|
family: z.ZodString;
|
|
13
|
+
weight: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
source: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
15
|
+
format: z.ZodOptional<z.ZodEnum<["woff", "woff2"]>>;
|
|
16
|
+
}, "family"> & {
|
|
17
|
+
source: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
18
|
+
format: z.ZodOptional<z.ZodEnum<["woff"]>>;
|
|
11
19
|
}, "strip", z.ZodTypeAny, {
|
|
12
20
|
family: string;
|
|
21
|
+
source?: string | undefined;
|
|
22
|
+
format?: "woff" | undefined;
|
|
13
23
|
}, {
|
|
14
24
|
family: string;
|
|
25
|
+
source?: string | undefined;
|
|
26
|
+
format?: "woff" | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
family: string;
|
|
29
|
+
source?: string | undefined;
|
|
30
|
+
format?: "woff" | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
family: string;
|
|
33
|
+
source?: string | undefined;
|
|
34
|
+
format?: "woff" | undefined;
|
|
35
|
+
}>>;
|
|
36
|
+
eyebrow: z.ZodOptional<z.ZodObject<{
|
|
37
|
+
source: z.ZodOptional<z.ZodEnum<["group", "tab", "dropdown", "anchor", "language", "product", "version", "item", "none"]>>;
|
|
38
|
+
style: z.ZodOptional<z.ZodEnum<["plain", "bar", "pill"]>>;
|
|
39
|
+
color: z.ZodOptional<z.ZodString>;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
color?: string | undefined;
|
|
42
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
43
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
44
|
+
}, {
|
|
45
|
+
color?: string | undefined;
|
|
46
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
47
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
15
48
|
}>>;
|
|
16
49
|
}, "strip", z.ZodTypeAny, {
|
|
17
50
|
background?: string | undefined;
|
|
51
|
+
eyebrow?: {
|
|
52
|
+
color?: string | undefined;
|
|
53
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
54
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
55
|
+
} | undefined;
|
|
56
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
18
57
|
appearance?: ThumbnailAppearance | undefined;
|
|
58
|
+
surface?: "neutral" | "brand" | undefined;
|
|
19
59
|
fonts?: {
|
|
20
60
|
family: string;
|
|
61
|
+
source?: string | undefined;
|
|
62
|
+
format?: "woff" | undefined;
|
|
21
63
|
} | undefined;
|
|
22
64
|
}, {
|
|
23
65
|
background?: string | undefined;
|
|
66
|
+
eyebrow?: {
|
|
67
|
+
color?: string | undefined;
|
|
68
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
69
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
70
|
+
} | undefined;
|
|
71
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
24
72
|
appearance?: ThumbnailAppearance | undefined;
|
|
73
|
+
surface?: "neutral" | "brand" | undefined;
|
|
25
74
|
fonts?: {
|
|
26
75
|
family: string;
|
|
76
|
+
source?: string | undefined;
|
|
77
|
+
format?: "woff" | undefined;
|
|
27
78
|
} | undefined;
|
|
28
79
|
}>;
|
|
29
80
|
export type ThumbnailsConfig = z.infer<typeof thumbnailsSchema>;
|
|
@@ -1,22 +1,53 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { fontDetailsBaseSchema, formatRequiredWithSourceError, hasFormatWhenSourceSet, } from './fonts/index.js';
|
|
3
|
+
import { hexColor } from './reusable/color.js';
|
|
4
|
+
import { DIVISION_TYPES } from './reusable/divisions.js';
|
|
2
5
|
export var ThumbnailAppearance;
|
|
3
6
|
(function (ThumbnailAppearance) {
|
|
4
7
|
ThumbnailAppearance["Light"] = "light";
|
|
5
8
|
ThumbnailAppearance["Dark"] = "dark";
|
|
6
9
|
})(ThumbnailAppearance || (ThumbnailAppearance = {}));
|
|
7
|
-
const thumbnailFontSchema =
|
|
10
|
+
const thumbnailFontSchema = fontDetailsBaseSchema
|
|
11
|
+
.pick({ family: true })
|
|
12
|
+
.extend({
|
|
13
|
+
source: fontDetailsBaseSchema.shape.source.describe('URL or path to a self-hosted font file. Example: `/fonts/custom.woff` or `https://cdn.example.com/font.woff`.'),
|
|
14
|
+
format: z
|
|
15
|
+
.enum(['woff'])
|
|
16
|
+
.optional()
|
|
17
|
+
.describe('File format of the self-hosted font. Required when `source` is set. Only `woff` is supported for thumbnails.'),
|
|
18
|
+
})
|
|
19
|
+
.refine(hasFormatWhenSourceSet, formatRequiredWithSourceError)
|
|
20
|
+
.describe('The font to be used for thumbnails.');
|
|
21
|
+
const thumbnailEyebrowSchema = z
|
|
8
22
|
.object({
|
|
9
|
-
|
|
23
|
+
source: z
|
|
24
|
+
.enum(['group', ...DIVISION_TYPES, 'none'])
|
|
25
|
+
.optional()
|
|
26
|
+
.describe('The navigation level whose name is shown above the title. `none` hides it. Defaults to `group`.'),
|
|
27
|
+
style: z
|
|
28
|
+
.enum(['plain', 'bar', 'pill'])
|
|
29
|
+
.optional()
|
|
30
|
+
.describe('How the eyebrow is drawn. Defaults to the style of the preset.'),
|
|
31
|
+
color: hexColor.optional().describe('The eyebrow color. Defaults to the primary color.'),
|
|
10
32
|
})
|
|
11
|
-
.describe('The
|
|
33
|
+
.describe('The label shown above the page title.');
|
|
12
34
|
export const thumbnailsSchema = z.object({
|
|
35
|
+
preset: z
|
|
36
|
+
.enum(['classic', 'headline', 'minimal'])
|
|
37
|
+
.optional()
|
|
38
|
+
.describe('The thumbnail layout. When unset, thumbnails use the current layout.'),
|
|
13
39
|
appearance: z
|
|
14
40
|
.enum([ThumbnailAppearance.Light, ThumbnailAppearance.Dark])
|
|
15
41
|
.optional()
|
|
16
42
|
.describe('Whether to render page thumbnails in light or dark mode. When unset, thumbnails are auto-generated from your theme colors.'),
|
|
43
|
+
surface: z
|
|
44
|
+
.enum(['neutral', 'brand'])
|
|
45
|
+
.optional()
|
|
46
|
+
.describe('Whether the thumbnail uses a neutral background or fills it with your brand color. Defaults to the surface of the preset.'),
|
|
17
47
|
background: z
|
|
18
48
|
.string()
|
|
19
49
|
.optional()
|
|
20
50
|
.describe('Background image for the thumbnail. Can be an absolute URL or relative path.'),
|
|
21
51
|
fonts: thumbnailFontSchema.optional(),
|
|
52
|
+
eyebrow: thumbnailEyebrowSchema.optional(),
|
|
22
53
|
});
|
|
@@ -1816,26 +1816,77 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1816
1816
|
display?: "header" | "toc" | undefined;
|
|
1817
1817
|
}>>;
|
|
1818
1818
|
thumbnails: z.ZodOptional<z.ZodObject<{
|
|
1819
|
+
preset: z.ZodOptional<z.ZodEnum<["classic", "headline", "minimal"]>>;
|
|
1819
1820
|
appearance: z.ZodOptional<z.ZodEnum<[import("../properties/thumbnails.js").ThumbnailAppearance.Light, import("../properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
|
|
1821
|
+
surface: z.ZodOptional<z.ZodEnum<["neutral", "brand"]>>;
|
|
1820
1822
|
background: z.ZodOptional<z.ZodString>;
|
|
1821
|
-
fonts: z.ZodOptional<z.ZodObject<{
|
|
1823
|
+
fonts: z.ZodOptional<z.ZodEffects<z.ZodObject<Pick<{
|
|
1822
1824
|
family: z.ZodString;
|
|
1825
|
+
weight: z.ZodOptional<z.ZodNumber>;
|
|
1826
|
+
source: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1827
|
+
format: z.ZodOptional<z.ZodEnum<["woff", "woff2"]>>;
|
|
1828
|
+
}, "family"> & {
|
|
1829
|
+
source: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1830
|
+
format: z.ZodOptional<z.ZodEnum<["woff"]>>;
|
|
1823
1831
|
}, "strip", z.ZodTypeAny, {
|
|
1824
1832
|
family: string;
|
|
1833
|
+
source?: string | undefined;
|
|
1834
|
+
format?: "woff" | undefined;
|
|
1835
|
+
}, {
|
|
1836
|
+
family: string;
|
|
1837
|
+
source?: string | undefined;
|
|
1838
|
+
format?: "woff" | undefined;
|
|
1839
|
+
}>, {
|
|
1840
|
+
family: string;
|
|
1841
|
+
source?: string | undefined;
|
|
1842
|
+
format?: "woff" | undefined;
|
|
1825
1843
|
}, {
|
|
1826
1844
|
family: string;
|
|
1845
|
+
source?: string | undefined;
|
|
1846
|
+
format?: "woff" | undefined;
|
|
1847
|
+
}>>;
|
|
1848
|
+
eyebrow: z.ZodOptional<z.ZodObject<{
|
|
1849
|
+
source: z.ZodOptional<z.ZodEnum<["group", "tab", "dropdown", "anchor", "language", "product", "version", "item", "none"]>>;
|
|
1850
|
+
style: z.ZodOptional<z.ZodEnum<["plain", "bar", "pill"]>>;
|
|
1851
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1852
|
+
}, "strip", z.ZodTypeAny, {
|
|
1853
|
+
color?: string | undefined;
|
|
1854
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
1855
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
1856
|
+
}, {
|
|
1857
|
+
color?: string | undefined;
|
|
1858
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
1859
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
1827
1860
|
}>>;
|
|
1828
1861
|
}, "strip", z.ZodTypeAny, {
|
|
1829
1862
|
background?: string | undefined;
|
|
1863
|
+
eyebrow?: {
|
|
1864
|
+
color?: string | undefined;
|
|
1865
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
1866
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
1867
|
+
} | undefined;
|
|
1868
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
1830
1869
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1870
|
+
surface?: "neutral" | "brand" | undefined;
|
|
1831
1871
|
fonts?: {
|
|
1832
1872
|
family: string;
|
|
1873
|
+
source?: string | undefined;
|
|
1874
|
+
format?: "woff" | undefined;
|
|
1833
1875
|
} | undefined;
|
|
1834
1876
|
}, {
|
|
1835
1877
|
background?: string | undefined;
|
|
1878
|
+
eyebrow?: {
|
|
1879
|
+
color?: string | undefined;
|
|
1880
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
1881
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
1882
|
+
} | undefined;
|
|
1883
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
1836
1884
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1885
|
+
surface?: "neutral" | "brand" | undefined;
|
|
1837
1886
|
fonts?: {
|
|
1838
1887
|
family: string;
|
|
1888
|
+
source?: string | undefined;
|
|
1889
|
+
format?: "woff" | undefined;
|
|
1839
1890
|
} | undefined;
|
|
1840
1891
|
}>>;
|
|
1841
1892
|
interaction: z.ZodOptional<z.ZodObject<{
|
|
@@ -2310,9 +2361,18 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
2310
2361
|
} | undefined;
|
|
2311
2362
|
thumbnails?: {
|
|
2312
2363
|
background?: string | undefined;
|
|
2364
|
+
eyebrow?: {
|
|
2365
|
+
color?: string | undefined;
|
|
2366
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
2367
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
2368
|
+
} | undefined;
|
|
2369
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
2313
2370
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2371
|
+
surface?: "neutral" | "brand" | undefined;
|
|
2314
2372
|
fonts?: {
|
|
2315
2373
|
family: string;
|
|
2374
|
+
source?: string | undefined;
|
|
2375
|
+
format?: "woff" | undefined;
|
|
2316
2376
|
} | undefined;
|
|
2317
2377
|
} | undefined;
|
|
2318
2378
|
interaction?: {
|
|
@@ -2757,9 +2817,18 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
2757
2817
|
} | undefined;
|
|
2758
2818
|
thumbnails?: {
|
|
2759
2819
|
background?: string | undefined;
|
|
2820
|
+
eyebrow?: {
|
|
2821
|
+
color?: string | undefined;
|
|
2822
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
2823
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
2824
|
+
} | undefined;
|
|
2825
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
2760
2826
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2827
|
+
surface?: "neutral" | "brand" | undefined;
|
|
2761
2828
|
fonts?: {
|
|
2762
2829
|
family: string;
|
|
2830
|
+
source?: string | undefined;
|
|
2831
|
+
format?: "woff" | undefined;
|
|
2763
2832
|
} | undefined;
|
|
2764
2833
|
} | undefined;
|
|
2765
2834
|
interaction?: {
|
|
@@ -1816,26 +1816,77 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
1816
1816
|
display?: "header" | "toc" | undefined;
|
|
1817
1817
|
}>>;
|
|
1818
1818
|
thumbnails: z.ZodOptional<z.ZodObject<{
|
|
1819
|
+
preset: z.ZodOptional<z.ZodEnum<["classic", "headline", "minimal"]>>;
|
|
1819
1820
|
appearance: z.ZodOptional<z.ZodEnum<[import("../properties/thumbnails.js").ThumbnailAppearance.Light, import("../properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
|
|
1821
|
+
surface: z.ZodOptional<z.ZodEnum<["neutral", "brand"]>>;
|
|
1820
1822
|
background: z.ZodOptional<z.ZodString>;
|
|
1821
|
-
fonts: z.ZodOptional<z.ZodObject<{
|
|
1823
|
+
fonts: z.ZodOptional<z.ZodEffects<z.ZodObject<Pick<{
|
|
1822
1824
|
family: z.ZodString;
|
|
1825
|
+
weight: z.ZodOptional<z.ZodNumber>;
|
|
1826
|
+
source: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1827
|
+
format: z.ZodOptional<z.ZodEnum<["woff", "woff2"]>>;
|
|
1828
|
+
}, "family"> & {
|
|
1829
|
+
source: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1830
|
+
format: z.ZodOptional<z.ZodEnum<["woff"]>>;
|
|
1823
1831
|
}, "strip", z.ZodTypeAny, {
|
|
1824
1832
|
family: string;
|
|
1833
|
+
source?: string | undefined;
|
|
1834
|
+
format?: "woff" | undefined;
|
|
1835
|
+
}, {
|
|
1836
|
+
family: string;
|
|
1837
|
+
source?: string | undefined;
|
|
1838
|
+
format?: "woff" | undefined;
|
|
1839
|
+
}>, {
|
|
1840
|
+
family: string;
|
|
1841
|
+
source?: string | undefined;
|
|
1842
|
+
format?: "woff" | undefined;
|
|
1825
1843
|
}, {
|
|
1826
1844
|
family: string;
|
|
1845
|
+
source?: string | undefined;
|
|
1846
|
+
format?: "woff" | undefined;
|
|
1847
|
+
}>>;
|
|
1848
|
+
eyebrow: z.ZodOptional<z.ZodObject<{
|
|
1849
|
+
source: z.ZodOptional<z.ZodEnum<["group", "tab", "dropdown", "anchor", "language", "product", "version", "item", "none"]>>;
|
|
1850
|
+
style: z.ZodOptional<z.ZodEnum<["plain", "bar", "pill"]>>;
|
|
1851
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1852
|
+
}, "strip", z.ZodTypeAny, {
|
|
1853
|
+
color?: string | undefined;
|
|
1854
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
1855
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
1856
|
+
}, {
|
|
1857
|
+
color?: string | undefined;
|
|
1858
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
1859
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
1827
1860
|
}>>;
|
|
1828
1861
|
}, "strip", z.ZodTypeAny, {
|
|
1829
1862
|
background?: string | undefined;
|
|
1863
|
+
eyebrow?: {
|
|
1864
|
+
color?: string | undefined;
|
|
1865
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
1866
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
1867
|
+
} | undefined;
|
|
1868
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
1830
1869
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1870
|
+
surface?: "neutral" | "brand" | undefined;
|
|
1831
1871
|
fonts?: {
|
|
1832
1872
|
family: string;
|
|
1873
|
+
source?: string | undefined;
|
|
1874
|
+
format?: "woff" | undefined;
|
|
1833
1875
|
} | undefined;
|
|
1834
1876
|
}, {
|
|
1835
1877
|
background?: string | undefined;
|
|
1878
|
+
eyebrow?: {
|
|
1879
|
+
color?: string | undefined;
|
|
1880
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
1881
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
1882
|
+
} | undefined;
|
|
1883
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
1836
1884
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1885
|
+
surface?: "neutral" | "brand" | undefined;
|
|
1837
1886
|
fonts?: {
|
|
1838
1887
|
family: string;
|
|
1888
|
+
source?: string | undefined;
|
|
1889
|
+
format?: "woff" | undefined;
|
|
1839
1890
|
} | undefined;
|
|
1840
1891
|
}>>;
|
|
1841
1892
|
interaction: z.ZodOptional<z.ZodObject<{
|
|
@@ -2310,9 +2361,18 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
2310
2361
|
} | undefined;
|
|
2311
2362
|
thumbnails?: {
|
|
2312
2363
|
background?: string | undefined;
|
|
2364
|
+
eyebrow?: {
|
|
2365
|
+
color?: string | undefined;
|
|
2366
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
2367
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
2368
|
+
} | undefined;
|
|
2369
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
2313
2370
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2371
|
+
surface?: "neutral" | "brand" | undefined;
|
|
2314
2372
|
fonts?: {
|
|
2315
2373
|
family: string;
|
|
2374
|
+
source?: string | undefined;
|
|
2375
|
+
format?: "woff" | undefined;
|
|
2316
2376
|
} | undefined;
|
|
2317
2377
|
} | undefined;
|
|
2318
2378
|
interaction?: {
|
|
@@ -2757,9 +2817,18 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
2757
2817
|
} | undefined;
|
|
2758
2818
|
thumbnails?: {
|
|
2759
2819
|
background?: string | undefined;
|
|
2820
|
+
eyebrow?: {
|
|
2821
|
+
color?: string | undefined;
|
|
2822
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
2823
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
2824
|
+
} | undefined;
|
|
2825
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
2760
2826
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2827
|
+
surface?: "neutral" | "brand" | undefined;
|
|
2761
2828
|
fonts?: {
|
|
2762
2829
|
family: string;
|
|
2830
|
+
source?: string | undefined;
|
|
2831
|
+
format?: "woff" | undefined;
|
|
2763
2832
|
} | undefined;
|
|
2764
2833
|
} | undefined;
|
|
2765
2834
|
interaction?: {
|
|
@@ -1816,26 +1816,77 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1816
1816
|
display?: "header" | "toc" | undefined;
|
|
1817
1817
|
}>>;
|
|
1818
1818
|
thumbnails: z.ZodOptional<z.ZodObject<{
|
|
1819
|
+
preset: z.ZodOptional<z.ZodEnum<["classic", "headline", "minimal"]>>;
|
|
1819
1820
|
appearance: z.ZodOptional<z.ZodEnum<[import("../properties/thumbnails.js").ThumbnailAppearance.Light, import("../properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
|
|
1821
|
+
surface: z.ZodOptional<z.ZodEnum<["neutral", "brand"]>>;
|
|
1820
1822
|
background: z.ZodOptional<z.ZodString>;
|
|
1821
|
-
fonts: z.ZodOptional<z.ZodObject<{
|
|
1823
|
+
fonts: z.ZodOptional<z.ZodEffects<z.ZodObject<Pick<{
|
|
1822
1824
|
family: z.ZodString;
|
|
1825
|
+
weight: z.ZodOptional<z.ZodNumber>;
|
|
1826
|
+
source: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1827
|
+
format: z.ZodOptional<z.ZodEnum<["woff", "woff2"]>>;
|
|
1828
|
+
}, "family"> & {
|
|
1829
|
+
source: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1830
|
+
format: z.ZodOptional<z.ZodEnum<["woff"]>>;
|
|
1823
1831
|
}, "strip", z.ZodTypeAny, {
|
|
1824
1832
|
family: string;
|
|
1833
|
+
source?: string | undefined;
|
|
1834
|
+
format?: "woff" | undefined;
|
|
1835
|
+
}, {
|
|
1836
|
+
family: string;
|
|
1837
|
+
source?: string | undefined;
|
|
1838
|
+
format?: "woff" | undefined;
|
|
1839
|
+
}>, {
|
|
1840
|
+
family: string;
|
|
1841
|
+
source?: string | undefined;
|
|
1842
|
+
format?: "woff" | undefined;
|
|
1825
1843
|
}, {
|
|
1826
1844
|
family: string;
|
|
1845
|
+
source?: string | undefined;
|
|
1846
|
+
format?: "woff" | undefined;
|
|
1847
|
+
}>>;
|
|
1848
|
+
eyebrow: z.ZodOptional<z.ZodObject<{
|
|
1849
|
+
source: z.ZodOptional<z.ZodEnum<["group", "tab", "dropdown", "anchor", "language", "product", "version", "item", "none"]>>;
|
|
1850
|
+
style: z.ZodOptional<z.ZodEnum<["plain", "bar", "pill"]>>;
|
|
1851
|
+
color: z.ZodOptional<z.ZodString>;
|
|
1852
|
+
}, "strip", z.ZodTypeAny, {
|
|
1853
|
+
color?: string | undefined;
|
|
1854
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
1855
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
1856
|
+
}, {
|
|
1857
|
+
color?: string | undefined;
|
|
1858
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
1859
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
1827
1860
|
}>>;
|
|
1828
1861
|
}, "strip", z.ZodTypeAny, {
|
|
1829
1862
|
background?: string | undefined;
|
|
1863
|
+
eyebrow?: {
|
|
1864
|
+
color?: string | undefined;
|
|
1865
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
1866
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
1867
|
+
} | undefined;
|
|
1868
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
1830
1869
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1870
|
+
surface?: "neutral" | "brand" | undefined;
|
|
1831
1871
|
fonts?: {
|
|
1832
1872
|
family: string;
|
|
1873
|
+
source?: string | undefined;
|
|
1874
|
+
format?: "woff" | undefined;
|
|
1833
1875
|
} | undefined;
|
|
1834
1876
|
}, {
|
|
1835
1877
|
background?: string | undefined;
|
|
1878
|
+
eyebrow?: {
|
|
1879
|
+
color?: string | undefined;
|
|
1880
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
1881
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
1882
|
+
} | undefined;
|
|
1883
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
1836
1884
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
1885
|
+
surface?: "neutral" | "brand" | undefined;
|
|
1837
1886
|
fonts?: {
|
|
1838
1887
|
family: string;
|
|
1888
|
+
source?: string | undefined;
|
|
1889
|
+
format?: "woff" | undefined;
|
|
1839
1890
|
} | undefined;
|
|
1840
1891
|
}>>;
|
|
1841
1892
|
interaction: z.ZodOptional<z.ZodObject<{
|
|
@@ -2310,9 +2361,18 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
2310
2361
|
} | undefined;
|
|
2311
2362
|
thumbnails?: {
|
|
2312
2363
|
background?: string | undefined;
|
|
2364
|
+
eyebrow?: {
|
|
2365
|
+
color?: string | undefined;
|
|
2366
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
2367
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
2368
|
+
} | undefined;
|
|
2369
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
2313
2370
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2371
|
+
surface?: "neutral" | "brand" | undefined;
|
|
2314
2372
|
fonts?: {
|
|
2315
2373
|
family: string;
|
|
2374
|
+
source?: string | undefined;
|
|
2375
|
+
format?: "woff" | undefined;
|
|
2316
2376
|
} | undefined;
|
|
2317
2377
|
} | undefined;
|
|
2318
2378
|
interaction?: {
|
|
@@ -2757,9 +2817,18 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
2757
2817
|
} | undefined;
|
|
2758
2818
|
thumbnails?: {
|
|
2759
2819
|
background?: string | undefined;
|
|
2820
|
+
eyebrow?: {
|
|
2821
|
+
color?: string | undefined;
|
|
2822
|
+
style?: "pill" | "plain" | "bar" | undefined;
|
|
2823
|
+
source?: "version" | "none" | "group" | "tab" | "dropdown" | "anchor" | "language" | "product" | "item" | undefined;
|
|
2824
|
+
} | undefined;
|
|
2825
|
+
preset?: "classic" | "headline" | "minimal" | undefined;
|
|
2760
2826
|
appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
|
|
2827
|
+
surface?: "neutral" | "brand" | undefined;
|
|
2761
2828
|
fonts?: {
|
|
2762
2829
|
family: string;
|
|
2830
|
+
source?: string | undefined;
|
|
2831
|
+
format?: "woff" | undefined;
|
|
2763
2832
|
} | undefined;
|
|
2764
2833
|
} | undefined;
|
|
2765
2834
|
interaction?: {
|