@mintlify/validation
Version:
Validates mint.json files
22 lines (21 loc) • 623 B
TypeScript
import { PageMetaTags } from '@mintlify/models';
export type ChangedFilesStatus = 'added' | 'removed' | 'modified';
export type PreviewType = {
mainDeploymentId?: string;
changedFiles?: ChangedFile[];
};
export type DeploymentPreviewType = Omit<PreviewType, 'changedFiles'> & {
mainDeployment?: {
subdomain: string;
customDomains: string[];
basePath?: string;
};
changedFiles?: ChangedFileWithMetadata[];
};
export type ChangedFile = {
path: string;
status: ChangedFilesStatus;
};
export type ChangedFileWithMetadata = ChangedFile & {
pageMetadata?: PageMetaTags;
};