@mintlify/validation 0.1.529 → 0.1.531

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.
Files changed (45) hide show
  1. package/dist/chat-config/index.d.ts +67 -67
  2. package/dist/mint-config/schemas/v1/apiReference.d.ts +4 -4
  3. package/dist/mint-config/schemas/v1/config.d.ts +88 -88
  4. package/dist/mint-config/schemas/v1/font.d.ts +20 -20
  5. package/dist/mint-config/schemas/v1/footer.d.ts +5 -5
  6. package/dist/mint-config/schemas/v1/navigation.d.ts +2 -2
  7. package/dist/mint-config/schemas/v1/tabs.d.ts +2 -2
  8. package/dist/mint-config/schemas/v1/versions.d.ts +5 -5
  9. package/dist/mint-config/schemas/v2/index.d.ts +2978 -4567
  10. package/dist/mint-config/schemas/v2/properties/api.d.ts +28 -28
  11. package/dist/mint-config/schemas/v2/properties/appearance.d.ts +2 -2
  12. package/dist/mint-config/schemas/v2/properties/background.d.ts +5 -5
  13. package/dist/mint-config/schemas/v2/properties/contextual.d.ts +16 -64
  14. package/dist/mint-config/schemas/v2/properties/errors.d.ts +2 -2
  15. package/dist/mint-config/schemas/v2/properties/feedback.d.ts +2 -2
  16. package/dist/mint-config/schemas/v2/properties/fonts/index.d.ts +24 -24
  17. package/dist/mint-config/schemas/v2/properties/footer.d.ts +2 -2
  18. package/dist/mint-config/schemas/v2/properties/integrations.d.ts +22 -22
  19. package/dist/mint-config/schemas/v2/properties/localization.d.ts +1 -1
  20. package/dist/mint-config/schemas/v2/properties/localization.js +2 -0
  21. package/dist/mint-config/schemas/v2/properties/navbar.d.ts +9 -9
  22. package/dist/mint-config/schemas/v2/properties/navigation/anchors.d.ts +4 -3
  23. package/dist/mint-config/schemas/v2/properties/navigation/dropdown.d.ts +4 -3
  24. package/dist/mint-config/schemas/v2/properties/navigation/groups.d.ts +186 -204
  25. package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +157 -170
  26. package/dist/mint-config/schemas/v2/properties/navigation/languages.d.ts +9 -8
  27. package/dist/mint-config/schemas/v2/properties/navigation/menu.d.ts +4 -3
  28. package/dist/mint-config/schemas/v2/properties/navigation/products.d.ts +4 -3
  29. package/dist/mint-config/schemas/v2/properties/navigation/tabs.d.ts +4 -3
  30. package/dist/mint-config/schemas/v2/properties/navigation/version.d.ts +3 -2
  31. package/dist/mint-config/schemas/v2/properties/reusable/page.d.ts +26 -26
  32. package/dist/mint-config/schemas/v2/properties/styling.d.ts +10 -10
  33. package/dist/mint-config/schemas/v2/properties/thumbnails.d.ts +2 -2
  34. package/dist/mint-config/schemas/v2/themes/almond.d.ts +421 -648
  35. package/dist/mint-config/schemas/v2/themes/aspen.d.ts +421 -648
  36. package/dist/mint-config/schemas/v2/themes/linden.d.ts +421 -648
  37. package/dist/mint-config/schemas/v2/themes/maple.d.ts +421 -648
  38. package/dist/mint-config/schemas/v2/themes/mint.d.ts +421 -648
  39. package/dist/mint-config/schemas/v2/themes/palm.d.ts +421 -648
  40. package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +181 -230
  41. package/dist/mint-config/schemas/v2/themes/willow.d.ts +421 -648
  42. package/dist/mint-config/validateConfig.d.ts +1755 -2999
  43. package/dist/tsconfig.build.tsbuildinfo +1 -1
  44. package/dist/types/deployment/index.d.ts +2 -1
  45. package/package.json +3 -3
@@ -78,6 +78,14 @@ export declare const navbarSchema: z.ZodObject<{
78
78
  href: string;
79
79
  }>]>>;
80
80
  }, "strip", z.ZodTypeAny, {
81
+ primary?: {
82
+ type: "button";
83
+ href: string;
84
+ label: string;
85
+ } | {
86
+ type: "github";
87
+ href: string;
88
+ } | undefined;
81
89
  links?: {
82
90
  href: string;
83
91
  label: string;
@@ -87,6 +95,7 @@ export declare const navbarSchema: z.ZodObject<{
87
95
  library?: "fontawesome" | "lucide" | undefined;
88
96
  } | undefined;
89
97
  }[] | undefined;
98
+ }, {
90
99
  primary?: {
91
100
  type: "button";
92
101
  href: string;
@@ -95,7 +104,6 @@ export declare const navbarSchema: z.ZodObject<{
95
104
  type: "github";
96
105
  href: string;
97
106
  } | undefined;
98
- }, {
99
107
  links?: {
100
108
  href: string;
101
109
  label: string;
@@ -105,12 +113,4 @@ export declare const navbarSchema: z.ZodObject<{
105
113
  library?: "fontawesome" | "lucide" | undefined;
106
114
  } | undefined;
107
115
  }[] | undefined;
108
- primary?: {
109
- type: "button";
110
- href: string;
111
- label: string;
112
- } | {
113
- type: "github";
114
- href: string;
115
- } | undefined;
116
116
  }>;
@@ -52,7 +52,8 @@ export declare const baseAnchorSchema: z.ZodObject<{
52
52
  hidden?: boolean | undefined;
53
53
  }>;
54
54
  export type BaseAnchorSchema = z.infer<typeof baseAnchorSchema>;
55
- export declare const nonRecursiveAnchorSchema: z.ZodObject<{
55
+ export declare const nonRecursiveAnchorSchema: z.ZodObject<z.objectUtil.extendShape<{
56
+ anchor: z.ZodString;
56
57
  icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
57
58
  style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
58
59
  name: z.ZodEffects<z.ZodString, string, string>;
@@ -77,9 +78,9 @@ export declare const nonRecursiveAnchorSchema: z.ZodObject<{
77
78
  dark?: string | undefined;
78
79
  }>>;
79
80
  hidden: z.ZodOptional<z.ZodBoolean>;
80
- anchor: z.ZodString;
81
+ }, {
81
82
  href: z.ZodString;
82
- }, "strip", z.ZodTypeAny, {
83
+ }>, "strip", z.ZodTypeAny, {
83
84
  href: string;
84
85
  anchor: string;
85
86
  icon?: string | {
@@ -55,7 +55,8 @@ export declare const baseDropdownSchema: z.ZodObject<{
55
55
  hidden?: boolean | undefined;
56
56
  }>;
57
57
  export type BaseDropdownSchema = z.infer<typeof baseDropdownSchema>;
58
- export declare const nonRecursiveDropdownSchema: z.ZodObject<{
58
+ export declare const nonRecursiveDropdownSchema: z.ZodObject<z.objectUtil.extendShape<{
59
+ dropdown: z.ZodString;
59
60
  icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
60
61
  style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
61
62
  name: z.ZodEffects<z.ZodString, string, string>;
@@ -81,9 +82,9 @@ export declare const nonRecursiveDropdownSchema: z.ZodObject<{
81
82
  }>>;
82
83
  description: z.ZodOptional<z.ZodString>;
83
84
  hidden: z.ZodOptional<z.ZodBoolean>;
84
- dropdown: z.ZodString;
85
+ }, {
85
86
  href: z.ZodString;
86
- }, "strip", z.ZodTypeAny, {
87
+ }>, "strip", z.ZodTypeAny, {
87
88
  href: string;
88
89
  dropdown: string;
89
90
  icon?: string | {