@mintlify/validation 0.1.31 → 0.1.32
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/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/{schemas → mint-config/schemas}/anchorColors.d.ts +1 -1
- package/dist/{schemas → mint-config/schemas}/colors.d.ts +1 -1
- package/dist/mint-config/types/analytics.d.ts +3 -0
- package/dist/mint-config/types/anchors.d.ts +3 -0
- package/dist/mint-config/types/colors.d.ts +3 -0
- package/dist/mint-config/types/config.d.ts +3 -0
- package/dist/mint-config/types/versions.d.ts +3 -0
- package/dist/mint-config/validateAnchorsWarnings.d.ts +4 -0
- package/dist/{utils → mint-config}/validateVersionsInNavigation.d.ts +3 -3
- package/dist/{utils → openapi}/convertOpenApi.d.ts +1 -1
- package/package.json +2 -2
- package/dist/types/analytics.d.ts +0 -3
- package/dist/types/anchors.d.ts +0 -3
- package/dist/types/colors.d.ts +0 -3
- package/dist/types/config.d.ts +0 -3
- package/dist/types/versions.d.ts +0 -3
- package/dist/utils/validateAnchorsWarnings.d.ts +0 -4
- /package/dist/{utils → mint-config}/common.d.ts +0 -0
- /package/dist/{utils → mint-config}/flattenUnionErrorMessages.d.ts +0 -0
- /package/dist/{utils → mint-config}/hexadecimalPattern.d.ts +0 -0
- /package/dist/{schemas → mint-config/schemas}/analytics.d.ts +0 -0
- /package/dist/{schemas → mint-config/schemas}/anchors.d.ts +0 -0
- /package/dist/{schemas → mint-config/schemas}/config.d.ts +0 -0
- /package/dist/{schemas → mint-config/schemas}/favicon.d.ts +0 -0
- /package/dist/{schemas → mint-config/schemas}/name.d.ts +0 -0
- /package/dist/{schemas → mint-config/schemas}/navigation.d.ts +0 -0
- /package/dist/{schemas → mint-config/schemas}/tabs.d.ts +0 -0
- /package/dist/{schemas → mint-config/schemas}/versions.d.ts +0 -0
- /package/dist/{types → mint-config/types}/navigation.d.ts +0 -0
- /package/dist/{types → openapi/types}/endpoint.d.ts +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { MintValidationResults } from './common';
|
|
2
|
+
import { AnchorsType } from './types/anchors';
|
|
3
|
+
import { NavigationType } from './types/navigation';
|
|
4
|
+
export declare function validateAnchorsWarnings(anchors: AnchorsType | undefined, navigation: NavigationType[] | undefined): MintValidationResults;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { MintValidationResults } from './common';
|
|
2
|
+
import { NavigationEntry, NavigationType } from './types/navigation';
|
|
3
|
+
import { VersionsType } from './types/versions';
|
|
4
4
|
export declare function flattenNavigationVersions(nav: NavigationEntry[], versions?: string[]): string[];
|
|
5
5
|
export declare function validateVersionsInNavigation(navigation: NavigationType[] | undefined, versions?: VersionsType | undefined): MintValidationResults;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OpenAPIV3_1 } from 'openapi-types';
|
|
2
|
-
import type { BodySchema, DataSchemaArray, Endpoint, HttpMethod, ParameterSections, ResponseSchema, SecurityOption, Server } from '
|
|
2
|
+
import type { BodySchema, DataSchemaArray, Endpoint, HttpMethod, ParameterSections, ResponseSchema, SecurityOption, Server } from './types/endpoint';
|
|
3
3
|
export declare class InvalidSchemaError extends Error {
|
|
4
4
|
constructor(message?: string);
|
|
5
5
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintlify/validation",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.32",
|
|
4
4
|
"description": "Validates mint.json files",
|
|
5
5
|
"author": "Mintlify, Inc.",
|
|
6
6
|
"repository": {
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"webpack": "^5.75.0",
|
|
69
69
|
"webpack-cli": "^5.0.1"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "7df2e10cb92419779dccd1411d65f760560bf93e"
|
|
72
72
|
}
|
package/dist/types/anchors.d.ts
DELETED
package/dist/types/colors.d.ts
DELETED
package/dist/types/config.d.ts
DELETED
package/dist/types/versions.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { NavigationType } from "../types/navigation";
|
|
2
|
-
import { AnchorsType } from "../types/anchors";
|
|
3
|
-
import { MintValidationResults } from "./common";
|
|
4
|
-
export declare function validateAnchorsWarnings(anchors: AnchorsType | undefined, navigation: NavigationType[] | undefined): MintValidationResults;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|