@mintlify/validation
Advanced tools
Comparing version 0.1.130 to 0.1.131
@@ -508,8 +508,11 @@ import { z } from 'zod'; | ||
frontchat: z.ZodOptional<z.ZodString>; | ||
osano: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
intercom?: string | undefined; | ||
frontchat?: string | undefined; | ||
osano?: string | undefined; | ||
}, { | ||
intercom?: string | undefined; | ||
frontchat?: string | undefined; | ||
osano?: string | undefined; | ||
}>>; | ||
@@ -699,2 +702,3 @@ isWhiteLabeled: z.ZodOptional<z.ZodBoolean>; | ||
frontchat?: string | undefined; | ||
osano?: string | undefined; | ||
} | undefined; | ||
@@ -864,2 +868,3 @@ isWhiteLabeled?: boolean | undefined; | ||
frontchat?: string | undefined; | ||
osano?: string | undefined; | ||
} | undefined; | ||
@@ -866,0 +871,0 @@ isWhiteLabeled?: boolean | undefined; |
@@ -5,8 +5,11 @@ import { z } from 'zod'; | ||
frontchat: z.ZodOptional<z.ZodString>; | ||
osano: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
intercom?: string | undefined; | ||
frontchat?: string | undefined; | ||
osano?: string | undefined; | ||
}, { | ||
intercom?: string | undefined; | ||
frontchat?: string | undefined; | ||
osano?: string | undefined; | ||
}>; |
import { z } from 'zod'; | ||
const intercomSchema = z.string().min(6, 'Must be a valid Intercom app ID'); | ||
const frontchatSchema = z.string().min(6, 'Must be a valid Front chat snippet id'); | ||
const osanoSchema = z | ||
.string() | ||
.startsWith('https://cmp.osano.com/', 'A valid Osano sript source must start with https://cmp.osano.com/') | ||
.endsWith('/osano.js', 'A valid Osano sript source must end with /osano.js'); | ||
export const integrationsSchema = z.object({ | ||
intercom: intercomSchema.optional(), | ||
frontchat: frontchatSchema.optional(), | ||
osano: osanoSchema.optional(), | ||
}); |
@@ -154,2 +154,3 @@ import { z } from 'zod'; | ||
frontchat?: string | undefined; | ||
osano?: string | undefined; | ||
} | undefined; | ||
@@ -322,2 +323,3 @@ isWhiteLabeled?: boolean | undefined; | ||
frontchat?: string | undefined; | ||
osano?: string | undefined; | ||
} | undefined; | ||
@@ -324,0 +326,0 @@ isWhiteLabeled?: boolean | undefined; |
{ | ||
"name": "@mintlify/validation", | ||
"version": "0.1.130", | ||
"version": "0.1.131", | ||
"description": "Validates mint.json files", | ||
@@ -39,3 +39,3 @@ "author": "Mintlify, Inc.", | ||
"dependencies": { | ||
"@mintlify/models": "0.0.73", | ||
"@mintlify/models": "0.0.74", | ||
"lcm": "^0.0.3", | ||
@@ -73,3 +73,3 @@ "lodash": "^4.17.21", | ||
}, | ||
"gitHead": "8cda7930376bc63900a8d3dd0b30ec3a003beae4" | ||
"gitHead": "28764f2a80a084cd907dd98f37d28afcbd0c6ddc" | ||
} |
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
198830
3670
+ Added@mintlify/models@0.0.74(transitive)
- Removed@mintlify/models@0.0.73(transitive)
Updated@mintlify/models@0.0.74