@mintlify/validation 0.1.376 → 0.1.377

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.
@@ -223,13 +223,36 @@ export declare const willowConfigSchema: z.ZodObject<{
223
223
  navbar: z.ZodOptional<z.ZodObject<{
224
224
  links: z.ZodOptional<z.ZodArray<z.ZodObject<{
225
225
  label: z.ZodString;
226
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
227
+ style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
228
+ name: z.ZodEffects<z.ZodString, string, string>;
229
+ library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
230
+ }, "strip", z.ZodTypeAny, {
231
+ name: string;
232
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
233
+ library?: "fontawesome" | "lucide" | undefined;
234
+ }, {
235
+ name: string;
236
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
237
+ library?: "fontawesome" | "lucide" | undefined;
238
+ }>]>>;
226
239
  href: z.ZodString;
227
240
  }, "strip", z.ZodTypeAny, {
228
241
  href: string;
229
242
  label: string;
243
+ icon?: string | {
244
+ name: string;
245
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
246
+ library?: "fontawesome" | "lucide" | undefined;
247
+ } | undefined;
230
248
  }, {
231
249
  href: string;
232
250
  label: string;
251
+ icon?: string | {
252
+ name: string;
253
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
254
+ library?: "fontawesome" | "lucide" | undefined;
255
+ } | undefined;
233
256
  }>, "many">>;
234
257
  primary: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
235
258
  type: z.ZodLiteral<"button">;
@@ -257,6 +280,11 @@ export declare const willowConfigSchema: z.ZodObject<{
257
280
  links?: {
258
281
  href: string;
259
282
  label: string;
283
+ icon?: string | {
284
+ name: string;
285
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
286
+ library?: "fontawesome" | "lucide" | undefined;
287
+ } | undefined;
260
288
  }[] | undefined;
261
289
  primary?: {
262
290
  type: "button";
@@ -270,6 +298,11 @@ export declare const willowConfigSchema: z.ZodObject<{
270
298
  links?: {
271
299
  href: string;
272
300
  label: string;
301
+ icon?: string | {
302
+ name: string;
303
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
304
+ library?: "fontawesome" | "lucide" | undefined;
305
+ } | undefined;
273
306
  }[] | undefined;
274
307
  primary?: {
275
308
  type: "button";
@@ -1289,6 +1322,11 @@ export declare const willowConfigSchema: z.ZodObject<{
1289
1322
  links?: {
1290
1323
  href: string;
1291
1324
  label: string;
1325
+ icon?: string | {
1326
+ name: string;
1327
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1328
+ library?: "fontawesome" | "lucide" | undefined;
1329
+ } | undefined;
1292
1330
  }[] | undefined;
1293
1331
  primary?: {
1294
1332
  type: "button";
@@ -1615,6 +1653,11 @@ export declare const willowConfigSchema: z.ZodObject<{
1615
1653
  links?: {
1616
1654
  href: string;
1617
1655
  label: string;
1656
+ icon?: string | {
1657
+ name: string;
1658
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1659
+ library?: "fontawesome" | "lucide" | undefined;
1660
+ } | undefined;
1618
1661
  }[] | undefined;
1619
1662
  primary?: {
1620
1663
  type: "button";
@@ -669,6 +669,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
669
669
  links?: {
670
670
  href: string;
671
671
  label: string;
672
+ icon?: string | {
673
+ name: string;
674
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
675
+ library?: "fontawesome" | "lucide" | undefined;
676
+ } | undefined;
672
677
  }[] | undefined;
673
678
  primary?: {
674
679
  type: "button";
@@ -995,6 +1000,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
995
1000
  links?: {
996
1001
  href: string;
997
1002
  label: string;
1003
+ icon?: string | {
1004
+ name: string;
1005
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1006
+ library?: "fontawesome" | "lucide" | undefined;
1007
+ } | undefined;
998
1008
  }[] | undefined;
999
1009
  primary?: {
1000
1010
  type: "button";
@@ -1321,6 +1331,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
1321
1331
  links?: {
1322
1332
  href: string;
1323
1333
  label: string;
1334
+ icon?: string | {
1335
+ name: string;
1336
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1337
+ library?: "fontawesome" | "lucide" | undefined;
1338
+ } | undefined;
1324
1339
  }[] | undefined;
1325
1340
  primary?: {
1326
1341
  type: "button";
@@ -1647,6 +1662,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
1647
1662
  links?: {
1648
1663
  href: string;
1649
1664
  label: string;
1665
+ icon?: string | {
1666
+ name: string;
1667
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1668
+ library?: "fontawesome" | "lucide" | undefined;
1669
+ } | undefined;
1650
1670
  }[] | undefined;
1651
1671
  primary?: {
1652
1672
  type: "button";
@@ -1973,6 +1993,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
1973
1993
  links?: {
1974
1994
  href: string;
1975
1995
  label: string;
1996
+ icon?: string | {
1997
+ name: string;
1998
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1999
+ library?: "fontawesome" | "lucide" | undefined;
2000
+ } | undefined;
1976
2001
  }[] | undefined;
1977
2002
  primary?: {
1978
2003
  type: "button";
@@ -2299,6 +2324,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2299
2324
  links?: {
2300
2325
  href: string;
2301
2326
  label: string;
2327
+ icon?: string | {
2328
+ name: string;
2329
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
2330
+ library?: "fontawesome" | "lucide" | undefined;
2331
+ } | undefined;
2302
2332
  }[] | undefined;
2303
2333
  primary?: {
2304
2334
  type: "button";
@@ -2625,6 +2655,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2625
2655
  links?: {
2626
2656
  href: string;
2627
2657
  label: string;
2658
+ icon?: string | {
2659
+ name: string;
2660
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
2661
+ library?: "fontawesome" | "lucide" | undefined;
2662
+ } | undefined;
2628
2663
  }[] | undefined;
2629
2664
  primary?: {
2630
2665
  type: "button";
@@ -2954,6 +2989,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2954
2989
  links?: {
2955
2990
  href: string;
2956
2991
  label: string;
2992
+ icon?: string | {
2993
+ name: string;
2994
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
2995
+ library?: "fontawesome" | "lucide" | undefined;
2996
+ } | undefined;
2957
2997
  }[] | undefined;
2958
2998
  primary?: {
2959
2999
  type: "button";
@@ -3280,6 +3320,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
3280
3320
  links?: {
3281
3321
  href: string;
3282
3322
  label: string;
3323
+ icon?: string | {
3324
+ name: string;
3325
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
3326
+ library?: "fontawesome" | "lucide" | undefined;
3327
+ } | undefined;
3283
3328
  }[] | undefined;
3284
3329
  primary?: {
3285
3330
  type: "button";
@@ -3606,6 +3651,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
3606
3651
  links?: {
3607
3652
  href: string;
3608
3653
  label: string;
3654
+ icon?: string | {
3655
+ name: string;
3656
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
3657
+ library?: "fontawesome" | "lucide" | undefined;
3658
+ } | undefined;
3609
3659
  }[] | undefined;
3610
3660
  primary?: {
3611
3661
  type: "button";
@@ -3932,6 +3982,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
3932
3982
  links?: {
3933
3983
  href: string;
3934
3984
  label: string;
3985
+ icon?: string | {
3986
+ name: string;
3987
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
3988
+ library?: "fontawesome" | "lucide" | undefined;
3989
+ } | undefined;
3935
3990
  }[] | undefined;
3936
3991
  primary?: {
3937
3992
  type: "button";
@@ -4258,6 +4313,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4258
4313
  links?: {
4259
4314
  href: string;
4260
4315
  label: string;
4316
+ icon?: string | {
4317
+ name: string;
4318
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
4319
+ library?: "fontawesome" | "lucide" | undefined;
4320
+ } | undefined;
4261
4321
  }[] | undefined;
4262
4322
  primary?: {
4263
4323
  type: "button";
@@ -4584,6 +4644,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4584
4644
  links?: {
4585
4645
  href: string;
4586
4646
  label: string;
4647
+ icon?: string | {
4648
+ name: string;
4649
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
4650
+ library?: "fontawesome" | "lucide" | undefined;
4651
+ } | undefined;
4587
4652
  }[] | undefined;
4588
4653
  primary?: {
4589
4654
  type: "button";
@@ -4910,6 +4975,11 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4910
4975
  links?: {
4911
4976
  href: string;
4912
4977
  label: string;
4978
+ icon?: string | {
4979
+ name: string;
4980
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
4981
+ library?: "fontawesome" | "lucide" | undefined;
4982
+ } | undefined;
4913
4983
  }[] | undefined;
4914
4984
  primary?: {
4915
4985
  type: "button";