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
248
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.235 to 0.1.236

dist/mint-config/schemas/v2/properties/navigation/global.d.ts

59

dist/mint-config/schemas/v2/properties/navigation/anchors.d.ts
import { z } from 'zod';
export declare const anchorSchema: z.ZodType;
export declare const nonRecursiveAnchorSchema: z.ZodIntersection<z.ZodObject<{
anchor: z.ZodString;
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>;
name: z.ZodEffects<z.ZodString, string, string>;
}, "strip", z.ZodTypeAny, {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
}, {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
}>]>>;
color: z.ZodOptional<z.ZodObject<{
light: z.ZodString;
dark: z.ZodString;
}, "strict", z.ZodTypeAny, {
light: string;
dark: string;
}, {
light: string;
dark: string;
}>>;
hidden: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
anchor: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
color?: {
light: string;
dark: string;
} | undefined;
hidden?: boolean | undefined;
}, {
anchor: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
color?: {
light: string;
dark: string;
} | undefined;
hidden?: boolean | undefined;
}>, z.ZodUnion<[z.ZodObject<{
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
}, "strip", z.ZodTypeAny, {
openapi: (string | string[]) & (string | string[] | undefined);
}, {
openapi: (string | string[]) & (string | string[] | undefined);
}>, z.ZodObject<{
href: z.ZodString;
}, "strip", z.ZodTypeAny, {
href: string;
}, {
href: string;
}>]>>;
export declare const anchorsSchema: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;

10

dist/mint-config/schemas/v2/properties/navigation/anchors.js

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

import { versionsSchema } from './version.js';
const anchorSchema = z
.object({
const baseAnchorSchema = z.object({
anchor: z.string().nonempty().describe('The name of the anchor'),

@@ -20,6 +19,6 @@ icon: iconSchema.optional(),

hidden: hiddenSchema.optional(),
})
.and(z.union([
});
export const anchorSchema = baseAnchorSchema.and(z.union([
z.object({ openapi: openApiSchema }),
z.object({ href: hrefSchema }),
z.object({ openapi: openApiSchema }),
z.lazy(() => z.object({ languages: languagesSchema })),

@@ -32,2 +31,3 @@ z.lazy(() => z.object({ versions: versionsSchema })),

]));
export const nonRecursiveAnchorSchema = baseAnchorSchema.and(z.union([z.object({ openapi: openApiSchema }), z.object({ href: hrefSchema })]));
export const anchorsSchema = z.array(anchorSchema).describe('Organizing by anchors');
import { z } from 'zod';
export declare const dropdownSchema: z.ZodType;
export declare const nonRecursiveDropdownSchema: z.ZodIntersection<z.ZodObject<{
dropdown: z.ZodString;
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>;
name: z.ZodEffects<z.ZodString, string, string>;
}, "strip", z.ZodTypeAny, {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
}, {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
}>]>>;
hidden: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
dropdown: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
}, {
dropdown: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
}>, z.ZodUnion<[z.ZodObject<{
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
}, "strip", z.ZodTypeAny, {
openapi: (string | string[]) & (string | string[] | undefined);
}, {
openapi: (string | string[]) & (string | string[] | undefined);
}>, z.ZodObject<{
href: z.ZodString;
}, "strip", z.ZodTypeAny, {
href: string;
}, {
href: string;
}>]>>;
export declare const dropdownsSchema: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;

@@ -12,11 +12,10 @@ import { z } from 'zod';

import { versionsSchema } from './version.js';
const dropdownSchema = z
.object({
const baseDropdownSchema = z.object({
dropdown: z.string().nonempty().describe('The name of the dropdown'),
icon: iconSchema.optional(),
hidden: hiddenSchema.optional(),
})
.and(z.union([
});
export const dropdownSchema = baseDropdownSchema.and(z.union([
z.object({ openapi: openApiSchema }),
z.object({ href: hrefSchema }),
z.object({ openapi: openApiSchema }),
z.lazy(() => z.object({ languages: languagesSchema })),

@@ -29,2 +28,3 @@ z.lazy(() => z.object({ versions: versionsSchema })),

]));
export const nonRecursiveDropdownSchema = baseDropdownSchema.and(z.union([z.object({ openapi: openApiSchema }), z.object({ href: hrefSchema })]));
export const dropdownsSchema = z.array(dropdownSchema).describe('Organizing by dropdowns');
import { z } from 'zod';
export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
export declare const navigationSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
languages: z.ZodArray<z.ZodIntersection<z.ZodObject<{

@@ -295,2 +295,419 @@ language: z.ZodEnum<["en", "cn", "es", "fr", "jp", "pt", "pt-BR", "de"]>;

pages: any[];
}>]>;
}>]>, z.ZodOptional<z.ZodObject<{
global: z.ZodObject<{
languages: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
language: z.ZodEnum<["en", "cn", "es", "fr", "jp", "pt", "pt-BR", "de"]>;
hidden: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
hidden?: boolean | undefined;
}, {
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
hidden?: boolean | undefined;
}>, z.ZodUnion<[z.ZodObject<{
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
}, "strip", z.ZodTypeAny, {
openapi: (string | string[]) & (string | string[] | undefined);
}, {
openapi: (string | string[]) & (string | string[] | undefined);
}>, z.ZodObject<{
href: z.ZodString;
}, "strip", z.ZodTypeAny, {
href: string;
}, {
href: string;
}>]>>, "many">>;
versions: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
version: z.ZodString;
hidden: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
version: string;
hidden?: boolean | undefined;
}, {
version: string;
hidden?: boolean | undefined;
}>, z.ZodUnion<[z.ZodObject<{
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
}, "strip", z.ZodTypeAny, {
openapi: (string | string[]) & (string | string[] | undefined);
}, {
openapi: (string | string[]) & (string | string[] | undefined);
}>, z.ZodObject<{
href: z.ZodString;
}, "strip", z.ZodTypeAny, {
href: string;
}, {
href: string;
}>]>>, "many">>;
tabs: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
tab: z.ZodString;
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>;
name: z.ZodEffects<z.ZodString, string, string>;
}, "strip", z.ZodTypeAny, {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
}, {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
}>]>>;
hidden: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
tab: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
}, {
tab: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
}>, z.ZodUnion<[z.ZodObject<{
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
}, "strip", z.ZodTypeAny, {
openapi: (string | string[]) & (string | string[] | undefined);
}, {
openapi: (string | string[]) & (string | string[] | undefined);
}>, z.ZodObject<{
href: z.ZodString;
}, "strip", z.ZodTypeAny, {
href: string;
}, {
href: string;
}>]>>, "many">>;
dropdowns: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
dropdown: z.ZodString;
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>;
name: z.ZodEffects<z.ZodString, string, string>;
}, "strip", z.ZodTypeAny, {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
}, {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
}>]>>;
hidden: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
dropdown: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
}, {
dropdown: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
}>, z.ZodUnion<[z.ZodObject<{
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
}, "strip", z.ZodTypeAny, {
openapi: (string | string[]) & (string | string[] | undefined);
}, {
openapi: (string | string[]) & (string | string[] | undefined);
}>, z.ZodObject<{
href: z.ZodString;
}, "strip", z.ZodTypeAny, {
href: string;
}, {
href: string;
}>]>>, "many">>;
anchors: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
anchor: z.ZodString;
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>;
name: z.ZodEffects<z.ZodString, string, string>;
}, "strip", z.ZodTypeAny, {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
}, {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
}>]>>;
color: z.ZodOptional<z.ZodObject<{
light: z.ZodString;
dark: z.ZodString;
}, "strict", z.ZodTypeAny, {
light: string;
dark: string;
}, {
light: string;
dark: string;
}>>;
hidden: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
anchor: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
color?: {
light: string;
dark: string;
} | undefined;
hidden?: boolean | undefined;
}, {
anchor: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
color?: {
light: string;
dark: string;
} | undefined;
hidden?: boolean | undefined;
}>, z.ZodUnion<[z.ZodObject<{
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
}, "strip", z.ZodTypeAny, {
openapi: (string | string[]) & (string | string[] | undefined);
}, {
openapi: (string | string[]) & (string | string[] | undefined);
}>, z.ZodObject<{
href: z.ZodString;
}, "strip", z.ZodTypeAny, {
href: string;
}, {
href: string;
}>]>>, "many">>;
}, "strict", z.ZodTypeAny, {
languages?: ({
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
versions?: ({
version: string;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
tabs?: ({
tab: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
dropdowns?: ({
dropdown: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
anchors?: ({
anchor: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
color?: {
light: string;
dark: string;
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
}, {
languages?: ({
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
versions?: ({
version: string;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
tabs?: ({
tab: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
dropdowns?: ({
dropdown: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
anchors?: ({
anchor: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
color?: {
light: string;
dark: string;
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
}>;
}, "strip", z.ZodTypeAny, {
global: {
languages?: ({
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
versions?: ({
version: string;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
tabs?: ({
tab: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
dropdowns?: ({
dropdown: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
anchors?: ({
anchor: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
color?: {
light: string;
dark: string;
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
};
}, {
global: {
languages?: ({
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
versions?: ({
version: string;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
tabs?: ({
tab: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
dropdowns?: ({
dropdown: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
anchors?: ({
anchor: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
color?: {
light: string;
dark: string;
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
};
}>>>;
import { z } from 'zod';
import { anchorsSchema } from './anchors.js';
import { dropdownsSchema } from './dropdown.js';
import { globalSchema } from './global.js';
import { groupsSchema } from './groups.js';

@@ -19,2 +20,3 @@ import { languagesSchema } from './languages.js';

])
.and(z.object({ global: globalSchema }).optional())
.describe('The navigation structure of the content');
import { z } from 'zod';
export declare const languageSchema: z.ZodIntersection<z.ZodObject<{
language: z.ZodEnum<["en", "cn", "es", "fr", "jp", "pt", "pt-BR", "de"]>;
hidden: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
hidden?: boolean | undefined;
}, {
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
hidden?: boolean | undefined;
}>, z.ZodUnion<[z.ZodObject<{
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
}, "strip", z.ZodTypeAny, {
openapi: (string | string[]) & (string | string[] | undefined);
}, {
openapi: (string | string[]) & (string | string[] | undefined);
}>, z.ZodObject<{
href: z.ZodString;
}, "strip", z.ZodTypeAny, {
href: string;
}, {
href: string;
}>, z.ZodLazy<z.ZodObject<{
versions: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
}, "strip", z.ZodTypeAny, {
versions: any[];
}, {
versions: any[];
}>>, z.ZodLazy<z.ZodObject<{
tabs: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
}, "strip", z.ZodTypeAny, {
tabs: any[];
}, {
tabs: any[];
}>>, z.ZodLazy<z.ZodObject<{
dropdowns: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
}, "strip", z.ZodTypeAny, {
dropdowns: any[];
}, {
dropdowns: any[];
}>>, z.ZodLazy<z.ZodObject<{
anchors: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
}, "strip", z.ZodTypeAny, {
anchors: any[];
}, {
anchors: any[];
}>>, z.ZodLazy<z.ZodObject<{
groups: z.ZodArray<z.ZodIntersection<z.ZodObject<{
group: z.ZodString;
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>;
name: z.ZodEffects<z.ZodString, string, string>;
}, "strip", z.ZodTypeAny, {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
}, {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
}>]>>;
hidden: z.ZodOptional<z.ZodBoolean>;
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
}, "strip", z.ZodTypeAny, {
group: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
root?: string | undefined;
}, {
group: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
root?: string | undefined;
}>, z.ZodUnion<[z.ZodObject<{
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
}, "strip", z.ZodTypeAny, {
openapi: (string | string[]) & (string | string[] | undefined);
}, {
openapi: (string | string[]) & (string | string[] | undefined);
}>, z.ZodLazy<z.ZodObject<{
pages: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
}, "strip", z.ZodTypeAny, {
pages: any[];
}, {
pages: any[];
}>>]>>, "many">;
}, "strip", z.ZodTypeAny, {
groups: ({
group: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
root?: string | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
pages: any[];
}))[];
}, {
groups: ({
group: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
root?: string | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
pages: any[];
}))[];
}>>, z.ZodLazy<z.ZodObject<{
pages: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
}, "strip", z.ZodTypeAny, {
pages: any[];
}, {
pages: any[];
}>>]>>;
export declare const nonRecursiveLanguageSchema: z.ZodIntersection<z.ZodObject<{
language: z.ZodEnum<["en", "cn", "es", "fr", "jp", "pt", "pt-BR", "de"]>;
hidden: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
hidden?: boolean | undefined;
}, {
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
hidden?: boolean | undefined;
}>, z.ZodUnion<[z.ZodObject<{
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
}, "strip", z.ZodTypeAny, {
openapi: (string | string[]) & (string | string[] | undefined);
}, {
openapi: (string | string[]) & (string | string[] | undefined);
}>, z.ZodObject<{
href: z.ZodString;
}, "strip", z.ZodTypeAny, {
href: string;
}, {
href: string;
}>]>>;
export declare const languagesSchema: z.ZodArray<z.ZodIntersection<z.ZodObject<{

@@ -3,0 +149,0 @@ language: z.ZodEnum<["en", "cn", "es", "fr", "jp", "pt", "pt-BR", "de"]>;

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

import { versionsSchema } from './version.js';
const languageSchema = z
.object({
const baseLanguageSchema = z.object({
language: z

@@ -18,3 +17,4 @@ .enum(['en', 'cn', 'es', 'fr', 'jp', 'pt', 'pt-BR', 'de'])

hidden: hiddenSchema.optional(),
})
});
export const languageSchema = baseLanguageSchema
.and(z.union([

@@ -31,2 +31,3 @@ z.object({ openapi: openApiSchema }),

.describe('Organizing by languages');
export const nonRecursiveLanguageSchema = baseLanguageSchema.and(z.union([z.object({ openapi: openApiSchema }), z.object({ href: hrefSchema })]));
export const languagesSchema = z

@@ -33,0 +34,0 @@ .array(languageSchema)

import { z } from 'zod';
export declare const tabSchema: z.ZodType;
export declare const nonRecursiveTabSchema: z.ZodIntersection<z.ZodObject<{
tab: z.ZodString;
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
style: z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>;
name: z.ZodEffects<z.ZodString, string, string>;
}, "strip", z.ZodTypeAny, {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
}, {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
}>]>>;
hidden: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
tab: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
}, {
tab: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
}>, z.ZodUnion<[z.ZodObject<{
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
}, "strip", z.ZodTypeAny, {
openapi: (string | string[]) & (string | string[] | undefined);
}, {
openapi: (string | string[]) & (string | string[] | undefined);
}>, z.ZodObject<{
href: z.ZodString;
}, "strip", z.ZodTypeAny, {
href: string;
}, {
href: string;
}>]>>;
export declare const tabsSchema: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;

@@ -12,9 +12,8 @@ import { z } from 'zod';

import { versionsSchema } from './version.js';
const tabSchema = z
.object({
const baseTabSchema = z.object({
tab: z.string().nonempty().describe('The name of the tab'),
icon: iconSchema.optional(),
hidden: hiddenSchema.optional(),
})
.and(z.union([
});
export const tabSchema = baseTabSchema.and(z.union([
z.object({ openapi: openApiSchema }),

@@ -29,2 +28,3 @@ z.object({ href: hrefSchema }),

]));
export const nonRecursiveTabSchema = baseTabSchema.and(z.union([z.object({ openapi: openApiSchema }), z.object({ href: hrefSchema })]));
export const tabsSchema = z.array(tabSchema).describe('Organizing by tabs');
import { z } from 'zod';
export declare const versionSchema: z.ZodType;
export declare const nonRecursiveVersionSchema: z.ZodIntersection<z.ZodObject<{
version: z.ZodString;
hidden: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
version: string;
hidden?: boolean | undefined;
}, {
version: string;
hidden?: boolean | undefined;
}>, z.ZodUnion<[z.ZodObject<{
openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
}, "strip", z.ZodTypeAny, {
openapi: (string | string[]) & (string | string[] | undefined);
}, {
openapi: (string | string[]) & (string | string[] | undefined);
}>, z.ZodObject<{
href: z.ZodString;
}, "strip", z.ZodTypeAny, {
href: string;
}, {
href: string;
}>]>>;
export declare const versionsSchema: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;

@@ -11,8 +11,7 @@ import { z } from 'zod';

import { tabsSchema } from './tabs.js';
const versionSchema = z
.object({
const baseVersionSchema = z.object({
version: z.string().nonempty().describe('The name of the version'),
hidden: hiddenSchema.optional(),
})
.and(z.union([
});
export const versionSchema = baseVersionSchema.and(z.union([
z.object({ openapi: openApiSchema }),

@@ -27,2 +26,3 @@ z.object({ href: hrefSchema }),

]));
export const nonRecursiveVersionSchema = baseVersionSchema.and(z.union([z.object({ openapi: openApiSchema }), z.object({ href: hrefSchema })]));
export const versionsSchema = z.array(versionSchema).describe('Organizing by versions');

@@ -190,3 +190,3 @@ export declare const standardConfigSchema: {

}>>;
navigation: import("zod").ZodUnion<[import("zod").ZodObject<{
navigation: import("zod").ZodIntersection<import("zod").ZodUnion<[import("zod").ZodObject<{
languages: import("zod").ZodArray<import("zod").ZodIntersection<import("zod").ZodObject<{

@@ -484,3 +484,420 @@ language: import("zod").ZodEnum<["en", "cn", "es", "fr", "jp", "pt", "pt-BR", "de"]>;

pages: any[];
}>]>;
}>]>, import("zod").ZodOptional<import("zod").ZodObject<{
global: import("zod").ZodObject<{
languages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodIntersection<import("zod").ZodObject<{
language: import("zod").ZodEnum<["en", "cn", "es", "fr", "jp", "pt", "pt-BR", "de"]>;
hidden: import("zod").ZodOptional<import("zod").ZodBoolean>;
}, "strip", import("zod").ZodTypeAny, {
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
hidden?: boolean | undefined;
}, {
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
hidden?: boolean | undefined;
}>, import("zod").ZodUnion<[import("zod").ZodObject<{
openapi: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">]>;
}, "strip", import("zod").ZodTypeAny, {
openapi: (string | string[]) & (string | string[] | undefined);
}, {
openapi: (string | string[]) & (string | string[] | undefined);
}>, import("zod").ZodObject<{
href: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
href: string;
}, {
href: string;
}>]>>, "many">>;
versions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodIntersection<import("zod").ZodObject<{
version: import("zod").ZodString;
hidden: import("zod").ZodOptional<import("zod").ZodBoolean>;
}, "strip", import("zod").ZodTypeAny, {
version: string;
hidden?: boolean | undefined;
}, {
version: string;
hidden?: boolean | undefined;
}>, import("zod").ZodUnion<[import("zod").ZodObject<{
openapi: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">]>;
}, "strip", import("zod").ZodTypeAny, {
openapi: (string | string[]) & (string | string[] | undefined);
}, {
openapi: (string | string[]) & (string | string[] | undefined);
}>, import("zod").ZodObject<{
href: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
href: string;
}, {
href: string;
}>]>>, "many">>;
tabs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodIntersection<import("zod").ZodObject<{
tab: import("zod").ZodString;
icon: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodObject<{
style: import("zod").ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>;
name: import("zod").ZodEffects<import("zod").ZodString, string, string>;
}, "strip", import("zod").ZodTypeAny, {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
}, {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
}>]>>;
hidden: import("zod").ZodOptional<import("zod").ZodBoolean>;
}, "strip", import("zod").ZodTypeAny, {
tab: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
}, {
tab: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
}>, import("zod").ZodUnion<[import("zod").ZodObject<{
openapi: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">]>;
}, "strip", import("zod").ZodTypeAny, {
openapi: (string | string[]) & (string | string[] | undefined);
}, {
openapi: (string | string[]) & (string | string[] | undefined);
}>, import("zod").ZodObject<{
href: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
href: string;
}, {
href: string;
}>]>>, "many">>;
dropdowns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodIntersection<import("zod").ZodObject<{
dropdown: import("zod").ZodString;
icon: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodObject<{
style: import("zod").ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>;
name: import("zod").ZodEffects<import("zod").ZodString, string, string>;
}, "strip", import("zod").ZodTypeAny, {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
}, {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
}>]>>;
hidden: import("zod").ZodOptional<import("zod").ZodBoolean>;
}, "strip", import("zod").ZodTypeAny, {
dropdown: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
}, {
dropdown: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
}>, import("zod").ZodUnion<[import("zod").ZodObject<{
openapi: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">]>;
}, "strip", import("zod").ZodTypeAny, {
openapi: (string | string[]) & (string | string[] | undefined);
}, {
openapi: (string | string[]) & (string | string[] | undefined);
}>, import("zod").ZodObject<{
href: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
href: string;
}, {
href: string;
}>]>>, "many">>;
anchors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodIntersection<import("zod").ZodObject<{
anchor: import("zod").ZodString;
icon: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodObject<{
style: import("zod").ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>;
name: import("zod").ZodEffects<import("zod").ZodString, string, string>;
}, "strip", import("zod").ZodTypeAny, {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
}, {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
}>]>>;
color: import("zod").ZodOptional<import("zod").ZodObject<{
light: import("zod").ZodString;
dark: import("zod").ZodString;
}, "strict", import("zod").ZodTypeAny, {
light: string;
dark: string;
}, {
light: string;
dark: string;
}>>;
hidden: import("zod").ZodOptional<import("zod").ZodBoolean>;
}, "strip", import("zod").ZodTypeAny, {
anchor: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
color?: {
light: string;
dark: string;
} | undefined;
hidden?: boolean | undefined;
}, {
anchor: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
color?: {
light: string;
dark: string;
} | undefined;
hidden?: boolean | undefined;
}>, import("zod").ZodUnion<[import("zod").ZodObject<{
openapi: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">]>;
}, "strip", import("zod").ZodTypeAny, {
openapi: (string | string[]) & (string | string[] | undefined);
}, {
openapi: (string | string[]) & (string | string[] | undefined);
}>, import("zod").ZodObject<{
href: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
href: string;
}, {
href: string;
}>]>>, "many">>;
}, "strict", import("zod").ZodTypeAny, {
languages?: ({
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
versions?: ({
version: string;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
tabs?: ({
tab: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
dropdowns?: ({
dropdown: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
anchors?: ({
anchor: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
color?: {
light: string;
dark: string;
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
}, {
languages?: ({
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
versions?: ({
version: string;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
tabs?: ({
tab: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
dropdowns?: ({
dropdown: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
anchors?: ({
anchor: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
color?: {
light: string;
dark: string;
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
}>;
}, "strip", import("zod").ZodTypeAny, {
global: {
languages?: ({
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
versions?: ({
version: string;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
tabs?: ({
tab: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
dropdowns?: ({
dropdown: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
anchors?: ({
anchor: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
color?: {
light: string;
dark: string;
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
};
}, {
global: {
languages?: ({
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
versions?: ({
version: string;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
tabs?: ({
tab: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
dropdowns?: ({
dropdown: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
anchors?: ({
anchor: string;
icon?: string | {
name: string;
style: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin";
} | undefined;
color?: {
light: string;
dark: string;
} | undefined;
hidden?: boolean | undefined;
} & ({
openapi: (string | string[]) & (string | string[] | undefined);
} | {
href: string;
}))[] | undefined;
};
}>>>;
footer: import("zod").ZodOptional<import("zod").ZodObject<{

@@ -487,0 +904,0 @@ socials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodEnum<["x", "website", "facebook", "youtube", "discord", "slack", "github", "linkedin", "instagram", "hacker-news", "medium", "telegram", "twitter"]>, import("zod").ZodString>>;

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

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

},
"gitHead": "7e6b4dcbb2a5b66dc6e2a6e974e7dcd3a8ff2920"
"gitHead": "f790846af7c594f50dc4ef0208b0be9dc2820d33"
}

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

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