@mintlify/validation
Advanced tools
Comparing version 0.1.226 to 0.1.227
@@ -26,2 +26,9 @@ import { z } from 'zod'; | ||
}>; | ||
export declare const eyebrowSchema: z.ZodObject<{ | ||
display: z.ZodOptional<z.ZodEnum<["section", "breadcrumbs"]>>; | ||
}, "strip", z.ZodTypeAny, { | ||
display?: "section" | "breadcrumbs" | undefined; | ||
}, { | ||
display?: "section" | "breadcrumbs" | undefined; | ||
}>; | ||
export declare const isWhiteLabeledSchema: z.ZodBoolean; | ||
@@ -28,0 +35,0 @@ export declare const metadataSchema: z.ZodRecord<z.ZodString, z.ZodString>; |
@@ -16,2 +16,5 @@ import { codeBlockModes } from '@mintlify/models'; | ||
}); | ||
export const eyebrowSchema = z.object({ | ||
display: z.enum(['section', 'breadcrumbs']).optional(), | ||
}); | ||
export const isWhiteLabeledSchema = z.boolean(); | ||
@@ -18,0 +21,0 @@ export const metadataSchema = z.record(z.string(), z.string().nonempty()); |
@@ -240,2 +240,9 @@ import { z } from 'zod'; | ||
}>; | ||
eyebrow: z.ZodOptional<z.ZodObject<{ | ||
display: z.ZodOptional<z.ZodEnum<["section", "breadcrumbs"]>>; | ||
}, "strip", z.ZodTypeAny, { | ||
display?: "section" | "breadcrumbs" | undefined; | ||
}, { | ||
display?: "section" | "breadcrumbs" | undefined; | ||
}>>; | ||
topbarCtaButton: z.ZodOptional<z.ZodUnion<[z.ZodObject<{ | ||
@@ -911,2 +918,5 @@ type: z.ZodOptional<z.ZodLiteral<"link">>; | ||
} | undefined; | ||
eyebrow?: { | ||
display?: "section" | "breadcrumbs" | undefined; | ||
} | undefined; | ||
topbarCtaButton?: { | ||
@@ -1145,2 +1155,5 @@ name: string; | ||
} | undefined; | ||
eyebrow?: { | ||
display?: "section" | "breadcrumbs" | undefined; | ||
} | undefined; | ||
topbarCtaButton?: { | ||
@@ -1147,0 +1160,0 @@ name: string; |
@@ -9,3 +9,3 @@ import { themes } from '@mintlify/models'; | ||
import { backgroundSchema } from './background.js'; | ||
import { codeBlockSchema, ctaButtonSchema, feedbackSchema, isWhiteLabeledSchema, logoSchema, metadataSchema, modeToggleSchema, nameSchema, redirectsSchema, searchSchema, } from './basics.js'; | ||
import { codeBlockSchema, ctaButtonSchema, eyebrowSchema, feedbackSchema, isWhiteLabeledSchema, logoSchema, metadataSchema, modeToggleSchema, nameSchema, redirectsSchema, searchSchema, } from './basics.js'; | ||
import { colorsSchema } from './colors.js'; | ||
@@ -40,2 +40,3 @@ import { faviconSchema } from './favicon.js'; | ||
colors: colorsSchema, | ||
eyebrow: eyebrowSchema.optional(), | ||
topbarCtaButton: ctaButtonSchema.optional(), | ||
@@ -42,0 +43,0 @@ topbarLinks: ctaButtonSchema.array().optional(), |
@@ -75,2 +75,5 @@ import { z } from 'zod'; | ||
} | undefined; | ||
eyebrow?: { | ||
display?: "section" | "breadcrumbs" | undefined; | ||
} | undefined; | ||
topbarCtaButton?: { | ||
@@ -312,2 +315,5 @@ name: string; | ||
} | undefined; | ||
eyebrow?: { | ||
display?: "section" | "breadcrumbs" | undefined; | ||
} | undefined; | ||
topbarCtaButton?: { | ||
@@ -314,0 +320,0 @@ name: string; |
{ | ||
"name": "@mintlify/validation", | ||
"version": "0.1.226", | ||
"version": "0.1.227", | ||
"description": "Validates mint.json files", | ||
@@ -38,3 +38,3 @@ "author": "Mintlify, Inc.", | ||
"dependencies": { | ||
"@mintlify/models": "0.0.152", | ||
"@mintlify/models": "0.0.153", | ||
"is-absolute-url": "^4.0.1", | ||
@@ -64,3 +64,3 @@ "lcm": "^0.0.3", | ||
}, | ||
"gitHead": "35ffbb39c233d402af1be4886250a01eb14c0c06" | ||
"gitHead": "328ec45e7b77e0a09006647a1d7bffbd010e990a" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
285323
5446
+ Added@mintlify/models@0.0.153(transitive)
- Removed@mintlify/models@0.0.152(transitive)
Updated@mintlify/models@0.0.153