@mintlify/prebuild 1.0.601 → 1.0.603

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.
@@ -52,6 +52,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
52
52
  directory?: string | undefined;
53
53
  } | undefined);
54
54
  group: string;
55
+ pages: any[];
55
56
  icon?: string | {
56
57
  name: string;
57
58
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -63,6 +64,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
63
64
  root?: string | undefined;
64
65
  } | {
65
66
  group: string;
67
+ pages: any[];
66
68
  asyncapi: (string | string[] | {
67
69
  source: string;
68
70
  directory?: string | undefined;
@@ -121,6 +123,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
121
123
  directory?: string | undefined;
122
124
  } | undefined);
123
125
  group: string;
126
+ pages: any[];
124
127
  icon?: string | {
125
128
  name: string;
126
129
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -132,6 +135,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
132
135
  root?: string | undefined;
133
136
  } | {
134
137
  group: string;
138
+ pages: any[];
135
139
  asyncapi: (string | string[] | {
136
140
  source: string;
137
141
  directory?: string | undefined;
@@ -420,6 +424,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
420
424
  directory?: string | undefined;
421
425
  } | undefined);
422
426
  group: string;
427
+ pages: any[];
423
428
  icon?: string | {
424
429
  name: string;
425
430
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -431,6 +436,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
431
436
  root?: string | undefined;
432
437
  } | {
433
438
  group: string;
439
+ pages: any[];
434
440
  asyncapi: (string | string[] | {
435
441
  source: string;
436
442
  directory?: string | undefined;
@@ -489,6 +495,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
489
495
  directory?: string | undefined;
490
496
  } | undefined);
491
497
  group: string;
498
+ pages: any[];
492
499
  icon?: string | {
493
500
  name: string;
494
501
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -500,6 +507,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
500
507
  root?: string | undefined;
501
508
  } | {
502
509
  group: string;
510
+ pages: any[];
503
511
  asyncapi: (string | string[] | {
504
512
  source: string;
505
513
  directory?: string | undefined;
@@ -788,6 +796,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
788
796
  directory?: string | undefined;
789
797
  } | undefined);
790
798
  group: string;
799
+ pages: any[];
791
800
  icon?: string | {
792
801
  name: string;
793
802
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -799,6 +808,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
799
808
  root?: string | undefined;
800
809
  } | {
801
810
  group: string;
811
+ pages: any[];
802
812
  asyncapi: (string | string[] | {
803
813
  source: string;
804
814
  directory?: string | undefined;
@@ -857,6 +867,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
857
867
  directory?: string | undefined;
858
868
  } | undefined);
859
869
  group: string;
870
+ pages: any[];
860
871
  icon?: string | {
861
872
  name: string;
862
873
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -868,6 +879,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
868
879
  root?: string | undefined;
869
880
  } | {
870
881
  group: string;
882
+ pages: any[];
871
883
  asyncapi: (string | string[] | {
872
884
  source: string;
873
885
  directory?: string | undefined;
@@ -1156,6 +1168,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
1156
1168
  directory?: string | undefined;
1157
1169
  } | undefined);
1158
1170
  group: string;
1171
+ pages: any[];
1159
1172
  icon?: string | {
1160
1173
  name: string;
1161
1174
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -1167,6 +1180,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
1167
1180
  root?: string | undefined;
1168
1181
  } | {
1169
1182
  group: string;
1183
+ pages: any[];
1170
1184
  asyncapi: (string | string[] | {
1171
1185
  source: string;
1172
1186
  directory?: string | undefined;
@@ -1225,6 +1239,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
1225
1239
  directory?: string | undefined;
1226
1240
  } | undefined);
1227
1241
  group: string;
1242
+ pages: any[];
1228
1243
  icon?: string | {
1229
1244
  name: string;
1230
1245
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -1236,6 +1251,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
1236
1251
  root?: string | undefined;
1237
1252
  } | {
1238
1253
  group: string;
1254
+ pages: any[];
1239
1255
  asyncapi: (string | string[] | {
1240
1256
  source: string;
1241
1257
  directory?: string | undefined;
@@ -1524,6 +1540,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
1524
1540
  directory?: string | undefined;
1525
1541
  } | undefined);
1526
1542
  group: string;
1543
+ pages: any[];
1527
1544
  icon?: string | {
1528
1545
  name: string;
1529
1546
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -1535,6 +1552,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
1535
1552
  root?: string | undefined;
1536
1553
  } | {
1537
1554
  group: string;
1555
+ pages: any[];
1538
1556
  asyncapi: (string | string[] | {
1539
1557
  source: string;
1540
1558
  directory?: string | undefined;
@@ -1593,6 +1611,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
1593
1611
  directory?: string | undefined;
1594
1612
  } | undefined);
1595
1613
  group: string;
1614
+ pages: any[];
1596
1615
  icon?: string | {
1597
1616
  name: string;
1598
1617
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -1604,6 +1623,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
1604
1623
  root?: string | undefined;
1605
1624
  } | {
1606
1625
  group: string;
1626
+ pages: any[];
1607
1627
  asyncapi: (string | string[] | {
1608
1628
  source: string;
1609
1629
  directory?: string | undefined;
@@ -1892,6 +1912,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
1892
1912
  directory?: string | undefined;
1893
1913
  } | undefined);
1894
1914
  group: string;
1915
+ pages: any[];
1895
1916
  icon?: string | {
1896
1917
  name: string;
1897
1918
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -1903,6 +1924,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
1903
1924
  root?: string | undefined;
1904
1925
  } | {
1905
1926
  group: string;
1927
+ pages: any[];
1906
1928
  asyncapi: (string | string[] | {
1907
1929
  source: string;
1908
1930
  directory?: string | undefined;
@@ -1961,6 +1983,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
1961
1983
  directory?: string | undefined;
1962
1984
  } | undefined);
1963
1985
  group: string;
1986
+ pages: any[];
1964
1987
  icon?: string | {
1965
1988
  name: string;
1966
1989
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -1972,6 +1995,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
1972
1995
  root?: string | undefined;
1973
1996
  } | {
1974
1997
  group: string;
1998
+ pages: any[];
1975
1999
  asyncapi: (string | string[] | {
1976
2000
  source: string;
1977
2001
  directory?: string | undefined;
@@ -2260,6 +2284,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
2260
2284
  directory?: string | undefined;
2261
2285
  } | undefined);
2262
2286
  group: string;
2287
+ pages: any[];
2263
2288
  icon?: string | {
2264
2289
  name: string;
2265
2290
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -2271,6 +2296,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
2271
2296
  root?: string | undefined;
2272
2297
  } | {
2273
2298
  group: string;
2299
+ pages: any[];
2274
2300
  asyncapi: (string | string[] | {
2275
2301
  source: string;
2276
2302
  directory?: string | undefined;
@@ -2329,6 +2355,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
2329
2355
  directory?: string | undefined;
2330
2356
  } | undefined);
2331
2357
  group: string;
2358
+ pages: any[];
2332
2359
  icon?: string | {
2333
2360
  name: string;
2334
2361
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -2340,6 +2367,7 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
2340
2367
  root?: string | undefined;
2341
2368
  } | {
2342
2369
  group: string;
2370
+ pages: any[];
2343
2371
  asyncapi: (string | string[] | {
2344
2372
  source: string;
2345
2373
  directory?: string | undefined;
@@ -1,6 +1,8 @@
1
- import { getOpenApiDocumentFromUrl, optionallyAddLeadingSlash, isAllowedLocalSchemaUrl, } from '@mintlify/common';
1
+ import { getOpenApiDocumentFromUrl, optionallyAddLeadingSlash, isAllowedLocalSchemaUrl, potentiallyParseOpenApiString, } from '@mintlify/common';
2
2
  import { generateOpenApiPagesForDocsConfig } from '@mintlify/scraping';
3
- import { divisions } from '@mintlify/validation';
3
+ import { findNavGroup } from '@mintlify/scraping/bin/apiPages/common.js';
4
+ import { processOpenApiPath } from '@mintlify/scraping/bin/openapi/common.js';
5
+ import { divisions, } from '@mintlify/validation';
4
6
  import * as path from 'path';
5
7
  const DEFAULT_OUTPUT_DIR = 'api-reference';
6
8
  export const generateOpenApiFromDocsConfig = async (navigation, openApiFiles, pagesAcc, opts) => {
@@ -68,16 +70,100 @@ export const generateOpenApiFromDocsConfig = async (navigation, openApiFiles, pa
68
70
  }
69
71
  return null;
70
72
  }
71
- async function processNav(nav) {
72
- const processedNav = await processOpenApiInNav(nav);
73
- if (processedNav) {
74
- return processedNav;
73
+ function extractOpenApiFromNav(nav) {
74
+ if ('openapi' in nav && nav.openapi !== null) {
75
+ const openapiProp = nav.openapi;
76
+ if (typeof openapiProp === 'string') {
77
+ return openapiProp;
78
+ }
79
+ else if (Array.isArray(openapiProp) && openapiProp.length > 0) {
80
+ return openapiProp[0];
81
+ }
82
+ else if (typeof openapiProp === 'object' &&
83
+ 'source' in openapiProp &&
84
+ typeof openapiProp.source === 'string') {
85
+ return openapiProp.source;
86
+ }
75
87
  }
76
- let newNav = { ...nav };
88
+ return undefined;
89
+ }
90
+ const skipBulkForNode = new Set();
91
+ async function processNav(nav, inheritedOpenApi, openApiOwner) {
92
+ const currentOpenApi = extractOpenApiFromNav(nav) ?? inheritedOpenApi;
93
+ const currentOpenApiOwner = extractOpenApiFromNav(nav) ? nav : openApiOwner;
94
+ let newNav = nav;
77
95
  if ('pages' in newNav) {
78
96
  newNav.pages = await Promise.all(newNav.pages.map(async (page) => {
79
97
  if (typeof page === 'object' && page !== null && 'group' in page) {
80
- return processNav(page);
98
+ return processNav(page, currentOpenApi, currentOpenApiOwner);
99
+ }
100
+ if (typeof page !== 'string') {
101
+ return page;
102
+ }
103
+ const parsed = potentiallyParseOpenApiString(page);
104
+ if (parsed) {
105
+ const { filename: explicitOpenapiPath, method, endpoint } = parsed;
106
+ const openapiPath = explicitOpenapiPath ?? currentOpenApi;
107
+ if (!openapiPath) {
108
+ }
109
+ else {
110
+ let openApiFile;
111
+ if (openapiPath) {
112
+ if (isAllowedLocalSchemaUrl(openapiPath, localSchema)) {
113
+ openApiFile = await createOpenApiFile(openapiPath);
114
+ newOpenApiFiles.push(openApiFile);
115
+ }
116
+ else {
117
+ openApiFile = openApiFiles.find((file) => file.originalFileLocation != undefined &&
118
+ file.originalFileLocation === optionallyAddLeadingSlash(openapiPath));
119
+ }
120
+ }
121
+ if (!openApiFile) {
122
+ throw new Error(`Openapi file ${openapiPath} referenced in docs.json does not exist`);
123
+ }
124
+ const schema = openApiFile.spec;
125
+ const pathItemObject = (schema.paths ?? {})[endpoint];
126
+ if (!pathItemObject || typeof pathItemObject !== 'object') {
127
+ throw new Error(`Endpoint ${endpoint} not found in ${openapiPath}`);
128
+ }
129
+ const opObject = pathItemObject[method.toLowerCase()];
130
+ if (!opObject) {
131
+ throw new Error(`Method ${method.toUpperCase()} for endpoint ${endpoint} not found in ${openapiPath}`);
132
+ }
133
+ const tempNav = [];
134
+ const tempDecoratedNav = [];
135
+ const writePromises = [];
136
+ processOpenApiPath(endpoint, { [method.toLowerCase()]: opObject }, schema, tempNav, tempDecoratedNav, writePromises, pagesAcc, {
137
+ openApiFilePath: openApiFile.originalFileLocation,
138
+ writeFiles,
139
+ outDir: DEFAULT_OUTPUT_DIR,
140
+ outDirBasePath: path.join(targetDir ?? '', 'src', '_props'),
141
+ overwrite,
142
+ localSchema,
143
+ }, findNavGroup);
144
+ await Promise.all(writePromises);
145
+ let slug;
146
+ const firstEntry = tempNav[0];
147
+ if (firstEntry &&
148
+ typeof firstEntry === 'object' &&
149
+ 'pages' in firstEntry &&
150
+ Array.isArray(firstEntry.pages) &&
151
+ firstEntry.pages.length > 0) {
152
+ slug = firstEntry.pages[0];
153
+ }
154
+ else if (typeof firstEntry === 'string') {
155
+ slug = firstEntry;
156
+ }
157
+ else {
158
+ slug = Object.keys(pagesAcc).pop();
159
+ }
160
+ if (!slug) {
161
+ throw new Error('Failed to generate OpenAPI endpoint page');
162
+ }
163
+ if (currentOpenApiOwner)
164
+ skipBulkForNode.add(currentOpenApiOwner);
165
+ return slug;
166
+ }
81
167
  }
82
168
  return page;
83
169
  }));
@@ -87,13 +173,40 @@ export const generateOpenApiFromDocsConfig = async (navigation, openApiFiles, pa
87
173
  const items = newNav[division];
88
174
  newNav = {
89
175
  ...newNav,
90
- [division]: await Promise.all(items.map((item) => processNav(item))),
176
+ [division]: await Promise.all(items.map((item) => processNav(item, currentOpenApi, currentOpenApiOwner))),
91
177
  };
92
178
  }
93
179
  }
94
180
  return newNav;
95
181
  }
96
- const processedNavigation = await processNav(navigation);
182
+ const navAfterExplicit = await processNav(navigation, undefined);
183
+ async function generateBulkNav(node) {
184
+ let updated = node;
185
+ if (extractOpenApiFromNav(updated) && !skipBulkForNode.has(updated)) {
186
+ const processed = await processOpenApiInNav(updated);
187
+ if (processed)
188
+ updated = processed;
189
+ }
190
+ if ('pages' in updated) {
191
+ updated.pages = await Promise.all(updated.pages.map(async (p) => {
192
+ if (typeof p === 'object' && p !== null && 'group' in p) {
193
+ return generateBulkNav(p);
194
+ }
195
+ return p;
196
+ }));
197
+ }
198
+ for (const division of ['groups', ...divisions]) {
199
+ if (division in updated) {
200
+ const items = updated[division];
201
+ updated = {
202
+ ...updated,
203
+ [division]: await Promise.all(items.map((child) => generateBulkNav(child))),
204
+ };
205
+ }
206
+ }
207
+ return updated;
208
+ }
209
+ const processedNavigation = await generateBulkNav(navAfterExplicit);
97
210
  navigation = processedNavigation;
98
211
  return {
99
212
  newNav: processedNavigation,
@@ -47,6 +47,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
47
47
  directory?: string | undefined;
48
48
  } | undefined);
49
49
  group: string;
50
+ pages: any[];
50
51
  icon?: string | {
51
52
  name: string;
52
53
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -58,6 +59,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
58
59
  root?: string | undefined;
59
60
  } | {
60
61
  group: string;
62
+ pages: any[];
61
63
  asyncapi: (string | string[] | {
62
64
  source: string;
63
65
  directory?: string | undefined;
@@ -116,6 +118,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
116
118
  directory?: string | undefined;
117
119
  } | undefined);
118
120
  group: string;
121
+ pages: any[];
119
122
  icon?: string | {
120
123
  name: string;
121
124
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -127,6 +130,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
127
130
  root?: string | undefined;
128
131
  } | {
129
132
  group: string;
133
+ pages: any[];
130
134
  asyncapi: (string | string[] | {
131
135
  source: string;
132
136
  directory?: string | undefined;
@@ -415,6 +419,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
415
419
  directory?: string | undefined;
416
420
  } | undefined);
417
421
  group: string;
422
+ pages: any[];
418
423
  icon?: string | {
419
424
  name: string;
420
425
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -426,6 +431,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
426
431
  root?: string | undefined;
427
432
  } | {
428
433
  group: string;
434
+ pages: any[];
429
435
  asyncapi: (string | string[] | {
430
436
  source: string;
431
437
  directory?: string | undefined;
@@ -484,6 +490,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
484
490
  directory?: string | undefined;
485
491
  } | undefined);
486
492
  group: string;
493
+ pages: any[];
487
494
  icon?: string | {
488
495
  name: string;
489
496
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -495,6 +502,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
495
502
  root?: string | undefined;
496
503
  } | {
497
504
  group: string;
505
+ pages: any[];
498
506
  asyncapi: (string | string[] | {
499
507
  source: string;
500
508
  directory?: string | undefined;
@@ -783,6 +791,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
783
791
  directory?: string | undefined;
784
792
  } | undefined);
785
793
  group: string;
794
+ pages: any[];
786
795
  icon?: string | {
787
796
  name: string;
788
797
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -794,6 +803,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
794
803
  root?: string | undefined;
795
804
  } | {
796
805
  group: string;
806
+ pages: any[];
797
807
  asyncapi: (string | string[] | {
798
808
  source: string;
799
809
  directory?: string | undefined;
@@ -852,6 +862,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
852
862
  directory?: string | undefined;
853
863
  } | undefined);
854
864
  group: string;
865
+ pages: any[];
855
866
  icon?: string | {
856
867
  name: string;
857
868
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -863,6 +874,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
863
874
  root?: string | undefined;
864
875
  } | {
865
876
  group: string;
877
+ pages: any[];
866
878
  asyncapi: (string | string[] | {
867
879
  source: string;
868
880
  directory?: string | undefined;
@@ -1151,6 +1163,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
1151
1163
  directory?: string | undefined;
1152
1164
  } | undefined);
1153
1165
  group: string;
1166
+ pages: any[];
1154
1167
  icon?: string | {
1155
1168
  name: string;
1156
1169
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -1162,6 +1175,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
1162
1175
  root?: string | undefined;
1163
1176
  } | {
1164
1177
  group: string;
1178
+ pages: any[];
1165
1179
  asyncapi: (string | string[] | {
1166
1180
  source: string;
1167
1181
  directory?: string | undefined;
@@ -1220,6 +1234,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
1220
1234
  directory?: string | undefined;
1221
1235
  } | undefined);
1222
1236
  group: string;
1237
+ pages: any[];
1223
1238
  icon?: string | {
1224
1239
  name: string;
1225
1240
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -1231,6 +1246,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
1231
1246
  root?: string | undefined;
1232
1247
  } | {
1233
1248
  group: string;
1249
+ pages: any[];
1234
1250
  asyncapi: (string | string[] | {
1235
1251
  source: string;
1236
1252
  directory?: string | undefined;
@@ -1519,6 +1535,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
1519
1535
  directory?: string | undefined;
1520
1536
  } | undefined);
1521
1537
  group: string;
1538
+ pages: any[];
1522
1539
  icon?: string | {
1523
1540
  name: string;
1524
1541
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -1530,6 +1547,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
1530
1547
  root?: string | undefined;
1531
1548
  } | {
1532
1549
  group: string;
1550
+ pages: any[];
1533
1551
  asyncapi: (string | string[] | {
1534
1552
  source: string;
1535
1553
  directory?: string | undefined;
@@ -1588,6 +1606,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
1588
1606
  directory?: string | undefined;
1589
1607
  } | undefined);
1590
1608
  group: string;
1609
+ pages: any[];
1591
1610
  icon?: string | {
1592
1611
  name: string;
1593
1612
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -1599,6 +1618,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
1599
1618
  root?: string | undefined;
1600
1619
  } | {
1601
1620
  group: string;
1621
+ pages: any[];
1602
1622
  asyncapi: (string | string[] | {
1603
1623
  source: string;
1604
1624
  directory?: string | undefined;
@@ -1887,6 +1907,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
1887
1907
  directory?: string | undefined;
1888
1908
  } | undefined);
1889
1909
  group: string;
1910
+ pages: any[];
1890
1911
  icon?: string | {
1891
1912
  name: string;
1892
1913
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -1898,6 +1919,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
1898
1919
  root?: string | undefined;
1899
1920
  } | {
1900
1921
  group: string;
1922
+ pages: any[];
1901
1923
  asyncapi: (string | string[] | {
1902
1924
  source: string;
1903
1925
  directory?: string | undefined;
@@ -1956,6 +1978,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
1956
1978
  directory?: string | undefined;
1957
1979
  } | undefined);
1958
1980
  group: string;
1981
+ pages: any[];
1959
1982
  icon?: string | {
1960
1983
  name: string;
1961
1984
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -1967,6 +1990,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
1967
1990
  root?: string | undefined;
1968
1991
  } | {
1969
1992
  group: string;
1993
+ pages: any[];
1970
1994
  asyncapi: (string | string[] | {
1971
1995
  source: string;
1972
1996
  directory?: string | undefined;
@@ -2255,6 +2279,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
2255
2279
  directory?: string | undefined;
2256
2280
  } | undefined);
2257
2281
  group: string;
2282
+ pages: any[];
2258
2283
  icon?: string | {
2259
2284
  name: string;
2260
2285
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -2266,6 +2291,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
2266
2291
  root?: string | undefined;
2267
2292
  } | {
2268
2293
  group: string;
2294
+ pages: any[];
2269
2295
  asyncapi: (string | string[] | {
2270
2296
  source: string;
2271
2297
  directory?: string | undefined;
@@ -2324,6 +2350,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
2324
2350
  directory?: string | undefined;
2325
2351
  } | undefined);
2326
2352
  group: string;
2353
+ pages: any[];
2327
2354
  icon?: string | {
2328
2355
  name: string;
2329
2356
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
@@ -2335,6 +2362,7 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
2335
2362
  root?: string | undefined;
2336
2363
  } | {
2337
2364
  group: string;
2365
+ pages: any[];
2338
2366
  asyncapi: (string | string[] | {
2339
2367
  source: string;
2340
2368
  directory?: string | undefined;