🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

@mintlify/validation

Package Overview
Dependencies
Maintainers
9
Versions
748
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.742
to
0.1.743
+1
-1
dist/mint-config/s.../properties/navigation/divisionNav.d.ts

@@ -65,3 +65,3 @@ import { z } from 'zod';

tabs: 'tabs' | 'menu';
menu: 'languages' | 'versions' | 'dropdowns' | 'anchors' | 'menu' | 'products';
menu: 'languages' | 'versions' | 'dropdowns' | 'anchors' | 'menu';
};

@@ -68,0 +68,0 @@ type BaseNavigation<T extends NavigationType, K extends Division> = {

@@ -13,2 +13,3 @@ import { z } from 'zod';

import { languagesSchema, decoratedLanguagesSchema } from './languages.js';
import { decoratedMenuSchema, menuSchema } from './menu.js';
import { pagesSchema, decoratedPagesSchema } from './pages.js';

@@ -68,2 +69,3 @@ import { tabsSchema, decoratedTabsSchema } from './tabs.js';

baseProductSchema.extend({
menu: z.lazy(() => menuSchema),
openapi: openApiSchema.optional(),

@@ -73,2 +75,7 @@ asyncapi: asyncApiSchema.optional(),

}),
baseProductSchema.extend({
openapi: openApiSchema.optional(),
asyncapi: asyncApiSchema.optional(),
global: z.lazy(() => globalSchema).optional(),
}),
]);

@@ -84,2 +91,3 @@ export const decoratedProductSchema = baseProductSchema.and(z.union([

z.lazy(() => z.object({ pages: decoratedPagesSchema, global: globalSchema.optional() })),
z.lazy(() => z.object({ menu: decoratedMenuSchema, global: globalSchema.optional() })),
]));

@@ -86,0 +94,0 @@ export const productsSchema = z.array(productSchema).describe('Organizing by products');

{
"name": "@mintlify/validation",
"version": "0.1.742",
"version": "0.1.743",
"description": "Validates mint.json files",

@@ -75,3 +75,3 @@ "author": "Mintlify, Inc.",

},
"gitHead": "66a6a91f7ccb05dd8847948335fea1a91a170366"
"gitHead": "9c82d0d4e36c8354b3c7783fe191310c7a89289a"
}

Sorry, the diff of this file is not supported yet