@mintlify/validation 0.1.786 → 0.1.788

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.
@@ -1,8 +1,7 @@
1
+ import { contextualDisplayOptions, contextualOptions } from '@mintlify/models';
1
2
  import { z } from 'zod';
2
- export declare const contextualOptions: readonly ["copy", "assistant", "view", "download-pdf", "download-spec", "chatgpt", "claude", "perplexity", "grok", "aistudio", "devin", "windsurf", "mcp", "add-mcp", "cursor", "vscode", "devin-mcp"];
3
- export type ContextualOption = (typeof contextualOptions)[number];
4
- export declare const contextualDisplayOptions: readonly ["header", "toc"];
5
- export type ContextualDisplayOption = (typeof contextualDisplayOptions)[number];
3
+ export { contextualDisplayOptions, contextualOptions };
4
+ export type { ContextualDisplayOption, ContextualOption } from '@mintlify/models';
6
5
  export declare const contextualHrefPresetValues: readonly ["$page", "$path", "$mcp"];
7
6
  export type ContextualHrefPresetValue = (typeof contextualHrefPresetValues)[number];
8
7
  export declare const DetailedContextualHrefSchema: z.ZodObject<{
@@ -174,7 +173,7 @@ export declare const contextualSchema: z.ZodObject<{
174
173
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
175
174
  library?: "fontawesome" | "lucide" | "tabler" | undefined;
176
175
  } | undefined;
177
- }>]>, "many">, ("copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp" | {
176
+ }>]>, "many">, ({
178
177
  href: string | {
179
178
  base: string;
180
179
  query?: {
@@ -189,7 +188,7 @@ export declare const contextualSchema: z.ZodObject<{
189
188
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
190
189
  library?: "fontawesome" | "lucide" | "tabler" | undefined;
191
190
  } | undefined;
192
- })[], ("copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp" | {
191
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[], ({
193
192
  href: string | {
194
193
  base: string;
195
194
  query?: {
@@ -204,10 +203,10 @@ export declare const contextualSchema: z.ZodObject<{
204
203
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
205
204
  library?: "fontawesome" | "lucide" | "tabler" | undefined;
206
205
  } | undefined;
207
- })[]>;
206
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[]>;
208
207
  display: z.ZodDefault<z.ZodOptional<z.ZodEnum<["header", "toc"]>>>;
209
208
  }, "strip", z.ZodTypeAny, {
210
- options: ("copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp" | {
209
+ options: ({
211
210
  href: string | {
212
211
  base: string;
213
212
  query?: {
@@ -222,10 +221,10 @@ export declare const contextualSchema: z.ZodObject<{
222
221
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
223
222
  library?: "fontawesome" | "lucide" | "tabler" | undefined;
224
223
  } | undefined;
225
- })[];
224
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[];
226
225
  display: "header" | "toc";
227
226
  }, {
228
- options: ("copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp" | {
227
+ options: ({
229
228
  href: string | {
230
229
  base: string;
231
230
  query?: {
@@ -240,7 +239,7 @@ export declare const contextualSchema: z.ZodObject<{
240
239
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
241
240
  library?: "fontawesome" | "lucide" | "tabler" | undefined;
242
241
  } | undefined;
243
- })[];
242
+ } | "copy" | "assistant" | "view" | "download-pdf" | "download-spec" | "chatgpt" | "claude" | "perplexity" | "grok" | "aistudio" | "devin" | "windsurf" | "mcp" | "add-mcp" | "cursor" | "vscode" | "devin-mcp")[];
244
243
  display?: "header" | "toc" | undefined;
245
244
  }>;
246
245
  export type CustomContextualOption = z.infer<typeof customContextualOption>;
@@ -1,25 +1,7 @@
1
+ import { contextualDisplayOptions, contextualOptions } from '@mintlify/models';
1
2
  import { z } from 'zod';
2
3
  import { iconSchema } from './reusable/icon.js';
3
- export const contextualOptions = [
4
- 'copy',
5
- 'assistant',
6
- 'view',
7
- 'download-pdf',
8
- 'download-spec',
9
- 'chatgpt',
10
- 'claude',
11
- 'perplexity',
12
- 'grok',
13
- 'aistudio',
14
- 'devin',
15
- 'windsurf',
16
- 'mcp',
17
- 'add-mcp',
18
- 'cursor',
19
- 'vscode',
20
- 'devin-mcp',
21
- ];
22
- export const contextualDisplayOptions = ['header', 'toc'];
4
+ export { contextualDisplayOptions, contextualOptions };
23
5
  export const contextualHrefPresetValues = ['$page', '$path', '$mcp'];
24
6
  export const DetailedContextualHrefSchema = z.object({
25
7
  base: z.string(),