@mintlify/validation
Advanced tools
Comparing version 0.1.210 to 0.1.211
@@ -150,2 +150,3 @@ import { z } from 'zod'; | ||
default: z.ZodOptional<z.ZodLiteral<true>>; | ||
locale: z.ZodOptional<z.ZodEnum<["en", "cn", "es", "fr", "jp", "pt", "pt-BR"]>>; | ||
}, "strict", z.ZodTypeAny, { | ||
@@ -155,2 +156,3 @@ name: string; | ||
default?: true | undefined; | ||
locale?: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | undefined; | ||
}, { | ||
@@ -160,2 +162,3 @@ name: string; | ||
default?: true | undefined; | ||
locale?: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | undefined; | ||
}>]>, "many">, (string | { | ||
@@ -165,2 +168,3 @@ name: string; | ||
default?: true | undefined; | ||
locale?: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | undefined; | ||
})[], (string | { | ||
@@ -170,2 +174,3 @@ name: string; | ||
default?: true | undefined; | ||
locale?: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | undefined; | ||
})[]>>; | ||
@@ -899,2 +904,3 @@ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; | ||
default?: true | undefined; | ||
locale?: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | undefined; | ||
})[] | undefined; | ||
@@ -1131,2 +1137,3 @@ metadata?: Record<string, string> | undefined; | ||
default?: true | undefined; | ||
locale?: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | undefined; | ||
})[] | undefined; | ||
@@ -1133,0 +1140,0 @@ metadata?: Record<string, string> | undefined; |
@@ -6,2 +6,3 @@ import { z } from 'zod'; | ||
default: z.ZodOptional<z.ZodLiteral<true>>; | ||
locale: z.ZodOptional<z.ZodEnum<["en", "cn", "es", "fr", "jp", "pt", "pt-BR"]>>; | ||
}, "strict", z.ZodTypeAny, { | ||
@@ -11,2 +12,3 @@ name: string; | ||
default?: true | undefined; | ||
locale?: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | undefined; | ||
}, { | ||
@@ -16,2 +18,3 @@ name: string; | ||
default?: true | undefined; | ||
locale?: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | undefined; | ||
}>]>, "many">, (string | { | ||
@@ -21,2 +24,3 @@ name: string; | ||
default?: true | undefined; | ||
locale?: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | undefined; | ||
})[], (string | { | ||
@@ -26,2 +30,3 @@ name: string; | ||
default?: true | undefined; | ||
locale?: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | undefined; | ||
})[]>; |
@@ -0,1 +1,2 @@ | ||
import { locales } from '@mintlify/models'; | ||
import { z } from 'zod'; | ||
@@ -9,2 +10,3 @@ const versionSchema = z.union([ | ||
default: z.literal(true).optional(), | ||
locale: z.enum(locales).optional(), | ||
}) | ||
@@ -11,0 +13,0 @@ .strict(), |
@@ -69,2 +69,3 @@ import { z } from 'zod'; | ||
default?: true | undefined; | ||
locale?: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | undefined; | ||
})[] | undefined; | ||
@@ -304,2 +305,3 @@ metadata?: Record<string, string> | undefined; | ||
default?: true | undefined; | ||
locale?: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | undefined; | ||
})[] | undefined; | ||
@@ -306,0 +308,0 @@ metadata?: Record<string, string> | undefined; |
{ | ||
"name": "@mintlify/validation", | ||
"version": "0.1.210", | ||
"version": "0.1.211", | ||
"description": "Validates mint.json files", | ||
@@ -38,3 +38,3 @@ "author": "Mintlify, Inc.", | ||
"dependencies": { | ||
"@mintlify/models": "0.0.140", | ||
"@mintlify/models": "0.0.141", | ||
"lcm": "^0.0.3", | ||
@@ -66,3 +66,3 @@ "lodash": "^4.17.21", | ||
}, | ||
"gitHead": "071077078a7bc5df924da1c312d68d2dc2b28141" | ||
"gitHead": "63ab4b1e50918747428a4fda41a85f00f543301a" | ||
} |
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
281277
5360
+ Added@mintlify/models@0.0.141(transitive)
- Removed@mintlify/models@0.0.140(transitive)
Updated@mintlify/models@0.0.141