Made an interface that represents contact info in fabric.mod.json

This commit is contained in:
Kir_Antipov 2023-02-28 12:22:41 +00:00
parent fbb153c879
commit e01ab65997

View file

@ -0,0 +1,44 @@
/**
* Represents the contact information for a Fabric mod project.
*/
export interface FabricContactInformation {
/**
* Contact email pertaining to the mod.
*
* Must be a valid email address.
*/
email?: string;
/**
* IRC channel pertaining to the mod.
*
* Must be of a valid URL format.
*/
irc?: string;
/**
* Project or user homepage.
*
* Must be a valid HTTP/HTTPS address.
*/
homepage?: string;
/**
* Project issue tracker.
*
* Must be a valid HTTP/HTTPS address.
*/
issues?: string;
/**
* Project source code repository.
*
* Must be a valid URL.
*/
sources?: string;
/**
* Additional, non-standard keys for the contact information.
*/
[key: string]: string | undefined;
}