diff options
Diffstat (limited to 'src/types/index.ts')
| -rw-r--r-- | src/types/index.ts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/types/index.ts b/src/types/index.ts new file mode 100644 index 0000000..c810754 --- /dev/null +++ b/src/types/index.ts @@ -0,0 +1,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; + }; +} |
