@mintlify/validation 0.1.324 → 0.1.325

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.
@@ -1055,6 +1055,40 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
1055
1055
  content: string;
1056
1056
  dismissible?: boolean | undefined;
1057
1057
  }>>;
1058
+ errors: z.ZodOptional<z.ZodObject<{
1059
+ '404': z.ZodObject<{
1060
+ redirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1061
+ title: z.ZodOptional<z.ZodString>;
1062
+ description: z.ZodOptional<z.ZodString>;
1063
+ }, "strip", z.ZodTypeAny, {
1064
+ redirect: boolean;
1065
+ title?: string | undefined;
1066
+ description?: string | undefined;
1067
+ }, {
1068
+ redirect?: boolean | undefined;
1069
+ title?: string | undefined;
1070
+ description?: string | undefined;
1071
+ }>;
1072
+ }, "strip", z.ZodTypeAny, {
1073
+ '404': {
1074
+ redirect: boolean;
1075
+ title?: string | undefined;
1076
+ description?: string | undefined;
1077
+ };
1078
+ }, {
1079
+ '404': {
1080
+ redirect?: boolean | undefined;
1081
+ title?: string | undefined;
1082
+ description?: string | undefined;
1083
+ };
1084
+ }>>;
1085
+ contextual: z.ZodOptional<z.ZodObject<{
1086
+ options: z.ZodEffects<z.ZodArray<z.ZodEnum<["copy", "view", "chatgpt", "claude"]>, "many">, ("copy" | "view" | "chatgpt" | "claude")[], ("copy" | "view" | "chatgpt" | "claude")[]>;
1087
+ }, "strip", z.ZodTypeAny, {
1088
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
1089
+ }, {
1090
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
1091
+ }>>;
1058
1092
  theme: z.ZodLiteral<"mint">;
1059
1093
  }, "strip", z.ZodTypeAny, {
1060
1094
  name: string;
@@ -1370,6 +1404,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
1370
1404
  content: string;
1371
1405
  dismissible?: boolean | undefined;
1372
1406
  } | undefined;
1407
+ errors?: {
1408
+ '404': {
1409
+ redirect: boolean;
1410
+ title?: string | undefined;
1411
+ description?: string | undefined;
1412
+ };
1413
+ } | undefined;
1414
+ contextual?: {
1415
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
1416
+ } | undefined;
1373
1417
  }, {
1374
1418
  name: string;
1375
1419
  theme: "mint";
@@ -1684,6 +1728,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
1684
1728
  content: string;
1685
1729
  dismissible?: boolean | undefined;
1686
1730
  } | undefined;
1731
+ errors?: {
1732
+ '404': {
1733
+ redirect?: boolean | undefined;
1734
+ title?: string | undefined;
1735
+ description?: string | undefined;
1736
+ };
1737
+ } | undefined;
1738
+ contextual?: {
1739
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
1740
+ } | undefined;
1687
1741
  }>, z.ZodObject<{
1688
1742
  $schema: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1689
1743
  name: z.ZodString;
@@ -2738,6 +2792,40 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
2738
2792
  content: string;
2739
2793
  dismissible?: boolean | undefined;
2740
2794
  }>>;
2795
+ errors: z.ZodOptional<z.ZodObject<{
2796
+ '404': z.ZodObject<{
2797
+ redirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2798
+ title: z.ZodOptional<z.ZodString>;
2799
+ description: z.ZodOptional<z.ZodString>;
2800
+ }, "strip", z.ZodTypeAny, {
2801
+ redirect: boolean;
2802
+ title?: string | undefined;
2803
+ description?: string | undefined;
2804
+ }, {
2805
+ redirect?: boolean | undefined;
2806
+ title?: string | undefined;
2807
+ description?: string | undefined;
2808
+ }>;
2809
+ }, "strip", z.ZodTypeAny, {
2810
+ '404': {
2811
+ redirect: boolean;
2812
+ title?: string | undefined;
2813
+ description?: string | undefined;
2814
+ };
2815
+ }, {
2816
+ '404': {
2817
+ redirect?: boolean | undefined;
2818
+ title?: string | undefined;
2819
+ description?: string | undefined;
2820
+ };
2821
+ }>>;
2822
+ contextual: z.ZodOptional<z.ZodObject<{
2823
+ options: z.ZodEffects<z.ZodArray<z.ZodEnum<["copy", "view", "chatgpt", "claude"]>, "many">, ("copy" | "view" | "chatgpt" | "claude")[], ("copy" | "view" | "chatgpt" | "claude")[]>;
2824
+ }, "strip", z.ZodTypeAny, {
2825
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
2826
+ }, {
2827
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
2828
+ }>>;
2741
2829
  theme: z.ZodLiteral<"maple">;
2742
2830
  }, "strip", z.ZodTypeAny, {
2743
2831
  name: string;
@@ -3053,6 +3141,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
3053
3141
  content: string;
3054
3142
  dismissible?: boolean | undefined;
3055
3143
  } | undefined;
3144
+ errors?: {
3145
+ '404': {
3146
+ redirect: boolean;
3147
+ title?: string | undefined;
3148
+ description?: string | undefined;
3149
+ };
3150
+ } | undefined;
3151
+ contextual?: {
3152
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
3153
+ } | undefined;
3056
3154
  }, {
3057
3155
  name: string;
3058
3156
  theme: "maple";
@@ -3367,6 +3465,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
3367
3465
  content: string;
3368
3466
  dismissible?: boolean | undefined;
3369
3467
  } | undefined;
3468
+ errors?: {
3469
+ '404': {
3470
+ redirect?: boolean | undefined;
3471
+ title?: string | undefined;
3472
+ description?: string | undefined;
3473
+ };
3474
+ } | undefined;
3475
+ contextual?: {
3476
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
3477
+ } | undefined;
3370
3478
  }>, z.ZodObject<{
3371
3479
  $schema: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3372
3480
  name: z.ZodString;
@@ -4421,6 +4529,40 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
4421
4529
  content: string;
4422
4530
  dismissible?: boolean | undefined;
4423
4531
  }>>;
4532
+ errors: z.ZodOptional<z.ZodObject<{
4533
+ '404': z.ZodObject<{
4534
+ redirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4535
+ title: z.ZodOptional<z.ZodString>;
4536
+ description: z.ZodOptional<z.ZodString>;
4537
+ }, "strip", z.ZodTypeAny, {
4538
+ redirect: boolean;
4539
+ title?: string | undefined;
4540
+ description?: string | undefined;
4541
+ }, {
4542
+ redirect?: boolean | undefined;
4543
+ title?: string | undefined;
4544
+ description?: string | undefined;
4545
+ }>;
4546
+ }, "strip", z.ZodTypeAny, {
4547
+ '404': {
4548
+ redirect: boolean;
4549
+ title?: string | undefined;
4550
+ description?: string | undefined;
4551
+ };
4552
+ }, {
4553
+ '404': {
4554
+ redirect?: boolean | undefined;
4555
+ title?: string | undefined;
4556
+ description?: string | undefined;
4557
+ };
4558
+ }>>;
4559
+ contextual: z.ZodOptional<z.ZodObject<{
4560
+ options: z.ZodEffects<z.ZodArray<z.ZodEnum<["copy", "view", "chatgpt", "claude"]>, "many">, ("copy" | "view" | "chatgpt" | "claude")[], ("copy" | "view" | "chatgpt" | "claude")[]>;
4561
+ }, "strip", z.ZodTypeAny, {
4562
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
4563
+ }, {
4564
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
4565
+ }>>;
4424
4566
  theme: z.ZodLiteral<"palm">;
4425
4567
  }, "strip", z.ZodTypeAny, {
4426
4568
  name: string;
@@ -4736,6 +4878,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
4736
4878
  content: string;
4737
4879
  dismissible?: boolean | undefined;
4738
4880
  } | undefined;
4881
+ errors?: {
4882
+ '404': {
4883
+ redirect: boolean;
4884
+ title?: string | undefined;
4885
+ description?: string | undefined;
4886
+ };
4887
+ } | undefined;
4888
+ contextual?: {
4889
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
4890
+ } | undefined;
4739
4891
  }, {
4740
4892
  name: string;
4741
4893
  theme: "palm";
@@ -5050,6 +5202,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
5050
5202
  content: string;
5051
5203
  dismissible?: boolean | undefined;
5052
5204
  } | undefined;
5205
+ errors?: {
5206
+ '404': {
5207
+ redirect?: boolean | undefined;
5208
+ title?: string | undefined;
5209
+ description?: string | undefined;
5210
+ };
5211
+ } | undefined;
5212
+ contextual?: {
5213
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
5214
+ } | undefined;
5053
5215
  }>, z.ZodObject<{
5054
5216
  $schema: z.ZodDefault<z.ZodOptional<z.ZodString>>;
5055
5217
  name: z.ZodString;
@@ -6104,6 +6266,40 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
6104
6266
  content: string;
6105
6267
  dismissible?: boolean | undefined;
6106
6268
  }>>;
6269
+ errors: z.ZodOptional<z.ZodObject<{
6270
+ '404': z.ZodObject<{
6271
+ redirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6272
+ title: z.ZodOptional<z.ZodString>;
6273
+ description: z.ZodOptional<z.ZodString>;
6274
+ }, "strip", z.ZodTypeAny, {
6275
+ redirect: boolean;
6276
+ title?: string | undefined;
6277
+ description?: string | undefined;
6278
+ }, {
6279
+ redirect?: boolean | undefined;
6280
+ title?: string | undefined;
6281
+ description?: string | undefined;
6282
+ }>;
6283
+ }, "strip", z.ZodTypeAny, {
6284
+ '404': {
6285
+ redirect: boolean;
6286
+ title?: string | undefined;
6287
+ description?: string | undefined;
6288
+ };
6289
+ }, {
6290
+ '404': {
6291
+ redirect?: boolean | undefined;
6292
+ title?: string | undefined;
6293
+ description?: string | undefined;
6294
+ };
6295
+ }>>;
6296
+ contextual: z.ZodOptional<z.ZodObject<{
6297
+ options: z.ZodEffects<z.ZodArray<z.ZodEnum<["copy", "view", "chatgpt", "claude"]>, "many">, ("copy" | "view" | "chatgpt" | "claude")[], ("copy" | "view" | "chatgpt" | "claude")[]>;
6298
+ }, "strip", z.ZodTypeAny, {
6299
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
6300
+ }, {
6301
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
6302
+ }>>;
6107
6303
  theme: z.ZodLiteral<"willow">;
6108
6304
  }, "strip", z.ZodTypeAny, {
6109
6305
  name: string;
@@ -6419,6 +6615,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
6419
6615
  content: string;
6420
6616
  dismissible?: boolean | undefined;
6421
6617
  } | undefined;
6618
+ errors?: {
6619
+ '404': {
6620
+ redirect: boolean;
6621
+ title?: string | undefined;
6622
+ description?: string | undefined;
6623
+ };
6624
+ } | undefined;
6625
+ contextual?: {
6626
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
6627
+ } | undefined;
6422
6628
  }, {
6423
6629
  name: string;
6424
6630
  theme: "willow";
@@ -6733,6 +6939,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
6733
6939
  content: string;
6734
6940
  dismissible?: boolean | undefined;
6735
6941
  } | undefined;
6942
+ errors?: {
6943
+ '404': {
6944
+ redirect?: boolean | undefined;
6945
+ title?: string | undefined;
6946
+ description?: string | undefined;
6947
+ };
6948
+ } | undefined;
6949
+ contextual?: {
6950
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
6951
+ } | undefined;
6736
6952
  }>, z.ZodObject<{
6737
6953
  $schema: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6738
6954
  name: z.ZodString;
@@ -7787,6 +8003,40 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
7787
8003
  content: string;
7788
8004
  dismissible?: boolean | undefined;
7789
8005
  }>>;
8006
+ errors: z.ZodOptional<z.ZodObject<{
8007
+ '404': z.ZodObject<{
8008
+ redirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
8009
+ title: z.ZodOptional<z.ZodString>;
8010
+ description: z.ZodOptional<z.ZodString>;
8011
+ }, "strip", z.ZodTypeAny, {
8012
+ redirect: boolean;
8013
+ title?: string | undefined;
8014
+ description?: string | undefined;
8015
+ }, {
8016
+ redirect?: boolean | undefined;
8017
+ title?: string | undefined;
8018
+ description?: string | undefined;
8019
+ }>;
8020
+ }, "strip", z.ZodTypeAny, {
8021
+ '404': {
8022
+ redirect: boolean;
8023
+ title?: string | undefined;
8024
+ description?: string | undefined;
8025
+ };
8026
+ }, {
8027
+ '404': {
8028
+ redirect?: boolean | undefined;
8029
+ title?: string | undefined;
8030
+ description?: string | undefined;
8031
+ };
8032
+ }>>;
8033
+ contextual: z.ZodOptional<z.ZodObject<{
8034
+ options: z.ZodEffects<z.ZodArray<z.ZodEnum<["copy", "view", "chatgpt", "claude"]>, "many">, ("copy" | "view" | "chatgpt" | "claude")[], ("copy" | "view" | "chatgpt" | "claude")[]>;
8035
+ }, "strip", z.ZodTypeAny, {
8036
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
8037
+ }, {
8038
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
8039
+ }>>;
7790
8040
  theme: z.ZodLiteral<"linden">;
7791
8041
  }, "strip", z.ZodTypeAny, {
7792
8042
  name: string;
@@ -8102,6 +8352,16 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
8102
8352
  content: string;
8103
8353
  dismissible?: boolean | undefined;
8104
8354
  } | undefined;
8355
+ errors?: {
8356
+ '404': {
8357
+ redirect: boolean;
8358
+ title?: string | undefined;
8359
+ description?: string | undefined;
8360
+ };
8361
+ } | undefined;
8362
+ contextual?: {
8363
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
8364
+ } | undefined;
8105
8365
  }, {
8106
8366
  name: string;
8107
8367
  theme: "linden";
@@ -8416,4 +8676,14 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
8416
8676
  content: string;
8417
8677
  dismissible?: boolean | undefined;
8418
8678
  } | undefined;
8679
+ errors?: {
8680
+ '404': {
8681
+ redirect?: boolean | undefined;
8682
+ title?: string | undefined;
8683
+ description?: string | undefined;
8684
+ };
8685
+ } | undefined;
8686
+ contextual?: {
8687
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
8688
+ } | undefined;
8419
8689
  }>]>;
@@ -0,0 +1,10 @@
1
+ import { z } from 'zod';
2
+ export declare const contextualOptions: readonly ["copy", "view", "chatgpt", "claude"];
3
+ export type ContextualOption = (typeof contextualOptions)[number];
4
+ export declare const contextualSchema: z.ZodObject<{
5
+ options: z.ZodEffects<z.ZodArray<z.ZodEnum<["copy", "view", "chatgpt", "claude"]>, "many">, ("copy" | "view" | "chatgpt" | "claude")[], ("copy" | "view" | "chatgpt" | "claude")[]>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
8
+ }, {
9
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
10
+ }>;
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+ export const contextualOptions = ['copy', 'view', 'chatgpt', 'claude'];
3
+ export const contextualSchema = z
4
+ .object({
5
+ options: z
6
+ .array(z.enum(contextualOptions))
7
+ .describe('Contextual options')
8
+ .refine((options) => {
9
+ const uniqueOptions = new Set(options);
10
+ return uniqueOptions.size === options.length;
11
+ }, {
12
+ message: 'Each contextual option can only appear once',
13
+ }),
14
+ })
15
+ .describe('Contextual options');
@@ -0,0 +1,28 @@
1
+ import { z } from 'zod';
2
+ export declare const errorsSchema: z.ZodObject<{
3
+ '404': z.ZodObject<{
4
+ redirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5
+ title: z.ZodOptional<z.ZodString>;
6
+ description: z.ZodOptional<z.ZodString>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ redirect: boolean;
9
+ title?: string | undefined;
10
+ description?: string | undefined;
11
+ }, {
12
+ redirect?: boolean | undefined;
13
+ title?: string | undefined;
14
+ description?: string | undefined;
15
+ }>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ '404': {
18
+ redirect: boolean;
19
+ title?: string | undefined;
20
+ description?: string | undefined;
21
+ };
22
+ }, {
23
+ '404': {
24
+ redirect?: boolean | undefined;
25
+ title?: string | undefined;
26
+ description?: string | undefined;
27
+ };
28
+ }>;
@@ -0,0 +1,14 @@
1
+ import { z } from 'zod';
2
+ export const errorsSchema = z
3
+ .object({
4
+ '404': z.object({
5
+ redirect: z
6
+ .boolean()
7
+ .optional()
8
+ .default(true)
9
+ .describe('Whether to redirect to the home page, if the page is not found'),
10
+ title: z.string().optional().describe('The title of the error page'),
11
+ description: z.string().optional().describe('The description of the error page'),
12
+ }),
13
+ })
14
+ .describe('Error pages configuration');
@@ -9,3 +9,4 @@ export * from './navigation/tabs.js';
9
9
  export * from './navigation/version.js';
10
10
  export * from './navigation/dropdown.js';
11
11
  export * from './reusable/index.js';
12
+ export * from './contextual.js';
@@ -9,3 +9,4 @@ export * from './navigation/tabs.js';
9
9
  export * from './navigation/version.js';
10
10
  export * from './navigation/dropdown.js';
11
11
  export * from './reusable/index.js';
12
+ export * from './contextual.js';
@@ -1053,6 +1053,40 @@ export declare const lindenConfigSchema: z.ZodObject<{
1053
1053
  content: string;
1054
1054
  dismissible?: boolean | undefined;
1055
1055
  }>>;
1056
+ errors: z.ZodOptional<z.ZodObject<{
1057
+ '404': z.ZodObject<{
1058
+ redirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1059
+ title: z.ZodOptional<z.ZodString>;
1060
+ description: z.ZodOptional<z.ZodString>;
1061
+ }, "strip", z.ZodTypeAny, {
1062
+ redirect: boolean;
1063
+ title?: string | undefined;
1064
+ description?: string | undefined;
1065
+ }, {
1066
+ redirect?: boolean | undefined;
1067
+ title?: string | undefined;
1068
+ description?: string | undefined;
1069
+ }>;
1070
+ }, "strip", z.ZodTypeAny, {
1071
+ '404': {
1072
+ redirect: boolean;
1073
+ title?: string | undefined;
1074
+ description?: string | undefined;
1075
+ };
1076
+ }, {
1077
+ '404': {
1078
+ redirect?: boolean | undefined;
1079
+ title?: string | undefined;
1080
+ description?: string | undefined;
1081
+ };
1082
+ }>>;
1083
+ contextual: z.ZodOptional<z.ZodObject<{
1084
+ options: z.ZodEffects<z.ZodArray<z.ZodEnum<["copy", "view", "chatgpt", "claude"]>, "many">, ("copy" | "view" | "chatgpt" | "claude")[], ("copy" | "view" | "chatgpt" | "claude")[]>;
1085
+ }, "strip", z.ZodTypeAny, {
1086
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
1087
+ }, {
1088
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
1089
+ }>>;
1056
1090
  theme: z.ZodLiteral<"linden">;
1057
1091
  }, "strip", z.ZodTypeAny, {
1058
1092
  name: string;
@@ -1368,6 +1402,16 @@ export declare const lindenConfigSchema: z.ZodObject<{
1368
1402
  content: string;
1369
1403
  dismissible?: boolean | undefined;
1370
1404
  } | undefined;
1405
+ errors?: {
1406
+ '404': {
1407
+ redirect: boolean;
1408
+ title?: string | undefined;
1409
+ description?: string | undefined;
1410
+ };
1411
+ } | undefined;
1412
+ contextual?: {
1413
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
1414
+ } | undefined;
1371
1415
  }, {
1372
1416
  name: string;
1373
1417
  theme: "linden";
@@ -1682,4 +1726,14 @@ export declare const lindenConfigSchema: z.ZodObject<{
1682
1726
  content: string;
1683
1727
  dismissible?: boolean | undefined;
1684
1728
  } | undefined;
1729
+ errors?: {
1730
+ '404': {
1731
+ redirect?: boolean | undefined;
1732
+ title?: string | undefined;
1733
+ description?: string | undefined;
1734
+ };
1735
+ } | undefined;
1736
+ contextual?: {
1737
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
1738
+ } | undefined;
1685
1739
  }>;
@@ -1053,6 +1053,40 @@ export declare const mapleConfigSchema: z.ZodObject<{
1053
1053
  content: string;
1054
1054
  dismissible?: boolean | undefined;
1055
1055
  }>>;
1056
+ errors: z.ZodOptional<z.ZodObject<{
1057
+ '404': z.ZodObject<{
1058
+ redirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1059
+ title: z.ZodOptional<z.ZodString>;
1060
+ description: z.ZodOptional<z.ZodString>;
1061
+ }, "strip", z.ZodTypeAny, {
1062
+ redirect: boolean;
1063
+ title?: string | undefined;
1064
+ description?: string | undefined;
1065
+ }, {
1066
+ redirect?: boolean | undefined;
1067
+ title?: string | undefined;
1068
+ description?: string | undefined;
1069
+ }>;
1070
+ }, "strip", z.ZodTypeAny, {
1071
+ '404': {
1072
+ redirect: boolean;
1073
+ title?: string | undefined;
1074
+ description?: string | undefined;
1075
+ };
1076
+ }, {
1077
+ '404': {
1078
+ redirect?: boolean | undefined;
1079
+ title?: string | undefined;
1080
+ description?: string | undefined;
1081
+ };
1082
+ }>>;
1083
+ contextual: z.ZodOptional<z.ZodObject<{
1084
+ options: z.ZodEffects<z.ZodArray<z.ZodEnum<["copy", "view", "chatgpt", "claude"]>, "many">, ("copy" | "view" | "chatgpt" | "claude")[], ("copy" | "view" | "chatgpt" | "claude")[]>;
1085
+ }, "strip", z.ZodTypeAny, {
1086
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
1087
+ }, {
1088
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
1089
+ }>>;
1056
1090
  theme: z.ZodLiteral<"maple">;
1057
1091
  }, "strip", z.ZodTypeAny, {
1058
1092
  name: string;
@@ -1368,6 +1402,16 @@ export declare const mapleConfigSchema: z.ZodObject<{
1368
1402
  content: string;
1369
1403
  dismissible?: boolean | undefined;
1370
1404
  } | undefined;
1405
+ errors?: {
1406
+ '404': {
1407
+ redirect: boolean;
1408
+ title?: string | undefined;
1409
+ description?: string | undefined;
1410
+ };
1411
+ } | undefined;
1412
+ contextual?: {
1413
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
1414
+ } | undefined;
1371
1415
  }, {
1372
1416
  name: string;
1373
1417
  theme: "maple";
@@ -1682,4 +1726,14 @@ export declare const mapleConfigSchema: z.ZodObject<{
1682
1726
  content: string;
1683
1727
  dismissible?: boolean | undefined;
1684
1728
  } | undefined;
1729
+ errors?: {
1730
+ '404': {
1731
+ redirect?: boolean | undefined;
1732
+ title?: string | undefined;
1733
+ description?: string | undefined;
1734
+ };
1735
+ } | undefined;
1736
+ contextual?: {
1737
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
1738
+ } | undefined;
1685
1739
  }>;
@@ -1053,6 +1053,40 @@ export declare const mintConfigSchema: z.ZodObject<{
1053
1053
  content: string;
1054
1054
  dismissible?: boolean | undefined;
1055
1055
  }>>;
1056
+ errors: z.ZodOptional<z.ZodObject<{
1057
+ '404': z.ZodObject<{
1058
+ redirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1059
+ title: z.ZodOptional<z.ZodString>;
1060
+ description: z.ZodOptional<z.ZodString>;
1061
+ }, "strip", z.ZodTypeAny, {
1062
+ redirect: boolean;
1063
+ title?: string | undefined;
1064
+ description?: string | undefined;
1065
+ }, {
1066
+ redirect?: boolean | undefined;
1067
+ title?: string | undefined;
1068
+ description?: string | undefined;
1069
+ }>;
1070
+ }, "strip", z.ZodTypeAny, {
1071
+ '404': {
1072
+ redirect: boolean;
1073
+ title?: string | undefined;
1074
+ description?: string | undefined;
1075
+ };
1076
+ }, {
1077
+ '404': {
1078
+ redirect?: boolean | undefined;
1079
+ title?: string | undefined;
1080
+ description?: string | undefined;
1081
+ };
1082
+ }>>;
1083
+ contextual: z.ZodOptional<z.ZodObject<{
1084
+ options: z.ZodEffects<z.ZodArray<z.ZodEnum<["copy", "view", "chatgpt", "claude"]>, "many">, ("copy" | "view" | "chatgpt" | "claude")[], ("copy" | "view" | "chatgpt" | "claude")[]>;
1085
+ }, "strip", z.ZodTypeAny, {
1086
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
1087
+ }, {
1088
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
1089
+ }>>;
1056
1090
  theme: z.ZodLiteral<"mint">;
1057
1091
  }, "strip", z.ZodTypeAny, {
1058
1092
  name: string;
@@ -1368,6 +1402,16 @@ export declare const mintConfigSchema: z.ZodObject<{
1368
1402
  content: string;
1369
1403
  dismissible?: boolean | undefined;
1370
1404
  } | undefined;
1405
+ errors?: {
1406
+ '404': {
1407
+ redirect: boolean;
1408
+ title?: string | undefined;
1409
+ description?: string | undefined;
1410
+ };
1411
+ } | undefined;
1412
+ contextual?: {
1413
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
1414
+ } | undefined;
1371
1415
  }, {
1372
1416
  name: string;
1373
1417
  theme: "mint";
@@ -1682,4 +1726,14 @@ export declare const mintConfigSchema: z.ZodObject<{
1682
1726
  content: string;
1683
1727
  dismissible?: boolean | undefined;
1684
1728
  } | undefined;
1729
+ errors?: {
1730
+ '404': {
1731
+ redirect?: boolean | undefined;
1732
+ title?: string | undefined;
1733
+ description?: string | undefined;
1734
+ };
1735
+ } | undefined;
1736
+ contextual?: {
1737
+ options: ("copy" | "view" | "chatgpt" | "claude")[];
1738
+ } | undefined;
1685
1739
  }>;