mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-12-28 17:44:54 -05:00
Made interface that represents Modrinth game version
This commit is contained in:
parent
5ff7d12b3b
commit
7ffd50c212
1 changed files with 26 additions and 0 deletions
26
src/platforms/modrinth/modrinth-game-version.ts
Normal file
26
src/platforms/modrinth/modrinth-game-version.ts
Normal file
|
@ -0,0 +1,26 @@
|
|||
/**
|
||||
* Represents a Modrinth game version.
|
||||
*/
|
||||
export interface ModrinthGameVersion {
|
||||
/**
|
||||
* The name/number of the game version.
|
||||
*/
|
||||
version: string;
|
||||
|
||||
/**
|
||||
* The type of the game version.
|
||||
*/
|
||||
version_type: "release" | "snapshot" | "alpha" | "beta";
|
||||
|
||||
/**
|
||||
* The date of the game version release.
|
||||
*
|
||||
* @remarks The date should be in the ISO-8601 format.
|
||||
*/
|
||||
date: string;
|
||||
|
||||
/**
|
||||
* Whether or not this is a major version, used for Featured Versions.
|
||||
*/
|
||||
major: boolean;
|
||||
}
|
Loading…
Reference in a new issue