mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2025-01-04 04:44:50 -05:00
Made interface that describes mod metadata
This commit is contained in:
parent
428bc335e9
commit
bd5a30326c
1 changed files with 12 additions and 0 deletions
12
src/metadata/mod-metadata.ts
Normal file
12
src/metadata/mod-metadata.ts
Normal 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;
|
||||
}
|
Loading…
Reference in a new issue