@mintlify/validation 0.1.603 → 0.1.605

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.
@@ -2,6 +2,7 @@ import { z } from 'zod';
2
2
  import { almondConfigSchema } from './themes/almond.js';
3
3
  import { aspenConfigSchema } from './themes/aspen.js';
4
4
  import { lindenConfigSchema } from './themes/linden.js';
5
+ import { lumaConfigSchema } from './themes/luma.js';
5
6
  import { mapleConfigSchema } from './themes/maple.js';
6
7
  import { mintConfigSchema } from './themes/mint.js';
7
8
  import { palmConfigSchema } from './themes/palm.js';
@@ -17,6 +18,7 @@ export const docsConfigSchema = z.discriminatedUnion('theme', [
17
18
  lindenConfigSchema,
18
19
  almondConfigSchema,
19
20
  aspenConfigSchema,
21
+ lumaConfigSchema,
20
22
  sequoiaConfigSchema,
21
23
  ]);
22
24
  export const docsConfigUnifiedSchema = z.object(Object.assign({ theme: themeSchema }, standardConfigSchema));
@@ -3,20 +3,24 @@ import { VersionNavigation } from './divisionNav.js';
3
3
  export declare const baseVersionSchema: z.ZodObject<{
4
4
  version: z.ZodString;
5
5
  default: z.ZodOptional<z.ZodBoolean>;
6
+ tag: z.ZodOptional<z.ZodString>;
6
7
  hidden: z.ZodOptional<z.ZodBoolean>;
7
8
  }, "strip", z.ZodTypeAny, {
8
9
  version: string;
9
10
  default?: boolean | undefined;
11
+ tag?: string | undefined;
10
12
  hidden?: boolean | undefined;
11
13
  }, {
12
14
  version: string;
13
15
  default?: boolean | undefined;
16
+ tag?: string | undefined;
14
17
  hidden?: boolean | undefined;
15
18
  }>;
16
19
  export type BaseVersionSchema = z.infer<typeof baseVersionSchema>;
17
20
  export declare const nonRecursiveVersionSchema: z.ZodObject<z.objectUtil.extendShape<{
18
21
  version: z.ZodString;
19
22
  default: z.ZodOptional<z.ZodBoolean>;
23
+ tag: z.ZodOptional<z.ZodString>;
20
24
  hidden: z.ZodOptional<z.ZodBoolean>;
21
25
  }, {
22
26
  href: z.ZodEffects<z.ZodString, string, string>;
@@ -24,11 +28,13 @@ export declare const nonRecursiveVersionSchema: z.ZodObject<z.objectUtil.extendS
24
28
  version: string;
25
29
  href: string;
26
30
  default?: boolean | undefined;
31
+ tag?: string | undefined;
27
32
  hidden?: boolean | undefined;
28
33
  }, {
29
34
  version: string;
30
35
  href: string;
31
36
  default?: boolean | undefined;
37
+ tag?: string | undefined;
32
38
  hidden?: boolean | undefined;
33
39
  }>;
34
40
  export declare const versionSchema: z.ZodType<VersionNavigation<'default'>>;
@@ -14,6 +14,7 @@ import { decoratedTabsSchema, tabsSchema } from './tabs.js';
14
14
  export const baseVersionSchema = z.object({
15
15
  version: z.string().nonempty().describe('The name of the version'),
16
16
  default: z.boolean().optional().describe('Whether this version is the default version'),
17
+ tag: z.string().optional().describe('Tag for the version'),
17
18
  hidden: hiddenSchema.optional(),
18
19
  });
19
20
  export const nonRecursiveVersionSchema = baseVersionSchema.extend({ href: hrefSchema });