UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

24 lines (23 loc) 945 B
import ProjectInfoItem from "./ProjectInfoItem"; import IProjectFileInfoGenerator from "./IProjectFileInfoGenerator"; import IFile from "../storage/IFile"; import ProjectInfoSet from "./ProjectInfoSet"; import Project from "../app/Project"; import ContentIndex from "../core/ContentIndex"; export declare enum PathLengthFileGeneratorTest { filePathExceeds8DirectorySegments = 102, filePathExceedsCharacterLength = 103, filePathContainsNonLowercaseLetters = 104 } /** * Validates file path lengths and naming conventions. * * @see {@link ../../public/data/forms/mctoolsval/pathlength.form.json} for topic definitions */ export default class PathLengthFileGenerator implements IProjectFileInfoGenerator { id: string; title: string; canAlwaysProcess: boolean; summarize(info: any, infoSet: ProjectInfoSet): void; generate(project: Project, file: IFile, contentIndex: ContentIndex): Promise<ProjectInfoItem[]>; }