From 8df878c5ba0872245d58e66759e4470a6fe38a73 Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Wed, 15 Mar 2023 10:41:05 +0000 Subject: [PATCH] Made an interface that represents contact info in `quilt.mod.json` --- .../quilt/quilt-contact-information.ts | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/loaders/quilt/quilt-contact-information.ts diff --git a/src/loaders/quilt/quilt-contact-information.ts b/src/loaders/quilt/quilt-contact-information.ts new file mode 100644 index 0000000..e7cbe62 --- /dev/null +++ b/src/loaders/quilt/quilt-contact-information.ts @@ -0,0 +1,29 @@ +/** + * Represents the contact information for a Quilt mod project. + */ +export interface QuiltContactInformation { + /** + * Valid e-mail address for the organization/developers. + */ + email?: string; + + /** + * Valid HTTP/HTTPS address for the project or the organization/developers behind it. + */ + homepage?: string; + + /** + * Valid HTTP/HTTPS address for the project issue tracker. + */ + issues?: string; + + /** + * Valid HTTP/HTTPS address for a source code repository. + */ + sources?: string; + + /** + * Additional, non-standard keys for the contact information. + */ + [key: string]: string | undefined; +}