@mintlify/prebuild 1.0.503 → 1.0.505

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.
@@ -211,6 +211,11 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
211
211
  links?: {
212
212
  href: string;
213
213
  label: string;
214
+ icon?: string | {
215
+ name: string;
216
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
217
+ library?: "fontawesome" | "lucide" | undefined;
218
+ } | undefined;
214
219
  }[] | undefined;
215
220
  primary?: {
216
221
  type: "button";
@@ -537,6 +542,11 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
537
542
  links?: {
538
543
  href: string;
539
544
  label: string;
545
+ icon?: string | {
546
+ name: string;
547
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
548
+ library?: "fontawesome" | "lucide" | undefined;
549
+ } | undefined;
540
550
  }[] | undefined;
541
551
  primary?: {
542
552
  type: "button";
@@ -863,6 +873,11 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
863
873
  links?: {
864
874
  href: string;
865
875
  label: string;
876
+ icon?: string | {
877
+ name: string;
878
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
879
+ library?: "fontawesome" | "lucide" | undefined;
880
+ } | undefined;
866
881
  }[] | undefined;
867
882
  primary?: {
868
883
  type: "button";
@@ -1189,6 +1204,11 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
1189
1204
  links?: {
1190
1205
  href: string;
1191
1206
  label: string;
1207
+ icon?: string | {
1208
+ name: string;
1209
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1210
+ library?: "fontawesome" | "lucide" | undefined;
1211
+ } | undefined;
1192
1212
  }[] | undefined;
1193
1213
  primary?: {
1194
1214
  type: "button";
@@ -1515,6 +1535,11 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
1515
1535
  links?: {
1516
1536
  href: string;
1517
1537
  label: string;
1538
+ icon?: string | {
1539
+ name: string;
1540
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1541
+ library?: "fontawesome" | "lucide" | undefined;
1542
+ } | undefined;
1518
1543
  }[] | undefined;
1519
1544
  primary?: {
1520
1545
  type: "button";
@@ -1841,6 +1866,11 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
1841
1866
  links?: {
1842
1867
  href: string;
1843
1868
  label: string;
1869
+ icon?: string | {
1870
+ name: string;
1871
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1872
+ library?: "fontawesome" | "lucide" | undefined;
1873
+ } | undefined;
1844
1874
  }[] | undefined;
1845
1875
  primary?: {
1846
1876
  type: "button";
@@ -2167,6 +2197,11 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
2167
2197
  links?: {
2168
2198
  href: string;
2169
2199
  label: string;
2200
+ icon?: string | {
2201
+ name: string;
2202
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
2203
+ library?: "fontawesome" | "lucide" | undefined;
2204
+ } | undefined;
2170
2205
  }[] | undefined;
2171
2206
  primary?: {
2172
2207
  type: "button";
@@ -74,6 +74,14 @@ export const generateOpenApiFromDocsConfig = async (navigation, openApiFiles, pa
74
74
  return processedNav;
75
75
  }
76
76
  let newNav = { ...nav };
77
+ if ('pages' in newNav) {
78
+ newNav.pages = await Promise.all(newNav.pages.map(async (page) => {
79
+ if (typeof page === 'object' && page !== null && 'group' in page) {
80
+ return processNav(page);
81
+ }
82
+ return page;
83
+ }));
84
+ }
77
85
  for (const division of ['groups', ...divisions]) {
78
86
  if (division in newNav) {
79
87
  const items = newNav[division];
@@ -205,6 +205,11 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
205
205
  links?: {
206
206
  href: string;
207
207
  label: string;
208
+ icon?: string | {
209
+ name: string;
210
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
211
+ library?: "fontawesome" | "lucide" | undefined;
212
+ } | undefined;
208
213
  }[] | undefined;
209
214
  primary?: {
210
215
  type: "button";
@@ -531,6 +536,11 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
531
536
  links?: {
532
537
  href: string;
533
538
  label: string;
539
+ icon?: string | {
540
+ name: string;
541
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
542
+ library?: "fontawesome" | "lucide" | undefined;
543
+ } | undefined;
534
544
  }[] | undefined;
535
545
  primary?: {
536
546
  type: "button";
@@ -857,6 +867,11 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
857
867
  links?: {
858
868
  href: string;
859
869
  label: string;
870
+ icon?: string | {
871
+ name: string;
872
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
873
+ library?: "fontawesome" | "lucide" | undefined;
874
+ } | undefined;
860
875
  }[] | undefined;
861
876
  primary?: {
862
877
  type: "button";
@@ -1183,6 +1198,11 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
1183
1198
  links?: {
1184
1199
  href: string;
1185
1200
  label: string;
1201
+ icon?: string | {
1202
+ name: string;
1203
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1204
+ library?: "fontawesome" | "lucide" | undefined;
1205
+ } | undefined;
1186
1206
  }[] | undefined;
1187
1207
  primary?: {
1188
1208
  type: "button";
@@ -1509,6 +1529,11 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
1509
1529
  links?: {
1510
1530
  href: string;
1511
1531
  label: string;
1532
+ icon?: string | {
1533
+ name: string;
1534
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1535
+ library?: "fontawesome" | "lucide" | undefined;
1536
+ } | undefined;
1512
1537
  }[] | undefined;
1513
1538
  primary?: {
1514
1539
  type: "button";
@@ -1835,6 +1860,11 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
1835
1860
  links?: {
1836
1861
  href: string;
1837
1862
  label: string;
1863
+ icon?: string | {
1864
+ name: string;
1865
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1866
+ library?: "fontawesome" | "lucide" | undefined;
1867
+ } | undefined;
1838
1868
  }[] | undefined;
1839
1869
  primary?: {
1840
1870
  type: "button";
@@ -2161,6 +2191,11 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
2161
2191
  links?: {
2162
2192
  href: string;
2163
2193
  label: string;
2194
+ icon?: string | {
2195
+ name: string;
2196
+ style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
2197
+ library?: "fontawesome" | "lucide" | undefined;
2198
+ } | undefined;
2164
2199
  }[] | undefined;
2165
2200
  primary?: {
2166
2201
  type: "button";