@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 +1 -1
- package/dist/chat-config/index.d.ts +3 -3
- package/dist/chat-config/index.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/mint-config/schemas/v2/index.d.ts +441 -56
- package/dist/mint-config/schemas/v2/properties/{font.d.ts → fonts/index.d.ts} +4 -4
- package/dist/mint-config/schemas/v2/properties/{font.js → fonts/index.js} +3 -4
- package/dist/mint-config/schemas/v2/properties/fonts/source.d.ts +2 -0
- package/dist/mint-config/schemas/v2/properties/fonts/source.js +32 -0
- package/dist/mint-config/schemas/v2/properties/index.d.ts +1 -1
- package/dist/mint-config/schemas/v2/properties/index.js +1 -1
- package/dist/mint-config/schemas/v2/properties/styling.d.ts +44 -3
- package/dist/mint-config/schemas/v2/properties/styling.js +14 -3
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +63 -8
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +63 -8
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +63 -8
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +63 -8
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +63 -8
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +63 -8
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +47 -6
- package/dist/mint-config/schemas/v2/themes/reusable/index.js +1 -1
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +63 -8
- package/dist/mint-config/validateConfig.d.ts +112 -14
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -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/
|
|
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?: {
|