mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-21 16:00:59 -05:00
Made an interface that represents contact info in fabric.mod.json
This commit is contained in:
parent
fbb153c879
commit
e01ab65997
1 changed files with 44 additions and 0 deletions
44
src/loaders/fabric/fabric-contact-information.ts
Normal file
44
src/loaders/fabric/fabric-contact-information.ts
Normal 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;
|
||||
}
|
Loading…
Reference in a new issue