mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-25 09:51:01 -05:00
Made an interface that represents license
entry in quilt.mod.json
This commit is contained in:
parent
71525b9c9f
commit
c430f69877
1 changed files with 26 additions and 0 deletions
26
src/loaders/quilt/quilt-license.ts
Normal file
26
src/loaders/quilt/quilt-license.ts
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
/**
|
||||||
|
* Represents a license for a Quilt mod project.
|
||||||
|
*/
|
||||||
|
export interface QuiltLicense {
|
||||||
|
/**
|
||||||
|
* The SPDX identifier string for the license.
|
||||||
|
*
|
||||||
|
* See https://spdx.org/licenses/ for more information.
|
||||||
|
*/
|
||||||
|
id: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The name of the license.
|
||||||
|
*/
|
||||||
|
name: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The URL where the license text can be found.
|
||||||
|
*/
|
||||||
|
url: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A description of the license.
|
||||||
|
*/
|
||||||
|
description?: string;
|
||||||
|
}
|
Loading…
Reference in a new issue