@mintlify/validation 0.1.572 → 0.1.574

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,9 +1,10 @@
1
1
  import { footerSocialKeys } from '@mintlify/models';
2
2
  import { z } from 'zod';
3
- import { hrefSchema } from './reusable/href.js';
3
+ import { secureHrefSchema } from './reusable/href.js';
4
+ import { secureUrlSchema } from './reusable/safeUrl.js';
4
5
  export const footerLinkSchema = z.object({
5
6
  label: z.string().nonempty('Link must have a non-empty label').describe('The label of the link'),
6
- href: hrefSchema.describe('The url of the link'),
7
+ href: secureHrefSchema.describe('The url of the link'),
7
8
  });
8
9
  export const footerLinksColumnSchema = z.object({
9
10
  header: z
@@ -17,7 +18,7 @@ export const footerLinksColumnSchema = z.object({
17
18
  .describe('The links to be displayed in the column'),
18
19
  });
19
20
  export const footerSocialsSchema = z
20
- .record(z.enum(footerSocialKeys), z.string().url('Must be a valid URL'))
21
+ .record(z.enum(footerSocialKeys), secureUrlSchema.describe('Must be a valid URL'))
21
22
  .describe('An object in which each key is the name of a social media platform, and each value is the url to your profile. For example: { "x": "https://x.com/mintlify" }');
22
23
  export const footerSchema = z
23
24
  .object({
@@ -1,2 +1,8 @@
1
1
  import { z } from 'zod';
2
+ export declare function normalizeUrl(value: string): string;
2
3
  export declare const hrefSchema: z.ZodEffects<z.ZodString, string, string>;
4
+ /**
5
+ * Allows relative paths, mailto, and secure absolute URLs (https), while blocking
6
+ * dangerous file extensions.
7
+ */
8
+ export declare const secureHrefSchema: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -1,4 +1,42 @@
1
1
  import { z } from 'zod';
2
+ const ALLOWED_PROTOCOLS = ['https:'];
3
+ const DANGEROUS_FILE_EXTENSIONS = ['.svg', '.exe', '.zip'];
4
+ // Normalizes a URL by removing trailing slashes and anchor links
5
+ export function normalizeUrl(value) {
6
+ let normalized = value;
7
+ const hashIndex = normalized.indexOf('#');
8
+ if (hashIndex !== -1) {
9
+ normalized = normalized.substring(0, hashIndex);
10
+ }
11
+ try {
12
+ const url = new URL(normalized);
13
+ if (url.pathname !== '/' && url.pathname.endsWith('/')) {
14
+ url.pathname = url.pathname.replace(/\/+$/, '');
15
+ normalized = url.toString();
16
+ }
17
+ }
18
+ catch (_a) {
19
+ // Handle relative paths that can't be parsed by URL constructor
20
+ if (!normalized.startsWith('mailto:')) {
21
+ // Split on query parameter to handle paths with query strings
22
+ const queryIndex = normalized.indexOf('?');
23
+ if (queryIndex !== -1) {
24
+ const pathPart = normalized.substring(0, queryIndex);
25
+ const queryPart = normalized.substring(queryIndex);
26
+ // Remove trailing slashes from path part (but preserve single slash)
27
+ const normalizedPath = pathPart.length > 1 && pathPart.endsWith('/') ? pathPart.replace(/\/+$/, '') : pathPart;
28
+ normalized = normalizedPath + queryPart;
29
+ }
30
+ else {
31
+ // No query params, just check for trailing slash
32
+ if (normalized.length > 1 && normalized.endsWith('/')) {
33
+ normalized = normalized.replace(/\/+$/, '');
34
+ }
35
+ }
36
+ }
37
+ }
38
+ return normalized;
39
+ }
2
40
  export const hrefSchema = z
3
41
  .string()
4
42
  .refine((value) => {
@@ -18,3 +56,28 @@ export const hrefSchema = z
18
56
  }
19
57
  }, { message: 'Must be a valid URL or relative path' })
20
58
  .describe('A valid path or external link');
59
+ /**
60
+ * Allows relative paths, mailto, and secure absolute URLs (https), while blocking
61
+ * dangerous file extensions.
62
+ */
63
+ export const secureHrefSchema = z
64
+ .string()
65
+ .transform(normalizeUrl)
66
+ .refine((value) => {
67
+ if (value.startsWith('//'))
68
+ return false;
69
+ if (value.startsWith('/'))
70
+ return true;
71
+ if (value.startsWith('mailto:'))
72
+ return true;
73
+ try {
74
+ const url = new URL(value);
75
+ const isAllowedProtocol = ALLOWED_PROTOCOLS.includes(url.protocol);
76
+ const decodedPathname = decodeURIComponent(url.pathname).toLowerCase();
77
+ const isSafeExtension = !DANGEROUS_FILE_EXTENSIONS.some((ext) => decodedPathname.endsWith(ext));
78
+ return isAllowedProtocol && isSafeExtension;
79
+ }
80
+ catch (_a) {
81
+ return false;
82
+ }
83
+ }, { message: 'Must be a valid url or relative path.' });
@@ -0,0 +1,6 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Allows only safe absolute URLs (https), while blocking dangerous file extensions.
4
+ * Relative paths and mailto links are not allowed.
5
+ */
6
+ export declare const secureUrlSchema: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
@@ -0,0 +1,24 @@
1
+ import { z } from 'zod';
2
+ import { normalizeUrl } from './href.js';
3
+ const ALLOWED_PROTOCOLS = ['https:'];
4
+ const DANGEROUS_FILE_EXTENSIONS = ['.svg', '.exe', '.zip'];
5
+ /**
6
+ * Allows only safe absolute URLs (https), while blocking dangerous file extensions.
7
+ * Relative paths and mailto links are not allowed.
8
+ */
9
+ export const secureUrlSchema = z
10
+ .string()
11
+ .url()
12
+ .transform(normalizeUrl)
13
+ .refine((value) => {
14
+ try {
15
+ const url = new URL(value);
16
+ const isAllowedProtocol = ALLOWED_PROTOCOLS.includes(url.protocol);
17
+ const decodedPathname = decodeURIComponent(url.pathname).toLowerCase();
18
+ const isSafeExtension = !DANGEROUS_FILE_EXTENSIONS.some((ext) => decodedPathname.endsWith(ext));
19
+ return isAllowedProtocol && isSafeExtension;
20
+ }
21
+ catch (_a) {
22
+ return false;
23
+ }
24
+ }, { message: 'Must be a valid HTTPS URL.' });
@@ -69,13 +69,13 @@ export declare const almondConfigSchema: z.ZodObject<{
69
69
  expanded?: "all" | "closed" | undefined;
70
70
  }>>;
71
71
  playground: z.ZodOptional<z.ZodObject<{
72
- display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none"]>>;
72
+ display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none", "auth"]>>;
73
73
  proxy: z.ZodOptional<z.ZodBoolean>;
74
74
  }, "strip", z.ZodTypeAny, {
75
- display?: "simple" | "none" | "interactive" | undefined;
75
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
76
76
  proxy?: boolean | undefined;
77
77
  }, {
78
- display?: "simple" | "none" | "interactive" | undefined;
78
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
79
79
  proxy?: boolean | undefined;
80
80
  }>>;
81
81
  examples: z.ZodOptional<z.ZodObject<{
@@ -128,7 +128,7 @@ export declare const almondConfigSchema: z.ZodObject<{
128
128
  directory?: string | undefined;
129
129
  } | undefined;
130
130
  playground?: {
131
- display?: "simple" | "none" | "interactive" | undefined;
131
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
132
132
  proxy?: boolean | undefined;
133
133
  } | undefined;
134
134
  asyncapi?: string | string[] | {
@@ -157,7 +157,7 @@ export declare const almondConfigSchema: z.ZodObject<{
157
157
  directory?: string | undefined;
158
158
  } | undefined;
159
159
  playground?: {
160
- display?: "simple" | "none" | "interactive" | undefined;
160
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
161
161
  proxy?: boolean | undefined;
162
162
  } | undefined;
163
163
  asyncapi?: string | string[] | {
@@ -680,12 +680,12 @@ export declare const almondConfigSchema: z.ZodObject<{
680
680
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
681
681
  }>]>;
682
682
  footer: z.ZodOptional<z.ZodObject<{
683
- socials: z.ZodOptional<z.ZodRecord<z.ZodEnum<["x", "website", "facebook", "youtube", "discord", "slack", "github", "linkedin", "instagram", "hacker-news", "medium", "telegram", "twitter", "x-twitter", "earth-americas", "bluesky", "threads", "reddit", "podcast"]>, z.ZodString>>;
683
+ socials: z.ZodOptional<z.ZodRecord<z.ZodEnum<["x", "website", "facebook", "youtube", "discord", "slack", "github", "linkedin", "instagram", "hacker-news", "medium", "telegram", "twitter", "x-twitter", "earth-americas", "bluesky", "threads", "reddit", "podcast"]>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>>;
684
684
  links: z.ZodOptional<z.ZodArray<z.ZodObject<{
685
685
  header: z.ZodOptional<z.ZodString>;
686
686
  items: z.ZodArray<z.ZodObject<{
687
687
  label: z.ZodString;
688
- href: z.ZodEffects<z.ZodString, string, string>;
688
+ href: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
689
689
  }, "strip", z.ZodTypeAny, {
690
690
  href: string;
691
691
  label: string;
@@ -1564,7 +1564,7 @@ export declare const almondConfigSchema: z.ZodObject<{
1564
1564
  directory?: string | undefined;
1565
1565
  } | undefined;
1566
1566
  playground?: {
1567
- display?: "simple" | "none" | "interactive" | undefined;
1567
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
1568
1568
  proxy?: boolean | undefined;
1569
1569
  } | undefined;
1570
1570
  asyncapi?: string | string[] | {
@@ -1889,7 +1889,7 @@ export declare const almondConfigSchema: z.ZodObject<{
1889
1889
  directory?: string | undefined;
1890
1890
  } | undefined;
1891
1891
  playground?: {
1892
- display?: "simple" | "none" | "interactive" | undefined;
1892
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
1893
1893
  proxy?: boolean | undefined;
1894
1894
  } | undefined;
1895
1895
  asyncapi?: string | string[] | {
@@ -69,13 +69,13 @@ export declare const aspenConfigSchema: z.ZodObject<{
69
69
  expanded?: "all" | "closed" | undefined;
70
70
  }>>;
71
71
  playground: z.ZodOptional<z.ZodObject<{
72
- display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none"]>>;
72
+ display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none", "auth"]>>;
73
73
  proxy: z.ZodOptional<z.ZodBoolean>;
74
74
  }, "strip", z.ZodTypeAny, {
75
- display?: "simple" | "none" | "interactive" | undefined;
75
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
76
76
  proxy?: boolean | undefined;
77
77
  }, {
78
- display?: "simple" | "none" | "interactive" | undefined;
78
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
79
79
  proxy?: boolean | undefined;
80
80
  }>>;
81
81
  examples: z.ZodOptional<z.ZodObject<{
@@ -128,7 +128,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
128
128
  directory?: string | undefined;
129
129
  } | undefined;
130
130
  playground?: {
131
- display?: "simple" | "none" | "interactive" | undefined;
131
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
132
132
  proxy?: boolean | undefined;
133
133
  } | undefined;
134
134
  asyncapi?: string | string[] | {
@@ -157,7 +157,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
157
157
  directory?: string | undefined;
158
158
  } | undefined;
159
159
  playground?: {
160
- display?: "simple" | "none" | "interactive" | undefined;
160
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
161
161
  proxy?: boolean | undefined;
162
162
  } | undefined;
163
163
  asyncapi?: string | string[] | {
@@ -680,12 +680,12 @@ export declare const aspenConfigSchema: z.ZodObject<{
680
680
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
681
681
  }>]>;
682
682
  footer: z.ZodOptional<z.ZodObject<{
683
- socials: z.ZodOptional<z.ZodRecord<z.ZodEnum<["x", "website", "facebook", "youtube", "discord", "slack", "github", "linkedin", "instagram", "hacker-news", "medium", "telegram", "twitter", "x-twitter", "earth-americas", "bluesky", "threads", "reddit", "podcast"]>, z.ZodString>>;
683
+ socials: z.ZodOptional<z.ZodRecord<z.ZodEnum<["x", "website", "facebook", "youtube", "discord", "slack", "github", "linkedin", "instagram", "hacker-news", "medium", "telegram", "twitter", "x-twitter", "earth-americas", "bluesky", "threads", "reddit", "podcast"]>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>>;
684
684
  links: z.ZodOptional<z.ZodArray<z.ZodObject<{
685
685
  header: z.ZodOptional<z.ZodString>;
686
686
  items: z.ZodArray<z.ZodObject<{
687
687
  label: z.ZodString;
688
- href: z.ZodEffects<z.ZodString, string, string>;
688
+ href: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
689
689
  }, "strip", z.ZodTypeAny, {
690
690
  href: string;
691
691
  label: string;
@@ -1564,7 +1564,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
1564
1564
  directory?: string | undefined;
1565
1565
  } | undefined;
1566
1566
  playground?: {
1567
- display?: "simple" | "none" | "interactive" | undefined;
1567
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
1568
1568
  proxy?: boolean | undefined;
1569
1569
  } | undefined;
1570
1570
  asyncapi?: string | string[] | {
@@ -1889,7 +1889,7 @@ export declare const aspenConfigSchema: z.ZodObject<{
1889
1889
  directory?: string | undefined;
1890
1890
  } | undefined;
1891
1891
  playground?: {
1892
- display?: "simple" | "none" | "interactive" | undefined;
1892
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
1893
1893
  proxy?: boolean | undefined;
1894
1894
  } | undefined;
1895
1895
  asyncapi?: string | string[] | {
@@ -69,13 +69,13 @@ export declare const lindenConfigSchema: z.ZodObject<{
69
69
  expanded?: "all" | "closed" | undefined;
70
70
  }>>;
71
71
  playground: z.ZodOptional<z.ZodObject<{
72
- display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none"]>>;
72
+ display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none", "auth"]>>;
73
73
  proxy: z.ZodOptional<z.ZodBoolean>;
74
74
  }, "strip", z.ZodTypeAny, {
75
- display?: "simple" | "none" | "interactive" | undefined;
75
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
76
76
  proxy?: boolean | undefined;
77
77
  }, {
78
- display?: "simple" | "none" | "interactive" | undefined;
78
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
79
79
  proxy?: boolean | undefined;
80
80
  }>>;
81
81
  examples: z.ZodOptional<z.ZodObject<{
@@ -128,7 +128,7 @@ export declare const lindenConfigSchema: z.ZodObject<{
128
128
  directory?: string | undefined;
129
129
  } | undefined;
130
130
  playground?: {
131
- display?: "simple" | "none" | "interactive" | undefined;
131
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
132
132
  proxy?: boolean | undefined;
133
133
  } | undefined;
134
134
  asyncapi?: string | string[] | {
@@ -157,7 +157,7 @@ export declare const lindenConfigSchema: z.ZodObject<{
157
157
  directory?: string | undefined;
158
158
  } | undefined;
159
159
  playground?: {
160
- display?: "simple" | "none" | "interactive" | undefined;
160
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
161
161
  proxy?: boolean | undefined;
162
162
  } | undefined;
163
163
  asyncapi?: string | string[] | {
@@ -680,12 +680,12 @@ export declare const lindenConfigSchema: z.ZodObject<{
680
680
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
681
681
  }>]>;
682
682
  footer: z.ZodOptional<z.ZodObject<{
683
- socials: z.ZodOptional<z.ZodRecord<z.ZodEnum<["x", "website", "facebook", "youtube", "discord", "slack", "github", "linkedin", "instagram", "hacker-news", "medium", "telegram", "twitter", "x-twitter", "earth-americas", "bluesky", "threads", "reddit", "podcast"]>, z.ZodString>>;
683
+ socials: z.ZodOptional<z.ZodRecord<z.ZodEnum<["x", "website", "facebook", "youtube", "discord", "slack", "github", "linkedin", "instagram", "hacker-news", "medium", "telegram", "twitter", "x-twitter", "earth-americas", "bluesky", "threads", "reddit", "podcast"]>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>>;
684
684
  links: z.ZodOptional<z.ZodArray<z.ZodObject<{
685
685
  header: z.ZodOptional<z.ZodString>;
686
686
  items: z.ZodArray<z.ZodObject<{
687
687
  label: z.ZodString;
688
- href: z.ZodEffects<z.ZodString, string, string>;
688
+ href: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
689
689
  }, "strip", z.ZodTypeAny, {
690
690
  href: string;
691
691
  label: string;
@@ -1564,7 +1564,7 @@ export declare const lindenConfigSchema: z.ZodObject<{
1564
1564
  directory?: string | undefined;
1565
1565
  } | undefined;
1566
1566
  playground?: {
1567
- display?: "simple" | "none" | "interactive" | undefined;
1567
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
1568
1568
  proxy?: boolean | undefined;
1569
1569
  } | undefined;
1570
1570
  asyncapi?: string | string[] | {
@@ -1889,7 +1889,7 @@ export declare const lindenConfigSchema: z.ZodObject<{
1889
1889
  directory?: string | undefined;
1890
1890
  } | undefined;
1891
1891
  playground?: {
1892
- display?: "simple" | "none" | "interactive" | undefined;
1892
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
1893
1893
  proxy?: boolean | undefined;
1894
1894
  } | undefined;
1895
1895
  asyncapi?: string | string[] | {
@@ -69,13 +69,13 @@ export declare const mapleConfigSchema: z.ZodObject<{
69
69
  expanded?: "all" | "closed" | undefined;
70
70
  }>>;
71
71
  playground: z.ZodOptional<z.ZodObject<{
72
- display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none"]>>;
72
+ display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none", "auth"]>>;
73
73
  proxy: z.ZodOptional<z.ZodBoolean>;
74
74
  }, "strip", z.ZodTypeAny, {
75
- display?: "simple" | "none" | "interactive" | undefined;
75
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
76
76
  proxy?: boolean | undefined;
77
77
  }, {
78
- display?: "simple" | "none" | "interactive" | undefined;
78
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
79
79
  proxy?: boolean | undefined;
80
80
  }>>;
81
81
  examples: z.ZodOptional<z.ZodObject<{
@@ -128,7 +128,7 @@ export declare const mapleConfigSchema: z.ZodObject<{
128
128
  directory?: string | undefined;
129
129
  } | undefined;
130
130
  playground?: {
131
- display?: "simple" | "none" | "interactive" | undefined;
131
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
132
132
  proxy?: boolean | undefined;
133
133
  } | undefined;
134
134
  asyncapi?: string | string[] | {
@@ -157,7 +157,7 @@ export declare const mapleConfigSchema: z.ZodObject<{
157
157
  directory?: string | undefined;
158
158
  } | undefined;
159
159
  playground?: {
160
- display?: "simple" | "none" | "interactive" | undefined;
160
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
161
161
  proxy?: boolean | undefined;
162
162
  } | undefined;
163
163
  asyncapi?: string | string[] | {
@@ -680,12 +680,12 @@ export declare const mapleConfigSchema: z.ZodObject<{
680
680
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
681
681
  }>]>;
682
682
  footer: z.ZodOptional<z.ZodObject<{
683
- socials: z.ZodOptional<z.ZodRecord<z.ZodEnum<["x", "website", "facebook", "youtube", "discord", "slack", "github", "linkedin", "instagram", "hacker-news", "medium", "telegram", "twitter", "x-twitter", "earth-americas", "bluesky", "threads", "reddit", "podcast"]>, z.ZodString>>;
683
+ socials: z.ZodOptional<z.ZodRecord<z.ZodEnum<["x", "website", "facebook", "youtube", "discord", "slack", "github", "linkedin", "instagram", "hacker-news", "medium", "telegram", "twitter", "x-twitter", "earth-americas", "bluesky", "threads", "reddit", "podcast"]>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>>;
684
684
  links: z.ZodOptional<z.ZodArray<z.ZodObject<{
685
685
  header: z.ZodOptional<z.ZodString>;
686
686
  items: z.ZodArray<z.ZodObject<{
687
687
  label: z.ZodString;
688
- href: z.ZodEffects<z.ZodString, string, string>;
688
+ href: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
689
689
  }, "strip", z.ZodTypeAny, {
690
690
  href: string;
691
691
  label: string;
@@ -1564,7 +1564,7 @@ export declare const mapleConfigSchema: z.ZodObject<{
1564
1564
  directory?: string | undefined;
1565
1565
  } | undefined;
1566
1566
  playground?: {
1567
- display?: "simple" | "none" | "interactive" | undefined;
1567
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
1568
1568
  proxy?: boolean | undefined;
1569
1569
  } | undefined;
1570
1570
  asyncapi?: string | string[] | {
@@ -1889,7 +1889,7 @@ export declare const mapleConfigSchema: z.ZodObject<{
1889
1889
  directory?: string | undefined;
1890
1890
  } | undefined;
1891
1891
  playground?: {
1892
- display?: "simple" | "none" | "interactive" | undefined;
1892
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
1893
1893
  proxy?: boolean | undefined;
1894
1894
  } | undefined;
1895
1895
  asyncapi?: string | string[] | {
@@ -69,13 +69,13 @@ export declare const mintConfigSchema: z.ZodObject<{
69
69
  expanded?: "all" | "closed" | undefined;
70
70
  }>>;
71
71
  playground: z.ZodOptional<z.ZodObject<{
72
- display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none"]>>;
72
+ display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none", "auth"]>>;
73
73
  proxy: z.ZodOptional<z.ZodBoolean>;
74
74
  }, "strip", z.ZodTypeAny, {
75
- display?: "simple" | "none" | "interactive" | undefined;
75
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
76
76
  proxy?: boolean | undefined;
77
77
  }, {
78
- display?: "simple" | "none" | "interactive" | undefined;
78
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
79
79
  proxy?: boolean | undefined;
80
80
  }>>;
81
81
  examples: z.ZodOptional<z.ZodObject<{
@@ -128,7 +128,7 @@ export declare const mintConfigSchema: z.ZodObject<{
128
128
  directory?: string | undefined;
129
129
  } | undefined;
130
130
  playground?: {
131
- display?: "simple" | "none" | "interactive" | undefined;
131
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
132
132
  proxy?: boolean | undefined;
133
133
  } | undefined;
134
134
  asyncapi?: string | string[] | {
@@ -157,7 +157,7 @@ export declare const mintConfigSchema: z.ZodObject<{
157
157
  directory?: string | undefined;
158
158
  } | undefined;
159
159
  playground?: {
160
- display?: "simple" | "none" | "interactive" | undefined;
160
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
161
161
  proxy?: boolean | undefined;
162
162
  } | undefined;
163
163
  asyncapi?: string | string[] | {
@@ -680,12 +680,12 @@ export declare const mintConfigSchema: z.ZodObject<{
680
680
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
681
681
  }>]>;
682
682
  footer: z.ZodOptional<z.ZodObject<{
683
- socials: z.ZodOptional<z.ZodRecord<z.ZodEnum<["x", "website", "facebook", "youtube", "discord", "slack", "github", "linkedin", "instagram", "hacker-news", "medium", "telegram", "twitter", "x-twitter", "earth-americas", "bluesky", "threads", "reddit", "podcast"]>, z.ZodString>>;
683
+ socials: z.ZodOptional<z.ZodRecord<z.ZodEnum<["x", "website", "facebook", "youtube", "discord", "slack", "github", "linkedin", "instagram", "hacker-news", "medium", "telegram", "twitter", "x-twitter", "earth-americas", "bluesky", "threads", "reddit", "podcast"]>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>>;
684
684
  links: z.ZodOptional<z.ZodArray<z.ZodObject<{
685
685
  header: z.ZodOptional<z.ZodString>;
686
686
  items: z.ZodArray<z.ZodObject<{
687
687
  label: z.ZodString;
688
- href: z.ZodEffects<z.ZodString, string, string>;
688
+ href: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
689
689
  }, "strip", z.ZodTypeAny, {
690
690
  href: string;
691
691
  label: string;
@@ -1564,7 +1564,7 @@ export declare const mintConfigSchema: z.ZodObject<{
1564
1564
  directory?: string | undefined;
1565
1565
  } | undefined;
1566
1566
  playground?: {
1567
- display?: "simple" | "none" | "interactive" | undefined;
1567
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
1568
1568
  proxy?: boolean | undefined;
1569
1569
  } | undefined;
1570
1570
  asyncapi?: string | string[] | {
@@ -1889,7 +1889,7 @@ export declare const mintConfigSchema: z.ZodObject<{
1889
1889
  directory?: string | undefined;
1890
1890
  } | undefined;
1891
1891
  playground?: {
1892
- display?: "simple" | "none" | "interactive" | undefined;
1892
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
1893
1893
  proxy?: boolean | undefined;
1894
1894
  } | undefined;
1895
1895
  asyncapi?: string | string[] | {
@@ -69,13 +69,13 @@ export declare const palmConfigSchema: z.ZodObject<{
69
69
  expanded?: "all" | "closed" | undefined;
70
70
  }>>;
71
71
  playground: z.ZodOptional<z.ZodObject<{
72
- display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none"]>>;
72
+ display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none", "auth"]>>;
73
73
  proxy: z.ZodOptional<z.ZodBoolean>;
74
74
  }, "strip", z.ZodTypeAny, {
75
- display?: "simple" | "none" | "interactive" | undefined;
75
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
76
76
  proxy?: boolean | undefined;
77
77
  }, {
78
- display?: "simple" | "none" | "interactive" | undefined;
78
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
79
79
  proxy?: boolean | undefined;
80
80
  }>>;
81
81
  examples: z.ZodOptional<z.ZodObject<{
@@ -128,7 +128,7 @@ export declare const palmConfigSchema: z.ZodObject<{
128
128
  directory?: string | undefined;
129
129
  } | undefined;
130
130
  playground?: {
131
- display?: "simple" | "none" | "interactive" | undefined;
131
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
132
132
  proxy?: boolean | undefined;
133
133
  } | undefined;
134
134
  asyncapi?: string | string[] | {
@@ -157,7 +157,7 @@ export declare const palmConfigSchema: z.ZodObject<{
157
157
  directory?: string | undefined;
158
158
  } | undefined;
159
159
  playground?: {
160
- display?: "simple" | "none" | "interactive" | undefined;
160
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
161
161
  proxy?: boolean | undefined;
162
162
  } | undefined;
163
163
  asyncapi?: string | string[] | {
@@ -680,12 +680,12 @@ export declare const palmConfigSchema: z.ZodObject<{
680
680
  global?: import("../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
681
681
  }>]>;
682
682
  footer: z.ZodOptional<z.ZodObject<{
683
- socials: z.ZodOptional<z.ZodRecord<z.ZodEnum<["x", "website", "facebook", "youtube", "discord", "slack", "github", "linkedin", "instagram", "hacker-news", "medium", "telegram", "twitter", "x-twitter", "earth-americas", "bluesky", "threads", "reddit", "podcast"]>, z.ZodString>>;
683
+ socials: z.ZodOptional<z.ZodRecord<z.ZodEnum<["x", "website", "facebook", "youtube", "discord", "slack", "github", "linkedin", "instagram", "hacker-news", "medium", "telegram", "twitter", "x-twitter", "earth-americas", "bluesky", "threads", "reddit", "podcast"]>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>>;
684
684
  links: z.ZodOptional<z.ZodArray<z.ZodObject<{
685
685
  header: z.ZodOptional<z.ZodString>;
686
686
  items: z.ZodArray<z.ZodObject<{
687
687
  label: z.ZodString;
688
- href: z.ZodEffects<z.ZodString, string, string>;
688
+ href: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
689
689
  }, "strip", z.ZodTypeAny, {
690
690
  href: string;
691
691
  label: string;
@@ -1564,7 +1564,7 @@ export declare const palmConfigSchema: z.ZodObject<{
1564
1564
  directory?: string | undefined;
1565
1565
  } | undefined;
1566
1566
  playground?: {
1567
- display?: "simple" | "none" | "interactive" | undefined;
1567
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
1568
1568
  proxy?: boolean | undefined;
1569
1569
  } | undefined;
1570
1570
  asyncapi?: string | string[] | {
@@ -1889,7 +1889,7 @@ export declare const palmConfigSchema: z.ZodObject<{
1889
1889
  directory?: string | undefined;
1890
1890
  } | undefined;
1891
1891
  playground?: {
1892
- display?: "simple" | "none" | "interactive" | undefined;
1892
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
1893
1893
  proxy?: boolean | undefined;
1894
1894
  } | undefined;
1895
1895
  asyncapi?: string | string[] | {
@@ -68,13 +68,13 @@ export declare const standardConfigSchema: {
68
68
  expanded?: "all" | "closed" | undefined;
69
69
  }>>;
70
70
  playground: import("zod").ZodOptional<import("zod").ZodObject<{
71
- display: import("zod").ZodOptional<import("zod").ZodEnum<["interactive", "simple", "none"]>>;
71
+ display: import("zod").ZodOptional<import("zod").ZodEnum<["interactive", "simple", "none", "auth"]>>;
72
72
  proxy: import("zod").ZodOptional<import("zod").ZodBoolean>;
73
73
  }, "strip", import("zod").ZodTypeAny, {
74
- display?: "simple" | "none" | "interactive" | undefined;
74
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
75
75
  proxy?: boolean | undefined;
76
76
  }, {
77
- display?: "simple" | "none" | "interactive" | undefined;
77
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
78
78
  proxy?: boolean | undefined;
79
79
  }>>;
80
80
  examples: import("zod").ZodOptional<import("zod").ZodObject<{
@@ -127,7 +127,7 @@ export declare const standardConfigSchema: {
127
127
  directory?: string | undefined;
128
128
  } | undefined;
129
129
  playground?: {
130
- display?: "simple" | "none" | "interactive" | undefined;
130
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
131
131
  proxy?: boolean | undefined;
132
132
  } | undefined;
133
133
  asyncapi?: string | string[] | {
@@ -156,7 +156,7 @@ export declare const standardConfigSchema: {
156
156
  directory?: string | undefined;
157
157
  } | undefined;
158
158
  playground?: {
159
- display?: "simple" | "none" | "interactive" | undefined;
159
+ display?: "auth" | "simple" | "none" | "interactive" | undefined;
160
160
  proxy?: boolean | undefined;
161
161
  } | undefined;
162
162
  asyncapi?: string | string[] | {
@@ -679,12 +679,12 @@ export declare const standardConfigSchema: {
679
679
  global?: import("../../properties/navigation/divisionNav.js").GlobalNavigation | undefined;
680
680
  }>]>;
681
681
  footer: import("zod").ZodOptional<import("zod").ZodObject<{
682
- socials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodEnum<["x", "website", "facebook", "youtube", "discord", "slack", "github", "linkedin", "instagram", "hacker-news", "medium", "telegram", "twitter", "x-twitter", "earth-americas", "bluesky", "threads", "reddit", "podcast"]>, import("zod").ZodString>>;
682
+ socials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodEnum<["x", "website", "facebook", "youtube", "discord", "slack", "github", "linkedin", "instagram", "hacker-news", "medium", "telegram", "twitter", "x-twitter", "earth-americas", "bluesky", "threads", "reddit", "podcast"]>, import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>>;
683
683
  links: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
684
684
  header: import("zod").ZodOptional<import("zod").ZodString>;
685
685
  items: import("zod").ZodArray<import("zod").ZodObject<{
686
686
  label: import("zod").ZodString;
687
- href: import("zod").ZodEffects<import("zod").ZodString, string, string>;
687
+ href: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
688
688
  }, "strip", import("zod").ZodTypeAny, {
689
689
  href: string;
690
690
  label: string;