@mintlify/prebuild 1.0.430 → 1.0.432
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/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 -1
- 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';
|
|
@@ -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 { 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>;
|