blob: a8247a9a5adde83178cbba777d541a0bc5c55f00 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
/**
* Represents a game instance/profile
*/
export type Instance = {
id: string;
name: string;
gameDir: string;
versionId: string | null;
createdAt: bigint;
lastPlayed: bigint | null;
iconPath: string | null;
notes: string | null;
modLoader: string | null;
modLoaderVersion: string | null;
jvmArgsOverride: string | null;
memoryOverride: MemoryOverride | null;
javaPathOverride: string | null;
};
/**
* Configuration for all instances
*/
export type InstanceConfig = {
instances: Array<Instance>;
activeInstanceId: string | null;
};
export type InstanceRepairResult = {
restoredInstances: number;
removedStaleEntries: number;
createdDefaultActive: boolean;
activeInstanceId: string | null;
};
/**
* Memory settings override for an instance
*/
export type MemoryOverride = { min: number; max: number };
|