@mintlify/validation
Advanced tools
Comparing version 0.1.288 to 0.1.289
@@ -15,2 +15,13 @@ import { z } from 'zod'; | ||
}>]>>; | ||
color: z.ZodOptional<z.ZodObject<{ | ||
light: z.ZodOptional<z.ZodString>; | ||
dark: z.ZodOptional<z.ZodString>; | ||
}, "strict", z.ZodTypeAny, { | ||
light?: string | undefined; | ||
dark?: string | undefined; | ||
}, { | ||
light?: string | undefined; | ||
dark?: string | undefined; | ||
}>>; | ||
description: z.ZodOptional<z.ZodString>; | ||
hidden: z.ZodOptional<z.ZodBoolean>; | ||
@@ -23,2 +34,7 @@ }, "strip", z.ZodTypeAny, { | ||
} | undefined; | ||
color?: { | ||
light?: string | undefined; | ||
dark?: string | undefined; | ||
} | undefined; | ||
description?: string | undefined; | ||
hidden?: boolean | undefined; | ||
@@ -31,2 +47,7 @@ }, { | ||
} | undefined; | ||
color?: { | ||
light?: string | undefined; | ||
dark?: string | undefined; | ||
} | undefined; | ||
description?: string | undefined; | ||
hidden?: boolean | undefined; | ||
@@ -48,2 +69,13 @@ }>; | ||
}>]>>; | ||
color: z.ZodOptional<z.ZodObject<{ | ||
light: z.ZodOptional<z.ZodString>; | ||
dark: z.ZodOptional<z.ZodString>; | ||
}, "strict", z.ZodTypeAny, { | ||
light?: string | undefined; | ||
dark?: string | undefined; | ||
}, { | ||
light?: string | undefined; | ||
dark?: string | undefined; | ||
}>>; | ||
description: z.ZodOptional<z.ZodString>; | ||
hidden: z.ZodOptional<z.ZodBoolean>; | ||
@@ -59,2 +91,7 @@ dropdown: z.ZodString; | ||
} | undefined; | ||
color?: { | ||
light?: string | undefined; | ||
dark?: string | undefined; | ||
} | undefined; | ||
description?: string | undefined; | ||
hidden?: boolean | undefined; | ||
@@ -68,2 +105,7 @@ }, { | ||
} | undefined; | ||
color?: { | ||
light?: string | undefined; | ||
dark?: string | undefined; | ||
} | undefined; | ||
description?: string | undefined; | ||
hidden?: boolean | undefined; | ||
@@ -70,0 +112,0 @@ }>; |
import { z } from 'zod'; | ||
import { colorSchemaWithOptionalLightAndDark } from '../reusable/color.js'; | ||
import { hiddenSchema } from '../reusable/hidden.js'; | ||
@@ -15,2 +16,4 @@ import { hrefSchema } from '../reusable/href.js'; | ||
icon: iconSchema.optional(), | ||
color: colorSchemaWithOptionalLightAndDark.optional(), | ||
description: z.string().optional().describe('The description of the dropdown'), | ||
hidden: hiddenSchema.optional(), | ||
@@ -17,0 +20,0 @@ }); |
@@ -77,2 +77,13 @@ import { z } from 'zod'; | ||
}>]>>; | ||
color: z.ZodOptional<z.ZodObject<{ | ||
light: z.ZodOptional<z.ZodString>; | ||
dark: z.ZodOptional<z.ZodString>; | ||
}, "strict", z.ZodTypeAny, { | ||
light?: string | undefined; | ||
dark?: string | undefined; | ||
}, { | ||
light?: string | undefined; | ||
dark?: string | undefined; | ||
}>>; | ||
description: z.ZodOptional<z.ZodString>; | ||
hidden: z.ZodOptional<z.ZodBoolean>; | ||
@@ -88,2 +99,7 @@ dropdown: z.ZodString; | ||
} | undefined; | ||
color?: { | ||
light?: string | undefined; | ||
dark?: string | undefined; | ||
} | undefined; | ||
description?: string | undefined; | ||
hidden?: boolean | undefined; | ||
@@ -97,2 +113,7 @@ }, { | ||
} | undefined; | ||
color?: { | ||
light?: string | undefined; | ||
dark?: string | undefined; | ||
} | undefined; | ||
description?: string | undefined; | ||
hidden?: boolean | undefined; | ||
@@ -178,2 +199,7 @@ }>, "many">>; | ||
} | undefined; | ||
color?: { | ||
light?: string | undefined; | ||
dark?: string | undefined; | ||
} | undefined; | ||
description?: string | undefined; | ||
hidden?: boolean | undefined; | ||
@@ -223,2 +249,7 @@ }[] | undefined; | ||
} | undefined; | ||
color?: { | ||
light?: string | undefined; | ||
dark?: string | undefined; | ||
} | undefined; | ||
description?: string | undefined; | ||
hidden?: boolean | undefined; | ||
@@ -225,0 +256,0 @@ }[] | undefined; |
{ | ||
"name": "@mintlify/validation", | ||
"version": "0.1.288", | ||
"version": "0.1.289", | ||
"description": "Validates mint.json files", | ||
@@ -63,3 +63,3 @@ "author": "Mintlify, Inc.", | ||
}, | ||
"gitHead": "e18dada4664ee2840eef64921e53e4eab9b63dd7" | ||
"gitHead": "89efe01f273dc16629960a167fc24610c85f02b3" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
3564635
78836