@mintlify/validation 0.1.470 → 0.1.472

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # Installation
6
6
 
7
- ```
7
+ ```bash
8
8
  npm install @mintlify/validation
9
9
  ```
10
10
 
@@ -80,7 +80,7 @@ export declare const chatConfigSchema: z.ZodObject<{
80
80
  fonts: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodObject<{
81
81
  family: z.ZodString;
82
82
  weight: z.ZodOptional<z.ZodNumber>;
83
- source: z.ZodOptional<z.ZodString>;
83
+ source: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
84
84
  format: z.ZodOptional<z.ZodEnum<["woff", "woff2"]>>;
85
85
  }, "strip", z.ZodTypeAny, {
86
86
  family: string;
@@ -106,7 +106,7 @@ export declare const chatConfigSchema: z.ZodObject<{
106
106
  heading: z.ZodOptional<z.ZodEffects<z.ZodObject<{
107
107
  family: z.ZodString;
108
108
  weight: z.ZodOptional<z.ZodNumber>;
109
- source: z.ZodOptional<z.ZodString>;
109
+ source: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
110
110
  format: z.ZodOptional<z.ZodEnum<["woff", "woff2"]>>;
111
111
  }, "strip", z.ZodTypeAny, {
112
112
  family: string;
@@ -132,7 +132,7 @@ export declare const chatConfigSchema: z.ZodObject<{
132
132
  body: z.ZodOptional<z.ZodEffects<z.ZodObject<{
133
133
  family: z.ZodString;
134
134
  weight: z.ZodOptional<z.ZodNumber>;
135
- source: z.ZodOptional<z.ZodString>;
135
+ source: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
136
136
  format: z.ZodOptional<z.ZodEnum<["woff", "woff2"]>>;
137
137
  }, "strip", z.ZodTypeAny, {
138
138
  family: string;
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  import { appearanceSchema } from '../mint-config/schemas/v2/properties/appearance.js';
3
3
  import { colorsSchema } from '../mint-config/schemas/v2/properties/colors.js';
4
4
  import { faviconSchema } from '../mint-config/schemas/v2/properties/favicon.js';
5
- import { fontsSchema } from '../mint-config/schemas/v2/properties/font.js';
5
+ import { fontsSchema } from '../mint-config/schemas/v2/properties/fonts/index.js';
6
6
  import { logoSchema } from '../mint-config/schemas/v2/properties/logo.js';
7
7
  import { nameSchema } from '../mint-config/schemas/v2/properties/name.js';
8
8
  import { footerSchema } from './footer.js';
package/dist/index.d.ts CHANGED
@@ -15,6 +15,7 @@ export declare const mintConfigJsonSchema: import("zod-to-json-schema/src/parseD
15
15
  [key: string]: import("zod-to-json-schema/src/parseDef.js").JsonSchema7Type;
16
16
  } | undefined;
17
17
  };
18
+ export type { CodeStyling } from './mint-config/schemas/v2/index.js';
18
19
  export declare const docsConfigJsonSchema: import("zod-to-json-schema/src/parseDef.js").JsonSchema7Type & {
19
20
  $schema?: string | undefined;
20
21
  definitions?: {