Made interface that describes mod metadata

This commit is contained in:
Kir_Antipov 2021-12-07 21:35:41 +03:00
parent 428bc335e9
commit bd5a30326c

View file

@ -0,0 +1,12 @@
import PublisherTarget from "../publishing/publisher-target";
import Dependency from "./dependency";
export default interface ModMetadata {
get id(): string;
get name(): string;
get version(): string;
get loaders(): string[];
get dependencies(): Dependency[];
getProjectId(project: PublisherTarget): string | undefined;
}