Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mintlify/validation

Package Overview
Dependencies
Maintainers
0
Versions
239
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mintlify/validation - npm Package Compare versions

Comparing version 0.1.226 to 0.1.227

7

dist/mint-config/schemas/basics.d.ts

@@ -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>;

3

dist/mint-config/schemas/basics.js

@@ -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;

3

dist/mint-config/schemas/config.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc