@mintlify/validation 0.1.403 → 0.1.405

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.
@@ -1137,11 +1137,178 @@ export declare const mapleConfigSchema: z.ZodObject<{
1137
1137
  };
1138
1138
  }>>;
1139
1139
  contextual: z.ZodOptional<z.ZodObject<{
1140
- options: z.ZodEffects<z.ZodArray<z.ZodEnum<["copy", "view", "chatgpt", "claude"]>, "many">, ("copy" | "view" | "chatgpt" | "claude")[], ("copy" | "view" | "chatgpt" | "claude")[]>;
1140
+ options: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["copy", "view", "chatgpt", "claude"]>, z.ZodObject<{
1141
+ title: z.ZodString;
1142
+ description: z.ZodString;
1143
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
1144
+ style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
1145
+ name: z.ZodEffects<z.ZodString, string, string>;
1146
+ library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
1147
+ }, "strip", z.ZodTypeAny, {
1148
+ name: string;
1149
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1150
+ library?: "fontawesome" | "lucide" | undefined;
1151
+ }, {
1152
+ name: string;
1153
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1154
+ library?: "fontawesome" | "lucide" | undefined;
1155
+ }>]>>;
1156
+ href: z.ZodUnion<[z.ZodString, z.ZodObject<{
1157
+ base: z.ZodString;
1158
+ query: z.ZodOptional<z.ZodArray<z.ZodObject<{
1159
+ key: z.ZodString;
1160
+ value: z.ZodUnion<[z.ZodEnum<["$page"]>, z.ZodString]>;
1161
+ }, "strip", z.ZodTypeAny, {
1162
+ value: string;
1163
+ key: string;
1164
+ }, {
1165
+ value: string;
1166
+ key: string;
1167
+ }>, "many">>;
1168
+ }, "strip", z.ZodTypeAny, {
1169
+ base: string;
1170
+ query?: {
1171
+ value: string;
1172
+ key: string;
1173
+ }[] | undefined;
1174
+ }, {
1175
+ base: string;
1176
+ query?: {
1177
+ value: string;
1178
+ key: string;
1179
+ }[] | undefined;
1180
+ }>]>;
1181
+ }, "strip", z.ZodTypeAny, {
1182
+ href: (string | {
1183
+ base: string;
1184
+ query?: {
1185
+ value: string;
1186
+ key: string;
1187
+ }[] | undefined;
1188
+ }) & (string | {
1189
+ base: string;
1190
+ query?: {
1191
+ value: string;
1192
+ key: string;
1193
+ }[] | undefined;
1194
+ } | undefined);
1195
+ title: string;
1196
+ description: string;
1197
+ icon?: string | {
1198
+ name: string;
1199
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1200
+ library?: "fontawesome" | "lucide" | undefined;
1201
+ } | undefined;
1202
+ }, {
1203
+ href: (string | {
1204
+ base: string;
1205
+ query?: {
1206
+ value: string;
1207
+ key: string;
1208
+ }[] | undefined;
1209
+ }) & (string | {
1210
+ base: string;
1211
+ query?: {
1212
+ value: string;
1213
+ key: string;
1214
+ }[] | undefined;
1215
+ } | undefined);
1216
+ title: string;
1217
+ description: string;
1218
+ icon?: string | {
1219
+ name: string;
1220
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1221
+ library?: "fontawesome" | "lucide" | undefined;
1222
+ } | undefined;
1223
+ }>]>, "many">, ("copy" | "view" | "chatgpt" | "claude" | {
1224
+ href: (string | {
1225
+ base: string;
1226
+ query?: {
1227
+ value: string;
1228
+ key: string;
1229
+ }[] | undefined;
1230
+ }) & (string | {
1231
+ base: string;
1232
+ query?: {
1233
+ value: string;
1234
+ key: string;
1235
+ }[] | undefined;
1236
+ } | undefined);
1237
+ title: string;
1238
+ description: string;
1239
+ icon?: string | {
1240
+ name: string;
1241
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1242
+ library?: "fontawesome" | "lucide" | undefined;
1243
+ } | undefined;
1244
+ })[], ("copy" | "view" | "chatgpt" | "claude" | {
1245
+ href: (string | {
1246
+ base: string;
1247
+ query?: {
1248
+ value: string;
1249
+ key: string;
1250
+ }[] | undefined;
1251
+ }) & (string | {
1252
+ base: string;
1253
+ query?: {
1254
+ value: string;
1255
+ key: string;
1256
+ }[] | undefined;
1257
+ } | undefined);
1258
+ title: string;
1259
+ description: string;
1260
+ icon?: string | {
1261
+ name: string;
1262
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1263
+ library?: "fontawesome" | "lucide" | undefined;
1264
+ } | undefined;
1265
+ })[]>;
1141
1266
  }, "strip", z.ZodTypeAny, {
1142
- options: ("copy" | "view" | "chatgpt" | "claude")[];
1267
+ options: ("copy" | "view" | "chatgpt" | "claude" | {
1268
+ href: (string | {
1269
+ base: string;
1270
+ query?: {
1271
+ value: string;
1272
+ key: string;
1273
+ }[] | undefined;
1274
+ }) & (string | {
1275
+ base: string;
1276
+ query?: {
1277
+ value: string;
1278
+ key: string;
1279
+ }[] | undefined;
1280
+ } | undefined);
1281
+ title: string;
1282
+ description: string;
1283
+ icon?: string | {
1284
+ name: string;
1285
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1286
+ library?: "fontawesome" | "lucide" | undefined;
1287
+ } | undefined;
1288
+ })[];
1143
1289
  }, {
1144
- options: ("copy" | "view" | "chatgpt" | "claude")[];
1290
+ options: ("copy" | "view" | "chatgpt" | "claude" | {
1291
+ href: (string | {
1292
+ base: string;
1293
+ query?: {
1294
+ value: string;
1295
+ key: string;
1296
+ }[] | undefined;
1297
+ }) & (string | {
1298
+ base: string;
1299
+ query?: {
1300
+ value: string;
1301
+ key: string;
1302
+ }[] | undefined;
1303
+ } | undefined);
1304
+ title: string;
1305
+ description: string;
1306
+ icon?: string | {
1307
+ name: string;
1308
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1309
+ library?: "fontawesome" | "lucide" | undefined;
1310
+ } | undefined;
1311
+ })[];
1145
1312
  }>>;
1146
1313
  thumbnails: z.ZodOptional<z.ZodObject<{
1147
1314
  appearance: z.ZodOptional<z.ZodEnum<[import("../properties/thumbnails.js").ThumbnailAppearance.Light, import("../properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
@@ -1489,7 +1656,28 @@ export declare const mapleConfigSchema: z.ZodObject<{
1489
1656
  };
1490
1657
  } | undefined;
1491
1658
  contextual?: {
1492
- options: ("copy" | "view" | "chatgpt" | "claude")[];
1659
+ options: ("copy" | "view" | "chatgpt" | "claude" | {
1660
+ href: (string | {
1661
+ base: string;
1662
+ query?: {
1663
+ value: string;
1664
+ key: string;
1665
+ }[] | undefined;
1666
+ }) & (string | {
1667
+ base: string;
1668
+ query?: {
1669
+ value: string;
1670
+ key: string;
1671
+ }[] | undefined;
1672
+ } | undefined);
1673
+ title: string;
1674
+ description: string;
1675
+ icon?: string | {
1676
+ name: string;
1677
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1678
+ library?: "fontawesome" | "lucide" | undefined;
1679
+ } | undefined;
1680
+ })[];
1493
1681
  } | undefined;
1494
1682
  thumbnails?: {
1495
1683
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
@@ -1830,7 +2018,28 @@ export declare const mapleConfigSchema: z.ZodObject<{
1830
2018
  };
1831
2019
  } | undefined;
1832
2020
  contextual?: {
1833
- options: ("copy" | "view" | "chatgpt" | "claude")[];
2021
+ options: ("copy" | "view" | "chatgpt" | "claude" | {
2022
+ href: (string | {
2023
+ base: string;
2024
+ query?: {
2025
+ value: string;
2026
+ key: string;
2027
+ }[] | undefined;
2028
+ }) & (string | {
2029
+ base: string;
2030
+ query?: {
2031
+ value: string;
2032
+ key: string;
2033
+ }[] | undefined;
2034
+ } | undefined);
2035
+ title: string;
2036
+ description: string;
2037
+ icon?: string | {
2038
+ name: string;
2039
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
2040
+ library?: "fontawesome" | "lucide" | undefined;
2041
+ } | undefined;
2042
+ })[];
1834
2043
  } | undefined;
1835
2044
  thumbnails?: {
1836
2045
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
@@ -1137,11 +1137,178 @@ export declare const mintConfigSchema: z.ZodObject<{
1137
1137
  };
1138
1138
  }>>;
1139
1139
  contextual: z.ZodOptional<z.ZodObject<{
1140
- options: z.ZodEffects<z.ZodArray<z.ZodEnum<["copy", "view", "chatgpt", "claude"]>, "many">, ("copy" | "view" | "chatgpt" | "claude")[], ("copy" | "view" | "chatgpt" | "claude")[]>;
1140
+ options: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodEnum<["copy", "view", "chatgpt", "claude"]>, z.ZodObject<{
1141
+ title: z.ZodString;
1142
+ description: z.ZodString;
1143
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
1144
+ style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
1145
+ name: z.ZodEffects<z.ZodString, string, string>;
1146
+ library: z.ZodOptional<z.ZodEnum<["fontawesome", "lucide"]>>;
1147
+ }, "strip", z.ZodTypeAny, {
1148
+ name: string;
1149
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1150
+ library?: "fontawesome" | "lucide" | undefined;
1151
+ }, {
1152
+ name: string;
1153
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1154
+ library?: "fontawesome" | "lucide" | undefined;
1155
+ }>]>>;
1156
+ href: z.ZodUnion<[z.ZodString, z.ZodObject<{
1157
+ base: z.ZodString;
1158
+ query: z.ZodOptional<z.ZodArray<z.ZodObject<{
1159
+ key: z.ZodString;
1160
+ value: z.ZodUnion<[z.ZodEnum<["$page"]>, z.ZodString]>;
1161
+ }, "strip", z.ZodTypeAny, {
1162
+ value: string;
1163
+ key: string;
1164
+ }, {
1165
+ value: string;
1166
+ key: string;
1167
+ }>, "many">>;
1168
+ }, "strip", z.ZodTypeAny, {
1169
+ base: string;
1170
+ query?: {
1171
+ value: string;
1172
+ key: string;
1173
+ }[] | undefined;
1174
+ }, {
1175
+ base: string;
1176
+ query?: {
1177
+ value: string;
1178
+ key: string;
1179
+ }[] | undefined;
1180
+ }>]>;
1181
+ }, "strip", z.ZodTypeAny, {
1182
+ href: (string | {
1183
+ base: string;
1184
+ query?: {
1185
+ value: string;
1186
+ key: string;
1187
+ }[] | undefined;
1188
+ }) & (string | {
1189
+ base: string;
1190
+ query?: {
1191
+ value: string;
1192
+ key: string;
1193
+ }[] | undefined;
1194
+ } | undefined);
1195
+ title: string;
1196
+ description: string;
1197
+ icon?: string | {
1198
+ name: string;
1199
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1200
+ library?: "fontawesome" | "lucide" | undefined;
1201
+ } | undefined;
1202
+ }, {
1203
+ href: (string | {
1204
+ base: string;
1205
+ query?: {
1206
+ value: string;
1207
+ key: string;
1208
+ }[] | undefined;
1209
+ }) & (string | {
1210
+ base: string;
1211
+ query?: {
1212
+ value: string;
1213
+ key: string;
1214
+ }[] | undefined;
1215
+ } | undefined);
1216
+ title: string;
1217
+ description: string;
1218
+ icon?: string | {
1219
+ name: string;
1220
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1221
+ library?: "fontawesome" | "lucide" | undefined;
1222
+ } | undefined;
1223
+ }>]>, "many">, ("copy" | "view" | "chatgpt" | "claude" | {
1224
+ href: (string | {
1225
+ base: string;
1226
+ query?: {
1227
+ value: string;
1228
+ key: string;
1229
+ }[] | undefined;
1230
+ }) & (string | {
1231
+ base: string;
1232
+ query?: {
1233
+ value: string;
1234
+ key: string;
1235
+ }[] | undefined;
1236
+ } | undefined);
1237
+ title: string;
1238
+ description: string;
1239
+ icon?: string | {
1240
+ name: string;
1241
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1242
+ library?: "fontawesome" | "lucide" | undefined;
1243
+ } | undefined;
1244
+ })[], ("copy" | "view" | "chatgpt" | "claude" | {
1245
+ href: (string | {
1246
+ base: string;
1247
+ query?: {
1248
+ value: string;
1249
+ key: string;
1250
+ }[] | undefined;
1251
+ }) & (string | {
1252
+ base: string;
1253
+ query?: {
1254
+ value: string;
1255
+ key: string;
1256
+ }[] | undefined;
1257
+ } | undefined);
1258
+ title: string;
1259
+ description: string;
1260
+ icon?: string | {
1261
+ name: string;
1262
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1263
+ library?: "fontawesome" | "lucide" | undefined;
1264
+ } | undefined;
1265
+ })[]>;
1141
1266
  }, "strip", z.ZodTypeAny, {
1142
- options: ("copy" | "view" | "chatgpt" | "claude")[];
1267
+ options: ("copy" | "view" | "chatgpt" | "claude" | {
1268
+ href: (string | {
1269
+ base: string;
1270
+ query?: {
1271
+ value: string;
1272
+ key: string;
1273
+ }[] | undefined;
1274
+ }) & (string | {
1275
+ base: string;
1276
+ query?: {
1277
+ value: string;
1278
+ key: string;
1279
+ }[] | undefined;
1280
+ } | undefined);
1281
+ title: string;
1282
+ description: string;
1283
+ icon?: string | {
1284
+ name: string;
1285
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1286
+ library?: "fontawesome" | "lucide" | undefined;
1287
+ } | undefined;
1288
+ })[];
1143
1289
  }, {
1144
- options: ("copy" | "view" | "chatgpt" | "claude")[];
1290
+ options: ("copy" | "view" | "chatgpt" | "claude" | {
1291
+ href: (string | {
1292
+ base: string;
1293
+ query?: {
1294
+ value: string;
1295
+ key: string;
1296
+ }[] | undefined;
1297
+ }) & (string | {
1298
+ base: string;
1299
+ query?: {
1300
+ value: string;
1301
+ key: string;
1302
+ }[] | undefined;
1303
+ } | undefined);
1304
+ title: string;
1305
+ description: string;
1306
+ icon?: string | {
1307
+ name: string;
1308
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1309
+ library?: "fontawesome" | "lucide" | undefined;
1310
+ } | undefined;
1311
+ })[];
1145
1312
  }>>;
1146
1313
  thumbnails: z.ZodOptional<z.ZodObject<{
1147
1314
  appearance: z.ZodOptional<z.ZodEnum<[import("../properties/thumbnails.js").ThumbnailAppearance.Light, import("../properties/thumbnails.js").ThumbnailAppearance.Dark]>>;
@@ -1489,7 +1656,28 @@ export declare const mintConfigSchema: z.ZodObject<{
1489
1656
  };
1490
1657
  } | undefined;
1491
1658
  contextual?: {
1492
- options: ("copy" | "view" | "chatgpt" | "claude")[];
1659
+ options: ("copy" | "view" | "chatgpt" | "claude" | {
1660
+ href: (string | {
1661
+ base: string;
1662
+ query?: {
1663
+ value: string;
1664
+ key: string;
1665
+ }[] | undefined;
1666
+ }) & (string | {
1667
+ base: string;
1668
+ query?: {
1669
+ value: string;
1670
+ key: string;
1671
+ }[] | undefined;
1672
+ } | undefined);
1673
+ title: string;
1674
+ description: string;
1675
+ icon?: string | {
1676
+ name: string;
1677
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1678
+ library?: "fontawesome" | "lucide" | undefined;
1679
+ } | undefined;
1680
+ })[];
1493
1681
  } | undefined;
1494
1682
  thumbnails?: {
1495
1683
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;
@@ -1830,7 +2018,28 @@ export declare const mintConfigSchema: z.ZodObject<{
1830
2018
  };
1831
2019
  } | undefined;
1832
2020
  contextual?: {
1833
- options: ("copy" | "view" | "chatgpt" | "claude")[];
2021
+ options: ("copy" | "view" | "chatgpt" | "claude" | {
2022
+ href: (string | {
2023
+ base: string;
2024
+ query?: {
2025
+ value: string;
2026
+ key: string;
2027
+ }[] | undefined;
2028
+ }) & (string | {
2029
+ base: string;
2030
+ query?: {
2031
+ value: string;
2032
+ key: string;
2033
+ }[] | undefined;
2034
+ } | undefined);
2035
+ title: string;
2036
+ description: string;
2037
+ icon?: string | {
2038
+ name: string;
2039
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
2040
+ library?: "fontawesome" | "lucide" | undefined;
2041
+ } | undefined;
2042
+ })[];
1834
2043
  } | undefined;
1835
2044
  thumbnails?: {
1836
2045
  appearance?: import("../properties/thumbnails.js").ThumbnailAppearance | undefined;