@mintlify/validation 0.1.897 → 0.1.899

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.
@@ -1,9 +1,8 @@
1
1
  import { IconType } from '@mintlify/models';
2
- import { DecoratedPageConfig, BaseDropdownSchema, BaseLanguageSchema, BaseProductSchema, BaseTabSchema, BaseVersionSchema, BaseGroupSchema, BaseAnchorSchema, MenuItemConfig, AsyncApiConfig, OpenApiConfig, IconConfig, SdkConfig } from '../mint-config/schemas/v2/properties/index.js';
3
- export declare const DIVISION_TYPES: readonly ["tab", "dropdown", "anchor", "language", "product", "version", "item"];
2
+ import { DecoratedPageConfig, BaseDropdownSchema, BaseLanguageSchema, BaseProductSchema, BaseTabSchema, BaseVersionSchema, BaseGroupSchema, BaseAnchorSchema, MenuItemConfig, AsyncApiConfig, OpenApiConfig, IconConfig, SdkConfig, type DivisionType } from '../mint-config/schemas/v2/properties/index.js';
3
+ export { DIVISION_TYPES, type DivisionType } from '../mint-config/schemas/v2/properties/index.js';
4
4
  export declare const CONTENT_TYPES: readonly ["page", "group"];
5
5
  export declare const FILESYSTEM_TYPES: readonly ["file", "file_directory"];
6
- export type DivisionType = (typeof DIVISION_TYPES)[number];
7
6
  export type ContentType = (typeof CONTENT_TYPES)[number];
8
7
  export type FilesystemType = (typeof FILESYSTEM_TYPES)[number];
9
8
  export type NavigationNodeType = DivisionType | ContentType | FilesystemType;
@@ -221,4 +220,3 @@ export type PermissionedNavigationNode = PrivateNavigationNode & {
221
220
  sharedAt?: string;
222
221
  };
223
222
  export type PrivateNodeTree = PermissionedNavigationNode[];
224
- export {};
@@ -1,12 +1,4 @@
1
- export const DIVISION_TYPES = [
2
- 'tab',
3
- 'dropdown',
4
- 'anchor',
5
- 'language',
6
- 'product',
7
- 'version',
8
- 'item',
9
- ];
1
+ export { DIVISION_TYPES } from '../mint-config/schemas/v2/properties/index.js';
10
2
  export const CONTENT_TYPES = ['page', 'group'];
11
3
  export const FILESYSTEM_TYPES = ['file', 'file_directory'];
12
4
  export const ROOT_NODE = 'root';