UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

58 lines (57 loc) 1.63 kB
import { CamelCase } from "../../core/ObjectUtilities"; import { JsonManifest } from "./JsonManifest"; type Manifest = CamelCase<JsonManifest>; export declare const parseManifest: (json: any) => [null, import("../../jsonschema/SchemaValidation").ValidationError[]] | [CamelCase<{ metadata?: { authors?: string[]; product_type?: string; }; format_version?: number; dependencies?: { version?: string | number[]; uuid?: string; module_name?: string; }[]; capabilities?: string[]; header?: { description?: string; name?: string; version?: string | number[]; uuid?: string; base_game_version?: string | number[]; lock_template_options?: boolean; allow_random_seed?: boolean; min_engine_version?: string | number[]; max_engine_version?: string | number[]; platform_locked?: boolean; packScope?: string; }; modules?: { description?: string; type?: string; version?: string | number[]; uuid?: string; entry?: string; language?: string; }[]; settings?: { text?: string; name?: string; options?: { text?: string; name?: string; }[]; type?: string; default?: string | number | boolean; max?: number; min?: number; step?: number; }[]; subpacks?: { name?: string; folder_name?: string; memory_tier?: number; memory_performance_tier?: number; }[]; }>, null]; export default Manifest;