@mintlify/prebuild 1.0.429 → 1.0.431
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.
- package/dist/createPage/index.d.ts +1 -1
- package/dist/prebuild/categorizeFilePaths.d.ts +1 -1
- package/dist/prebuild/categorizeFilePaths.js +1 -1
- package/dist/prebuild/update/ConfigUpdater.d.ts +0 -10
- package/dist/prebuild/update/docsConfig/generateAsyncApiDivisions.d.ts +1 -1
- package/dist/prebuild/update/docsConfig/generateAsyncApiFromDocsConfig.d.ts +1 -1
- package/dist/prebuild/update/docsConfig/generateAsyncApiFromDocsConfig.js +1 -1
- package/dist/prebuild/update/docsConfig/index.d.ts +1 -1
- package/dist/prebuild/update/index.d.ts +1 -11
- package/dist/prebuild/update/read/getAsyncApiFilesFromConfig.d.ts +1 -1
- package/dist/prebuild/update/read/getAsyncApiFilesFromConfig.js +1 -1
- package/dist/prebuild/update/read/readContent.d.ts +1 -1
- package/dist/prebuild/update/resolveImportsAndWriteFiles.d.ts +1 -1
- package/dist/prebuild/update/write/writeAsyncApiFiles.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AsyncAPIFile } from '@mintlify/common
|
|
1
|
+
import { AsyncAPIFile } from '@mintlify/common';
|
|
2
2
|
import { OpenApiFile, DecoratedNavigationPage } from '@mintlify/models';
|
|
3
3
|
export declare const createPage: (pagePath: string, pageContent: string, contentDirectoryPath: string, openApiFiles: OpenApiFile[], asyncApiFiles: AsyncAPIFile[], suppressErrLog?: boolean) => Promise<{
|
|
4
4
|
pageMetadata: DecoratedNavigationPage;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AsyncAPIFile } from '@mintlify/common
|
|
1
|
+
import { AsyncAPIFile } from '@mintlify/common';
|
|
2
2
|
import { OpenApiFile } from '@mintlify/models';
|
|
3
3
|
export declare const categorizeFilePaths: (contentDirectoryPath: string) => Promise<{
|
|
4
4
|
contentFilenames: string[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openApiCheck } from '@mintlify/common';
|
|
2
|
-
import { validateAsyncApi } from '@mintlify/common
|
|
2
|
+
import { validateAsyncApi } from '@mintlify/common';
|
|
3
3
|
import { readFile } from 'fs/promises';
|
|
4
4
|
import yaml from 'js-yaml';
|
|
5
5
|
import * as path from 'path';
|
|
@@ -335,8 +335,6 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
|
|
|
335
335
|
errors?: {
|
|
336
336
|
"404": {
|
|
337
337
|
redirect: boolean;
|
|
338
|
-
title?: string | undefined;
|
|
339
|
-
description?: string | undefined;
|
|
340
338
|
};
|
|
341
339
|
} | undefined;
|
|
342
340
|
contextual?: {
|
|
@@ -659,8 +657,6 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
|
|
|
659
657
|
errors?: {
|
|
660
658
|
"404": {
|
|
661
659
|
redirect: boolean;
|
|
662
|
-
title?: string | undefined;
|
|
663
|
-
description?: string | undefined;
|
|
664
660
|
};
|
|
665
661
|
} | undefined;
|
|
666
662
|
contextual?: {
|
|
@@ -983,8 +979,6 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
|
|
|
983
979
|
errors?: {
|
|
984
980
|
"404": {
|
|
985
981
|
redirect: boolean;
|
|
986
|
-
title?: string | undefined;
|
|
987
|
-
description?: string | undefined;
|
|
988
982
|
};
|
|
989
983
|
} | undefined;
|
|
990
984
|
contextual?: {
|
|
@@ -1307,8 +1301,6 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
|
|
|
1307
1301
|
errors?: {
|
|
1308
1302
|
"404": {
|
|
1309
1303
|
redirect: boolean;
|
|
1310
|
-
title?: string | undefined;
|
|
1311
|
-
description?: string | undefined;
|
|
1312
1304
|
};
|
|
1313
1305
|
} | undefined;
|
|
1314
1306
|
contextual?: {
|
|
@@ -1631,8 +1623,6 @@ export declare const DocsConfigUpdater: ConfigUpdater<{
|
|
|
1631
1623
|
errors?: {
|
|
1632
1624
|
"404": {
|
|
1633
1625
|
redirect: boolean;
|
|
1634
|
-
title?: string | undefined;
|
|
1635
|
-
description?: string | undefined;
|
|
1636
1626
|
};
|
|
1637
1627
|
} | undefined;
|
|
1638
1628
|
contextual?: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AsyncAPIFile } from '@mintlify/common
|
|
1
|
+
import { AsyncAPIFile } from '@mintlify/common';
|
|
2
2
|
import { DecoratedNavigationPage } from '@mintlify/models';
|
|
3
3
|
import { DocsConfig } from '@mintlify/validation';
|
|
4
4
|
export declare const generateAsyncApiDivisions: (docsConfig: DocsConfig, asyncApiFiles: AsyncAPIFile[], targetDir?: string) => Promise<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AsyncAPIFile } from '@mintlify/common
|
|
1
|
+
import { AsyncAPIFile } from '@mintlify/common';
|
|
2
2
|
import type { DecoratedNavigationPage } from '@mintlify/models';
|
|
3
3
|
import { NavigationConfig } from '@mintlify/validation';
|
|
4
4
|
export declare const generateAsyncApiFromDocsConfig: (navigation: NavigationConfig, asyncApiFiles: AsyncAPIFile[], pagesAcc: Record<string, DecoratedNavigationPage>, opts: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { optionallyAddLeadingSlash } from '@mintlify/common';
|
|
2
|
-
import { getAsyncApiDocumentFromUrl } from '@mintlify/common
|
|
2
|
+
import { getAsyncApiDocumentFromUrl } from '@mintlify/common';
|
|
3
3
|
import { generateAsyncApiPagesForDocsConfig } from '@mintlify/scraping';
|
|
4
4
|
import { divisions } from '@mintlify/validation';
|
|
5
5
|
import * as path from 'path';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AsyncAPIFile } from '@mintlify/common
|
|
1
|
+
import { AsyncAPIFile } from '@mintlify/common';
|
|
2
2
|
import { OpenApiFile, DecoratedNavigationPage } from '@mintlify/models';
|
|
3
3
|
import { DocsConfig } from '@mintlify/validation';
|
|
4
4
|
export declare function updateDocsConfigFile(contentDirectoryPath: string, openApiFiles: OpenApiFile[], asyncApiFiles: AsyncAPIFile[], docsConfig?: DocsConfig): Promise<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AsyncAPIFile } from '@mintlify/common
|
|
1
|
+
import { AsyncAPIFile } from '@mintlify/common';
|
|
2
2
|
import type { OpenApiFile } from '@mintlify/models';
|
|
3
3
|
type UpdateArgs = {
|
|
4
4
|
contentDirectoryPath: string;
|
|
@@ -327,8 +327,6 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
|
|
|
327
327
|
errors?: {
|
|
328
328
|
"404": {
|
|
329
329
|
redirect: boolean;
|
|
330
|
-
title?: string | undefined;
|
|
331
|
-
description?: string | undefined;
|
|
332
330
|
};
|
|
333
331
|
} | undefined;
|
|
334
332
|
contextual?: {
|
|
@@ -651,8 +649,6 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
|
|
|
651
649
|
errors?: {
|
|
652
650
|
"404": {
|
|
653
651
|
redirect: boolean;
|
|
654
|
-
title?: string | undefined;
|
|
655
|
-
description?: string | undefined;
|
|
656
652
|
};
|
|
657
653
|
} | undefined;
|
|
658
654
|
contextual?: {
|
|
@@ -975,8 +971,6 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
|
|
|
975
971
|
errors?: {
|
|
976
972
|
"404": {
|
|
977
973
|
redirect: boolean;
|
|
978
|
-
title?: string | undefined;
|
|
979
|
-
description?: string | undefined;
|
|
980
974
|
};
|
|
981
975
|
} | undefined;
|
|
982
976
|
contextual?: {
|
|
@@ -1299,8 +1293,6 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
|
|
|
1299
1293
|
errors?: {
|
|
1300
1294
|
"404": {
|
|
1301
1295
|
redirect: boolean;
|
|
1302
|
-
title?: string | undefined;
|
|
1303
|
-
description?: string | undefined;
|
|
1304
1296
|
};
|
|
1305
1297
|
} | undefined;
|
|
1306
1298
|
contextual?: {
|
|
@@ -1623,8 +1615,6 @@ export declare const update: ({ contentDirectoryPath, staticFilenames, openApiFi
|
|
|
1623
1615
|
errors?: {
|
|
1624
1616
|
"404": {
|
|
1625
1617
|
redirect: boolean;
|
|
1626
|
-
title?: string | undefined;
|
|
1627
|
-
description?: string | undefined;
|
|
1628
1618
|
};
|
|
1629
1619
|
} | undefined;
|
|
1630
1620
|
contextual?: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getAsyncApiDocumentFromUrl } from '@mintlify/common
|
|
1
|
+
import { getAsyncApiDocumentFromUrl } from '@mintlify/common';
|
|
2
2
|
export const getAsyncApiFilesFromConfig = async (config) => {
|
|
3
3
|
const asyncApiConfig = config.api?.asyncapi;
|
|
4
4
|
const asyncApiFiles = [];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FileWithImports } from '@mintlify/common';
|
|
2
|
-
import { AsyncAPIFile } from '@mintlify/common
|
|
2
|
+
import { AsyncAPIFile } from '@mintlify/common';
|
|
3
3
|
import type { OpenApiFile, DecoratedNavigationPage } from '@mintlify/models';
|
|
4
4
|
type ReadPageContentsArgs = {
|
|
5
5
|
contentDirectoryPath: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FileType, FileWithImports } from '@mintlify/common';
|
|
2
|
-
import { AsyncAPIFile } from '@mintlify/common
|
|
2
|
+
import { AsyncAPIFile } from '@mintlify/common';
|
|
3
3
|
import type { OpenApiFile, DecoratedNavigationPage } from '@mintlify/models';
|
|
4
4
|
type ResolveImportsAndWriteFilesArgs = {
|
|
5
5
|
openApiFiles: OpenApiFile[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AsyncAPIFile } from '@mintlify/common
|
|
1
|
+
import { AsyncAPIFile } from '@mintlify/common';
|
|
2
2
|
export declare const writeAsyncApiFiles: (asyncApiFiles: AsyncAPIFile[]) => Promise<void>;
|