[FEATURE] /* Description: */ Also moves all nodejs stuff into `tools` package. Also adds a basic `CONTRIBUTING.md` file. Superseeds https://github.com/Nomi-CEu/Nomi-CEu/pull/431, which was closed as the branch needed to be renamed, due to the last two items on this list. TODO: - [x] Make it only run on master repo. - [x] Remove qb-lang-revamp branch from the events - [x] Allow workflow to run on all branches starting with test_buildscript? /* Commits: */ * Buildscript Changes * Make Contributing Docs a .md file * updateqb.yml v1 * Test QB change * Add lang file to commit file list * Another Test Change * Test with only lang path, + `./` at beginning of path * Test QB change * updateqb.yml v3 * Test QB Change * Add some debug settings * Remove debug, branch input. Switch to auto-commit action * Make activate: branches prefix `test_buildscript`, commit author GHA bot * Add branch prefix note into CONTRIBUTING.md * Make workflow only run if on master repo
121 lines
1.6 KiB
TypeScript
121 lines
1.6 KiB
TypeScript
interface AssetIndex {
|
|
id: string;
|
|
sha1: string;
|
|
size: number;
|
|
totalSize: number;
|
|
url: string;
|
|
}
|
|
|
|
interface Client {
|
|
sha1: string;
|
|
size: number;
|
|
url: string;
|
|
}
|
|
|
|
interface Server {
|
|
sha1: string;
|
|
size: number;
|
|
url: string;
|
|
}
|
|
|
|
interface Downloads {
|
|
client: Client;
|
|
server: Server;
|
|
}
|
|
|
|
interface Artifact {
|
|
path: string;
|
|
sha1: string;
|
|
size: number;
|
|
url: string;
|
|
}
|
|
|
|
interface NativesLinux {
|
|
path: string;
|
|
sha1: string;
|
|
size: number;
|
|
url: string;
|
|
}
|
|
|
|
interface NativesOsx {
|
|
path: string;
|
|
sha1: string;
|
|
size: number;
|
|
url: string;
|
|
}
|
|
|
|
interface NativesWindows {
|
|
path: string;
|
|
sha1: string;
|
|
size: number;
|
|
url: string;
|
|
}
|
|
|
|
interface Sources {
|
|
path: string;
|
|
sha1: string;
|
|
size: number;
|
|
url: string;
|
|
}
|
|
|
|
interface Javadoc {
|
|
path: string;
|
|
sha1: string;
|
|
size: number;
|
|
url: string;
|
|
}
|
|
|
|
interface Classifiers {
|
|
["natives-linux"]: NativesLinux;
|
|
["natives-osx"]: NativesOsx;
|
|
["natives-windows"]: NativesWindows;
|
|
sources: Sources;
|
|
javadoc: Javadoc;
|
|
}
|
|
|
|
interface Downloads2 {
|
|
artifact: Artifact;
|
|
classifiers: Classifiers;
|
|
}
|
|
|
|
interface Os {
|
|
name: string;
|
|
}
|
|
|
|
interface Rule {
|
|
action: string;
|
|
os: Os;
|
|
}
|
|
|
|
interface Extract {
|
|
exclude: string[];
|
|
}
|
|
|
|
interface Natives {
|
|
linux: string;
|
|
osx: string;
|
|
windows: string;
|
|
}
|
|
|
|
interface Library {
|
|
downloads: Downloads2;
|
|
name: string;
|
|
rules: Rule[];
|
|
extract: Extract;
|
|
natives: Natives;
|
|
}
|
|
|
|
export interface VersionManifest {
|
|
assetIndex: AssetIndex;
|
|
assets: string;
|
|
downloads: Downloads;
|
|
id: string;
|
|
libraries: Library[];
|
|
mainClass: string;
|
|
minecraftArguments: string;
|
|
minimumLauncherVersion: number;
|
|
releaseTime: Date;
|
|
time: Date;
|
|
type: string;
|
|
}
|