@mintlify/validation
Advanced tools
Comparing version 0.1.313 to 0.1.314
@@ -13,2 +13,12 @@ import { z } from 'zod'; | ||
}>]>>; | ||
asyncapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{ | ||
source: z.ZodEffects<z.ZodString, string, string>; | ||
directory: z.ZodOptional<z.ZodString>; | ||
}, "strict", z.ZodTypeAny, { | ||
source: string; | ||
directory?: string | undefined; | ||
}, { | ||
source: string; | ||
directory?: string | undefined; | ||
}>]>>; | ||
playground: z.ZodOptional<z.ZodObject<{ | ||
@@ -61,2 +71,6 @@ display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none"]>>; | ||
} | undefined; | ||
asyncapi?: string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
} | undefined; | ||
playground?: { | ||
@@ -81,2 +95,6 @@ display?: "simple" | "none" | "interactive" | undefined; | ||
} | undefined; | ||
asyncapi?: string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
} | undefined; | ||
playground?: { | ||
@@ -83,0 +101,0 @@ display?: "simple" | "none" | "interactive" | undefined; |
import { z } from 'zod'; | ||
import { asyncApiSchema } from './reusable/asyncapi.js'; | ||
import { openApiSchema } from './reusable/openapi.js'; | ||
@@ -6,2 +7,3 @@ export const apiSchema = z | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
playground: z | ||
@@ -8,0 +10,0 @@ .object({ |
import { z } from 'zod'; | ||
import { asyncApiSchema } from '../reusable/asyncapi.js'; | ||
import { colorSchemaWithOptionalLightAndDark } from '../reusable/color.js'; | ||
@@ -25,2 +26,3 @@ import { hiddenSchema } from '../reusable/hidden.js'; | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema.optional()), | ||
@@ -31,2 +33,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -37,2 +40,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -43,2 +47,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -49,2 +54,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -55,2 +61,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -61,6 +68,8 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
}), | ||
baseAnchorSchema.extend({ | ||
openapi: openApiSchema, | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -67,0 +76,0 @@ }), |
@@ -11,3 +11,3 @@ import { z } from 'zod'; | ||
type NavigationType = 'default' | 'decorated'; | ||
declare const OpenApiSchema: z.ZodObject<{ | ||
declare const SomeApiSchema: z.ZodObject<{ | ||
openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{ | ||
@@ -23,2 +23,12 @@ source: z.ZodEffects<z.ZodString, string, string>; | ||
}>]>>; | ||
asyncapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{ | ||
source: z.ZodEffects<z.ZodString, string, string>; | ||
directory: z.ZodOptional<z.ZodString>; | ||
}, "strict", z.ZodTypeAny, { | ||
source: string; | ||
directory?: string | undefined; | ||
}, { | ||
source: string; | ||
directory?: string | undefined; | ||
}>]>>; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -29,2 +39,6 @@ openapi?: string | string[] | { | ||
} | undefined; | ||
asyncapi?: string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
} | undefined; | ||
}, { | ||
@@ -35,4 +49,8 @@ openapi?: string | string[] | { | ||
} | undefined; | ||
asyncapi?: string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
} | undefined; | ||
}>; | ||
type OtherConfigs<T extends NavigationType> = T extends 'default' ? z.infer<typeof OpenApiSchema> & { | ||
type OtherConfigs<T extends NavigationType> = T extends 'default' ? z.infer<typeof SomeApiSchema> & { | ||
global?: GlobalNavigation; | ||
@@ -39,0 +57,0 @@ } : { |
import { z } from 'zod'; | ||
import { asyncApiSchema } from '../reusable/asyncapi.js'; | ||
import { openApiSchema } from '../reusable/openapi.js'; | ||
const OpenApiSchema = z.object({ | ||
const SomeApiSchema = z.object({ | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
}); |
import { z } from 'zod'; | ||
import { asyncApiSchema } from '../reusable/asyncapi.js'; | ||
import { colorSchemaWithOptionalLightAndDark } from '../reusable/color.js'; | ||
@@ -26,2 +27,3 @@ import { hiddenSchema } from '../reusable/hidden.js'; | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -32,2 +34,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -38,2 +41,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -44,2 +48,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -50,2 +55,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -56,2 +62,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -62,6 +69,8 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
}), | ||
baseDropdownSchema.extend({ | ||
openapi: openApiSchema, | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -68,0 +77,0 @@ }), |
@@ -101,2 +101,56 @@ import { z } from 'zod'; | ||
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>; | ||
asyncapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{ | ||
source: z.ZodEffects<z.ZodString, string, string>; | ||
directory: z.ZodOptional<z.ZodString>; | ||
}, "strict", z.ZodTypeAny, { | ||
source: string; | ||
directory?: string | undefined; | ||
}, { | ||
source: string; | ||
directory?: string | undefined; | ||
}>]>; | ||
}, "strip", z.ZodTypeAny, { | ||
group: string; | ||
asyncapi: (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
}) & (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
} | undefined); | ||
icon?: string | { | ||
name: string; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
root?: string | undefined; | ||
}, { | ||
group: string; | ||
asyncapi: (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
}) & (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
} | undefined); | ||
icon?: string | { | ||
name: string; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
root?: string | undefined; | ||
}>, z.ZodObject<{ | ||
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ | ||
style: z.ZodOptional<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" | undefined; | ||
}, { | ||
name: string; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
group: z.ZodString; | ||
hidden: z.ZodOptional<z.ZodBoolean>; | ||
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>; | ||
pages: z.ZodLazy<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>; | ||
@@ -224,2 +278,56 @@ }, "strip", z.ZodTypeAny, { | ||
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>; | ||
asyncapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{ | ||
source: z.ZodEffects<z.ZodString, string, string>; | ||
directory: z.ZodOptional<z.ZodString>; | ||
}, "strict", z.ZodTypeAny, { | ||
source: string; | ||
directory?: string | undefined; | ||
}, { | ||
source: string; | ||
directory?: string | undefined; | ||
}>]>; | ||
}, "strip", z.ZodTypeAny, { | ||
group: string; | ||
asyncapi: (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
}) & (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
} | undefined); | ||
icon?: string | { | ||
name: string; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
root?: string | undefined; | ||
}, { | ||
group: string; | ||
asyncapi: (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
}) & (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
} | undefined); | ||
icon?: string | { | ||
name: string; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
root?: string | undefined; | ||
}>, z.ZodObject<{ | ||
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ | ||
style: z.ZodOptional<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" | undefined; | ||
}, { | ||
name: string; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
group: z.ZodString; | ||
hidden: z.ZodOptional<z.ZodBoolean>; | ||
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>; | ||
pages: z.ZodLazy<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>; | ||
@@ -226,0 +334,0 @@ }, "strip", z.ZodTypeAny, { |
import { z } from 'zod'; | ||
import { asyncApiSchema } from '../reusable/asyncapi.js'; | ||
import { hiddenSchema } from '../reusable/hidden.js'; | ||
@@ -16,2 +17,3 @@ import { iconSchema } from '../reusable/icon.js'; | ||
baseGroupSchema.extend({ openapi: openApiSchema }), | ||
baseGroupSchema.extend({ asyncapi: asyncApiSchema }), | ||
baseGroupSchema.extend({ pages: z.lazy(() => pagesSchema) }), | ||
@@ -18,0 +20,0 @@ ]) |
@@ -123,2 +123,56 @@ import { z } from 'zod'; | ||
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>; | ||
asyncapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{ | ||
source: z.ZodEffects<z.ZodString, string, string>; | ||
directory: z.ZodOptional<z.ZodString>; | ||
}, "strict", z.ZodTypeAny, { | ||
source: string; | ||
directory?: string | undefined; | ||
}, { | ||
source: string; | ||
directory?: string | undefined; | ||
}>]>; | ||
}, "strip", z.ZodTypeAny, { | ||
group: string; | ||
asyncapi: (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
}) & (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
} | undefined); | ||
icon?: string | { | ||
name: string; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
root?: string | undefined; | ||
}, { | ||
group: string; | ||
asyncapi: (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
}) & (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
} | undefined); | ||
icon?: string | { | ||
name: string; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
root?: string | undefined; | ||
}>, z.ZodObject<{ | ||
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{ | ||
style: z.ZodOptional<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" | undefined; | ||
}, { | ||
name: string; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
group: z.ZodString; | ||
hidden: z.ZodOptional<z.ZodBoolean>; | ||
root: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>; | ||
pages: z.ZodLazy<z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">>; | ||
@@ -162,2 +216,17 @@ }, "strip", z.ZodTypeAny, { | ||
group: string; | ||
asyncapi: (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
}) & (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
} | undefined); | ||
icon?: string | { | ||
name: string; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
root?: string | undefined; | ||
} | { | ||
group: string; | ||
pages: any[]; | ||
@@ -190,2 +259,17 @@ icon?: string | { | ||
group: string; | ||
asyncapi: (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
}) & (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
} | undefined); | ||
icon?: string | { | ||
name: string; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
root?: string | undefined; | ||
} | { | ||
group: string; | ||
pages: any[]; | ||
@@ -192,0 +276,0 @@ icon?: string | { |
import { z } from 'zod'; | ||
import { locales } from '../localization.js'; | ||
import { asyncApiSchema } from '../reusable/asyncapi.js'; | ||
import { hiddenSchema } from '../reusable/hidden.js'; | ||
@@ -24,2 +25,3 @@ import { hrefSchema } from '../reusable/href.js'; | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -30,2 +32,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -36,2 +39,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -42,2 +46,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -48,2 +53,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -54,2 +60,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -60,6 +67,8 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
}), | ||
baseLanguageSchema.extend({ | ||
openapi: openApiSchema, | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -66,0 +75,0 @@ }), |
import { z } from 'zod'; | ||
import { asyncApiSchema } from '../reusable/asyncapi.js'; | ||
import { hiddenSchema } from '../reusable/hidden.js'; | ||
@@ -23,2 +24,3 @@ import { hrefSchema } from '../reusable/href.js'; | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -29,2 +31,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -35,2 +38,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -41,2 +45,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -47,2 +52,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -53,2 +59,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -59,5 +66,10 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
}), | ||
baseTabSchema.extend({ openapi: openApiSchema, global: z.lazy(() => globalSchema).optional() }), | ||
baseTabSchema.extend({ | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
}), | ||
]); | ||
@@ -64,0 +76,0 @@ export const decoratedTabSchema = baseTabSchema.and(z.union([ |
import { z } from 'zod'; | ||
import { asyncApiSchema } from '../reusable/asyncapi.js'; | ||
import { hiddenSchema } from '../reusable/hidden.js'; | ||
@@ -22,2 +23,3 @@ import { hrefSchema } from '../reusable/href.js'; | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -28,2 +30,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -34,2 +37,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -40,2 +44,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -46,2 +51,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -52,2 +58,3 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -58,6 +65,8 @@ }), | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
}), | ||
baseVersionSchema.extend({ | ||
openapi: openApiSchema, | ||
openapi: openApiSchema.optional(), | ||
asyncapi: asyncApiSchema.optional(), | ||
global: z.lazy(() => globalSchema).optional(), | ||
@@ -64,0 +73,0 @@ }), |
@@ -52,2 +52,12 @@ export declare const standardConfigSchema: { | ||
}>]>>; | ||
asyncapi: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">, import("zod").ZodObject<{ | ||
source: import("zod").ZodEffects<import("zod").ZodString, string, string>; | ||
directory: import("zod").ZodOptional<import("zod").ZodString>; | ||
}, "strict", import("zod").ZodTypeAny, { | ||
source: string; | ||
directory?: string | undefined; | ||
}, { | ||
source: string; | ||
directory?: string | undefined; | ||
}>]>>; | ||
playground: import("zod").ZodOptional<import("zod").ZodObject<{ | ||
@@ -100,2 +110,6 @@ display: import("zod").ZodOptional<import("zod").ZodEnum<["interactive", "simple", "none"]>>; | ||
} | undefined; | ||
asyncapi?: string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
} | undefined; | ||
playground?: { | ||
@@ -120,2 +134,6 @@ display?: "simple" | "none" | "interactive" | undefined; | ||
} | undefined; | ||
asyncapi?: string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
} | undefined; | ||
playground?: { | ||
@@ -364,2 +382,56 @@ display?: "simple" | "none" | "interactive" | undefined; | ||
root: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, string, string>>; | ||
asyncapi: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">, import("zod").ZodObject<{ | ||
source: import("zod").ZodEffects<import("zod").ZodString, string, string>; | ||
directory: import("zod").ZodOptional<import("zod").ZodString>; | ||
}, "strict", import("zod").ZodTypeAny, { | ||
source: string; | ||
directory?: string | undefined; | ||
}, { | ||
source: string; | ||
directory?: string | undefined; | ||
}>]>; | ||
}, "strip", import("zod").ZodTypeAny, { | ||
group: string; | ||
asyncapi: (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
}) & (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
} | undefined); | ||
icon?: string | { | ||
name: string; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
root?: string | undefined; | ||
}, { | ||
group: string; | ||
asyncapi: (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
}) & (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
} | undefined); | ||
icon?: string | { | ||
name: string; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
root?: string | undefined; | ||
}>, import("zod").ZodObject<{ | ||
icon: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodObject<{ | ||
style: import("zod").ZodOptional<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" | undefined; | ||
}, { | ||
name: string; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
}>]>>; | ||
group: import("zod").ZodString; | ||
hidden: import("zod").ZodOptional<import("zod").ZodBoolean>; | ||
root: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, string, string>>; | ||
pages: import("zod").ZodLazy<import("zod").ZodArray<import("zod").ZodType<any, import("zod").ZodTypeDef, any>, "many">>; | ||
@@ -403,2 +475,17 @@ }, "strip", import("zod").ZodTypeAny, { | ||
group: string; | ||
asyncapi: (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
}) & (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
} | undefined); | ||
icon?: string | { | ||
name: string; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
root?: string | undefined; | ||
} | { | ||
group: string; | ||
pages: any[]; | ||
@@ -431,2 +518,17 @@ icon?: string | { | ||
group: string; | ||
asyncapi: (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
}) & (string | string[] | { | ||
source: string; | ||
directory?: string | undefined; | ||
} | undefined); | ||
icon?: string | { | ||
name: string; | ||
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined; | ||
} | undefined; | ||
hidden?: boolean | undefined; | ||
root?: string | undefined; | ||
} | { | ||
group: string; | ||
pages: any[]; | ||
@@ -433,0 +535,0 @@ icon?: string | { |
{ | ||
"name": "@mintlify/validation", | ||
"version": "0.1.313", | ||
"version": "0.1.314", | ||
"description": "Validates mint.json files", | ||
@@ -63,3 +63,3 @@ "author": "Mintlify, Inc.", | ||
}, | ||
"gitHead": "9d7c56f49b843753398603ea7534c40532e94198" | ||
"gitHead": "a7533912b9588aeb0d5ac0b728b347d0015ac54c" | ||
} |
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
1327336
217
30951