@mintlify/validation 0.1.586 → 0.1.587

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.
@@ -0,0 +1,4 @@
1
+ import { z } from 'zod';
2
+ import { standardConfigSchema } from './reusable/index.js';
3
+ import { themeSchema } from './themes.js';
4
+ export const sequoiaConfigSchema = z.object(Object.assign({ theme: z.literal(themeSchema.enum.sequoia) }, standardConfigSchema));
@@ -1,4 +1,4 @@
1
1
  import { z } from 'zod';
2
- export declare const themes: readonly ["mint", "maple", "palm", "willow", "linden", "almond", "aspen"];
3
- export declare const themeSchema: z.ZodEnum<["mint", "maple", "palm", "willow", "linden", "almond", "aspen"]>;
2
+ export declare const themes: readonly ["mint", "maple", "palm", "willow", "linden", "almond", "aspen", "sequoia"];
3
+ export declare const themeSchema: z.ZodEnum<["mint", "maple", "palm", "willow", "linden", "almond", "aspen", "sequoia"]>;
4
4
  export type ThemeType = z.infer<typeof themeSchema>;
@@ -1,3 +1,12 @@
1
1
  import { z } from 'zod';
2
- export const themes = ['mint', 'maple', 'palm', 'willow', 'linden', 'almond', 'aspen'];
2
+ export const themes = [
3
+ 'mint',
4
+ 'maple',
5
+ 'palm',
6
+ 'willow',
7
+ 'linden',
8
+ 'almond',
9
+ 'aspen',
10
+ 'sequoia',
11
+ ];
3
12
  export const themeSchema = z.enum(themes);
@@ -1314,7 +1314,7 @@ export declare const willowConfigSchema: z.ZodObject<{
1314
1314
  };
1315
1315
  }>>;
1316
1316
  contextual: z.ZodOptional<z.ZodObject<{
1317
- options: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["copy", "view", "chatgpt", "claude", "perplexity", "grok", "mcp", "cursor", "vscode"]>, z.ZodObject<{
1317
+ options: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["assistant", "copy", "view", "chatgpt", "claude", "perplexity", "grok", "mcp", "cursor", "vscode"]>, z.ZodObject<{
1318
1318
  title: z.ZodString;
1319
1319
  description: z.ZodString;
1320
1320
  icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
@@ -1385,7 +1385,7 @@ export declare const willowConfigSchema: z.ZodObject<{
1385
1385
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1386
1386
  library?: "fontawesome" | "lucide" | undefined;
1387
1387
  } | undefined;
1388
- }>]>, "many">, ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
1388
+ }>]>, "many">, ("assistant" | "copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
1389
1389
  href: string | {
1390
1390
  base: string;
1391
1391
  query?: {
@@ -1400,7 +1400,7 @@ export declare const willowConfigSchema: z.ZodObject<{
1400
1400
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1401
1401
  library?: "fontawesome" | "lucide" | undefined;
1402
1402
  } | undefined;
1403
- })[], ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
1403
+ })[], ("assistant" | "copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
1404
1404
  href: string | {
1405
1405
  base: string;
1406
1406
  query?: {
@@ -1416,8 +1416,9 @@ export declare const willowConfigSchema: z.ZodObject<{
1416
1416
  library?: "fontawesome" | "lucide" | undefined;
1417
1417
  } | undefined;
1418
1418
  })[]>;
1419
+ display: z.ZodDefault<z.ZodOptional<z.ZodEnum<["header", "toc"]>>>;
1419
1420
  }, "strip", z.ZodTypeAny, {
1420
- options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
1421
+ options: ("assistant" | "copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
1421
1422
  href: string | {
1422
1423
  base: string;
1423
1424
  query?: {
@@ -1433,8 +1434,9 @@ export declare const willowConfigSchema: z.ZodObject<{
1433
1434
  library?: "fontawesome" | "lucide" | undefined;
1434
1435
  } | undefined;
1435
1436
  })[];
1437
+ display: "header" | "toc";
1436
1438
  }, {
1437
- options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
1439
+ options: ("assistant" | "copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
1438
1440
  href: string | {
1439
1441
  base: string;
1440
1442
  query?: {
@@ -1450,6 +1452,7 @@ export declare const willowConfigSchema: z.ZodObject<{
1450
1452
  library?: "fontawesome" | "lucide" | undefined;
1451
1453
  } | undefined;
1452
1454
  })[];
1455
+ display?: "header" | "toc" | undefined;
1453
1456
  }>>;
1454
1457
  thumbnails: z.ZodOptional<z.ZodObject<{
1455
1458
  appearance: z.ZodOptional<z.ZodEnum<[import("../properties/thumbnails.js").ThumbnailAppearance.Light, import("../properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
@@ -1807,7 +1810,7 @@ export declare const willowConfigSchema: z.ZodObject<{
1807
1810
  };
1808
1811
  } | undefined;
1809
1812
  contextual?: {
1810
- options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
1813
+ options: ("assistant" | "copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
1811
1814
  href: string | {
1812
1815
  base: string;
1813
1816
  query?: {
@@ -1823,6 +1826,7 @@ export declare const willowConfigSchema: z.ZodObject<{
1823
1826
  library?: "fontawesome" | "lucide" | undefined;
1824
1827
  } | undefined;
1825
1828
  })[];
1829
+ display: "header" | "toc";
1826
1830
  } | undefined;
1827
1831
  thumbnails?: {
1828
1832
  background?: string | undefined;
@@ -2152,7 +2156,7 @@ export declare const willowConfigSchema: z.ZodObject<{
2152
2156
  };
2153
2157
  } | undefined;
2154
2158
  contextual?: {
2155
- options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
2159
+ options: ("assistant" | "copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
2156
2160
  href: string | {
2157
2161
  base: string;
2158
2162
  query?: {
@@ -2168,6 +2172,7 @@ export declare const willowConfigSchema: z.ZodObject<{
2168
2172
  library?: "fontawesome" | "lucide" | undefined;
2169
2173
  } | undefined;
2170
2174
  })[];
2175
+ display?: "header" | "toc" | undefined;
2171
2176
  } | undefined;
2172
2177
  thumbnails?: {
2173
2178
  background?: string | undefined;