aboutsummaryrefslogtreecommitdiff
path: root/types.ts
blob: d132df13d873633e7172537bb8180c7900a068d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
export interface OptifineVersion {
	name: string;
	minecraft: string;
	forge: string;
	date: string;
	preview: boolean;
	download: OptifineDownload;
}

export interface OptifineDownload {
	link: string;
	filename: string;
	token: string;
}

export interface APIResponse {
	lastUpdate: number;
	latest: OptifineVersion;
	latestPre: OptifineVersion;
	versions: {
		[key: string]: OptifineVersion[];
	}
	all: OptifineVersion[];
}