@mintlify/validation 0.1.10 → 0.1.11

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.
@@ -0,0 +1,7 @@
1
+ type UnionError = {
2
+ message: string;
3
+ code?: string;
4
+ unionErrors?: UnionError[];
5
+ };
6
+ export declare function flattenUnionErrorMessages(unionErrors: UnionError[]): string[];
7
+ export {};
@@ -0,0 +1 @@
1
+ export declare const hexadecimalPattern: RegExp;
@@ -0,0 +1,4 @@
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;
@@ -0,0 +1,5 @@
1
+ import { NavigationEntry, NavigationType } from "../types/navigation";
2
+ import { VersionsType } from "../types/versions";
3
+ import { MintValidationResults } from "./common";
4
+ export declare function flattenNavigationVersions(nav: NavigationEntry[], versions?: string[]): string[];
5
+ export declare function validateVersionsInNavigation(navigation: NavigationType[] | undefined, versions?: VersionsType | undefined): MintValidationResults;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintlify/validation",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Validates mint.json files",
5
5
  "author": "Mintlify, Inc.",
6
6
  "repository": {