@mintlify/validation 0.1.370 → 0.1.372

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 aspenConfigSchema = z.object(Object.assign({ theme: z.literal(themeSchema.enum.aspen) }, standardConfigSchema));
@@ -60,12 +60,12 @@ export declare const lindenConfigSchema: z.ZodObject<{
60
60
  source: string;
61
61
  directory?: string | undefined;
62
62
  }>]>>;
63
- paramFields: z.ZodOptional<z.ZodObject<{
64
- expanded: z.ZodOptional<z.ZodEnum<["all", "none"]>>;
63
+ params: z.ZodOptional<z.ZodObject<{
64
+ expanded: z.ZodOptional<z.ZodEnum<["all", "closed"]>>;
65
65
  }, "strip", z.ZodTypeAny, {
66
- expanded?: "all" | "none" | undefined;
66
+ expanded?: "all" | "closed" | undefined;
67
67
  }, {
68
- expanded?: "all" | "none" | undefined;
68
+ expanded?: "all" | "closed" | undefined;
69
69
  }>>;
70
70
  playground: z.ZodOptional<z.ZodObject<{
71
71
  display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none"]>>;
@@ -121,8 +121,8 @@ export declare const lindenConfigSchema: z.ZodObject<{
121
121
  source: string;
122
122
  directory?: string | undefined;
123
123
  } | undefined;
124
- paramFields?: {
125
- expanded?: "all" | "none" | undefined;
124
+ params?: {
125
+ expanded?: "all" | "closed" | undefined;
126
126
  } | undefined;
127
127
  playground?: {
128
128
  display?: "simple" | "none" | "interactive" | undefined;
@@ -148,8 +148,8 @@ export declare const lindenConfigSchema: z.ZodObject<{
148
148
  source: string;
149
149
  directory?: string | undefined;
150
150
  } | undefined;
151
- paramFields?: {
152
- expanded?: "all" | "none" | undefined;
151
+ params?: {
152
+ expanded?: "all" | "closed" | undefined;
153
153
  } | undefined;
154
154
  playground?: {
155
155
  display?: "simple" | "none" | "interactive" | undefined;
@@ -1251,8 +1251,8 @@ export declare const lindenConfigSchema: z.ZodObject<{
1251
1251
  source: string;
1252
1252
  directory?: string | undefined;
1253
1253
  } | undefined;
1254
- paramFields?: {
1255
- expanded?: "all" | "none" | undefined;
1254
+ params?: {
1255
+ expanded?: "all" | "closed" | undefined;
1256
1256
  } | undefined;
1257
1257
  playground?: {
1258
1258
  display?: "simple" | "none" | "interactive" | undefined;
@@ -1577,8 +1577,8 @@ export declare const lindenConfigSchema: z.ZodObject<{
1577
1577
  source: string;
1578
1578
  directory?: string | undefined;
1579
1579
  } | undefined;
1580
- paramFields?: {
1581
- expanded?: "all" | "none" | undefined;
1580
+ params?: {
1581
+ expanded?: "all" | "closed" | undefined;
1582
1582
  } | undefined;
1583
1583
  playground?: {
1584
1584
  display?: "simple" | "none" | "interactive" | undefined;
@@ -60,12 +60,12 @@ export declare const mapleConfigSchema: z.ZodObject<{
60
60
  source: string;
61
61
  directory?: string | undefined;
62
62
  }>]>>;
63
- paramFields: z.ZodOptional<z.ZodObject<{
64
- expanded: z.ZodOptional<z.ZodEnum<["all", "none"]>>;
63
+ params: z.ZodOptional<z.ZodObject<{
64
+ expanded: z.ZodOptional<z.ZodEnum<["all", "closed"]>>;
65
65
  }, "strip", z.ZodTypeAny, {
66
- expanded?: "all" | "none" | undefined;
66
+ expanded?: "all" | "closed" | undefined;
67
67
  }, {
68
- expanded?: "all" | "none" | undefined;
68
+ expanded?: "all" | "closed" | undefined;
69
69
  }>>;
70
70
  playground: z.ZodOptional<z.ZodObject<{
71
71
  display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none"]>>;
@@ -121,8 +121,8 @@ export declare const mapleConfigSchema: z.ZodObject<{
121
121
  source: string;
122
122
  directory?: string | undefined;
123
123
  } | undefined;
124
- paramFields?: {
125
- expanded?: "all" | "none" | undefined;
124
+ params?: {
125
+ expanded?: "all" | "closed" | undefined;
126
126
  } | undefined;
127
127
  playground?: {
128
128
  display?: "simple" | "none" | "interactive" | undefined;
@@ -148,8 +148,8 @@ export declare const mapleConfigSchema: z.ZodObject<{
148
148
  source: string;
149
149
  directory?: string | undefined;
150
150
  } | undefined;
151
- paramFields?: {
152
- expanded?: "all" | "none" | undefined;
151
+ params?: {
152
+ expanded?: "all" | "closed" | undefined;
153
153
  } | undefined;
154
154
  playground?: {
155
155
  display?: "simple" | "none" | "interactive" | undefined;
@@ -1251,8 +1251,8 @@ export declare const mapleConfigSchema: z.ZodObject<{
1251
1251
  source: string;
1252
1252
  directory?: string | undefined;
1253
1253
  } | undefined;
1254
- paramFields?: {
1255
- expanded?: "all" | "none" | undefined;
1254
+ params?: {
1255
+ expanded?: "all" | "closed" | undefined;
1256
1256
  } | undefined;
1257
1257
  playground?: {
1258
1258
  display?: "simple" | "none" | "interactive" | undefined;
@@ -1577,8 +1577,8 @@ export declare const mapleConfigSchema: z.ZodObject<{
1577
1577
  source: string;
1578
1578
  directory?: string | undefined;
1579
1579
  } | undefined;
1580
- paramFields?: {
1581
- expanded?: "all" | "none" | undefined;
1580
+ params?: {
1581
+ expanded?: "all" | "closed" | undefined;
1582
1582
  } | undefined;
1583
1583
  playground?: {
1584
1584
  display?: "simple" | "none" | "interactive" | undefined;
@@ -60,12 +60,12 @@ export declare const mintConfigSchema: z.ZodObject<{
60
60
  source: string;
61
61
  directory?: string | undefined;
62
62
  }>]>>;
63
- paramFields: z.ZodOptional<z.ZodObject<{
64
- expanded: z.ZodOptional<z.ZodEnum<["all", "none"]>>;
63
+ params: z.ZodOptional<z.ZodObject<{
64
+ expanded: z.ZodOptional<z.ZodEnum<["all", "closed"]>>;
65
65
  }, "strip", z.ZodTypeAny, {
66
- expanded?: "all" | "none" | undefined;
66
+ expanded?: "all" | "closed" | undefined;
67
67
  }, {
68
- expanded?: "all" | "none" | undefined;
68
+ expanded?: "all" | "closed" | undefined;
69
69
  }>>;
70
70
  playground: z.ZodOptional<z.ZodObject<{
71
71
  display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none"]>>;
@@ -121,8 +121,8 @@ export declare const mintConfigSchema: z.ZodObject<{
121
121
  source: string;
122
122
  directory?: string | undefined;
123
123
  } | undefined;
124
- paramFields?: {
125
- expanded?: "all" | "none" | undefined;
124
+ params?: {
125
+ expanded?: "all" | "closed" | undefined;
126
126
  } | undefined;
127
127
  playground?: {
128
128
  display?: "simple" | "none" | "interactive" | undefined;
@@ -148,8 +148,8 @@ export declare const mintConfigSchema: z.ZodObject<{
148
148
  source: string;
149
149
  directory?: string | undefined;
150
150
  } | undefined;
151
- paramFields?: {
152
- expanded?: "all" | "none" | undefined;
151
+ params?: {
152
+ expanded?: "all" | "closed" | undefined;
153
153
  } | undefined;
154
154
  playground?: {
155
155
  display?: "simple" | "none" | "interactive" | undefined;
@@ -1251,8 +1251,8 @@ export declare const mintConfigSchema: z.ZodObject<{
1251
1251
  source: string;
1252
1252
  directory?: string | undefined;
1253
1253
  } | undefined;
1254
- paramFields?: {
1255
- expanded?: "all" | "none" | undefined;
1254
+ params?: {
1255
+ expanded?: "all" | "closed" | undefined;
1256
1256
  } | undefined;
1257
1257
  playground?: {
1258
1258
  display?: "simple" | "none" | "interactive" | undefined;
@@ -1577,8 +1577,8 @@ export declare const mintConfigSchema: z.ZodObject<{
1577
1577
  source: string;
1578
1578
  directory?: string | undefined;
1579
1579
  } | undefined;
1580
- paramFields?: {
1581
- expanded?: "all" | "none" | undefined;
1580
+ params?: {
1581
+ expanded?: "all" | "closed" | undefined;
1582
1582
  } | undefined;
1583
1583
  playground?: {
1584
1584
  display?: "simple" | "none" | "interactive" | undefined;
@@ -60,12 +60,12 @@ export declare const palmConfigSchema: z.ZodObject<{
60
60
  source: string;
61
61
  directory?: string | undefined;
62
62
  }>]>>;
63
- paramFields: z.ZodOptional<z.ZodObject<{
64
- expanded: z.ZodOptional<z.ZodEnum<["all", "none"]>>;
63
+ params: z.ZodOptional<z.ZodObject<{
64
+ expanded: z.ZodOptional<z.ZodEnum<["all", "closed"]>>;
65
65
  }, "strip", z.ZodTypeAny, {
66
- expanded?: "all" | "none" | undefined;
66
+ expanded?: "all" | "closed" | undefined;
67
67
  }, {
68
- expanded?: "all" | "none" | undefined;
68
+ expanded?: "all" | "closed" | undefined;
69
69
  }>>;
70
70
  playground: z.ZodOptional<z.ZodObject<{
71
71
  display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none"]>>;
@@ -121,8 +121,8 @@ export declare const palmConfigSchema: z.ZodObject<{
121
121
  source: string;
122
122
  directory?: string | undefined;
123
123
  } | undefined;
124
- paramFields?: {
125
- expanded?: "all" | "none" | undefined;
124
+ params?: {
125
+ expanded?: "all" | "closed" | undefined;
126
126
  } | undefined;
127
127
  playground?: {
128
128
  display?: "simple" | "none" | "interactive" | undefined;
@@ -148,8 +148,8 @@ export declare const palmConfigSchema: z.ZodObject<{
148
148
  source: string;
149
149
  directory?: string | undefined;
150
150
  } | undefined;
151
- paramFields?: {
152
- expanded?: "all" | "none" | undefined;
151
+ params?: {
152
+ expanded?: "all" | "closed" | undefined;
153
153
  } | undefined;
154
154
  playground?: {
155
155
  display?: "simple" | "none" | "interactive" | undefined;
@@ -1251,8 +1251,8 @@ export declare const palmConfigSchema: z.ZodObject<{
1251
1251
  source: string;
1252
1252
  directory?: string | undefined;
1253
1253
  } | undefined;
1254
- paramFields?: {
1255
- expanded?: "all" | "none" | undefined;
1254
+ params?: {
1255
+ expanded?: "all" | "closed" | undefined;
1256
1256
  } | undefined;
1257
1257
  playground?: {
1258
1258
  display?: "simple" | "none" | "interactive" | undefined;
@@ -1577,8 +1577,8 @@ export declare const palmConfigSchema: z.ZodObject<{
1577
1577
  source: string;
1578
1578
  directory?: string | undefined;
1579
1579
  } | undefined;
1580
- paramFields?: {
1581
- expanded?: "all" | "none" | undefined;
1580
+ params?: {
1581
+ expanded?: "all" | "closed" | undefined;
1582
1582
  } | undefined;
1583
1583
  playground?: {
1584
1584
  display?: "simple" | "none" | "interactive" | undefined;
@@ -59,12 +59,12 @@ export declare const standardConfigSchema: {
59
59
  source: string;
60
60
  directory?: string | undefined;
61
61
  }>]>>;
62
- paramFields: import("zod").ZodOptional<import("zod").ZodObject<{
63
- expanded: import("zod").ZodOptional<import("zod").ZodEnum<["all", "none"]>>;
62
+ params: import("zod").ZodOptional<import("zod").ZodObject<{
63
+ expanded: import("zod").ZodOptional<import("zod").ZodEnum<["all", "closed"]>>;
64
64
  }, "strip", import("zod").ZodTypeAny, {
65
- expanded?: "all" | "none" | undefined;
65
+ expanded?: "all" | "closed" | undefined;
66
66
  }, {
67
- expanded?: "all" | "none" | undefined;
67
+ expanded?: "all" | "closed" | undefined;
68
68
  }>>;
69
69
  playground: import("zod").ZodOptional<import("zod").ZodObject<{
70
70
  display: import("zod").ZodOptional<import("zod").ZodEnum<["interactive", "simple", "none"]>>;
@@ -120,8 +120,8 @@ export declare const standardConfigSchema: {
120
120
  source: string;
121
121
  directory?: string | undefined;
122
122
  } | undefined;
123
- paramFields?: {
124
- expanded?: "all" | "none" | undefined;
123
+ params?: {
124
+ expanded?: "all" | "closed" | undefined;
125
125
  } | undefined;
126
126
  playground?: {
127
127
  display?: "simple" | "none" | "interactive" | undefined;
@@ -147,8 +147,8 @@ export declare const standardConfigSchema: {
147
147
  source: string;
148
148
  directory?: string | undefined;
149
149
  } | undefined;
150
- paramFields?: {
151
- expanded?: "all" | "none" | undefined;
150
+ params?: {
151
+ expanded?: "all" | "closed" | undefined;
152
152
  } | undefined;
153
153
  playground?: {
154
154
  display?: "simple" | "none" | "interactive" | undefined;
@@ -1,4 +1,4 @@
1
1
  import { z } from 'zod';
2
- export declare const themes: readonly ["mint", "maple", "palm", "willow", "linden", "almond"];
3
- export declare const themeSchema: z.ZodEnum<["mint", "maple", "palm", "willow", "linden", "almond"]>;
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"]>;
4
4
  export type ThemeType = z.infer<typeof themeSchema>;
@@ -1,3 +1,3 @@
1
1
  import { z } from 'zod';
2
- export const themes = ['mint', 'maple', 'palm', 'willow', 'linden', 'almond'];
2
+ export const themes = ['mint', 'maple', 'palm', 'willow', 'linden', 'almond', 'aspen'];
3
3
  export const themeSchema = z.enum(themes);
@@ -60,12 +60,12 @@ export declare const willowConfigSchema: z.ZodObject<{
60
60
  source: string;
61
61
  directory?: string | undefined;
62
62
  }>]>>;
63
- paramFields: z.ZodOptional<z.ZodObject<{
64
- expanded: z.ZodOptional<z.ZodEnum<["all", "none"]>>;
63
+ params: z.ZodOptional<z.ZodObject<{
64
+ expanded: z.ZodOptional<z.ZodEnum<["all", "closed"]>>;
65
65
  }, "strip", z.ZodTypeAny, {
66
- expanded?: "all" | "none" | undefined;
66
+ expanded?: "all" | "closed" | undefined;
67
67
  }, {
68
- expanded?: "all" | "none" | undefined;
68
+ expanded?: "all" | "closed" | undefined;
69
69
  }>>;
70
70
  playground: z.ZodOptional<z.ZodObject<{
71
71
  display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none"]>>;
@@ -121,8 +121,8 @@ export declare const willowConfigSchema: z.ZodObject<{
121
121
  source: string;
122
122
  directory?: string | undefined;
123
123
  } | undefined;
124
- paramFields?: {
125
- expanded?: "all" | "none" | undefined;
124
+ params?: {
125
+ expanded?: "all" | "closed" | undefined;
126
126
  } | undefined;
127
127
  playground?: {
128
128
  display?: "simple" | "none" | "interactive" | undefined;
@@ -148,8 +148,8 @@ export declare const willowConfigSchema: z.ZodObject<{
148
148
  source: string;
149
149
  directory?: string | undefined;
150
150
  } | undefined;
151
- paramFields?: {
152
- expanded?: "all" | "none" | undefined;
151
+ params?: {
152
+ expanded?: "all" | "closed" | undefined;
153
153
  } | undefined;
154
154
  playground?: {
155
155
  display?: "simple" | "none" | "interactive" | undefined;
@@ -1251,8 +1251,8 @@ export declare const willowConfigSchema: z.ZodObject<{
1251
1251
  source: string;
1252
1252
  directory?: string | undefined;
1253
1253
  } | undefined;
1254
- paramFields?: {
1255
- expanded?: "all" | "none" | undefined;
1254
+ params?: {
1255
+ expanded?: "all" | "closed" | undefined;
1256
1256
  } | undefined;
1257
1257
  playground?: {
1258
1258
  display?: "simple" | "none" | "interactive" | undefined;
@@ -1577,8 +1577,8 @@ export declare const willowConfigSchema: z.ZodObject<{
1577
1577
  source: string;
1578
1578
  directory?: string | undefined;
1579
1579
  } | undefined;
1580
- paramFields?: {
1581
- expanded?: "all" | "none" | undefined;
1580
+ params?: {
1581
+ expanded?: "all" | "closed" | undefined;
1582
1582
  } | undefined;
1583
1583
  playground?: {
1584
1584
  display?: "simple" | "none" | "interactive" | undefined;