@mintlify/validation
Advanced tools
Comparing version 0.1.120 to 0.1.121
@@ -288,8 +288,11 @@ import { z } from 'zod'; | ||
url: z.ZodString; | ||
version: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
url: string; | ||
version?: string | undefined; | ||
}, { | ||
name: string; | ||
url: string; | ||
version?: string | undefined; | ||
}>, "many">>; | ||
@@ -625,2 +628,3 @@ footerSocials: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{ | ||
url: string; | ||
version?: string | undefined; | ||
}[] | undefined; | ||
@@ -786,2 +790,3 @@ footerSocials?: { | ||
url: string; | ||
version?: string | undefined; | ||
}[] | undefined; | ||
@@ -788,0 +793,0 @@ footerSocials?: { |
@@ -5,8 +5,11 @@ import { z } from 'zod'; | ||
url: z.ZodString; | ||
version: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
name: string; | ||
url: string; | ||
version?: string | undefined; | ||
}, { | ||
name: string; | ||
url: string; | ||
version?: string | undefined; | ||
}>, "many">; | ||
@@ -13,0 +16,0 @@ export declare const primaryTabSchema: z.ZodObject<{ |
@@ -17,2 +17,7 @@ import { z } from 'zod'; | ||
.min(1, 'Tab URL is missing.'), | ||
version: z | ||
.string({ | ||
invalid_type_error: 'Version must be a string in the versions array.', | ||
}) | ||
.optional(), | ||
}); | ||
@@ -19,0 +24,0 @@ export const tabsSchema = tabSchema.array(); |
{ | ||
"name": "@mintlify/validation", | ||
"version": "0.1.120", | ||
"version": "0.1.121", | ||
"description": "Validates mint.json files", | ||
@@ -39,3 +39,3 @@ "author": "Mintlify, Inc.", | ||
"dependencies": { | ||
"@mintlify/models": "0.0.65", | ||
"@mintlify/models": "0.0.66", | ||
"lcm": "^0.0.3", | ||
@@ -73,3 +73,3 @@ "lodash": "^4.17.21", | ||
}, | ||
"gitHead": "a891547762ca8a8e3733751f8fb2a08c92572feb" | ||
"gitHead": "285a016d20164e2b115b8f064bb587a7bac692e2" | ||
} |
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
215250
3960
+ Added@mintlify/models@0.0.66(transitive)
- Removed@mintlify/models@0.0.65(transitive)
Updated@mintlify/models@0.0.66