@mintlify/validation
Advanced tools
Comparing version 0.1.223 to 0.1.224
@@ -95,6 +95,9 @@ import { z } from 'zod'; | ||
domain: z.ZodEffects<z.ZodString, string, string>; | ||
server: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>; | ||
}, "strip", z.ZodTypeAny, { | ||
domain: string; | ||
server?: string | undefined; | ||
}, { | ||
domain: string; | ||
server?: string | undefined; | ||
}>>; | ||
@@ -149,2 +152,3 @@ segment: z.ZodOptional<z.ZodObject<{ | ||
domain: string; | ||
server?: string | undefined; | ||
} | undefined; | ||
@@ -195,2 +199,3 @@ segment?: { | ||
domain: string; | ||
server?: string | undefined; | ||
} | undefined; | ||
@@ -197,0 +202,0 @@ segment?: { |
@@ -40,3 +40,7 @@ import { z } from 'zod'; | ||
.string() | ||
.refine((domain) => !domain.startsWith('http://') && !domain.startsWith('https://'), 'Must not start with http:// or https://'), | ||
.refine((domain) => !domain.startsWith('https://'), 'Must not start with https://'), | ||
server: z | ||
.string() | ||
.refine((server) => !server.startsWith('https://'), 'Must not start with https://') | ||
.optional(), | ||
}); | ||
@@ -43,0 +47,0 @@ const heapConfigInterfaceSchema = z.object({ |
@@ -667,6 +667,9 @@ import { z } from 'zod'; | ||
domain: z.ZodEffects<z.ZodString, string, string>; | ||
server: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>; | ||
}, "strip", z.ZodTypeAny, { | ||
domain: string; | ||
server?: string | undefined; | ||
}, { | ||
domain: string; | ||
server?: string | undefined; | ||
}>>; | ||
@@ -721,2 +724,3 @@ segment: z.ZodOptional<z.ZodObject<{ | ||
domain: string; | ||
server?: string | undefined; | ||
} | undefined; | ||
@@ -767,2 +771,3 @@ segment?: { | ||
domain: string; | ||
server?: string | undefined; | ||
} | undefined; | ||
@@ -1040,2 +1045,3 @@ segment?: { | ||
domain: string; | ||
server?: string | undefined; | ||
} | undefined; | ||
@@ -1273,2 +1279,3 @@ segment?: { | ||
domain: string; | ||
server?: string | undefined; | ||
} | undefined; | ||
@@ -1275,0 +1282,0 @@ segment?: { |
@@ -207,2 +207,3 @@ import { z } from 'zod'; | ||
domain: string; | ||
server?: string | undefined; | ||
} | undefined; | ||
@@ -443,2 +444,3 @@ segment?: { | ||
domain: string; | ||
server?: string | undefined; | ||
} | undefined; | ||
@@ -445,0 +447,0 @@ segment?: { |
{ | ||
"name": "@mintlify/validation", | ||
"version": "0.1.223", | ||
"version": "0.1.224", | ||
"description": "Validates mint.json files", | ||
@@ -38,3 +38,3 @@ "author": "Mintlify, Inc.", | ||
"dependencies": { | ||
"@mintlify/models": "0.0.150", | ||
"@mintlify/models": "0.0.151", | ||
"is-absolute-url": "^4.0.1", | ||
@@ -67,3 +67,3 @@ "lcm": "^0.0.3", | ||
}, | ||
"gitHead": "031c9f10a6db0931c74afe4da607e46fa81c3b59" | ||
"gitHead": "de1454f02de928e32cc342c4b0e77a23011cd85b" | ||
} |
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
284173
5416
+ Added@mintlify/models@0.0.151(transitive)
- Removed@mintlify/models@0.0.150(transitive)
Updated@mintlify/models@0.0.151