summaryrefslogtreecommitdiff
path: root/src/types/index.ts
blob: c810754d8a4669f7dd2c6fb7bc7d72a8dfa04333 (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
25
26
// Common types used throughout the application

export interface ApiResponse {
  status: string;
  message?: string;
  output?: string;
}

export interface GameInfo {
  appid: string | number;
  name: string;
}

export interface LaunchOptions {
  command: string;
  arguments?: string[];
}

export interface ModInstallationConfig {
  files: string[];
  paths: {
    fgmod: string;
    assets: string;
    bin: string;
  };
}